body {
    --answer-highlight-box-color: #E2EDFF;
}

@font-face {
    font-family: 'ApercuPro';
    font-weight: normal;
    src: url("../../assets/fonts/Apercu-Font/Apercu\ Pro\ Regular.otf") format("opentype");
}
@font-face {
    font-family: ApercuPro;
    font-weight: bold;
    src: url("../../assets/fonts/Apercu-Font/Apercu\ Pro\ Bold.otf") format("opentype");
}

@font-face {
    font-family: ApercuPro;
    font-weight: 500;
    src: url("../../assets/fonts/Apercu-Font/Apercu\ Pro\ Medium.otf") format("opentype");
}
.main-tab-container, .tab-controls-inner, .preview, .tab-list {
   
    width: calc( 100% - 30px );
    max-width: 900px;
}

.checkbox-group, .radio-group {
	margin-bottom: 20px;
}

.dismissalContainer {
    button {
        padding: 12px 28px;
        margin-bottom: 1rem;
        font-size: 16px;
        cursor: pointer;
        border-radius: 9px;
        border: none;
        color: #0F4C81;
    }
}
.tab-list{
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    .tab-container{
        .tab{
            h3{
                margin: 0;
            }
            input{
                word-wrap: break-word
            }
            button{
                background-color: #0F4C81;
                border: none;
                color: white;
                padding: 15px 30px;
                text-align: center;
                text-decoration: none;
                display: inline-block;
                font-size: 16px;
                margin: 4px 2px;
                cursor: pointer;
                border-radius: 9px;
            }
            .surveyfunnel-lite-tab-CoverPage, .surveyfunnel-lite-tab-ResultScreen{
                text-align: center;
            }
			.tab-validation-error {
				p {
					margin: 0;
				}
			}
        }
    }
}
.surveyfunnel-lite-tab-CoverPage, .surveyfunnel-lite-tab-ResultScreen, .surveyfunnel-lite-tab-SingleChoice, .surveyfunnel-lite-tab-MultiChoice, .surveyfunnel-lite-tab-FormElements, .surveyfunnel-lite-tab-ShortAnswers, .surveyfunnel-lite-tab-LongAnswers{
    border-radius: 12px;
    width: 100%;
}
.surveyfunnel-lite-tab-CoverPage, .surveyfunnel-lite-tab-ResultScreen{
    display:flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    min-height: 450px;
	padding: 40px;
	@media screen and (max-width: 480px) {
		padding: 15px;
	}
    .tab-container{
        .tab{
            h3{
                max-width: 100%;
                word-break: break-word;
            }
            p{
                max-width: 100%;
                word-break: break-word;
            }
            button{
                max-width:300px;
                word-break: break-word;
            }
        }
    }

}
.surveyfunnel-lite-tab-SingleChoice, .surveyfunnel-lite-tab-MultiChoice{
    padding: 40px;
	@media screen and (max-width: 480px) {
		padding: 15px;
	}
    .tab-container{
        .tab{
            h3{
                margin-bottom: 20px;
                max-width: 100%;
                word-break: break-word;
            }
            p{
                margin:0 0 20px 0;
                max-width: 100%;
                word-break: break-word;

            }
            button{
                max-width: 300px;
                word-break: break-word;
            }
            .surveyfunnel-lite-tab-answer-container{
                border: 1px solid #0F4C81;
                border-radius: 9px;
                margin-bottom: 5px;
        
                label{
                    display: flex;
                    align-items: center;
                    display: flex;
                    align-items: center;
                    min-height: 76px;
                    width: 100%;
                    cursor: pointer;
                    border-radius: 9px;
                    div{
                        min-height: 54px;
                        margin: 10px;
                        min-width: 54px;
                        background-color: #F0F2F5;
                        border-radius: 9px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                    }
                    p{
                        padding: 20px 30px 0 10px;
                    }
                }

                input{
                    display: none;
                }
                input:checked + label{
                    background-color: var(--answer-highlight-box-color);
                }
                input:checked + label div{
                    background-color: white;
                }
                input:hover + label{
                    background-color: var(--answer-highlight-box-color);
                }
                input:hover + label div{
                    background-color: white;
                }
            }
        }
    }
    
}
.surveyfunnel-lite-tab-FormElements{
    padding: 40px;
	@media screen and (max-width: 480px) {
		padding: 15px;
	}
    .tab-container{
        .tab{
            h3{
                margin-bottom: 20px;
                max-width: 100%;
                word-break: break-word;
            }
            p{
                margin:0 0 20px 0;
                max-width: 100%;
                word-break: break-word;
            }
            label{
                display: block;
                max-width: 100%;
                word-break: break-word;
            }
            textarea{
                
            border: 1px solid rgba(181, 220, 255, 0.58);
            width: 100%;
            height: 80px;
            border-radius: 9px;
            margin: 10px 0;
            word-break: break-word;
            outline:none;
            padding:20px;
            }
            input{
                border: 1px solid rgba(181, 220, 255, 0.58);
                width: 100%;
                height: 40px;
                border-radius: 9px;
                margin: 10px 0;
                word-break: break-word;
                outline:none;
                padding:20px;
            }
            .surveyfunnel-lite-form-submit-button{
                display: flex;
                justify-content: center;
                button{
                    max-width: 300px;
                    word-break: break-word;
                }
            }

        }
    }

}

