html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #f9f1d9;
	 position: relative;
}

p {
    text-align: center;
}

.all_top {
    width: 100%;
	height: 182px;
    background: #ddbd73;
    margin: 0;
    padding: 0;
	display: flex;

}

.all_content {
    width: 100%;

	 flex: 1;
    background: #ddbd73;
    margin: 0;
    padding: 0;
	display: flex;
	flex-direction: column;
flex-wrap: wrap;

}

.container {
	display: flex;



}
.left_board_1{
   width: 20%;
      height: 180px;
	       background: #e9c577;
		       position: absolute;
}

.left_board_2{
   width: 20%;
        height: 100%;

  background: #ffee9c;
	background-image: url("left_big.jpg");
	background-position: left bottom;
     background-repeat: repeat-y;
        background-size: cover;

		       position: fixed;

}


.right_board_1{
	     right: 0;
   width: 20%;
       	 height: 180px;
	       background: #ef7eed5;
		      position: absolute;
}
.right_board_2{
	     right: 0;
         width: 20%;
        height: 100%;
	       background: #b4e3fa;
	background-image: url("right_big.jpg");
	background-position: right bottom;
    background-repeat: repeat-y;

        background-size: cover;

		       position: fixed;
}

.center_top {

    width: 60%;
	margin: 0 auto;

    background: #f7eed5;
	background-image: url("bumaga.jpg");
    position: relative;


}



.left-sidebar1 {

	width: 78px;
	height: 220%;
    background-image: url("l_bumaga.jpg");
	position: absolute;
}

.right-sidebar1 {
     right: 0;
	width: 78px;
	height: 220%;
	background-image: url("r_bumaga.jpg");
		position: absolute;
}


.center_izin {

    width: 60%;
    height: 142px;
	margin: 0 auto;

    background: #f7eed5;
	background-image: url("i_zin_center.jpg");
    position: relative;


}

.left-sidebar_izin {

	width: 78px;
	height: 142px;
    background-image: url("i_zin_left.jpg");
	position: absolute;
}



.right-sidebar_izin {
     right: 0;
	width: 78px;
	height: 142px;
	background-image: url("i_zin_right.jpg");
		position: absolute;
}

.center_upa {

    width: 60%;
    height: 138px;
	margin: 0 auto;

        background: #f7eed5;
	background-image: url("upa_center.jpg");
        position: relative;


}

.left-sidebar_upa {

	width: 78px;
	height: 138px;
        background-image: url("upa_left.jpg");
	position: absolute;
}



.right-sidebar_upa {
     right: 0;
	width: 78px;
	height: 138px;
	background-image: url("upa_right.jpg");
	position: absolute;
}

.center_dao {

    width: 60%;
    height: 100px;
	margin: 0 auto;

    background: #e9f4f8;
	background-image: url("dao_center.jpg");
    position: relative;


}

.left-sidebar_dao {

	width: 78px;
	height: 100px;
    background-image: url("dao_left.jpg");
	position: absolute;
}



.right-sidebar_dao {
     right: 0;
	width: 78px;
	height: 100px;
	background-image: url("dao_right.jpg");
		position: absolute;
}

.center_tibet {

    width: 60%;
    height: 100px;
	margin: 0 auto;

    background: #f7ebef;
	background-image: url("tibet_center.jpg");
    position: relative;


}

.left-sidebar_tibet {

	width: 78px;
	height: 100px;
    background-image: url("tibet_left.jpg");
	position: absolute;
}



.right-sidebar_tibet {
     right: 0;
	width: 78px;
	height: 100px;
	background-image: url("tibet_right.jpg");
		position: absolute;
}


.center_greky {

    width: 60%;
    height: 100px;
	margin: 0 auto;

        background: #f7eed5;
	background-image: url("greky_center.jpg");
        position: relative;


}

.left-sidebar_greky {

	width: 78px;
	height: 100px;
        background-image: url("greky_left.jpg");
	position: absolute;
}



