@font-face {
    font-family: 'PT Sans';
    src: url('fonts/PTS55F.woff2') format('woff2'),
    url('fonts/PTS55F.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Slab';
    src: url('fonts/RobotoSlab.woff2') format('woff2'),
    url('fonts/RobotoSlab.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

::selection {
    background-color: #39B3D7;
    color: #FFF;
}

::-moz-selection {
    background-color: #39B3D7;
    color: #FFF;
}

a, .btn, #form-title div {
    transition: all 0.25s;
}

.navbar-brand {
    transition: none;
}

@media (min-width: 1023px) {
    .navbar-right-fix {
        position: absolute;
        float: none;
        right: 0;
        margin: 0;
    }
}

.certificate-box {
    border: 1px solid #707070;
}

.certificate-box > div {
    padding: 12px;
    display: grid;
    gap: 12px;
}

.certificate-box > div:first-of-type {
    background-color: #707070;
    color: white;
    font-weight: 700;
}

.certificate-box.is-active > div:first-of-type {
    background-color: #bc202b;
}

span.fa-stack.fa-fw {
    width: 1.25em;
}

i.fa-stack-1x.fa-fw {
    width: 1.25em;
    margin-left: 4px;
}

i.fa-stack-2x.fa-fw {
    width: 1.25em;
    margin-left: -5px;
}

span.fa-stack + span {
    margin-left: 10px;
}

i.fa + span {
    margin-left: 5px;
}

i.fas + span {
    margin-left: 5px;
}

i.far + span {
    margin-left: 5px;
}

#content {
    padding: 50px 15px;
}

#sidebar {
    display: none;
}

@media (min-width: 768px) {
    #sidebar {
        position: fixed;
        top: 50px;
        bottom: 0;
        left: 0;
        z-index: 5;
        display: block;
        padding: 0;
        overflow-y: auto;
        background-color: #DDD;
        border-right: 1px solid #c4c4c4;
    }

    #sidebar-menu-header {
        display: none;
    }

    .sidebar-collapsed .tooltip {
        position: fixed;
        display: block;
    }

    .sidebar-collapsed #content {
        padding-left: 70px;
    }

    .sidebar-collapsed #footer {
        padding-right: 85px;
    }
}

#sidebar li.active a {
    background-color: #A0A0A0;
    color: #FFF;
}

footer {
    width: 100%;
}

footer#footer {
    position: fixed;
    bottom: 0;
    height: 60px;
    background-color: #FFF;
    padding: 10px 30px 0 0;
    z-index: 5;
}

footer .pull-right {
    margin-left: 5px;
}

footer .pagination {
    margin-top: 0;
}

.table-responsive {
    -webkit-overflow-scrolling: touch;
}

table th > a, table th span > a {
    color: #333;
    margin-right: 5px;
}

table .tooltip-inner {
    font-size: 15px;
}

td {
    white-space: nowrap;
}

.bootstrap-datetimepicker-widget td {
    white-space: normal;
}

.icon-width {
    width: 15px;
}

.form-group label.control-label {
    text-align: left;
    font-weight: normal;
}

form .form-collection .form-group,
form .translation-tabs .form-group {
    margin-left: 0;
    margin-right: 0;
}

form .form-collection > div > .form-group:first-of-type .form-group:last-child,
form .form-collection .form-group:last-child,
form .has-error .help-block,
form .has-error .list-unstyled,
form .translation-tabs .tab-pane .form-group:last-child {
    margin-bottom: 0;
}

#form-title div {
    display: inline-block;
    margin-right: 50px;
    opacity: 0.2;
}

#form-title div.active, #form-title div:hover {
    opacity: 1;
}

#form-title a {
    color: #333;
    text-decoration: none;
}

form .translation-tabs ul.nav {
    margin-left: 15px;
    margin-bottom: 10px;
}

table.info-table th {
    width: 20%;
}

textarea {
    resize: none;
}

.flash-message {
    position: fixed;
    display: none;
    left: 50%;
    margin-left: -200px;
    height: 50px;
    padding-top: 5px;
    z-index: 1035;
}

.flash-message .alert {
    width: 400px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.has-error .input-group-addon {
    color: #FFF;
}

#organisation-change {
    width: 315px;
    position: relative;
}

@media (max-width: 1150px) {
    #nav-organisation-name {
        display: none;
    }
}

@media (max-width: 1023px) {
    #nav-username, .section-name {
        display: none;
    }

    .navbar-right {
        display: block;
    }
}

@media (min-width: 768px) {
    .navbar-header {
        float: left;
        overflow: hidden;
        position: relative;
        background: #DDDDDD;
        z-index: 10;
    }
}

@media (max-width: 767px) {
    footer .btn i.fa + span, .modal .btn i.fa + span {
        display: none;
    }

    .flash-message {
        margin-left: -150px;
    }

    .flash-message .alert {
        width: 300px;
    }

    .toggle-showall {
        margin-bottom: 10px;
    }

    #portal-widgets > div {
        padding-left: 0;
        padding-right: 0;
    }

    #nav-organisation-name {
        display: block;
    }

    #nav-username {
        display: inline-block;
    }

    #organisation-change {
        width: auto;
    }
}

.btn-space {
    margin: 2px;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.file-info {
    display: block;
    margin: 5px;
}

.center-container {
    position: absolute;
    top: 45%;
    margin-top: -105px;
    width: 100%;
    height: auto;
    text-align: center;
}

.center-wrapper {
    background: #F8F8F8;
    width: 90%;
    max-width: 430px;
    margin: 0 auto;
}

#login-page .input-group-btn label {
    width: 35px;
}

