/**
 * Presets CSS.
 *
 * @package fwdsc
 * @since fwdsc 1.0
 */


 /* Header. */
.fwdsc-main-header{
    font-family: Roboto !important;
    font-size: 24px !important;
    font-style: normal !important;
    font-weight: 400 !important; 
    line-height: 38px !important;
    text-transform: capitalize !important;
    margin: 20px 0 10px;
    color: #333 !important;
}

.fwdsc-upgrade-to-pro-text{
    font-size: 22px !important;
    margin: 55px auto 45px !important;
    text-align: center;
    font-weight: 600;
    line-height: 136%;
}

.fwdsc.no-init{
    display: none !important;
}

.fwdsc-tabs a {
    text-transform: uppercase;
    text-decoration: underline;
    font-weight: 800 !important;
    text-decoration: none;
    pointer-events: auto;
    background-position: 0 calc(100% + 1px);
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: background-size 0.6s 
    cubic-bezier(0.215, 0.61, 0.355, 1), color 0.3s 
    ease-out, background-color 0.3s 
    ease-out, border-color 0.3s 
    ease-out;
    background-image: linear-gradient(#E01F1C calc(100% - 1px), #E01F1C 1px) !important;
    border-bottom: 1px solid rgba(0, 123, 255, .2);
    color: #E01F1C;
}

.fwdsc-tabs a:hover {
    background-size: 100% 1px;
}


/* Presets. */
.fwdsc-presets{
   display:flex !important;
    align-items: center !important;
    width: calc(100% - 20px) !important;
    max-width: 1398px  !important;
    box-sizing: border-box !important;
    border: 1px solid #dcdfe7 !important;
    border-radius: 8px 8px 0px 0px !important;
    padding: 25px 20px !important;
    background: #FFF !important;
}

.fwdsc-presets label{
    width: 200px !important;
    font-family: Roboto !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 26px !important;
    cursor: none !important;
    color: #333 !important;
}

.fwdsc-tabs .select,
.fwdsc-tabs .select option,
.fwdsc-presets-select,
.fwdsc-presets-select option{
    width: 100% !important;
    max-width: none !important;
    border-radius: 8px !important;
    border: 1px solid #B7B7B7 !important;
    font-family: Roboto !important;
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 26px !important;
    padding: 8px 20px !important;
    color: #333 !important;
}

.fwdsc-presets-select option{
    font-weight: normal !important;
}

.tab-content .flex .col2  select + p{
    margin-top: 20px !important;
 }
 

/* Tabs bar. */
.fwdsc-tabs #tabs_bar{
    float: left;
    width: 100% !important;
    max-width: 210px !important;
}

.fwdsc-tabs #tab_bar{
    width: 100% !important;
    max-width: 210px !important;
}

.fwdsc-tabs #tabs_bar .tab-button{
   display:flex !important;
    align-items: center !important;
    cursor: pointer !important;
    font-family: Roboto !important;
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 25px !important;
    border: 1px solid #dcdfe7 !important;
    border-top: none !important;
    padding: 14px 20px !important;
    background: #F8F8F8 !important;
}

.fwdsc-tabs #tabs_bar .tab-button span{
    margin-left: 12px !important;
}

.fwdsc-tabs .menu-icon-holder{
   display:flex !important;
    align-items: center !important;       /* vertical */
    justify-content: center !important;   /* horizontal */
    width: 26px;
    height: 26px;
}
.fwdsc-tabs .menu-icon-holder > svg{
   display:block;           /* avoid baseline gaps */
    max-width: 100%;
    max-height: 100%;
}

.fwdsc-tabs #tabs_bar .tab-button.active{
    border-right: none !important;
    background: #FFFFFF !important;
    color: #E01F1C !important;
}

.fwdsc-tabs #tabs_bar .tab-button.active svg.fill path{
    fill: #E01F1C !important;
}

.fwdsc-tabs #tabs_bar .tab-button.active svg.stroke path,
.fwdsc-tabs #tabs_bar .tab-button.active svg.stroke ellipse{
    stroke: #E01F1C !important;
}

.fwdsc-tabs #tabs_bar .tab-button,
.fwdsc-tabs #tabs_bar .tab-button svg.fill path,
.fwdsc-tabs #tabs_bar .tab-button svg.stroke path,
.fwdsc-tabs #tabs_bar .tab-button svg.stroke ellipse{
    transition: all .25s ease-out !important;
}

.fwdsc-tabs #tabs_bar .tab-button:hover,
.fwdsc-tabs #tabs_bar .tab-button:hover svg.fill path{
    fill: #E01F1C !important;
    color: #E01F1C !important; 
    
}

.fwdsc-tabs #tabs_bar .tab-button:hover svg.stroke path,
.fwdsc-tabs #tabs_bar .tab-button:hover svg.stroke ellipse{
    stroke: #E01F1C !important;
}


