/*
    LimeSurvey: some vanilla basic css, needed for childs template
    Adding css here is a good idea for template new feature
    Copyright (C) 2018 The LimeSurvey Project Team
    All rights reserved.
*/

/* Index button extra css */
.index-button .list-group:not(:last-child) {
    margin-bottom: -1px
}

/**
 * Define 'well' class for backwards compatibility
 */
.well {
    min-height: 20px;
    padding: 19px;
    /* margin-bottom: 20px; */
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

.h1, .h2, .h3, h1, h2, h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.h4, .h5, .h6, h4, h5, h6 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
/* 
tbody, td, tfoot, th, thead, tr {
    border: 1px solid;
    border-color: inherit;
} */

.video-ipad {
    height: 50px;
}

/** On smaller screens - handle input on demand label alignment **/
@media (max-width: 768px) {
    .form-horizontal .control-label.col-12 {
        text-align: left;
    }

    .dir-rtl .form-horizontal .control-label.col-12 {
        text-align: right;
    }
}
/** On larger screens - handle input on demand label alignment **/
@media (min-width: 769px) {
    .form-horizontal .control-label.col-12 {
        text-align: right;
    }

    .dir-rtl .form-horizontal .control-label.col-12 {
        text-align: left;
    }
}

.navbar-toggler {
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
}

.navbar-toggler:hover, .navbar-default .navbar-toggler:focus {
    background-color: #ddd !important;
}

.well {
    padding-bottom: 0.4rem !important;
}

.well-sm{
    padding-bottom: 0.4rem !important;
}

@media (min-width: 768px) {
    .w-md-50 {
      width: 50%;
    }
}

@media (max-width: 767px) {
    .w-md-50 {
        width: 100%;
    }
}

.table {
    color : inherit;
}

.table>:not(:first-child) {
    border-top: 0 solid;
}

.btn-group-justified {
    width: 100%;
}

@media (min-width: 768px) {
    .btn-group-justified {
        width: 50%;
    }
}

.btn-group-justified > .btn, .btn-group-justified > .btn-group {
    display: table-cell;
}

.row {
    margin-right: 0;
}

.alert-dismissible .btn-close {
    color: inherit;
    font-weight: bold;
    font-size: large;
    background: none;
    padding: 0.8rem 1rem;
    font-family: inherit;
}

#survey-nav {
    min-height: 50px;
}