/*
Theme Name: LINKLaw template
Description: LINKLaw template
Author: Starkup
Template: flatsome
Version: 3.0
*/


/*
***
* FONTS 
***
*/

@font-face {
    font-family: 'TT Norms Pro';
    src: url('https://linklaw.ee/wp-content/themes/linklaw/assets/fonts/TTNormsPro-Regular.woff2') format('woff2'),
        url('https://linklaw.ee/wp-content/themes/linklaw/assets/fonts/TTNormsPro-Regular.woff') format('woff'),
        url('https://linklaw.ee/wp-content/themes/linklaw/assets/fonts/TTNormsPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TT Norms Pro';
    src: url('https://linklaw.ee/wp-content/themes/linklaw/assets/fonts/TTNormsPro-Medium.woff2') format('woff2'),
        url('https://linklaw.ee/wp-content/themes/linklaw/assets/fonts/TTNormsPro-Medium.woff') format('woff'),
        url('https://linklaw.ee/wp-content/themes/linklaw/assets/fonts/TTNormsPro-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    
}


body {
    background-color: #003B71;
}

p {
	font-size: 19px;
    line-height: 140%;
    letter-spacing: -0.02em;
}

p.lead {
    font-weight: 500;
    font-size: 20px;
    line-height: 130%;
    margin-bottom: 45px;
}

h1, .h1, .banner h1 {
    font-family: 'TT Norms Pro', sans-serif !important;
    font-weight: 300 !important;
    font-size: 120px;
    line-height: 110%;
}
h2, .h2 {
    font-family: 'TT Norms Pro' !important;
    font-style: normal;
    font-weight: 300 !important;
    font-size: 80px;
    line-height: 110%;
    color: #111111;
}
.banner h2 {
    font-family: 'TT Norms Pro' !important;
    font-style: normal;
    font-weight: 300 !important;
    font-size: 80px;
    line-height: 110%;
}
h3, .h3 {
    font-family: 'TT Norms Pro' !important;
    font-style: normal;
    font-weight: 300 !important;
    font-size: 22px;
    color: #111111;
}
h4, .h4 {
    font-family: 'Poppins' !important;
    font-style: normal;
    font-size: 20px;
    line-height: 130%;
    color: #F6A07C !important;
}

h6, .h6 {
    font-family: 'Poppins', sans-serif !important;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    text-transform: uppercase;
    color: #1B2238 !important;
    opacity: 1;
}

.dark, .dark p, .dark td {
    color: #ffffff;
}


/*
***
* GLOBALS 
***
*/

/* Body bg */
html {
    background-color: #043b71;
}

/* Buttons */
.button, button, input[type=button], input[type=reset], input[type=submit] {
	font-weight: 400;
}

.back-button {
    padding: 48px 30px;
    min-width: 140px;
    min-height: 140px;
}

a.button.back-button:hover {
    background-color: #f6a07c;
    border-color: #f6a07c;
    color: #fff;
}
a.button.back-button img {
    transition: .3s all;
    margin-bottom: 3px;
    margin-right: 5px;
}
a.button.back-button:hover img {
    transform: rotate(45deg);
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(24deg) brightness(103%) contrast(101%);
}

/* Hero button */
.hero-button-arrow {
    margin-left: 20px;
    transition: .4s all;
}

.white.is-outline.hero-button:hover {
    background-color: #f6a07c !important;
    border-color: #f6a07c;
    color: #fff !important;
}

.white.is-outline.hero-button:hover img {
    transform: rotate(135deg);
}

/* CF7 */
.wpcf7 label {
    font-size: 14px;
    font-weight: 300;
    color: #1D304E;
}

input[type=email], input[type=number], input[type=search], input[type=tel], input[type=text], input[type=url], textarea {
    border: none;
    border-bottom: 1px solid #F6A07C;
    box-shadow: none;
    min-height: 48px;
    color: #003B71;
    font-size: 16px;
    font-weight: 500;
}
input[type=email]:focus, input[type=number]:focus, input[type=password]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, select:focus, textarea:focus {
    box-shadow: none;
    color: #003B71;
}

textarea {
    min-height: 150px;
}

::placeholder {
    color: #7992ad;
    opacity: 1; /* Firefox */
}
  
::-ms-input-placeholder { /* Edge 12 -18 */
    color: #385775;
}

.wpcf7 input[type=submit].wpcf7-submit {
    background-color: #fff;
    border: 2px solid #003b71;
    border-radius: 100px;
    color: #003b71;
    font-weight: 500;
    font-size: 18px;
    text-transform: none;
    padding: 5px 35px;
    transition: .2s all;
}
.wpcf7 input[type=submit].wpcf7-submit:hover {
    background-color: #003b71;
    color: #fff;
}

/*
***
* HEADER 
***
*/
.header-main .nav > li > a {
    font-style: normal;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0.04em;
    color: #fff;
}
.header-main .nav > li:hover > a {
    color: #fff !important;
}

.header:not(.transparent) .header-nav-main.nav > li.active > a {
    color: #fff !important;
}
.home .nav-line-bottom>li.active>a:before {
    opacity: 0;
}
.home .nav-line-bottom>li.active:hover>a:before {
    opacity: 1;
}

.header-main .nav>li {
    margin: 0 24px;
}

.nav-line-bottom>li>a:before {
    height: 2px;
}

/* Dropdown */
ul.sub-menu.nav-dropdown>li>a, ul.sub-menu.nav-sidebar-ul.children>li>a {
    display: none;
}

.nav-column>li>a, .nav-dropdown>li>a {
    color: #1D304E;
}
.nav-dropdown-simple .nav-column li>a:hover, .nav-dropdown.nav-dropdown-simple>li>a:hover {
    background-color: #f6a07c36;
}
.nav-column li.active>a {
    font-weight: 500;
}

/* Language switcher */
.header-language-dropdown .image-icon, .header-language-dropdown .icon-image {
    display: none;
}
.nav-vertical .image-icon, .nav-vertical .icon-image {
	display: none;
}

/*
***
* HOME 
***
*/

/* Hero */
.banner-hero {
    max-height: 800px;
}

.banner-hero .img {
    position: absolute;
    margin: auto;
    bottom: -430px;
    max-height: 700px;
    overflow: hidden;
}

.hero-gap {
    background-color: #f3f3f3;
}

@media screen and (min-width: 850px) and (max-width: 1330px) {
	/* Small height screens */
	.banner-hero h1 {
        font-size: 600%;
    }
}

@media screen and (max-height: 800px) {
	/* Small height screens */
	.banner-hero .img {
		bottom: -400px;
	}
}

@media screen and (max-width: 550px) {

    .mobile-hero-desc .text-right {
        text-align: left;
    }

}




/* Team section */
.home-section-team .bg {
    background-image: url('https://linklaw.ee/wp-content/themes/linklaw/assets/img/Linklaw_shape_1.svg');
    background-position: top right;
    background-repeat: no-repeat !important;
    background-size: 833px !important;
}


/* Team roll */
.team .col {
    padding-bottom: 45px;
}

.team .team-image {
    margin-bottom: 9px;
}
.team .team-image img {
    border: 3px solid #DFE4EA;
}

.team .team-title {
    font-family: 'TT Norms Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 130%;
    color: #003B71;
    margin-bottom: 5px;
}
.team .team-title a {
    transition: .2s all;
}

.team .team-position {
    font-weight: 500;
    font-size: 12px;
    line-height: 150%;
    color: #1B2238;
}

/* Fields section */
.home-section-fields h6 {
    color: #003B71 !important;
}

/* Fields ul */
.home-section-fields ul>li {
    margin-bottom: 32px;
}

.home-section-fields ul>li, .home-section-fields ul>li>a {
    font-family: 'TT Norms Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 130%;
    color: #003B71;
    transition: .1s all;
}

.home-section-fields ul>li::marker {
    transition: .1s all;
}

.home-section-fields ul>li:hover>a, .home-section-fields ul>li:hover::marker {
    color: #F6A07C;
}


/*
***
* FIELD PAGE 
***
*/
.field-content h6 {
    margin-bottom: 40px;
}

.field-content ul li {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #1D304E;
}

.field-content ul li::marker {
    color: #F6A07C;
}

.field-content .portfolio-ul ul li p {
    font-weight: 400;
    font-size: 14px;
}

@media screen and (max-width: 850px) {
	.field-content .portfolio-ul h4 {
		font-size: 17px;
	}
}

@media screen and (min-width: 550px) {
    .field-content .section-content {
        background-image: url('https://linklaw.ee/wp-content/themes/linklaw/assets/img/Linklaw_shape_3.png');
        background-position: bottom right;
        background-repeat: no-repeat !important;
        background-size: auto;
    }
}

/* Field persons */
.field-team {
    margin-bottom: 50px;
}

.field-team .team-image {
    margin-bottom: 25px;
    max-width: 215px;
}
.field-team .team-image img {
    border: 3px solid #DFE4EA;
}

.field-team .team-title {
    margin-bottom: 5px;
}

.field-team .team-title a {
    font-family: 'TT Norms Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 130%;
    color: #1D304E;
}
.field-team .team-position {
    font-weight: 500;
    font-size: 12px;
    line-height: 150%;
    color: #1B2238;
}

.field-team .team-phone, .field-team .team-email {
    line-height: 16px;
}

.field-team .team-phone>div, .field-team .team-email>div {
    display: inline-block;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
}

.field-team .team-phone>div:first-child, .field-team .team-email>div:first-child {
    min-width: 60px;
    color: #1D304E;
    opacity: 0.7;
}
.field-team .team-content a {
    color: #1D304E;
    transition: .2s all;
}
.field-team .team-content a:hover {
    color: #F6A07C;
}


/*
***
* SINGLE PERSON 
***
*/
@media screen and (min-width: 550px) {
    .single-team-thumb {
        bottom: -135px;
    }
}
@media screen and (max-width: 550px) {
    .single-team-title {
        padding-top: 280px;
    }
    .single-person-hero {
        max-height: 700px;
    }
    .single-team-thumb {
        bottom: 40px;
    }
    .single-team-thumb img {
        max-width: 340px;
    }
}

.single-team-thumb img {
border: 3px solid #DFE4EA;
}

.single-team-position {
    font-weight: 500;
    font-size: 20px;
    line-height: 130%;
    margin-bottom: 16px;
}

.single-person-hero ul li {
    font-weight: 500;
}

/* Sidebar */
.single-team-sidebar p {
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
}

.single-team-sidebar .single-team-ed-year {
    font-weight: 500;
    line-height: 120%;
    color: #1D304E;
}

.single-team-sidebar ul li, .single-team-sidebar ul li a {
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #1B2238;
    transition: .2s all;
}
.single-team-sidebar ul li a:hover {
    color: #F6A07C;
}

@media screen and (min-width: 550px) {
    .single-inimesed #content {
        background-image: url('https://linklaw.ee/wp-content/themes/linklaw/assets/img/Linklaw_shape_4.png');
        background-position: bottom left;
        background-repeat: no-repeat !important;
        background-size: auto;
    }
}

/*
***
* FOOTER 
***
*/

#footer p, #footer a, #footer ul li {
    font-size: 16px;
    font-weight: 300;
    line-height: 150%;
    color: #fff;
    transition: .2s all;
}

