﻿/**************************************** responsive *************************************/
@media (min-width: 992px) {
}

@media (max-width: 768px) {
}
/***************************************************************************/
.top-0 {
    margin-top: 0px;
}

.top-5 {
    margin-top: 5px;
}

.top-10 {
    margin-top: 10px;
}

.top-15 {
    margin-top: 15px;
}

.top-20 {
    margin-top: 20px;
}

.top-30 {
    margin-top: 30px;
}

.top-40 {
    margin-top: 40px;
}

.bottom-5 {
    margin-bottom: 5px;
}

.bottom-10 {
    margin-bottom: 10px;
}

.bottom-15 {
    margin-bottom: 15px;
}

.bottom-20 {
    margin-bottom: 20px;
}

.bottom-30 {
    margin-bottom: 30px;
}

.bottom-40 {
    margin-bottom: 40px;
}

.margin-right-5 {
    margin-right: 5px;
}

.margin-left-5 {
    margin-left: 5px;
}

.margin-left-10 {
    margin-left: 10px;
}

.p-t-25 {
    padding-top: 27px;
}

.p-t-27 {
    padding-top: 27px;
}

.p-t-30 {
    padding-top: 30px;
}

.p-l-r-30 {
    padding-left: 30px;
    padding-right: 30px;
}

.p-l-r-50 {
    padding-left: 50px;
    padding-right: 50px;
}

a, a label {
    cursor: pointer;
}
/**************************************Notifi mess**************************************/
.buttonNotifi {
    background-color: #fa3e3e;
    border-radius: 2px;
    color: white;
    padding: 0px 3px;
    margin: 1px;
    font-size: 8px;
    position: absolute;
    top: 2px;
    line-height: 13px;
    margin-left: -15px;
}

.buttonTXNotifi {
    border-radius: 2px;
    color: #fa3e3e;
    font-size: 10px;
}
/****************************************************************************/
table.grid-table {
    border: 1px solid #ddd;
}

.modal {
    width: auto !important;
}

#myModal iframe {
    width: 100%;
    height: 95%;
    border: none;
}

#myModal .modal-body {
    padding: 0px !important;
}

#myModal .modal-header {
    padding: 4px 8px;
    background: #438EB9;
    border: none;
    height: 33px;
}

    #myModal .modal-header .close {
        font-size: 25px;
        margin-top: 0px;
        color: #fff;
        text-shadow: none;
        opacity: 1;
    }

.img-loading-wrap {
    background: rgba(255,255,255,0.7);
    width: 100%;
    height: 100vh;
    z-index: 999;
    position: fixed;
    top: 0px;
    left: 0px;
    display: none;
}

    .img-loading-wrap .outer {
        display: table;
        position: absolute;
        height: 100%;
        width: 100%;
    }

    .img-loading-wrap .middle {
        display: table-cell;
        vertical-align: middle;
    }

.img-loading {
    background: #fff url('../img/ajax-loader.gif') no-repeat center 70%;
    width: 200px;
    height: 90px;
    border: 1px solid #eee;
    text-align: center;
    padding-top: 10px;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
}

/*****************************************************************************/
.user-info {
    text-overflow: inherit;
    max-width: none;
}

.header {
    margin-bottom: 0px;
    margin-top: 0px;
    background: #fff;
    padding: 20px 0px;
}

.logo {
    text-align: right;
}

h1.site-name {
    font-family: 'Times New Roman';
    font-size: 26px;
    color: #0093d7;
    text-transform: uppercase;
    font-weight: normal;
    /*text-align: center;*/
    letter-spacing: 1px;
    margin: 0px;
    padding-top: 12px;
}

.dormitory-area-wrap::after {
    content: "";
    clear: both;
}

.tab-content {
    border-left: 1px solid #c5d0dc;
    border-right: 1px solid #c5d0dc;
    border-bottom: 1px solid #c5d0dc;
}

.dormitory-room-wrap {
}

    .dormitory-room-wrap button {
        margin-bottom: 10px;
        max-width: 100%;
        width: 100%;
        padding: 0px;
    }

    .dormitory-room-wrap:after {
        content: "";
        clear: both;
        display: table;
        line-height: 0;
    }

.dormitory-room-item.actived {
    background: #629B58 !important;
    border-color: #629B58 !important;
}

.dormitory-room-wrap .dormitory-room-item {
    display: block;
    max-width: 100%;
    padding: 0px;
    margin-bottom: 2px;
    border: 2px solid #c5d0dc;
    cursor: pointer;
    min-height: 120px;
}

    .dormitory-room-wrap .dormitory-room-item:hover {
        border: 2px solid #0093d7;
    }

