$color-white: #ffffff;
$color-black: #393939;
$color-body: #1F1D1D;
$color-primary: #EB3B71;
$color-primary-hover: #FB155B;
$color-gray-1: #E4E4E6;
$color-gray-2: #D9D9D9;

.hestia-wizard-wrap * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.hestia-wizard-wrap img{
    max-width: 100%;
    display: block;
}

// Hestia Title Style
.h1{
    font-size: 45px;
    line-height: 54px;
    font-weight: 700;
    color: $color-black;
}
.h2{
    font-size: 32px;
    line-height: 38px;
    font-weight: 700;
    color: $color-black;
}
.h3{
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
    color: $color-black;
}
.h4{
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    color: $color-black;
}
.p{
    font-size: 16px;
    line-height: 24px;
    a{
        text-decoration: none;
        color: #2B9AF3;
    }
}

.p-8{padding: 8px;}
.pt-8{padding-top: 8px;}
.pb-8{padding-bottom: 8px;}
.pb-4{padding-bottom: 4px;}
.pb-0{padding-bottom: 0 !important;}
.pt-12{padding-top: 12px;}
.pb-16{padding-bottom: 16px;}
.pl-16{padding-left: 16px;}
.pb-32{padding-bottom: 32px;}
.pt-32{padding-top: 32px;}
.mb-20{margin-bottom: 20px;}
.mb-30{margin-bottom: 30px;}
.mb-24{margin-bottom: 24px;}

// Hestia Button Style
a:focus{
    box-shadow: none;
    outline: 0;
}
.hestia-btn{
    padding: 14px 32px;
    font-size: 16px;
    line-height: 19px;
    font-weight: 500;
    border-radius: 0;
    border: 1px solid #000;
    display: inline-flex;
    align-items: center;
    outline: 0;
    cursor: pointer;
    text-decoration: none;
    text-transform: capitalize;
    transition: all 0.3s ease-in-out;
    .dashicons {
        transition: initial;
    }
    .icon-right{
        margin-left: 16px;
    }
    .icon-left{
        margin-right: 16px;
    }
}

.hestia-btn.btn-icon{
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hestia-btn.btn-primary{
    background: $color-primary;
    border-color: $color-primary;
    color: #ffffff;
}
.hestia-btn.btn-primary:hover,
.hestia-btn.btn-primary:focus,
.hestia-btn.btn-primary:active{
    background: $color-primary-hover;
    border-color: $color-primary-hover;
}

.hestia-btn.btn-primary.disabled{
    color:  $color-white;
    border-color: rgba($color-primary, .6);
    background: rgba($color-primary, .6);
    pointer-events: none;
    cursor: auto;
}


.hestia-btn.btn-outline-primary{
    background: transparent;
    border-color: $color-primary;
    color: $color-primary;
}
.hestia-btn.btn-outline-primary:hover,
.hestia-btn.btn-outline-primary:focus,
.hestia-btn.btn-outline-primary:active{
    background: $color-primary;
    border-color: $color-primary;
    color: $color-white;
}

.hestia-btn.btn-outline-primary.disabled{
    color:  $color-white;
    border-color: rgba($color-primary, .6);
    background: rgba($color-primary, .6);
    pointer-events: none;
    cursor: auto;
}

.hestia-btn.btn-link{
    background: transparent;
    border: 0;
    padding: 0;
    color: $color-primary;
}
.hestia-btn.btn-link:hover,
.hestia-btn.btn-link:focus,
.hestia-btn.btn-link:active{
    color: $color-primary-hover;
}

.hestia-btn.btn-flate{
    background: transparent;
    border: 0;
    color: $color-black;
}
.hestia-btn.btn-flate:hover,
.hestia-btn.btn-flate:focus,
.hestia-btn.btn-flate:active{
    background: transparent;
    color: $color-primary;
}

.hestia-btn.btn-flate.disabled{
    color:  $color-black;
    background: rgba($color-black, .2);
    pointer-events: none;
    cursor: auto;
}


.hestia-wizard-fullscreen{
    #adminmenumain, #wpadminbar, .error:not(#message), .updated, #wpfooter{
        display: none !important;
    }
    #wpwrap, #wp-content, #wpbody, #wpbody-content {
        height: 100%;
    }
    #wpbody-content {
        padding: 0;
    }
    #wpcontent, #wpfooter{
        margin-left: 0;
        padding-left: 0;
    }
}
html.wp-toolbar {
    padding-top: 0;
    .hestia-wizard-fullscreen{
        margin-top: 0;
    }
}

