@import url('fonts.css');

:root {
    --font: 'Lato Regular';
    --site-color: #5e5a5a;
    --time-color:#858585;
    --visited-color: gray;
    --link-color: #055085;
    --main-color: #bf1b2a;
    --white-color: #fff;
    --bg-color: #f3f3f3;
    --font-size: 14px;
    --line: #c5c5c5;
    --side-menu-bg: #e7e7e7;
    --translucent-socials: #d1d1d1;
    --over-layer-bg: rgba(255,255,255,0.83);
    --right-arrow: '›';
    --header-height: 80px;
}


@-ms-viewport {
    width: device-width;
}

html,
body {
    margin: 0px;
    padding: 0px;
    position: relative;
}
html {
    min-width: 100%;
    height: 100%
}
:active, :hover, :focus {
    outline: 0;
    outline-offset: 0;
}
* {
    outline: none;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body {
    font-family: var(--font);
    font-weight: normal;
    background-color: var(--bg-color);
    color: var(--site-color);
    font-size: var(--font-size);
    line-height: 24px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

ul li{
    list-style-position: inside !important;
}

h1, h2, h3, h4, h5, h6, .h1{
    color: var(--main-color);
}

h1, .h1{
    margin-top: 0;
    font-weight: normal;
    margin-bottom: 30px;
    font-size: 24px;
}

.icon:after{
    cursor: pointer;
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.lawyers_wrap{
    margin: 0 2px;
}



/* h2, h3{
    line-height: 30px;
    min-height: 30px;
} */

h2{
    font-size: 24px;
    margin-bottom: 23px;
}

a{
	text-decoration: none;
	color: inherit;
	display: inline-block;
}
ul, ol{
	list-style: none;
    padding: 0;
    margin: 0;
}
img{
	display: block;
	margin: 0;
    max-width: 100%;
    height: auto;
}



.hidden {
    display: none;
}

.wrapper {
    max-width: 1460px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.relative{
    position: relative;
}

.columns{
    width: 100%;
    display: flex;
    align-items: flex-start;
}

.column{
    margin: 0 45px;
}

.column:first-child{
    margin-left: 0px;
}

.column:last-child{
    margin-right: 0px;
}

.clm_45{
    width: 45%;
}

.clm_30{
    width: 30%;
}

.flex{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.align-c{
    display: flex;
    align-items: center;
}

.align-e{
    display: flex;
    align-items: flex-end;
}

.space-c{
    display: flex;
    justify-content: center;
}

.space-b{
    display: flex;
    justify-content: space-between;
}

.space-e{
    display: flex;
    justify-content: flex-end;
}

.copy > p{
    text-transform: uppercase;
    margin: 5px 0;
    text-align: right;
}

.copy p:first-child{
    font-size: 18px;
}

.copy p:last-child{
    font-size: 14px;
    word-spacing: 10px;
}

.copy p a:hover{
    text-decoration: underline;
}

.w100{
    width: 100%;
}

.dir-column{
    display: flex;
    flex-direction: column;
}

.button{
	font-size: 14px;
	padding: 10px 20px;
	display: inline-block;
	color: #fff;
	text-transform: uppercase;
	background-color: var(--main-color);
	border-radius: 5px;
	text-align: center;
	cursor: pointer;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
}

.upper{
    text-transform: uppercase;
}

.date{
    color: #868686;
    text-transform: capitalize;
}

.employment{
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

header{
    height: var(--header-height);
    display: flex;
    align-items: center;
    min-height: 120px;
    height: auto;
    z-index: 99;
}

@media only screen and (min-width: 1200px){}

header .wrapper{
    height: inherit;
}

@-webkit-keyframes slideDown{
    0%{
        opacity: 0;
        -webkit-transform: translateY(-150px);
                transform: translateY(-150px);
    }
    100%{
        opacity: 1;
        -webkit-transform: none;
                transform: none;
    }
}

@keyframes slideDown{
    0%{
        opacity: 0;
        -webkit-transform: translateY(-150px);
                transform: translateY(-150px);
    }
    100%{
        opacity: 1;
        -webkit-transform: none;
                transform: none;
    }
}

header.fixed{
    position: fixed;
    top:0; left:0;
    width: 100%;
    min-height: 80px;
    background-color: var(--over-layer-bg);
    -webkit-animation: slideDown 700ms;
            animation: slideDown 700ms;
}


.header-rows{
    height: 100%;
    align-items: center;
    font-size: 17px;
}

.logo img{
    max-width: 300px;
}

.clear{
    clear: both;
}

.underline{
    text-decoration: underline;
}

.arrow-down{
    position: absolute;
    right: 3px;
    display: inline-block;
    width: 30px;
    height: 30px;
    display: none;
}

.arrow-down::after{
    content: var(--right-arrow);
    color: var(--main-color);
    font-size: 47px;
    font-style: normal;
    transform: rotate(90deg);
    text-align: center;
    width: 37px;
    height: 23px;
}

.arrow-down.open{
    transform: rotate(180deg);
}

/* lvl-1 */

ul.lvl-1{
    position: relative;
}

input#main:checked ~  ul.lvl-1{
    display: block;
}


ul.lvl-1 > li {
    margin-right: 20px;
    position: relative;
}

ul.lvl-1 > li > a{
    position: relative;
    color: var(--main-color);
}

ul.lvl-1 > li > a{
    border: 1px solid transparent;
    display: inline-block;
    padding: 0 10px;
    border-radius: 15px;
    transition: all 100ms ease-in;
    -webkit-transition: all 100ms ease-in;
    -moz-transition: all 100ms ease-in;
    -ms-transition: all 100ms ease-in;
    -o-transition: all 100ms ease-in;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

ul.lvl-1 > li > a:hover, ul.lvl-1 > li > a.active{
    border-color: var(--main-color);
}

ul.lvl-1 > li > a:hover ~ ul.lvl-2{
    visibility: visible;
    opacity: 1;
}

ul.lvl-1 > li > a:after{
    content: '';
    display: block;
    width: 100%;
    height: 30px;
    position: absolute;
    left: 0;
}

/* lvl-2 */

@media only screen and (max-width: 780px){

    .arrow-down{
        display: inline-block;
    }

    #people .side_menu{
        order: 2;
    }

    #people .lawyers_profile{
        order: 1;
    }

    #people .side_menu ul{
        display: block !important;
    }

    #people .side_menu .drop-down{
        display: none;
    }
}

@media only screen and (min-width: 780px){
    ul.lvl-2{
        background-color: #f3f3f3;
        -webkit-box-shadow: 0px 2px 4px 0px rgba(166,166,166,1);
        -moz-box-shadow: 0px 2px 4px 0px rgba(166,166,166,1);
        box-shadow: 0px 2px 4px 0px rgba(166,166,166,1);
        position: absolute;
        width: auto;
        flex-wrap: nowrap;
        top: 54px;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        min-width: 285px;
    }
    
    ul.lvl-2::before{
        content: '';
        display: block;
        width: 60px;
        height: 20px;
        position: absolute;
        left: calc(50%);
        top: -10px;
    }
    
    ul.lvl-2:not(:hover){
        visibility: hidden;
        opacity: 0;
        transition: all 250ms ease-out;
    }
    
    ul.lvl-2 > li > a{
        position: relative;
        display: inline-block;
        white-space: nowrap;
        font-size: 0.9em;
        padding: 6px 20px;
        width: 100%;
    }

    ul.lvl-2 > li:not(:last-child) > a{
        border-bottom: 1px solid #e2e2e2;
    }

    ul.lvl-2 > li{
        width: 100%;
    }

    ul.lvl-2 > li > a:hover{
        background-color: #e2e2e2;
    }
}

.languages{
    text-transform: uppercase;
    font-size: 14px;
    margin-left: 10%;
}

.languages > li{
    margin-right: 15px;
}

.languages > li a{
    position: relative;
}

.languages > li:not(:last-child) a::after{
    content: '';
    height: 12px;
    width: 1px;
    position: absolute;
    right: -8px;
    top: 6px;
    background-color: var(--main-color);
}

.languages > li a:hover, .languages > li a.active{
    color: var(--main-color);
}

.breadcrumbs{
    margin-bottom: 15px;
}

.breadcrumbs li{
    margin-right: 5px;
}

.breadcrumbs li a::after{
    content: var(--right-arrow);
    vertical-align: top;
    font-size: 18px;
    font-weight: bold;
    margin-left: 5px;
}

#home-slider{
    height: 467px;
}

.home_slider_item{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home_slider_item, .slick-list{
    height: 467px !important;
}

.slider_title{
    line-height: 30px;
    margin-bottom: 20px;
    text-align: left;
}

.slider_text_wrapper{
    position: absolute;
    padding: 40px 75px 40px 65px;
    background-color: var(--over-layer-bg);
    z-index: 99;
    top: 50%;
    transform: translateY(-50%);
    max-width: 538px;
    border-radius: 5px;
    box-sizing: inherit;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.slider_text{
    margin-bottom: 40px;
}

.list-news a:not(:hover){
    color: var(--link-color);
}

.read-more{
    color: var(--link-color);
    font-size: 14px;
    text-transform: uppercase;
    text-align: left;
    margin: 20px 0 1cm;
    display: inline-block;
    position: relative;
}

.read-more:hover{
    text-decoration: underline;
    color: var(--main-color);
}

.read-more:after{
    content: var(--right-arrow);
    vertical-align: bottom;
    margin-left: 5px;
    font-size: 24px;
    vertical-align: -1px;
    position: absolute;
    top: -1px;
}

.block-padding{
    padding: 10px 0 90px;
}

.footer_row_top{
    padding: 100px 0;
    background-color: #dbdbdb;
}

.footer_row_bottom{
    padding: 80px 0;
}

.break_line{
    display: block;
    width: 100%;
    height: 1px;
    background-color: #055085;
    margin: 35px 0 25px;
    opacity: .5;
}

.b900{
    font-weight: 900;
}

.socials > li{
    margin-right: 15px;
}

.pager-box{
    display: flex;
}

.pager-box li{
    margin-right: 10px;
    font-weight: 700;
}

.pager-box li.active, .pager-box li > a:hover{
    color: var(--main-color);
}

.socials .ico{
    width: 40px;
    height: 40px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 40px;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    opacity: 0.3;
    transition: all 350ms cubic-bezier(0.075, 0.82, 0.165, 1);
    -webkit-transition: all 350ms cubic-bezier(0.075, 0.82, 0.165, 1);
    -moz-transition: all 350ms cubic-bezier(0.075, 0.82, 0.165, 1);
    -ms-transition: all 350ms cubic-bezier(0.075, 0.82, 0.165, 1);
    -o-transition: all 350ms cubic-bezier(0.075, 0.82, 0.165, 1);
}

.socials .ico:hover{
    filter: none;
    -webkit-filter: none;
    opacity: 1;
}

.socials .fb{
    background-image: url('../images/facebook.svg');
}

.socials .in{
    background-image: url('../images/linkedin.svg');
}

.socials .gm{
    background-image: url('../images/gmail.svg');
}

.text-content > ul{
    all: initial !important;
    font-family: inherit !important;
    color: inherit !important;
}

.text-content > ul li{
    padding-left: 30px;
}

.text-content > *{
    font-size: initial;
}

.text-content a{
    font-weight: bold !important;
}

.ratings_list table{
    border: none;
    border-collapse:collapse;
    margin-bottom: 110px;
}

table{
    border-collapse: collapse;
}

table tr td{
    vertical-align: top;
}

table tr td:not(:last-child){
    border-right: 2px solid var(--main-color) !important;
    padding-right: 15px;
    width: 155px;
}

table tr td:last-child{
    padding-left: 15px;
}

.side_menu{
    position: relative;
    flex: 1;
    max-width: 400px;
    background-color: var(--side-menu-bg);
    border-radius: 5px;
    padding: 15px 40px;
    margin-right: 40px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.side_menu li:not(:last-child){
    border-bottom: 1px solid var(--line);
}

.side_menu li{
    padding: 10px 0;
}

.side_menu li a{
    padding: 10px 0;
    font-size: 18px;
    position: relative;
}

.side_menu li a:hover, .side_menu li a.active{
    color: var(--main-color);
}

.side_menu li a.active::before, .marker::before{
    content: '›';
    margin-right: 5px;
    color: inherit;
    vertical-align: top;
    position: absolute;
    left: -15px;
    font-weight: 900;
    font-size: 30px;
    line-height: 20px;
}

.practics-list > li{
    border: none !important;
    padding: 5px 0;
}

.practics-list li a{
    padding: 0;
    display: inline-block;
    font-size: inherit;
    text-decoration: underline;
}

.marker::before{
    color: var(--main-color);
}

.item_content, .lawyers_profile{
    flex: 1;
}

.key{
    margin: 15px 0;
    font-size: 1.2em;
    color: var(--link-color);
}

.lawyers-list{
    margin: 0 -15px;
    flex: 1;
}

.lawyer_item{
    margin: 0 10px;
    width: 200px;
    margin-bottom: 15px;
    min-height: 390px;
    margin-bottom: 30px;
}

.lawyer_item a{
    text-align: center;
    line-height: normal;
    text-transform: uppercase;
}

.lawyer_item a:hover{
    text-decoration: underline;
}

.lawyer_photo{
    height: 240px;
    overflow: hidden;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

#practices .lawyer_photo{
    height: 193px;
}

#practices .lawyer_item{
    width: 157px;
    min-height: auto !important;
}

#practices .lawyer_photo{
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

#practices .lawyer_name a{
    font-size: 13px;
    font-weight: normal;
}

#practices .lawyer_practic{
    font-size: 13px;
}

#practices .lawyer_text{
    min-height: auto;
    padding-bottom: 0;
}