.dismissalContainer {
    width: calc( 100% - 30px );
    max-width: 900px;
    display: flex;
    justify-content: flex-end;
}

.design-preview{
    .surveyfunnel-lite-survey-form{
        display: flex;
        justify-content: center;
        .surveyfunnel-lite-design-preview-container {
            width: 100%;
			height: 100%;
			min-height: 100%;
			display: -ms-flexbox;
			display: flex;
			-ms-flex-direction: column;
			flex-direction: column;
			
            .preview{
				overflow: auto;
				position: relative;
				display: block;
				margin: 0 auto;
				-ms-flex-direction: column;
				flex-direction: column;
				-ms-flex-pack: center;
				justify-content: center;
				-ms-flex: 1;
				flex: 1;
				align-items: center;
				padding: 30px 0px;
				height: calc(100% - 80px);
				.preview-container {
					overflow: visible;
					display: -ms-flexbox;
					display: flex;
					-ms-flex-direction: column;
					flex-direction: column;
					align-items: center;
					justify-content: center;
					height: 100%;
					flex-wrap: wrap;
					.main-tab-container {
						height: 100%;
						width: 100%;
					}
				}
                .tab-list{
                    overflow: auto;
                }
            }
        }
        .tab-controls{
            .tab-controls-inner {
                display: flex;
                align-items: center;
                justify-content: flex-end;
                height: 100%;
				@media screen and (max-width: 375px) {
					width: 100%;
					justify-content: center;
				}
				span {
					margin-right: 10px;
				}
                .control-buttons {
                    margin-left: 20px;
                    margin-right: 20px;
                    button {
                        padding: 0px 25px !important;
                    }
                }
				button, div {
					margin-right: 5px;
				}
                button, a {
                    background-color: #F0F2F5;
                    border: 1px solid #d2dae2;
                    color: #60554F;
                    text-align: center;
                    text-decoration: none;
                    display: inline-block;
                    font-size: 16px;
                    cursor: pointer;
                    border-radius: 9px;
					padding: 10px 15px 7px;
					border: 1px solid rgba(0,0,0,.1);
					border-radius: 5px;
					background-color: #fff;
					cursor: pointer;
					@media screen and (max-width: 375px) {
						font-size: 10px;
					}
                }
                button:disabled{
                    opacity: 0.7;
                    background-color: #FFFFFF;
                    cursor: not-allowed;
                }
            }
            
        }
        .no-preview-available{
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            img{
                margin-bottom: 20px;
            }
        }

    }

}
.fullpage, .popup {
    height: 100vh !important;
}

.tab-controls {
	display: flex;
	justify-content: center;
    padding: 20px 0px;
    background: hsla(0,0%,100%,.25);
    height: 80px;
    div {
        height: 100%;
    }
    a {
        display: flex !important;
        align-items: center;
        justify-content: center;
        border: 1px solid#E1E8F0;
        height: 100%;
    }
    img {
        width: 100px;
    }
    button {
        height: 100%;  
        border: 1px solid#E1E8F0;
    }
}

