/*@import url(http://fonts.googleapis.com/css?family=Jura|Open+Sans:400,700&subset=latin,cyrillic);*/

@font-face {
    font-family: "NeoSansProRegular";
    src: url("/static/fonts/NeoSansProRegular/NeoSansProRegular.eot");
    src: url("/static/fonts/NeoSansProRegular/NeoSansProRegular.eot?#iefix")format("embedded-opentype"),
    url("/static/fonts/NeoSansProRegular/NeoSansProRegular.woff") format("woff"),
    url("/static/fonts/NeoSansProRegular/NeoSansProRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: "NeoSansProBold";
    src: url("/static/fonts/NeoSansProBold/NeoSansProBold.eot");
    src: url("/static/fonts/NeoSansProBold/NeoSansProBold.eot?#iefix")format("embedded-opentype"),
    url("/static/fonts/NeoSansProBold/NeoSansProBold.woff") format("woff"),
    url("/static/fonts/NeoSansProBold/NeoSansProBold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
}

html {
    font-family: 'NeoSansProRegular', Arial;
    font-size: 16px;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

html,
body {
    min-width: 100%;
    min-height: 100%;
}

a {
    color: #060;
}
/* Заголовок */

#top,
#top_fixed {
    width: 100%;
    z-index: 1000;
    box-shadow: 0 5px 10px 0 rgba(50, 50, 50, 0.5);
    font-family: 'NeoSansProRegular', Arial;
}

#top_fixed {
    position: fixed;
    top: 0;
    display: none;
}

#header {
    color: #290;
    background-color: #FFF;
    text-align: center;
    height: 135px;
    font-size: 20px;
}

#header .content_row {
    padding: 10px 0 0;
}

#header .content_row .content {
    display: inline-block;
    margin: 0 1%;
    vertical-align: middle;
}

#header .content_row .content_left {
    width: 50%;
}

#header .content_row .content_right {
    width: 45%;
}

#header .content_row .small_content {
    display: inline-block;
    margin: 5px 2%;
}

#header img {
    max-height: 100px;
    max-width: 500px;
}

#header h2 {
    font-size: 140%;
}

#header h3 {
    font-size: 120%;
}

#header h4 {
    font-size: 90%;
    font-weight: normal;
}

#header p {
    font-size: 100%;
}

#header h2,
#header h3,
#header p {
    margin: 5px auto;
    font-weight: normal;
}

.header_m {
    color: #290;
    background-color: #FFF;
    font-size: 120%;
    text-align: center;
    display: none;
}

#top_fixed .header_m {
    display: block;
}

.header_m div {
    display: inline-block;
    vertical-align: middle;
    margin: 3px 20px;
}
/* Меню верхнее */

.nav-collapse {
    text-align: center;
    background-color: #060;
    /*border-bottom: solid 1px #060;*/
    text-transform: uppercase;
    font-size: 14px;
}

.nav-collapse li {
    width: auto;
    display: inline-block;
    height: 100%;
    padding: 0 5px 0 10px;
}

.nav-collapse img {
    width: 30px;
    vertical-align: middle;
}

.nav-collapse li:hover {
    background-color: #390;
}

.nav-collapse li.selected {
    background-color: #390;
}

.nav-collapse a {
    color: #FFF;
    padding: 15px 10px 12px;
    display: inline-block;
    text-decoration: none;
    vertical-align: middle;
}

#toggle1,
#toggle2 {
    text-align: right;
    background-color: #060;
}

#toggle1 img:hover,
#toggle2 img:hover {
    cursor: pointer;
}

.section {
    padding: 10px 5vw;
}

.section-center .content, 
.section-center h1, 
.section-center h2, 
.section-center h3, 
.section-center p,
.section-center ul {
    text-align: center;
}

.section h2 {
    text-align: center;
    margin: 25px 0 15px;
    color: #C00;
    padding: 10px;
    border-bottom: solid 1px #CCC;
}

.section h3 {
    /*text-align: center;*/
    margin: 20px 0 5px;
    color: #C00;
    font-size: 110%;
}

.textblock {
    color: #000;
    line-height: 1.5em;
}

.textblock p {
    text-align: justify;
    margin: 15px 0;
}

.textblock p.details {
    text-align: center;
}

.textblock ul {
    line-height: 2;
    margin-left: 20px;
}
.textblock ul li {
    list-style-image: url('/static/img/pub/li_icon.png');
}
.textblock ol {
    line-height: 2;
    text-align: left;
    margin-left: 40px;
}
.textblock ol li {
    
}

.selector_elems {
    text-align: center;
}

.selector_elems a {
    display: inline-block;
    margin: 10px 4%;
    width: 40%;
    position: relative;
}

.selector_elems a img {
    width: 100%;
    border: solid 1px #666;
    box-shadow: 4px 4px 5px #999;
}

