#extr-page #header{
    /*height: 80px*/
}

#extr-page #header #logo {
    margin-top: 14px;
    /*
    margin-top: 3px;
    margin-left: 0px;
    */
}

#logo_big{
    display: inherit;
}

#logo_small{
    display:none;
    height: 39px;
    width: 39px;
}

#logo img{
    height: 23px;
}

@media (max-width: 1100px) {
    #extr-page .login-header-big{
        font-size:20px;
    }
}

@media screen and (max-width: 600px) {
    #logo_big{
        display:none;
    }

    #logo_small{
        display: inherit;
        height: 39px !important;
        width: 39px !important; 
    }
    #extr-page-header-space{
        /*font-size: 10px;*/
    }

    #logo{
        width: auto !important;
    }

    #logo-group-home{
        width: auto !important;
    }   

}

@media only screen and (min-width: 320px) and (max-width: 479px) {
    .page-title {
        display:inherit;
    }
}

[disabled]{
    cursor:default !important;
}

.editable-container.editable-inline,
.editable-container.editable-inline .control-group,
.editable-container.editable-inline .editable-input input,
.editable-container.editable-inline .editable-input textarea {
    width: 100%;
    max-width: 450px;
}

.highlight header, .highlight fieldset {
    background: transparent;
}

.highlight fieldset {
    padding-top: 10px;
}

.highlight p {
    margin-bottom: 5px;
}

.bg-color-tblSelect {
    background-color: #ecf3f8 !important;
}

.editable-container.editable-inline .editable-input {
    width: -moz-calc(100% - 76px);
    width: -webkit-calc(100% - 76px);
    width: calc(100% - 76px);
}

@media screen and (min-width: 600px) {
    .SmallBox {
        width: 500px;
    }
}
/* nav */
nav ul ul span{
    font-size: calc(100% - 0.5px);    
}

nav ul ul ul span{
    font-size: calc(100% - 1.25px);    
}

nav ul ul li a i{
    margin-right: 4px;
}

nav ul ul li a i{
    margin-right: 3px;
}
/* end */

/* start jqgrid table */
.ui-jqgrid tr.ui-row-ltr td {
    padding: 10px 7px;
    font-size: 13px !important;
    white-space: normal !important;
    height: auto;
    vertical-align: top;
    word-wrap: break-word;
}

.ui-jqgrid tr.footrow-ltr td {
    border-right: none;
}

.ui-jqgrid tr.footrow-ltr td>div:first-child {
    padding: 10px 7px;
    font-size: 13px !important;
    white-space: normal !important;
    height: auto;
    vertical-align: top;
    word-wrap: break-word;
}

.ui-jqgrid-wrapper {
    overflow-x: hidden;
}

.ui-jqgrid-wrapper > div {
    min-width: 600px;
}

@media screen and (max-width: 600px) {
    .ui-jqgrid-wrapper > div {
        min-width: 500px;
    }

    [id*=-pager_right]{
        width: 25px;
    }
}

@media screen and (max-width: 600px) {
    .ui-jqgrid-wrapper {
        overflow-x: auto;
    }
}

.tbl-code {
    width: 100px;
}


.ui-jqgrid table th {
    vertical-align: top !important;
    text-align: center;
}

.ui-jqgrid table.ui-jqgrid-btable td select {
    width: 100%;
    height: 16px;
}

.ui-jqgrid table.ui-jqgrid-btable td input {
    height: 15px;
    padding: 5px;
}

.ui-jqgrid td.jqgrid-rownum {
    background: none;
    border: 1px solid #cccccc;
    border-bottom-width: 0px;
}

.ui-jqgrid .ui-jqgrid-pager {
    border-left: 0 none !important;
    border-right: 0 none !important;
    border-bottom: 0 none !important;
    border-top: 0 none;
    margin: 0 !important;
    position: relative;
    height: auto;
    min-height: 28px;
    white-space: nowrap;
    overflow: hidden;
    font-size: 11px;
    z-index: 101;
}

.ui-jqgrid .ui-pg-table {
    position: relative;
    padding: 1px 0;
    width: auto;
    margin: 0;
}

.ui-jqgrid .ui-pg-table td {
    font-weight: normal;
    vertical-align: middle;
    padding: 0px 1px;
}

.ui-jqgrid .ui-pg-button {
    height: auto;
}

.ui-jqgrid .ui-pg-button span {
    display: block;
    margin: 2px;
    float: left;
}

.ui-jqgrid .ui-pg-button:hover {
    padding: 0;
}

