/* -------------------------------- max ----------------------------- */


@charset "utf-8";
//@import url("https://nesterkin-sv.ru/fontawesome-free/css/fontawesome-all.min.css");



/* Общий фон ---------------------------------- */

html{overflow-y:scroll; overflow-x:hidden; background:#fff; 
font-size: calc((100vw - 480px)/(1280 - 480) * (20 - 18) + 18px); }

html{margin:0; padding:0; line-height:1.6em; font-family:Verdana, Geneva, sans-serif; width:100%; margin: 0 auto 0 auto;}
body{margin:0; padding:0; line-height:1.6em; font-family:Verdana, Geneva, sans-serif; width:95%; margin: 0 auto 0 auto; }

.wrapper{display:block; position:relative; width:100%; margin:0; padding:0; text-align:left; word-wrap:break-word;}
.hoc{display:block; margin:0 auto;}

.mainblock {text-align:left;}

.maintopblock {margin:30px auto 50px auto;}

.maintopblock img {width:85%;height:85%;}

#divtheme {width:100%; font-size:100%; }

#divtheme p {margin-bottom:20px; padding:10px; border-radius:10px; 
             background: #fff; width:85%; margin:10px auto 30px 0px ;}

#divtheme ul {width:75%; margin:10px auto 10px 30px;}


#footer {clear:both; }

    
      
      #footerheader {bottom:0; left:0; width:100%; font-size:90%; 
                    display: flex; flex-direction: row; flex-basis: auto;
                    background-color:#eee; position:fixed; 
                    text-align:center; color:#000;}

      #footerheader a {color:#000;}

      #footerheader p {cursor:pointer;}




.voprosbox {width:85%; margin:30px auto; font-size:90%;}


/* вспомогательно ----------------------------------- */

#topname  {width:100%; font-size:100%; display: flex; flex-direction: row; flex-basis: auto;}



.center{text-align:center;}
.right{text-align:right;}

.hidden{display:none;}
.nospace{margin:0; padding:0; list-style:none;}
.space{margin:0 auto 40px auto; padding:0; list-style:none;}
.picture:hover {width:100%; transform: rotate(0deg);}


.picture { width:80%; border:1px solid;  filter: grayscale(0%); opacity:1; border-radius:0px 0px 0px 0px; -webkit-box-shadow: 12px 29px 81px 0px rgba(0,0,0,0.55);
-moz-box-shadow: 12px 29px 81px 0px rgba(0,0,0,0.55); box-shadow: 12px 29px 81px 0px rgba(0,0,0,0.55);}




.mybook {width:150px; margin-top:290px; margin-left:20px; border:0px solid;}

.custom-tooltip .tooltip-text {visibility: hidden;}
.custom-tooltip:hover .tooltip-text {visibility: visible;}

.block{display:block;}
.inline *{display:inline-block;}
.inline *:last-child{margin-right:0;}
.pushright li{margin-right:20px;}
.pushright li:last-child{margin-right:0;}
.borderedbox{border:1px solid;}
.overlay{position:relative; z-index:1;}
.overlay::after{display:block; position:absolute; top:0; left:0; width:100%; height:100%; content:""; z-index:-1;}
.bgded{background-position:top center; background-repeat:no-repeat; background-size:cover;}
.circle{border-radius:50%; background-clip:padding-box;}
.blacked{color:black;}
.toptelephon {color:rgb(0, 0, 0); font-weight:300; }
.toptelephon.font-x1 {font-size:1.8rem;}
.iconka:hover {color:rgb(208, 148, 234);}

/* кнопки ------------------------------------------ */

