body {
    position: relative;
    background: url(/assets/static/pages/quiz/img/bg.jpg) no-repeat;
    
    /**
    background-size: cover;
    background-attachment: fixed;
    */
}

body:after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
   display: block;
}

.fl {
    display: flex;
}

.base--animation > * {
    transition: all .2s ease;
}

article {
    display: flex;
    align-items: center;
    height: 100%;

}

.main {
    height: 100%;
}

.app {
    position: relative;
    z-index: 5;
    height: 100%;
    min-height: 680px;
    width: 100%;
    height: calc(100% - 70px);
    margin: 70px auto 0;
    letter-spacing: .5px;
    color: #f2f2f2;
    

}

@media (min-width: 992px) {
  
  .app {
      height: calc(100% - 70px);
  }
  
}



.app__content {
    position: relative;
    z-index: 10;
}
    

.app__content-top {
    margin-bottom: 70px;
}

.app-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 .5rem;
}

.app__block--bordered {
    width: 100%;
    padding: 20px 35px;
    border: 2px solid #cbcaca;
    border-radius: 3px;
}

.app__bottom {
    margin-top: 40px;
    font-size: 18px;
    text-align: center;
}

.app__count {
    display: none;
}

.app__legal {
    margin-top: 10px;
    font-size: 12px;
}

[data-current="1"] .app__count {
    display: block;
}

.app__content-step-top {
    position: relative;
    align-items: flex-start;
    margin-bottom: 20px;
}

[data-current="1"] .app__content-step-top:after {
    content: '';
    position: absolute;
    top: 55px;
    left: 35px;
    width: 100%;
    height: 70px;
    background: url(/assets/static/pages/quiz/img/splash.png) no-repeat 100% 100%;
    background-size: contain;
}

.app__content-step-top > div {
    position: relative;
    z-index: 1;
}

.app__manager-ico {
    width: 120px;
    margin-bottom: 20px;
}

.sv_container .app__manager-ico {
    float: right;
}

.app__manager-ico img {
    display: block;
    border-radius: 120px;
    box-shadow: 1px 2px 13px 0px #0a0a0a;
}

.app__manager-name {
    font-size: 20px;
    clear: both;
}

.app__manager-role {
    margin-top: 0px;
    font-size: 12px;
    font-weight: 100;
    color: #a8a8a8;
}

.app__manager {
    margin: 60px 15px 0;
}

.app__content-slogan {
    max-width: 750px;
    font-size: 27px;
    line-height: 45px;
    text-transform: uppercase;
    letter-spacing: 2.8px;
}

.app__content-slogan .signal {
    position: relative;
    display: block;
    font-weight: 500;
}

.app__content-step {
    display: none
}

.app__content-step.active {
    display: flex;
    flex-direction: column;
    height: 100%;
}

[data-current="1"] .app__content-step.active {
    align-items: center;
    justify-content: space-between;
}

.app__content-step-content {
    font-size: 20px;
    list-style: none;
}

.app__content-step-content li {
    position: relative;
    margin-bottom: 15px;
    padding-left: 15px;
    text-align: left;
}

.app__content-step-content li:before {
    content: '\2022';
    position: absolute;
    top: -1px;
    left: 0px;
    font-size: 16px;
    color: #f26422;
}