.hestia-wizard-wrap{
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: $color-gray-1;
}

// Hestia Header Style
.hestia-header{
    height: 70px;
    background: $color-white;
    display: flex;
    justify-content: space-between;
    .hestia-logo{
        border-right: 2px solid $color-gray-1;
        width: 72px;
        padding: 20px;
    }
    .hestia-dashboard-link{
        border-left: 2px solid $color-gray-1;
        width: 72px;
        a{
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: $color-gray-2;
            transition: all .3s ease-in-out;
            &:hover{
                color: $color-primary
            }
            .dashicons{
                font-size: 30px;
                width: 30px;
                height: 30px;
                display: block;
            }
        }
    }
}

.hestia-wizard{
    height: calc(100% - 70px);
    .sw{
        border: 0;
        height: 100%;
        .tab-content{
            height: 100%;
            .tab-pane{
                padding: 0;
                height: 100%;
            }
        }
        .toolbar{
            display: none
        }
        .nav{
            display: none
        }
    }
    &__content{
        height: 100%;
        display: flex;
        flex-direction: column;
        position: relative;
    }
    &__body{
        height: 100%;
        overflow: auto;
        padding-bottom: 48px;
        padding-left: 16px;
        padding-right: 16px;
        position: relative;
        .hestia-card-box{
            max-width: 800px;
            width: 100%;
            margin: 0 auto;
            padding: 32px 32px 48px;
            background: $color-white;
            color: $color-body;
            font-size: 16px;
            line-height: 24px;
            .title-wrap{
                padding-bottom: 32px;
                .h2{
                    padding-bottom: 8px;
                }
                .title-content-img{
                    display: flex;
                    .img{
                        flex-shrink: 0;
                        margin-left: 32px;
                        padding-right: 36px;
                    }
                }
            }
            span.spinner{
            	margin-bottom: 8px;
            	float: revert;
            }
            span.hestia-field-error {
            	color: #F00;
            }
        }
        &.welcome-step{
            padding-top: 150px;
        }
        &.process-step{
            padding-top: 73px;
        }
    }
    &__footer{
        height: 70px;
        background: $color-white;
        flex-shrink: 0;
        display: flex;
        justify-content: space-between;
        .hestia-btn{
            height: 100%;
        }
        .left{
            border-right: 2px solid $color-gray-1;
            &.disabled {
            	opacity: 0.5;
            	pointer-events: none;
            }
        }
        .right{
            border-left: 2px solid $color-gray-1;
            &.disabled {
            	opacity: 0.5;
            	pointer-events: none;
            }
        }
    }
}

.welcom-card{
    text-align: center;
    padding-top: 16px;
    max-width: 570px;
    margin: 0 auto;
    .logo{
        display: flex;
        text-align: center;
        justify-content: center;
        padding-bottom: 33px;
        a{
            display: flex;
            align-items: center;
            font-size: 48px;
            line-height: 58px;
            color: $color-black;
            font-weight: 700;
            text-decoration: none;
            img{
                width: 71px;
                flex-shrink: 0;
                margin-right: 11px;
            }
        }
    }
    .h1{
        padding-bottom: 16px;
    }
    p{
        font-size: 16px;
        line-height: 24px;
    }
    .cta{
        padding-top: 32px;
        > div{
            padding-top: 16px;
        }
    }
}

