.dialog-overlay {
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
}

.dialog-overlay .dialog-box {
    display: block;
    position: absolute;
    margin: auto;
    top: 50%;
    left: 50%;
    opacity: 0;
    background: none;
}

.dialog-overlay .dialog-box .content {
    display: block;
    padding: 0;
    background: none;
}

.dialog-overlay .dialog-box .content:before,
.dialog-overlay .dialog-box .content:after {
    display: none;
}

.dialog-overlay .dialog-box .content h2 {
    display: block;
    padding: 0 30px;
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #264b5f;
    background: #FFF;
}

.dialog-overlay .dialog-box .content p {
    font-size: 11px;
    color: #666;
    padding: 0;
    margin: 0;
}

.dialog-overlay .dialog-box .content form {
    padding-top: 5px;
    display: block;
    width: 400px;
}

.dialog-overlay .dialog-box .content form .row {
    margin: 0 -5px;
}

.dialog-overlay .dialog-box .content form .row fieldset {
    padding: 5px;
}

.dialog-overlay .dialog-box .content form .row fieldset a.skip {
    display: block;
    width: 100%;
    height: 42px;
    font: 21px/42px "Unisans", sans-serif;
    color: #666;
    background: none;
    border: none;
    text-align: center;
}

.dialog-overlay .dialog-box .content form .row fieldset a.skip:hover {
    color: #FFF;
    text-decoration: none;
}

.dialog-overlay .dialog-box .content form .row fieldset input[type=submit] {
    display: block;
    width: 100%;
    height: 42px;
    font: 21px "Unisans", sans-serif;
    color: #0077cc;
    background: none;
    border: none;
}

.dialog-overlay .dialog-box .content form .row fieldset input[type=submit]:hover {
    color: #183152;
}

.dialog-overlay .dialog-box .content form .row fieldset input[type=checkbox] {
    position: relative;
    visibility: hidden;
    width: 20px;
    height: 20px;
    margin: 11px 0;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.dialog-overlay .dialog-box .content form .row fieldset input[type=checkbox]:before {
    display: block;
    width: 20px;
    height: 20px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: #c4c5c3;
    content: "";
    visibility: visible;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
}

.dialog-overlay .dialog-box .content form .row fieldset input[type=checkbox]:checked:after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    background: #b40010;
    content: "";
    z-index: 2;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    visibility: visible;
}

.dialog-overlay .dialog-box .content form .row fieldset label {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    font: 13px PT Sans;
    color: #FFF;
    margin-top: 3px;
}


