/*INITIAL ----------------------------------*/

body {
    background-color: #151E33;
    color: #fff;
    font-family: 'Titillium Web', sans-serif;
    overflow: hidden;
}

h4 {
    font-size: 2em;
    font-weight: 600;
}

h4 small {
    color: white;
}

a {
    color: #07365f;
}

.btn-darkslategray {
    color: #fff;
    border-color: #12304e;
    background: #12304e;
}

.question-title .question-subtitle-text {
        font-size: 1.3em;
}

.blockMsg {
    display: none !Important;
}

body.input-focus .form-header {
    height: 60px;
}

body.input-focus .form-body {
    height: 100vh;
}

body.input-focus .question-title h4,
body.input-focus .question-info {
    display: none;
}

/*body.input-focus .question-image-placeholder {*/
/*    display: none;*/
/*}*/

textarea, input[type=tel] {
    padding: 1em;
    font-size: 1.5em;
    color: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0);
    border-radius: 5px;
    width: 80%;
    max-width: 500px;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.5);
    border-style: solid;
}

ol, ul {
    margin: 0;
}

::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.transition {
    -webkit-transition: all 400ms ease-in-out;
    -moz-transition: all 400ms ease-in-out;
    -ms-transition: all 400ms ease-in-out;
    -o-transition: all 400ms ease-in-out;
    transition: all 400ms ease-in-out;
}


/* LAYOUT ----------------------------------------------------*/

.form-header {
    height: 45vh;
    /*background-image: url('form_header_bg.jpg');*/
    background-size: cover;
    background-position: center;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: end;
}

.form-body {
    min-height: 55vh;
    opacity: 0;
}

.form-nav {
    height: 80px;
    position: absolute;
    display: none;
    background: #151E33;
    width: 100%;
    z-index: 102;
    font-size: 2rem;
    user-select: none;
}

.form-view-frame-loader {
    position: fixed;
    width: 100%;
    height: 100px;
    top: 50%;
    margin-top: -50px;
    left: 0;
    text-align: center;
    z-index: 1000;
}

/* TABLET STYLES */
body.is-tablet .form-nav {
    padding: 20px;
    height: auto;
}

body.is-tablet #restart {
    padding: 30px 40px;
}

body.is-tablet #progress-bar {
    top: 117px;
}

body.is-tablet #language-picker {
    top: 45px;
    left: 50%;
    margin-left: -60px;
    height: 60px;
}

body.is-tablet .question-info {
    padding-bottom: 0;
    margin-top: -55px;
}

/* BUTTONS ----------------------------------------------*/
.form-nav-buttons {
    float: right;
    padding-right: 30px;
}

.form-nav-button {
    display: inline-block;
    line-height: 60px;
    background-color: #030C1E;
    border-radius: 5px;
    margin: 10px 0 10px 10px;
    padding: 0 40px;
    cursor: pointer;
}

.form-nav-button.next {
    background-color: rgba(0, 0, 0, .5);
}

#restart {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 40px;
    line-height: 60px;
    cursor: pointer;
}

#restart span {
    color: white;
}

#restart span:hover {
    text-decoration: underline;
}

#answer-again {
    cursor: pointer;
    visibility: hidden;
}

#answer-again:hover {
    text-decoration: underline;
}

.form-button {
    margin: 15px auto;
    border-radius: 5px;
    font-size: 1.5em;
    font-weight: 600;
    padding: 7px;
    background-color: rgba(0, 0, 0, 0.5);
    width: 120px;
    cursor: pointer;
}


/*GITEK SLIDER -------------------------------------------------------*/

.gitek {
    width: 100%;
    min-height: 100%;
    overflow: hidden;
}

.gitek__track {
    width: 100%;
    min-height: 100%;
    margin: 0 auto;
}

.gitek__list {
    display: block;
    min-height: 100%;
    padding: 0;
}

.gitek__slide {
    min-height: 100%;
    width: 100%;
    display: none;
}

.gitek__slide.is-active {
    display: block;
}

/* QUESTIONS AND ANSWERS -------------------------------------------*/
@media screen and (orientation:portrait) {
    .question-container {
        width: 100%;
        max-width: 1200px;
        min-height: 100%;
        padding: 0 1em;
        margin: 15px auto;
    }
}