.selector_elems a .elem_title,
.selector_elems a .elem_full_title {
    position: absolute;
    width: 100%;
    padding: 10px 0;
    background: rgba(150, 0, 0, 0.5);
    color: #FFF;
    font-size: 120%;
    text-shadow: 0 0 5px #000;
}

.selector_elems a .elem_title {
    top: 0;
}

.selector_elems a .elem_full_title {
    bottom: 4px;
    display: none;
}

.footer {
    background-color: #060;
    color: #FFF;
    font-size: 12px;
    font-family: 'NeoSansProRegular', arial;
    text-align: center;
    padding: 10px 0;
    margin-top: 30px;
}

.footer .content {
    display: inline-block;
    width: 40%;
    margin: 10px 2%;
    vertical-align: top;
}

.footer .content h2 {
    margin: 10px 0 7px;
    font-weight: normal;
}

.footer .content p {
    margin: 4px;
}

.footer .content a {
    color: #6CF;
}

#vizit_fixed {
    position: fixed;
    z-index: 9999;
    /*top: 0;*/
    top: 100%;
    left: 50%;
    width: 600px;
    margin-left: -300px;
    margin-top: -30px;
    display: none;
}

#vizit_fixed p {
    text-align: center;
}

#vizit_fixed .button {
    height: 30px;
    width: 300px;
    margin: 0 auto;
    background: #0B9D53;
    color: #FFF;
    text-align: center;
    padding-top: 4px;
    border: solid 1px #099045;
    border-radius: 25px 25px 0 0;
    box-shadow: 0 0 3px #666;
    cursor: pointer;
}

#vizit_fixed .vizit_block {
    border: solid 6px #0B9D53;
    background: #FFF;
    padding: 15px;
    font-size: 16px;
}

#vizit_fixed .f_str {
    margin: 20px 0;
}

#vizit_fixed .f_str.center {
    text-align: center;
}

#vizit_fixed .f_str label {
    width: 40%;
    display: inline-block;
    text-align: right;
    font-weight: bold;
    margin-right: 10px;
}
#vizit_fixed .f_str input[type=text] {
    padding: 10px 5px;
    width: 40%;
    border: solid 1px #999;
    font-size: 100%;
}

#vizit_fixed .f_str button {
    padding: 10px 15px;
    font-size: 110%;
    background-color: #099045;
    color: #FFF;
    text-shadow: 0 0 5px #000;
    border: solid 1px #666;
    cursor: pointer;
}

#vizit_fixed .f_str button:hover {
    background-color: #19A055;
} 

#vizit_fixed .f_str a {
    color: #060;
    margin: 0 10px;
    text-decoration: none;
}

#vizit_fixed .f_str a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 1250px) {
    #header {
        font-size: 18px;
        height: 120px;
    }
    .nav-collapse li {
        padding: 0 2px;
    }
    .nav-collapse li a {
        padding: 15px 5px;
    }
}

@media screen and (max-width: 1100px) {
    #header {
        font-size: 14px;
        height: 100px;
    }
    #header img {
        max-width: 430px;
    }
    .nav-collapse {
        font-size: 12px;
    }
    .nav-collapse img {
        display: none;
    }
}

@media screen and (max-width: 870px) {
    #header {
        display: none;
    }
    .header_m {
        display: block;
    }
    .header_m div {
        width: 30%;
        margin: 0;
        padding: 1vh 0;
    }
    .nav-collapse li {
        width: 100%;
        display: block;
        text-align: center;
    }
    .nav-collapse a {
        font-size: 130%;
        font-weight: bold;
    }
    .selector_elems a {
        width: 80%;
    }
    .footer .content {
        width: 100%;
        margin: 0;
        margin-bottom: 20px;
    }
    #vizit_fixed {
        width: 90%;
        margin-left: -45%;
    }
}

@media screen and (max-width: 600px) {
    .header_m div {
        width: 100%;
    }
    .header_m div:not(:first-child) {
        display: none;
    }
    #top_fixed .header_m {
        display: none;
    }

    #vizit_fixed {
        width: 100%;
        margin-left: -50%;
        margin-top: -50px;
        height: 100vh;
    }
    #vizit_fixed .button {
        margin-right: 0;
        width: 150px;
        height: 50px;
    }
    #vizit_fixed .button img {
        vertical-align: middle;
    }
    #vizit_fixed .vizit_form {
        overflow: scroll;
        height: 80vh;
    }
    #vizit_fixed .f_str label,
    #vizit_fixed .f_str input[type='text'] {
        width: 90%;
    }
    #vizit_fixed .f_str {
        text-align: center;
    }
}

@media screen and (min-width: 871px) {
    #toggle1,
    #toggle2 {
        display: none;
    }
}
