@font-face {
    font-family: "font";
    src: url("/wp-content/themes/twentyseventeen/fonts/Montserrat-Medium.otf"); 
}

@font-face {
    font-family: "fontr";
    src: url("/wp-content/themes/twentyseventeen/fonts/Montserrat-Regular.ttf"); 
}

#wpadminbar{
	display: none;
}

html{
	overflow-x: hidden;
	margin: 0;
	padding: 0;
	font-family: "fontr";
}

/*body{
	background-color: #f7f7f7;
}
*/
.containers{
	max-width: 1250px;
	width: 98%;
	margin: 0 auto;
}

#topbar {
    padding: 12px 0;
    background: #0c51a3;
}

#topbar p.item, #topbar a {
    font-size: 14px;
    margin-bottom: 0;
    color: #fff;
    font-weight: 500;
}

#topbar p.item i {
    margin-right: 5px;
    font-size: 14px;
    color: #fff;
}

#headerbar {
    padding-top: 20px;
    width: 100%;
    padding-bottom: 25px;
    height: auto;
}

.logo-img {
    width: 98px;
    float: left;
    margin-right: 20px;
    filter: contrast(0.5);
}

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

img {
    vertical-align: middle;
    border-style: none;
    max-width: 100%;
}

#condition, #about{
	margin-top: 40px;
}

.logo-text {
    margin-left: -20px;
}

.logo-text p.title {
    margin: 0;
    font-size: 26px;
    margin-top: 25px;
    line-height: 26px;
    color: #0c51a3;
    font-weight: 700;
}

.logo-text p.subtitle {
    font-size: 13px;
    margin: 0;
    color: #000;
    margin-top: 0;
    font-weight: 500;
}

.phone-wrap {
    margin-top: 35px;
    margin-left: 0;
}

p.phone {
    font-weight: 600;
    color: #000;
    font-size: 23px;
    line-height: 22px;
}

p.phone a {
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

#headerbar .btn-button {
    margin-top: 20px;
}

.btn-button {
    background: #f9db03;
    border: 0;
    box-shadow: none;
    text-align: center;
    padding: 15px 0;
    width: 100%;
    color: #000;
    transition: all .2s;
    font-weight: 500;
    font-size: 16px;
}

li {
    list-style-type: none;
}

ul {
    margin-left: 0; 
    padding-left: 0; 
}

.menu{
    padding: 22px 0px;
    background: #0c51a3;
}

.menu ul{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 0;
    padding: 0 19px;
}

.menu a{
	color: #ffffff;
	font-weight: bolder;
	font-family: "font";
	text-transform: uppercase;
}

#banner h1 {
    margin: 0;
    font-size: 52px;
    margin-top: 130px;
    line-height: 58px;
    color: #fff;
    font-weight: 700;
}

#banner p.subtitle {
    font-size: 20px;
    color: #fff;
    line-height: 30px;
    margin-top: 20px;
    width: 80%;
    font-weight: 500;
}

.form {
    background: #fff;
    width: 100%;
    padding: 30px 30px 5px 30px;
    border-radius: 4px;
    margin: 50px 0;
}

.form p {
    color: #000;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 17px;
    text-align: center;
    line-height: 22px;
    text-transform: uppercase;
}

.form .wpcf7-submit, .btn-primary.disabled, .btn-primary:disabled {
    background: #f9db03;
    border-color: #f9db03;
}

.form .wpcf7-submit{
	margin-bottom: 0;
}