@media screen and (orientation:landscape) {
    .question-container {
        width: 100%;
        max-width: 1200px;
        min-height: 100%;
        padding: 0 1em;
        margin: 0 auto;
    }
}

.question-title {
    width: 100%;
    text-align: center;
    /*padding: 3.5em 0;*/
    padding-top: 2em;
    padding-bottom: 2.5em;
}

.question-answer {
    width: 100%;
    margin: 0 auto;
    display: table;
    text-align: center;
}

.rating-container {
    display: table-cell;
    vertical-align: middle;
}

.valueitem-text {
    font-size: 2rem;
    color: white;
}

.bool .valueitem-text {
    margin-top: 0.5em;
}

.stars {
    display: table;
    table-layout: fixed;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.star-container {
    display: table-cell;
    vertical-align: top;
}

.star-container img {
    width: 15vw;
    max-width: 100px;
    cursor: pointer;
}

.bool-container {
    margin: 0 auto;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    display: table-cell;
    vertical-align: middle;

    /*display: flex;*/

}

.bool-container .main-table {
    margin: 0 auto;
}

.yn-container {
    width: 100%;
    max-width: 440px;
    text-align: center;
    margin: 0 auto;
}

.bool-container .bool {
    display: inline-block;
    padding: 0 20px;
}

.bool-container .bool img {
    height: 120px;
    cursor: pointer;
}

.bool-container .muted {
    opacity: 0.2
}

.single-value-container, .multi-value-container {
    width: 100%;
    padding-bottom: 60px;
}

.single-value-container.half, .multi-value-container.half {
    width: 50%;
    padding: 10px;
    display: table-cell;
}

.single-value-item, .multi-value-item {
    margin: 0 auto 5px;
    width: 100%;
    padding: 8px;
    font-size: 1.1em;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    cursor: pointer;
}

.single-value-item i, .multi-value-item i {
    padding-right: 10px;
}

.single-value-item:hover, .multi-value-item:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.single-value-item.selected, .multi-value-item.selected {
    background-color: rgba(255, 255, 255, 0.5);
}

.question-image-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
}

.question-image-container {
    border-radius: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.question-image-container img {
    height: 90%;
}

.question-image-container img.islogo {
    max-height: 180px;
    max-width: 180px;
    border-radius: 10px;
}

.question-info {
    font-size: 2rem;
    max-width: 500px;
    margin: 0 auto 1em;
}

#footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.ia-container {
    display: block;
    clear: both;
    cursor: pointer;
    margin: 10px auto;
    padding: 10px;
    /*background: rgba(0,0,0,.5);*/
    border-radius: 5px;
    width: 150px;
}

.ia-container .ia-icon {
    width: 80px;
    height: 80px;

}

.ia-container .ia-icon-container {
    margin-bottom: 0.5em;
}


.ia-container .ia-string {
    font-size: 1.5rem;
    color: white;
}

/* OVERLAYS --------------------------------------------------*/
#thank-you, #continue-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    text-align: center;
    visibility: hidden;
}

.ty-image-container {
    margin-top: 10%
}

.ty-button {
    display: inline-block;
    margin: 15px auto;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 600;
    padding: 1em;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

#thank-you h4 {
    padding: 2em 0;
}

#thank-you img {
    max-width: 30%;
    max-height: 33vh;
}

#continue-container {
    background-color: #151E33;
    padding-top: 10%;
}

#progress-bar {
    position: absolute;
    top: 77px;
    left: 0;
    height: 3px;
    width: 0;
    background-color: rgba(255, 255, 255, 0.8);
}

/*LANGUAGE ----------------------------------*/

#language-picker {
    position: absolute;
    top: 25px;
    left: 49%;
    /*width: 120px;*/
    margin-left: -60px;
    z-index: 1001;
    text-align: center;
}

.language-container {
    display: inline-block;
}

.language-flag {
    padding: 3px;
    cursor: pointer;
}

.language-flag img {
    height: 30px;
}

.language-container .language-flag-ice img {
    height: 30px;
    width: 30px;
}

#tablet-debug {
    position: absolute;
    left: 30px;
    bottom: 30px;
    color: rgba(0, 0, 0, .4);
    font-size: 11px;
}


/* MEDIA QUERIES -------------------------------------------------*/

