*{
    font-family: 'Istok Web', sans-serif;
	outline: none;
}
.clear,
.clear2{
	clear: both;
}
#scroller{
    position: fixed;
    bottom: 60px;
    background-color: #864921;
    border: 1px solid rgba(202, 202, 202, 0.94);
    z-index: 99;
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    opacity: 0.7;
    transition: all 0.2s;
}
#scroller:hover{
    opacity: 1;
}
.navbar.navbar-inverse{
    margin: 0;
    border-radius: 0;
    border: none;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(134, 73, 33, 0.8);
    background-color: #864921;
}
.navbar-inverse .navbar-toggle{
    background-color: transparent!important;
    border-color: #333;
}
.navbar-inverse .navbar-toggle:hover{
     border-color: #fff;
}
.qtranslate-1 ul{
    position: absolute;
    z-index: 9;
    right: 20px;
}
.qtranslate-2{
    float: left;
}
#family_disputes .dropdown-menu{
	position: relative;
	float: none;
	padding: 0;
    box-shadow: none;
    border: none;
}
.family_photo{
	max-width: 100%;
	height: auto;
}
@media(min-width: 768px){
    .navbar.navbar-inverse{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .qtranslate-1{
        display: none;
    }
	#scroller{
		left: 60px;
	}
	.nav.navbar-nav{
		text-align: center;
	}
	.navbar-nav>li{
		float: none;
		display: inline-block;
	}
	.qtranslate-2 {
		float: none;
		display: inline-block;
	}
	#family_disputes .dropdown-menu a{
		padding-left: 15px!important;
	}
}
@media(max-width: 767px){
    .qtranslate-2{
        display: none;
    }
	#scroller{
		right: 30px;
		bottom: 30px;
	}
	#family_disputes .dropdown-menu{
		display: block!important;
		text-align: center;
	}
	.dropdown-menu>li>a{
		white-space: normal;
	}
}
.nav.navbar-nav{
    margin: 15px 0;
}
.nav.navbar-nav a{
    font-family: 'Roboto', sans-serif;
    line-height: 50px;
    padding: 0 10px!important;
    color: #fff!important;
    text-transform: uppercase;
}
.dropdown-menu a{
    line-height: 30px!important;
}
#dropdown1 a,
#dropdown2 a{
    color: #000!important;
    padding: 0!important;
    margin: 0 10px;
    border-bottom: 1px solid #864921;
}
#dropdown1 a:hover,
#dropdown2 a:hover{
    border-bottom-color: #9d9d9d;
}
.nav.navbar-nav a:hover,
.navbar-inverse .navbar-nav>.open>a,
.navbar-inverse .navbar-nav>.open>a:focus,
.navbar-inverse .navbar-nav>.open>a:hover,
#dropdown1 a:hover,
#dropdown2 a:hover{
    background-color: transparent!important;
    color: #9d9d9d!important;
}
.logo-div{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90px;
    margin: 10px 0;
}
.logo img{
    height: 90px;
}
.logo{
    padding: 0;
    height: 90px;
}
.wrapper{
    overflow: hidden;
	position: relative;
}
.wrapper .container{
	position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-image{
    background-image: url(../img/bg.jpg);
    background-repeat: no-repeat;
     width: 110%;
    background-size: cover;
    height: 80vh;
}
.service_content_section,
.post_content_section{
    padding: 30px 0;
}
.post_content_section .container{
    position: relative;
}
.post_content_section .date_of_news{
    position: absolute;
    top: -10px;
    left: 25px;
    background: rgb(134, 73, 33);
    padding: 5px 15px;
    color: #fff;
    border-radius: 2px;
}
.service_content_section .row,
.post_content_section .row{
    box-shadow: 0px 0px 10px rgba(128, 128, 128, 0.68);
    padding: 35px 25px;
    background-color: #fff;
}
.contact-info,
#map{
    height: 400px;
}
.contact-info{
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact-block span.contact-list{
	text-align: justify!important;
    display: inline-block;
}
.contact-list .pt2{
	letter-spacing: 0.6px;
}
.contact-list .pt4{
	letter-spacing: 0.3px;
}
.contact-list .pt5{
	letter-spacing: 0.4px;
}
.service_content table{
	margin: 0 auto;
	width: 666px;
	text-align: center;
}
td, th{
	padding: 10px;
}
.contact-info span.contact-list-on-contacts-page{
	text-align: justify!important;
    /*width: 104px;*/
    width: 100%;
    display: inline-block;
}
.contact-list-on-contacts-page .pt2 {
    letter-spacing: 0.5px;
}
.contact-list-on-contacts-page .pt4 {
    letter-spacing: 0.1px;
}
.contact-list-on-contacts-page .pt5 {
    letter-spacing: 0.2px;
}
.divider{
    background: rgba(128, 128, 128, 0.68);
    height: 1px;
    margin: 0 auto 20px;
    width: 60%;
}
.page-title{
    text-align: center;
}
.copyRight-section{
    background-color: #864921;
    height: 60px;
}
.copyRight{
    height: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.to-services{
    margin-top: 20px;
    display: inline-block;
    padding: 14px;
    background-color: #00a5f9;
    border-radius: 5px;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.3);
    color: #fff!important;
    text-decoration: none!important;
    transition: 0.2s;
	cursor: pointer;
}
.to-services:hover{
    background-color: #038dd4;
}
.main-image-content{
    text-align: center;
    color: #fff;
}
.main-image-content h1{
    text-shadow: 0 0 15px #864921;
	font-size: 42px;
}
.qtranxs_widget ul{
    padding: 0;
    width: 18px;
}
#qtranslate-2 a{
    padding: 0!important;
    line-height: 0;
}
.services,
.about,
.team,
.comments,
.news,
footer,
.contacts-page,
.newsPage{
    text-align: center;
    padding: 50px 0;
}
footer{
    background-color: rgb(245, 244, 244);
    box-shadow: 0 0px 5px #864921;
}
.contact-block{
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #864921;
}
.contact-block p{
    margin-bottom: 0;
}
.about p{
    text-align: justify;
}
.team p{
    margin-bottom: 40px;
}
.comments{
    background-color: rgba(239, 236, 236, 0.79);
}
.comment-block{
    margin: 0px 30px;
    text-align: center;
    font-size: 16px;
    background: #fff;
    padding: 15px 30px;
    box-shadow: 0px 5px 10px #dcd4d4;
    transition: all 0.2s;
}
.comment-block h4{
    color: #864921;
}
.services h2,
.about h2,
.team h2,
.comments h2,
.news h2{
    margin-bottom: 30px;
}
.lastNews{
    text-align: left;
    margin-bottom: 20px;
}
.dateOfNews{
    padding: 5px;
    border-radius: 2px;
    background-color: #864921;
    color: #fff;
    position: relative;
    top: -15px;
}
.newNews{
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
    border: 1px solid rgba(0,0,0,.25);
    border-radius: 2px;
    padding: 15px;
}
.newNews a{
    color: #000;
    text-decoration: none;
}
.newNews a:hover{
    color: #864921;
}
.main-h2-underline{
    position: relative;
}
.main-h2-underline::after{
    content: "";
    display: block;
    width: 120px;
    height: 2px;
    background: #864921;
    margin: auto;
    margin-top: 15px;
}
.team img{
    max-height: 250px;
}
.service-block a{
    text-decoration: none;
    color: #000;
}
.service-block{
    height: 265px;
    margin: 0 20px 40px;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #eaeaea;
    box-shadow: 0 0 10px #eaeaea;
    padding: 30px 5px;
    transition: all 0.2s;

}
.service-block:hover{
    border-bottom: 4px solid rgba(134, 73, 33, 0.87);
}
.service-block:hover.service-block a{
    color: #333;
}
.services h4{
    margin: 40px auto;
    color: #635e5e;
}
.services{
    background-color: #f7f8fa;
}
.p_for_contact_button{
	text-align: center!important;
}
.modal-content{
	text-align: center;
}
.modal-body{
	display: inline-block;
}
.modal-header .close{
	font-size: 2.5em;
}
.modal-content input,
.modal-content textarea{
	padding: 5px;
}
.modal-content input[name=your-name],
.modal-content input[name=tel],
.modal-content textarea[name=your-message]{
	max-width: 300px;
}
.modal-content textarea{
	resize: none;
}
.modal-field{
	margin-bottom: 10px;
}
.modal-content input[type=submit]{
    margin-top: 20px;
    display: inline-block;
    padding: 14px;
    background-color: #00a5f9;
    border-radius: 5px;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.3);
    color: #fff!important;
    text-decoration: none!important;
    transition: 0.2s;
}
.modal-content input[type=submit]:hover{
    background-color: #038dd4;
}
.wpcf7-not-valid-tip{
	color: red;
}
.wpcf7-validation-errors{
	color: orange;
	border: none!important;
}
.wpcf7-mail-sent-ok{
	color: green;
	border: none!important;
}
.screen-reader-response,
.ajax-loader{
	display: none!important;
}
.fancybox img{
    width: 100%;
	height: auto;
}
.certificates{
	margin-top: 5px;
	margin-bottom: 5px;
}
.contact-list-on-contacts-page svg,
.contact-list svg{ 
	height: 23px;
	vertical-align: middle;
}
.margin-left{
	margin-left: 10px;
}
.margin-right{
	margin-right: 10px;
}
img.margin-right{
	height: 23px;
	width: 23px;
}
@media(max-width: 991px){
    .comment-block{
        margin-bottom: 20px;
    }
	.sertificates .clear{
		display: none;
	}
}
@media(max-width: 767px){
    .masonry[data-columns]::before {
	    content: '1 .col-xs-12';
    }
    #dropdown1,
    #dropdown2{
        background-color: #fff;
        text-align: center;
    }
    .navbar.navbar-inverse{
        text-align: center;
    }
	.tables{
		overflow-x: scroll;
	}
	.modal-content input[name=your-name],
	.modal-content input[name=tel],
	.modal-content textarea[name=your-message]{
		max-width: 250px;
	}
}
@media(min-width: 768px) and (max-width: 991px){
    .masonry[data-columns]::before {
	    content: '2 .col-sm-6';
    }
}
@media(min-width: 992px) and (max-width: 1199px){
    .masonry[data-columns]::before {
	    content: '3 .col-md-4';
    }
}
@media(min-width: 992px){
	.clear2{
		display: none;
	}
}
@media(min-width: 1200px){
    .masonry[data-columns]::before {
	    content: '3 .col-lg-4';
    }
}
@media (min-width: 768px) and (max-width: 987px){

}