@font-face {
	font-family: Evolventa;
	src: local("Evolventa"), url("../fonts/Evolventa-Regular.woff");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: Evolventa;
	src: local("Evolventa Oblique"), url("../fonts/Evolventa-Oblique.woff");
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: Evolventa;
	src: local("Evolventa Bold"), url("../fonts/Evolventa-Bold.woff");
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: Evolventa;
	src: local("Evolventa Bold Oblique"), url("../fonts/Evolventa-BoldOblique.woff");
	font-weight: bold;
	font-style: italic;
}


* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

h1 {
    /*height: 70px;*/
    font: italic 2em Evolventa;
    margin-bottom: 40px;
    width: 100%;
    color: #fee58f;
    line-height: 30px;
    background: no-repeat 0 100% url('../images/separator_header.png');
    text-align: center;
}

h2 {
    font: italic 1.5em Evolventa;
    color: #ffe690;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
    clear: both;
	width: 100%;
}
h3 {
    font: italic 1.3em Evolventa;
    color: #ffe690;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
    clear: both;
    width: 100%;
}

img.imgr {
    margin-top: 5px;
	margin-left: 3px;
    border-radius: 0px !important;
    box-shadow: none !important;
    padding: 2px;
    border: 1px solid #ffe67b;
}

a.cena {
    width: 185px;
    display: block;
    font-size: 16px !important;
    padding: 10px;
    color: #fff !important;
    background: #4CAF50;
    text-shadow: none !important;
    border-radius: 5px;
    margin: 0 auto;
}

a.cena:hover {
    background: #75dc79;
}

blockquote {
    padding: 7px;
    color: #0e0e0e;
    background: #ffe67b;
    border: 1px solid #fbcb00;
    border-radius: 5px;
    width: 90%;
    margin: 10px auto;
}

.clearfix:after {

     content: "."

     display: block;

     height: 0;

     clear: both;

     visibility: hidden;

}

#content ul {
    width: 85%;
    padding: 10px !important;
    padding-left: 55px !important;
}

p {
    padding: 5px 0px 5px;
}

.clearfix {display: inline-block;}

body {
    width: 100%;
    background: repeat 50% 0 url('../images/bg.png');
    color: #eee;
    font: normal 1em Evolventa;
}

center {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

#subdomains {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    color: #667;
    font: 1.2em Evolventa;
    line-height: 20px;
}

#subdomains a {
    font: italic 0.8em Evolventa;
    padding: 0 6px;
    color: #ddd;
    line-height: 20px;
}

#subdomains a:last-child {
    margin-right: 15px;
    transition: all 0.5s;
}

#subdomains a:hover {
    color: #fff;
}

#subdomains a.ccc {
    color: #fee58f !important;
}

#main {
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
}

#head {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 200px;
    z-index: 10;
}

#logo {
    position: absolute;
    z-index: 1;
    display: block;
    top: 0;
    float: left;
    width: 351px;
    height: 428px;
    background: no-repeat url('../images/logo.png');
    background-size: contain;
}

#contacts, #contacts2, .town {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    flex-wrap: wrap;
    z-index: 77;
}

.contact {
    width: 195px;
}

.contact, .contact2 {
    position: relative;
    float: left;
    /* width: 195px; */
    padding: 2px 0 0 0;
    margin-bottom: 12px;
    font-style: italic;
    font-size: 0.9em;
    color: #DDD;
}

.contact img, .contact2 img {
    position: absolute;
    top: -8px;
    left: -18px;
}

.top21 {
    margin-top: -48px;
}

@media all and (max-width: 800px) {
    #contacts, #contacts2, .town {
        margin-top: 400px;
        flex-direction: row;
        justify-content: center;
    }

    .contact, .contact2 {
        float: left;
        z-index: 20;
        text-shadow: 0 0 5px black;
        width: 200px;
        font-style: italic;
        font-size: 1em;
        color: #ddd;
        position: relative;
    }

    .contact img, .contact2 img {
        position: absolute;
        top: -8px;
        left: -8px;
    }
}

div.town-wrap {
    margin: 8px;
    width: 154px;
	line-height: 16px;
    font-size: 14px;
}

@media all and (max-width: 800px) {
    div.town-wrap {
        width: 220px;
        margin: 0 30px 40px 30px;
        text-align: center;
    }

    contact, .contact2, .town-title {
        color: white;
    }
}

@media all and (max-width: 595px) {

    div.town-wrap {
        margin: 0 auto;
    }

    .contact img, .contact2 img, .town-title img {
        display: none;
    }
}

#slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 300px;
    background: no-repeat 50% 100% url('../images/slider_light.png');
    margin-bottom: 30px;
    background-size: contain;
    z-index: 17;
margin-top: 75px;
}

#slider_dark {
    position: absolute;
    bottom: -66px;
    left: 41px;
}

.slide {
    opacity: 0;
    position: absolute;
}

.slide.active {
    opacity: 1;
}

.slide .slide_title {
    position: absolute;
    left: 50px;
    top: 50px;
    font: normal 2.2vw Evolventa;
    text-transform: uppercase;
    color: lightgrey;
    text-shadow: white 0 0 5px, black 0 -1px 0, white 0 1px 0;
    z-index: 29;
    width: 300px;
    padding: 0 10px;
}

