/*   
	Theme Name: spravka
	Version: 1.0
	Tags: clean, development, html5
*/
html {
}

body {
    font: 14px Arial, sans-serif;
    min-width: 950px;
}

h1 {
    color: #593e3b;
    text-align: left;
    font-size: 22px;
    font-weight: normal;
    line-height: 24px;
    margin: 0px 0px 25px;
}

h2 {
    color: #593e3b;
    font-size: 22px;
    margin: 10px 0;
    font-weight: 700;
    line-height: 26px;
}

h3 {
    font-size: 20px;
    color: #000;
    line-height: 24px;
}

h4 {
    font-weight: 700;
    font-size: 16px;
}

p {
    padding: 6px 0;
}

a {
    text-decoration: none;
    color: #068BFF;
}

strong {
    font-weight: 700;
}

ul {
}

ul li {
    background: url(img/li-style.png) no-repeat 0 3px;
    padding: 0px 0px 0 20px;
    margin: 10px 0;
}

ol li {
    padding: 2px 0;
}

ol ul li {
    padding-left: 16px;
}

ol {
    list-style: decimal;
    padding-left: 15px;
}

em {
    font-style: italic;
}

ul li a {
}

.wrapper {
    width: 930px;
    margin: 0 auto;
    padding: 0 10px;
}

/****** HEADER ******/
header .wrapper {
    background: url(img/header-bg.png) no-repeat 175px 0px;
}