/* Add from library button. */
.fwdsc-dialog-add-from-library{
    width: 100% !important;
    font-family: Roboto !important;
    text-align: center !important;
    user-select: none !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 36px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    max-width: 360px !important;
    border: 1px dashed #E01F1C !important;
    color: #E01F1C !important;
    transition: all .25s ease-out !important;
}

.fwdsc-dialog-add-from-library svg{
    margin: 0 7px 0 0 !important;
    transform: translateY(6px) !important;
}

.fwdsc-dialog-add-from-library svg path{
    transition: all .25s ease-out !important;
}

.fwdsc-dialog-add-from-library:hover{
    background: #169A24 !important;
    color: #FFF !important;
}

.fwdsc-dialog-add-from-library:hover svg path{
    stroke: #FFF !important;
}

 .fwdsc-tabs input + .fwdsc-dialog-add-from-library{
    margin: 8px 0 12px !important;
}


 /* Tabs. */
 .fwdsc-tabs{
    max-width: 1398px;
    margin-right: 20px;
 }

.fwdsc-tabs .flex{
    width: 100% !important;
   display:flex !important;
    border-bottom: 1px solid #DCDFE7 !important;
}

.fwdsc-tabs .flex:last-child{
    border-bottom: none !important;
    margin-bottom: 10px !important;
}

.fwdsc-tabs .flex .col1{
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
}

.fwdsc-tabs .flex .col2{
    width: 100%;
}

.fwdsc-tabs .flex .col2 input{
    width: 100%;
    max-width: 360px;
}

.fwdsc-tabs .flex .col2 .input.number{
    max-width: 150px !important;
}

.fwdsc-tabs .flex .col2 .input.number.long{
    max-width: 100% !important;
}

.fwdsc-tabs .img-holder{
    position: relative;
    overflow: hidden;
    margin: 0 0 3px;
}

.fwdsc-tabs .img-holder._80h{
    height: 80px;
}

.fwdsc-tabs .img-holder._79h{
    height: 79px;
}

.fwdsc-tabs .img-holder._147h{
    height: 147px;
}

.fwdsc-tabs .img-holder._178h{
    height: 178px;
}

.fwdsc-tabs .img-holder._354h{
    height: 354px;
}

.fwdsc-tabs .img-holder._334w{
    max-width: 334px;
}

.fwdsc-tabs .img-holder._363w{
    max-width: 363px;
}

.fwdsc-tabs .img-holder._404w{
    max-width: 404px;
}

.fwdsc-tabs .img-holder._498w{
    max-width: 498px;
}

.fwdsc-tabs .img-holder._560w{
    max-width: 560px;
}

.fwdsc-tabs .img-holder._560w{
    max-width: 560px;
}

.fwdsc-tabs .img-holder._636w{
    max-width: 636px;
}

.fwdsc-tabs .img-holder._634w{
    max-width: 634px;
}

.fwdsc-tabs .img-holder._707w{
    max-width: 707px;
}

.fwdsc-tabs .img-holder._818w{
    max-width: 818px
}

.fwdsc-tabs .img-holder img{
    position: absolute;
}

.fwdsc-tabs .img-holder .right{
    right: 0;
}

.fwdsc-tabs .img-holder .center{
    left: 50%;
    transform: translateX(-50%);
}


/* Tab content. */
.fwdsc-tabs .tab-content{
    box-sizing: border-box;
    float: right;
    width: calc(100% - 210px) !important;
    border: 1px solid #dcdfe7 !important;
    border-left: none !important;
    border-top: none !important;
    border-bottom-left-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
    margin: 0 0 40px 0 !important;
    padding: 20px !important;
    background: #FFF !important;
}

.fwdsc-tabs .select,
.fwdsc-tabs .select option{
    width: auto !important;
    padding: 8px 40px 8px 20px !important;
    font-weight: normal !important;
}

.fwdsc-tabs .select + p{
    margin-top: 16px !important;
}

.fwdsc-tabs .flex{
    margin: 0 0 23px 0 !important;
}

.fwdsc-tabs .col2{
    margin: 0 0 20px 0 !important;
}

.fwdsc-tabs .col2 p:last-child{
    margin: 0 0 0 0 !important;
}


/* Input. */
.fwdsc-tabs .input{
    padding: 7px 12px !important;
    gap: 10px !important;
    font-family: Roboto !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 24px !important;
    border-radius: 8px !important;
    border: 1px solid #B7B7B7;
    background: #FFF;
    color: #333;
}

.fwdsc-tabs .input:disabled{
    background: #FAFAFA;
    color: #9C9C9C;
}

.fwdsc-tabs .col2 .input + p{
    margin-top: 16px !important;
}


