input,
select,
textarea {
    border: none !important;
    padding: 3px 4px !important;
    background-color: #f5f5f5 !important;
    font-family: inherit;
    min-height: 26px;
}

input:hover,
select:hover,
textarea:hover,
input:focus,
select:focus,
textarea:focus {
    background-color: #dae3e8 !important;
}

#topbar {
    display: flex;
    padding: 5px;
    flex-wrap: wrap;
    align-items: center;
    box-shadow: 0 0 10px #d8d8d8;
}

.pointer {
    cursor: pointer !important;
}

.s2 {
    border-bottom: none !important;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #d4d4d4 !important;
}

.pointer {
    cursor: pointer !important;
}

.ui.definition.table tr td.definition,
.ui.definition.table tr td:first-child:not(.ignored) {
    background: rgba(0, 0, 0, .03);
    font-weight: 700;
    color: #b1b1b1;
    text-transform: '';
    box-shadow: '';
    text-align: '';
    font-size: 0.9em;
    padding-left: '';
    padding-right: '';
    text-align: right;
    width:150px;
}

@media only screen and (max-width: 767px) {
    .ui.table:not(.unstackable) tr {
        padding-top: 0em;
        padding-bottom: 0em;
        box-shadow: 0 -1px 0 0 rgba(0, 0, 0, .1) inset !important;
    }

    .ui.table:not(.unstackable) td:nth-child(2) {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }
}

.ag-theme-balham {
    margin-top: 5px;
    margin-bottom: 3px;
    height: 300px;
}

.right-float {
    float: right;
}

.hide {
    display: none !important;
}

.inline_cke {
    width: 100%;
    min-height: 20px;
}

.cancel_inline,
.ok_inline {
    padding: 5px !important;
}

.ui.vertical.menu .item>.label {
    margin-right: 7px;
}

.changed td:nth-child(1) {
    font-style: italic;
}

.cke_placeholder {
    font-style: italic;
    color: #c7c7c7;
}

.big {
    font-size: 20px !important;
}

.ag-selection-checkbox {
    margin-right: 4px;
}

.narrow {
    width: 100px !important;
    display: inline-block !important;
}

.json {
    padding-left: 20px !important;
}

.ui.dimmer {
    background-color: rgba(0, 0, 0, 0.5);
}

b {
    font-size: 90%;
}

.ag-fresh .ag-cell-no-focus {
    border-right: none !important;
}

.ui.selection.dropdown {
    border: none;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 2px;
    min-height: auto;
}

.ui.selection.dropdown>.delete.icon,
.ui.selection.dropdown>.dropdown.icon,
.ui.selection.dropdown>.search.icon {
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 2px;
    right: 5px;
    top: 11px;
    width: 100%;
    text-align: right;
}

.ui.dropdown>.text {
    width: 100%;
}

.ui.selection.dropdown .menu>.item {
    padding: 1px !important;
}


.err {
    color: red;
}

.ui.modal:not(.fullscreen) {
    position: absolute;
    top: 40px;
}

.ui.modal.fullscreen {
    top: 10px;
    position: absolute;
    left: auto !important;
}

small {
    font-size: 1rem;
    color: #797979;
}

#main-contents {
    margin:10px;
    padding-bottom: 40px;
}

.main-container {
    margin-top:25px;
} 

.micro {
    padding: 4px 6px !important;
}

.form.vpadded {
    padding-bottom: 20px;
}

#pagetitle {
    flex: 1;
    font-size: 2rem;
    padding-left: 10px;
    border-left: 1px solid #9e0005;
    margin-left: 10px;
    color: #484848;
    display: flex;
    gap: 4px;
    align-items: center;
}

#pagetitle .buttons {
    text-align: right;
    padding-right: 6px;
    flex:1;
}

#app_username {
    font-weight: bold;
    position: relative;
    text-align: right;
    right: 5px;
}

#app_rolename {
    position: relative;
    right: 5px;
    text-align: right;
}

.sidebar .item svg {
    width: 25px;
}

.tabular.menu a i {
    font-size: 1.5rem;
    color: #082761;
    padding-right: 5px;
}

.accordion {
    margin-top: 10px;
}

.separator {
    color: #839ac5;
    font-size: 1.4rem;
    padding-left: 3px;
    padding-right: 3px;
}

#mError {
    background-color: #9a0c0c;
}

.modified {
    background-color: #f9e7e7 !important;
}

.ag-row-green {
    background-color: #d8f1d8 !important;
}

.ag-row-yellow {
    background-color: #f1ead8 !important;
}

.button {
    text-transform: uppercase !important;
}

.modal .content iframe,
.iframepdf {
    border: none;
    width: 100%;
    height: 80vh;
}

.nowrap {
    white-space: nowrap;
}

/* MENU RESPONSIVE */
@media only screen and (max-width: 767px) {
    #topbar {
        flex-wrap: nowrap;
        flex-direction: column;
    }

    #pagetitle {
        display: block;
        border-left: none;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    #pagetitle>i {
        display: none;
    }

    #pagetitle>a,
    #pagetitle>span {
        display: block;
    }

    #pagetitle>a {
        top: 0 !important;
        padding-left: 0 !important;
    }

    #pagetitle>span {
        margin-bottom: 6px;
    }

    #pagetitle>div {
        text-align: left !important;
        width: auto !important;
        margin-top: 13px;
        margin-bottom: 6px;
        padding-right: 0 !important;
    }

    #user_info span,
    #user_info select {
        right: 0 !important;
    }

    #user_info {
        margin-bottom: 5px;
    }

    .page_options {
        flex-direction: column;
    }

    .page_options>select,
    .page_options>.button {
        margin-left: 0 !important;
        margin-top: 5px;
    }
}

.ui.micro.button {
    font-size: .7rem !important;
}

.red-check {
    color: red;
}

.green-check {
    color: green;
}

select[multiple] option:checked,
select[multiple]:focus option:checked {
    background-color: black;
    color: white;
}

.ui.fullscreen.scrolling.modal {
    left:auto !important;
}

#pagetitle .fa-chevron-right {
    color: #9e0005;
    font-size: 1.5rem;
    position: relative;
    top: -2px;
}

#pagetitle a {
    color:#484848;
}

a {
    color: #9e0005;
}

a:hover {
    color: #de181f;
}