html, body {
    min-height: 100%;
    height: 100%;
}


.language-switcher .active {
    font-weight: bold;
    color: #212529;
}

.container {
    max-width: 640px;
}

.page-item.active .page-link {
    background-color: #1d70b7;
    border-color: #1d70b7;
}

.page-item.active span.page-link {
    cursor: default;
}

.page-item:not(.active) span.page-link {
    padding: 0;
}

.page-item span.page-link > a {
    padding: 0.5rem 0.75rem;
    display: block;
}

a {
    color: #1d70b7;
}
.btn-primary {
    background: #1d70b7;
    border-color: #1d70b7;
}
.btn-primary:hover {
    color: #fff;
    background-color: #1c5da1;
    border-color: #1c5da1;
}

.btn-outline-primary {
    color: #1d70b7;
    border-color: #1d70b7;
}
.btn-outline-primary:hover {
    color: #fff;
    background: #1d70b7;
    border-color: #1d70b7;
}
.btn-outline-primary:hover:focus {
    background: #1d70b7;
}
.btn-outline-primary:focus, .btn-outline-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.alert-white {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

h1.fg {
    font-size: 1.5rem;
    font-weight: 300;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 0;
    background: #f8f9fa;
    display: inline-block;
    padding-left: 15px;
    padding-right: 15px;
}
h1.fg .badge {
    border-radius: 0;
    padding: 0.4em 0.6em;
}

h1.fg .badge-secondary {
    background: #0abaee;
}
.site-header {
    width: 100%;
    padding: 10px 0 0 0;
    display: block;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid #d5d5d5;
    position: relative;
    height: 133px;
}

.site-header nav {
    font-size: 80%;
}

@media (min-width: 768px) {
    .site-header {
        height: 103px;
        padding-top: 15px;
    }
    .site-header nav {
        font-size: 100%;
    }
}

.site-title {
    display: inline-block;
    text-align: center;
}
.site-menu {
    float: right;
}
.site-menu ul {
    list-style: none;
}
.site-menu ul li {
    display: inline-block;
}

.logo-img {
    width: 260px;
    margin: 0 auto;
    display: block;
    margin-top: 5px;
}


.custom-control-label-sm {
    font-size: 80%;
    font-weight: 400;
    padding-top: 0.2em;
}
input[type="radio"] + .custom-control-label-sm {
    padding-top: 0.4em;
}
input[type="checkbox"] + .custom-control-label-sm {
    padding-top: 0.4em;
}

.form-section {
    margin-bottom: 2rem;
}
.form-section h4 {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
    margin-bottom: 1rem;
}
.form-section .date-rows > .row:first-child .btn {
    visibility: hidden;
    cursor: default;
    pointer-events: none;
}
.form-control-feedback {
    margin-top: .25rem;
    font-size: 80%;
    color: #f44336;
    display: block;
}


.qq-gallery .qq-upload-button-hover.btn-secondary {
    background-color: #5a6268;
}

.hidden {
    display: none;
}
.bs-wizard-wrap {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}
.bs-wizard-wrap .progress {
    position: absolute;
    z-index: 0;
    border-radius: 0;
    height: 6px;
    box-shadow: none;
    top: 10px;
    left: 5px;
    right: 5px;
    background: #ccc;
}
.bs-wizard-wrap .progress > .progress-bar {
    width:0;
    box-shadow: none;
    background: #0abaee;
}
.bs-wizard {
    position: relative;
    z-index: 1;
}
.bs-wizard > .bs-wizard-step:first-child:before,
.bs-wizard  > .bs-wizard-step:last-child:before {
    content: '';
    display: block;
    position: absolute;
    z-index: 1;
    left: 0;
    width: 50%;
    top: 0;
    bottom: 0;
    background: #f8f9fa;
}
.bs-wizard  > .bs-wizard-step:last-child:before {
    left: 50%;
}
.bs-wizard > .bs-wizard-step {
    padding: 0;
    position: relative;
}
.bs-wizard > .bs-wizard-step .bs-wizard-info {
    color: #999;
    font-size: 80%;
    text-transform: uppercase;
    z-index: 2;
    position: relative;
    margin-top: .5rem;
    font-weight: 700;
}

.bs-wizard > .bs-wizard-step > .bs-wizard-dot {
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    display: block;
    position: relative;
    z-index: 2;
    border-radius: .25rem;
    margin: 0 auto;
    color: #fff;
    text-decoration: none;
    font-size: 80%;
    /*pointer-events: none;*/
    background-color: #ccc;
    font-weight: bold;

    transition: .2s all ease;
}
.bs-wizard > .bs-wizard-step.complete > .bs-wizard-dot,
.bs-wizard > .bs-wizard-step > .bs-wizard-dot.active {
    background: #0abaee;
    transition-delay: .2s;
}
.bs-wizard > .bs-wizard-step > .bs-wizard-dot.active + .bs-wizard-info {
    color: #212529;
}
.wizard .btn.previous.disabled {
    display: none;
}
.wizard .btn:focus {
    outline: 0 !important;
    box-shadow: none !important;
}

.select2-container--bootstrap4 .select2-selection--single {
    padding: .65rem 1.125rem .70rem .5rem;
}
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
    padding: .25rem .5rem;
    font-size: 80%;
    margin: 0 0 .1875rem .1875rem
}
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove{
    margin-right: .25rem;
}
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__rendered {
    padding: .5rem .375rem 0 .5rem
}
.select2-container--bootstrap4 .select2-results__option[aria-selected=true] {
    background-color: #ddd;
    color: #16181b;
}
.select2-container--open .select2-dropdown--below {
    border-top: 1px solid #80bdff;
}
.select2-container--open .select2-dropdown--above {
    border-bottom: 1px solid #80bdff;
}
.select2-container--bootstrap4 .select2-results__option {
    padding: .75rem .75rem;
    font-size: 90%;
}


