:root {
    --main-color: #254B97;
    --secondary-color: #EE5D5B;
    --third-color: #1b3261;
    --main-text-color: #22292f;
    --sub-text-color: #606f7b;
}

@font-face {
    font-family: 'Geometria Regular';
    src: url('/static/fonts/Geometria.eot');
    src: url('/static/fonts/Geometria.eot?#iefix') format('embedded-opentype'),
    url('/static/fonts/Geometria.woff') format('woff'),
    url('/static/fonts/Geometria.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Geometria Bold';
    src: url('/static/fonts/Geometria-Bold.eot');
    src: url('/static/fonts/Geometria-Bold.eot?#iefix') format('embedded-opentype'),
    url('/static/fonts/Geometria-Bold.woff') format('woff'),
    url('/static/fonts/Geometria-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

html {
    overflow-x: hidden;
}

body {
    font-family:'Geometria Regular', Arial, sans-serif;
    color: var(--main-text-color);
    overflow-x: hidden;
}

.btn-primary {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.btn-primary:hover, .btn-primary:active {
    background-color: var(--third-color);
    border-color: var(--third-color);
}

#loader {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgb(255, 255, 255);
    transition: all .5s ease;
    z-index: 9999;
    opacity: 1;
}

.loaded > #loader {
    opacity: 0;
    bottom: 10000px;
}

#loader lottie-player {
    width: 40%;
    margin: 0 auto;
    text-align: center;
}

#header {
    background: var(--main-color);
    padding: 1rem 0;
}

#header .logo {
    width: 115px;
    max-width: 100%;
}

#header .title {
    color: white;
    font-size: 1.2rem;
    word-break: break-word;
    text-transform: uppercase;
}

#header .title a {
    color: #a8b7c7;
}

@media (max-width: 480px) {
    #header .title {
        font-size: 0.7rem;
    }
}

#main {
    padding: 3rem 0;
}

#main h1 {
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.5;
}

@media (max-width: 480px) {
    #main h1 {
        font-size: 2rem;
    }
}

#main .intro-text {
    color: var(--sub-text-color);
    text-align: left;
    font-size: 1.5rem;
    line-height: 2.4rem;
}

#content {
    padding: 3rem 0;
}

#surveys-list {
    padding: 5rem 0;
}

#surveys-list .title {
    color: var(--sub-text-color);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

#surveys-list .survey {
    padding: 2rem 1rem;
}

#surveys-list .survey-image {
    max-width: 100%;
    margin-bottom: 1rem;
    transition: transform .5s ease;
}

#surveys-list .survey-image-wrapper {
    overflow: hidden;
}

#surveys-list .survey-title {
    color: var(--main-color);
    font-weight: bold;
    font-size: 110%;
}

#surveys-list .survey:hover .survey-image {
    transform: scale(1.2) rotate(-5deg);
}

#surveys-list .survey:hover .survey-title {
    color: var(--secondary-color);
}

#surveys-list .survey-in-pack.finished {
    opacity: 0.3;
    position: relative;
}

#surveys-list .survey-in-pack.finished:after {
    content: "\f058";
    font-family: "Font Awesome 5 Pro";
    font-size: 3rem;
    color: var(--secondary-color);
    position: absolute;
    top: 2rem;
    right: 2rem;
}

#footer {
    background: var(--main-color);
    color: white;
}

#footer a {
    color: white;
}

.progressbar {
    counter-reset: step;
    padding: 100px 0;
}
.progressbar li {
    list-style-type: none;
    width: 25%;
    float: left;
    font-size: 11px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    color: #7d7d7d;
}
.progressbar li:before {
    width: 30px;
    height: 30px;
    content: counter(step);
    counter-increment: step;
    line-height: 30px;
    border: 2px solid var(--third-color);
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background-color: white;
}
.progressbar li.finished:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Pro";
}
.progressbar li:after {
    width: 100%;
    height: 2px;
    content: '';
    position: absolute;
    background-color: var(--third-color);
    top: 15px;
    left: -50%;
    z-index: -1;
}
.progressbar li:first-child:after {
    content: none;
}
.progressbar li.active {
    color: var(--secondary-color);
}
.progressbar li.active:before {
    border-color: var(--secondary-color);
}
.progressbar li.active + li:after {
    background-color: var(--secondary-color);
}



#survey .survey-description {
    text-align: text-justify;
    font-size: 1.2rem;
    line-height: 2rem;
    margin: 50px 0;
}

#survey .question-index {
    text-align: center;
    margin: 20px 0;
}

#survey .survey-start-btn-wrapper {
    text-align: center;
    margin: 30px 0;
}

#survey .survey-next-btn-wrapper {
    text-align: center;
    margin: 30px 0;
}

#survey .survey-finish-btn-wrapper {
    text-align: center;
    margin: 30px 0;
}

#survey .survey-navi-btn-wrapper {
    text-align: center;
    margin: 30px 0;
}

#survey #survey-return-btn-wrapper {
    text-align: center;
    margin: 30px 0;
}

#survey-result, .survey-result {
    padding: 50px 0;
}

#survey .form-check-inline {
	margin-bottom: 20px;
}

#survey div.is-invalid .list-group-item {
	border-color: #dc3545;
}

#survey .form-check-inline .form-check-input {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}