/* close button */
.dialog-overlay .dialog-box .close-button {
    bottom: 100%;
    margin-bottom: 10px;
    width: 80px;
    right: 0;
    font-size: 11px;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    position: absolute;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.dialog-overlay .dialog-box .close-button:before {
    content: "x";
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 7px;
    color: #fff;
    background: #414141;
    text-align: center;
    line-height: 20px;
}

.dialog-overlay .dialog-box .close-button:after {
    content: "Fechar";
}

.dialog-overlay .dialog-box .close-button:hover:before {
    background: #5d5f68;
}

.alertSite .dialog-overlay .dialog-box {
    top: -9999px;
    left: -9999px;
    right: -9999px;
    bottom: -9999px;
    margin: auto !important;
    width: 30%;
    height: 190px;
}

.alertSite .dialog-overlay .dialog-box .content form {
    width: 100%;
}

/*LEAD BOX*/
.lead-overlay,
.lead-overlay-2 {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 999999;
    width: 0;
    height: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: 0.3s;
    font-family: Muli, Helvetica, Arial, sans-serif;
}

.lead-overlay.active,
.lead-overlay-2.active {
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

/*box*/
.lead-overlay .lead-popup,
.lead-overlay-2 .lead-popup {
    width: 340px;
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 110px 30px 30px 30px;
    background: #ebebeb;
}

/*header*/
.lead-overlay .lead-popup:before,
.lead-overlay-2 .lead-popup:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: #0f2440 url('https://www.marcanni.com.br/images/actwork/lead.jpg') no-repeat center;
    background-size: auto;
}

/*title*/
.lead-overlay span.title,
.lead-overlay-2 span.title {
    font-size: 22px;
    font-weight: 600;
    color: #333333;
    padding: 0;
    margin: 20px 0 5px 0;
    display: block;
    text-align: center;
}

/*text (paragraph)*/
.lead-overlay p,
.lead-overlay-2 p {
    font-size: 11px;
    color: #666;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: center;
}

/*form*/
.lead-overlay form,
.lead-overlay-2 form {
    margin-bottom: 0;
}

.lead-overlay form .form,
.lead-overlay-2 form .form {
    /* display: block;
    width: 100%;
    margin: 15px auto 0 auto; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0px auto 0 auto;
}

.lead-overlay form .form .buttons-grid,
.lead-overlay-2 form .form .buttons-grid{
    display: flex;
    justify-content: center;
    align-items: baseline;
}

/*input text*/
.lead-overlay form .form input[type=text],
.lead-overlay form .form input[type=email],
.lead-overlay form .form select,
.lead-overlay-2 .form input[type=text],
.lead-overlay-2 .form select {
    display: block;
    width: 100%;
    height: 45px;
    border: 1px solid #ebebeb;
    padding: 0 20px;
    font-size: 14px;
    color: #666;
    background: #FFF;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 10px;
    outline: none;
    border-radius: 5px;
    border: 1px solid #CCC;
    outline: none;
}

.lead-overlay form .form input[type=text]::placeholder,
.lead-overlay form .form input[type=email]::placeholder {
    color: #808080 !important;
    opacity: 1; 
}

.lead-overlay form .form input:focus {
    color: #666 !important;
    background: #FFF !important;
}

/*grid for form buttons*/
.lead-overlay form .form .buttons-grid {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.lead-overlay-2 .form .buttons-grid {
    display: flex;
    align-items: center;
    
}

/*submit button*/
.lead-overlay form .form .buttons-grid input[type=submit],
.lead-overlay-2 form .form .buttons-grid input[type=submit] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    height: 45px;
    border: none;
    font-weight: 700;
    font-size: 14px !important;
    color: #fff;
    background: #414141;
    outline: none;
    border-radius: 5px;
    margin: -46px 30px -45px 0 !important;
    cursor: pointer;
}

.lead-overlay form .form .buttons-grid input[type=submit]:hover,
.lead-overlay-2 form .form .buttons-grid input[type=submit]:hover {
    color: #fff;
    background: #5d5f68;
}

/*skip button*/
.lead-overlay form .form .buttons-grid .skip,
.lead-overlay-2 form .form .buttons-grid .skip {
    font-size: 14px;
    line-height: 45px;
    margin-top: 0;
    padding: 0 15px;
    color: #666;
    text-decoration: none;
}

/*validate*/
.lead-overlay form .form input[type=text].error,
.lead-overlay form .form input[type=email].error,
.lead-overlay form .form textarea.error,
.lead-overlay form .form select.error,
.lead-overlay-2 .form input[type=text].error,
.lead-overlay-2 .form textarea.error,
.lead-overlay-2 .form select.error {
    background: #F8DBDB !important;
    border: 1px solid #E77776 !important;
}

/* close button */
.lead-overlay .lead-popup .close-button,
.lead-overlay-2 .lead-popup .close-button {
    bottom: -40px;
    width: 80px;
    left: 50%;
    margin-left: -40px;
    font-size: 11px;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    position: absolute;
    cursor: pointer;
}

.lead-overlay .lead-popup .close-button:before,
.lead-overlay-2 .lead-popup .close-button:before {
    content: "x";
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 7px;
    color: #fff;
    background: #414141;
    text-align: center;
    line-height: 20px;
}

.lead-overlay .lead-popup .close-button:hover:before,
.lead-overlay-2 .lead-popup .close-button:hover:before {
    color: #fff;
    background: #5d5f68;
}

/*mobile responsive*/
@media only screen and (max-device-width: 736px) {

    .dialog-overlay .dialog-box .content iframe {
        max-width: calc(100vw - 40px);
        max-height:  calc(((100vw - 40px) * 9) / 16);
    }

    .lead-overlay .lead-popup,
    .lead-overlay-2 .lead-popup {
        width: calc(100vw - 40px);
        padding: 90px 20px 20px 20px;
    }

    .lead-overlay form .form .buttons-grid input[type=submit]:hover,
    .lead-overlay form .form .buttons-grid input[type=submit]:hover {
        color: #fff;
        background: #5d5f68;
    }
}

/* whatsapp Inicio */

@-webkit-keyframes ion-animate-spin {
    0% 
    {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); 
    }
    100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg); 
    } 
}

@keyframes ion-animate-spin {
    0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); 
    }
    100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg); 
    } 
}

