/* Custom properies */
:root {
    --btn-secondary: #88ff50;
    --btn-hover-second: #73ea3c;
    --color-black: #1B1B1B;
    --color-text: #1E1E1E;
    --shadow-btn: 0px 4px 4px rgba(0, 0, 0, 0.25);
}


/*Sections*/

.content-start{
    margin-top: 3rem; 
}

.btn-main{
    color: var(--color-black);
    text-transform: uppercase;
	font-weight: 600;
    line-height: 1.5;
    background-color: var(--btn-secondary);
    padding: 1rem 2rem;
    border-radius: 0;
}

.btn-main:hover{
    color: var(--color-black);
    background-color: var(--btn-hover-second);
}

.btn-arrow-after:after{
    content: '';
}

/*Cta fixed*/
.fixed-cta {
    display: none;
    position: fixed;
    bottom: 4%;
    left: 0;
    z-index: 10000;
    transition: .5s ease-out all;
}

.fixed-cta a{
    display: inline-block;
    background-color: var(--btn-secondary);
    color: #fff;
    border-radius: 0;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .025em;
    min-width: 13vw;
    text-align: center;
    box-shadow: var(--shadow-btn);
}

.fixed-cta a:hover{
    background-color: var(--btn-hover-second);
    color: var(--color-black);
}


.myloader{
    text-align: center;
    margin: 2rem auto 0;    
}

.form-send-ok,
.form-send-ko{
    max-width: 700px;
    text-align: center;
    padding: 1rem;
    margin: 2rem auto 0;
    border-radius: .25rem;
    border-width: 0 0 4px 0;
    border-style: solid;
}

.form-send-ok > p,
.form-send-ko > p{
    font-size: 1rem;
    margin-bottom: 0;
}

.form-send-ok{
    background-color: #e4fbe3;
    border-color: #84e281;
}

.form-send-ko{
    background-color: #ffd5d1;
    border-color: #ff867b;
}

/*FORM AJAX*/

#devform{
    transition: all 200ms ease 0s, visibility 0s linear 0s;
    background: rgba(0, 0, 0, 0.90);
    position: fixed;
    overflow: auto;
    inset: 0px;
    z-index: 99999;
    min-height: 100%;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
}

.form-popup-overlay {
    visibility: visible;
    opacity: 1;
    background-color: #fff;
    background-image: url('https://depositosdegasoil.net/wp-content/plugins/progress-form/assets/img/bg-form.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 1rem;
    max-width: 100%;
    z-index: 10001;
    min-width: 360px;
    min-height: 360px;
    height: calc(100% - 80px);
    width: calc(100% - 80px);
    position: relative;
    transition: all 300ms ease-out 0s;
}

.form-popup-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    height: 100%;
}

.body-open-modal{
    overflow: hidden!important;
}

