@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;400;500;600;700&display=swap');

main>.container {
    padding: 100px 15px 20px;
}

.bg-form {
    background-color: #f1faff;
}

.dotted {
    border: 1px dotted #939393;
    border-style: none none dotted;
    color: #fff;
    background-color: #fff;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    min-height: 60px;
}

.footer-bg-white {
    background-color: #fff !important;
}

.footer>.container {
    padding-right: 15px;
    padding-left: 15px;
}

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

/* add sorting icons to gridview sort links */

a.asc:after,
a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.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;
}

/* align the logout "link" (button in form) of the navbar */

.nav li>form>button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li>form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav>li>form>button.logout:focus,
.nav>li>form>button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav>li>form>button.logout:focus {
    outline: none;
}

/** Custom Yii2 Bootstrap 5**/

@media screen and (min-width: 768px) {
    .navbar-expand-md .navbar-nav .nav-link {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}


/** Only for Yii2 Theme **/

html,
body {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.90rem;
}

.error-code {
    font-size: 6rem;
}

.error-message {
    font-weight: bold;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.login-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer>.container {
    line-height: 2.5 !important;
}

.breadcrumb>li>a {
    text-transform: uppercase;
    text-decoration: none;
}

.breadcrumb>li+li:before {
    content: "/" !important;
}

.breadcrumb>.active {
    color: #525753;
    text-transform: uppercase;
}

.breadcrumb>li+li:before {
    color: #525753
}

.grid-view th {
    text-transform: uppercase;
    font-weight: 600;
}

.grid-view th {
    padding-top: 15px;
    padding-bottom: 15px;
}

.grid-view .table-dark th>a,
.grid-view .table-dark th>a:hover {
    text-decoration: none;
    color: #FFF;
}

.grid-view .table-dark th>a.asc:after {
    border-bottom: solid 7px #FFF !important;
}

.grid-view .table-dark th>a.desc:after {
    border-top: solid 7px #FFF !important;
}

.filter-title {
    font-size: 1rem;
    font-weight: bold;
}

.btn-action {
    margin: 2px;
}

.tempus-dominus-widget {
    padding: 5px !important;
    border: 0.5px solid #a1a1a1 !important;
}

.tempus-dominus-widget[data-popper-placement^=top]>.arrow::before {
    border-color: transparent #a1a1a1 #a1a1a1 transparent;
}

.tempus-dominus-widget[data-popper-placement^=bottom]>.arrow::before {
    border-color: #a1a1a1 transparent transparent #a1a1a1 !important;
}

.tempus-dominus-widget[data-popper-placement^=right]>.arrow::before {
    border-color: transparent transparent #a1a1a1 #a1a1a1 !important;
}

.tempus-dominus-widget[data-popper-placement^=left]>.arrow::before {
    border-color: #a1a1a1 #a1a1a1 transparent transparent !important;
}

.pickr {
    margin-top: -0.5em;
}

.pickr .pcr-button {
    height: 1em;
    width: 1.5em;
}

.breadcrumb {
    margin-bottom: 30px;
}

.file-input-new~.invalid-feedback {
    display: block;
}

.table-app {
    background-color: #f9f9f9 !important;
    font-weight: 600;
}

.table-app th {
    border-bottom: none !important;
    color: #212529 !important;
}

.grid-view .table-app th>a,
.grid-view .table-app th>a:hover {
    text-decoration: none;
    color: #212529 !important;
}

.grid-view .table-app th>a.asc:after {
    border-bottom: solid 7px #6c757d !important;
}

.grid-view .table-app th>a.desc:after {
    border-top: solid 7px #6c757d !important;
}

/** Add Custom CSS for spesific site **/

.CodeMirror-scroll {
    margin-right: 0 !important;
}

.revenue-option {
    padding-top: 10px;
}

/** CodeMirror **/
.CodeMirror-scroll {
    border-right: 1px solid #EEE;
}

/*Select2 ReadOnly Start*/
select[readonly].select2-hidden-accessible+.select2-container {
    pointer-events: none;
    touch-action: none;
}

select[readonly].select2-hidden-accessible+.select2-container .select2-selection {
    background: #eee;
    box-shadow: none;
}

select[readonly].select2-hidden-accessible+.select2-container .select2-selection__arrow,
select[readonly].select2-hidden-accessible+.select2-container .select2-selection__clear {
    display: none;
}

/*Select2 ReadOnly End*/