.app__btn-start {
    height: 60px;
    margin-top: 50px;
    padding: 0 20px;
    border-radius: 4px;
    font-size: 27px;
    line-height: 60px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.sv_qcbc.form-inline {
    background: none;
}

.sv_container h5 {
    max-width: 645px;
    margin-bottom: 40px;
    font-size: 19px;
    font-weight: 400;
}

[data-bind="css: {'content-left': question.hasTitleOnLeft}"] {
    position: relative;
}

.alert.alert-danger {
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 10px;
    color: #f26422;
}

.app .radio,
.app .checkbox {
    margin-bottom: 15px;
    font-size: 19px;
}

.app .form-inline label {
    width: 100%;
    margin: 0;
}

@keyframes hover-color {
    from {
        border-color: #e1e1e1;
    }

    to {
        border-color: #f26422;
    }
}

.app input[type="radio"],
.app input[type="checkbox"] {
    display: none;
}

.app .radio label, 
.app .checkbox label {
    position: relative;
    display: block;
    padding-left: 40px;
    font-size: 19px;
    cursor: pointer;
    vertical-align: middle;
}

.app .radio label:hover:before, 
.app .checkbox label:hover:before {
    animation-duration: 0.4s;
    animation-fill-mode: both;
    animation-name: hover-color;
}

.app .radio label:before, 
.app .checkbox label:before {
    position: absolute;
    top: 2px;
    left: 0;
    display: inline-block;
    width: 18px;
    height: 18px;
    content: '';
    border: 2px solid #e1e1e1;
}

.app .radio label:after, 
.app .checkbox label:after {
    position: absolute;
    content: '';
}

.app .radio.checked + label:before, 
.app .checkbox:checked + label:before {
    animation-name: none;
}

.app .radio.checked label:after, 
.app .checkbox:checked + label:after {
    display: block;
}

.app .radio label:before,
.app .radio label:after {
    border-radius: 100%;
}

.app .checkbox label:before {
    border-radius: 4px;
}

.app .radio.checked label:after {
    top: 10px;
    left: 8px;
    width: 6px;
    height: 6px;
    background: #e1e1e1;
}

.app .checkbox.checked label:before {
    top: 0px;
    left: 0px;
    width: 24px;
    height: 24px;
    border: none;
    background: url(/assets/static/pages/quiz/v/v1/img/multi-yes.svg) no-repeat;
}

.app .radio.checked label:before {
    border-color: #f26422;
}

.app .sv_next_btn,
.sv_complete_btn {
    position: relative;
    float: right;
}

.app .panel-footer input[type="button"] {
    display: inline-block;
    height: 45px;
    width: 90px;
    padding: 0;
    border: 2px solid;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    line-height: 40px;
    letter-spacing: 1px;
    color: #f2f2f2;
    background: transparent;
    text-transform: lowercase;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    transition: all .2s ease;
}

.app .panel-footer input[type="button"]:active {
    background: #f26422;
    border-color: #f26422;
    color: #f2f2f2;
}

.app .panel-footer input[type="button"].sv_prev_btn:active {
    background: #fff;
    border-color: #fff;
    color: #f26422;
}

@media (min-width: 992px) {
  .app .panel-footer input[type="button"]:hover {
      background: #f26422;
      border-color: #f26422;
      color: #f2f2f2;
  }

  .app .panel-footer input[type="button"].sv_prev_btn:hover {
      background: #fff;
      border-color: #fff;
      color: #f26422;
  }
}

#surveyElement {
    display: flex;
    height: 100%;
    width: 100%;
}

.app__content-steps {
    flex: 1;
    width: 100%;
}

.sv_container {
    display: flex;
    height: 100%;
    width: 100%;
}

.panel-body.card-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}


.app .sv_bootstrap_css .sv_qstn {
    position: relative;
    margin-top: 75px;
    padding: 0;
}

.sv_bootstrap_css {
    width: 100%;
}

[data-bind="css: data.css.page.root"] {
    display: flex;
    justify-content: space-between;
    height: 380px;
}

.app__manager-hint {
    position: relative;
    margin-top: 20px;
    width: 100%;
    max-width: 235px;
    padding: 15px;
    font-size: 14px;
}

.app__manager-hint:before {
    content: '';
    position: absolute;
    top: -11px;
    right: 20px;
    width: 12px;
    height: 11px;
    background: url(/assets/static/pages/quiz/img/tangel.png);
}

.app__manager-hint > div {
    height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    text-align: right;
}

.app__manager-adv:not(.active) {
    transition: unset;
}

.app__manager-hint > .active {
    transform: translateY(0);
    height: auto;
    opacity: 1;
    visibility: visible;
}

.app__manager-hint span {
    display: inline-block;
    font-size: 13px;
}

.app__manager.quest {
    margin: -60px 0 0;
    text-align: right;
}

.app__manager-tip-text {
    text-align: left;
}

