html {
    font-size: 15px;
}
body {
    font-family: 'Source Sans Pro', sans-serif;
    font-family: 'Montserrat', sans-serif;
}

.login-logo, .register-logo {
    margin-left: 60px;
    margin-right: 60px;
}

.register-font-color {
    color: #FFFFFF;
}

/* CUSTOM CLASS */
.width-1 {width: 100px}
.width-2 {width: 200px}
.width-3 {width: 300px}
.width-4 {width: 400px}
.width-5 {width: 500px}
.width-6 {width: 600px}
.width-7 {width: 700px}
.width-8 {width: 800px}
.width-9 {width: 900px}
.width-10 {width: 1000px}
.width-11 {width: 1100px}
.width-12 {width: 1200px}
.width-150 {width: 150px}
.width-250 {width: 250px}
.width-350 {width: 350px}
.width-450 {width: 450px}
.width-550 {width: 550px}
.width-650 {width: 650px}
.width-750 {width: 750px}
.width-850 {width: 850px}
.width-950 {width: 950px}
/* END CUSTOM CLASS */

.alert p {
    margin-bottom: 0;
}
.cursor-unset {
    cursor: unset!important;
}
.overflow-x-auto {
    overflow-x: auto;
}

.label-top {
    padding-right: unset!important;
    padding-left: unset!important;
}
.font-white {
    color: #ffffff!important;
}
.sub-survey-table-vertical input:not([type=checkbox]) {
    width: min-content!important;
}
.sub-survey-val {
    min-height: 38px;
}
#loader {
    position: fixed;
    left: 50%;
    top: 35%;
    z-index: 1000;
    background: #093354;
    border-radius: 20px;
}

#survey-filled .tab-content .row,
#survey-filled .form-table .row {
    margin-left: 0!important;
    margin-right: 0!important;
}

#survey-filled .card-body {
    padding: 0 0!important;
}

#survey-filled .card-text {
    padding: 0 10px!important;
}

legend.required::before,
label.required::before {
    color: #dc3545!important;
    content: "* ";
}
label.form-check-label.required::before {
    content: "";
}

.bg-is-delete {
    background: #dc3545;
    padding: 5px 0 5px 0;
    margin-bottom: 5px;
}

.pagination span.page,
.pagination span.current,
.pagination span.last,
.pagination span.next,
.pagination span.first,
.pagination span.previous {
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    position: relative;
    display: block;
    margin-left: -1px;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.pagination a {
    color: #001f3f;
}

.pagination span.current {
    background-color: #001f3f;
    border-color: #001f3f;
    color: #fff;
}

#loader i {
    color: #ffffff;
    font-size: 22px;
}

.register-page {
    background: #093354;
}
.register-page .card-header,
.register-page .input-group-text,
.register-page .table-cell.element {
    color: #939ba2;
    font-weight: normal;
}
.register-page .table-cell.element label {
    font-weight: normal;
}
.register-box {
    width: 60%;
}
.register-box-msg, .register-box-msg {
    color: #093354;
    font-weight: 600;
}
.register-box .card-primary.card-outline {
    border: 0;
    border-radius: 18px!important;
}
.register-box .card {
    background: #ffffff;
    box-shadow: none;
    border-radius: 0;
}
.register-box .card-header {
    background-color: #ffffff !important;
    border-bottom: 0;
}

