﻿html { height: 100%; }

body {
    margin: 0;
    min-height: 100%;
    font-family: "Roboto",sans-serif;
    background: #fafafa;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    font-weight: 300;
}

p {
    line-height: 1.7em;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

img { border: 0; }

.dropdown-menu {
    /*margin: 0px !important;
    overflow-y: auto;
    max-height: 60vh;
    width: 100vw;*/
}

.dropdown-menu-center {
    width: initial;
    right: auto;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.dropdown-divider { margin: 0 5px; }

.dropdown-item {
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 13px;
}

.navbar-nav .dropdown-menu {
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .3);
    border: 0px;
}

.dropdown-menu-right { width: 50vw; }

.dropdown-menu-right .dropdown-item {
    white-space: initial;
    padding-left: 40px;
}

.dropdown-menu-right .dropdown-item i {
    display: inline-block;
    width: 1.1em;
    margin-left: -1.3em;
}

.dropdown-menu-right .dropdown-item span { margin-left: 0px !important; }

/* header navigation bar */

#header-navbar {
    background: #fff;
    border: 0 none;
    border-radius: 0;
    background-clip: padding-box;
    margin: 0;
    box-shadow: 0px 1px 3px 0 rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 99;
    padding: 0px;
    padding-left: 10px;
}



/* Button */

.btn {
    font-size: 12px;
    padding: 5px 10px;
}

.input-group-text {
    font-size: 12px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* xs */

@media (min-width: 576px) {
    #header-navbar { padding-left: 20px; }

    #header-navbar ul.navbar-nav li.profile-dropdown { margin: 0; }
}

/* sm */

@media (min-width: 768px) {
    #header-navbar { padding-left: 30px; }

    #header-navbar ul.navbar-nav li.profile-dropdown { margin: 0; }
}

/* md */

@media (min-width: 992px) {
    #header-navbar { padding-left: 30px; }

    #header-navbar ul.navbar-nav li.profile-dropdown { margin-right: 30px; }
}

/* lg */

@media (min-width: 1200px) {
    #header-navbar { padding-left: 30px; }

    #header-navbar ul.navbar-nav li.profile-dropdown { margin-right: 30px; }
}

/* Profile Box */

#profile-container {
    right: 0;
    /*width:auto !important;*/
    left: auto !important;
}

#profile-container div.profile-detail {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    height: 98px;
    padding-right: 10px;
    padding-left: 16px;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

#profile-container img.img-profile-detail {
    border-radius: 5px;
    width: 75px !important;
}

#profile-container a.btn-profile {
    margin-top: 5px;
    border-radius: 20px;
    background-color: #ff3162;
    font-size: 11px !important;
    font-weight: 300;
    color: white !important;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 15px;
    padding-right: 15px;
}

#profile-container div.profile-detail-text { margin-left: 18px; }

#profile-container div.profile-detail-name {
    color: #000;
    font-weight: 600;
}

#profile-container div.profile-detail-email { font-size: 12px; }

/* Content */

#content-wrapper {
    background: #fff;
    margin-top: 0;
    margin-bottom: 30px;
    position: relative;
    bottom: 0;
    width: 100%;
}

#content-wrapper .content-main {
    overflow-y: auto;
    padding-bottom: 40px;
}

.split.split-horizontal,
.gutter.gutter-horizontal,
#content-wrapper .content-main { height: calc(100vh - 82px) !important; }


/* Profile */

#navprofile {
    padding-top: 8px;
    padding-bottom: 7px;
    line-height: 35px;
}

#navprofile img.img-toggle {
    max-width: 100%;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    top: 25px;
}

#navprofile img.img-profile {
    border-radius: 30px;
    height: 42px;
    width: 42px;
}

#navprofile span.profile-name {
    margin-right: 15px;
    margin-left: 8px;
    font-size: 13px;
    font-weight: 400;
    float: left;
    padding-top: 5px;
}

#navnotify {
    position: relative;
    top: 2px;
}

#navnotify span.count {
    background: none repeat scroll 0 0 #e84e40;
    border-radius: 50%;
    color: #fff;
    display: block;
    font-size: 9px;
    height: 14px;
    line-height: 14px;
    position: absolute;
    left: 18px;
    text-align: center;
    top: 5px;
    width: 14px;
}

#navbookmarklist .nav li.nav-item a.active {
    color: #2c89ee !important;
    font-weight: 600 !important;
}

/* bottom bar */

#footer-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 30px;
    z-index: 10;
}

#footer-bar span { margin: 0 5px; }

/* Background Color */

.bg-dark-light { background-color: #eaeaec !important; }

/* Box */

.main-box {
    background: #FFFFFF;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
    margin-top: 16px;
    margin-bottom: 16px;
    /* overflow: hidden; */
    border-radius: 3px;
}


/* Form */

label {
    margin-bottom: 1px;
    color: #484646;
    font-size: 12px;
    font-weight: 300;
}

.form-control {
    margin-bottom: 2px;
    padding: 2px;
    padding-left: 10px;
    border: 1px solid #dcdcdc;
    font-size: 12px;
    border-radius: 0;
}

.form-text { margin-top: 1px; }

#md-loading .modal-dialog {
    display: table;
    position: relative;
    margin: 0 auto;
    top: calc(50% - 24px);
}

    #md-loading .modal-dialog .modal-content {
        background-color: transparent;
        border: none;
    }

/* Icon Help */

.label-wrapper { float: left; }

.label-wrapper .ico-help {
    display: table-cell;
    color: #3c8dbc;
    font-size: 1.17em;
    padding-left: 6px;
}

/* Required */

.required {
    color: red;
    font-size: 16px;
    padding-right: 2px;
}

/* Validation */

.field-validation-error {
    color: red; 
    font-size: 10px; 
    font-weight: lighter
}

/* File Upload */

.qq-uploader {
    min-height: 160px;
    border-radius: 0;
}

.uploaded-image img {
    max-height: 200px;
    max-width: 200px;
}

/* Param Query */

.pq-sb-slider.btn { background: #808080; }

.pq-grid * { font-size: 12px; }

.pq-grid span.pq-separator {
    padding: 0;
    margin-right: 0;
}

.pq-pager > span {
    padding-bottom: 0;
    background-color: transparent;
}

.pq-pager > span.btn { padding-top: 2px; }

.pq-grid .pq-grid-top { margin-bottom: 0; }

.pq-pager {
    padding-bottom: 2px;
    background-color: transparent;
}

.pq-pager span { font-size: 12px; }

.pq-grid-top > .pq-grid-title {
    margin-bottom: 1%;
    padding-left: 10px;
    color: #0d2863;
    font-size: 18px;
    color: black;
}

.pq-grid-table .table td, table.pq-grid-table .table th { padding: 5px; }

.pq-grid-table tr.unre { background-color: #f4f7fc; }

.fa.disabled { opacity: .35; }