.slide .slide_signature {
    position: absolute;
    font: italic 0.9em Evolventa;
    color: #9b9b9b;
    width: 300px;
    left: 0;
    top: 140px;
}

.slide .slide_image {
    position: absolute;
    left: 650px;
    top: 10px;
}

.slide.active .slide_signature {
    left: 190px;
}

.slide.active .slide_image {
    left: 500px;
}

@media all and (max-width: 500px) {

    #contacts, #contacts2, .town {
        margin-top: 230px;
        flex-direction: row;
        justify-content: center;
    }

    #logo {
        position: absolute;
        top: 0;
        z-index: -1;
        display: block;
        width: 80%;
        height: 80%;
        margin: 0 10%;
        background: no-repeat url('../images/logo.png');
        background-size: contain;
    }

    #slider {
        display: none;
    }
#contacts2 {display:block}
    div.contact:last-child, div.contact2:last-child {
        display: none;
    }
}

#workplace {
    width: 100%;
    z-index: 30;
    padding: 0;
    margin: 0;
}

@media all and (max-width: 800px) {
    #workplace {
        margin-top: 360px;
    }
}

@media all and (max-width: 480px){
	#workplace {
        margin-top: 560px;
    }
}

@media all and (max-width: 450px) {

    #contacts, #contacts2, .town {
        margin-top: 170px;
        flex-direction: row;
        justify-content: center;
    }

    #subdomains {
        margin-top: 15px;
        display: flex;
        justify-content: space-around;
        width: 100%;
        color: #5f5f5f;
        font: 1.1em Evolventa;
        line-height: 20px;
        text-align: center;
    }

    #subdomains a:last-child {
        margin-right: 0;
    }

    #menu {
        float: left;
        width: 220px;
    }
}

#menu {
    float: left;
    width: 220px;
}

.menu {
    display: block;
    width: 100%;
padding:10px 0;
    background: no-repeat 50% 100% url('../images/separator_menu.png');
}

.menu:last-child {
    /*background: none;*/
}

.menu:hover .m_name {
    color: #fff;
    text-shadow: 0 0 5px white;
}

.menu .m_name, .menu .m_signature {
    transition: all 0.5s;
    padding-left: 20px;
}

.menu .m_name {
    font: italic 20px Evolventa;
    color: #ffe690;
    padding-top: 6px;
    line-height: 18px;
}

.menu .m_signature {
    font: italic 12px Evolventa;
    margin-top: 10px;
    line-height: 12px;
    color: #9b9b9b;
}

@media all and (max-width: 745px) {

    .slide .slide_title {
        font: bold 4vw Evolventa;
        padding: 0;
    }

    #menu {
        width: 100%;
        text-align: center;
        margin-top: 75px;
    }

    .menu {
        height: 55px;
        background: no-repeat 50% 100% url('../images/separator_menu.png');
        padding: 0;
    !important;
        margin: 0;
    !important;
    }

    .menu .m_name, .menu .m_signature {
        padding: 0;
        margin: 0;
    }

    .menu .m_name {
        font: italic 20px Evolventa;
        color: #ffe690;
        padding-top: 16px;
        line-height: 18px;
    }

    .menu .m_signature {
        display: none;
    }

    h1 {
        margin-top: 50px;
    }
}

#content {
    display: flex;
    width: 80%;
    margin-bottom: 100px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.photo_div img {
    box-shadow: 0 1px 4px white;
    transition: all 0.5s;
    border-radius: 5px;
}

.photo_div img:hover {
    box-shadow: none;
}

.photo_div a {
    font: italic 14px Evolventa;
    color: white;
}

@media all and (max-width: 745px) {
    #content {
        width: 100%;
    }

    #content p {
        font-size: 14px;
        padding: 5px;
        margin-bottom: 0px;
    }

    #content a {
        color: #ffe690;
    }

    #content .photo_div {
        height: 200px;
        width: 155px;
        float: left;
        background: no-repeat 50% 11px url('../images/photo_div.png');
    }

    #content .photo_div table {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    #content .photo_div table td {
        text-align: center;
    }

    #content .photo_div a {
        font: italic 0.9em Evolventa;
        color: white;
        
    }

    #content .block {
        width: 580px;
        float: right;
    }

    #content .block_title {
        font: italic 20px Evolventa;
        color: #ffe690;
        margin-left: 30px;
    }

    #content .block_image {
        float: left;
        margin-right: 30px;
    }

    #content #yandexMap {
        width: 600px;
        height: 300px;
        border: 2px solid #888;
        margin-left: 30px;
    }

    #counters {
        display: block;
        clear: both;
        margin-bottom: 50px;
        float: right;
    }

    #submenu {
        display: none;
    }

    .photo_div td {
        font-size: 14px;
    }

    hr {
        margin: 22px 0;
        border: 1px solid;
    }
}

.cmail {
height:20px;
}
.csh {
height:35px;
}

.achtung {
    position: fixed;
    bottom: 25px;
    background: #020202;
    text-align: center;
    color: red;
    padding: 7px;
    border: 1px solid red;
    border-radius: 9px;
}

.nphone {
    font-size: 21px;
}
.nphone a {
    color: #ffe793;
}