/*phone portrait*/
@media (orientation: portrait) and (max-width: 480px) {

    #footer {
        scale: 0.7;
        bottom: 30px !important;
        font-size: 16px;
    }

    .form-header {
        height: 40vh;
    }


    .question-title {
        padding: 0em 0 1em;
        font-size: 1rem;
    }

    .question-answer {
        margin: 1em 0 0 0;
        width: 100%;
    }

    .question-info {
        font-size: 1.5rem;
        padding-bottom: 1em;
    }

    .comment-container textarea, .comment-container input {
        width: 100%;
        font-size: 1.5rem;
    }

    .valueitem-text {
        font-size: 1.5rem;
    }

    .bool-container .bool img {
        width: 23vw;
        height: auto;
    }

    .bool-container .mobile-icon-size.ia-icon {
        width: 18vw !important;
        height: auto !important;
    }

    .rating-container .mobile-icon-size.ia-icon {
        width: 12vw !important;
        height: auto !important;
    }


    #progress-bar {
        top: 57px;
    }

    #restart {
        padding: 0 10px;
        line-height: 60px;
    }

    .form-nav {
        height: 60px;
        font-size: 1.5rem;
    }

    .form-nav-buttons {
        padding-right: 10px;
    }

    .form-nav-button {
        padding: 0 20px;
        line-height: 40px;
    }

}

/*phone landscape*/
@media (orientation: landscape) and (max-width: 860px) {

    #footer {
        scale: 0.7;
        bottom: -10px !important;
        font-size: 16px;
    }

    .question-title {
        padding: 1em 0;
        font-size: 1rem;
    }

    .question-answer {
        margin: 1em 0 0 0;
        width: 100%;
    }

    .valueitem-text {
        font-size: 1.5rem;
    }

    .star-container img {

    }

}

/*tablet portrait*/
@media (orientation: portrait) and (max-width: 860px) {
    .question-info {
        padding-bottom: 1em;
    }

    #language-picker {
        bottom: 15px;
        top: auto;
    }

    #footer {
        scale: 0.7;
        bottom: 45px !important;
        font-size: 16px;
    }

    .question-image-container img.isLogo {
        max-width: 160px;
        max-height: 160px;
    }

}

/*tablet landscape*/
@media (orientation: landscape) and (max-width: 1024px) {
    .question-info {
        padding-bottom: 1em;
    }

    #footer {
        scale: 0.7;
        bottom: -10px !important;
        font-size: 16px;
    }

    .question-image-container img.islogo {
        max-width: 160px;
        max-height: 160px;
    }
}

/*fix for language picker*/
@media (orientation: portrait) and (max-width: 860px) and (max-height: 640px) {

    #language-picker {
        bottom: 15px;
        right: 15px;
        left: auto;
    }

    #language-picker .language-flag img {
        height: 24px;
    }

    .question-image-container img.islogo {
        height: 100px !important;
        width: 100px !important;
    }
}

/*fallback for tiny screens*/
@media (max-height: 540px) {

    .form-header,
    .ty-image-container,
    .question-image-placeholder {
        display: none;
    }

    .form-body {
        height: 100%;
        min-height: 100vh;
        padding-top: 60px;
    }

    .question-image-container img.islogo {
        max-width: 150px;
        max-height: 150px;
    }
}

@media (max-width: 450px) {
    .question-image-container img.islogo {
        max-width: 150px;
        max-height: 150px;
    }

    .question-container {
        margin: 25px auto !important;
    }
}


/*ANIMATIONS ------------------------*/

.animating {
    position: absolute;
}

@-webkit-keyframes fadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.animate__fadeInLeft {
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
    -webkit-animation-duration: 500ms;
    animation-duration: 500ms;
}

@-webkit-keyframes fadeInRight {
    from {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.animate__fadeInRight {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
    -webkit-animation-duration: 4000ms;
    animation-duration: 400ms;
}

@-webkit-keyframes fadeOutRight {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }
}

@keyframes fadeOutRight {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }
}

.animate__fadeOutRight {
    -webkit-animation-name: fadeOutRight;
    animation-name: fadeOutRight;
    -webkit-animation-duration: 400ms;
    animation-duration: 400ms;
}

@-webkit-keyframes fadeOutLeft {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes fadeOutLeft {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

.animate__fadeOutLeft {
    -webkit-animation-name: fadeOutLeft;
    animation-name: fadeOutLeft;
    -webkit-animation-duration: 400ms;
    animation-duration: 400ms;
}