.dormitory-room-item p {
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 0px;
    text-align: left;
    padding-left: 10px;
}

    .dormitory-room-item p.name {
        font-size: 20px;
        font-weight: bold;
        text-align: center;
        padding-left: 0px;
        line-height: 35px;
    }

    .dormitory-room-item p.total {
    }

#DormitoryRoomDetail {
    clear: both;
}

.no-click {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    z-index: 999;
}

.tab-content {
    overflow: inherit;
}

.student-name-wrap .label {
    padding: 7px;
    margin-right: 5px;
}

/*********************** detail-view *********************/
.detail-view {
    padding-left: 12px;
    padding-right: 12px;
}

    .detail-view .row:first-child {
        border-top: 1px solid #dedede;
    }

    .detail-view, .detail-view .row .control-group:first-child {
        border-left: 1px solid #dedede;
    }

        .detail-view .control-group {
            border-bottom: 1px solid #dedede;
            border-right: 1px solid #dedede;
            padding: 0px;
        }

        .detail-view .control-value input[type=checkbox] {
            opacity: inherit;
        }

        .detail-view .control-value {
            background: #fff;
            margin-bottom: 0px;
            height: 30px;
            line-height: 30px;
            font-weight: bold;
        }

        .detail-view .control-label {
            background: #f7f7f7;
            margin-bottom: 0px;
            padding: 0px;
            padding-right: 5px;
            height: 30px;
            line-height: 30px;
            text-align: right;
        }

            .detail-view .control-label label {
                font-size: inherit;
                font-weight: normal;
                margin: 0px;
            }

/*************************  edit-view-item ***************************/
.edit-view-item .control-value {
    background: #fff;
    margin-bottom: 0px;
    padding-top: 7px;
    font-size: 14px;
    font-weight: bold;
    padding-left: 8px;
}

.edit-view-item .control-label {
    padding-right: 0px;
}
/****************************************************/

.dormitory-house-wrap:after {
    content: "";
    clear: both;
    display: table;
    line-height: 0;
}

.dormitory-house-wrap .dormitory-house-item {
    display: block;
    max-width: 100%;
    padding: 0px;
    min-height: 166px !important;
    background: url('../img/icon-house.png') no-repeat right top;
    cursor: pointer;
    border: 2px solid #c5d0dc;
    position: relative;
}

    .dormitory-house-wrap .dormitory-house-item:hover {
        border: 2px solid #0093d7;
    }

.dormitory-house-item p {
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 5px;
    text-align: left;
    padding-left: 5px;
}

    .dormitory-house-item p.name {
        font-size: 20px;
        font-weight: bold;
        line-height: 35px;
        color: #0093d7;
    }

        .dormitory-house-item p.name .icon-female {
            color: #ff006e;
            background: #fff;
            padding: 2px 5px;
            border-radius: 100%;
        }

.dormitory-house-item .total {
    margin-top: 5px;
}

    .dormitory-house-item .total::after {
        content: "";
        clear: both;
    }

    .dormitory-house-item .total label {
    }

    .dormitory-house-item .total b {
        font-size: 15px;
    }

#ListForInvoice #checkAll {
    display: none;
}

.form-search .control-label {
    width: auto !important;
    float: none;
}

.form-search .control-group {
    display: inline-block;
    margin-bottom: 5px;
}

    .form-search .control-group select {
        height: 34px;
        margin-right: 5px;
        font-size: 14px;
    }

.form-search .input-group {
    margin-top: -4px;
    margin-right: 5px;
    min-width: 215px;
}

.form-search .btn-group {
    margin-top: -4px;
    margin-right: 5px;
}

.form-search .input-group-btn button {
    margin-top: 0px;
}

.form-search .multiselect-container .input-group {
    margin-top: 5px;
}

.form-search .multiselect-container .house-item {
    width: 50%;
    display: inline-block;
}

.form-search select.multiselect {
    display: none;
}

.form-search .row-fluid {
    margin-bottom: 10px;
}

.nav-user-photo {
    border-radius: 100%;
    max-width: 40px;
    max-height: 40px;
}

.label-xlg {
    padding: .3em .7em .4em;
    font-size: 14px;
    line-height: 1.3;
    height: 28px;
}

.has-student {
    color: #6688a6 !important;
    background: #fff !important;
    border-color: #8aafce;
}

    .has-student:hover {
        border-color: #8aafce;
        background: #fff !important;
    }

.rent-wrap .rent-item {
    display: block;
    max-width: 100%;
    padding: 0px;
    min-height: 100px !important;
    position: relative;
    margin-bottom: 10px;
    border: 2px #8aafce solid;
    color: #6688a6 !important;
    background: #fff !important;
}