.app__manager-tip-link {
    margin-top: 20px;
    margin-left: auto;
    padding-bottom: 2px;
    color: #f26422;
    background-image: linear-gradient(to right,#f26422 33%,rgba(255,255,255,0) 0);
    background-position: bottom;
    background-size: 6px 2px;
    background-repeat: repeat-x;
    cursor: pointer;
}

[data-current="3"] .app__content-block,
[data-current="4"] .app__content-block {
    max-width: 570px;
}

.app__content-cta-title {
    margin-bottom: 20px;
    font-size: 28px;
    line-height: 45px;
}

.app__content-cta-subtitle {
    font-size: 13px;
}

.app__content-cta-subtitle a {
    color: #f26422;
}

.app__content-cta {
    margin: 50px 0;
}

.app__content-cta form {
    margin: 0;
    max-width: 425px;
}

.app__content-gift-img {
    margin-right: 15px;
}

.app__content-gift-img img {
    display: block;
}

.app__content-gift-text {
    font-size: 12px;
}

.app__content-gift-text span {
    font-size: 17px;
}

.app__content-gift.fl {
    align-items: center;
}

@media (min-width: 992px) {
    .app__content-slogan:before {
        content: '';
        position: absolute;
        top: 135px;
        left: -11px;
        width: 12px;
        height: 14px;
        background: url(/assets/static/pages/quiz/img/langel.png);
    }
}

@media (max-width: 991px) {
    article {
        height: 100%;
        align-items: flex-start;
    }

    .app {
        display: flex;
        margin-top: 0;
        min-height: 100%;        
        height: auto;
        margin: 0;
    }

    .fl {
        flex-direction: column;
    }

    .app__block--bordered {
        padding: 20px;
    }

    .app__content-step-top, .app__content-step-top {
        flex-direction: column-reverse;
    }
    
    [data-current="1"] .app__content-step-top:after {
        display: none;
    }
    
    .app__content {
        height: auto;
        position: relative;
        z-index: 10;
    }

    .app__content-slogan:before {
        content: '';
        position: absolute;
        bottom: -11px;
        left: 20px;
        width: 12px;
        height: 11px;
        background: url(/assets/static/pages/quiz/img/bangel.png);
    }

    .app__content-slogan {
        padding: 15px 15px;
        font-size: 18px;
        line-height: 25px;
    }

    .app__content-top {
        margin: 30px;
    }

    .app__manager {
        margin-top: 30px;
    }

    .app__content-step-content {
        font-size: 15px;
    }

    .app__btn-start {
        height: 45px;
        line-height: 48px;
        margin-top: 20px;
        font-size: 16px;
    }

    .app__bottom {
        margin-top: 15px;
        font-size: 14px;
    }
    
    [data-current="3"] .app__content-block:after {
        transform: rotate(-90deg);
    }

    [data-bind="css: data.css.page.root"] {
        flex-direction: column;
        height: auto;
    }

    .sv_container h5 {
        margin-bottom: 20px;
        font-size: 18px;
    }

    .app .sv_bootstrap_css .sv_qstn {
        margin-top: 0px;
    }

    .app__manager.quest {
        display: none;
    }

    .app__content-cta-title {
        font-size: 21px;
        line-height: 28px;
    }

    .app__content-cta {
        margin: 25px 0;
    }

    .app__content-gift.fl {
        align-items: flex-start;
    }

    .app__content-gift-img {
        margin-bottom: 10px;
    }
}

@media (min-width: 991px) {
  .app .sv_next_btn,
  .app .sv_complete_btn {
      float: none;
  }

  .app .sv_prev_btn {
      margin-right: 50px;
  }

  .app__content {
      position: relative;
  }

  .app[data-current="2"] .app__bottom {
      position: absolute;
      bottom: 0;
      right: 10px;
      margin: 0;
  }
}

@media (min-width: 992px) {
	.app {
		margin-top: 70px;
	}
}

@media (max-width: 991px) {
	.app__content {
		height: auto;
		position: relative;
		z-index: 10;
		justify-content: flex-start;
		padding: 0 15px;
	}
}