.step-progress-bar{
    padding-bottom: 48px;
    ul{
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
        li{
            position: relative;
            padding: 0 4px;
            display: flex;
            align-items: center;
            &:not(:last-child){
                &:after{
                    content: "";
                    width: 72px;
                    height: 2px;
                    background: #C6C6C6;
                    display: block;
                    margin-left: 8px;
                    flex-shrink: 0;
                }
            }
            .circle{
                width: 24px;
                height: 24px;
                border: 2px solid #C6C6C6;
                border-radius: 100%;
                flex-shrink: 0;
                margin-right: 8px;
                display: grid;
                place-items: center;
                transition: all .3s ease-in-out;
                &:after{
                    content: "";
                    position: absolute;
                    width: 10px;
                    height: 10px;
                    background: #757575;
                    border-radius: 100%;
                    transform: scale(0);
                    transition: all .3s ease-in-out;
                }
            }
            .step-name{
                font-size: 14px;
                color: #C6C6C6;
                transition: all .3s ease-in-out;
            }
            &.active,
            &.done{
                .circle{
                    border-color: #757575;
                    &:after{
                        transform: scale(1);
                    }
                }
                .step-name{
                    color: #757575;
                }
            }
            &.done{
                &:after{
                    background: #757575;
                }
            }
        }
    }
}

// Form Element Style
.hestia-form-wrap{
    &.site-title-form{
        max-width: 467px;
    }
    &.recommendations-wrap{
        max-width: 603px;
    }
    .form-group{
        padding-bottom: 32px;
    }
    .form-label{
        display: block;
    }
    .form-control {
        display: block;
        width: 100%;
        height: 48px;
        padding: 0px 16px;
        border: 1px solid #D9D9D9;
        border-radius: 0px;
        color: $color-black;
        background-color: #fff;
        box-shadow: none;
        font-size: 16px;
        line-height: 24px;
        -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
        -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
        transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
        &:focus {
            border-color: $color-primary;
            outline: 0;
            box-shadow: none;
        }
        &::-moz-placeholder {
            opacity: 1;
            color: #838383;
        }
        &:-ms-input-placeholder {
            color: #838383;
        }
        &::-webkit-input-placeholder {
            color: #838383;
        }
        &.form-control-sm{
            height: 30px;
        }
    }
    .wp-picker-container{
    	.wp-color-result {
    		&.button{
    			padding-left: 35px;
    		}
    		.wp-color-result-text {
    			padding: 0 8px;
    			font-size: 14px;
    		}
    	}
    }
    .hestia-upload-ui{
    	.attachment-media-view{
    		max-width: 360px;
            .thumbnail-image {
                max-width: 150px;
                max-height: 100px;
            }
    	}
    }
    .drag-drop{
    	.hestia-drag-drop-area {
		    border: 2px dashed #64666A !important;
		    height: auto !important;
		    margin-bottom: 15px;
		    .drag-drop-inside{
		    	margin: 0 auto;
		    	width: 100%;
		    	height: 100%;
		    	text-align: center;
		    	padding: 13px;
		    	color: #64666A;
		    	a{
		    		text-decoration: none;
		    	}
		    }
		}
    }
}

