body  {
    font-family: 'Open Sans', sans-serif;
    /*--color-2: #506876;*/
    --color-2: #009CDE;
    --primary: #343434;
    --text: #828282;
}

h2 {
    color: var(--primary);
    margin-bottom: 20px;
}
p {
    color: var(--text);
}
h3 strong {

    font-weight: 800;
}

h1 {
    font-size: 0;
    opacity: 0;
    z-index: -1;
    text-indent: -99em;
    position: absolute;
    left: -100vw;
}
p {
    font-size: 16px;
}

h2 strong {
    color: white;
    font-weight: 800;
    padding: 0 10px;
    background: var(--color-2);
}

/*DIALOG*/
#cartela input:focus {
    outline: none !important;
}

form small {
    position: absolute;
    bottom: 0px;
    transform: translate(0%, 120%);
    font-size: 11px;
    color: var(--color-2);
    font-weight: 700;
}

#cartela .alert {
    width: 824px !important;
    border-radius: 0 !important;
    padding: 0 !important;
}


#cartela .d_header {

    background: url(../images/box.jpg);
}

#cartela .d_header p {
    color: white;
    text-align: center;
    font-weight: 400;
}

#cartela .d_header p strong {
    font-weight: 700;
}

#cartela .dialog_body {
    font-size: 0;
}

#cartela .w6 {
    display: inline-block;
    width: 50%;
    vertical-align: middle;
}

#cartela .d_header {
    padding: 107px 70px;
    background-size: cover !important;
    background-position: center center !important;
}

#cartela svg#icon-close {
    fill: white;
}


form span:before {
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    right: -8px;
    top: -8px;
    border-radius: 50%;
    border: solid white 2px;
    pointer-events: none;
    background-color: transparent;
    transform: scale(0) rotate(45deg);
    transition: 0.5s all;
    background-repeat: no-repeat;
    background-position: center;
}

form span.invalid:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' id='icon-clear' viewBox='0 0 24 24'%3E%3Ctitle%3Eclear%3C/title%3E%3Cpath d='M18.984 6.422l-5.578 5.578 5.578 5.578-1.406 1.406-5.578-5.578-5.578 5.578-1.406-1.406 5.578-5.578-5.578-5.578 1.406-1.406 5.578 5.578 5.578-5.578z' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E");
    background-color: #ee3200;
    transform: scale(1) rotate(0deg);
}

form span.invalid {
    border: 2px solid #ee3200 !important;
}


form span.invalid ~ label {
    color: #ee3200;
}

form span.valid:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' id='icon-check' viewBox='0 0 32 32'%3E%3Ctitle%3Echeck%3C/title%3E%3Cpath d='M28.998 8.531l-2.134-2.134c-0.394-0.393-1.030-0.393-1.423 0l-12.795 12.795-6.086-6.13c-0.393-0.393-1.029-0.393-1.423 0l-2.134 2.134c-0.393 0.394-0.393 1.030 0 1.423l8.924 8.984c0.393 0.393 1.030 0.393 1.423 0l15.648-15.649c0.393-0.392 0.393-1.030 0-1.423z' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E");
    background-color: #19bb00;
    transform: scale(1) rotate(0deg);
    background-size: 12px;
}

form span.valid {
    border: 2px solid #19bb00 !important;
}

#cartela span.valid ~ label {
    color: #19bb00;
}
#cartela h2 {
    font-size: 25px;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #0acfc0;
    margin-bottom: 30px;
}

#cartela h2 strong {
    font-size: 30px;
    font-weight: 800;
    font-family: 'Open Sans', sans-serif;
    color: #ffa441;
}

#cartela ul {
    list-style: none;
    padding: 0;
}

#cartela ul li {
    position: relative;
}

#cartela ul li:before {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

#cartela ul li {
    font-size: 15px;
    color: white;
    font-weight: 600;
    font-family: 'avenirbook', sans-serif;
    display: inline-flex;
    line-height: 1.2;
    margin-bottom: 20px;
}

#cartela h3 {
    line-height: 1;
    text-align: center;
    font-size: 30px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    color: var(--color-2);
    margin-bottom: 30px;
}

#cartela h3 strong {
    color: white;
    font-size: 30px;
    background: var(--color-2);
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    display: inline-block;
    padding: 3px 10px;
}

form {
    position: relative;
}

form.loading {
    overflow: hidden;
    pointer-events: none;
}

form.loading:before {
    content: '';
    display: block;
    z-index: 999;
    background: white;
    opacity: 0.6;
    pointer-events: none;
    width: 120%;
    position: absolute;
    left: 0px;
    height: 110%;
    margin: auto;
    top: -20px;
    bottom: 0;
    right: 0;
}