.lawyer_photo img{
    object-position: top center;
    max-width: 100%;
    margin: 0 2px;
}

.lawyer_text {
    position: relative;
    min-height: 150px;
    padding-bottom: 25px;
}

.lawyer_name{
    font-size: 16px;
    text-align: left;
    margin-top: 20px;
}
.lawyer_practics .practics-list{
    margin-top: 15px;
}

.lawyer_practics .practics-list li{
    margin: 0;
    padding: 0;
    text-decoration: none;
    line-height: normal;
}

.lawyer_practics .practics-list a{
    text-decoration: none;
    font-size: 12px;
}

.lawyer_practics .practics-list a:hover{
    text-decoration: underline;
}

.lawyer_practic{
    font-size: 14px;
    text-transform: uppercase;
}

.lawyer_joined{
    margin-top: 15px;
    color: var(--main-color);
    font: 14px;
    text-transform: uppercase;
    position: absolute;
    bottom: 0;
    left: 0;
}

.lawyers_profile_photo{
    float: left;
    margin-right: 30px;
    margin-bottom: 30px;
}

.lawyers_profile_photo img{
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.lawyers_profile_publications{
    /* min-height: 200px; */
}

.law_publications{
    margin-bottom: 20px;
}

.law_publications a{
    font-size: initial;
}

.list-filter:not(:empty){
    margin-bottom: 30px;
}

.list-filter li{
    margin-right: 15px;
}

.list-filter li a{
    position: relative;
    color: var(--main-color);
}

.list-filter li a:after{
    content: '';
    width: 0%;
    height: 2px;
    background-color: var(--main-color);
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -2px;
    transition: all 70ms ease-in;
    -webkit-transition: all 70ms ease-in;
    -moz-transition: all 70ms ease-in;
    -ms-transition: all 70ms ease-in;
    -o-transition: all 70ms ease-in;
}

.list-filter li a.active:after, .list-filter li a:hover:after{
    width: 100%;
}

.drop-down {
    display: none;
    position: absolute;
    right: 15px;
    width: 35px;
    top: 12px;
    bottom: 0;
    height: 25px;
    padding: 12px 0;
    cursor: pointer;
}

nav .drop-down{
    top: -40px;
    right: 0;
}

.drop-down:before {
    top: 0;
}

.drop-down:after {
    bottom: 0;
}

.drop-down:before, .drop-down:after {
    content: '';
    background-color: var(--main-color);
    position: absolute;
    width: 35px;
    height: 2px;
    left: 0;
    -webkit-transition: -webkit-transform 150ms;
    transition: -webkit-transform 150ms;
    -o-transition: transform 150ms;
    transition: transform 150ms;
    transition: transform 150ms, -webkit-transform 150ms;
    outline: none;
}

.drop-down span {
    display: block;
    background-color: var(--main-color);
    width: 35px;
    height: 2px;
}

footer h2:empty{
    height: 25px;
}

input#drop:checked + label.drop-down:before, input#main:checked + label.drop-down:before {
    top: 11px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

input#drop:checked+label.drop-down:after, input#main:checked+label.drop-down:after {
    top: 11px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
}