.rent-item p {
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 0px;
    text-align: left;
}

    .rent-item p.name {
        font-size: 20px;
        font-weight: bold;
        padding-left: 45px;
        line-height: 28px;
    }

.tools {
    position: absolute;
    bottom: 5px;
    left: 5px;
    padding-left: 0px !important;
    margin-bottom: 0px !important;
}

.rent-item .slot {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 14px;
    font-weight: bold;
}

.input-date {
    font-size: 15px;
}

    .input-date .input-number {
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
        width: 30px;
        text-align: center;
        border-bottom: 1px solid #ccc !important;
        padding: 0px;
    }

    .input-date.error input {
        border-bottom: 1px solid #ff0000 !important;
    }



.label-black {
    background-color: #666 !important;
}

/*.form-popup .control-label {
    width: 30%;
}

.form-popup .controls {
    margin-left: 32%;
}*/

.form-popup .field-validation-error, .form-popup .field-validation-valid {
    float: left;
}

.DormitoryDropDownList {
    margin-bottom: 5px !important;
}

.pagination ul {
    list-style: none;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    .pagination li {
        display: inline;
    }

        .pagination li > a, .pagination li > span {
            position: relative;
            float: left;
            padding: 6px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            color: #337ab7;
            background-color: #fff;
            border: 1px solid #ddd;
            margin-left: -1px;
        }

        .pagination li:first-child > a,
        .pagination li:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
        }

        .pagination li:last-child > a, .pagination li:last-child > span {
            border-bottom-right-radius: 4px;
            border-top-right-radius: 4px;
        }

        .pagination li > a:hover, .pagination li > span:hover, .pagination li > a:focus, .pagination li > span:focus {
            color: #23527c;
            background-color: #eee;
            border-color: #ddd;
        }

    .pagination .active > a, .pagination .active > span, .pagination .active > a:hover, .pagination .active > span:hover, .pagination .active > a:focus, .pagination .active > span:focus {
        z-index: 2;
        color: #fff;
        background-color: #337ab7;
        border-color: #337ab7;
        cursor: default;
    }

    .pagination .disabled > span, .pagination .disabled > span:hover, .pagination .disabled > span:focus, .pagination .disabled > a, .pagination .disabled > a:hover, .pagination .disabled > a:focus {
        color: #777;
        background-color: #fff;
        border-color: #ddd;
        cursor: not-allowed;
    }

.pagination-lg li > a, .pagination-lg li > span {
    padding: 10px 16px;
    font-size: 18px;
}

.pagination-lg li:first-child > a, .pagination-lg li:first-child > span {
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
}

.pagination-lg li:last-child > a, .pagination-lg li:last-child > span {
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
}

.pagination-sm li > a, .pagination-sm li > span {
    padding: 5px 10px;
    font-size: 12px;
}

.pagination-sm li:first-child > a, .pagination-sm li:first-child > span {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}

.pagination-sm li:last-child > a, .pagination-sm li:last-child > span {
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
}
/********************** ProfileImage ***********************/
.ace-file-input {
    height: inherit !important;
    line-height: inherit !important;
    margin-bottom: 0px !important;
}

.form-inline button, .form-inline a {
    margin-top: -4px;
}

a > i, button > i {
    margin-right: 5px;
}

.content-2-line {
    display: block; /* Fallback for non-webkit */
    display: -webkit-box;
    max-width: 400px;
    height: 30px; /* Fallback for non-webkit */
    margin: 0 auto;
    font-size: 13px;
    line-height: 15px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.control-value.content-2-line {
    max-width: 100%;
}

.control-group .tooltip .tooltip-inner, .row .tooltip .tooltip-inner {
    max-width: 500px;
}

option:disabled {
    background: #dddddd;
}

.control-value > div {
    line-height: 25px;
}

input[type=checkbox].ace + .lbl::before, input[type=radio].ace + .lbl::before {
    margin-right: 5px;
}

ul.multiselect-container.dropdown-menu {
    width: 250px !important;
}

@media (min-width:992px) {
    .hidden-phone.visible-desktop.action-buttons {
        display: inline-block;
    }

    .width-guide {
        width: 800px;
    }

    .width-login {
        width: 350px;
    }

    .logo {
        text-align: right;
    }
}

@media(min-width:1024px) {
    .siteNameTop {
        text-align: left;
    }
}

@media (max-width:992px) {
    .siteNameTop {
        text-align: center;
    }
}

@media (max-width:768px) {
    .siteNameTop {
        text-align: center;
    }
}

@media (max-width:375px) {
    .width-guide {
        width: 335px;
    }

    .width-login {
        width: 335px;
    }

    .logo {
        text-align: center;
    }

    .siteNameTop {
        text-align: center;
    }
}
