/* cyrillic-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v16/ek4gzZ-GeXAPcSbHtCeQI_esZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
}
/* cyrillic */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v16/mErvLBYg_cXG3rLvUsKT_fesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v16/-2n2p-_Y08sg57CNWQfKNvesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v16/u0TOpm082MNkS5K0Q4rhqvesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
  unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v16/NdF9MtnOpLzo-noMoG0miPesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v16/Fcx7Wwv8OzT71A3E1XOAjvesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v16/CWB0XYA8bzo0kSThX0UTuA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

*:not(i):not(.sidebar-toggle):not(.glyphicon) {
    font-family: Roboto !important;
}

html, body
{
    margin: 0px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
}

.skin-green-light .main-header .logo {
    background-color: #FFF !important;
    color: #fff;
    border-bottom: 0 solid transparent;
}

.skin-red .main-header .navbar {
    background-color: whitesmoke !important;
    border-bottom: 1px solid #C6C6C6;
}

.skin-red .main-header .navbar .nav>li>a {
    color: #666 !important;
}

.skin-red .main-header .navbar .sidebar-toggle {
    color: #666 !important;
}

.skin-red .main-header .navbar .sidebar-toggle:hover {
    background-color: rgba(0,0,0,0.1) !important;
}

.blue {
   color: #333 !important;
}

.content-wrapper
{
    background-color: white !important;
}

hr
{
    margin: 20px 0;
    border: 0;
    border-top: 1px solid silver;
    border-bottom: 1px solid whitesmoke;
}

a
{
    text-decoration: none;
}

.main-header .logo
{
    background-color: whitesmoke !important;
}

.logo-mini
{
    background: whitesmoke url(../theme3/img/logo_small.png) no-repeat center center;
    color: transparent; 
}

.logo-lg
{
    background: whitesmoke url(../theme3/img/logo.png) no-repeat center center;
    color: transparent;
    background-size: contain; 
}

.popover-table
{
    border: 1px solid #e0e0e0;
    border-collapse: collapse;
}

.popover-table td
{
    border: 1px solid #e0e0e0;
    padding: 10px;
}

.tframe
{
    margin: 10px;
    padding-top: 5px !important;
    padding-bottom: 8px !important;
    padding-left: 15px !important;
    padding-right: 5px !important;
    border-radius: 4px !important;
}

.tframe legend
{
    background: white;
    color: #fff;
    border-radius: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
    box-shadow: 0 0 0 1px #8A8A8A;
    margin-left: 3px;
    padding-right: 5px;
    margin-right: 5px;
    height: 28px;
}

.tframe legend label
{
    padding-left: 5px;
    font-weight: bold;
}

textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus
{
    border-color: rgba(82, 168, 236, 0.8);
    outline: 0;
    outline: thin dotted 9;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}

select, textarea, input[type="text"], input[type="file"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input
{
    display: inline-block;
    height: 28px;
    padding: 4px;
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 20px;
    color: #555555;
    vertical-align: middle;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border: 1px solid #ccc;
}

.tformtitle + tr > td
{
    padding-top: 15px !important;
}

.ui-datepicker-trigger
{
    height: 28px !important;
}

.tseekbutton
{
    height: 28px !important;
}

span.tdate-group-addon, span.input-group-addon.tcolor {
  height: 28px !important;
  border-radius:0 !important;
}

select.tcombo
{
    height: 28px;
    border: 1px solid #ccc !important;
    border-radius: 0;
}

.tfield:focus
{
    border-color: #00a65a !important;
    box-shadow: none !important;
    border-radius         : 0;
    -webkit-border-radius : none !important;
    -moz-border-radius    : none !important;
    -webkit-box-shadow : none !important;
       -moz-box-shadow : none !important;
            box-shadow : none !important;
}

textarea, .select2-choices, .select2-container-multi .select2-choices
{
    border: 1px solid #ccc !important;
    border-radius: 0 !important;
    background: white;
    background-image: white;
}

label, input, button, select, textarea
{
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
}

label
{
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 10pt;
}

textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus
{
    border-color: rgba(82, 168, 236, 0.8);
    outline: 0;
    outline: thin dotted 9;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}

.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button
{
    font-size: 12px;
    margin: 0px;
}

.tformtitle + tr > td
{
    padding-top: 15px !important;
}

.tformtitle > td
{
    padding-top: 5px !important;
    padding-bottom: 0px !important;
    margin-bottom: 0;
    text-align: left;
    background-color: rgba(0,0,0,.03) !important;
    border-top: 1px solid #DDD;
    -webkit-border-radius: 0 0 2px 2px;
    -moz-border-radius: 0 0 2px 2px;
    border-radius: 0 0 2px 2px;
    -webkit-box-shadow: inset 0 1px 0 #fff;
    -moz-box-shadow: inset 0 1px 0 #fff;
    box-shadow: inset 0 1px 0 #fff;
}

table.dataTable thead th, table.dataTable thead td {
    padding: 5px 18px;
    border-bottom: 1px solid #111;
}

.tformtitle > td > label
{
    color: #666 !important;
}

.tformaction > td
{
    padding: 12px !important;
}

.tform > table
{
    background: #FAFAFA;
    border: 1px solid #C6C6C6 !important;
    border-top: none !important;
    padding: 0px !important;
}

.tform
{
    background: white !important;
    border: none !important;
    border-radius: none !important;
    padding: 0px !important;
    margin-bottom: 20px !important;
}

.tdatagrid_head tr td
{
    height: 34px;
}

.tdatagrid_body tr td
{
    height: 30px;
}

.tdatagrid_body tr td input
{
    height: 24px;
    margin: 0;
    padding: 0px;
    padding-left: 3px;
    padding-right: 3px;
}


.navbar-default .navbar-brand
{
    font-family: 'Open Sans';
}

.sidebar
{
    font-family: 'Open Sans';
}

.tbreadcrumb li span
{
    font-family: 'Open Sans';
    font-size: 10pt;
}

.navbar-right {
    margin-right: 0 !important;
}

.badge-notify{
   background: #E16D6D;
   position:relative;
   top: -12px;
   left: -12px;
}

ul.navbar-top-links > li.dropdown >a {
    background: inherit;
}

ul.navbar-top-links > li.dropdown > a:hover {
    background: #4A9FE0;
}

ul.navbar-top-links .open>a, ul.navbar-top-links .open>a:hover, ul.navbar-top-links .open>a:focus {
    background: #4A9FE0;
}

@media only screen and (min-width: 501px) {
    #search-box {
        display:inline !important;
        float:left;
    }
}