.ui-jqgrid .ui-state-disabled:hover {
    padding: 0px;
}

.ui-jqgrid .ui-pg-input, .ui-jqgrid .ui-jqgrid-toppager .ui-pg-input {
    height: 14px;
    width: auto;
    max-width: 40px;
    font-size: .9em;
    margin: 0;
    line-height: inherit;
    border: none;
    padding: 3px 2px;
}

.ui-jqgrid .ui-pg-selbox, .ui-jqgrid .ui-jqgrid-toppager .ui-pg-selbox {
    font-size: .9em;
    line-height: inherit;
    display: block;
    height: 19px;
    margin: 0;
    padding: 3px 0px;
    border: none;
}

.ui-jqgrid .ui-separator {
    height: 18px;
    border-left: 2px solid #ccc;
}

.ui-separator-li {
    height: 2px;
    border: none;
    border-top: 2px solid #ccc;
    margin: 0;
    padding: 0;
    width: 100%;
}

.ui-jqgrid .dropdownmenu {
    padding: 3px 0 3px 0;
    margin-left: 4px;
}

.ui-jqgrid .ui-jqgrid-pager .ui-pg-div,
.ui-jqgrid .ui-jqgrid-toppager .ui-pg-div {
    padding: 1px 0;
    float: left;
    position: relative;
    line-height: 20px;
}

.ui-jqgrid .ui-jqgrid-pager .ui-pg-button,
.ui-jqgrid .ui-jqgrid-toppager .ui-pg-button {
    cursor: pointer;
}

.ui-jqgrid .ui-jqgrid-pager .ui-pg-div span.ui-icon,
.ui-jqgrid .ui-jqgrid-toppager .ui-pg-div span.ui-icon {
    float: left;
    margin: 2px;
    width: 18px;
}

.ui-jqgrid td input, .ui-jqgrid td select, .ui-jqgrid td textarea {
    margin: 0;
    padding-top: 5px;
    padding-bottom: 5px;
}

.ui-jqgrid td textarea {
    width: auto;
    height: auto;
}

.ui-jqgrid .ui-jqgrid-toppager {
    border-left: 0 none !important;
    border-right: 0 none !important;
    border-top: 0 none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
}

.ui-jqgrid .ui-jqgrid-pager .ui-pager-table,
.ui-jqgrid .ui-jqgrid-toppager .ui-pager-table {
    width: 100%;
    table-layout: fixed;
    height: 100%;
}

@media screen and (max-width: 600px) {
    .ui-jqgrid .ui-jqgrid-pager .ui-pager-table,
    .ui-jqgrid .ui-jqgrid-toppager .ui-pager-table {
        width:auto;
        table-layout: fixed;
        height: 100%;
    }
}

.ui-jqgrid .ui-jqgrid-pager .ui-paging-info,
.ui-jqgrid .ui-jqgrid-toppager .ui-paging-info {
    font-weight: normal;
    height: auto;
    margin-top: 3px;
    margin-right: 4px;
    display: inline;
}

.ui-jqgrid .ui-jqgrid-pager .ui-paging-pager,
.ui-jqgrid .ui-jqgrid-toppager .ui-paging-pager {
    table-layout: auto;
    height: 100%;
}

.ui-jqgrid .ui-jqgrid-pager .navtable,
.ui-jqgrid .ui-jqgrid-toppager .navtable {
    float: left;
    table-layout: auto;
    height: 100%;
}
/* end */

/* start jqgrid search / add / edit widget*/
.ui-jqgrid-widget {
    width: 500px;
    height: auto;
    z-index: 950;
    position: fixed !important;
}

@media screen and (max-width: 600px) {
    .ui-jqgrid-widget {
        width: 100%;
        position: fixed !important;
        height: auto;
        z-index: 950;
    }
}

.ui-pager-control {
    max-height: 29px;
}

/* end */

.btn{
    white-space: normal;
}

.btn:not([disabled]) {

    cursor: pointer !important;
}

.btn.active.focus {
    outline: none;
    outline-offset: -2px;
}

/* start select2 */
.select2-selection__choice,
.select2-container-multi .select2-choices .select2-search-choice {
    padding: 1px 28px 1px 8px;
    margin: 4px 0 3px 5px;
    position: relative;
    line-height: 18px;
    color: #fff;
    cursor: default;
    border: 1px solid #2a6395;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #3276b1;
    /* rtl settings */
}

.select2-selection__clear {
    display: inherit;
    float: right;
    margin-right: 33px;
    cursor: pointer;
}

