/*!
Theme Name: Lawyer2
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: lawyer2
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/

@import url("layouts/layout-styles.css");
@import url("layouts/custom-styles.css");

:root {
    --main: #000066;
}

.site-header-section {
    background-color: var(--main);
}


    .site-header-section.aux-overlay-header {
        position: relative;
    }


.logo-main {
    opacity: .5;
}

.margin-40 {
    margin-bottom: 40px;
}

.justify {
    text-align: justify;
}

.heading-navy {
    color: var(--main) !important;
}

@media screen and (max-width: 992px) {
    .site-heading-title {
        font-size: 54px !important;
    }
}

@media screen and (max-width: 767px) {
    .site-heading-title {
        font-size: 32px !important;
    }
}

.experience {
    background-position: center center;
    background-size: 100%;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    overflow: hidden;
}

.experience-item {
    float: left;
    padding: 15px;
    width: 33.3%;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .experience-item {
        width: 100%;
    }
}

.experience-item h2 {
    font-size: 46px;
    margin: 15px 0;
}

.experience-item h3 {
    font-size: 22px;
    line-height: 1.1;
    font-family: "Playfair Display", Sans-serif;
}

.experience-item p {
    color: rgba(255, 255, 255, 0.7);
}

.work-heading {
    top: 0 !important;
}

.businessman-img-mobile {
    display: none;
}

@media screen and (max-width: 767px) {
    .businessman-img {
        display: none !important;
    }

    .businessman-img-mobile {
        display: block;
    }
}

.count-heading {
    top: 0 !important;
}

.elementor-5 .elementor-element.elementor-element-37f04f6:not(.elementor-motion-effects-element-type-background)>.elementor-element-populated, .elementor-5 .elementor-element.elementor-element-37f04f6>.elementor-column-wrap>.elementor-motion-effects-container>.elementor-motion-effects-layer {
    background-image: none !important;
    background-color: var(--main);
}

.elementor-5 .elementor-element.elementor-element-3bca536:not(.elementor-motion-effects-element-type-background)>.elementor-element-populated, .elementor-5 .elementor-element.elementor-element-3bca536>.elementor-column-wrap>.elementor-motion-effects-container>.elementor-motion-effects-layer {
    background-image: none !important;
    background-color: var(--main);
}

.elementor-5 .elementor-element.elementor-element-772473d:not(.elementor-motion-effects-element-type-background)>.elementor-element-populated, .elementor-5 .elementor-element.elementor-element-772473d>.elementor-column-wrap>.elementor-motion-effects-container>.elementor-motion-effects-layer {
    background-image: none !important;
    background-color: var(--main);
}

.elementor-5 .elementor-element.elementor-element-37f04f6:not(.elementor-motion-effects-element-type-background)>.elementor-element-populated, .elementor-5 .elementor-element.elementor-element-37f04f6>.elementor-column-wrap>.elementor-motion-effects-container>.elementor-motion-effects-layer {
    background-image: none !important;
    background-color: var(--main);
}

.elementor-5 .elementor-element.elementor-element-f70d662:not(.elementor-motion-effects-element-type-background)>.elementor-element-populated, .elementor-5 .elementor-element.elementor-element-f70d662>.elementor-column-wrap>.elementor-motion-effects-container>.elementor-motion-effects-layer {
    background-image: none !important;
    background-color: var(--main);
}

.spec-section:hover .spec-section-img {
    background-image: none !important;
    background-color: var(--main);
}

.specialisations-logo {
    display: none;
    width: 35%;
    opacity: 0; 
    transition-duration: 3s;
}

.spec-section:hover .specialisations-logo {
    display: block;
    opacity: 1;
}

.spec-section:hover .pistol-logo {
    margin: 20px 0 25px 0;
}

.spec-section:hover svg {
    display: none
}

.spec-section:hover i {
    display: none
}

.lower-margin {
    margin: 10px 0 !important;
}

.upper-margin {
    margin: -24px 0 !important;
}

.icon-spec {
    color: var(--main);
    font-size: 75px;
}

.founder-section {
    margin-top: 40px;
}

.contact-section {
    width: 100%;
    margin: 20px 0;
}

.contact-container {
    margin-bottom: 20px;
    text-align: center;
}

.contact-img {
    display: inline;
    height: 20px !important;
    width: auto !important;
}

.contact-true-container {
    overflow: visible;
    height: 140px;
}

@media screen and (max-width: 767px) {
    .contact-true-container {
        overflow: hidden;
        height: auto;
    }
}

.contact-element {
    float: left;
    width: 33%;
}

@media screen and (max-width: 767px) {
    .contact-element {
        width: 100%;
        float: none;
        margin-bottom: 20px;
    }

    .img-contact-media {
        margin: 5px auto;
    }

    .contact-img-box {
        max-height: initial !important;
        max-width: initial !important;
    }
}

.post-article {
    display: inline-block;
    width: 31.3%;
    padding: 1%;
}

@media screen and (max-width: 767px) {
    .post-article {
        width: 100%;
    }
}

.post-article-inner, .post-article-inner > a {
    width: 100%;
    height: 100%;
}

.post-article-inner {
    display: block;
    height: 270px;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 10px;
}

.post-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.blog-title {
    color: white;
    font-family: "Playfair Display", Sans-serif;
    font-size: 30px;
    text-align: center;
}

.overflow-article {
    display: flex;
    position: absolute;
    top: 0; 
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    transition: 1s;
}

.post-link:hover .overflow-article {
    opacity: 1;
}

.businessman-img {
    width: 100% !important;
}

.post-content-area {
    padding: 20px;
}

form p {
    width: 32%;
    margin-right: 1.4%;
    display: inline-block;
}

form p:nth-child(4) {
    margin-right: 0;
}

@media screen and (max-width: 767px) {
    form p {
        width: 100%;
        margin-right: 0;
        margin-bottom: 25px;
    }
}

form p:nth-child(5) {
    width: 100%;
}

.form-section {
    margin: 50px 30px;
}

input[type="submit"] {
    background-color: var(--main) !important;
}

.contact-drive {
    margin: 30px;
}

.contact-data-nip {
    text-align: center;
}

.contact-data-nip p {
    margin: 10px;
    text-align: center;
    display: inline-block;
}

.rates {
    font-size: 20px;
    text-align: center;
}

.founder-container {
    position: relative;
}

.founder-img {
    filter: grayscale(100%);
    transition: 1s;
}

.founder-container:hover .founder-img {
    filter: none;
}

.form-logos {
    display: flex;
    justify-content: space-around;
    height: 120px;
    padding: 40px 40px 0;
}

.img-contact-panel {
    height: 100% !important;
}

.site-posts {
    margin: 40px;
}

.posts-more {
    display: flex;
    justify-content: center;
}

.posts-more-button {
    padding: 10px;
    background-color: var(--main) !important;
    color: white;
}

.contact-desc-name {
   color: var(--main) !important;
   font-weight: bold !important;
}

.no-posts {
    margin: 0 20px 20px;
    text-align: center;
    font-size: 25px;
}