.right-sidebar_greky {
     right: 0;
	width: 78px;
	height: 100px;
	background-image: url("greky_right.jpg");
	position: absolute;
}

.center_rim {

    width: 60%;
    height: 100px;
	margin: 0 auto;

        background: #f7eed5;
	background-image: url("rim_center.jpg");
        position: relative;


}

.left-sidebar_rim {

	width: 78px;
	height: 100px;
        background-image: url("rim_left.jpg");
	position: absolute;
}



.right-sidebar_rim {
     right: 0;
	width: 78px;
	height: 100px;
	background-image: url("rim_right.jpg");
	position: absolute;
}


.center_hrist {

    width: 60%;
    height: 138px;
	margin: 0 auto;

        background: #f7eed5;
	background-image: url("hrist_center.jpg");
        position: relative;


}

.left-sidebar_hrist {

	width: 78px;
	height: 138px;
        background-image: url("hrist_left.jpg");
	position: absolute;
}



.right-sidebar_hrist {
     right: 0;
	width: 78px;
	height: 138px;
	background-image: url("hrist_right.jpg");
	position: absolute;
}

.center_sufiy {

    width: 60%;
    height: 240px;
	margin: 0 auto;

        background: #f7eed5;
	background-image: url("su_center.jpg");
        position: relative;


}

.left-sidebar_sufiy {

	width: 78px;
	height: 240px;
        background-image: url("su_left.jpg");
	position: absolute;
}



.right-sidebar_sufiy {
     right: 0;
	width: 78px;
	height: 240px;
	background-image: url("su_right.jpg");
	position: absolute;
}


.nazva {
    width: 217px;
    height: 110px;


}

.pero {
    width: 211px;
    height: 110px;


}

.block {
	margin: 0 auto;
    text-align: center;

}

@media screen and (max-width: 479px) {
  .pero {display: none;}
  .left-sidebar1 {display: none;}
.right-sidebar1 {display: none;}
.left_board_2 {display: none;}
.right_board_2 {display: none;}
.left-sidebar_izin {display: none;}
.right-sidebar_izin {display: none;}
.left-sidebar_upa {display: none;}
.right-sidebar_upa {display: none;}
.left-sidebar_dao {display: none;}
.right-sidebar_dao {display: none;}
.left-sidebar_tibet {display: none;}
.right-sidebar_tibet {display: none;}
.left-sidebar_greky {display: none;}
.right-sidebar_greky {display: none;}
.left-sidebar_rim {display: none;}
.right-sidebar_rim {display: none;}
.left-sidebar_hrist {display: none;}
.right-sidebar_hrist {display: none;}
.left-sidebar_sufiy {display: none;}
.right-sidebar_sufiy {display: none;}
.center_top {width: 100%;}
.center_izin  {width: 100%;}
.center_upa  {width: 100%;}
.center_dao  {width: 100%;}
.center_tibet  {width: 100%;}
.center_greky  {width: 100%;}
.center_rim  {width: 100%;}
.center_hrist  {width: 100%;}
.center_sufiy  {width: 100%;}
.content  {display: none;}
p {font-size: 150%;}
}

@media screen and (min-width: 480px) and (max-width: 659px) {
.left-sidebar1 {display: none;}
.right-sidebar1 {display: none;}
.left_board_2 {display: none;}
.right_board_2 {display: none;}
.center_top {width: 100%;}
.center_izin  {width: 100%;}
.center_upa  {width: 100%;}
.center_dao  {width: 100%;}
.center_tibet  {width: 100%;}
.center_greky  {width: 100%;}
.center_rim  {width: 100%;}
.center_hrist  {width: 100%;}
.center_sufiy  {width: 100%;}
.content  {display: none;}
p {font-size: 130%;}
}

