.foursight_form_input, .custom_form_hidden {
    display: none !important;
}

.form-preview .header,
.form-preview .body .required-field,
.form-header .form-name-label,
.form-header .edit-icon,
.form-preview .control-icons,
.form-preview .image,
.drag-drop-rectangle {
    display: none !important;
}

/* Fix for new form builder generated form header issue */
.form_name {
    display: block;
}

/*  Fix for already generated forms submit button's class missing issue */
.leads_form .undefined {
    background: #6db535;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 16px;
    width: 100%;
    height: 47px;
    margin-bottom: 30px;
    margin-top: 5px;
    border: none;
    outline: none;
    border-radius: 23px;
    -moz-border-radius: 23px;
    -webkit-border-radius: 23px;
}

/* Lead pop-up Iframe */
.am-iframe {
    border: none;
    outline: none;
    opacity: 0;
    height: 0;
    /*by default iframe having spaces at top, until its an inline element so change it to block element to avoid the extra space*/
    display: block;
}

/*Bottom */
.am-iframe.am-bottom-popup {
    width: calc(100% - 30px);
    z-index: 99999;
    max-width: 500px;
    position: fixed;
    bottom: 15px;
    opacity: 1;
    right: -100%;
    border-radius: 15px;
    box-shadow: 0 1px 26px 0 rgba(0, 0, 0, 0.2);
    transition: right linear 0.5s, height linear 0.25s;
    -webkit-transition: right linear 0.5s, height linear 0.25s;
    -moz-transition: right linear 0.5s, height linear 0.25s;
    -o-transition: right linear 0.5s, height linear 0.25s;
}

.am-bottom-popup.in {
    right: 15px;
}

/*Middle*/
.am-iframe.am-middle-popup {
    width: calc(100% - 30px);
    z-index: 99999;
    max-width: 500px;
    position: fixed;
    visibility: hidden;
    top: 50%;
    left: 50%;
    height: 0px;
    opacity: 1;
    border-radius: 15px;
    box-shadow: 0 1px 26px 0 rgba(0, 0, 0, 0.2);
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transition: visibility linear 0.5s, opacity linear 0.5s, height linear 0.25s;
    -webkit-transition: visibility linear 0.5s, opacity linear 0.5s, height linear 0.25s;
    -moz-transition: visibility linear 0.5s, opacity linear 0.5s, height linear 0.25s;
    -o-transition: visibility linear 0.5s, opacity linear 0.5s, height linear 0.25s;
}

.am-middle-popup.in {
    visibility: visible;
}

/*Top*/
.am-iframe.am-top-bar {
    width: 100%;
    border-radius: 0px;
    height: 0px;
    opacity: 1;
    /*box-shadow: 0 2px 26px 0 rgba(0, 0, 0, 0.2);*/
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: height linear 0.5s;
    -webkit-transition: height linear 0.5s;
    -moz-transition: height linear 0.5s;
    -o-transition: height linear 0.5s;
}

.am-top-bar.in {
    /*height: 0px;*/
}

/*Bottom*/
.am-iframe.am-bottom-bar {
    width: 100%;
    z-index: 99999;
    border-radius: 0px;
    position: fixed;
    bottom: -100%;
    left: 0px;
    right: 0px;
    opacity: 1;
    box-shadow: 0 -2px 26px 0 rgba(0, 0, 0, 0.2);
    transition: bottom linear 0.5s, height linear 0.5s;
    -webkit-transition: bottom linear 0.5s, height linear 0.5s;
    -moz-transition: bottom linear 0.5s, height linear 0.5s;
    -o-transition: bottom linear 0.5s, height linear 0.5s;
}

.am-bottom-bar.in {
    bottom: 0px;
}

/* Success */
/*.am-success {*/
/*position: fixed;*/
/*top: 15px;*/
/*right: -100%;*/
/*padding: 15px;*/
/*z-index: 99999;*/
/*background-color: #49a749;*/
/*color: #fff;*/
/*border-radius: 10px;*/
/*max-width: 400px;*/
/*font-size: 14px;*/
/*font-weight: 400;*/
/*line-height: 1.5;*/
/*box-shadow: 0px 0px 50px rgba(0,0,0,0.3);*/
/*transition: all linear 0.25s;*/
/*-webkit-transition: all linear 0.25s;*/
/*-moz-transition: all linear 0.25s;*/
/*-o-transition: all linear 0.25s;*/
/*}*/
/*.am-success.in {*/
/*right: 15px;*/
/*}*/

.skiptomaincontent{
    position: absolute !important;
    overflow: hidden;
    clip: rect(1px,1px,1px,1px);
    width: 1px;
    height: 1px;
    word-wrap: normal;
}

.skiptomaincontent:focus{
    position: absolute !important;
    overflow: visible;
    clip: auto;
    width: auto;
    height: auto;
}

*:has(> iframe[src*="vimeo.com"]) {
    position: static !important;
}
*:has(> iframe[src*="vimeo.com"]) iframe {
    position: static !important;
}


*:has(> iframe[src*="canva.com"]) {
    position: static !important;
    height: unset !important;
}
*:has(> iframe[src*="canva.com"]) iframe {
    position: static !important;
}
div:has(> iframe[src*="canva.com"]) {
    height: unset !important;
}
@media (min-width: 768px) {
    *:has(> iframe[src*="vimeo.com"]) iframe {
        min-height: 500px !important;
    }
    *:has(> iframe[src*="canva.com"]) iframe {
        min-height: 500px !important;
    }
}
@media (max-width: 767px) {
    *:has(> iframe[src*="youtube.com"]) iframe{
        aspect-ratio: 16/9 !important;
        width: 100% !important;
        height: auto !important;
    }
    *:has(> iframe[src*="vimeo.com"]) iframe{
        aspect-ratio: 16/9 !important;
        width: 100% !important;
        height: auto !important;
    }
    *:has(> iframe[src*="canva.com"]) iframe{
        aspect-ratio: 16/9 !important;
        width: 100% !important;
        height: auto !important;
    }
}