.smart-form .select2-selection {
    padding: 0 8px;
}

.smart-form.client-form .select2 b {
    padding-top: 11px;
}


li.select2-results__option {
    padding: 3px 7px 4px;
}

li.select2-results__option:hover {
    cursor: pointer;
}

.smart-form .select2-selection {
    height: 30px;
}

.select2-results {
    max-height: inherit;
    overflow-x: inherit;
    overflow-y: inherit;
}
.select2-results__options {
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* end */

/* start app_notification */
#logo-group span[id*=sys-notification-activity] {
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    cursor: default !important;
    display: inline-block;
    font-weight: bold;
    height: 24px;
    width: 24px;
    padding: 2px;
    text-align: center;
    text-decoration: none !important;
    -moz-user-select: none;
    -webkit-user-select: none;
    background-color: #f8f8f8;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f1f1f1));
    background-image: -webkit-linear-gradient(top, #f8f8f8, #f1f1f1);
    background-image: -moz-linear-gradient(top, #f8f8f8, #f1f1f1);
    background-image: -ms-linear-gradient(top, #f8f8f8, #f1f1f1);
    background-image: -o-linear-gradient(top, #f8f8f8, #f1f1f1);
    background-image: linear-gradient(top, #f8f8f8, #f1f1f1);
    border: 1px solid #bfbfbf;
    color: #c4bab6;
    font-size: 19px;
    margin: 10px 0 0 0;
    position: relative;
}

#logo-group span[id*=sys-notification-activity]:hover {
    border: 1px solid #bfbfbf;
    transition: all 0.0s;
    cursor: pointer !important;
    -webkit-box-shadow: inset 0px 0px 4px 1px rgba(0, 0, 0, 0.08);
    box-shadow: inset 0px 0px 4px 1px rgba(0, 0, 0, 0.08);
}

[id*=sys-notification-activity] b.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    cursor: pointer;
    background: #0091d9;
    display: inline-block;
    font-size: 10px;
    box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.07);
    color: #ffffff;
    font-weight: bold;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    padding: 2px 4px 3px 4px;
    text-align: center;
    line-height: normal;
}

[id*=sys-notification-activity].active .badge {
    background: #006fa6 !important;
}

/* end*/

label.error {
    color: #6e3671;
}
/*
.smart-form fieldset + fieldset {
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}
*/
.tree ul ul li:hover {
    background: inherit;
}

.tree li.parent-li > span:hover {
    background-color: #3276b1;
    border: 1px solid #2c699d;
    color: #ffffff;
}

.tree li.parent-li > span:hover + ul li span {
    background: #cbd2d5 !important;
    border: 1px solid #a0aeb3;
    color: #000;
}

.tree li.parent-li > span:hover + ul li::before {
    border-left-color: #a0aeb3;
}

.tree li.parent-li > span:hover + ul li::after {
    border-top-color: #a0aeb3;
}
/* modal*/
.modal-header {
    border-color: #c2c2c2;
    background: #f3f3f3;
    color: #333;
}

.modal-header .close {
    color: #333;
    opacity: 1;
}

.modal-body select {
    height: 30px;
}

.modal-footer button {
    float: right;
    margin-left: 5px;
}

@media screen and (min-width: 767px) {
    .modal.location .modal-dialog {
        width: 75%;
    }
}
/* end of modal*/

/* datetimepicker*/
body .xdsoft_datetimepicker .xdsoft_calendar td:hover,
body .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box > div > div:hover {
    background: #a90329 !important;
}
/* end of datetimepicker*/

.smart-form textarea, .smart-form .dropdown-menu {
    padding: 5px;
}

.widget-body-toolbar .btn{
    margin-left: 5px;
}

.reference-detail input{
    height: 22px;
}


input[disabled], textarea[disabled], input[disabled][type=checkbox] + i {
    background-color: #f7f7f7 !important;
}

.select2-container--disabled .select2-selection{
    background-color: #f7f7f7 !important;
}

a:not([disabled]){
    cursor:pointer !important;
}

.btn-header>:first-child>a:not([disabled]){
    cursor: pointer !important;
}

@media screen and (max-width: 450px) and (max-width: 767px) {
    /* SmallBox Responsive */

    .SmallBox .textoFoto {
        width: 70%;
    }
    /* End of SmallBox Responsive*/
}

@media screen and (max-width: 767px){
    .smart-form .checkbox input:checked:hover + i:after {
      content: '\f00c';
      font-weight: 900;
    }
}