@media screen and (min-width: 660px) and (max-width: 1000px) {

.center_top {width: 100%;}
.center_izin  {width: 100%;}
.center_upa  {width: 100%;}
.center_dao  {width: 100%;}
.center_tibet  {width: 100%;}
.center_rim  {width: 100%;}
.center_greky  {width: 100%;}
.center_hrist  {width: 100%;}
.center_sufiy  {width: 100%;}
.left_board_1 {display: none;}
.right_board_1 {display: none;}
.left_board_2 {display: none;}
.right_board_2 {display: none;}
.content_mini  {display: none;}
	p {font-size: 120%;}
}

@media screen and (min-width: 1001px) and (max-width: 5000px) {
.content_mini  {display: none;}
	}

.line {
    width: 100%;
    height: 10px;
    margin: 0;
    padding: 0;
    background-color: #f3ebd4;
    background-image: url("bamb1.jpg");
    background-repeat: repeat-x;

    text-align: center;
}

.content { margin-left: 10%;
    margin-right: 10%;
    text-align: center;
   margin-top:  -1em;

}

.content_mini { margin-left: 10%;
    margin-right: 10%;
    text-align: center;


}


.menu {
	margin: 0 auto;

    text-align: center;
	FONT-SIZE: 120%;
	TEXT-DECORATION: none;
	COLOR: #5e5a56;
	FONT-FAMILY: Times New Roman, Times ET, Times TYGRA, sans-serif;
	FONT-WEIGHT: bold;
	font-style: normal;
	line-height: normal;

}



A:link {FONT-SIZE: 140%;;COLOR:#04315a; FONT-WEIGHT: bold; TEXT-DECORATION: none}
A:visited {FONT-SIZE: 140%;;COLOR:#7d5b41; FONT-WEIGHT: bold; TEXT-DECORATION: none}
A:active {FONT-SIZE: 140%;;COLOR:#04315a; FONT-WEIGHT: bold; TEXT-DECORATION: none}
A:hover {FONT-SIZE: 140%;;COLOR: #d3c6a1; FONT-WEIGHT: bold; TEXT-DECORATION: none}



/* модальный блок */
.popup {
    top: 25%;
    left: 0;
    right: 0;       
    font-size: 14px;
    margin: auto;
    width: 85%;
    min-width: 200px;
    max-width: 300px;
    position: absolute;
    padding: 15px 20px;
    border: 1px solid #383838;
    background: #fefefe;
    z-index: 1000;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    font: 14px/18px 'Tahoma', Arial, sans-serif;
    -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -ms-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
}
/* заголовки в модальном блоке */
.popup h2, .popup h3 {
    
    margin: 0 0 1rem 0;
    font-weight: 300;
	font-weight: bold;
    line-height: 1.3;
    color: #009032;
    text-shadow: 1px 2px 4px #ddd;
}
/* кнопка закрытия */
.close {
    top: 60px;
    right: 10px;
    width: 110px;
    height: 32px;
    position: absolute;
    border: none;
    -webkit-border-radius: 10%;
    -moz-border-radius: 10%;
    -ms-border-radius: 10%;
    -o-border-radius: 10%;
    border-radius: 10%;
    background-color: rgba(16, 43, 112, 0.9);
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    cursor: pointer;
    outline: none;

}

.close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "Русский";
    font-family:  Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}
/* кнопка закрытия при наведении */
.close:hover {
    background-color: rgba(252, 20, 0, 0.8);
}

.ua {
    top: 10px;
    right: 10px;
    width: 120px;
    height: 32px;
    position: absolute;
    border: none;
    -webkit-border-radius: 10%;
    -moz-border-radius: 10%;
    -ms-border-radius: 10%;
    -o-border-radius: 10%;
    border-radius: 10%;
    background-color: rgba(25, 114, 214, 0.9);
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    cursor: pointer;
    outline: none;

}
.ua:before {
    color: rgba(255, 243, 108, 0.9);
    content: "Українська";
    font-family:  Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}
/* кнопка закрытия при наведении */
.ua:hover {
    background-color: rgba(253, 160, 49, 0.8);
}
/* Всплывающее окно 
* при загрузке сайта            
*/
/* базовый контейнер, фон затемнения*/
