html, body {
    height: 100%;
}

code, kbd, pre, samp {
    font-family: inherit;
    font-size: 14px;
    color: #555;
}

body {
    min-height: 100%;
    height: auto !important;
    position: relative;
}

#wrapper {
    padding-bottom: 100px;
}

#navbar {
    margin-top: 5px;
}

footer {
    height: 50px;
    width: 100%;
    position: absolute;
    bottom: 0;
    padding-top: 10px;
    text-align: center;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
}

.navbar-default {
    border: none;
}

.navbar-default {
    border-bottom: 1px solid #e74c3c;
    padding-bottom: 8px;
    border-radius: 0px;
}

div.img-logo {
    height: 50px;
    position: absolute;
    right: 5px;
    top: 1px;
    width: 70px;
    z-index: 100;
}

.navbar-default {
    background-color: #ffffff;
}

.navbar-header {
    float: none;
}

.navbar-default .navbar-nav > li > a {
    color: #000;
}

.navbar-default .navbar-brand {
    color: #c92723;
}

.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    color: #c92723;
}

.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
    color: #dddddd;
}

.nav > li > a {
    padding: 15px 5px;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc: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: "\e151";
}

a.desc:after {
    content: "\e152";
}

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

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

/* fix jqgrid column chooser in Bootstrap Modal */
.ui-dialog {
    z-index: 1070;
}

/*.hasDatepicker {
    position: relative;
    z-index: 1;
}*/

#fbox_jqGrid-main-grid td, #fbox_jqGrid-main-grid th {
    padding: 3px;
}

#hostel-main-grid .ui-jqgrid {
    margin-left: auto;
    margin-right: auto;
}

.text-color-red {
    color: red;
}

.text-color-green {
    color: green;
}

.text-color-black {
    color: black;
}

.grid-view {
    overflow-x: scroll;
}

@media print {
    body * {
        visibility: hidden;
    }

    #div-to-print, #div-to-print * {
        visibility: visible;
    }

    #div-to-print {
        position: absolute;
        left: 0;
        top: 0;
    }
}

div.required label.control-label:after {
    content: " *";
    color: red;
}

label.label-info-icon:after {
    content: url("./../images/info-circle.png");
    width: 16px;
    height: 16px;
    display: inline-block;
    padding-left: 3px;
}

/* menu */

nav {
    margin: 5px 0;
    background-color: #FFFFFF;
    border-radius: 4px;
}

nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;

}

nav ul li {
    margin: 0px -3px 0 0;
    display: inline-block;
}

nav a {
    display: block;
    padding: 0 9px;
    color: #000000;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 30px;
    text-decoration: none;

}

nav a:hover {
    background-color: #f5f5f5;
    text-decoration: none;
    color: #000000;
}

nav ul ul {
    display: none;
    float: left;
    position: absolute;
    top: 100%;
    background-color: #FFFFFF;
}

nav ul li:hover > ul {
    display: inherit;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

nav ul ul li {
    min-width: auto;
    float: none;
    display: list-item;
    position: relative;
}

nav ul ul ul {
    position: absolute;
    top: 0;
    left: 100%;
}

nav ul ul ul li {
    min-width: 400px;
    margin-top: -5px;
    margin-left: 0;
    float: none;
    display: list-item;
    position: relative;
}

/* end menu */

input[type="checkbox"][readonly], select[readonly] {
  pointer-events: none;
}
.fake-redactor-editor {
    position: relative;
    overflow: auto;
    margin: 0 !important;
    padding: 20px;
    outline: none;
    white-space: normal;
    border: 1px solid #eee;
    font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important;
    font-size: 14px;
    line-height: 1.6em;
}
.fake-redactor-editor{
    z-index: auto;
}
.fake-redactor-editor {
    background: #fff;
}

/* override .ui-jqgrid */
.ui-jqgrid > .ui-jqgrid-view input, .ui-jqgrid > .ui-jqgrid-view select, .ui-jqgrid > .ui-jqgrid-view textarea{
    text-align: left;
}

div.checkbox-list label {
    display: block;
    text-align: left;
}

.semesters > div {
    padding: 0 5px;
}

.semesters > div:nth-child(odd) {
    padding-right: 30px;
}

.semesters > div:nth-child(even) {
    padding-left: 30px;
}

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

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

select[readonly] + .select2-container > .selection > .select2-selection > ul > span.select2-selection__arrow,
select[readonly] + .select2-container > .selection > .select2-selection > ul > span.select2-selection__clear,
select[readonly] + .select2-container > .selection > .select2-selection > ul > li span.select2-selection__choice__remove {
    display: none;
}

/* End Fix */

tr.disabled-row td, tr.disabled-row td p.text-primary, tr.disabled-row td a {
    color: #bab9b9;
}