@media (max-width: 576px) {
    .register-box {
        width: 90%;
    }
}
.login-page {
    background: #093354;
}
.login-box {
    width: 400px;
}
.login-box-msg, .register-box-msg {
    color: #093354;
    font-weight: 600;
    font-size: 21px;
}
footer a {
    color: #093354;
}
.text-muted {
    opacity: .65;
}
.font-weight-bold,
.badge {
    font-weight: 600!important;
}
[class*=sidebar-dark-] {
    background-color: #093354;
}
.brand-link {
    height: 54px;
}
.brand-text {
    color: rgba(255,255,255,.9);
    font-family: 'Montserrat', sans-serif;
}
.brand-link {
    font-size: 1.6rem;
    font-weight: 500;
    padding: .5rem;
}
.navbar-primary {
    background-color: #093354;
}
.nav {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: .9rem;
}
.nav-header {
    font-weight: 600;
}
[class*=sidebar-dark-] .nav-sidebar .sortable-questions .nav-item:hover>.nav-link, 
[class*=sidebar-dark-] .nav-sidebar .sortable-questions .nav-item>.nav-link:focus {
    background-color: rgba(255,255,255,.1);
    color: #fff;
}
.ui-sortable-handle>.nav-sidebar>.nav-item:hover>.nav-link,
.ui-sortable-handle>.nav-item:hover>.nav-link {
    cursor: move;
}
.card-primary .card-title {
    color: #093354;
    font-weight: 500;
}
.card-primary h3.card-title {
    text-transform: uppercase;
}
.card-primary.card-outline {
    border-top: 3px solid #093354;
}
.card-outline-tabs .card-title {
    float: none;
    padding: 0.75rem 1.25rem;
}
.tab-custom-content {
    margin-bottom: .5rem;
    margin-top: 0;
    padding-top: 0;
    border: none;
}
.element-type-card .card {
    margin-bottom: 0!important;
}

.element-type-sub-survey {
    padding: 5px!important;
}
.element-type-card,
.element-type-tab,
.element-type-tabs {
    padding-left: 0!important;
    padding-right: 0!important;
}
.card-header {
    font-weight: 600!important;
    background-color: #f5f5f5!important;
}
.card-outline-tabs .card-header .nav {
    padding: 0 1.25rem;
}
.card.card-outline-tabs .card-header .nav-item:first-child .nav-link.active,
.card.card-outline-tabs .card-header .nav-item:first-child .nav-link:hover,
.card.card-outline-tabs .card-header .nav-item:first-child .nav-link:focus {
    border-left-width: 1px;
    border-left-color: #dee2e6;
    border-left-style: solid;
}

.table th,
.col-form-label,
label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 500;
}

.col-form-label {
    padding-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-item.active .page-link, .accent-navy .page-item.active a {
    background-color: #093354;
    border-color: #093354;
    color: #fff;
}
.page-item .page-link {
    color: #093354;
}

.select2-container .select2-selection--single {
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    background-clip: padding-box;
    box-shadow: inset 0 0 0 transparent;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #495057;
    line-height: 1.5;
    font-size: 1rem;
    font-weight: 400;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(2.25rem + 2px);
}
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #ced4da;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    margin-top: 0px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0px;
}
.select2-container--default.select2-container--open .select2-selection--single, .select2-container--default .select2-dropdown, .select2-container--default .select2-dropdown {
    border-color: #005ebf;
}
.select2-container--default .select2-search--dropdown .select2-search__field,
.select2-container--default .select2-dropdown .select2-search__field:focus {
    border: 1px solid #005ebf;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    color: #212529;
}

input[data-calculator-name] {
    background-color: transparent!important;
    border: none;
    color: #000;
    font-weight: 600;
    text-align: center;
}

.table.dc-table > thead > tr > td, .table.dc-table > thead > tr > th,
.table.dc-table > tbody > tr > td, .table.dc-table > tbody > tr > th{
    min-width: 200px;
}
.bootstrap-datetimepicker-widget {
    font-size: 0.9rem;
}

.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button, 
.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button {
    font-size: .875rem;
    font-weight: 600;
}

.error-page {
    margin: 0 auto;
    padding-top: 50px;
    width: 80%;
}
.layout-top-nav .navbar {
    padding: 0;
}
.layout-top-nav .wrapper .main-header .brand-image {
    height: auto;
    margin-right: .5rem;
    margin-top: 3px;
}

.tabs-off .tab-content>.tab-pane {
    display: block;
    opacity: 1;
}
.tabs-off .nav-tabs, .tabs-off .nav-pills {
    display: none;
}
.tabs-off .card-header {
    border-bottom: 1px solid rgba(0,0,0,.125)!important;
}

.card-header .btn-group {
    padding: 0.75rem 1.25rem;
}

