@import url(//fonts.googleapis.com/css?family=Oswald:700);

html {
    -webkit-text-size-adjust: none; /* Prevent font scaling in landscape */
}

body {
    background-color: #000;
    font: 0 sans-serif;
    color: #fff;
    min-height: 450px;
    min-width: 320px;
}

button {
    background-image: none;
}

a {
    color: #fff;
    text-decoration: none;
}

#welcome-box {
    color: #000;
    background-color: #ededed;
    border-radius: 14px;
    padding: 30px 0;
    display: inline-block;
    max-width: 500px;
    margin: 20px;
}

#welcome-box p {
    font-size: 12px;
}

#welcome-title {
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 1px solid #cdcdcd;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

#welcome-intro {
    margin: 0 25px;
}

#welcome-btn {
    margin-top: 30px;
    width: 105px;
}

.btn {
    border: 1px solid #cdcdcd;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    line-height: 25px;
    background-color: #e9e9e9;
    box-shadow: inset 0 34px 29px -18px #fff, 0 0 1px rgba(0, 0, 0, .7);
    cursor: pointer;
    color: #000;
}

/* Header */

#template-header {
    padding: 15px 0;
    position: relative;
}

/* Languages */

.language-dropdown {
    text-align: right;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    width: 165px;
}

.dropdown .dropdown-menu {
    overflow: hidden;
    max-height: 0;
    box-shadow: 0 0 0 rgba(0, 0, 0, .3);
    transition: max-height .3s ease-in, box-shadow .3s 0;
    -webkit-transition: max-height .3s ease-in, box-shadow .3s 0;
}

.dropdown.open .dropdown-menu {
    max-height: 200px;
    box-shadow: 0 4px 3px rgba(0, 0, 0, .2);
}

.language-dropdown .current {
    line-height: 34px;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
}

.language-dropdown .current:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 14px;
    height: 8px;
    background: url(../images/flag-arrow-fff.png) no-repeat;
    -webkit-transition: transform .2s ease-in;
    transition: transform .2s ease-in;
}

.language-dropdown.open .current:before {
    transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
}

.language-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #323232;
    border-top: 1px solid #4a4a4a;
    border-right: 1px solid #4a4a4a;
}

.language-dropdown .current span,
.dropdown-menu-item .flag:after {
    content: '';
    width: 30px;
    height: 20px;
    margin: 7px;
    background: url(../images/flags.png);
    vertical-align: middle;
    display: inline-block;
}

.dropdown-menu .flag:after {
    position: absolute;
    right: 7px;
    top: 0;
}

.language-dropdown .current.fr span,
.dropdown-menu-item .fr:after {
    background-position: -33px 0;
}

.language-dropdown .current.es span,
.dropdown-menu-item .es:after {
    background-position: -66px 0;
}

.language-dropdown .current.de span,
.dropdown-menu-item .de:after {
    background-position: -132px 0;
}

.language-dropdown li:nth-child(even) {
    background-color: #2e2e2e;
}

.language-dropdown li {
    position: relative;
}

.language-dropdown li:first-child {
    border-top: 0;
}

.language-dropdown li a {
    color: #969696;
    display: block;
    position: relative;
    font-size: 13px;
    line-height: 34px;
    font-weight: 400;
    padding-right: 60px;
    text-transform: uppercase;
}

.logo {
    font: 20px/22px 'Oswald', sans-serif;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    margin-right: 45px;
}

.logo:lang(es) {
    font-size: 22px;
}

.logo img {
    max-height: 35px;
}

.logo .color-1 {
    color: #d81a1c;
}

.logo .subtext {
    text-align: right;
    font: 11px/14px sans-serif;
    color: #fff;
    display: block;
    text-transform: none;
    letter-spacing: 0;
    margin-right: 5px;
}

.logo-checkbox {
    width: 26px;
    height: 22px;
    vertical-align: top;
}

/* Content */

#questions-ctn section,
.hide #content,
.hide #template-footer,
#questions-ctn.hide,
#loading {
    display: none;
}

#questions-ctn #question-1 {
    display: block;
}

#final {
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

#final.show {
    opacity: 1;
    height: auto;
    width: auto;
    overflow: auto;
    -webkit-transition: opacity .3s ease-in;
    transition: opacity .3s ease-in;
}

#start.hide {
    display: none;
}

.top-ctn {
    border-top: 1px solid #4a4a4a;
    padding: 10px;
    overflow: hidden;
}

.top-ctn .inner {
    overflow: hidden;
}

.top-photo {
    width: 110px;
    height: 150px;
    float: left;
    object-fit: cover;
    object-position: center top;
}