@font-face {
    font-family: 'Poppins';
    font-display: swap;
    font-style: normal;
    font-weight: 300;
    src: local("Poppins Light"), local("Poppins-Light"), url(https://fonts.gstatic.com/s/poppins/v9/pxiByp8kv8JHgFVrLDz8Z1xlEw.woff) format("woff"); 
}

@font-face {
    font-family: 'Poppins';
    font-display: swap;
    font-style: normal;
    font-weight: 400;
    src: local("Poppins Regular"), local("Poppins-Regular"), url(https://fonts.gstatic.com/s/poppins/v9/pxiEyp8kv8JHgFVrJJfedA.woff) format("woff"); 
}

@font-face {
    font-family: 'Poppins';
    font-display: swap;
    font-style: normal;
    font-weight: 700;
    src: local("Poppins Bold"), local("Poppins-Bold"), url(https://fonts.gstatic.com/s/poppins/v9/pxiByp8kv8JHgFVrLCz7Z1xlEw.woff) format("woff"); 
}

.whats-pop-up {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 0%;
    height: 0%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    overflow: hidden;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    box-sizing: border-box; 
}

.whats-pop-up * {
    box-sizing: border-box; 
}

.whats-pop-up .box {
    max-width: 350px;
    width: calc(100vw - 40px); 
}

.whats-pop-up .box .header {
    width: 100%; 
}

.whats-pop-up .box .grid {
    position: relative; 
}

.whats-pop-up .box .grid fieldset {
    border:none;
    margin:0;
}

.whats-pop-up .box .grid fieldset:first-of-type {
    padding-top: 0; 
}

.whats-pop-up .box .grid fieldset:last-of-type {
    padding-bottom: 0; 
}

.whats-pop-up .box .grid fieldset input[type='text'],
.whats-pop-up .box .grid fieldset input[type='email'] {
    width: 100%;
    height: 40px;
    border: none;
    background: none;
    color: #808080;
    outline: none; 
}

.whats-pop-up .box .grid fieldset input[type='submit'] {
    margin:0 !important;
    position:static !important;
    letter-spacing:0 !Important;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    outline: none; 
}

.whats-pop-up .box .grid fieldset ::-webkit-input-placeholder {
    color: #808080; 
}

.whats-pop-up .box .grid fieldset :-moz-placeholder {
    color: #808080;
    opacity: 1; 
}

.whats-pop-up .box .grid fieldset ::-moz-placeholder {
    color: #808080;
    opacity: 1; 
}

.whats-pop-up .box .grid fieldset :-ms-input-placeholder {
    color: #808080; 
}

.whats-pop-up .box .grid fieldset ::-ms-input-placeholder {
    color: #808080; 
}

.whats-pop-up .box .grid fieldset input[type='text'] ::placeholder,
.whats-pop-up .box .grid fieldset input[type='email'] ::placeholder {
    color: #808080;
    opacity: 1; 
}

.whats-pop-up .box .grid .skip-button {
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -40px;
    margin-top: 20px;
    width: 80px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 11px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    border-radius: 50px; 
}
    
.whats-pop-up.android {
    background: rgba(255, 255, 255, 0.95); 
}

.whats-pop-up.android .box {
    -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 20px;
    -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 20px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 20px; 
}

.whats-pop-up.android .box .header {
    height: 80px;
    background: #075e55;
    display: flex;
    align-items: center;
    padding: 0 15px;
    -webkit-border-top-left-radius: 3px;
    -moz-border-radius-topleft: 3px;
    border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -moz-border-radius-topright: 3px;
    border-top-right-radius: 3px; 
}
    
.whats-pop-up.android .box .header:before {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    background: url('https://www.marcanni.com.br/images/actwork/whatsapp.png') no-repeat center;
    background-size: contain;
    margin-right: 10px; 
}
    
.whats-pop-up.android .box .header .title {
    color: #FFF;
    font-size: 16px;
    display: block;
    flex: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden; 
}

.whats-pop-up.android .box .grid {
    padding: 20px 30px;
    background: #fafafa;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-radius-bottomright: 3px;
    border-bottom-right-radius: 3px; 
}

.whats-pop-up.android .box .grid fieldset {
    border:none !important;
    padding: 5px; 
}

.whats-pop-up.android .box .grid fieldset input[type='text'],
.whats-pop-up.android .box .grid fieldset input[type='email'] {
    -webkit-border-radius: none;
    -moz-border-radius: none;
    -ms-border-radius: none;
    border-radius: none;
    border-bottom: 2px solid #075e55;
    font-size: 15px; 
}
        
        
.whats-pop-up.android .box .grid fieldset input[type='submit'] {
    height: 40px;
    padding: 0 10px;
    color: #FFF;
    font-size: 11px !important;
    float: right;
    display: block;
    cursor: pointer;
    margin-top: 5px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
    background: #0ed459;
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 6px;
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 6px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 6px;
}

.whats-pop-up fieldset .skip {
    font-size: 13px;
    line-height: 45px;
    margin-top: 0;
    padding: 0 15px;
    color: #666;
    text-decoration: none;
}

.whats-pop-up.android .box .grid fieldset input[type='submit']:hover {
    background: #075e55; 
}

.whats-pop-up .box .grid fieldset .checkbox {
    display: flex;
    flex-direction: column; }
    .whats-pop-up .box .grid fieldset .checkbox p {
    display: flex;
    align-items: center;
    justify-content: center;
    color: gray;
    line-height: 15px;
    font-size: 11px;
    font-weight: 400;
    margin: 0 0 7px;
    text-align: center; }
    .whats-pop-up .box .grid fieldset .checkbox .radio-box {
    display: flex;
    justify-content: center;
    align-items: center; }
    .whats-pop-up .box .grid fieldset .checkbox .radio-box input[type='radio'] {
        position: absolute;
        left: -999999px; }
        .whats-pop-up .box .grid fieldset .checkbox .radio-box input[type='radio'] + label {
        display: flex;
        align-items: center;
        color: #808080;
        font-weight: 300;
        font-size: 11px;
        cursor: pointer; 
        width: 70px;}
        .whats-pop-up .box .grid fieldset .checkbox .radio-box input[type='radio'] + label:before {
            flex: none;
            width: 20px;
            height: 20px;
            background: #075e55;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0;
            font-family: 'Font Awesome 5 Free';
            color: #FFF;
            content: "\f14a";
            margin: 0 5px; }
        .whats-pop-up .box .grid fieldset .checkbox .radio-box input[type='radio']:checked + label:before {
        font-size: 25px; }
.whats-pop-up .box .grid fieldset .policy {
    display: block;
    color: #808080;
    font-size: 11px;
    line-height: 15px;
    text-align: center;
    font-weight: 300;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #075e55; }
    .whats-pop-up .box .grid fieldset .policy a {
    font-size: 11px;
    text-decoration: underline;
    color: #808080; }
    .whats-pop-up .box .grid fieldset .policy a:hover {
        color: #075e55; }

.whats-pop-up.android .box .grid .skip-button {
    color: #FFF;
    background: #CCC;
    cursor: default; 
}

.whats-pop-up.ios {
    background: rgba(0, 0, 0, 0.85); 
}

.whats-pop-up.ios .box {
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    border-radius: 25px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 3px;
    -moz-box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 3px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 3px; 
}

.whats-pop-up.ios .box .header {
    padding: 0 25px;
    background: #FFF;
    position: relative;
    -webkit-border-top-left-radius: 25px;
    -moz-border-radius-topleft: 25px;
    border-top-left-radius: 25px;
    -webkit-border-top-right-radius: 25px;
    -moz-border-radius-topright: 25px;
    border-top-right-radius: 25px;
    border-bottom: 1px solid #eaeaea; 
}

.whats-pop-up.ios .box .header:before {
    content: "";
    width: 30px;
    height: 30px;
    background: url('https://www.marcanni.com.br/images/actwork/whatsapp-ios.png') no-repeat center;
    background-size: contain;
    position: absolute;
    bottom: 100%;
    left: 25px;
    margin-bottom: 10px; 
}

.whats-pop-up.ios .box .header:after {
    position: absolute;
    bottom: 100%;
    margin-bottom: 10px;
    height: 30px;
    display: flex;
    align-items: center;
    left: 65px;
    color: #FFF;
    font-size: 14px;
    content: "WhatsApp"; 
}
        
.whats-pop-up.ios .box .header .title {
    color: #000;
    font-size: 21px;
    line-height: 26px;
    font-weight: 700;
    white-space: normal;
    text-overflow: clip;
    overflow: visible;
    padding: 20px 0; 
}
    
.whats-pop-up.ios .box .grid {
    -webkit-border-bottom-left-radius: 25px;
    -moz-border-radius-bottomleft: 25px;
    border-bottom-left-radius: 25px;
    -webkit-border-bottom-right-radius: 25px;
    -moz-border-radius-bottomright: 25px;
    border-bottom-right-radius: 25px;
    padding-top: 20px;
    background: rgba(255, 255, 255, 0.95); 
}

.whats-pop-up.ios .box .grid fieldset {
    border:none;
    padding: 5px 25px; 
}
    
.whats-pop-up.ios .box .grid fieldset input[type='text'],
.whats-pop-up.ios .box .grid fieldset input[type='email'] {
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    border-radius: 50px;
    border: 1px solid #eaeaea;
    background: #FFF;
    padding: 0 15px;
    font-size: 13px; 
}

.whats-pop-up.ios .box .grid fieldset:last-of-type {
    padding-left: 0;
    padding-right: 0; 
}

.whats-pop-up.ios .box .grid fieldset:last-of-type input[type='submit'] {
    float: none;
    height: 45px;
    border-top: 1px solid #e2e2e2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    outline: none;
    margin-top: 15px;
    box-shadow: none;
    color: #157efa;
    font-size: 13px; 
}
        
.whats-pop-up.ios .box .grid .skip-button {
    color: #000;
    background: rgba(255, 255, 255, 0.3); 
}

.whats-pop-up.active {
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    opacity: 1; 
}

.clear {
    clear:both;
}

#button-footer {
    width: 100%;
    position: fixed;
    bottom:10px;
    z-index: 4
}

#ancora, #whatsapp {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;      
}

.green a, .green a:hover   {
    color: #339a12!important;
}

/* whatsapp Fim */