html, body {
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #336699;
    background: url(img/bg.jpg);
    min-width: 320px;
}

* html .wrapper {
    height: 100%;
}

.wrapper {
    min-height: 100%;
    margin: 0 auto -125px auto;
    padding-bottom: 125px;
    box-sizing: border-box;
    width: 100%;
    max-width: 936px;
    background: #BDC3C7;
    display: table;
    height: 100%;
}

title {
    text-transform: uppercase;
}

/**************************** Main styles  ****************************/
a {
    text-decoration: none;
}

h1 {
}

h2 {
    font-weight: 700;
    font-size: 13px;
}

h3 {
    font-weight: 700;
}

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

div {
    vertical-align: top;
}

strong {
    font-weight: 700;
}

ul, ol {
    list-style-position: inside;
}

ol li, ul li {
    line-height: 18px;
    margin: 4px 0 4px 15px;
}

/**************************** FORM ELEMENTS  ***********************/

input[type=text]:focus, input[type=email]:focus, textarea:focus,
input[type=number]:focus, input[type=search]:focus,
input[type=tel]:focus, input[type=password]:focus, input[type=url]:focus, select:focus {
    outline: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;;
}

input::-o-outer-spin-button,
input::-o-inner-spin-button {
    -o-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

input[type=text] {
    -moz-box-sizing: border-box;
}

input[type=radio] {
    width: 15px;
}

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::-ms-clear {
    display: none;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    -ms-appearance: none;
    appearance: none !important;
}

select::-ms-expand {
    display: none;
}

/*Label for Search input*/
.search-label {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 5px;
    color: #2c3e50;
    font-size: 13px;
    box-sizing: border-box;
    cursor: text;
}

/**************************** HEADER  ****************************/
header {
    background: #bdc3c7;
    border-bottom: 1px #9e9e9e solid;
    display: table-caption;
    width: 100%;
    max-width: 936px;
}

.header-nav li {
    line-height: 12px;
    margin: 0;
}

.site-name {
    padding: 23px 0 21px 5px;
    color: #336699;
}

.logo-block {
    display: inline-block;
    width: 200px;
    color: #336699;
    font-weight: 700;
    background: #ecf0f1;
    font-size: 0;
    padding: 22px 3px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    text-align: center;
}

.logo-block a {
    display: inline-block;
    vertical-align: top;
    width: 194px;
}

header .logo {
    width: 170px;
    margin: 0 auto;
}

.text-orange {
    color: #fc7820;
}

.text-green {
    color: #669933;
}

.search-callback {
    display: inline-block;
    width: 736px;
    margin-left: -4px;
}

.header-left {
    display: inline-block;
    width: 272px;
    padding: 31px 0 17px 15px;
}

.searchform {
    width: 100%;
    position: relative;
}

.search-input {
    margin-bottom: 0;
    height: 24px;
    border: 1px #9e9e9e solid;
    border-radius: 5px;
    width: inherit;
    padding: 0px 22px 0px 10px;
    box-sizing: border-box;
    font-size: 13px;
    background: #ecf0f1;
}

input[type=submit].search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 24px;
    width: 24px;
    padding: 0;
    font-size: 0;
    background: rgba(113, 54, 54, 0) url(img/search.png) no-repeat center;
    /* margin: 2px 0px 0 0px; */
    border-radius: 6px;
    cursor: pointer;
    border: none;
}

.header-right {
    display: inline-block;
    width: 445px;
    text-align: right;
    margin: 8px 0 0 0;
}
.header-right .email{
    width: auto;
margin-left: auto;
color: #2c3e50;
line-height: normal;
font-size: 16px;
margin-right: 15px;
}

.header-phone {
    width: 160px;
    font-weight: 700;
    padding: 0px 0px 0 7px;
    margin: 0px 15px 0 0;
    background: url(img/phone-dark.png) no-repeat 0;
    background-size: 15px;
    margin-left: auto;
    color: #2c3e50;
    line-height: normal;
    font-size: 17px;
}

.callback {
    width: 160px;
    margin: 4px 13px 4px auto;
    padding: 4px 5px;
    background: #669933;
    font-weight: 700;
    color: #ecf0f1;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    line-height: normal;
}

.callback:hover {
    box-shadow: 0 0 1px 1px white;
}

.section {
    font-size: 0;
    position: relative;
    background: #2C3E50;
    display: table-row;
    height: 100%;
}

.content-left {
    display: inline-block;
    width: 200px;
    background: #2c3e50;
    font-size: 12px;
    height: 100%;
}

.content-left a {
    display: block;
    color: #ecf0f1;
    height: 100%;
    background: url(img/content-left-reference-icon.png) no-repeat 15px center;
    padding: 10px 20px 10px 48px;
    /* min-height: 24px; */
    line-height: normal;
    font-size: 14px;
}

.content-left a:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.content-left .arrow {
    margin-left: 5px;
}

.cat {
    overflow: hidden;
    height: auto;
    max-height: 1300px;
    transition: all 0.7s ease-out 0s;
    max-height: none !important;
}

.cat-hidden {
    max-height: 32px;
    border-bottom: 1px #ECF0F1 solid;
}

.cat-name {
    color: #ecf0f1;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 38px 10px 15px;
    cursor: pointer;
    position: relative;
    background-color: #693;
    font-size: 14px;
}