.form-control.is-warned {
    border-color: #ffc107;
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23ffc107' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ffc107' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}
.form-control.is-warned:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem hsla(45, 100%, 51%, 0.25);
}
.warning-feedback {
    font-weight: 500;
}

.form-table .badge {
    white-space: normal;
}
.form-table strong {
    font-weight: 500;
}
.form-table .table-cell {
    border: 1px solid #dee2e6;
    border-top: none;
    padding: .75rem;
}
.form-table .table-cell:nth-child(1) {
    border-top: 1px solid #dee2e6;
}

.tools {
    padding: 0 5px;
    background-color: #fcf6e8;
}

.extra-fields {
    font-size: 95%;
    font-style: italic;
    padding: 0 5px;
    margin: 0;
    color: black;
    background-color: #eaf5ef;
    border-top: 1px solid #b6beba;
}

.bg-reference-question {
    background-color: #F5F5F5!important;
}

.bg-verified {
    background-color: #eaf5ef;
}

.collapsed-card .card-header {
    cursor: pointer;
}

.bg-tools-tabs {background-color: #fce8e8 !important;}
.bg-tools-tab {background-color: #FFCFFB !important;}
.bg-tools-survey {background-color: rgb(126 168 157 / 17%) !important;}
.bg-tools-text {background-color: #e8fceb !important;}
.bg-tools-question {background-color: #e8eefc !important; color: #000;}
.bg-tools-card {background-color: #fcf6e8 !important;}
.bg-tools-sub_survey {background-color: #def3c1 !important;}
.bg-green .btn-tool i {color: #adb5bd;}
.bg-green .btn-tool i:hover {color: #000;}

.answer .btn-secondary,
.element-type-sub-survey .btn-secondary,
.element-type-attachment .btn-secondary,
.btn-table-add.btn-primary {
    background-color: #31ca53;
    border-color: #31ca53;
}
.answer .btn-secondary:hover,
.element-type-sub-survey .btn-secondary:hover,
.btn-table-add.btn-primary:hover {
    background-color: #218838;
    border-color: #218838;
}
.nav-sidebar .nav-link p {
    font-size: 11px;
}

.select2-container--default .select2-selection--multiple {
    border: 1px #ced4da solid;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-search.select2-search--inline .select2-search__field {
    margin-top: 3px;
}
.sub-survey-table-horizontal td,
.sub-survey-table-horizontal th {
    padding: 0.25rem!important;
}

.icon-save {
    background-image: url('/assets/images/save.png');
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: top 8px left 7px;
    padding-left: 23px;
}
.icon-arrow-right {
    background-image: url('/assets/images/arrow-right.png');
    background-size: 11px 10px;
    background-repeat: no-repeat;
    background-position: top 9px right 7px;
    padding-right: 21px;
}
.icon-arrow-left {
    background-image: url('/assets/images/arrow-left.png');
    background-size: 11px 10px;
    background-repeat: no-repeat;
    background-position: top 9px left 7px;
    padding-left: 21px;
}

@media (max-width: 991px) {
    :not(.layout-fixed) .main-sidebar{display: none}
    .sidebar-open .main-sidebar{display: unset}
}
@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse .brand-text {
        font-size: 0.85em;
        margin-left: 0;
        -webkit-animation-name: none;
        animation-name: none;
        visibility: visible;
    }
}
.element-type-sub-survey table {
    table-layout: fixed;
}
@media (min-width: 576px) {
    .form-table .table-cell {
        border-left: none;
    }
    .form-table .table-cell:nth-child(2),
    .form-table .table-cell:nth-child(3),
    .form-table .table-cell:nth-child(4)
    {
        border-top: 1px solid #dee2e6;
    }
    .form-table .table-cell:nth-child(4n+1)
    {
        border-left: 1px solid #dee2e6;
    }
}
.select2-container {
    width: 100%!important;
}

.overflow-hidden {
    overflow: hidden;
}

th.rotate {
    height: 140px;
    white-space: nowrap;
}

th.rotate > div {
    transform: rotate(315deg);
    width: 0px;
    margin: -5px;
}