.help-text{
    font-size: 14px;
    line-height: 17px;
    font-weight: 400;
    color: #51575D;
}
.help-text a{
    display: inline-block;
    text-decoration: none;
    color: #2F5AAE;
    font-weight: 400;
}
.hestia-radio{
    position: relative;
    display: flex;
    align-items: center;
    label{
        color: #050505;
        font-size: 16px;
        line-height: 20px;
        margin-left: 10px;
    }
}
input[type=radio].hestia-radio-btn{
    position: relative;
    width: 20px;
    height: 20px;
    border: 1px solid #050505;
    flex-shrink: 0;
    margin: 0;
    outline: 0;
    box-shadow: none;
    transition: all 0.3s ease-in-out;
    &:focus{
        border-color: #4268CF;
    }
    &:checked{
        background: #4268CF;
        border-color: #4268CF;
        &:before{
            width: 8px;
            height: 8px;
            margin: 5px;
            background: #ffffff;
        }
    }
}
input[type=checkbox].hestia-checkbox-btn{
    position: relative;
    width: 20px;
    height: 20px;
    border: 1px solid #1E1E1E;
    flex-shrink: 0;
    border-radius: 2px;
    margin: 0;
    outline: 0;
    box-shadow: none;
    transition: all 0.3s ease-in-out;
    &:focus{
        border-color: #4268CF;
    }
    &:before{
        display: none;
    }
    &:checked{
        background: #4268CF;
        border-color: #4268CF;
        &:after{
            content: "\f15e";
            font-family: dashicons;
            width: 16px;
            height: 16px;
            font-size: 16px;
            line-height: 1;
            color: #ffffff;
            position: absolute;
            inset: 0;
            margin: auto;
        }
    }
}
input[type=checkbox].hestia-switch-btn{
    width: 36px;
    height: 18px;
    color: #1E1E1E;
    background: #ffffff;
    border: 1px solid #1E1E1E;
    border-radius: 20px;
    margin-top: 0;
    box-shadow: none;
    position: relative;
    outline: 0;
    outline-offset: 0;
    transition: all 0.3s ease-in-out;
    &:before{
        content: "";
        width: 12px;
        height: 12px;
        position: absolute;
        top: 2px;
        left: 3px;
        background: currentColor;
        border-radius: 20px;
        transition: all 0.3s ease-in-out;
    }
    &:focus{
        outline: 1px solid #4268CF;
        outline-offset: 3px;
    }
    &:checked{
        background: #4268CF;
        border-color: #4268CF;
        color: #ffffff;
        &:before{
            left: 19px;
            margin: 0;
        }
    }
}

.finish-box{
    text-align: center;
    padding-top: 16px;
    .video-box{
        max-width: 619px;
        margin: 0 auto;
        padding-top: 16px;
        iframe{
            width: 100%;
            height: 348px;
            margin-bottom: 16px;
        }
    }
    .cta{
        padding-top: 32px;
    }
}


/* hestia accordion style start */
.hestia-accordion-item{
    background: #ffffff;
    border: 1px solid #D9D9D9;
    &__title{
        position: relative;
    }
    &__button{
        width: 100%;
        position: relative;
        text-align: left;
        border: 0;
        background: transparent;
        outline: 0;
        padding: 30px 90px 30px 30px;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
    }
    &__content{
        font-size: 16px;
        line-height: 24px;
        color: #000000;
        padding: 0 30px 6px;
        position: relative;
        &.border-top > div{
            border-top: 1px solid #D9D9D9;
        }
    }
    &.hestia-features-accordion{
        border-radius: 8px;
        .hestia-accordion-item__content{
            padding-left: 20px;
            padding-right: 20px;
        }
    }
}
.hestia-accordion{
    &__step-number{
        padding-bottom: 10px;
        padding-bottom: 0;
        height: 0;
        opacity: 0;
        transition: all 0.3s ease-in-out;
    }
    &__step-title{
        color: #050505;
    }
    &__icon{
        position: absolute;
        right: 30px;
        top: 50%;
        margin-top: -24px;
        width: 48px;
        height: 48px;
        background: transparent;
        border-radius: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        line-height: 1;
        color: #1E1E1E;
        transition: all 0.3s ease-in-out;
        &--success{
            width: 24px;
            height: 24px;
            margin-top: -12px;
            background: #4268CF !important;
            color: #ffffff;
        }
        &:hover{
            background: #E4E6E8;
        }
    }
    .hestia-accordion-item{
        margin-bottom: 30px;
        &.hestia-features-accordion{
            &:first-child{
                border-bottom-left-radius: 0;
                border-bottom-right-radius: 0;
            }
            &:last-child{
                border-top-left-radius: 0;
                border-top-right-radius: 0;
            }
            &:only-child{
                border-radius: 8px;
            }
            & + .hestia-features-accordion{
                border-top: 0;
            }
        }
        &.mb-0{
            margin-bottom: 0;
        }
        .hestia-accordion-item__content{
            display: none;
            background: rgba($color-gray-2, .2);
            &.is-active{
                display: block;
            }
        }
        .hestia-accordion-checkbox__title {
            .hestia-accordion-item__button{
                padding-left: 80px;
                padding-top: 16px;
                padding-bottom: 16px;
            }
            .hestia-checkbox{
                position: absolute;
                left: 30px;
                top: 50%;
                margin-top: -10px;
                width: 20px;
                height: 20px;
                z-index: 12;
                input[type=checkbox].hestia-checkbox-btn{
                    display: block;
                }
            }
        }
        .is-active{
            .hestia-accordion-item__button{
                background: rgba($color-gray-2, .2);
            }
            .hestia-accordion__step-number{
                opacity: 1;
                height: 27px;
                padding-bottom: 5px;
            }
            .hestia-accordion__icon{
                color: #050505;
                transform: rotate(180deg);
            }
        }
    }
}