.content-welcome{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-popup-container .text-welcome{
    font-size: 1.4rem;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 0;
}

.form-popup-container .text-enter{
    display: block;
    font-size: .875rem;
    text-align: center;
    margin-top: 1rem;
}

.step-footer .text-enter{
    display: inline-block;
}

.icon-close{
    position: absolute;
    background-color: transparent;
    filter: invert(1);
    padding: 8px;
    cursor: pointer;
    width: initial;
    max-width: initial;
    top: 10px;
    right: 10px;
}

.icon-close:after{
    content: '';
    display: inline-block;
    background-image: url('https://depositosdegasoil.net/wp-content/plugins/progress-form/assets/img/icon-close.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 30px;
    height: 30px;
    transition: transform .2s ease-in-out;
}

.icon-close:hover:after{
    transform: scale(1.2);
}

.buttons-navigation {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    column-gap: 1px;
}

.btn_nav_next, .btn_nav_prev {
    display: flex;
    padding: 0.4rem;
    color: var(--color-text);
    background-color: #CFE7C5;
    border: 0;
    transition: background-color .2s ease-in-out;
    cursor: pointer;
}

.btn_nav_next:hover:not([disabled]),
.btn_nav_prev:hover:not([disabled]){
    background-color: #b1d2a3;
}

.btn_nav_next:hover, .btn_nav_prev:hover,
.btn_nav_next:focus, .btn_nav_next:active,
.btn_nav_prev:focus, .btn_nav_prev:active{
	background-color: #b1d2a3;
    outline: 0;
}

.buttons-navigation.disable{
    opacity: 0;
    pointer-events: none;
}

.buttons-navigation.enable{
    opacity: 1;
    pointer-events: initial;
    transition: opacity .5s ease-in-out;
}

.btn_nav_next:before,
.btn_nav_prev:before {
    content: '';
    background-image: url('https://depositosdegasoil.net/wp-content/plugins/progress-form/assets/img/top-arrow.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: invert(1);
    display: block;
    width: 25px;
    height: 25px;
    font-weight: 500;
    transition: transform .2s ease-in-out;
}

.btn_nav_next:before{
    transform: rotate(180deg);
}

.fade-in-div {
    animation: fadeIn 1s;
}

/*Formulario pasos*/

#content-form {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.form-register{
    width: 100%;
    height: 100%;
}

.step-header{
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.step-header i{
    font-size: 14px;
    margin: 0 0.5rem;
}

.step-header .subtitle{
    display: block;
    font-size: 1.2rem;
    color: rgba(60, 60, 60, 0.7);
    margin-top: 0.5rem;
}

.step-header .textfeatured{
    font-size: 1.4rem;
    color: inherit;
    margin-top: 0;
}

.step-subheader p{
    font-size: 0.8rem;
    font-weight: 500;
}

.step-body{
    margin-bottom: 2rem;
}

.step-body input[type="email"],
.step-body input[type="tel"],
.step-body input[type="text"] {
    width: 100%;
    min-height: 40px;
    font-size: 1.5rem;
    color: var(--color-black);
    background-color: transparent!important;
    border: 0!important;
    padding: 0;
    border-bottom: 1px solid #9d9d9d!important;
}

.step-body input[type="checkbox"]{
    width: auto;
}

.step-body input:active,
.step-body input:focus,
.step-body input:focus-visible{
    border: 0;
    outline: 0;
    border-bottom: 2px solid #000;
}

.step-body input::placeholder{
    font-size: 1.3rem;
    color: #b5b5b5;
}


.step-body input:-webkit-autofill,
.step-body input:-webkit-autofill:hover,
.step-body input:-webkit-autofill:focus {
  /* Cambiar el borde y la apariencia */
  border-color: #e7e7e7 !important;
  box-shadow: 0 0 0px 1000px #e7e7e7 inset !important;
}

.step-body .step-contact:not(:last-child) {
    margin-bottom: 1.5rem;
}

.form-body{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.step {
    /* border: 1px solid #ddd; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 100%;
    min-height: 100%;
    opacity: 0;
    transition: all .4s ease-in-out;
}

.step.active{
    opacity: 1;
    z-index: 1;
}

.step.to-left{
    min-height: 0;
}

.step-button {
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.5;
    background-color: var(--btn-secondary);
    padding: .5rem 2rem;
    border: 0;
    border-radius: 0;
    transition: background-color .2s ease-in-out;
    cursor: pointer;
}

.step-button:hover,
.step-button:active,
.step-button:focus{
    background-color: var(--btn-hover-second);
}

.step-button:focus{
    outline: 0;
}

.btn_nav_next:disabled,
.step-button:disabled{
    opacity: .7;
    cursor: not-allowed;
}

.step-button i{
    padding-left: 0.4rem;
}

.content-group-options{
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
}

.group-option {
    position: relative;
    width: calc(50% - 8px);
    margin-bottom: 8px;
    margin-right: 8px;
    padding-left: 1px;
    height: 100%;
}

.group-option.fivecolumns{
    width: calc(20% - 8px);
}

.group-option label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    min-height: 60px;
    padding: 0.5rem;
    font-weight: 500;
    border-radius: 0.2rem;
    background-color: rgba(190, 190, 190, 0.1);
    border: 1px solid #787878;
    margin: 0;
    cursor: pointer;
    transition: background-color .2s ease;
}

.group-option.fivecolumns label{
    justify-content: center;
    min-height: 50px;
}

.option-letter{
    text-align: center;
    width: 24px;
    min-width: 22px;
    height: 24px;
    font-size: 12px;
    line-height: 22px;
    background-color: rgba(235, 240, 242, 0.8);
    border: 1px solid;
    align-self: flex-start;
    margin-right: 5px;
}

.group-option label > i{
    opacity: 0;
    padding: 0px 12px 0px 20px;
}

.group-option input[type="checkbox"]{
    position: absolute;
    top: 0;
    opacity: 0;
}

.group-option label:hover{
    background-color: rgba(60, 60, 60, 0.3);
}

.group-option input[type="checkbox"]:checked ~ label{
    background-color: rgba(60, 60, 60, 0.3);
    outline: 1px solid;
}

.group-option input[type="checkbox"]:checked ~ label > i{
    opacity: 1;
}

.group-option input[type="checkbox"]:checked ~ label > .option-letter{
    color: rgb(239, 243, 245);
    background-color: rgb(60, 60, 60);
    border-color: rgb(60, 60, 60);
}

.group-option.fivecolumns input[type="checkbox"]:checked ~ label{
    background-color: rgb(60 60 60 / 85%);
    font-weight: 700;
    color: #fff;
}

#contactphone ~ label {
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1;
    border: solid 3px #474545;
}

.group-option .price{
    display: block;
    text-align: center;
    margin-top: 0.875rem;
}

.step-footer .step-button-back{
    display: none;
}

.none{
    display: none;
}

.contact-form-error{
    font-size: .8rem;
}

.contact-form-error.is-active {
    display: inline-block;
    margin-top: .5rem;
    background-color: rgb(247, 230, 230);
    color: rgb(175, 4, 4);
    animation: show-message 1s 1 normal 0s ease-out both;
}

.message-send-ko,
.message-send-ok,
#loader{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.message-send-ko > p,
.message-send-ok > p{
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes show-message{
    0%{
        visibility: hidden;
        opacity: 0;
    }

    100%{
        visibility: visible;
        opacity: 1;
    }

}

/*Media queries*/

@media (max-width: 992px) {
    .form-register{
        width: 80%;
    }

    .form-popup-overlay {
        width: 100%;
        height: 100%;
        min-width: auto;
        min-height: auto;
        overflow: hidden;
    }

    .buttons-navigation{
        right: auto;
        left: 20px;
        flex-direction: column;
        row-gap: 1px;
        z-index: 2;
    }

    .form-popup-container .text-enter{
        display: none;
    }

    .step-header{
        margin-bottom: 1rem;
    }

    .body-open-modal{
        overflow: hidden!important;
        position: fixed !important;
        inset: 0px !important;
    }

    .group-option label,
    .step-header .subtitle{
        font-size: 0.8rem;
    }

}

@media (max-width: 768px) {

    .form-register{
        width: 95%;
    }
 
    .step-body input::placeholder,
    .step-header,
    .form-popup-container .text-welcome {
        font-size: 1.2rem;
    }

    .content-group-options{
        flex-direction: column;
    }

    .group-option{
        width: 100%;
        margin-right: 0;
    }
	
	.group-option.fivecolumns{
		width:100%;
	}

    .group-option label{
        min-height: 40px;
    }

    .content-group-options.content-fivecolumns{
        flex-direction: row;
    }

    .group-option .price{
        font-size: 0.875rem;
    }

}

@media (max-width: 360px) {
    .form-register{
        width: 90%;
    }
}