:root {
    --primary-color: #0052BB;
    --secondary-color: #002657;
    --tertiary-color: #f4f7fb;
    --text-color: #002657;
    --default-page-width: 1400px;
    --color-orange: #ff532f;


}

html {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.3em;
}

.dark {
    color: white;
}

body {
    padding: 0;
    margin: 0;
}

#header {
    display: block;
    position: relative;
    width: 100%;
    height: 44px;
    padding: 70px 0;
}

#header .header_grid {
    display: grid;
    grid-template-columns: 170px 1fr;
    align-items: center;
}

#header .header_grid>div:nth-child(2) {
    text-align: right;
}

#header .mobile_menu {
    position: relative;
}

#header ul.menu {
    display: inline-block;
    padding: 0;
    margin: 0 4em 0 0;
    line-height: 1em;
}

#header ul.menu li {
    display: inline-block;
    list-style: none;

}

#header ul.menu li.portal a {
    padding-left: 25px;
    background: url(../images/icon-user-blue.svg) no-repeat;
    background-size: 16px 16px;
    background-position: center left;
}

#header ul.menu li a,
#header .lang a {
    font-size: 18px;
    text-decoration: none;
    opacity: 0.3;
    transition-duration: 0.5s;
    margin-left: 4em;
    text-transform: uppercase;
    color: var(--text-color);
    position: relative;
}



#header ul.menu li:hover a,
#header .lang:hover a {
    opacity: 0.6;
}

#header ul.menu li a::after,
#header .lang a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    border-top: 1px solid var(--text-color);
    transition-duration: 0.25s;
}

#header ul.menu li a:hover::after,
#header .lang a:hover::after {
    width: 100%;
}

#header .mobile_menu .lang {
    position: absolute;
    top: 0;
    right: 0;
}

#header .lang a {
    padding-left: 25px;
    background: url(../images/icon-globe-blue.svg) no-repeat;
    background-size: 16px 16px;
    background-position: center left;
}

#header .lang2 a {
    padding-left: 25px;
    background: url(../images/icon-globe-blue.svg) no-repeat;
    background-size: 16px 16px;
    background-position: center left;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    margin: 0.5em 0;
    letter-spacing: 0.1em;
    line-height: 1.2em;
}


a.main_logo {
    display: inline-block;
    width: 163px;
    height: 44px;
    background: url(../images/neo-legal-blue.png) no-repeat;
    background-size: 99%;
    background-position: center;

}

.webwrapper {
    width: calc(100% - 40px);
    margin: 0 auto;
    position: relative;
}

.deck {
    position: relative;
}

.deck .bg_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grid {
    display: grid;
    grid-gap: 25px;
}

.grid_1_1 {
    grid-template-columns: 1fr 1fr;
}

.grid_1_1_1 {
    grid-template-columns: 1fr 1fr 1fr;
}

.grid_4_6 {
    grid-template-columns: 4fr 6fr;
}

.blue_bg {
    background: rgb(0, 47, 107);
    background: linear-gradient(145deg, rgba(0, 47, 107, 1) 0%, rgba(0, 82, 187, 1) 100%);
}

.silver_bg {
    background: var(--tertiary-color);
}

.box_corner {
    border-radius: 25px;
}

.box_corner .textwrapper {
    padding: 60px;
    padding-bottom: 8em;
}

.box_corner .textwrapper.shortbottom {
    padding-bottom: 0;
}

.box_corner .textwrapper a {
    position: absolute;
    bottom: 80px;
}

.box_corner .textwrapper h2 {
    padding-top: 0;
    margin-top: 0;
}

.button {
    display: inline-block;
    padding: 12px 100px;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    text-transform: uppercase;
    font-size: 13px;
    text-decoration: none;
    border-radius: 35px;
    letter-spacing: 0.1em;
    transition-duration: 0.25s;
}

.button:hover {
    background: transparent;
    color: var(--primary-color);
}

.dark .button {
    border: 2px solid white;
    background: white;
    color: var(--primary-color);
}

.dark .button:hover {
    background: transparent;
    color: white;
}

.valign_center {
    align-items: center;
}

.deck .grid>div>img {
    width: 100%;
    margin: 0 auto;
}

#footer {
    padding: 80px 0;
}

#footer .footer_logo {
    display: inline-block;
    width: 163px;
    height: 44px;
    background: url(../images/neo-legal-white.png) no-repeat;
    background-size: 99%;
    background-position: center;
}

#footer .footer_grid {
    padding-top: 40px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-gap: 25px 150px;
}

#footer ul {
    display: block;
    padding: 0;
    margin: 0;
    text-indent: 0;
}

#footer ul li {
    list-style: none;
    padding: 10px 0;
    max-width: 230px;
    border-bottom: 1px solid white;

}

#footer ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition-duration: 0.25s;
    margin-left: 0;
}

#footer ul li:hover a {
    margin-left: 10px;
}


@media(max-width: 1240px) {
    .button {
        padding: 12px 30px;
    }
}

@media(max-width: 940px) {
    .button {
        padding: 12px 15px;
    }

    .box_corner .textwrapper {
        padding: 50px 50px 150px 50px;
    }
}

@media(min-width: 1240px) {
    .webwrapper {
        width: 1200px;
    }


    h1 {
        font-size: 60px;
    }

    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 30px;
    }

    h4 {
        font-size: 18px;
    }

    .hero_deck p {
        width: 50%;
    }
}

@media(min-width: 940px) {


    h1 {
        font-size: 45px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 14px;
    }

    .hero_deck p {
        width: 50%;
    }

}

@media(min-width: 1440px) {
    .webwrapper {
        width: 1400px;
    }

    .box_corner .textwrapper {
        padding: 100px 100px 150px 100px;
    }

    .box_corner .textwrapper.shortbottom {
        padding-bottom: 0;
    }
}

@media(max-width: 1040px) {
    #footer .footer_grid {
        grid-gap: 25px;
    }

    #footer ul li a,
    #footer p {
        font-size: 14px;
    }

    #footer .footer_grid {
        grid-template-columns: 1fr 2fr;
    }

    #header {
        padding: 25px 0;
    }

    #header .mobile_menu {
        display: none;
        position: absolute;
        top: 60px;
        right: -20px;
        background: white;
        width: calc(100% - 40px);
        padding: 20px;
        z-index: 20;
    }

    #header .mobile_menu li {
        display: block;
        padding: 10px 0;
        margin: 0;
        border-top: 1px solid var(--primary-color);
        width: 100%;
    }

    #header .mobile_menu li a {
        font-size: 14px;
    }

    #header .burger {
        position: absolute;
        top: 50%;
        right: 0px;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;

    }

    #header .burger>div {
        position: absolute;
        top: 50%;
        border-top: 1px solid var(--secondary-color);
        width: 100%;
        left: 0;
    }

    #header .burger>div:nth-child(1) {
        transform: translateY(-8px);
    }

    #header .burger>div:nth-child(2) {
        transform: translateY(0px);
    }

    #header .burger>div:nth-child(3) {
        transform: translateY(8px);
    }

}


.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    width: 100%;
    background: transparent;
    border: 0px none;
    border-bottom: 1px solid var(--secondary-color);
}

.gform_wrapper textarea {
    width: 100%;
    background: transparent;
    border: 0px none;
    border-bottom: 1px solid var(--secondary-color);
}

@media(max-width: 840px) {


    #footer .footer_grid .grid_1_1,
    .grid_1_1_1 {
        grid-template-columns: 1fr;
    }

    .grid_4_6 {
        grid-template-columns: 1fr;
    }

    #footer .footer_grid {
        grid-template-columns: 1fr;
    }
}