.form .btn-button, .form .wpcf7-submit {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form input, .form textarea {
    padding: 19px 25px;
    border: 1px solid #5f5f5f36;
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
    font-size: 13px;
    letter-spacing: 0;
    width: 100%;
    margin-bottom: 15px;
}

.form textarea{
	height: 95px;
}

.form-control {
    display: block;
    width: 100%;
    padding: .5rem .75rem;
    font-size: 1rem;
    line-height: 1.25;
    color: #464a4c;
    background-color: #fff;
    background-image: none;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
}

.glav{
    font-size: 38px;
    color: #151515;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
}

.usl .row {
    margin-top: 40px;
    font-family: "fontr";
}

.usl img{
	width: 100%;
	height: auto;
	border: 1px solid #e6e6e6;
	border-bottom: none;
}

.usl h4{
	font-weight: 600;
    font-size: 17px;
    margin-bottom: 12px;
    margin-top: 0;
    padding-top: 0;
    font-family: "font";
    min-height: 50px;
}

.usl span{
	font-weight: lighter;
    font-size: 13px;
}

.usl p{
	font-size: 28px;
    line-height: 1;
    font-weight: 600;
    text-align: center;
    margin-top: 26px;
    letter-spacing: .4px;
}

.usl .contentp{
	padding: 20px 18px;
	border: 1px solid #e6e6e6;
    box-sizing: border-box;
    background: white;
}

.usl button {
	border: none;
	outline: none;
    display: block;
    width: 100%;
    cursor: pointer;
    color: #fff;
    text-align: center;
    background: #0054a5;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 500;
    line-height: 28px;
    border-radius: 2px;
    text-transform: uppercase;
    margin-top: 30px;
    transition: background .3s ease;
    font-family: "font";
}

#block2-2 {
    background-repeat: no-repeat!important;
    padding: 40px 0;
    background-position: center!important;
    min-height: 400px;
    margin: 50px 0;
}

.hentry ul {
    list-style: none;
    padding-left: 10px;
    margin-top: 30px;
}

.custom-marker ul {
    list-style: none;
    padding-left: 20px!important;
    margin-top: 30px;
}

.custom-marker ul li {
    position: relative;
    padding: 0 0 15px 30px!important;
    font-size: 14px!important;
    line-height: 22px;
    font-weight: 400!important;
    color: #4e4d4d!important;
}

.custom-marker ul li:before {
    content: "";
    position: absolute;
    background: url(/wp-content/themes/twentyseventeen/img/g941.png)no-repeat;
    left: -10px;
    top: 0;
    width: 21px;
    height: 21px;
}

.karta{
	margin-top: 50px;
	position: relative;
}

.map_bl_wrapper2 .map_contacts {
    display: inline-block;
    vertical-align: top;
    max-width: 310px;
    padding: 40px 36px 50px;
    margin: 120px 0;
    background: rgba(255, 255, 255, 0.9);
    position: relative;
    text-align: center;
}

.map_bl_wrapper2 .map_bl_wrap {
    min-height: 296px;
    display: -moz-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: start;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    align-items: flex-start;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    -webkit-justify-content: flex-end;
    -moz-justify-content: flex-end;
    justify-content: flex-end;
    max-width: 940px;
    margin: 0 auto;
}

.map_bl_wrapper2 .map_contacts .contacts_title {
    margin: 0 0 16px;
}

.map_bl_wrapper2 .map_contacts .contacts_title span {
    padding: 0 0 21px;
    display: inline-block;
    vertical-align: top;
    border-bottom: 2px solid rgba(34, 34, 34, 0.1);
    font-weight: bolder;
    font-size: 28px;
}

.map_bl_wrapper2 .map_contacts .contacts_address {
    color: #212121;
    margin-bottom: 0;
}

.map_bl_wrapper2 .map_contacts .contacts_phones {
    color: #212121;
    padding: 0 0 15px;
    margin-bottom: 0;
}

.map_bl_wrapper2 .map_contacts .contacts_phones a {
    color: inherit;
    text-decoration: none;
}

.map_bl_wrapper2 .map_contacts .contacts_time {
    margin-bottom: 0;
    padding: 0 0 27px;
}

.map_bl_wrapper2 .map_contacts .contacts_social a {
    max-width: 32px;
    max-height: 32px;
    display: inline-block;
    vertical-align: top;
}

.map_bl_wrapper2 .map_contacts .contacts_social a img {
    border: none;
}

.map_bl_wrapper2 .map_contacts .contacts_title span {
    padding: 0 0 21px;
    display: inline-block;
    vertical-align: top;
    border-bottom: 2px solid rgba(34, 34, 34, 0.1);
}

