/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* SEMPLICE CUSTOMIZATIONS */

@media screen and (min-width: 1170px) {
    /* Desktop Wide: your code here */
    .hidden-desktop {
        display: none;
    }

    .show-desktop {
        display:block !important;
    }

    
    .wico-198-section {
        padding-bottom:60px !important;
    }
}


@media screen and (max-width: 1169px) and (min-width: 992px) {
    /* Tablet Wide: your code here */

    .wico-198-section {
        padding-bottom:50px !important;
    }

    .show-desktop {
        display:none !important;
    }

}

@media screen and (max-width: 991px) and (min-width: 768px) {
    /* Tablet Wide:
 your code here */

    .wico-198-section {
        padding-bottom:50px !important;
        margin-top: -1px;
    }

    .wico-198-image-cover img {
        width: auto !important;
    }

    .show-desktop {
        display:none !important;
    }

    /* override semplice to show a stacked layout on this view */
    .wico-198-section .column {
        width: 90% !important;
        max-width: 90% !important;
        margin: 0 5%;
    }

    .wico-198-section .row {
        flex-direction: column !important;
    }

    .wico-198-section .ce-image img {
        min-height: 0 !important;
    }

    .wico-198-section .section-shadow-right {
        margin-top:0 !important;
        order:2;
    }
    /* end override semplice to show a stacked layout on this view */

}

@media screen and (min-width: 768px) {
    .wico-198-image-cover img {
        object-fit: cover;
    }
}


@media screen and (max-width: 767px) and (min-width: 544px) {
    /* Tablet Portrait: your code here */
    .wico-198-section {
        padding-bottom:50px !important;
    }


    .show-desktop {
        display:none !important;
    }

}

@media screen and (max-width: 767px) {
    h1 span, h2 span, h3 span, h4 span, h5 span {
        font-weight: 700 !important;
    }
    
    .wico-198-order-button .row {
        display:flex !important;
    }

    .wico-198-order-button .column {
        max-width:50% !important;
    }
    
    .wico-198-order-button .column a {
        font-size: 0.6rem !important;
    }

}


@media screen and (max-width: 543px) {
    /* Mobile: your code here */
    .xs-hidden-background-image {
        background-image: none !important;
    }

    .wico-198-section {
        padding-bottom:30px !important;
        
    }

    .show-desktop {
        display:none !important;
    }
}

/* Wico 198 video popup */
#wico198-video-container {
    display:none;
    text-align:center;
}


.featherlight .featherlight-content #wico198-video-container {
    display:block;
}

#wico198-video-container video {
    width: 100%;

}

/* Pipedrive customisation */
.wico198-contact-form {
    text-align:center;
}
.wico198-contact-form .pipedriveWebForms iframe {
   /* background: #222; */
} 	

.content-block.w198-hero {
    background-position:50% 40% !important;
}

/* Wico 198 landing page styles */
.wico-198-section {
    position:relative;
    /*background-color:#98ddde !important;*/
    background-color:#000 !important;
}

.wico-198-top-section {
    /*background-color:#98ddde !important;
    background-image: url('/wp-content/themes/semplice5/assets/images/frontend/landingpage/section-top.png') !important;
    */
    background-color:#000 !important;
    background-image: url('/wp-content/themes/semplice5/assets/images/frontend/landingpage/section-top-black.png') !important;
    background-repeat: repeat-x !important;
    background-position: top left !important;
}

.wico-198-bottom-section {
    /*
    background-color:#98ddde !important;
    background-image:  url('/wp-content/themes/semplice5/assets/images/frontend/landingpage/section-bottom.png') !important;
    */
    background-color:#000 !important;
    background-image:  url('/wp-content/themes/semplice5/assets/images/frontend/landingpage/section-bottom-black.png') !important;

    background-repeat: repeat-x !important;
    background-position: bottom left !important;
}

.wico-198-section::before {
    content:'';
    display:block;
    position: absolute;
    background-color: #000;
    z-index: -1;
    height: 100px;
    width:100%;
    top: -50px;
    left:0;
}

