/******************
    User custom CSS
    ---------------

    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/
@media only screen and (max-width: 768px) {
    body .top-container {
        margin-top: 0 !important;
        margin-bottom:0  !important;
    }
    .main-banner {
        height:100% !important;
        padding:10px;
    }
    .main-banner img {
        max-width:200px !important;
        margin: 0 auto !important;
    }
    .brand-logo .top-container .top-content 
    {
        padding-top:0 !important;
        margin-bottom:0 !important;
        padding-bottom: 0 !important;
    }
    .space-col {
        margin-top:0;
        margin-bottom:.5em;
    }
    /* question */
    .ls-answers .ls-input-group {
         margin-bottom: 1em;
    }
    .ls-answers ul {
        margin:0;
    }
    .ls-answers .ls-input-sized {
        margin-bottom: 1em;
    }
    .ls-answers textarea {
        margin-bottom: 1em;
    }
    .ls-answers > .numeric {
        margin-bottom: 1em;
    }
    .ls-input-sized .ls-input-group-extra {
        width: initial;
    }
    .ls-input-group-extra {
        width: 1%;
        white-space: nowrap;
        vertical-align: middle;
        display: table-cell;
        padding: 0.5rem 1.2rem;
        line-height: 1;
    }
    .ls-input-sized .ls-input-group
    {
        width: auto;
        max-width: 100%;
        display: table;
        table-layout: fixed;
    }
    .ls-group-remaining .ls-input-group 
    {
        display:flex;
        justify-content:center;
    }
    .ls-group-remaining .ls-input-group-extra {
        padding: 0.5rem 0 1.2rem 0.2rem;
    }
    .ls-group-dynamic .form-control-static {
        padding: 0.5rem 0 1.2rem 0;
        line-height: 1;
    }
}

@media (max-width: 767px) {
   .yesno-button {
        width: 100%;
    } 
}
@media (max-width: 760px) {
   .ls-heading-repeat {
        display: none !important;
    } 
}
body{
    padding-top:0;
}
#outerframeContainer
{
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    -o-hyphens: none;
    hyphens: none;
}
.script-container{
    height:0;
}
  .table-bordered > thead > tr > th {
    border: 1px solid #dadada;
  }
  .table-bordered > thead > tr > td {
    border: 1px solid #dadada;
  }
  .main-banner{
    position: relative;
    height: 25vh;
    max-height: 200px;
    padding: 1vh 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-banner img{
    height: 100%;
    object-fit: contain;
    margin-left: calc(6rem + 1.5vw); /* extra space since NIBA logo is skewed to left */
    max-width: 400px;
}
.main-banner h1 {
    color: white;
}

/* PROGRESS BAR */
.progress-bar{
    background-color:#002b5c;
}

/* Welcome Message */
.survey-welcome {
    line-height:1.5;
}
.others{
    font-size: 15px;
    line-height: 1.5;
    color: #8c8c8c;
}


/*common*/
.btn-primary{
    background-color: #002b5c;
    border-color: #002b5c;
}
.btn-primary:focus, .btn-primary:hover{
    background-color: #56a0d3;
border-color: #56a0d3;
}
.btn-check:active+.btn-primary, .btn-check:checked+.btn-primary, .btn-primary.active, .btn-primary:active, .show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #56a0d3;
    border-color: #56a0d3;
}
.btn-check:focus:checked+.btn-primary, .btn-check .btn-primary:focus:checked {
    background-color: #56a0d3;
    border-color: #56a0d3;
}

.btn-check .btn-primary:focus, .btn-check:focus+.btn-primary {
    box-shadow: 0 0 0 .25rem #56a0d3;
}
.text-info {
    color:#31708f !important;
}
.text-danger {
    color: #a94442 !important;
}
.ls-label-question {
    font-size: 1.2em;   
}

/* NIBA: set color for help text AND links AND checkboxes */
a{
    color: #002b5c;
    text-decoration: underline;
    text-decoration-color: #002b5c;
}
.ls-questionhelp{
    color: #002b5c;
}

.checkbox-item label::after{
    background-color: #002b5c;
    color: white;
}

.form-control:focus{
    border-color: #56a0d3;
}

/* -------------------------------------------- */

li.radio-item, li.checkbox-item, li.radio-text-item, li.checkbox-text-item {
    margin-bottom: 1em !important;
}

.slider-handle{
    background-color: #002b5c;
}
.slider-left, 
.slider-right {
    font-size: 12px !important;
}
.table>:not(:first-child) {
    border-top: 0 !important; 
}
ul.ls-answers.subquestion-list.slider-list li:nth-child(odd) {
    padding-top: 10px;
    padding-bottom: 10px;
 	background-color: #E8EAEB
  }