.cat-name:hover {
    background: #458A00;
}

.cat-name:hover img {
    transition: all 0.5s;
    transform: rotate(360deg);
}

.cat-name img {
    position: absolute;
    right: 10px;
    top: 0;
    bottom: 0;
    margin: auto;
    /* transition: all 0.5s; */
}

.for-students {
    background: url(img/for-students.png) no-repeat 92%;
    background-color: #693;
}

.for-workers {
    background: url(img/for-workers.png) no-repeat 92%;
    background-color: #693;
}

.item {
}

.item-last {
    padding-bottom: 10px;
}

.content-right {
    display: inline-block;
    width: 736px;
    font-size: 12px;
    background: #bdc3c7;
    height: 100%;
}

.header-nav {
    background: #ecf0f1;
    border-bottom: 1px #9e9e9e solid;
    font-size: 0;
}

.header-nav li {
    display: inline-block;
    position: relative;
    font-size: 15px;
    transition: all 0.1s linear 0s;
}

.header-nav li::before {
    transition: all 0.2s linear 0s;
    height: 0px;
    background: #4E6A91;
    display: block;
    width: 100%;
    content: '';
    position: absolute;
    bottom: 0px;
}

.header-nav li:hover::before {
    height: 5px;
    bottom: -5px;
}

.header-nav .current-menu-item.li:first-child a {
    background: red;
}

.header-nav .current-menu-item a {
    color: white;
    background-color: #4e6a91 !important;
}

.header-nav .current-menu-item::before {
    height: 5px;
    bottom: -5px;
}

.header-nav .current-menu-item::after {
    display: none;
    background: red;
    width: 0;
}

.header-nav li:hover a {
}

.header-nav li:hover::after {
    display: none;
    background: red;
    width: 0;
}

.header-nav li:hover a {
    color: white;
    background: #4E6A91;
}

.header-nav li:first-child:hover a {
    background: #4e6a91 url(img/main-nav-home.png) no-repeat 13px center;
}

.header-nav li a {
    color: #2c3e50;
    display: block;
    height: 100%;
    padding: 11px 15px 11px 15px;
}

.header-nav li:last-child::after {
    display: none;
}

