@import "variables.css";
@import "global.css";
@import "dropdown.css";
@import "header.css";
@import "table.css";
@import "site-login.css";

html,
body {
    height: auto;
    max-width: 100vw !important;
    width: auto;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto 0;
    padding: 0;
    width: 100%;
}

.wrap > .container {
    /*padding: 70px 15px 20px;*/
    width: 100%;
    /*width: 1710px;*/
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after,
table thead a:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    /*content: !*"\e113"*! "\e151";*/
    content: "\2191";
}

a.desc:after {
    /*content: !*"\e114"*! "\e152";*/
    content: "\2193";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.export {
    top: 55px;
}

.export.stuck {
    margin-left: -220px;
}


.social-logo {
    max-height: 25px;
    border-radius: 50%;
}

.filter-from-to {
    width: 65px;
    padding: 0 10px !important;
}

.filter-from-to:active,
.filter-from-to:focus {
    padding: 0 9px !important;
}

.btn-action {
    float: left;
    position: static !important;
    margin-right: 10px;
}

.page-count {
    float: right;
}

.required label::after {
    color: red;
    content: ' *';
}

.breadcrumb {
    background: transparent;
}

footer {
    background: transparent !important;
    border: none !important;
    opacity: .5;
}
a[data-disabled='true'] {
    color: var(--secondary-text) !important;
}

.grid-view {
    overflow: auto;
    max-height: 75vh;
}
@media screen and (max-height: 990px) {
    .grid-view {
        min-height: 600px;
        overflow: auto;
        /*max-height: 90vh;*/
    }
}

.label-info {
    background: var(--white);
    border: 1px solid var(--main-color);
    box-sizing: border-box;
    border-radius: 5px;
    color: var(--main-color);
    padding: 4px 8px;
    font-size: var(--font-size-small);
}


::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
@media screen and (max-width: 560px) {
    ::-webkit-scrollbar {
        width: 4px;
        height: 4px;
    }
}
::-webkit-scrollbar:hover ::-webkit-scrollbar-thumb {
     background: #00aee8a3;
}

::-webkit-scrollbar-track {
    background-color: #f8fcfdc4;
}

::-webkit-scrollbar-thumb {
    //box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: #9cd7eb;
    padding-top: 5px;
    border-radius: 10px;
    width: 4px;
    transition: var(--transition02);
}
::-webkit-scrollbar-thumb:hover {
     background: #00aee8a3;
}

table .editableform .form-group > div {
    display: flex;
    flex-wrap: wrap;
}

table .editableform .editable-buttons {
    margin-top: 5px;
    display: flex;
}
table .editableform .editable-buttons button {
    border: 1px solid var(--main-color);
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 2px 0;
}

.header-total-count {
    vertical-align: bottom;
    display: inline-grid;
    align-items: self-end;
    margin: 0.5em 0 0.5em 5px;
    font-size: 24px;
    color: var(--main-color)
}


.btn-show-selected {
    margin-top: -20px;
    margin-bottom: -20px;
    border-radius: 0;
    background: transparent;
    color: white;
}
.btn-show-selected:hover {
    color: var(--color-blue-10);
}

@media screen and (max-width: 560px) {
    .btn-show-selected {
        margin: 0 0 10px;
    }
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - (1.75rem * 2));
    max-width: 860px;
    margin: 1.75rem auto;
    width: auto;
}
.modal-dialog-centered > div {
    width: auto;
    margin: 0 auto;
}
table .panel-group {
    margin-bottom: 0;
}


.flex-column > * {
    margin-right: 0;
    margin-left: 0;
}

.flex-column > *:last-child:not(:first-child),
.flex-column > *:not(:first-child):not(:last-child) {
    margin-top: 10px;
}
@media screen and (max-width: 560px) {
    .flex-column-mobile > *:last-child:not(:first-child),
    .flex-column-mobile > *:not(:first-child):not(:last-child) {
        margin-top: 10px;
    }
    .flex-column-mobile > * {
        margin-right: 0;
        margin-left: 0;
    }
}
