@import url('../../vanilla/css/base.css');
@import url('../../vanilla/css/theme.css');
@import url('../../vanilla/css/noTablesOnMobile.css');

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 300;
    font-display: fallback;
    src: local('Source Sans Pro Light'), local('SourceSansPro-Light'),
    url('../fonts/source-sans-pro/source-sans-pro-v13-latin-ext_latin-300.woff2') format('woff2'),
    url('../fonts/source-sans-pro/source-sans-pro-v13-latin-ext_latin-300.woff') format('woff');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    font-display: fallback;
    src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'),
    url('../fonts/source-sans-pro/source-sans-pro-v13-latin-ext_latin-regular.woff2') format('woff2'),
    url('../fonts/source-sans-pro/source-sans-pro-v13-latin-ext_latin-regular.woff') format('woff');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 600;
    font-display: fallback;
    src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'),
    url('../fonts/source-sans-pro/source-sans-pro-v13-latin-ext_latin-600.woff2') format('woff2'),
    url('../fonts/source-sans-pro/source-sans-pro-v13-latin-ext_latin-600.woff') format('woff');
}

body, html {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 16px;
}

.navbar {
    background: #fff !important;
}

.navbar > .container-fluid {
    margin: 1em 0;
}

@media (min-width: 768px) {
    .navbar > .container-fluid {
        margin: 0;
    }
}

.navbar-brand {
    min-height: 90px;
}

.logo-container > img {
    max-height: 38px;
    height: 38px;
    padding: 0;
    margin: 26px 15px;
}

@media (max-width: 767px) {
    .logo-container > img {
        margin: 5px 0 5px 15px;
    }

    .navbar-brand {
        display: block !important;
        min-height: 48px;
    }
}

#dynamicReloadContainer {
    padding: 0 2em;
}

#outerframeContainer {
    padding: 0;
}

#surveys-list-jumbotron {
    display: none;
}

.top-container {
    margin: 2rem auto !important;
    padding: 0 0.75rem;
}

.top-container .top-content {
    padding: 0;
    margin-bottom: 0;
}

.top-container .progress {
    height: 20px !important;
}

.group-container {
    padding: 0 0.5rem !important;
    margin: 0 !important;
}

.group-container .group-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 2rem 0;
}

.card, .question-container, .well {
    background: transparent !important;
}

.question-title-container {
    font-size: 1rem;
    padding-top: 0;
    padding-bottom: 0;
}

.question-container .ls-label-question {
    font-size: 1rem;
    line-height: 1.5;
}

.question-container .ls-questionhelp,
.question-container .ls-question-message {
    color: #0012d6 !important;
    font-size: 1rem;
    font-style: normal;
    font-weight: normal;
}

.question-container .question-valid-container {
    margin: 0;
}

.asterisk,
.ls-question-mandatory  {
    font-weight: normal !important;
    color: #c70011 !important;
}

.survey-welcome, .well {
    padding: 1rem;
    border: 1px solid #929da6;
    border-radius: 0;
    box-shadow: none;
}

.well h2 {
    margin-top: 0;
}

.answer-container {
    margin-top: 0.5rem;
}

.space-col {
    margin-bottom: 1em;
}

@media (min-width: 768px) {
    .top-container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .top-container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .top-container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .top-container  {
        max-width: 1320px;
    }
}

.privacy {
    font-size: 1rem;
}

.privacy .ls-privacy-head,
.privacy .ls-privacy-body {
    text-transform: none!important;
    margin-bottom: 1rem;
}

a {
    color: #3344ff;
    text-decoration: none;
}

a:hover, a:active, a:focus {
    color: #3344ff;
    text-decoration: underline;
}

h1 {
    font-size: 3.5em;
    font-weight: 300;
    margin-bottom: .75em;
}

p, .text-primary {
    color: #1b242c !important;
    line-height: 1.4;
    font-size: 1em;
}

.btn {
    border: 1px solid transparent !important;
    border-radius: 0;
    color: #fefefe;
    background-color: #e30613;
    box-shadow: none !important;
}

.btn:active, .btn:focus {
    box-shadow: 0 0 0 .25rem rgba(49,132,253,.5) !important;
}

.btn:not(.active):hover, .btn:focus, .btn-check:checked + .btn-primary {
    background-color: #e30613 !important;
    color: #fefefe !important;
    outline: none !important;
}

.btn-primary {
    background-color: #e30613;
    color: #fefefe;
}

.btn-primary:not(.active):hover, .btn-primary:focus {
    background-color: #e30613 !important;
    color: #fefefe;
    outline: none !important;
}

.btn-secondary {
    background: #515151;
    color: #fefefe;
}

.btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus {
    background: #000 !important;
    color: #fefefe;
    outline: none !important;
}

.btn-check + .btn {
    border: 1px solid #929da6 !important;
}

.table thead, .table tbody {
    border: 1px solid #929da6 !important;
}

.table .ls-even {
    background-color: transparent;
}

.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
    border: none;
}

.table-bordered {
    border: none;
}

table.ls-answers {
    margin: 1rem 0;
}

.table p {
    margin-bottom: 0;
}

table.ls-answers {
    margin: 0;
}

.ls-answers .ls-heading th, .ls-answers th {
    color: #212529;
    font-size: 1rem;
}

.ls-answers tbody .answertext {
    color: #212529;
    text-align: right;
    font-size: 1rem;
}

.ls-answers {
 padding: 0;
}

.form-control {
    border: 1px solid #929da6;
    box-shadow: none;
    border-radius: 0.25rem !important;
}

.form-control:active, .form-control:focus {
    box-shadow: 0 0 0 .25rem rgba(51, 68, 255, 0.2) !important;
}

.radio-item, .checkbox-item {
    margin-bottom: 0.5rem !important;
}

.checkbox-item label::before,
.radio-item label::before {
    width: 22px;
    height: 22px;
    border: 1px solid #929da6;
    box-shadow: none;
}

.checkbox-item label,
.radio-item label {
    font-size: 1rem !important;
    padding: 0 0 0 0.5rem !important;
    color: #212529 !important;
}

.checkbox-item label::after,
.radio-item label::after {
    font-size: 16px !important;
    left: 3px;
    top: 1px;
}

.checkbox-item label::before  {
    border-radius: 0.25rem !important;
}

.checkbox-item input[type="checkbox"]:checked + label::before,
.radio-item input[type="radio"]:checked + label::before {
    border-color: #929da6;
}

.checkbox-item input[type="checkbox"]:checked + label::after {
    background-color: transparent;
    color: #1b242c;
}

.radio-item input[type="radio"] + label::after {
    background-color: #1b242c;
}

.radio-item input[type="radio"]:checked + label::after {
    width: 14px;
    height: 14px;
    top: 2px;
    left: 2px;
    background-color: #1b242c !important;
}

.checkbox-item input[type="checkbox"]:checked + .ls-label-xs-visibility::after,
.radio-item input[type="radio"]:checked + .ls-label-xs-visibility::after {
    top: 5px;
    left: 5px;
}

.radio-list {
    margin-top: 0.5rem;
}

.imageselect-list.radio-list {
    margin-left: 1rem;
}

.progress-bar {
    background: #047B69;
}

.form-control, .progress {
    border-radius: 0;
}

@media (min-width: 768px) {
    .form-horizontal .control-label {
        padding-top: 4px;
    }
}