.top-text {
    padding-left: 120px;
    min-height: 93px;
    text-align: left;
    font-size: 11px;
    line-height: 14px;
}

.top-text h1 {
    color: #da1816;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Questions */
.ctn {
    border: 3px solid #da1816;
    padding: 10px;
    margin: 10px 10px 0;
}

#questions-ctn {
    clear: both;
    min-height: 205px;
}

#questions-ctn section h1 {
    font-size: 18px;
    font-weight: bold;
}

#questions-ctn section p {
    font-size: 14px;
    padding: 15px 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #4a4a4a;
}

#questions-ctn section .choices-ctn {
    max-width: 80%;
    display: inline-block;
}

#questions-ctn .choices-ctn label {
    display: block;
    text-align: left;
    margin: 8px 0;
    position: relative;
}

#questions-ctn .choices-ctn input[type='radio'] {
    opacity: 0;
    float: left;
    margin-right: 10px;
    position: absolute;
    top: 0;
    left: 0;
}

#questions-ctn .choices-ctn span:before {
    content: '';
    display: inline-block;
    background-color: #fff;
    width: 14px;
    height: 14px;
    border-radius: 100%;
    position: absolute;
    top: 1px;
    left: 0;
}

#questions-ctn .choices-ctn input[type='radio']:checked + span:before {
    background-color: #5f5f5f;
    border: 2px solid #fff;
    box-sizing: border-box;
}

#questions-ctn .choices-ctn span {
    display: inline-block;
    font-size: 14px;
    line-height: 16px;
    padding-left: 23px;
}

#questions-ctn section .btn {
    display: block;
    margin: 10px auto 0;
    padding: 0 28px;
}

/* Loading */
#loading .loading-anim {
    width: 128px;
    height: 128px;
    display: inline-block;
    background: url(../images/loading.gif) no-repeat;
    margin-top: 20px;
}

#loading p {
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    margin-top: 15px;
}

/* Offers */
#offers-ctn {
    padding: 0;
}

.offer {
    padding: 10px 0;
    margin: 0 10px;
    border-bottom: 1px solid #4a4a4a;
    display: block;
    position: relative;
}

.offer:last-child {
    border-bottom: none;
}

.offer-img {
    width: 107px;
    float: left;
}

.offer .btn {
    margin-top: 12px;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.offer-txt {
    text-align: left;
    padding-left: 120px;
}

.offer-txt .title {
    color: #da1816;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.offer-txt p {
    font-size: 11px;
    margin-bottom: 10px;
}

.offer .ranking {
    margin: 3px 0;
    display: none;
}

.offer-stats li {
    display: inline-block;
    font-size: 9px;
    font-weight: bold;
    line-height: 13px;
    width: 100%;
}

.offer-stats li span {
    color: #a4a4a4;
    font-weight: bold;
}

.offer-stats li.offer-price {
    color: #43db00;
}

#comments-ctn {
    margin-top: 10px;
    padding: 0 10px;
}

#comments-ctn h1 {
    text-align: left;
    width: 100%;
    padding: 0 10px;
    margin-left: -10px;
    text-transform: uppercase;
}

#comments-ctn .comment {
    border-top: 1px solid #333;
    padding: 10px 0;
    min-height: 50px;
    vertical-align: top;
}

#comments-ctn .comment img {
    width: 50px;
    float: left;
}

.comment-txt {
    padding-left: 60px;
    text-align: left;
}

.comment-txt p {
    font-size: 11px;
}

#comments-ctn h1,
.comment-txt .name {
    font-size: 14px;
    line-height: 26px;
    color: #da1816;
    font-weight: bold;
}

.comment-txt span {
    color: #848484;
    font-size: 9px;
}

#audio {
    width: 0;
    height: 0;
}

#sound {
    padding: 10px 0;
}

#sound.off .on,
#sound .off {
    display: none;
}

#sound.off .off {
    display: block;
}

/* Footer */

#template-footer {
    width: 100%;
    float: left;
    color: #fff;
}

#bottom-footer {
    padding-top: 15px;
    height: 69px;
    background-color: #303030;
}

#template-footer a {
    color: #fff;
}

#template-footer .footer-copyright {
    width: 100%;
    text-align: center;
}

#template-footer .footer-copyright .copyright-imgs img:first-child {
    margin: 0 5px 3px 0;
}

#template-footer .footer-copyright .copyright-details {
    width: 100%;
    text-align: center;
}

#template-footer .footer-copyright p {
    font-size: 12px;
    line-height: 16px;
}

/* Sticky footer */
html,
body,
#body-wrapper {
    height: 100%;
}

#content {
    min-height: 100%;
    margin-bottom: -129px;
}

#content:after {
    content: '';
    display: block;
}

#content:after {
    height: 129px;
}