@media only screen and (max-width: 500px) {
    #search-box {
        display:none !important;
    }
}

@media only screen and (max-width: 550px) {
    .pagination>li>a, .pagination>li>span {
        padding: 6px;
    }
}

.btn.btn-default {
    background: white;
}

.navbar-custom-menu > .navbar-nav {
    float: right;
}

.sidebar-menu .treeview li, .sidebar-menu .treeview ul
{
    background: none;
    overflow: hidden;
}

.select2-container {
    background: white;
    border-radius: 5px;
}

.select2-container .select2-choice {
    background-image: none !important;
}

.select2-dropdown-open .select2-choice {
    background-color: white;
}

.tform
{
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.tform .tformtitle > td:first-child
{
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.tform .tformtitle > td:last-child
{
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

table.tdatagrid_table
{
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

#form_login table > tbody > tr.tformtitle > td
{
    text-align: center;
}

#form_login table > tbody > tr.tformtitle > td > label
{
    padding: 0;
    padding: 0px;
    font-size: 12pt;
}

.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: #00a65a;
    border-color: #00a65a;
    cursor: default;
}

table.dataTable.no-footer {
    border-bottom: 1px solid #C7C7C7 !important;
}

table.tdatagrid_table>thead.tdatagrid_head>tr>th {
    height: auto !important;
}

table.tdatagrid_table span.label {
    text-shadow: none;
}

.tooltip .tooltip-inner {
    background-color: #333;
    color: #FFF;
    border: 1px solid #333;
}

.tnotebook>div.frame {
    border: none !important;
    background-color: none !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.issue-message {
    margin-top: 15px;
    border: 1px solid #C6C6C6;
    background-color: whitesmoke;
}

.issue-message .tformtitle > td {
    background-color: #00a65a !important;
}

.issue-message .tformaction > td {
    padding: 5px;
    margin-bottom: 0;
    text-align: left;
    background-color: whiteSmoke;
    border-top: 1px solid #DDD;
    -webkit-border-radius: 0 0 2px 2px;
    -moz-border-radius: 0 0 2px 2px;
    border-radius: 0 0 2px 2px;
    -webkit-box-shadow: inset 0 1px 0 #fff;
    -moz-box-shadow: inset 0 1px 0 #fff;
    box-shadow: inset 0 1px 0 #fff;
}

.link {
    color: #3c8dbc !important;
    text-decoration: underline;
}

.datetimepicker
{
    font-size: 13px !important;
    line-height: 14px;
}

.datetimepicker .day, .datetimepicker .hour, .datetimepicker .minute
{
    border: 1px solid #e0e0e0;
    border-spacing: 0;
    
}

.datetimepicker .prev, .datetimepicker .next, .datetimepicker .cw, .datetimepicker .switch
{
    background: whiteSmoke;
}

.datetimepicker.dropdown-menu th,
.datetimepicker.datepicker-inline th,
.datetimepicker.dropdown-menu td,
.datetimepicker.datepicker-inline td {
    padding: 5px;
}
.tdatetimepicker span.tdate-group-addon {
    width: 24px;
}
.tdatetimepicker span.tdate-group-addon i {
    margin-top: 6px;
    margin-left: -10px;
}

.treeview li {
    padding: 3px 0 0 0;
}

.sidebar-mini.sidebar-collapse .sidebar-menu>li:hover>a>span:not(.pull-right), 
.sidebar-mini.sidebar-collapse .sidebar-menu>li:hover>.treeview-menu {
    display: block!important;
    position: absolute;
    width: 190px !important;
    left: 50px;
    border-right: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
}

.label-multifield label {
    padding-left: 0;
}
.tfield_disabled {
    background-color: #e0e0e0 !important;
}
