﻿img {
    max-width: 100%;
    image-orientation: from-image;
}

.clear {
    clear: both;
}

.margin-t-8 {
    margin-top: 8px;
}

.margin-t-5 {
    margin-top: 5px;
}

div.mce-fullscreen {
    z-index: 999999;
}

.btn:focus {
    outline: none !important;
}

input[readonly] {
    background: #f9f9f9;
    border: 1px solid #ccc;
}

input[type="radio"], input[type="checkbox"] {
    margin-top: 3px;
}

.modal-open .wrapper {
    overflow: scroll;
}

.user-menu .dropdown-menu {
    border-right: none;
}

.btn-group .dropdown-menu {
    border-radius: 0;
    border: 1px solid #999;
    padding: 0;
}

.btn-group .dropdown-menu-right {
    margin-right: 1px;
}

mark, .mark {
    background-color: yellow;
}

.navbar-nav > .user-menu > .dropdown-menu > li.user-header > img {
    height: 120px;
    width: 120px;
}

.nav-stacked > li.active > a:focus {
    background: transparent none repeat scroll 0 0;
    border-left-color: #3c8dbc;
    border-top: 0 none;
    color: #444;
}

.form-horizontal .control-label.text-left {
    text-align: left !important;
}

.table .dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176) !important;
}

tr.click-for-select {
    cursor: pointer;
}

.table .action {
    text-align: center;
}

    .table .action a {
        padding: 0 4px;
    }

.table-wrap-scrollable {
    max-height: 340px;
    overflow-y: scroll;
    margin-bottom: 20px;
    border: 1px solid #ccc;
}

    .table-wrap-scrollable .table {
        margin-bottom: 0;
        margin-top: -1px;
    }

.layout-top-nav-sidebar .main-header > .navbar {
    margin-left: 0;
}

.radio-toggle .radio-toggle-box {
    display: none;
}

.table-bordered.border-dacker > thead > tr > th,
.table-bordered.border-dacker > tbody > tr > th,
.table-bordered.border-dacker > tfoot > tr > th,
.table-bordered.border-dacker > thead > tr > td,
.table-bordered.border-dacker > tbody > tr > td,
.table-bordered.border-dacker > tfoot > tr > td {
    border-color: #ccc;
}

/* box */

.border {
    border: 1px solid #f4f4f4;
}

.border-left {
    border-left: 1px solid #f4f4f4;
}

.border-right {
    border-right: 1px solid #f4f4f4;
}

.border-top {
    border-top: 1px solid #f4f4f4;
}

.border-bottom {
    border-bottom: 1px solid #f4f4f4;
}

.box.box-solid.border {
    border-top: 1px solid #f4f4f4;
}

.no-radius {
    border-radius: 0 !important;
}
/* modal */

.modal .nav-tabs {
    padding-left: 15px;
}

.modal .tab-content {
    padding: 15px;
}

.modal {
    background: none;
}


    .modal .table-bordered > thead > tr > th,
    .modal .table-bordered > tbody > tr > th,
    .modal .table-bordered > tfoot > tr > th,
    .modal .table-bordered > thead > tr > td,
    .modal .table-bordered > tbody > tr > td,
    .modal .table-bordered > tfoot > tr > td {
        border: 1px solid #ccc;
    }

/* form */
.form-control + .input-group-btn .btn {
    -moz-transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    -o-transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    -webkit-transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
}

.form-control:focus + .input-group-btn .btn {
    border-color: #3c8dbc;
}

.control-literal {
    padding-top: 7px;
}

.not-found {
    color: red;
    padding: 10px;
    text-align: center;
}


.datetimepicker td,
.datetimepicker th {
    padding: 2px 6px !important;
}



.product-unit {
    color: #d2d6de;
    position: absolute;
    right: 20px;
    top: 32px;
}

.rs-content-editor textarea {
    width: 100%;
    min-height: 100px;
    border: 1px solid #d2d6de;
}

/* other */


.rs-loading {
    background: #000 url("images/loading.gif") no-repeat scroll center center;
    border-radius: 8px;
    height: 44px;
    left: 50%;
    margin-left: -22px;
    margin-top: -22px;
    opacity: 0.8;
    position: fixed;
    top: 50%;
    width: 44px;
    z-index: 2147483647;
}

    .rs-loading:before {
        bottom: 0;
        content: "";
        display: block;
        left: 0;
        position: fixed;
        right: 0;
        top: 0;
    }

/* ajax */

#ajax-loading {
    display: none;
}

#alert-area {
    border: 0 none;
    bottom: 40px;
    position: fixed;
    right: 10px;
    width: 30%;
    z-index: 99999;
}

.modal-open #alert-area {
    bottom: auto;
    top: 10px;
    background: #fff;
    box-shadow: 0 0 10px #333;
}

    .modal-open #alert-area .alert {
        margin: 8px;
    }

@media (max-width:600px) {
    #alert-area {
        left: 10px;
        width: auto;
    }
}

/* notification */

.navbar-nav > .notifications-menu > .dropdown-menu {
    width: 350px;
    border-color: #ddd;
    border-top: none;
}

.notif-list {
    max-height: 400px;
    overflow: auto;
    padding: 0;
}

    .notif-list .loading {
        background: url("images/notif-loading.gif") no-repeat scroll center center #fff;
        height: 40px;
    }

.dropdown-menu > li > a.mark-as-read {
    color: #3c8dbc;
    background: none;
    display: inline;
    font-size: 12px;
    margin: 0;
    padding: 0;
}

.notif {
    border-bottom: 1px solid #f4f4f4;
    overflow: visible;
    position: relative;
    font-size: 12px;
    line-height: 18px;
    padding: 5px;
}

    .notif a {
        border: none !important;
    }

    .notif.notif-new,
    .notif.notif-viewed {
        background: rgba(237, 239, 245, 0.98);
    }

    .notif:last-child {
        border-bottom: none;
    }

    .notif .avatar {
        float: left;
        height: auto;
        margin-right: 7px;
        width: 60px;
    }

    .notif:hover {
        background: #F6F7F8;
    }

.notif-link {
    color: #333 !important;
    display: block;
    overflow: auto;
}

.notif-creator {
    font-weight: bold;
}

.notif-title {
    margin-bottom: 2px;
}

.notif-time {
    color: #999;
}

.notif-close {
    margin-top: -9px;
    position: absolute;
    right: 4px;
    top: 50%;
    width: 15px;
    height: 15px;
    cursor: pointer;
    display: none;
    padding: 0;
}

    .notif-close:hover {
        background-position: center -16px;
    }

.notif:hover .notif-close {
    display: inline;
}

.btn-notif {
    cursor: pointer;
}

/* tree-view */
.treeview-no-border .list-group-item {
    border-top: 1px solid #f4f4f4;
    border-radius: 0 !important;
}

    .treeview-no-border .list-group-item:first-child {
        border-top: none;
    }
/*------------------------- account ---------------------------------*/
#Avatar-browser {
    text-align: center;
    margin-top: 10px;
}

#Avatar-wrap .uploaded-list,
#Avatar-wrap .pending-list {
    display: none;
}

/* widget */
.widget-user-2 .widget-user-username a {
    color: #fff;
}

/* flat home report*/
#flat-home-select td.available {
    position: relative;
}

    #flat-home-select td.available:hover {
        background: #ff8888 !important;
        cursor: pointer;
    }

    #flat-home-select td.available a {
        position: absolute;
        width: 100%;
        height: 100%;
    }

#flat-home-select td.bg-blue a {
    color: #fff;
}