.header-nav li::after {
    content: '';
    background: #bdc3c7;
    width: 1px;
    height: 10px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.header-nav li:first-child a {
    padding: 11px 15px 11px 41px;
    background: #ecf0f1 url(img/main-nav-home.png) no-repeat 13px center;
    display: block;
}

.main {
}

.last {
}

.regular {
    font-weight: 400;
}

.content-wrap {
    padding: 5px 15px 15px 15px;
    font-size: 0;
}

.descr-block {
    background: #4e6a91 url(img/main-lab.jpg) no-repeat 86% bottom;
    color: #ecf0f1;
    border-radius: 5px;
    padding: 67px 0 46px 47px;
    font-size: 12px;
}

.descr {
    padding: 4px 0 13px 0;
}

.descr-block h1 {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.callback-main {
    background: #ecf0f1 url(img/phone-dark.png) no-repeat 13px center;
    width: 100px;
    border-radius: 5px;
    padding: 7px 0 7px 34px;
    color: #2c3e50;
    font-weight: 700;
    cursor: pointer;
}

.callback-main:hover {
    box-shadow: 0 0 1px 1px #2C3E50;
}

.favourites {
    font-size: 0;
    margin-bottom: 15px;
}

.fav {
    transition: all 0.3s linear 0s;
    background: #ecf0f1;
    display: inline-block;
    text-align: center;
    border-radius: 5px;
    margin-top: 15px;
    margin-right: 15px;
    font-size: 12px;
    width: 165px;
    min-height: 116px;
}

.fav:hover {
    box-shadow: 0 0 4px 2px #2C3E50;
}

.fav:last-child {
    margin-right: 0;
}

.fav a {
    display: block;
    color: #2c3e50;
    font-weight: 700;
    padding: 9px 0 9px 0px;
}

.fav-name {
    margin: 6px 0 0 0;
}

.content {
    display: inline-block;
    /*width: 526px;*/
    width: 100%;
    font-size: 14px;
    line-height: normal;
}

.content-block:first-child {
    margin-top: 0;
}

.content-block {
    background: #ecf0f1;
    margin-top: 15px;
    border-radius: 5px;
    padding-bottom: 15px;
}

.content-block-name {
    background: #2c3e50;
    padding: 13px 0 10px 28px;
    border-radius: 5px 5px 0 0;
    color: #ecf0f1;
    font-weight: 700;
}

.content-block-text {
    padding: 10px 27px 0 27px;
    color: #2c3e50;
}

.content-block-text ul li {
    padding: 5px 0;
    list-style-position: inside;
    line-height: 14px;
}

.content-block-text ol li {
    padding: 5px 0;
    list-style-position: inside;
    line-height: 14px;
}

.section table {
    width: 100%;
    border: 1px #9e9e9e solid;
    text-align: center;
    color: #2c3e50;
}

.section table a {
    color: #2c3e50;
}

.section table a:hover {
    text-decoration: underline;
}

.section table tr {
}

.section table td {
    border: 1px #9e9e9e solid;
    vertical-align: middle;
    padding-top: 10px;
    padding-bottom: 10px;
}

.section table td:first-child {
    width: 12px;
}

.section table td:nth-child(2) {
    padding-left: 10px;
}

.section table td:nth-child(3) {
    width: 50px;
    max-width: 50px;
}

.section table td:nth-child(4) {
    width: 30px;
    max-width: 30px;
}

.service-table-heading {
    color: #ecf0f1;
    font-weight: 700;
    background: #669933;
}

.service-table-heading td {
    border-right: 1px #FFF solid !important;
    padding: 14px 8px !important;
}

.service-table-heading td:nth-child(3) {
    min-width: 64px;
}

.service-table-heading td:last-child {
    border-right: 1px #9e9e9e solid !important;
    min-width: 61px;
}

.service-cat {
    margin: 15px 30px;
}

.invert .service-cat-name {
    background: #669933 url(img/for-workers.png) no-repeat 7px center;
}

.invert .service-table-heading {
    background: #2C3E50;
}

.align-left {
    text-align: left;
}

.service-cat-name {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    color: #ecf0f1;
    background: #2c3e50;
    border-left: 1px #9f9f9f solid;
    border-right: 1px #9f9f9f solid;
    border-top: 1px #9f9f9f solid;
    padding: 11px 10px 10px 36px;
    position: relative;
}

.service-cat-name img {
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    margin: auto;
}

.main-article {
    background: #ecf0f1;
    margin-top: 15px;
    border-radius: 5px;
}

.main-article:first-child {
    margin-top: 0;
}

.article-name {
    background: #2c3e50;
    padding: 13px 0 10px 28px;
    border-radius: 5px 5px 0 0;
}

.article-name h2 {
    color: #ecf0f1;
    font-weight: 700;
}

.article-content {
    color: #2c3e50;
}

.article-content p {
    padding: 15px 27px 15px 28px;
    line-height: 15px;
}

/**************************** CONTENT  ******************************/
aside {
    display: inline-block;
    width: 165px;
    margin-left: 15px;
}

.aside-item {
    background: #ecf0f1;
    border-radius: 5px;
    margin-top: 15px;
}

.textwidget:first-child .aside-item {
    margin-top: 0;
}

.aside-item a {
    display: block;
}

.aside-banner {
    text-align: center;
    padding: 18px 0 15px 0px;
}

.top-shopping {
    font-size: 12px;
    color: #2c3e50;
}

.top-shopping a {
    color: #2c3e50;
}

.top-shopping-title {
    border-bottom: 1px #bdc3c7 solid;
    padding: 10px 0 6px 37px;
    background: url(img/top-sales.png) no-repeat 14px center;
}

.top-shopping-item {
    border-bottom: 1px #bdc3c7 solid;
    padding: 10px 0px 10px 36px;
    background: url(img/reference-icon.png) no-repeat 14px center;
}

.article-content li {
    margin: 0 28px 0 40px;
}

/**************************** FOOTER ******************************/
footer {
    width: 100%;
    max-width: 936px;
    margin: 0 auto;
    border-top: 1px #9e9e9e solid;
    font-size: 0;
    background: #ecf0f1;
    position: relative;
}

footer li {
    line-height: initial;
    margin: 0;
}

.footer-logo-block {
    display: inline-block;
    width: 200px;
    font-size: 14px;
    font-weight: 700;
    padding: 24px 3px 10px 3px;
    text-transform: uppercase;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    text-align: center;
}

.footer-logo-block img {
    width: 170px;
    margin: 0 auto;
}

.footer-logo-block a {
    color: #2c3e50;
    display: inline-block;
    vertical-align: middle;
    width: 194px;
}

.footer-logo {
}

.footer-nav {
    width: 720px;
    font-size: 14px;
    display: inline-block;
    padding: 40px 0 30px 15px;
}

.footer-nav li {
    display: inline-block;
    position: relative;
}

.footer-nav li:hover a {
    text-decoration: underline;
}

.footer-nav li a {
    color: #2c3e50;
    display: block;
    padding: 5px 11px 5px 11px;
	font-size: 18px;
}

.footer-nav li:last-child a::after {
    display: none
}

.footer-nav li a::after {
    content: '';
    background: #bdc3c7;
    width: 1px;
    height: 10px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

footer .last {
}

.footer-contacts {
    display: flex;
    width: 100%;
    font-size: 12px;
    color: #2c3e50;
    font-weight: 700;
    padding: 0px 22px 20px 22px;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-around;
}

footer .email {
    background: url(img/email.png) no-repeat 0;
    padding: 0 0 4px 22px;
    font-size: 18px;
    background-size: 16px;
}

footer .tel {
    padding: 4px 0 4px 22px;
    background: url(img/phone-dark.png) no-repeat 0 center;
    font-size: 18px;
    background-size: 15px;
}

.footer-callback {
    color: #ecf0f1;
    background: #2c3e50;
    /* width: 140px; */
    border-radius: 5px;
    padding: 7px 9px;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    font-size: 18px;
    max-width: 200px;
}

.footer-callback:hover {
    background: #669933;
    color: #ffffff;
}

.close-icon {
    position: relative;
    right: 10px;
    top: 13px;
    float: right;
    cursor: pointer;
    border-radius: 20px;
}

.close-icon:hover {
    /* box-shadow: 0 0 6px 0px #2c3e50; */
    opacity: 0.5;
}

/**************************** CALLBACK ******************************/
.callback-form-block {
    z-index: 10;
    position: fixed;
    width: 352px;
    background: #ecf0f1;
    height: 100%;
    top: 0;
    right: -100%;
    transition: all 0.5s linear 0s;
}

.hide-callback {
    position: absolute;
    margin: auto;
    bottom: 0;
    top: 0;
    left: 13px;
    width: 14px;
    height: 28px;
    cursor: pointer;
}

.callback-form-name {
    background: url(img/phone-dark.png) no-repeat;
    margin: 75px 0px 0 35px;
    width: 225px;
}

.callback-form-wrap {
    padding: 0 13px 0 0;
    font-size: 14px;
    font-weight: 300;
    color: #2c3e50;
    position: absolute;
    bottom: 0;
    top: 0;
    margin: auto;
    height: 290px;
    margin-left: 38px;
}

.callback-form-block .form {

}

.callback-form-name::after {
    content: '';
    background: #9e9e9e;
    width: 100%;
    height: 1px;
    display: block;
    margin-top: 12px;
    margin: 12px auto 0 auto;
}

.callback-form-name h2 {
    font-size: 14px;
    color: #2c3e50;
    text-transform: uppercase;
    padding: 0px 0 0 20px;
}

.consultant {
    font-size: 14px;
    font-weight: 300;
    color: #2c3e50;
    padding: 14px 94px 0 35px;
    line-height: 16px;
}

.input-body {
    position: relative;
}

.wpcf7-radio span {
    margin-left: 0 !important;
}

.input-name {
    background: url(img/name.png) no-repeat 0;
    padding: 0px 0 0 15px;
    margin: 0 0 17px 0;
}

.input-tel-number {
    width: 232px;
    height: 29px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0);
    border: 1px #9e9e9e solid;
    box-sizing: border-box;
    padding-left: 10px;
    vertical-align: top;
    font-size: 18px;
    color: #555;
    line-height: 28px;
    margin-bottom: 20px;
}

.input-user-name {
    width: 100%;
    height: 29px;
    border-radius: 5px;
    background: transparent;
    border: 1px #9e9e9e solid;
    box-sizing: border-box;
    padding-left: 10px;
    font-size: 18px;
    color: #555;
}

.reference-price {
    color: #2c3e50;
    font-weight: 700;
    padding: 10px 0px 10px 2px;
    font-size: 18px;
}

.rotate-90 {
    display: block;
    width: 265px;
    height: 40px;
    -moz-transform: rotate(90deg);
    /* -webkit-transform: rotate(90deg); */
    -o-transform: rotate(90deg);
    /* writing-mode: tb-rl; */
    transform: rotate(-90deg);
    font-weight: 700;
    color: #ecf0f1;
    font-size: 18px;
}

label[for=callback-name] {
    top: 2px;
    position: absolute;
    cursor: text;
    font-size: 14px;
}

.tel-code {
    border-radius: 5px;
    width: 63px;
    height: 29px;
    background: url(img/select-arrow.png) no-repeat 47px center;
    font-size: 18px;
    color: #555555;
    padding: 0 0 0 11px;
    line-height: 29px;
    margin: 0 6px 0 0;
    vertical-align: top;
    border: 1px #9e9e9e solid;
}

.input-tel input {
}

.input-tel {
    margin: 20px 0 18px 0;
    padding: 0 0 0 17px;
    background: url(img/telephone.png) no-repeat 0;
}

.recaptcha {
    margin: 28px 0 0 0;
    height: 72px;
    width: 283px;
    background: #555555;
}

.callback-submit {
    margin: 25px 12px 16px 3px;
    width: 80px;
    color: #ecf0f1;
    font-weight: 700;
    font-size: 12px;
    padding: 7px 13px 7px 33px !important;
    cursor: pointer;
    border-radius: 5px;
    background: #2c3e50 url(img/phone-light.png) no-repeat 14px center !important;
    display: block;
    min-width: 116px;
    transition: 0.3s;
    -webkit-transition: 0.3s;
}

.callback-submit:hover {
    background: #693 url(img/phone-light.png) no-repeat 14px center !important;
}

.callback-form-hidden {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 40px;
    height: 265px;
    background: #693 url(img/hidden-callback.png) no-repeat center;
    border-radius: 5px 0 0 5px;
    color: #ecf0f1;
    cursor: pointer;
    transition: all 0.5s linear 0s;
    z-index: 10;
}

.js-callback-visible {
    right: 0;
}

.js-callback-min-hide {
    right: -50px;
}

/******************* Reference *******************************/
.content-block-name h1 {
    font-size: 10px;
    text-transform: uppercase;
    font-size: 15px;
}

.reference-photos {
    display: inline-block;
    width: 50%; /* padding: 20px 0 10px 14px; */
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.image {
    display: inline-block;
    width: 258px;
    margin: 0 5px 0px 0;
    cursor: pointer;
    position: relative;
    border: 1px #a4a4a4 solid;
}

.enlarge-icon {
    transition: all 0.2s linear 0s;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 44px !important;
}

.enlarge-icon:hover {
    transform: scale(1.2);
}

.image img {
    width: 100%;
    display: block;
}

.image-icons {
    display: inline-block;
    width: 66px;
    text-align: center;
/*height: 224px; */
    overflow: hidden;
    position: relative;
    padding: 8px 0 0 0;
    box-sizing: border-box;
}

.icons {
    top: 0px;
    position: relative;
    transition: all 0.5s linear 0s;
}

.prev {
    height: 6px;
    width: 100%;
    background: #ECF0F1 url(img/item-slider-prev.png) no-repeat center;
    position: absolute;
    top: 0;
    cursor: pointer;
    z-index: 1;
}

.next {
    height: 6px;
    width: 100%;
    background: #ECF0F1 url(img/item-slider-next.png) no-repeat center;
    position: absolute;
    bottom: 0;
    cursor: pointer;
}

.image-icon {
    width: 100%;
    height: 64px;
    margin: 0 0 4px 0;
    border: 1px #9e9e9e solid;
    box-sizing: border-box;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    cursor: pointer;
}

.imagebox {
    transition: all 0.3s linear 0s;
    width: 0%;
    height: 0%;
    position: fixed;
    margin: auto;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    background: rgba(74, 74, 74, 0.73);
    z-index: 999;
    overflow: hidden;
}

.single-content-block-text {
    margin: 0 15px;
}

.imagebox .imagebox-cur-img {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    opacity: 0;
    transition: all 0.3s linear 0s;

}

.prev-slide {
    position: absolute;
    left: 150px;
    top: 0;
    bottom: 0;
    margin: auto;
    cursor: pointer;
    z-index: 1;
}

.next-slide {
    position: absolute;
    right: 150px;
    top: 0;
    bottom: 0;
    margin: auto;
    cursor: pointer;
}

.reference-form {
    display: inline-block;
    width: 49%;
    padding: 0 0 0 12px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

input[type=text], textarea {
    font-size: 15px;
}

/* .reference-form  */
textarea {
    padding: 0px;
    margin: 0px;
    border: 1px solid #9E9E9E;
    border-radius: 5px;
    width: 100%;
    max-width: 100%;
    height: 80px;
    max-height: 80px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding-left: 12px;
    padding-top: 5px;
}

/* .reference-form */
textarea ~ label {
    height: 80px;
}
textarea{
    font-family: 'Open Sans', sans-serif;
}
/* .reference-form */
input[type=submit] {
    cursor: pointer;
    color: #ecf0f1;
    font-weight: 700;
    width: initial;
    padding: 2px 25px 2px 25px;
    background: #2c3e50;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    font-size: 16px;
}

input[type=submit]:hover {
    background: #693;
}

.search-btn:hover {

    /* background: #693; */

    /* color: #fff; */

    background: rgba(113, 54, 54, 0) url(img/search.png) no-repeat center !important;

    box-shadow: inset 0 0 7px 1px #693;
}

.reference-form input[type=submit]:hover, .faq-form input[type=submit]:hover {
    background: #693;
    box-shadow: none;
}

/* .reference-form */
input {
    border: 1px #9e9e9e solid;
    border-radius: 5px;
    width: 100%;
    padding: 3px 0 4px 0;
    box-sizing: border-box;
    padding-left: 12px;
}

.reference-form p {
    /*display: none;*/
}

/* .reference-form */
label {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    line-height: 25px;
    color: #9e9e9e;
    font-size: 11px;
    font-weight: 300;
    padding-left: 15px;
    cursor: text;
    box-sizing: border-box;
    font-size: 15px;
}

.reference-text {
    color: #2c3e50;
    padding: 11px 13px 24px 13px;
    line-height: 14px;
}

.accordion {
    transition: all 0.2s linear 0s;
    overflow: hidden;
    border-bottom: 1px rgba(0, 0, 0, 0) solid;
    color: #2c3e50;
}

.accordion-height-auto {
    height: auto !important;
}

.opened .accordion-name {
    background: #BDC3C7 url(img/acordion-opened.png) no-repeat 15px center;
    color: #2C3E50;
}

.accordion-name {
    color: #FFFFFF;
    background: #669933 url(img/acordion-closed.png) no-repeat 16px center;
    font-weight: 700;
    padding: 6px 0 6px 36px;
    cursor: pointer;
}

.opened .accordion-content {
    height: 100%;
}

.accordion-content {
    height: 0px;
}

.accordion-name h2 {
}

.related {
    padding: 0 13px;
}

.related div {
    padding: 6px 0;
}

.related h2 {
    color: #2c3e50;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    padding: 20px 0px 20px 0px;
}

.related-item {
    color: #2c3e50;
    background: url(img/reference-icon.png) no-repeat 0 center;
    padding: 0 0 0 15px;
}

.related-item:hover {
    color: #669933;
    text-decoration: underline;
}

/***** FAQ *****/
div.question {
    color: #2c3e50;
    padding: 15px 0 0px 30px;
    line-height: 13px;
    background: url(img/question.png) no-repeat 0 12px;
    font-weight: 300;
    min-height: 20px;
}

.answer {
    color: #693;
    padding: 15px 0 10px 30px;
    background: url(img/answer.png) no-repeat 0px 18px;
    border-bottom: 1px #9e9e9e solid;
    font-weight: 300;
    min-height: 20px;
}

/********* Delivery *********/
.station {
    background: url(/wp-content/themes/medspravka77/img/pointer.png) no-repeat 0;
    font-weight: 700;
    min-height: 24px;
    padding-left: 24px;
    line-height: 24px;
    width: 44%;
    display: inline-block;
}

.delivery_stations {

    overflow: hidden;
    position: relative;

}

.more-stations {
    height: 20px;
    width: 20px;
    font-weight: 700;
    font-size: 18px;
    line-height: 10px;
    cursor: pointer;
    margin: 2px 0 0 22px;
    text-align: center;
}

.stations-opened {
    height: initial;
}

.faq-form {
    margin: 15px 0 0 0;
}

/** Contacts **/
.contacts-page .wpcf7 {
    width: 236px;
    display: inline-block;
}

.contacts-info {
    display: inline-block;
    margin-left: 46px;
}

.contacts-page h2 {
    text-transform: uppercase;
    margin-bottom: 18px;
}

.contacts-phone-title {
    color: #693;
    font-weight: 700;
    background: url(img/contacts-phone.png) no-repeat 0 center;
    padding-left: 14px;
    min-height: 15px;
    line-height: 15px;
    margin-bottom: 2px;
}

.contacts-email-title {
    color: #693;
    font-weight: 700;
    background: url(img/contacts-email.png) no-repeat 0 center;
    padding-left: 14px;
    min-height: 15px;
    line-height: 15px;
    margin-bottom: 2px;
    margin-top: 9px;
}

.c-phone div, .c-email div {
    padding: 4px 0;
    font-size: 15px;
}

/****** 404 ********/
.error-text {
    text-align: center;
}

.error-big-text {
    display: block;
    font-size: 70px;
    font-weight: 700;
}

.error-medium-text {
    display: block;
    font-size: 30px;
    margin: 15px;
}

.error-small-text {
    font-size: 14px;
    display: block;
    text-align: left;
    padding: 10px 10px 15px 10px;
    color: #369;
}

.error-text a {
    font-weight: 700;
    text-align: left;
    color: #693;
    font-size: 15px;
}

/***  Search ******/
.search-text {
    padding: 10px 15px;
}

.search-text a {
    color: #2C3E50;
    display: block;
    padding: 6px;
    background: url(img/content-left-arrow.png) no-repeat 5px center;
    padding-left: 20px;
}

.search-text a:hover {
    background-color: #2C3E50;
    color: #FFF;
}

/*** Contact Form 7 ***/
span.wpcf7-list-item {
    margin-left: 0.5em;
    display: block;
    margin-bottom: 10px;
    color: #2C3E50;
}

.prev-slide:hover, .next-slide:hover {
    opacity: 0.7 !important;
}

.hide-callback img:hover {
    opacity: 0.8;
}

.callback-form-wrap .wpcf7-validation-errors {
    display: none !important;
}

.ajax-loader {
    display: none !important;
}

.wpcf7-spam-blocked {
    display: none !important;
}
.wpcf7-not-valid-tip, .wpcf7-validation-errors{display: none !important;}
.wpcf7-not-valid{box-shadow: 0 0 2px 1px red;}
/******* @Media *********/
@media only screen and (max-height: 610px) {
    .callback-form-wrap {
        top: initial;
        bottom: 15px;
    }
}

@media only screen and (max-height: 480px) {
    .callback-form-wrap {
        position: relative;
        margin: 20px 0 0 38px;
    }
}

@media all and (max-width: 960px) {
    .logo-block {
        width: 100%;
        min-width: 100%;
        padding: 17px 0 23px 5px;
        text-align: left;
    }

    header .logo {
        width: 180px;
    }

    .search-callback {
        width: 100%;
        margin-left: 0;
    }

    .header-nav li {
        width: 33.33333333%;
        text-align: center;
    }

    .header-nav li::before {
        display: none;
    }

    .header-nav li:nth-child(3n+3)::after {
        display: none;
    }

    .header-left {
        width: 90%;
        box-sizing: border-box;
        margin: 0 auto 0 auto;
        padding: 10px 0;
        display: block;
    }

    .header-right {
        width: 176px;
        position: absolute;
        right: 0;
        top: 0;
    }

    .search-input {
        height: 30px;
        font-size: 21px;
    }

    .search-label {
        line-height: 30px;
        font-size: 22px;
    }

    input[type=submit].search-btn {
        background-size: 25px 25px;
        background: #369 url(img/search.png) no-repeat 22px 5px;
        height: 29px;
        width: 65px;
        margin: 0;
    }

    .callback-form-hidden {
        bottom: 0;
        top: initial;
        height: 45px;
        width: 45px;
        border-radius: 25px 0 0 0;
        background: #693 url(img/hidden-callback-mob.png) no-repeat center;
    }

    .content-wrap {
        padding: 7px
    }

    .content-right {
        width: 100%;
        /* padding-left: 200px; */
        box-sizing: border-box;
        display: table-cell;
    }

    .content-left { /* position:absolute; *//* left:0; *//* top:0; */
        display: table-cell;
    }
	.service-cat table tr td:first-child {
   	 display: none;
	}
    .fav {
        width: 49.5%;
        margin: 6px 1% 0 0;
        padding: 5px;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        min-height: 126px;
    }

    .fav:nth-child(2n+2) {
        margin-right: 0;
    }

    .content {
        width: 100%;
    }

    .main-article {
    }

    aside {
        display: none;
    }

    .descr-block h1 {
        padding-bottom: 5px;
        line-height: 18px;
    }

    .descr-block {
        padding: 20px 0 46px 15px;
    }

    .descr {
        padding-bottom: 42px;
    }
	
	.footer-logo-block {
	    width: 100%;
	    box-sizing: border-box;
	    -moz-box-sizing: border-box;
	    text-align: center;
	    padding: 10px 0px;
	}

    .footer-logo-block img {
        width: 180px;
    }

    .wrapper {
        margin: 0 auto -154px auto;
        padding-bottom: 154px;
    }

	.footer-nav {
	    width: 100%;
	    text-align: center;
	    padding: 0px 0 15px 0px;
	    box-sizing: border-box;
	    -moz-box-sizing: border-box;
	}

    .map-img {
        width: 100%;
        height: auto;
    }

    .reference-form {
        width: 70%;
        display: block;
        margin: 0 auto;
        padding: 0;
    }

    .reference-form textarea {
        max-width: 100%;
        width: 100%;
    }

    .reference-photos {
        display: block;
        margin: 0 auto 14px auto;
        width: 100%;
        text-align: center;
    }

    .callback-form-block {
        width: 100%;
    }

    .callback-form-name {
        margin: 30px auto 0 auto;
    }

    .consultant {
        text-align: center;
        padding: 3px 0 0 0;
    }

    .callback-form-wrap {
        margin: 15px auto 0 auto;
        width: 384px;
        position: relative;
        top: 0;
        padding: 0;
    }

    .input-name {
        margin-bottom: 3px;
    }

    .input-tel {
        margin: 0 0 3px 0;
    }

    .input-tel-number {
        width: 315px;
        margin-bottom: 5px;
    }

    .wpcf7-recaptcha {
        text-align: center;
        margin: 0 auto;
        width: 302px;
    }

    .callback-submit {
        margin: 5px auto 0 auto;
    }

    .imagebox .imagebox-cur-img {
        max-width: 95%;
        max-height: 99%;
    }
	.breadcrumb-container li {
    	display: inline !important;
	}
	
	.content-right .breadcrumb-container li a {
	    display: inline !important;
	    padding: 5px 0 !important;
	    font-size: 14px !important;
	}
	
	.breadcrumb-container li .separator {
	    font-size: 14px !important;
	}	
	.prev-slide {
        left: 140px;
		height: 40px;
    }

    .next-slide {
        right: 140px;
		height: 40px;
    }
}

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

    .content-block-text {
        padding: 7px;
    }

    .station {
        width: 100%;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
    }

    .contacts-info {
        margin-left: 10px;
    }

    .contacts-page .wpcf7 {
        width: 100%;
    }

    .contacts-page .wpcf7 textarea {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }

    .contacts-page input[type=submit] {
        margin: 0 auto;
        display: block;
    }

    .content-left {
        display: none;
    }

    #header-nav {
        text-align: center;
    }

    .header-nav .current-menu-item::before {
        display: none;
    }
	footer .email, footer .tel, .footer-callback {
    	font-size: 16px;
	}

}

@media all and (max-width: 560px) {
    .footer-logo-block {
        padding: 10px 0;
        text-align: center;
    }

    .footer-nav {
        padding: 0;
    }

    .footer-contacts {
        position: relative;
        padding: 10px 22px 10px 22px;
        margin: 0 auto;
        display: block;
        width: 100%;
    }
	.search-callback .header-right .email {
	    margin: 0 auto !important;
	    width: 190px !important;
	}	
    .email {
        text-align: left;
        width: 190px;
        background: url(img/email.png) no-repeat 0;
        padding: 3px 0 3px 22px;
        margin: 0 auto;
    }

    .tel {
		display: none;
        text-align: left;
        width: 160px;
        background: url(img/phone-dark.png) no-repeat 0;
        padding: 3px 0 3px 22px;
        margin: 0 auto;
    }

    .footer-callback {
        margin: 5px auto 0 auto;
    }

    .logo-block {
        text-align: center;
    }

    .header-left {
        display: none;
    }

    .header-right {
        position: relative;
        width: 100%;
        padding: 10px 0 0 0;
    }

    .header-phone {
        margin: 0 auto;
        font-size: 16px;
        width: 150px;
        line-height: 23px;
    }

    .callback {
        margin: 0 auto 10px auto;
    }

    .header-nav li {
        width: 100%;
    }

    .header-nav li a {
        padding: 10px 0 10px 0 !important;
        text-align: center;
        background: #bdc3c7;
        border-bottom: 2px #e8e8e8 solid;
        font-size: 17px;
        font-weight: 700;
    }

    .header-nav li:first-child a {
        background: #bdc3c7 url(img/main-nav-home.png) no-repeat 13px center;
    }

    .header-nav .current-menu-item a {
        background: #4e6a91;
    }

    .header-nav {
        border-bottom: 2px #2c3e50 solid;
        border-top: 2px #2c3e50 solid;
    }

    .service-cat {
        margin: 5px 0px;
    }

    .reference-photos {
    }

    .image {

    }

    .image-icons {
    }

    .reference-form {
        width: 100%;
    }

    .prev-slide {
        left: 25px;
    }

    .next-slide {
        right: 25px;
    }

    .callback-form-wrap {
        width: 95%;
    }

    .callback-number-wrap {
        display: table;
        width: 100%;
    }

    .callback-country-code {
        display: table-cell;
    }

    .input-tel-number {
        display: table-cell;
        width: 100%;
    }

    .hide-callback {
        display: none;
    }
}

@media all and (max-width: 400px) {
    .image {
        width: 198px;
    }
}

/* Leaving Popup */
.leaving-overlay {
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    top: 0;
    display: none;
}

.leaving-popup {
    display: none;
    max-width: 500px;
    width: 100%;
    position: fixed;
    top: 200px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 99999;
    font-family: 'Open Sans', sans-serif;
}

.leaving-popup .wpcf7 br {
    display: initial;
}

.leaving-popup .leaving-popup-close-btn {
    position: absolute;
    width: 20px;
    height: 15px;
    right: 3px;
    top: 8px;
    cursor: pointer;
    color: #fefbf4;
    font-family: monospace;
    line-height: 22px;
    font-weight: 700;
    font-size: 35px;
    background: url(img/leaving-popup-close-icon.png) no-repeat;
    background-position: 0px -18px;
    z-index: 99999;
}

.leaving-popup div.wpcf7-validation-errors {
    display: none !important;
}

.leaving-popup .wpcf7-mail-sent-ok {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    color: #4e6a91;
    margin: 0 !important;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    border-radius: 0;
    border: none;
    text-align: center;
    padding: 200px 20px 6px 190px !important;
    font-size: 30px;
    background: #ecf0f1 url(img/msg-ok-bg.png) no-repeat left 10px top 160px;
}

.leaving-popup .wpcf7-mail-sent-ok:before {
    content: 'Спасибо!';
    background: url(img/leaving-popup-title-bg.jpg);
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 44px;
    color: #fdfcfc;
    padding: 26px 0;
    text-align: center;
}

.leaving-popup .wpcf7-form.invalid input[type=text] {
    border: none !important;
    box-shadow: 0 0 0 2px red !important;
}

.leaving-popup .wpcf7-not-valid-tip {
    display: none;
}

.leaving-popup .leaving-popup-close-btn:hover {
    background-position: 0px -2px;
}

.leaving-popup .leaving-popup-title {
    font-size: 25px;
    color: #fdfcfc;
    text-align: center;
    border-top: 1px #ecf0f1 solid;
    background: url(img/leaving-popup-title-bg.jpg);
    padding: 10px 0 26px 0;
    line-height: normal;
    font-weight: 700;
}

.leaving-popup .leaving-popup-body {
    background: #ecf0f1 url(img/leaving-popup-logo.png) no-repeat left 11px top 65px;
}

.leaving-popup .leaving-popup-content {
    font-size: 17px;
    color: #2c3e50;
    display: inline-block;
    vertical-align: top;
    padding: 25px 20px 30px 130px;
    text-align: right;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    line-height: normal;
}

.leaving-popup input[type=text] {
    font-size: 30px;
    padding: 2px 5px;
    border: 0;
    color: #4e6a91;
    width: 247px;
    font-family: sans-serif;
    box-shadow: -1px -1px 2px 0px rgba(0, 0, 0, 0.5), 0 0 0 1px #bbbebf;
    border-radius: 3px;
    margin: 29px 0 31px 0;
    height: initial;
}

.leaving-popup input[type=submit] {
    background: #693 url(img/leaving-popup-btn-icon.png) no-repeat left 16px center;
    cursor: pointer;
    border-radius: 5px;
    padding: 11px 33px 11px 72px;
    transition: 0.3s;
    font-weight: 500;
    margin: 0;
    height: initial;
    font-size: 26px;
    color: #fefbf4;
    border: 0;
}

.leaving-popup input[type=submit]:hover {
    box-shadow: 1px 2px 4px 0px rgba(0, 0, 0, 0.7);
}

.leaving-popup .leaving-popup-country-code {
    left: 48px;
    top: 23px;
    position: relative;
    font-size: 42px;
    float: left;
    font-weight: 700;
    color: #4e6a91;
}

.leaving-popup .input-body { /* width:238px; *//* float: right; */
}

.leaving-popup .formValidation {
    display: none;
}

.leaving-popup .block-tel {
    margin-top: 15px;
}
* {
    box-sizing: border-box !important;
}
.year {
    font-size: 12px;
}
.leaving-popup-visible {
    display: block;
}

	.breadcrumb-container.theme1 a {
    background: none !important;
    color: #2c3e50 !important;
}
.breadcrumb-container.theme1 li {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block;
}						
							
.breadcrumb-container.theme1 a {
	display: inline-block;
	margin: 0 5px;
	padding: 5px 10px;
	text-decoration: none;
}

.breadcrumb-container {
						  font-size: 16px  !important;
						}
						
						.breadcrumb-container li a{
						  color: #000000  !important;
						  font-size: 14px  !important;
						  line-height: 14px  !important;
						}
						
						.breadcrumb-container li .separator {
						  font-size: 16px  !important;
						}
.agree {
   display:none
}
.breadcrumb a span {
    color: #2c3e50;
    font-size: 15px;
}

.breadcrumb > span {
    margin: 0 3px;
}

.breadcrumb {
    margin: 5px 0 5px 12px;
}