@charset "UTF-8";

*, *::after, *::before {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}
body {
  font-size: 1.6rem;
  font-family: sans-serif;
  color: #111433;
  background-color: #ffffff;
}

a {
  color: #3f8654;
  text-decoration: none;
}

img {
  max-width: 100%;
}

input {
  font-family: sans-serif;
  font-size: 1.6rem;
}

/* remove “X” from search input field */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

input[type=text]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

input[type=text]::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

header {
  height: 100px;
  background: #ffffff;
}
@media screen and (max-width: 780px) {
header {
  height: 100px;
}
}


   .link {
     /* width: 300px; Ширина слоя */
	 width: 18%;
     height: 200px; /* Высота слоя */
     background: #fc0; /* Цвет фона */
	 margin: 0.9%;
	 float: left;
	 position: relative;
	 border: 1px solid #fff;
    }
    .link a {
     display: block; /* Ссылка как блочный элемент */
     text-align: center; /* Выравнивание по центру */
    /*  height: 100%;  /* Высота на весь слой */
     color: #000; /* Цвет ссылки */
    }
	
.child {
position: absolute;
	top: 50%;
	left: 45%;
	height: 30%;
	width: 60%;
	margin: -15% 0 0 -25%;
}

.child h3 {text-align: center; font-weight: 600;
	margin: 5px;
}

.EA8F8F {background: #EA8F8F}
.pr {background: #3F97EA}
.prf {background: #7DBAF2}
.EFB3F2 {background: #EFB3F2}
.trud {background: #B7B3F2}
.B3CBF2 {background: #B3CBF2}
.B3DFF2 {background: #B3DFF2}
.B3F1F2 {background: #B3F1F2}
.nal {background: #98EAB6}
.pens {background: #71E29B}
.fss {background: #6DF20E}
.fas {background: #BEF215}
.gks {background: #EDE79A}
.rkn {background: #EDD49A}
.supcourt {background: #EDC39A}
.ksrf {background: #F2804F}
.arbitr {background: #CE908C}
.avang {background: #0e8c50}
.ff0000 {background: #ff5349}
.otp {background: #52ae30}
.ffff00 {background: #ffff00}

.link:hover {background-color: #f4c430;}

.perechen_s {background: #ED8F23}


@media screen and (max-width: 1400px) {
.link {	 width: 23%;
    }
}

@media screen and (max-width: 1024px) {
.link {	 width: 31%;
    }
}

@media screen and (max-width: 800px) {
.link {	 width: 31%;
height: 150px;
    }
    .child {
	width: 80%;
	margin: -15% 0 0 -35%;
}
}
@media screen and (max-width: 600px) {
.link {	 width: 47%;
    }

}
@media screen and (max-width: 480px) {
.link {	 width: 97%;
    }

}




a.knopka {
    background: rgb(212, 75, 56) none repeat scroll 0 0;
    color: #fff;
    line-height: 51px;
    outline: medium none;
    padding: 0.7em 1.5em;
    text-decoration: none;
}
a.knopka:hover {
    background: rgb(232, 95, 76) none repeat scroll 0 0;
}
a.knopka:active {
    background: rgb(152, 15, 0) none repeat scroll 0 0;
}

#parent_popup, #parent_popup_click {
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  position: fixed;
  z-index: 99999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
#popup, #popup_click { 
  background: #fff;
    max-width: 600px;
    width:70%;
    margin: 5% auto;
	padding: 5px 20px 13px 20px;
	border: 10px solid #ddd;
	position: relative;
	/*--CSS3 CSS3 Тени для Блока--*/
	-webkit-box-shadow: 0px 0px 20px #000;
	-moz-box-shadow: 0px 0px 20px #000;
	box-shadow: 0px 0px 20px #000;
	/*--CSS3 Закругленные углы--*/
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}


#popup h3, #popup_click h3 {
    font:28px Monotype Corsiva, Arial;
    font-weight: bold;
	text-align: center;
	color: #000;
	text-shadow: 0 1px 3px rgba(0,0,0,.3);
	}
#popup h3, #popup_click h3 {
    font:24px Monotype Corsiva, Arial;      
	color: #008000;
	text-align: left;
	text-shadow: 0 1px 3px rgba(0,0,0,.3);
	}
/* кнопка закрытия */
.close {
    background-color: rgba(0, 0, 0, 0.8);
	border: 2px solid #ccc;
    height: 24px;
    line-height: 24px;
    position: absolute;
    right: -24px;
	cursor: pointer;
    text-align: center;
    text-decoration: none;
	color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-family: helvetica, arial;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    top: -24px;
    width: 24px;
	-webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}
.close:hover {
    background-color: rgba(255, 69, 0, 0.8);
}
.clear { clear: both; }


#poisk {
    color: #0081b5;
    margin: 10px auto;
    width: 50%;
}
.statiya p, .statiya a, .statiya div {
    color: #0081b5;
}
@media screen and (max-width: 780px) {
#poisk {
    margin: 10px auto;
    width: 100%;
}
}

.logo {
    color: #0081b5;
    font-family: NautilusPompiliusRegular,CyrilNormal,"Lato",sans-serif;
    font-size: 40px;
    font-weight: bold;
    margin-top: 30px;
    text-align: center;
    text-shadow: 0 -1px 0 #1a7edb, 0 1px 2px rgba(0, 0, 0, 0.6);
}

#footer {
    background: #efe0b1 none repeat scroll 0 0;
    bottom: 0;
    color: #fff;
    font-size: 50%;
    left: 0;
    padding: 10px;
    position: fixed;
    width: 100%;
}
#footer div {
    margin-right: 17px;
}


.add_fav 
{     color: #fff;
    background: #1a7b80 none repeat scroll 0 0;
    border: 2px solid #1a7b80;
    border-radius: 5px;
    box-shadow: 0 4px 4px 4px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.1);
    display: block;
    float: left;
    margin: 10px 10px 0;
      padding: 6px;
    overflow: hidden;
    }
    
    .clear {
    clear: both;
}