.map_bl_wrapper2{
	    position: absolute;
    top: 5%;
    z-index: 99999999;
    right: 5%;
}

.karta iframe{
	width: 100%;
}

.wrapper {
    display: block;
    padding: 32px 0 86px;
    background-color: #f7f7f7;
}

#about{
	font-size: 18px;
}

.conditions__inner {
    overflow: hidden;
}

.conditions__list {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -36px;
    margin-bottom: -44px;
}

.conditions__item {
    width: 33.333%;
    margin-bottom: 44px;
    padding-right: 36px;
}

.conditions-item__inner {
    padding: 0 26px 22px;
    border: 2px solid white;
    height: 100%;
    background: white;
}

.conditions-item__icon {
    margin: 0 -26px;
    background-color: white;
    display: block;
    height: 64px;
    line-height: 64px;
    padding: 0 26px;
    font-size: 22px;
    color: #0054a5;
    margin-bottom: 22px;
    border-bottom: 2px solid;
}

.fal {
    font-family: Font Awesome\ 5 Pro;
    font-weight: 300;
}

.fa, .fab, .fal, .far, .fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.conditions-item__title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.conditions-item__desc {
    font-size: 14px;
    line-height: 1.6;
}


.contact-form {
    margin-top: 0;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    width: 100%;
    background: #1d1f20c7;
    z-index: 9999;
    display: none;
}

.wpcf7-validates-as-required {
    padding: 10px 0;
    padding-left: 10px;
    font-size: 16px;
        width: 100%;
}

form div {
    margin-bottom: 0;
    margin-top: 10px;
}

.wpcf7-submit {
    border: none;
    background: #1d4b7f;
    color: white;
    padding: 5px 20px;
    text-align: center;
    margin: 0 auto;
    display: block;
    margin-top: 10px;
    cursor: pointer;
}

.formak h4 {
    font-size: 30px;
    color: rgb( 0, 0, 0 );
    text-align: center;
    width: auto;
}

.forma {
    width: 100%;
    background: white;
    margin: 0 auto;
    top: 20vh;
    position: absolute;
    left: 0;
    right: 0;
    padding: 20px;
    max-width: 350px;
}

.formak {
    margin: 0 auto;
    position: relative;
    background: url(https://юриствуфе.рф/wp-content/themes/twentyseventeen/img/brg.png) bottom center / cover;
    background-repeat: no-repeat;
}

.close {
    position: absolute;
    height: 50px;
    width: 50px;
    top: -20px;
    right: -20px;
    z-index: 999;
    cursor: pointer;
}



@media (max-width: 1199px) and (min-width: 992px){
	.logo-text p.subtitle {
   		font-size: 14px;
    	margin-top: 10px;
    	line-height: 20px;
	}
}

@media (max-width: 1199px) and (min-width: 992px){
	.logo-text p.title {
    	font-size: 22px;
	}
}

@media (max-width: 1199px) and (min-width: 992px){
	p.phone {
    	font-size: 19px;
    	line-height: 22px;
	}
}

@media (max-width: 700px) {
    .row {
        margin-right: 0;
        margin-left: 0;
    }
    .usl .col-md-3{
        margin-top: 15px;
    }
    .map_bl_wrapper2{
        top: unset;
        bottom: 0;
    }
    .map_bl_wrapper2 .map_contacts{
        padding: 20px 17px 20px;
        margin: 10px 0;
    }
    .text-right{
        text-align: left;
    }
    .logo-text p.title{
        font-size: 18px;
        margin-top: 0;
        line-height: 20px;
    }
    p.phone a{
        text-align: center;
    }
    .menu ul{
        display: block;
    }
    .menu li{
        margin-top: 5px;
    }
    #banner h1{
        font-size: 32px;
        margin-top: 30px;
        line-height: 35px;
    }
    .glav {
        font-size: 27px;
        text-align: center;
    }
    .conditions__item {
    	width: 100%;
    	margin-bottom: 24px;
    	padding-right: 0;
	}
}