#footer a:hover {
    color: #F6A07C;
}

#footer ul li {
    margin-bottom: -1px;
}


#footer .vertical-divider .col-inner, #footer .vertical-divider .text-center {
    height: 100%;
}
#footer .vertical-divider .is-divider {
    margin-top: -16px !important;
}

#footer .stack .text:first-child {
    min-width: 110px;
}

@media screen and (max-width: 1150px) {
    #footer .stack {
        flex-direction: column;
    }
}

#footer .footer-bottom .col-inner {
    padding-top: 15px !important;
}
#footer .footer-bottom p, #footer .footer-bottom a {
    font-size: 14px;
    line-height: 14px;
    margin-top: 25px;
}

#footer .absolute-footer {
    display: none;
}


@media screen and (min-width: 550px) and (max-width: 1150px) {

    /*
    ***
    * SMALL DESKTOP 
    ***
    */

    h1, .h1 {
        font-size: 68px;
    }

}

@media screen and (max-width: 850px) {

    /*
    ***
    * MOBILE & TABLET
    ***
    */

    p {
        font-size: 18px;
    }
    
    p.lead {
        font-size: 18px;
    }
    
    h1, .h1, .banner h1 {
        font-size: 36px;
    }
    h2, .h2 {
        font-size: 30px;
    }
    .banner h2 {
        font-size: 28px;
    }
    
    h4, .h4 {
        font-size: 24px;
    }

}