.wico-198-top-section::before,
.wico-198-bottom-section::after  {
    content: '';
    background-color: #fff;
    display: block;
    width: 100%;
    height: 70px;
    position: absolute;
    top: -2px;
    left: -2px;
}


.wico-198-bottom-section::after {
    top: auto;
    bottom: -2px;
}

.wico-198-order-button {
    position:absolute !important;
    opacity:0;
    pointer-events:none;
    transition: opacity 0.2s;
    border-top: 2px solid #86bcb7;
}

.wico-198-order-button.fix {
    position:fixed !important;
    width: 100%;
    z-index:100;
    opacity:1 !important;
    pointer-events:all;
}




.wico-198-order-button .column-content {
    padding-top:0 !important;
}

.section-shadow-right  {
    box-shadow: 6px 0px 6px -4px rgba(0, 0, 0, 0.4);
    margin-top: -178px;
}

.wico198-form-container {
    padding: 40px 0;
    margin-top:0rem;
    width: 100%;
}

.wico198-form-container *,
.wico198-form-container *:before,
.wico198-form-container *:after {
    box-sizing:border-box;
}

.wico198-form-container .ninja-forms-field {
    width:100% !important;
}

#content-holder .wico198-form-container h3,
#content-holder .wico198-product-selector h3,
#content-holder .wico198-product-selector h4 {
    font-family: 'open-sans', sans-serif;
    font-weight:300;
}

#content-holder .wico198-form-container h3{
    font-size: 2rem;
    text-transform:uppercase;
    line-height:2rem;
}

.wico198-form-container .nf-field-label label {
    font-family: 'open-sans';
    font-weight: 400;
    font-size: 1rem;
}

.wico198-form-container .nf-row input,
.wico198-form-container .nf-row select,
.wico198-form-container .nf-row textarea {
    padding:0;
    font-family: "open-sans",sans-serif;
    background:transparent;
}

.wico198-form-container .nf-fail  .nf-field-element input[type="text"],
.wico198-form-container .nf-fail  .nf-field-element input[type="email"],
.wico198-form-container .nf-fail  .nf-field-element input[type="tel"],
.wico198-form-container .nf-fail  .nf-field-element select,
.wico198-form-container .nf-fail  .nf-field-element textarea {
    border:1px solid #e80000;
    position:relative;
}


.wico198-form-container .firstname-wrap.nf-fail .nf-field-element::after,
.wico198-form-container .lastname-wrap.nf-fail .nf-field-element::after,
.wico198-form-container .email-wrap.nf-fail .nf-field-element::after,
.wico198-form-container .phone-wrap.nf-fail .nf-field-element::after  {
    background: #e80000;
    content: '!';
    display: block;
    color: #fff;
    border-radius: 5px;
    position: absolute;
    right: 10px;
    width: 30px;
    top: 50%;
    text-align: center;
    transform: translateY(-50%);
}


.wico198-form-container .checkbox-replace .nf-fail  input[type=checkbox]::after {
    background:#e80000;
    border: 4px solid #e80000;
}

.nf-error-msg, .ninja-forms-req-symbol{
    color: #e80000;
    font-family: "open-sans",sans-serif;
    font-size: 0.9rem;
}

.wico198-form-container .nf-field-element input[type=text],
.wico198-form-container .nf-field-element input[type=email],
.wico198-form-container .nf-field-element input[type=tel],
.wico198-form-container .nf-field-element select  {
    border:0;
    background:#f1f0f0;
    padding:3px;
}

.wico198-form-container .nf-field-element select option {
    font-size: 14px;
}