@media only screen and (min-width: 768px) {
    .logo .subtext {
        font-size: 16px;
        margin-top: 3px;
        line-height: 19px;
    }

    .logo img {
        max-height: none;
    }

    #welcome-box {
        margin-top: 70px;
    }

    .btn {
        font-size: 14px;
        line-height: 37px;
    }

    /* Header */
    #template-header {
        padding: 30px 0;
    }

    .logo {
        margin-right: 0;
    }

    .logo:lang(es),
    .logo {
        font-size: 47px;
        line-height: 49px;
        letter-spacing: 1px;
    }

    .logo-checkbox {
        width: 57px;
        height: 49px;
    }

    /* Content */
    .top-ctn {
        padding: 15px 25px;
    }

    .top-photo {
        width: 110px;
        height: 150px;
    }

    .top-text {
        padding-left: 125px;
        min-height: 120px;
        font-size: 14px;
        line-height: 120px;
    }

    .top-text .middle {
        display: inline-block;
        line-height: 17px;
        vertical-align: middle;
    }

    .top-text h1 {
        font-size: 19px;
        margin-bottom: 15px;
    }

    .ctn {
        margin: 15px 25px;
    }

    /* Questions */
    #questions-ctn {
        padding: 30px 25px;
        min-height: 264px;
    }

    #questions-ctn section h1 {
        font-size: 28px;
    }

    #questions-ctn section p {
        font-size: 24px;
        padding: 20px 0;
        margin-bottom: 20px;
        border-bottom-width: 2px;
    }

    #questions-ctn .choices-ctn span {
        font-size: 21px;
        line-height: 26px;
        padding-left: 44px;
    }

    #questions-ctn .choices-ctn span:before {
        width: 18px;
        height: 18px;
        top: 3px;
    }

    #questions-ctn .choices-ctn input[type='radio']:checked + span:before {
        border: 3px solid #fff;
    }

    #questions-ctn section .btn {
        padding: 0 40px;
    }

    /* Loading */
    #loading .loading-anim {
        margin-top: 35px;
    }

    #loading p {
        margin-top: 30px;
    }

    /* Offers */
    .offer-txt .title {
        font-size: 14px;
    }

    .offer-txt p {
        font-size: 12px;
    }

    .offer .btn {
        font-size: 20px;
        line-height: 44px;
    }

    .offer-stats li {
        font-size: 11px;
        line-height: 18px;
    }

    /* Comments */
    #comments-ctn {
        padding: 0 30px;
        text-align: left;
    }

    #comments-ctn h1 {
        padding: 0 30px;
        margin-left: -30px;
    }

    #comments-ctn .comment {
        display: inline-block;
        width: 50%;
        box-sizing: border-box;
        padding: 10px 0;
        border-top: 0;
    }

    .comment-txt {
        padding-left: 90px;
    }

    .comment-txt p {
        font-size: 12px;
        margin-right: 10px;
    }

    #comments-ctn .comment img {
        width: 80px;
    }
}

@media only screen and (min-width: 992px) {
    .ctn {
        margin: 15px 80px;
    }

    .top-ctn {
        padding: 15px 80px;
    }

    #comments-ctn {
        padding: 0 80px;
    }

    #comments-ctn h1 {
        padding: 0 80px;
        margin-left: -80px;
    }

    #comments-ctn .comment {
        padding: 10px 0;
    }
}

@media only screen and (min-width: 1200px) {

    .inner {
        width: 860px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    span.inner {
        display: block;
    }

    .inner.ctn {
        margin: 15px auto;
    }

    .top-photo {
        width: 110px;
        height: 150px;
        margin-left: 30px;
    }

    .top-text {
        padding-left: 180px;
        min-height: 147px;
        line-height: 147px;
    }

    #questions-ctn {
        padding: 35px 30px;
        min-height: 360px;
    }

    #loading .loading-anim {
        margin-top: 40px;
    }

    .offer {
        min-height: 117px;
        padding: 17px 0;
        margin: 0 30px;
        border-bottom-width: 2px;
    }

    .offer-img {
        width: 129px;
        margin-left: 25px;
    }

    .offer-txt {
        padding: 0 240px 0 170px;
    }

    .offer .btn {
        position: absolute;
        min-width: 165px;
        width: auto;
        right: 20px;
        top: 50%;
        margin-top: -19px;
        font-size: 14px;
        line-height: 16px;
        padding: 10px 5px;
    }

    #comments-ctn h1 {
        font-size: 18px;
        padding: 0;
        margin-left: 0;
        line-height: 36px;
    }

    #comments-ctn {
        padding: 0;
    }

    #comments-ctn .comment {
        padding: 20px 0;
    }
}
