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;
}

.block {
  display: flex;
  width: 427px;
  height: 110px;
}
.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: 1200px) {

.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: 1201px) 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 {
 position: fixed;
 z-index: 9999;
 width: 100%;
 height: 100%;
 background-color: rgb(0 0 0 / 60%);

 top: 0;
 left: 0;

}

.popup_body {
 min-height: 100%;
 display: flex;
 align-items: center;
 justify-content: center; 
 padding: 30px 10px;

	
}
.popup_content {
	
	background-color: #fdf7e7;
	max-width: 800px;
	padding: 30px;
	position: relative;
	 border-radius: 20px;
	 box-shadow: 5px 5px 15px 0px rgb(0 0 0 / 80%);

}
.popup_title {
	font-size: 30px;
	  color: #362323;
	margin: 0px 0px 1.8em 0px;
	
}


/* кнопка закрытия */
.close {
    top: 75%;
    right: 30%;
    width: 110px;
    height: 32px;
    position: absolute;
    border: none;
    color: #fff;
	background-color:#0306a0;
    border-radius: 10px;
    box-shadow: 2px 2px 10px 0px rgb(0,0,0);
    cursor: pointer;
    outline: none;

}

.close:before {
    color: rgba(255, 255, 255, 0.7);
    content: "Русский";
    font-family:  Arial, Helvetica, sans-serif;
    font-size: 20px;
		display: flex;
	justify-content: center;
    font-weight: bold;
    text-decoration: none;

  
}
/* кнопка закрытия при наведении */
.close:hover {
    background-color: rgba(252, 20, 0, 0.8);
	 box-shadow: 0px 0px 2px 2px rgb(252,20,0);
}

.ua {
    top: 33%;
    right: 30%;
    width: 110px;
    height: 32px;
    position: absolute;
    border: none;
    color: #fff;
	background-color:#14b2fa;
    border-radius: 10px;
    box-shadow: 2px 2px 10px 0px rgb(0,0,0);
    cursor: pointer;
    outline: none;

}
.ua:before {
    color: rgba(255, 243, 108, 1);
    content: "Українська";
    font-family:  Arial, Helvetica, sans-serif;
	display: flex;
	justify-content: center;
    font-size: 19px;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);

}
/* кнопка закрытия при наведении */
.ua:hover {
    background-color: rgba(253, 160, 49, 0.8);
	    box-shadow: 0px 0px 2px 2px rgb(253,160,49);
}