.btn{display:inline-block; padding:0 0 2px 0; background-color: AntiqueWhite;}
.btn a{color:#000000;}
.btn:hover{background-color:#FFFFFF; }
.btn a:hover{color:#000000;  }


/* blockquote --------------------------------------- */

blockquote{display:block; position:relative; width:100%; margin:0; padding:0; line-height:1.4; z-index:1;}
blockquote::before{display:block; position:absolute; top:0; left:0; font-family:"Font Awesome\ 5 Free"; font-weight:900; font-size:60px; line-height:60px; content:"\f10d"; z-index:-1;}

/* clear -------------------------------------------- */

.clear, .group{display:block;}
.clear::before, .clear::after, .group::before, .group::after{display:table; content:"";}
.clear, .clear::after, .group, .group::after{clear:both;}


.fl_left, .imgl{float:left;}
.fl_right, .imgr{float:right;}


/* img --------------------------------------------- */


 img{width:auto; max-width:100%; height:auto; margin:0; padding:0; border:none; line-height:normal; vertical-align:middle;}
.imgl{margin:0 15px 10px 0; clear:left;}
.imgr{margin:0 0 10px 15px; clear:right;}


/* Шрифты -------------------------------------------- */

.font-x0{font-size:1.0rem;}
.font-xs{font-size:.8rem;}
.font-x1{font-size:1.1rem;}
.font-x2{font-size:1.8rem;}
.font-x3{font-size:2.8rem;}
.font-menu {font-size:1.8rem;}

body, input, textarea, select{font-family:Verdana, Geneva, sans-serif;}
h1, h2, h3, h4, h5, h6, .heading{font-family:Georgia, "Times New Roman", Times, serif;}

.bold{font-weight:bold;}
.uppercase{text-transform:uppercase;}
.capitalise{text-transform:capitalize;}
.justified{text-align:justify;}
.just{text-align:justify;}

h1, h2, h3, h4, h5, h6, .heading {margin:20px 0; line-height:normal; font-weight:normal;}



/* Формы -------------------------------------------- */

form, fieldset, legend{margin:0; padding:0; border:none;}
legend{display:none;}
label, input, textarea, select, button {display:block; resize:none; outline:none; color:inherit; font-size:inherit; font-family:inherit; vertical-align:middle;}
label{margin-bottom:5px;}
:required, :invalid{outline:none; box-shadow:none;}
::placeholder{opacity:1;}



/* Generalise ---------------------------------------- */


.nospace{margin-bottom:0;}
.heading {margin-bottom:0;}

/* перпеходы a --------------------------------------- */

a{outline:none; text-decoration:none;}



address{font-style:normal; font-weight:normal;}

hr{display:block; width:100%; height:1px; border:solid; border-width:1px 0 0 0;}






/* HTML 5 Overrides ------------------------------------------------------------------------------- */

address, article, aside, figcaption, figure, footer, header, main, nav, section {display:block; margin:0; padding:0;}

h1{font-size:280%; color:#0E74A5; text-align:left;}
h2{font-size:200%; color:rgb(211, 96, 19); text-align:left; border-bottom:1px solid; margin:40px 0px; width:95%; }


/* элементы на экране -------------------- */

.one_octava{width:10.9210%; }
.one_quarter{width:21.8421%;}
.one_third{width:30.52631%;}
.one_half, 
.two_quarter{width:45.89473%;}
.two_third{width:65.26315%;}
.three_quarter{width:73.94736%;}
.one_one{width:97.94736%; margin:0 auto;}
.one_sixth {width:12.0%;}

.one_half, 
.one_one, 
.one_third, 
.two_third, 
.one_quarter, 
.two_quarter, 
.three_quarter, 
.one_octava {display:inline-block; float:left; margin:0 0 0 2.21052%; list-style:none;}

.one_sixth {display:inline-block; float:left; margin:0 0 0 0; list-style:none;}

.first{margin-left:0; clear:left;}











/* Горизонтали --------------------------------------- */

.fixedbar, .fixedbar a{}
.fixedbar, .fixedbar a{position:fixed; top:0px; left:0px; background-color:#0E74A5}

.row0, .row0 a{}
.row1, .row1 a{}
.row2, .row2 a{}
.row3, .row3 a{}
.row4, .row4 a{}
.row5 {border-top:1px solid;}

.row0, .row0 a{color:#FFFFFF; background-color:#FFFFFF; }
.row1{color:#474747; background-color:#FFFFFF; margin-top:0px; text-align:justify;}
.row2{color:#474747; //background-color:#F4F4F4;}
.row3{color:#474747; background-color:#FFFFFF;}
.row4{color:#474747; background-color:#FFFFFF;}
.row5, .row5 a{color:#474747; background-color:#FFFFFF;}

.gradient{color:#FFFFFF; background:linear-gradient(to  left, #f8f8f8, #FFFFFF);}




/* Top Bar --------------------------------------------------------------------------------------- */


.mainlogo {width:50%;}
.mainourwork {margin:50% auto;}

#topbar {padding:15px 0; background:transparent; width:100%; border-bottom:0px solid #d69142;}
#topbar ul li{display:inline-block; margin-right:10px; padding-right:15px; color:black; background:transparent;}
#topbar i{line-height:normal;}
#topbar ul li a{font-size:1.0rem;}

.fl_right ul li ul {position:absolute; right:0px;}



/* Navigation ---------------------------------------------------------------------------------------- */

nav ul, nav ol{margin:0; padding:0; list-style:none;}

#mainav, #breadcrumb, .sidebar nav{line-height:normal;}
#mainav .drop::after, #mainav li li .drop::after, #breadcrumb li a::after, .sidebar nav a::after{position:absolute; font-family:"Font Awesome\ 5 Free"; font-weight:500; font-size:10px; line-height:10px;}
#mainav{position:relative; margin-bottom:-30px; padding:0; z-index:999; //width:100%;}
#mainav ul{//text-transform:uppercase;}
#mainav ul ul{z-index:9999; position:absolute; width:300px; text-transform:none; text-align:left;}
#mainav ul ul ul{left:180px; top:0;}
#mainav li{display:block; float:left; position:relative; margin:0; padding:0;}
#mainav li:last-child{margin-right:0;}
#mainav li li{width:100%; margin:0;}
#mainav li a{display:block; padding:20px;}
#mainav li li a{//border:solid; border-width:0 0 1px 0;}
#mainav .drop{padding-left:15px;}
#mainav li li a, #mainav li li .drop{display:block; margin:0; padding:10px 15px;}
#mainav .drop::after, #mainav li li .drop::after{content:"\f0d7";}
#mainav .drop::after{top:25px; left:5px;}
#mainav li li .drop::after{top:15px; left:5px;}
#mainav ul ul{visibility:hidden; opacity:0;}
#mainav ul li:hover > ul{visibility:visible; opacity:1;}
#mainav{color:#000000; background-color:#FFFFFF; //#0E74A5; //#F7A804;}
#mainav li a{color:#000000; border-bottom:0px solid; font-size:80%;}
#mainav li li a, #mainav .active li a{color:#000000; background-color:#eee; width:100%;}
#mainav li li:hover > a, #mainav .active .active > a{color:#FFFFFF; background-color:#F7A804;}






/* Header ----------------------------------------------------------------------------------------- */

#header{padding:50px 0; border:1px solid;}

#header #logo *{margin:0; padding:0; line-height:1;}
#header #logo h1{font-size:32px; font-weight:700;}
#header #logo h1 span{font-size:3rem; font-weight:400;}

#header ul{}
#header ul li{}
#header ul li div{position:relative; min-height:60px; padding:0 0 0 80px;}
#header ul li div i{position:absolute; top:0; left:0; width:60px; height:60px; line-height:58px; font-size:22px; text-align:center; border:1px solid; border-radius:50%;}
#header ul li div span{display:block; padding:8px 0 0 0;}
#header div:last-child{margin-bottom:0;}

#header a{color:inherit;}
#header ul li div i{border-color:rgba(0,0,0,.1);}


/* Tables ------------------------------------------------------------------------------------------- */

table, th, td{border:1px solid; border-collapse:collapse; vertical-align:top; text-align:left;}
table, th{table-layout:auto;}
table{width:100%; margin-bottom:15px;}
th, td{padding:5px 8px;}
td{border-width:0 1px;}

.tablica {border:1px solid;}
.onehalf td {width:50%;}
.onethird  td:first-child {width:10%;}
.onethird  td {width:45%;}

table, th, td, #comments .avatar, #comments input, #comments textarea{border-color:#D7D7D7;}
#comments input:focus, #comments textarea:focus, #comments *:required:focus{border-color:#F7A804;}
th{color:#FFFFFF; background-color:#373737;}
tr, #comments li, #comments input[type="submit"], #comments input[type="reset"]{color:inherit; background-color:#FBFBFB;}
tr:nth-child(even), #comments li:nth-child(even){color:inherit; background-color:#F7F7F7;}
table a, #comments a{background-color:inherit;}


.forma ul{list-style-type: none;}
.forma p{font-size:1.5em;}
.ramki {border:1px solid; margin:10px; padding:10px;}
.top60{margin-top:60px;}






/* заметки ----------------------------- */

.zametka {width:90%; margin: 0px auto; text-align:left; font-size: 1rem;}
.zametkamini {width:50%; margin: 30px 30% 40px auto; text-align:left;}
.zametka::before {content: '!'; font-size:400%; font-family:'Times New Roman', Times, serif; margin-left: -22px; margin-top:10px;}








/* Sidebar */
.container .sidebar{}

.sidebar .sdb_holder{margin-bottom:50px;}
.sidebar .sdb_holder:last-child{margin-bottom:0;}



/* Footer ---------------------------------------------------------------------------------- */

#footer{padding:80px 0;}

#footer .heading{margin-bottom:50px; font-size:1.2rem;}
#footer h1{margin-bottom:40px; font-size:32px; font-weight:700;}
#footer h1 span{font-size:4rem; font-weight:400;}

#footer .linklist li{display:block; margin-bottom:15px; padding:0 0 15px 0; border-bottom:1px solid;}
#footer .linklist li:last-child{margin:0; padding:0; border:none;}
#footer .linklist li::before, #footer .linklist li::after{display:table; content:"";}
#footer .linklist li, #footer .linklist li::after{clear:both;}

#footer input, #footer button{border:1px solid;}
#footer input{display:block; width:100%; padding:8px;}
#footer button{padding:8px 18px 10px; text-transform:uppercase; font-weight:700; cursor:pointer;}

#footer .heading{color:#000000;}
#footer hr, #footer .borderedbox, #footer .linklist li{border-color:rgba(0,0,0,.1);}

#footer input, #footer button{border-color:transparent;}
#footer input{color:#FFFFFF; background-color:#0E74A5;}
#footer input:focus{border-color:#F7A804;}
#footer button{color:#FFFFFF; background-color:#F7A804;}




/* Copyright ------------------------------------------------------------------------- */

#copyright{padding:20px 0;}
#copyright *{margin:0; padding:0;}


*, *::before, *::after{transition:all .3s ease-in-out;}
#mainav form *{transition:none !important;}








/* кнопка возвращения в TOP */
#backtotop{z-index:999; display:inline-block; position:fixed; visibility:hidden; bottom:20px; right:20px; width:36px; height:36px; line-height:36px; font-size:16px; text-align:center; opacity:.2;}
#backtotop i{display:block; width:100%; height:100%; line-height:inherit;}
#backtotop.visible{visibility:visible; opacity:.5;}
#backtotop:hover{opacity:1;}
#backtotop{color:#FFFFFF; background-color:#d69142;}





/* Gallery ------------------------------------ */

#gallery{display:block; width:100%; margin-bottom:50px;}
#gallery figure figcaption{display:block; width:100%; clear:both;}
#gallery li{margin-bottom:30px;}




/* Colours ---------------------------------------------------------------------------------------- */

body{color:#474747;}
a{color:#F7A804;}
a:active, a:focus{background:transparent;}/* IE10 + 11 Bugfix - prevents grey background */
hr, .borderedbox{border-color:#D7D7D7;}
label span{color:#FF0000; background-color:inherit;}
input:focus, textarea:focus, *:required:focus{border-color:#56AED4;}

.overlay{color:#000000; background-color:inherit;}
.overlay::after{color:inherit; //background-color:rgba(0,0,0,.55);}
.overlay.light{color:#474747;}
.overlay.light::after{background-color:rgba(255,255,255,.7);}



.logoname{color:#F7A804;}
.logoname span{color:#0E74A5;}




/* Page Intro ------------------------------------------ */

#pageintro{padding:30px 0 0 0; }
#pageintro article{display:block; max-width:100%; }
#pageintro .heading{margin: 0 0 30px 0; font-size:3.0rem; text-align:center; }
#pageintro p:first-of-type{margin:0 0 10px 0; text-transform:uppercase; letter-spacing:3px; text-align:center;}
#pageintro footer{margin-top:50px;}
#pageintro{color:#000000;}


/* ------------------------ overview --------------------------- */

.overview{}
.overview > li{margin-bottom:30px;}
.overview > li:nth-last-child(-n+3){margin-bottom:0;}/* Removes bottom margin from the last three items - margin is restored in the media queries when items stack */
.overview > li:nth-child(3n+1){margin-left:0; clear:left;}/* Removes the need to add class="first" */
.overview > li figure{position:relative; max-width:348px;}/* Uses the one_third width in pixels */
.overview > li figure a::after{position:absolute; top:0; right:0; bottom:0; left:0; content:"";}
.overview > li figure figcaption{display:block; position:absolute; bottom:0; width:100%; padding:15px;}
.overview > li figure a::after, .overview > li figure figcaption{}
.overview > li figure:hover a::after, .overview > li figure:hover figcaption{opacity:0; visibility:hidden;}
.overview > li figure:hover figcaption{opacity:0; visibility:visible;}

.overview > li figure figcaption *{margin:0;}
.overview > li figure .heading{margin-bottom:10px; font-size:1.2rem;}



.sectiontitle{display:block; max-width:55%; margin:30px auto; text-align:center;}
.sectiontitle *{margin:0;}





/* ------------ popup -------------- */

.popup {
    top: 42px; box-shadow: 2px 5px 5px gray;
    left: 42px;
    font-size: 14px;
    margin: auto;
    width: 75%;
    //min-width: 320px;
    //max-width: 600px;
    position: absolute;
    padding: 15px 20px;
    border: 1px solid #383838;
    background-color: white;
    z-index: 998;
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
}

#overlay {
    position: fixed;
    bottom: 0;
    right: 0;
    display: none;
    width: 40%;
    height: 70%;
    background: transporent;
    z-index: 999;
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
    overflow: auto;
}

.close {
    top: 0px; 
    left: 42px;
    width: 45px;
    height: 32px;
    position: absolute;
    border: none;
    //-webkit-border-radius: 50%;
    //-moz-border-radius: 50%;
    //-ms-border-radius: 50%;
    //-o-border-radius: 50%;
    //border-radius: 50%;
    background-color: rgba(0, 131, 119, 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: "X";
    font-family:  Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: normal;
    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);
}






#vopros_1 {font-size:80%; cursor:pointer; position:fixed; bottom:40px; right:70px;  border:2px solid green; border-radius:10px;  padding:10px; background:#fff; color:black;}



#vopros_2 {width:80%; height:90%;//600px; bottom: 20px; right:3%;  background:#fff; position:fixed; //text-align:center; border: 0px solid transparent;box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); z-index:10001; opacity:1.0; }


#vopros_close {width:100%; height:35px; margin:0 0 10px 0; background:#227455;  text-align:right;}



.btn {font-size:90%; height:35px; border-radius:0px; border:0px solid; 
           padding: 5px; background-color: #eee; color:#000;}

.btn:hover {background-color: #384262; color:#fff;}





.pbtn {font-size:80%; display:none; text-align:justify; padding:0 10px;}





#questDiv {font-size:90%; width:90%; margin:5px auto; text-align:left; }


.wid70 {width:68%; height:30px; font-size:110%; }

.wid50 {width:49%; height:30px; font-size:110%; }

.wid-help {width:49%; height:30px; font-size:110%; }

.wid40 {width:40%; height:30px; font-size:110%; }


.wid100 {width:100%; height:25px; font-size:105%; margin:10px 0;}

.wid90 {width:89%; height:25px; font-size:105%; margin:2px 0;}



#quicklyshow {display:none; width:50%; top:5%;  background-color:#fff; z-index:9999; padding: 0 20px;  position:fixed; margin:0 25% 0 25%; //outline:0px dashed #eeae; //border:10px solid #eeae;font-size:100%; height:75%; overflow-y: auto; opacity:1;

 border: 10px solid transparent;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
font-family: Times New Roman;
}



#showright {display:none; width:30%; top:15%; background-color:#fff; z-index:9999; padding:20px;  position:fixed;  border:1px solid #666; font-size:100%; // height:82%; overflow-y: auto;}




.modal_top {height:35px; padding: 10px 0px 0px 10px; background-color:#fff; }

.closX {//border:3px solid; //color:#800000; //font-family:Lobster; //background-color:#fff; cursor: pointer; 
        font-size:130%; //padding: 5px 10px; //border-radius:50%; height:16px; width:16px;}

#menu_button {background:transparent; border:0px solid; font-size:85%; cursor: pointer; color:#eee;}

.nazvanie {font-size:100%; color:#800000; text-align:left; margin:20px 0;}

#nazvanie_min {font-size:75%; color:#666; font-weight:normal;}


#formin {width:80%; margin: 0 auto; }


#formin p {width:100%;}

#text_area_vopros {width:92%; //height:250px;}




#top {
width:100%;
margin: 0px auto 50px auto;  
}

#bottom {background-color:#000;}
#bottom  a {color:#eee;}
#bottom a:hover { color: #fff; background: inherit; text-decoration: none; }


      #topheader  {top:0; width:100%; font-size:65%; position:fixed;}


      #topbottom  {width:100%; font-size:95%; display: flex; flex-direction: row; flex-basis: auto;
                  // background-color:blue; padding:5px 0; color:#000;
                   border-top:5px solid #227455;border-bottom:0px solid #C0C0C0;}