.qq-gallery-custom.qq-uploader {
    position: relative;
    min-height: 200px;
    width: inherit;
    border-radius: 6px;
    border: 1px dashed #ccc;
    background-color: #fafafa;
    padding: 20px;
}
.qq-gallery-custom .qq-upload-list li {
    padding: 0;
}

.qq-gallery-custom .qq-upload-list li.qq-upload-success {
    background-color: #f2f7ed;
    color: #212529;
    border: 1px solid #ccc;
}
.qq-gallery-custom .qq-upload-list li.qq-upload-fail {
    background-color: #f5eded;
    color: #212529;
}
.qq-gallery-custom .qq-upload-list li .qq-file-info input {
    display: none;
}
.qq-gallery-custom .qq-upload-list li.qq-upload-success .qq-file-info input {
    display: block;
}

.qq-gallery-custom .qq-thumbnail-wrapper {
    min-width: 120px;
    text-align: center;
}

@media (min-width: 576px) {
    #confirm .text-muted {
        text-align: right;
    }
}

@media (min-width: 576px) {
    .col-sm-1-5 {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}


.login-box {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: 80px auto 40px auto;
    text-align: center;
}
.login-box .alert p {
    margin: 0;
}
.login-box .alert p + p {
    margin-top: .25rem;
}


.custom-control-indicator {
    position: absolute;
    top: .25rem;
    left: 0;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #ddd;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: 50% 50%;
    background-size: 50% 50%;
}
.custom-radio .custom-control-indicator {
    border-radius: 50%;
}
.custom-control-input:checked~.custom-control-indicator {
    color: #fff;
    background-color: #0275d8;
}
.custom-radio .custom-control-input:checked~.custom-control-indicator {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E");
}
label.custom-control {
    margin-bottom: 0;
}
.custom-control-description {
    font-size: 80%;
    font-weight: 400;
    padding-top: 0.4em;
    display: block;
}

