#divAppSurvey
{
    background-color:rgba(0, 0, 0, 0.75);
    display:none;
    height:100%;
    left:0%;
    opacity:0;
    position:fixed;
    top:0%;
    width:100%;
    z-index:5;
}

#divAppSurvey.show
{
	animation-duration:0.25s;
	animation-name:showPopup;
	display:block;
	opacity:1;
}

#divAppSurvey.hide
{
    display: none !important;
}

#divAppSurvey #divSurveyPopup
{
    background-color:#1b1c20;
    border-radius:10px;
	box-shadow:inset 0px 20px 10px -20px rgba(255, 255, 255, 0.75), inset 0px -20px 10px -20px rgba(0, 0, 0, 0.75), 0px 0px 50px #000000;
    max-height: 500px;
	left:50%;
    opacity:0;
	overflow:auto;
	padding:30px;
	position:absolute;
	top:50%;
	transform:translate(-50%, -50%);
    transition:height 0.25s, padding 0.25s;
	width:480px;
}

#divAppSurvey.show #divSurveyPopup
{
    animation-duration:0.25s;
	animation-name:showWallet;
	opacity:1;
}

#divAppSurvey .h3PopupHeading
{
    height:40px;
	line-height:40px;
    margin-bottom:15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: calc(100% - 20px);
}

#divAppSurvey #btnClosePopup
{
	cursor:pointer;
	height:40px;
	position:absolute;
	right:20px;
	top:20px;
	width:40px;
}

#divAppSurvey #btnClosePopup:before
{
	background-color:#3f4656;
	content:"";
	height:2px;
	left:8px;
	position:absolute;
	top:20px;
	transform:rotate(45deg);
    transition:background-color 0.25s, box-shadow 0.25s;
	width:24px;
}

#divAppSurvey #btnClosePopup:after
{
	background-color:#3f4656;
	content:"";
	height:2px;
	left:8px;
	position:absolute;
	top:20px;
	transform:rotate(-45deg);
    transition:background-color 0.25s, box-shadow 0.25s;
	width:24px;
}

#divAppSurvey #btnClosePopup:hover:before, #divAppSurvey #btnClosePopup:focus:before, #divAppSurvey #btnClosePopup:hover:after, #divAppSurvey #btnClosePopup:focus:after
{
    background-color:#fbd3ff;
    box-shadow:0px 0px 5px #e600ff;
}

#divAppSurvey #btnSubmit
{
    margin-top:30px;
    width:100%;
}

#divAppSurvey #divContent img{
    max-width: 100%;
}

#divAppSurvey .question-block
{
    margin-bottom: 10px;
}

#divAppSurvey .question-label
{
    display: block;
    color: #FFFFFF;
    margin-bottom: 10px;
    position: relative;
}

#divAppSurvey .option-block
{
    margin-bottom: 10px;
}

/* Customize the label (the container) */
#divAppSurvey .container {
    display: block;
    position: relative;
    padding-left: 45px;
    margin-bottom: 25px;
    cursor: pointer;
    font-size: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
#divAppSurvey .container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: -5px;
    left: 0;
    height: 30px;
    width: 30px;
    border: 3px solid #37383d;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
#divAppSurvey .container:hover input ~ .checkmark {
    border:3px solid #cffdff;
    box-shadow:inset 0 0 5px #01eff9, 0 0 5px #01eff9;
}

/* When the radio button is checked, add a blue background */
#divAppSurvey .container input:checked ~ .checkmark {
    background: linear-gradient(180deg, #ac78e4 0%, #7262f2 100%);
}

#divAppSurvey .result-block{
    margin-bottom: 10px;
}

#divAppSurvey .result-container{
    font-size: 18px;
    margin-bottom: 10px;
    position: relative;
}

#divAppSurvey .result-percentage-container{
    background-color: #7262f2;
    height: 5px;
    opacity: 0.5;
    width: 100%;
}

#divAppSurvey .result-percentage-value{
    position: absolute;
    color: white;
    top: 19px;
    font-size: 12px;
    text-align: right;
    width: 100%;
}

/* ANIMATION KEY FRAMES */
@keyframes showPopup
{
	0%   {opacity:0;}
	1%   {opacity:0;}
	100% {opacity:1;}
}

/* MEDIA QUERIES */
@media (max-height: 580px)
{
    #divAppSurvey #divSurveyPopup
    {
        height:calc(100% - 200px);
        overflow-y:auto;
        top:20px;
        transform:translate(-50%, 0%);
    }
}

@media (max-width: 540px)
{
    #divAppSurvey
    {
        display:block;
        opacity:1;
        transform:translate(-100%, 0%);
        transition:transform 0.25s;
    }

    #divAppSurvey.show
    {
        animation:none;
        transform:translate(0%, 0%);
    }

    #divAppSurvey #btnClosePopup
    {
        right:15px;
        top:15px;
    }

    #divAppSurvey #btnClosePopup:before, #divAppSurvey #btnClosePopup:after
    {
        background-color:#fbd3ff;
        box-shadow:0px 0px 5px #e600ff;
    }

    #divAppSurvey #divSurveyPopup
    {
        box-shadow:none;
        border-radius:0px;
        height:calc(100% - 120px);
        left:0%;
        opacity:1;
        overflow-y:auto;
        padding:20px 20px 100px;
        top:0%;
        transform:translate(0%, 0%);
        width:calc(100% - 40px);
        max-height: unset;
    }
}

@media (max-width: 420px)
{
    #divAppSurvey #btnClosePopup
    {
        right:10px;
        top:10px;
    }
}