@media screen and (min-width: 767px) {  

    .wico198-form-container {
        max-width: 1440px;
        margin: 0 auto;
        width: 90%;
        border: 1px solid  rgba(0, 0, 0, 0.4);
        box-shadow: 6px 0px 6px -4px rgba(0, 0, 0, 0.4);
        padding: 60px 10%;
        margin-bottom:90px;
        background:#fff;
    }

    #content-holder .wico198-form-container h3 {
        font-size: 3.5rem;
        text-transform:uppercase;
        line-height:3.5rem;
    }

    .wico198-form-container .nf-field-label label {
        font-size: 1rem;
        
    }

    .wico198-form-container .nf-field-element input[type=text],
    .wico198-form-container .nf-field-element input[type=email],
    .wico198-form-container .nf-field-element input[type=tel],
    .wico198-form-container .nf-field-element select  {
        padding:10px;
    }

}

@media screen and (min-width: 1170px) and (max-width: 1440px) {
    .wico-198-section .column[data-xl-width='6'] {
        width: calc(100% / 12 * 7);
        max-width: calc(100% / 12 * 7);
        flex: 0 0 auto;
        flex-basis: calc(100% / 12 * 7);
    }
}

@media screen and (min-width: 1170px) {
    .wico198-form-container .nf-field-element input[type=text],
    .wico198-form-container .nf-field-element input[type=email],
    .wico198-form-container .nf-field-element input[type=tel]  {
        font-size: 1.2rem;
        padding: 10px;
    }
}


.wico198-form-container .list-select-wrap .nf-field-element::after {
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    position: absolute;
    right: 2%;
    top: 45%;
    transform: translateY(-50%) rotate(45deg);
    border-right: 3px solid #000;
    border-bottom: 3px solid #000;
    pointer-events: none;
}

.wico198-form-container .nf-error-required-error {
    position:absolute;
    left:-10000px;
    display:block;
    width:0px;
    height:0px;
    opacity:0;
}

.wico198-form-container #nf-error-12 .nf-error-required-error {
    position:static;
    left:0;
    width:auto;
    height:auto;
}

.wico198-form-container .mrm-form * > * {

}

.wico198-form-container.w198-cancellation-form {
   
    background:#fff;
    margin-top:-150px;
}

@media screen and (min-width: 1170px) {
    .wico198-form-container.w198-cancellation-form {
        margin-top:-600px;
        margin-bottom: 150px;
    }
}

@media screen and (max-width: 767px) {
    .wico198-form-container.w198-cancellation-form {
        padding:1rem;
    }
}

/*input,  input[type=text],select, textarea, input:hover, input:focus {*/
/*    all: revert;*/
/*}*/


.wico198-form-container .mrm-form input, .wico198-form-container .mrm-form select, .wico198-form-container .mrm-form textarea {
    /*appearance: initial;*/
    /*-webkit-appearance: initial;*/
    /*font-size: inherit; */
    /*all: revert; */
    /*width: 100%;*/
    display: block;
    font-size: 24px;
}
/*.mrm-form input:hover, .mrm-form textarea:hover {*/
/*    border: revert;*/
/*}*/
.wico198-form-container .mrm-form input[type=button] {
    box-shadow: rgb(0 0 0 / 4%) 1px 1px 3px;
    transition: border-radius 200ms ease 0s;
    height: unset;
    width: auto !important;
    margin: 0 auto;
    padding: 10px 24px;
    margin-top: 32px;
    min-height: 56px;
    border-radius: 4px;
    font-size: 20px;
    line-height: 20px;
    font-weight: 600;
    background-color: rgb(62, 193, 197);
    border: 0px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    font-family: "open-sans",sans-serif;
    font-style: normal;
    -webkit-box-pack: center;
    justify-content: center;
    outline: none;
}

.wico198-form-container .nf-after-form-content {
    text-align:center;
}


.wico198-form-container .checkbox-replace input[type=checkbox] {
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    cursor: pointer;
    margin-right: 10px;
}

.wico198-form-container .checkbox-replace input[type=checkbox]:checked {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
}

.wico198-form-container .checkbox-replace input[type=checkbox]::after {
    border: 4px solid #f1f0f0;
    background: #f1f0f0;
    border-radius: 6px;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
}