.tab {
	p {
		margin: 0;
	}
	.surveyTitle {
		font-size: 36px;
		font-weight: bold;
		margin-bottom: 12px !important;
	}
	.surveyDescription {
		font-size: 18px;
		font-weight: 400;
		margin-bottom: 30px;
	}
	.privacyPolicy {
		font-size: 16px;
		font-weight: 400;
		margin: 40px 0px;

		p {
			input[type="checkbox"] {
				display: none;
			}
			input[type="checkbox"] + label {
				color: #333;
				font-family: Arial, sans-serif;
				font-size: 14px;
			}
			input[type="checkbox"] + label span {
				display: inline-block;
				width: 25px;
				height: 25px;
				margin: -1px 4px 0 0;
				vertical-align: middle;
				cursor: pointer;
				border: 1px solid #0F4C81;
				box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.33);
				background-repeat: no-repeat;
				background-position: center;
				text-align: center;
				line-height: 25px;
			}
			input[type="checkbox"] + label span img {
				opacity: 0;
				transition: all 0.3s ease;
				width:50%;
			}
			input[type="checkbox"] + label span {
				border-radius:4px;
			}
			input[type="checkbox"]:checked + label span img {
				opacity: 1;
			}
			input[type="checkbox"]:checked + label span{
				background-color:#0F4C81;
			}

		}
	}

	button {
		font-size: 20px !important;
	}

	.tab-validation-error {
		margin: 25px 0px;

		padding: 23px 33px;
		color: #C16200;
		border: 0.5px solid #F57C00;
		background-color: #FFF4E6;
		border-radius: 12px;

		p {
			margin: 0;
		}
	}
}

.surveyfunnel-lite-sc-fullpage {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.surveyfunnel-lite-sc-popup {
    position: fixed;
	top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 80%;
    height: 90%;
    margin: auto;
    z-index: 9999;

	@media screen and (max-width: 460px) {
		width: 100%;
    	height: 100%;
	}
}

.frame-root, .frame-content, #design, .surveyfunnel-lite-design-container, .design-preview, .surveyfunnel-lite-survey-form {
	height: 100%;
}

.dismissalBox {
	position: absolute;
	z-index: 999999;
	
	top: 20px;
	right: 20px;

	@media screen and (max-width: 460px) {
		top: 10px;
		right: 10px;

		> button {
			height: 18px;
			width: 18px;
		}
	}

	> button {
		height: 36px;
		width: 36px;
		cursor: pointer;
		background-color: #FFF;
        border: 1px solid #d2dae2;
        color: #60554F;
		z-index: 9999999;
	}
}

.surveyfunnel-lite-tab-ShortAnswer, .surveyfunnel-lite-tab-LongAnswer, .surveyfunnel-lite-tab-TextElement, .surveyfunnel-lite-tab-ImageQuestion {
	padding: 40px;
	border-radius: 12px;
	width: 100%;

	input[type="text"], textarea {
		width: 100%;
		border-radius: 9px;
		margin: 0px 0px 10px 0px;
		word-break: break-word;
		outline: none;
		padding: 20px;
	}

	input[type="text"] {
		height: 40px;
	}

	textarea {
		min-height: 100px;
	}
}

.modalComponentError {
	margin: 10px 0px;
	color: #f44336;
}

.imageAnswerFlexBox {
	display: flex;
	flex-wrap: wrap;
}

.surveyfunnel-lite-tab-imageanswer-container {
	display: block;
	margin-right: 20px;
	margin-bottom: 20px;

	border-radius: 12px;
	overflow: hidden;
	font-size: 12px;
	background: #F0F2F5;

	box-shadow: 0px 4px 1px rgba(0,0,0, 0.04);

	input[type="radio"]{
		display:none;
	}

	label {
		white-space: nowrap;
		width: 100%;
		height: 100%;
	}

	input[type="radio"] + div {
		
		cursor:pointer;
		max-width: 160px;
	}

	input[type="radio"]:checked + div {
		outline: 10px solid #f00;
	}

	.image-answer {
		position: relative;
		font-size: 0;
		img {
			border-radius: 3px;
			transition: all .2s ease-in-out;
			width: 160px;
			height: 100px;
		}
	}

	.imageAnswerName {
		padding: 10px 12px;
		word-break: break-word;
	}
}

.active {
	opacity: 0.5;
}