/*Framework styling*/
.page-header.navbar .page-logo .logo-default {
    margin: 5px 0 !important;
}

li.nav-item.active a {
    border-left: 4px solid transparent !important;
}

/*Form styling*/
.portlet-body.form form .form-body .form-group input[required]:invalid,
.portlet-body.form form .form-body .form-group select[required]:invalid,
.portlet-body.form form .form-body .form-group textarea[required]:invalid,
.modal-content form .form-body .form-group input[required]:invalid,
.modal-content form .form-body .form-group select[required]:invalid ,
.modal-content form .form-body .form-group textarea[required]:invalid  {
    border: solid 1px #e73d4a;
}

.portlet-body.form form .form-body .form-group select[required]:invalid +
span.select2 span.select2-selection,
.modal-content form .form-body .form-group select[required]:invalid +
span.select2 span.select2-selection {
    border: solid 1px #e73d4a;
}

.portlet-body.form form .form-body .form-group textarea[required]:invalid +
div.note-editor,
.modal-content form .form-body .form-group textarea[required]:invalid +
div.note-editor,
.has-error .note-editor {
    border: solid 1px #e73d4a !important;
}

.required-field {
    border: solid 1px #e73d4a;
}

.form-actions {
    border: none !important;
}

.note-editor > .modal > .modal-dialog > .modal-content > .modal-body > * {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}

/*Grid styling*/
/*Bulk editor*/
span.k-dirty {
    margin: -.8em 0 0 -.6em !important;
}
/*Tooltip*/
td[role=gridcell] a.k-button {
    min-width: 0 !important;
}

.icon-tooltip {
    font-size: 18px;
    margin-right: 5px;
}

/*Tables styling*/
table tr td.text-top {
    vertical-align: top !important;
}

/*MISC*/
.display-none {
    display: none;
}

div.back-button {
    margin-top: 4px;
}

.actions a:hover {
    text-decoration: none;
}

/*Modal window*/
@media only screen and (min-width : 320px) {

}

@media only screen and (min-width : 480px) {

}

@media only screen and (min-width : 768px) {

}

@media only screen and (min-width : 992px) {
    .modal-xl {
        width: 900px;
    }
    .modal-xxl {
        width: 950px;
    }

}

@media only screen and (min-width : 1200px) {
    .modal-xl {
        width: 1100px;
    }
    .modal-xxl {
        width: 1150px;
    }
}

@media only screen and (min-width : 1500px) {
    .modal-xxl {
        width: 1450px;
    }
}

.k-grid-header th.k-header {
    position: relative;
}

.k-grid-header th[aria-sort] a.k-link {
    padding-left: 15px !important;
}

.k-grid-header th[aria-sort] .k-link .k-icon {
    position: absolute;
    top: 8px;
    left: 2px;
}

.overlay {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: block;
    text-align: center;
    font-size: 10px;
    padding: 100px 0px 0px 0px;
    position: absolute;
    z-index: 100000;
    cursor: pointer;
}

.overlay-red {
    background-color: rgba(255, 0, 0, 0.6);
}

.overlay-green {
    background-color: rgba(0, 255, 0, 0.6);
}

.overlay span.text {
    border-radius: 25px !important;
    background: white;
    display: block;
    padding: 20px;
    font-size: 30px;
    font-weight: bold;
    margin: auto;
    width: 600px;
}

.red-bg {
    display: block;
    background: #DE8B89 !important;
}