#login-page .space-between-input {
    height: 5px;
}

.copyright-footer {
    margin-top: 10px;
    font-size: 12px;
}

#login-error {
    color: #F74C4D;
    margin-bottom: 10px;
}

.list-search {
    margin-top: 20px;
    margin-bottom: 10px;
}

.checkbox .col-sm-2 {
    width: auto;
}

#info-modal img {
    height: 15px;
    margin: 5px 0;
}

#loading-icon {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    height: 80px;
    width: 80px;
    margin: auto;
    text-align: center;
    font-size: 60px;
    z-index: 1075;
    color: #333;
}

#no-interaction {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1070;
    cursor: default;
    background: #FFF;
    opacity: 0.3;
}

.is-hidden {
    display: none;
}

form .form-collection a.add-entry, form .form-collection a.remove-entry {
    margin-left: 15px;
}

.form-group + a.add-entry {
    display: inline-block;
    margin-top: 15px;
}

.toggle-nav-collapse {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    text-align: right;
}

.sidebar-collapsed #sidebar {
    width: 55px;
}

.sidebar-collapsed #sidebar span {
    display: none;
}

.sidebar-collapsed #sidebar .toggle-nav-collapse i.fa {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.sidebar-collapsed #sidebar .toggle-nav-collapse, .search-add-btn {
    text-align: center;
}

.info-table .list-inline {
    margin: 0;
}

.info-table .list-inline > li {
    padding-left: 0;
}

.info-table pre {
    margin: 0;
}

#table-search .search-option {
    padding: 3px 5px 3px 20px;
    line-height: 1.42857143;
}

#table-search .search-option .form-control {
    display: inline;
    float: none;
    width: auto;
}

#table-search .search-option:first-child .filter-remove,
#table-search .search-option .value-select,
#table-search .search-option .date-condition,
#table-search .search-option .number-condition,
#table-search .search-option .hasData-condition,
#table-search .search-option .text-condition,
#table-search .search-option .choice-condition,
#table-search .search-option .boolean-condition {
    display: none;
}

.filter-remove {
    cursor: pointer;
}

.filter-remove-content {
    display: inline-block;
    width: 25px;
    text-align: center;
}

.c3 svg {
    font-family: "PT Sans", Arial, Helvetica, sans-serif;
}

.chart {
    height: 150px;
    padding: 0;
}

#filter-user {
    text-align: right;
    margin-top: 10px;
    clear: right;
}

#filter-user .list-inline {
    margin-bottom: 0;
}

#filter-user .label {
    font-size: 12px;
}

.select2-container--bootstrap .select2-results__option {
    min-height: 32px;
}

.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] {
    background: #2d9fd8;
}

.toggle-showall {
    margin-top: 10px;
}

.reset-password-link {
    line-height: 34px;
}

#portal-widgets > div:first-child {
    padding-left: 0;
}

#portal-widgets > div:last-child {
    padding-right: 0;
}

#content .table-responsive, .clearfix {
    clear: both;
}

.table > thead > tr > th {
    white-space: nowrap;
}

.search-infobox {
    padding: 16px;
    display: block;
    text-decoration: none;
    background-color: #16638e;
    color: white;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
}

.search-infobox:hover {
    text-decoration: none;
    color: white;
}

.navbar-brand {
    font-family: 'Roboto Slab', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
}

.section-name {
    margin-left: 10px;
}

.section-name-adr .section-name {
    border-top: 1px solid #e37125;
    border-bottom: 1px solid #e37125;
}

.section-name-chauffeur .section-name {
    border-top: 1px solid #336988;
    border-bottom: 1px solid #336988;
}

.section-name-drivinginstructor .section-name {
    border-top: 1px solid #0f3286;
    border-bottom: 1px solid #0f3286;
}

.section-name-moderator .section-name {
    border-top: 1px solid #f44336;
    border-bottom: 1px solid #f44336;
}

.section-name-newdriver .section-name {
    border-top: 1px solid #368e01;
    border-bottom: 1px solid #368e01;
}

body.section-adr ::selection {
    background-color: #e37125;
}

body.section-chauffeur ::selection {
    background-color: #336988;
}

body.section-drivinginstructor ::selection {
    background-color: #0f3286;
}

body.section-moderator ::selection {
    background-color: #f44336;
}

body.section-newdriver ::selection {
    background-color: #368e01;
}

.sari-title {
    font-family: 'Roboto Slab', sans-serif;
    letter-spacing: 1px;
    margin: 0;
}

.control-label {
    padding-top: 7px;
}

.text-inline-button {
    display: inline-block;
}

label.required:after {
    content: "*";
}

#add_coursemember_person .form-group, #add_coursemember_personorganisationdetail .form-group {
    margin-left: 0px;
    margin-right: 0px;
}

div.coursetopics {
    display: block;
    float: left;
    width: 25%;
}

@media (max-width: 1500px) {
    div.coursetopics {
        width: 33%;
    }
}

@media (max-width: 1000px) {
    div.coursetopics {
        width: 50%;
    }
}

li.no-dot {
    list-style: none;
}

#error-messages {
    position: absolute;
    width: 100%;
    z-index: 1050;
    background: red;
}

.js-show-all-errors-btn {
    background: red;
    color: white;
    cursor: pointer;
    font-weight: bold;
    padding: 5px;
}

.js-show-all-errors-btn-global {
    z-index: 1049;
    color: red;
    position: absolute;
    text-align: center;
    font-weight: bold;
    width: 100%;
}

#error-messages li {
    text-align: center;
}

.coursetopics-info-text div div{
    color: red;
    font-size: 14px;
    font-weight: bold;
}