/* Check box. */
.fwdsc-tabs .checkbox{
    position: relative !important;
    width: 0 !important;
    min-height: 0 !important;
    max-width: 0 !important;
    min-width: 0 !important;
    height: 0 !important;
    top: -3px !important;
    left: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
    margin: 0 !important;
}

.fwdsc-tabs .checkbox::before{
    content: ""  !important;
    width: 46px !important;
    height: 24px !important;
    background-color: #9c9c9c  !important;
    border-radius: 12px !important;
    position: absolute  !important;
    top: 0  !important;
    left: 0  !important;
    margin: 0 !important;
    transition: all 0.25s ease-out !important;
    transform: translateX(0) !important;
}

.fwdsc-tabs .checkbox::after{
    content: ""  !important;
    width: 18px !important;
    height: 18px !important;
    background-color: #FFFFFF  !important;
    border-radius: 100% !important;
    position: absolute  !important;
    top: 3px !important;
    left: 4px !important;
    margin: 0 !important;
    transition: all 0.25s ease-out !important;
    transform: translateX(0) !important;
}

.fwdsc-tabs .checkbox:checked::before {
    /* Add styles for the ON state here */
    background-color: #E01F1C !important;
}

.fwdsc-tabs .checkbox:checked::after {
    /* Add styles for the ON state here */
    transform: translateX(20px) !important;
}

.fwdsc-tabs .col2 .checkbox + p{
    margin-top: 33px !important;
}


/* Labels. */
.fwdsc-tabs .col1 p{
    font-family: Roboto !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 24px !important;
    padding: 0 20px 0 0 !important;
    margin: 10px 0 0 !important;
    color: #333 !important;
}


/* Color picker. */
.fwdsc.sp-replacer{
    padding: 4px !important;
    border-radius: 8px !important;
}

.fwdsc-tabs .col2 .fwdsc.sp-replacer + p{
    margin-top: 20px !important;
}

.fwdsc.sp-replacer .sp-preview,
.fwdsc.sp-replacer .sp-preview-inner{
    border-radius: 6px !important;
}


/* Help text. */
.fwdsc-tabs .col2 p{
    font-family: Roboto !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    color: #333 !important;
}


/* Submit buttons. */
#fwdsc_buttons{
    position: fixed !important;
    border-radius: 8px;
    background: #F0F2F4;
    box-shadow: 0px 4px 17px 0px rgba(80, 75, 117, 0.27);
    right: 20px !important;
    bottom: 30px !important;
    padding: 10px !important;
    background: #FFF !important;
}

#fwdsc_buttons #fwdsc_up_button{
    background: #E01F1C !important;
    border-color: #E01F1C !important;
    color: #FFF !important;
}

#fwdsc_buttons #fwdsc_up_button:hover{
    background: #169A24 !important;
    border-color: #169A24 !important;
    color: #FFF !important;
}

#fwdsc_buttons .fwdsc-dialog-button + .fwdsc-dialog-button{
    margin-left: 6px !important;
 }


/* Smaller screens. */
@media screen and (max-width: 782px) {

    .fwdsc-presets{
        width: calc(100% - 8px) !important;
    }

    .fwdsc-tabs{
        margin-right: 8px !important;
    }

    .fwdsc-tabs #tabs_bar{
        position: relative !important;
        left: 1px !important;
        width: calc(100% - 1px) !important;
    }

    .fwdsc-tabs #tabs_bar,
    .fwdsc-tabs #tab_bar{
        float: none !important;
        border-right: 1px solid #dcdfe7 !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }

    .fwdsc-tabs #tab_bar{
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
       display:flex !important;
        flex-wrap: wrap !important;
        box-sizing: border-box !important;
        border-top: none !important;
        border-bottom: none !important;
        border-right: none !important;
        background: #FFF !important;
    }

    .fwdsc-tabs #tab_bar .tab-button,
    .fwdsc-tabs #tabs_bar .tab-button.active{
        border: 1px solid #dcdfe7 !important;
        margin-left: -1px !important;
        margin-bottom: -1px !important;
        margin-top: -1px !important;
    }

    .fwdsc-tabs .tab-content{
        width: 100% !important;
        float: none !important;
        border: 1px solid #dcdfe7 !important;
        margin-bottom: 10px !important;
    }

    #fwdsc_buttons{
        right: 10px !important;
    }
}

@media screen and (max-width: 550px) {

    .fwdsc-tabs .flex{
       display:block !important;
    }

    .fwdsc-tabs .flex .col1 {
        width: 100% !important;
        min-width: none !important;
        max-width: none !important;
    }

    .fwdsc-tabs .flex .col2 .checkbox {
        margin-top: -12px !important;
    }

    .fwdsc-tabs .col2 .checkbox + p {
        margin-top: 24px !important;
    }
}