input#drop:checked + label.drop-down span, input#main:checked + label.drop-down span{
    background-color: transparent;
}

input#drop:checked ~ ul {
    display: block;
    margin-top: 10px;
}

#map{
    width: 100%;
    max-width: 480px;
}

@media only screen and (max-width: 1200px){
    .logo img{
        max-width: 245px;
    }
    .wrapper{
        max-width: 910px;
    }
    #home .columns, footer  .columns{
        flex-direction: column;
        margin: 0;
    }
	.column{
        width: 100%;
        margin: 25px 0;
    }
    .column.table{
        display: flex;
    }
    
    .column.table{
        flex-direction: column;
    }
    .side_menu{
        max-width: 250px;
        margin-right: 20px;
        padding: 20px 30px;
    }
    .ratings_list table{
        margin-bottom: 30px;
    }
    .column{
        margin: 0;
    }
}

@media only screen and (max-width: 780px){

    .read-more{
        margin: 5px 0 15px;
    }

    .block-padding{
        padding: 10px 0 60px;
    }
    .lawyers-list{
        display: flex;
    }

    .lawyers_wrap{
        align-items: center;
        width: 100%;
        justify-content: center;
    }
    
    h1, .h1{
        text-align: center;
    }

    ul.lvl-2{
        padding-left: 20px;
        display: none;
    }

    ul.lvl-2.open{
        display: block;
    }

    ul.lvl-2 > li{
        margin: 5px 0;
    }

    ul.lvl-2 > li > a{
        padding: 5px 10px;
        position: relative;
    }

    ul.lvl-2 > li > a.active:after{
        content: '';
        position: absolute;
        display: inline-block;
        width: calc(100% - 20px);
        height: 2px;
        background-color: var(--site-color);
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        transition: all 100ms ease-in;
        -webkit-transition: all 100ms ease-in;
        -moz-transition: all 100ms ease-in;
        -ms-transition: all 100ms ease-in;
        -o-transition: all 100ms ease-in;
    }

    header{
        min-height: 70px;
        
    }

    nav{
        /* margin-top: 20px; */
        /* padding: 0 10px; */
        border-radius: 5px;
        /* background-color: var(--side-menu-bg); */
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
    }

    .header-rows .row{
        position: relative;
    }

    .header-rows{
        flex-direction: column;
        align-items: flex-start;
    }

    .header-rows{
        padding: 15px 0;
    }

    .header-rows .row:last-child{
        justify-content: flex-start;
    }

    .header-rows .row:last-child nav{
        width: 100%;
    }
    
    ul.lvl-1 > li{
        margin: 15px 0;
    }

    nav .drop-down{
        display: block;
    }

    .slider_text_wrapper{
        padding: 20px;
        max-width: 300px;
    }

    .lawyers-list{
        justify-content: center;
    }

    .drop-down{
        display: block;
    }

    .footer_row_top{
        padding: 25px 0;
    }

    .footer_row_top .column{
        margin: 10px 0;
    }
    
    .break_line{
        margin: 20px 0 20px;
    }

    .content-columns{
        flex-direction: column;
    }

    .side_menu{
        display: none;
    }

    #contacts .side_menu{
        display: block;
        width: 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }

    #contacts .side_menu .drop-down{
        display: none;
    }

    #contacts .side_menu

    .side_menu > ul, ul.lvl-1{
        display: none;
    }

    .t-justify, .t-justify > *{
        text-align: justify;
    }
    .lawyers_profile_photo{
        float: none;
    }
    .lawyers_profile_photo{
        margin-right: 0;
    }
    .lawyers_profile_photo img{
        margin: auto;
    }


    .socials > li{
        margin-right: 5px;
    }

    .home_slider_item{
        background-size: cover;
    }

    #home-slider, .home_slider_item, .slick-list{
        height: 280px !important;
    }

    .slider_text_wrapper .slider_text{
        display: none;
    }

    .slider_title{
        font-size: 18px;
        line-height: normal;
    }

    .button{
        padding: 5px 15px;
    }
}
@media only screen and (max-width: 480px){
    .footer_row_bottom{
        padding: 35px 0;
    }
    .footer_row_bottom .rows{
        flex-direction: column;
        align-items: center;
    }
    .footer_row_bottom .rows .dir-column{
        align-items: center;
    }
    .ratings_list table{
        margin-bottom: 40px;
    }
    .column{
        margin: 0;
    }
    p{
        margin: 5px 0;
    }
}

@media only screen and (max-width: 350px){
    .logo img{
        max-width: 180px;
    }
}