form.loading:after {
    content: '';
    display: block;
    height: 40px;
    width: 40px;
    border: 6px solid transparent;
    border-right: 6px solid var(--color-2) !important;
    border-radius: 50% !important;
    animation: cf7_loading 1s infinite linear;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    margin: auto;
    z-index: 9999;
}

#cartela .w6.d_form {
    padding: 0 60px;
}

form .w12 {
    position: relative;
    display: block;
    width: 100%;
}

form .w12 label {
    color: var(--color-2);
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    background: white;
    position: absolute;
    top: -6px;
    z-index: 99;
    left: 10px;
    line-height: 1;
    padding: 0 4px;
}
form .w12 span:not(.wpcf7-not-valid-tip) {
    border-radius: 3px;
    border: 2px solid var(--color-2);
    width: 100%;
    position: relative;
    display: block;
    margin-bottom: 25px;
}

#cartela span small {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -20px;
    font-size: 11px;
    color: var(--color-2);
    font-weight: 700;
}

.w12 input:not([type=submit]) {
    font-size: 16px;
    background: transparent;
    border: 0;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    padding: 10px 15px 6px;
}

#cartela a.share {
    text-align: center;
    display: block;
    font-weight: 700;
    font-size: 16px;
    color: white;
    border: 1px solid white;
    padding: 7px 10px;
    margin-top: 40px;
    border-radius: 6px;
}

#cartela a.share span {
    content: url(../images/svg/share.svg);
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

#cartela .d_form input[type=submit] {
    margin-top: 50px;
    margin-bottom: 40px;
    border-radius: 4px;
    background-color: var(--color-2);
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-weight: 900;
    padding: 7px;
    font-size: 15px;
    text-align: center;
    display: block;
    width: 100%;
    border: 0;
}


#cartela .dialog_footer {
    padding: 0 !important;
}


@media (max-width: 800px) {
    #cartela .dialog_body .w6 {
        display: block;
        width: 100%;
    }

    #cartela .d_header {
        padding: 30px 20px 5px;
    }

    #cartela h2 {
        text-align: center;
        font-size: 20px;
        margin-bottom: 10px;
    }

    #cartela h2 strong {
        font-size: 25px;
    }

    #cartela ul li {
        font-size: 14px;
        margin-bottom: 10px;
    }

    #cartela .d_form h3 {
        font-size: 20px;
        margin-bottom: 10px;
        padding-top: 10px;
    }

    #cartela h3 strong {
        font-size: 25px;
    }

    #cartela .w6.d_form {
        padding: 0 30px;
    }
}

#content h2 {
    font-size: 50px;
    font-weight: 700;
    color: var(--primary);
}
#content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
}

#content h3 strong {
    color: var(--color-2);
}

a.download {
    transition: 0.3s all;
    font-weight: 700;
    color: white;
    font-size: 16px;
    background: var(--color-2);
    padding: 8px 55px !important;
    display: inline-block;
    border-radius: 6px;
}

a.download:hover {
    background: var(--primary);
}

#content {
    font-size: 0;
}

.inner {
    width: calc(1000px / 2);
    margin-left: auto;
}

#content .left, #content .right {
    display: inline-block;
    width: 55%;
    margin-left: auto;
    position: relative;
    vertical-align: top;
}

#content .left {
    min-height: 100vh;
    padding-right: 70px;
}


#content .right {
    width: 45%;
    position: relative;
    min-height: 115vh;
    z-index: 1;
    background: white;
}

#content .right .inner {
    width: calc(1030px / 2);
    margin-left: auto;
    padding-right: 60px;
}

#content .right img {
    position: absolute;
    top: 0;
    right: 0;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

div#social a {
    color: #00567c;
    fill: currentColor;
    margin-left: 5px;
}

div#social a svg {
    vertical-align: middle;
}

div#social {
    float: right;
    padding: 9px 0;
}

footer .logo {
    float: left;
    padding: 0 0;
}

footer .logo img {
    display: block;
}

footer#footer {
    border-top: 1px solid #ddd;
    padding: 40px 0;
}

footer#footer:after {
    content: '';
    display: block;
    clear: both;
}

#content .right:before {
    content: '';
    background-image: url(../images/emsbg2.jpg);
    display: block;
    position: absolute;
    width: 100%;
    right: 1px;
    top: 0;
    height: 100%;
    z-index: 999;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #FFF;
    background-position: top right;
    top: 0;
}

@media screen and (min-width: 1101px) {
    #content .logo {
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 12;
        left: 0;
        padding: 8px 0;
        transition: 0.5s all;
    }
    #content .logo a{
        display:block;
        margin: auto;
        width: 90%;
        max-width: 1000px;
    }

    .scrolled #content .logo {
        background: #fff;
        box-shadow: 0 0 15px 0 #00000038;
    }
    #content .left{
        padding-top: calc(88px - 15vh);
    }
    #content .left {
    position: relative;
    z-index: 9;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    float: left;
}

}