.wico198-form-container .checkbox-replace input[type=checkbox]::before {
    background: #f1f0f0;
    border-radius: 2px;
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    z-index: 99;
    transition: all 0.5s ease;
    opacity:0;
}
.wico198-form-container .checkbox-replace input[type=checkbox]:checked::before {
    background: gray;
    transition: all 0.5s ease;
    opacity:1;
}

.wico198-form-container .checkbox-replace input[type=checkbox]:checked::after {
    border: 4px solid #f1f0f0;
    transition: all 0.5s ease;
}

.wico198-form-container .checkbox-wrap {
    display:flex;
}

.wico198-form-container .nf-field-description {
    width:auto;
}

.wico198-form-container .checkbox-wrap .nf-field-element {
    width:20px;
    height:20px;
    margin-top:5px;
    margin-right:20px;
}

.wico198-form-container .checkbox-wrap .nf-field-element input {
    height:100%;
}

#content-holder .wico198-product-selector {
    margin-top:1rem;
}

#content-holder .wico198-product-selector .wico-product  {
  display:flex;
  flex-wrap: wrap;
  width:100%;
  background:#000;
  color:#fff;
  cursor:pointer;
  margin-bottom:1rem;
}

#content-holder .wico198-product-selector .wico-product .selector{
    width: 10%;
    background:#000;
    position:relative;
    order: 2;
}

#content-holder .wico198-product-selector .wico-product .selector:before{ 
    content:'';
    display:block;
    border:2px solid #fff;
    border-radius:50%;
    width:16px;
    height:16px;
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

#content-holder .wico198-product-selector .wico-product.selected .selector:before{ 
    background:#fff;
}

#content-holder .wico198-product-selector .wico-product .info {
    width: 90%;
    padding:25px;
    order: 3;
}

#content-holder .wico198-product-selector .wico-product .info p{
    font-size:14px;
    font-weight: 300;
}

#content-holder .wico198-product-selector .wico-product .img {
    width: 100%;
    height:285px; 
    order:1;
}

#content-holder .wico198-product-selector .wico-signature .img {
    background:url('/wp-content/themes/semplice5/assets/images/frontend/landingpage/form-signature.png') no-repeat center;
    background-size:100%;
}

#content-holder .wico198-product-selector .wico-experience .img {
    background:url('/wp-content/themes/semplice5/assets/images/frontend/landingpage/form-experience.png') no-repeat center;
    background-size:100%;
}

#content-holder .wico198-product-selector .wico-product h3 {
    font-size:20px !important;
    line-height:20px !important;
}

#content-holder .wico198-product-selector .wico-product h4 {
    font-size:24px !important;
    line-height:24px !important;
}

#content-holder .submit-wrap input[type="button"] {
    width:auto;
}

@media screen and (min-width: 900px) {

    #content-holder  .wico198-product-selector  {
        margin-top:-7rem;
    }

    #content-holder .wico198-product-selector .wico-product .selector{
        background:#fff;
    }
    
    #content-holder .wico198-product-selector:before {
        content:'';
        display:block;
        background:#000;
        height:1000px;
        width:100%;
        position:absolute;
        top:7rem;
    }

    #content-holder .wico198-product-selector .wico-product .selector:before{ 
     width:30px;
     height:30px;
     border:2px solid #000;
    }

    
    #content-holder .wico198-product-selector .wico-product.selected .selector:before{ 
        background:#000;
    }

    #content-holder .wico198-product-selector .wico-product .img {
        height:350px;
    }

    #content-holder .wico198-product-selector .wico-product .info {
        width: 40%;
        padding: 40px;
    }

    #content-holder .wico198-product-selector .wico-product .info p{
        font-size:18px;
    }

    #content-holder .wico198-product-selector .wico-product .img {
        width: 50%;
        height: auto;
        order:4;
    }
    
    #content-holder .wico198-product-selector .wico-product h3 {
        font-size:38px !important;
        line-height: 40px !important;
    }

    #content-holder .wico198-product-selector .wico-product h4 {
        font-size:50px !important;
        line-height:32px !important;
    }
}