.header-top {
    background: linear-gradient(to bottom, #ad6946, #821b12);
    font-size: 0;
    border-bottom: 4px #6d1e28 solid;
}

.header-top-container {
    max-width: 960px;
    margin: 0 auto;
}

.header-nav {
    display: inline-block;
}

.header-nav ul {
    text-align: left;
    margin: 0 auto;
}

.header-nav li {
    display: inline-block;
    padding: 3px 5px 3px 3px;
    background: url(img/header-nav-separator.png) no-repeat 100% 0;
    margin: 0;
}

.header-nav li:last-child {
    background: none;
}

.header-nav li a {
    color: white;
    font-size: 14px;
    display: block;
    padding: 8px 15px;
    border-radius: 8px;
}

.header-nav li a:hover {
    background: #FFFFF6;
    color: #9e5533;
}

.header-left {
    display: inline-block;
    width: 300px;
    padding: 20px 0 65px 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.header-left-top {
}

.header-left-middle {
    color: #773711;
    font-size: 20px;
    line-height: 25px;
    margin-top: 70px;
    margin-bottom: 25px;
}

.header-left-bottom {
}

.online-request {
    width: 145px;
    text-align: center;
    margin-left: auto;
    padding: 40px 0 40px 0;
    background: url(img/online.png) no-repeat 100% 0;
}

.online-request a {
    font-size: 27px;
    color: white;
    text-shadow: 1px 1px 0px #A0A0A0;
}

.online-request a:hover {
    text-decoration: underline
}

.searchform {
    width: 220px;
    float: right;
    position: relative;
}

.searchform-input {
    border-radius: 15px !important;
    border: none;
    box-shadow: inset 0 0 4px 0px #7B7B7B;
    padding: 5px;
    width: 100%;
    background: white url(img/search-btn.png) no-repeat 96%;
}

.searchform input[type=text]:focus {
    outline: none;
}

.searchform-btn {
    position: absolute;
    right: 3px;
    top: 0;
    bottom: 0;
    margin: auto !important;
    width: 25px;
    padding: 0 !important;
    height: 26px;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0;
    font-size: 0 !important;
}

.header-right {
    display: inline-block;
    width: 300px;
    float: right;
    clear: both;
}

.header-right-top {
    padding: 15px 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    text-align: right;
    line-height: 22px;
}

.header-right-top a:hover {
    text-decoration: underline;
}

.header-right-middle {
    text-align: right;
    margin: 50px 0;
}

.header-right-bottom {
}

.header-right-middle span {
    display: block;
    color: #5b4a43;
    font-size: 22px;
    line-height: 25px;
}

.header-right-bottom {
    text-align: right;
}

/****** ASIDE ******/
aside {

    display: inline-block;
    vertical-align: top;
    padding-bottom: 10px;
    order:2;
}

.aside-nav {
    color: white;
}

.aside-nav-cat {
    max-height: 110px;
    overflow: hidden;
    transition: all 0.5s;
}

.cat-opened {
    max-height: 1200px;
    transition: all 1.5s;
}

.cat-last-opened {
    border-radius: 0 !important;
    transition: all 0.1s;
}

.aside-nav-cat:first-child .aside-nav-cat-title {
    background: url(img/aside-cat-separator.png) no-repeat 0 100%, url(img/aside-cat-first-bg.png) no-repeat, #D27521;
    border-radius: 12px 12px 0 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.aside-nav-cat:last-child .aside-nav-cat-title {
    border-radius: 0 0 12px 12px;
    background: #9a462e;
}

.aside-nav-cat-title {
    background: #9a462e url(img/aside-cat-separator.png) no-repeat 0 100%;
    padding: 3px;
    cursor: pointer;
    transition: all 0.1s;
    text-transform: uppercase;
}

.aside-nav-cat-title:hover .aside-nav-cat-title-hover {
    color: #9e5533;
    background: #FFF;
}

.aside-nav-cat-title-hover {
    padding: 10px;
    border-radius: 10px;
}

.aside-nav-cat-item {
    padding: 10px;
    background: #d6bdba;
    font-size: 13px;
    display: none;
}

.cat-item-opened {
    display: block;
}

a.br {
    display: table;
}

.aside-nav-cat-item a {
    color: #005DA0;
    text-decoration: underline;
    padding: 0 15px;
    background: url(img/aside-cat-li.png) no-repeat 6px 5px;
    display: block;
}

.aside-nav-cat-item a:hover {
    color: white;
}

.aside-widget {
    margin-top: 30px;
}

.aside-widget-title {
    background: url(img/aside-cat-first-bg.png) no-repeat;
    font-size: 24px;
    color: #FFF;
    font-weight: normal;
    padding: 10px 15px;
    border-bottom: 1px #DEDEDE solid;
}

.aside-widget-content {
    padding: 20px;
    -webkit-border-radius: 15px;
    border-radius: 0 0 15px 15px;
    font-size: 14px;
    color: #504E54;
}

.aside-widget-content a {
}

/****** CONTENT ******/
.content {
    text-align: justify;
    display: inline-block;
    padding: 0 15px 20px 15px;
    color: #666;
    line-height: 20px;
    min-height: 200px;
}

.content a:hover {
    text-decoration: underline;
}

.content-img-full-size {
    width: 100%;
    max-width: 100%;
}

.content img {
    float: left;
    padding: 5px 5px 5px 0;
    width: 100%;
    height: auto;
}

.content br {
    display: none;
}

.breadcrumbs {
    font-size: 12px;
    padding: 10px 0;
}

.separator {
}

.breadcrumbs a {
}
header + .wrapper {
    display: flex;
    flex-direction: column;
}
.home table caption {
    padding: 10px;
    background: #872418;
    color: white;
    font-size: 22px;
}

.home table {
    table-layout: fixed;
}
.home table td:nth-child(2){width:100px;text-align:center;}
.home table thead td{font-size:16px;font-weight:700;}
aside ul{
    display:flex;
    flex-wrap:wrap;
}
aside li{
    background: #7d7d7d;
    width: 23%;
    display:flex;
    padding:0;
    box-sizing: border-box;
    margin: 10px 1%;
    box-shadow: -1px 3px 3px 1px #464646;
    position: relative;
}
aside a{
    padding:10px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    color: white;
}
aside li:hover{
    box-shadow: -1px 1px 3px 1px #464646;
    top: 2px;
    background: #862418;
}
/****** FOOTER ******/
footer {
    background: url(img/footer-bg.jpg) repeat-x;
    min-height: 131px;
}

.footer-nav {
    width: 930px;
    margin: 0 auto;
    font-size: 0;
    text-align: right;
    padding: 5px 0;
}

.footer-nav ul {
}

.footer-nav ul li {
    background: none;
    display: inline-block;
}

.footer-nav ul li a {
    font-size: 14px;
    color: #b5aab0;
    font-size: 12px;
}

.footer-nav ul li a:hover {
    color: #FFF;
    text-decoration: underline;
}

.copyright {
    width: 930px;
    margin: 0 auto;
    color: #888284;
    font-size: 12px;
    padding: 30px 0;
}

.vcard {
    display: none;
}

/******* PRICE TEMPLATE *******/
table {
    width: 100%;
}

table tr {
}

table td {
    padding: 5px;
    vertical-align: middle;
    border: 1px #A2A2A2 solid;
    text-align: left
}

.table-heading td:nth-child(2) {
    width: 500px;
}

.table-heading td:first-child {
    width: 280px;
}

.table-cat-title {
    text-align: left;
    padding: 10px 0;
    border: 1px #A2A2A2 solid;
    border-bottom: 0;
    padding: 5px;
    font-weight: 700;
    background: #FDFDFD;
}

.table-heading {
}

/******* SINGLE TEMPLATE *******/
.msg {
    background: #e7f4a4;
    border-radius: 7px;
    padding: 15px;
    margin: 10px 0;
}

.reference-price {
    width: 100%;
    color: #000;
    border-radius: 10px;
    overflow: hidden;
}

.reference-price div {
    font-size: 16px;
    font-weight: normal;
    background: linear-gradient(to bottom, #fffee5, #fff698);
    border-radius: 50px;
    box-shadow: 0px 1px 1px 0 #868686;
    padding: 3px 0;
    max-width: 90px;
    margin-left: auto;
    text-align: center;
}

.reference-price tr {
}

.reference-price tr:first-child {
    background: #e3ebfc;
    border-bottom: 2px #989ea9 solid;
    border-radius: 10px;
}

.reference-price tr:first-child td {
    font-size: 16px;
    font-weight: normal;
    border-bottom: 1px #A2A2A2 solid;
}

.reference-price td:nth-child(2) {
    text-align: right;
}

.reference-price tr:last-child {
}

.reference-price tr:last-child td {
    border: none;
}

.reference-price td {
    border: none;
    padding: 8px;
    color: #000;
    font-size: 11px;
    font-weight: 600;
    border-bottom: 2px white solid;
}

/******* SERVICES *******/
.services-cat-link {
    text-transform: uppercase;
}

/******* 404 PAGE ******/
.error-code {
    text-align: center;
    font-size: 130px;
    line-height: normal;
    font-weight: 900;
    color: #D27521;
}

.error-h1 {
    text-align: center;
}

.error-text {
    font-size: 16px;
}

.error-link {
    font-weight: 700;
    font-size: 18px;
}

/******* CONTACT FORMS 7 *******/
.overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
}

.popup-request {
    background: #D08D82;
    position: fixed;
    max-width: 400px;
    height: auto;
    padding: 20px;
    top: 20%;
    right: 0;
    left: 0;
    margin: auto;
    border-radius: 10px;
    box-shadow: 0 0 5px 0px #FFF;
    display: none;
}

input[type=text], input[type=email],
input[type=number], input[type=search],
input[type=tel], input[type=password], input[type=url], select {
    padding: 7px;
    margin: 6px 0;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    border-radius: 4px;
    font-size: 12px;
}

input[type=button], input[type=reset], input[type=submit] {
    background: #FDFDFD;
    padding: 8px 20px;
    border-radius: 4px;
    box-shadow: 0 0 4px 1px #FFF;
    font-size: 14px;
    font-weight: 700;
    color: #828282;
    transition: all 0.3s;
    margin: 0 auto;
    display: block;
}

input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover {
    box-shadow: 0 0 4px 1px #AB6011;
}

textarea {
    padding: 7px;
    margin: 8px 0;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    border-radius: 4px;
    font: 12px Arial, sans-serif;
    max-width: 400px;
    max-height: 100px;
    min-width: 400px;
    min-height: 100px;
}

.wpcf7-response-output {
    padding: 5px 10px !important;
    box-shadow: 0 0 6px 1px #FFF;
    border: none !important;
    background: #FFF;
    text-align: center;
    color: #828282;
    border-radius: 4px;
    margin: 10px 0 !important;
}

.ajax-loader {
    display: none !important;
}

.input-error {
    box-shadow: 0 0 2px 1px red;
}

/*** Media ***/
@media all and (max-width: 970px) {
    body {
        min-width: auto;
    }

    header .wrapper {
        background-size: 379px;
        background: url(img/header-bg.png) no-repeat 112px bottom;
    }

    .wrapper {
        width: 100%;
        box-sizing: border-box;
    }

    aside {
        width: 90%;
        margin: 0 auto;
        display: block;
    }

    .content {
        width: 100%;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        padding: 0;
    }

    .aside-nav-cat:first-child .aside-nav-cat-title {
        background: #266093 url(img/aside-cat-separator.png) no-repeat 0 100%;
        background-size: contain;
    }

    .aside-nav-cat-title {
        background-size: contain;
    }

    .header-nav ul {
        width: 100%;
    }

    .footer-nav {
        width: 100%;
        text-align: center;
    }

    .copyright {
        width: 100%;
        text-align: center;
        color: white;
    }
	
	.footer_items {
		width: 100% !important;
		flex-wrap: wrap-reverse;
		justify-content: space-around !important;
		padding-bottom: 15px;
		font-size: 14px !important;
	}
	
	.copyright1 {
		margin-left: 0;
	}
	
	.footer_items > div {
		width: initial !important;
		margin: 0 5px !important;
	}
	
	.footer_items .footer_clock {
		margin: 5px !important;
	}
	
	.home table thead th:last-child {
		width: 25% !important;
	}
	
	footer {
		background-size: cover;
	}
}

@media all and (max-width: 800px) {
    .searchform {
        display: none;
    }
}

@media all and (max-width: 670px) {
    .header-nav {
        width: 100%;
    }

    .header-nav li {
        display: block;
        border-bottom: 1px #fff solid;
    }

    .header-nav li:last-child {
        border-bottom: 0;
    }

    .header-left-middle {
        display: none;
    }

    .online-request {
        margin: 0 auto;
    }

    header .wrapper {
        background: none;
    }

    .header-left {
        display: block;
        width: 100%;
        text-align: center;
        padding-bottom: 0;
    }

    .searchform {
        display: none;
    }

    .header-right-top {
        text-align: center;
    }

    .header-right-middle {
        text-align: center;
        margin: 0 0 10px 0;
    }

    .header-right-top a {
        font-size: 14px;
    }

    .header-right {
        display: block;
        float: none;
        width: 100%;
    }

    .header-right-bottom {
        text-align: center;
    }

    aside {
        margin-top: 20px;
        width: 100%
    }
	
	aside li {
		width: 31%;
	}
}

@media all and (max-width: 520px) {
    .footer-nav ul li {
        display: block;
        padding: 0;
    }

    .footer-nav ul li a {
        color: #fff;
    }

    footer {
        background-size: cover;
    }

    .footer-nav {
        border-bottom: 2px #a7a7a7 solid;
    }

    .content img {
        width: 100% !important;
        display: block;
    }
}

@media all and (max-width: 480px) {
    .popup-request {
        margin: 0 5px;
    }

    textarea {
        max-width: 100%;
        width: 100%;
        min-width: 100%;
    }
}

/** New Styles **/
.close-popup {
    position: absolute;
    border-radius: 50px;
    height: 23px;
    width: 23px;
    right: 3px;
    top: 3px;
    cursor: pointer;
    font-family: monospace;
    line-height: 18px;
    font-size: 15px;
    background: url(/wp-content/uploads/2016/08/icon-close-popup.png);
}

.close-popup:hover {
    box-shadow: 0 0 2px 2px #fff;
}

.header-nav li.current-menu-item a {
    text-decoration: underline;
    font-weight: 700;
    box-shadow: 0 0 0 1px;
}

.footer-nav li.current-menu-item a {
    color: #fff;
    text-decoration: underline;
}

		.footer_items{
		    width: 930px;
margin-top: 15px;

     font-size: 15px;
display: flex;
justify-content: space-between;
align-items: center;
color: #fff;
		}
		.copyright1{
		    margin-left: 20px;
width: 20%;
color: #888284;
    font-size: 12px;
		}
		.footer_clock{
width: 40%;
text-align: center;
		}
		.footer_contact{
width: 24%;
		}

		.footer_up{
		    display:none;
position: fixed;
bottom: 20px;
right: 20px;
		}
		.footer_up a{
			    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    width: 40px;
			height: 40px;
			border-radius: 50%;
			background: #872418;
		}
		.footer_up a:hover{
			opacity: 1;
		}
		.footer_up_wr{
		        display: flex;
    align-items: center;
    justify-content: center;
		}
		.footer_up_wr a img{
			max-width: 36px;
		}
		
		.home table thead th{
    font-size: 16px;
    font-weight: 700;
}
table th {
    padding: 5px;
    vertical-align: middle;
    border: 1px #A2A2A2 solid;
    text-align: left;
}