.hestia-features-list{
    ul{
        li{
            padding: 16px 0;
            display: flex;
            align-items: center;
            .icon{
                width: 35px;
                height: 35px;
                flex-shrink: 0;
                margin-right: 25px;
                background: rgba($color-gray-2, .4);
                border-radius: 6px;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            .txt{
                width: 100%;
            }
        }
    }
}

.pro-label{
    background: #007CBA;
    border-radius: 6px;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 19px;
    padding: 2px 9px 4px;
}
.pro-label.free-label{
    background: #BDE6EB;
    border-radius: 6px;
    color: #39C3D2;
    text-transform: none;
    font-size: 16px;
    line-height: 19px;
    padding: 2px 9px 4px;
}
/* hestia accordion style End */

.select-page-option{
    &:not(.hidden) {
    	display: flex;
    }
    .label{
        flex-shrink: 0;
        margin-right: 16px;
    }
    .select-option-box{
        width: 100%;
        max-width: 325px;
        .add-new-option-box{
            &:not(.hidden) {
            	padding-top: 8px;
            	display: flex;
            }
            > div{
                width: 100%;
            }
            .add-btn{
                flex-shrink: 0;
                padding: 4px 18px 5px;
                border: 1px solid #047ABA;
                border-radius: 2px;
                color: #047ABA;
                font-size: 14px;
                background: #F0F0F1;
                font-weight: 500;
                margin-left: 12px;
            }
        }
        .add-new-page{
            padding-top: 8px;
            button, a{
                display: inline-block;
                background: transparent;
                border: 0;
                font-size: 14px;
                color: #4268CF;
                font-weight: 500;
                text-decoration: underline;
                cursor: pointer;
            }
        }
        .add-new {
        	&.disabled {
        		opacity: 0.5;
        		pointer-events: none;
        	}
        }
        .add-btn {
        	cursor: pointer;
        	&.disabled {
        		opacity: 0.5;
        	}
        }
    }
}
.title-content-img {
    img {
        max-width: 100%;
    }
    .app-icon-preview {
        margin-top: 9px;
        background-color: transparent;
    }
    .favicon-preview {
        float: left;
        margin-right: 12px;
        margin-bottom: 0;
    }
    .site-icon-preview {
        .browser-title {
            font-size: 13px;
            line-height: 1.4em;
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }
    }
}
.gif-animation {
	&:not(.show) {
		display: none;
	}
	&.show {
	    position: absolute;
	    bottom: 70px;
	    left: 0;
	    width: 100%;
	    height: calc(100% - 70px);
	    display: flex;
	    align-items: flex-end;
	    justify-content: center;
	}
}