@font-face {
    font-family: 'Roboto';
    src: url('../../css/fonts/Roboto-Medium.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'Roboto Condensed';
    src: url('../../css/fonts/Roboto-Regular.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'Roboto Bold';
    src: url('../../css/fonts/Roboto-Bold.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'Roboto Thin';
    src: url('../../css/fonts/Roboto-Thin.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;

}
body{overflow:scroll;}
body.modal-open {
    overflow: hidden;
}
h1, h2, h3, h4, h5, h6 {font-family: 'Roboto Thin', sans-serif !important;}
.navbar-brand{font-family: 'Roboto Bold', sans-serif !important;}
#header{background:#222349;color:#fff;border:1px solid #222349;border-radius:0;}
#header a{color:#fff;}
#ui-datepicker-div {display: none;}
body{
    font-family: "Roboto",sans-serif !important;
    font-size:12px;
    background-image: url('../../pics/bootstrap/bg_crm.png');background-repeat:repeat-y;background-position:left top;
}
html{background-image: url('../../pics/bootstrap/bg_crm.png');background-repeat:repeat-y;background-position:left top;}
.counter{padding-left:0;width:auto;    text-indent: 6px;}


h2{
    position:relative;
    float:left;
    display:inline-block;
    font-size: 18px;
    color: #222349;
    margin-bottom:5px;
}
h3{
    font-size: 16px;
}
h4{
    font-size: 14px;
}
.page-header{
    margin-top:0;
}

/****AUTOCOMPLETE***/
.autoComplete_ul{
    position: absolute;
    display: none;
    z-index: 100;
    border: 1px solid #999;
    background-color: #f9f9f9;
    width: 355px;
    height: 200px;
    overflow-y:auto;
    box-shadow: 1px 1px 4px #999;
}
.autoComplete_ul li{
    padding:3px 0 3px 5px;
    border-bottom:1px solid #f1f1f1;
}
.autoComplete_ul li a{
    color:#666;
    width:100%;
    height:100%;
    display:block;
}
.autoComplete_ul li a b{
    color:#000;
}
.autoComplete_ul li:hover{
    background:#eee;
}
#bg_autocomplete{
    position: absolute;
    top: 0px;left: 0px;
    display: none;
    z-index: 1;
    background-color: #000;
    width: 100%;
    height: 100%;
    opacity: 0;
}
/* TABLES */
table input{
    color:#000;
}
table.address td{
    padding:2px 5px;
}
table.address>tbody>tr>td:first-child{
    width:120px;
    border-right:1px solid #ccc;
    font-weight:bold;
    padding-left:0;
}
table.address>tbody>tr>td:nth-child(2){
    padding-left:15px;
}
td.edit a,td.delete a,td.pdf a,td.xml a{display:none;}
table.display_table{
    width: 100%;
    /*position: relative;*/
    /*float:left;*/
    border: 1px solid #ddd;
}
table.display_table td{
    padding: 5px;
}
table.display_table thead tr{
    background: #444;
    font-size: 12px;
}
table.display_table tfoot tr{
    background: #444;
    font-size: 12px;
}
table.display_table thead tr td i.small{font-size:12px;}
table.display_table thead tr td{
    border: 0;
    color: #fff;
    text-transform: uppercase;
}
table.display_table thead tr td a{
    color: #fff;
    text-transform: uppercase;
    text-decoration:underline;
}
table.display_table tbody tr:nth-child(even) {
    background-color: #F0F0F0;
}
table.display_table tbody tr:hover{
    background:#E0E0E0;
    cursor:pointer;
}
table.display_table tbody tr:hover td{
    padding-top:6px;
    padding-bottom:6px;
}
table.display_table tbody tr:hover .edit a,table.display_table tbody tr:hover .delete a,table.display_table tbody tr:hover .pdf a,table.display_table tbody tr:hover .xml a{
    display:block;
    opacity:0.5;
}
table.display_table tbody tr:hover td.edit a:hover,table.display_table tbody tr:hover td.delete a:hover,table.display_table tbody tr:hover td.pdf a:hover,table.display_table tbody tr:hover td.xml a:hover{opacity:1;}
a.begin, a.end, a.next, a.prev{
    font-size:11px;display:inline-block;background:#eee;color:#666;width:18px;height:18px;line-height:18px;font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif;border:1px solid #ccc;text-align:center;
}
td.edit,td.delete,td.pdf,td.xml{width:25px;padding:0;}
a.begin:hover, a.end:hover, a.next:hover, a.prev:hover{color: #222349;font-weight:bold;}
table.display_table tbody tr td{vertical-align: middle;
    min-height: 24px;}
table.display_table tbody tr td>a:hover{
    text-decoration:underline;
}
table.display_table tbody tr td .btn{font-size:12px;padding:3px 10px;border-radius:2px;}
table.display_table tbody tr td .btn i{color:#fff;font-size:14px;}
table.display_table tbody .label{display:inline-block;width:100%;max-width:100px;padding:5px 10px;font-size: 12px;font-weight: 600;}
table.display_table input.form-control{
    padding:5px;
    height:26px;
    font-size:12px;
    line-height:12px
}
table.display_table .btn-default{
    padding:2px 8px;
    font-size:12px;
}
table.display_table select{
    padding:0;
    height:24px;
    font-size:12px;
    line-height:12px;
}
.form-control{font-size:12px;height:26px;line-height:12px;}
select.form-control{
    padding:0 0 0 5px;
    font-size:12px;
    line-height:12px;
    height:26px;
}
#searchall .form-control{
    padding:5px;
    height:26px;
    font-size:12px;
    line-height:12px;
}
.pagination{
    position:relative;
    float:right;
    clear:both;
    display:inline-block;
    right:30px;
    margin-bottom:10px;
}
.pagination span{color:#666;font-style:italic;}

.panel-heading > div > div > div{
    font-size:16px;
}

.panel-heading > div > div > .huge{
    font-size:40px;
}
.panel-green {
    border-color: #5cb85c;
}
.panel-green > .panel-heading {
    color: #fff;
    background-color: #5cb85c;
    border-color: #5cb85c;
}
.panel-green > .panel-heading + .panel-collapse > .panel-body {
    border-top-color: #5cb85c;
}
.panel-green > .panel-heading .badge {
    color: #5cb85c;
    border:1px solid #5cb85c;
    background-color: #fff;
}
.panel-green > .panel-footer + .panel-collapse > .panel-body {
    border-bottom-color: #5cb85c;
}
.panel-green a{
    color:#5cb85c;
}

.panel-yellow {
    border-color: #f0ad4e;
}
.panel-yellow > .panel-heading {
    color: #fff;
    background-color: #f0ad4e;
    border-color: #f0ad4e;
}
.panel-yellow > .panel-heading + .panel-collapse > .panel-body {
    border-top-color: #f0ad4e;
}
.panel-yellow > .panel-heading .badge {
    color: #f0ad4e;
    border:1px solid #f0ad4e;
    background-color: #fff;
}
.panel-yellow > .panel-footer + .panel-collapse > .panel-body {
    border-bottom-color: #f0ad4e;
}
.panel-yellow a{
    color:#f0ad4e;
}

.panel-red {
    border-color: #d9534f;
}
.panel-red > .panel-heading {
    color: #fff;
    background-color: #d9534f;
    border-color: #d9534f;
}
.panel-red > .panel-heading + .panel-collapse > .panel-body {
    border-top-color: #d9534f;
}
.panel-red > .panel-heading .badge {
    color: #d9534f;
    border:1px solid #d9534f;
    background-color: #fff;
}
.panel-red > .panel-footer + .panel-collapse > .panel-body {
    border-bottom-color: #d9534f;
}
.panel-red a{
    color:#d9534f;
}
/* MODALS */
.modal-header {
    padding: 10px 15px;
    border-bottom: 1px solid #007edf;
    background-color:#009bdf;
    color:#fff;
}
.modal-header h4{text-transform:uppercase;}
.btn-primary {
    color: #fff;
    background-color: #009bdf;
    border-color: #007edf;
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: #009bdf;
}
.close {
    color: #fff;
    text-shadow: 0 1px 0 #000;
}
.close:hover,
.close:focus {
    color: #fff;
}
.modal-content h1{
    font-size:18px;
}
.simTable table td{
    padding:4px;
}
.modal-body div.alert{
    padding:10px;
    line-height:12px;
    margin-top:15px;
}
.modal-body div.alert .close{
    color:#a94442;
    line-height:12px;
}
.modal-body div.alert .fa-stack{
    margin-top:-10px;
    margin-right:10px;
}
.modal-body h5{
    color:#222349;
}
.simThead td{
    background-color:#5d366c;color:#fff !important;font-size:12px;
}
.simThead.wibu td{
    background-color:#d91910;color:#fff !important;font-size:12px;
}
.simThead a{
    color: #fff;font-weight: bold;text-decoration: underline;
}
.simSubThead td{background:#eee;border-bottom:1px solid #222349;}

.voffset  { margin-top: 2px; }
.voffset1 { margin-top: 5px; }
.voffset2 { margin-top: 10px; }
.voffset3 { margin-top: 15px; }
.voffset4 { margin-top: 30px; }
.voffset5 { margin-top: 40px; }
.voffset6 { margin-top: 60px; }
.voffset7 { margin-top: 80px; }
.voffset8 { margin-top: 100px; }
.voffset9 { margin-top: 150px; }
.noHpadding  {padding-left:0 !important;padding-right:0 !important; }


.errorSave{border:1px solid red;}
.errorSaveP{color: red;padding-bottom:0;margin-bottom:2px;clear:both;display:inline-block;position:relative;float:left;width:100%;text-align:right;padding-right:20px;}

.js-title-step{background:#f1f1f1;font-size:12px;color:#999 !important;border-radius:3px;padding:10px !important;margin-top:-5px;}
.js-title-step span{color:#bbb !important;}
.js-title-step .currentStep{font-size:13px;color:#999 !important;font-weight:bold;}
.js-btn-step.btn-warning{color: #333;background-color: #fff; border-color: #ccc;}
.js-btn-step.btn-warning:hover{color: #000;background-color: #eee; border-color: #ccc;}




.tt-query,
.tt-hint {
    width: 100%;
    height: 25px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 30px;
    border: 2px solid #ccc;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 4px;
    outline: none;
}

.typeahead {
    background-color: #fff;
}

.typeahead:focus {
    border: 2px solid #0097cf;
}

.tt-query {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999
}

.tt-menu {
    width: 330px;
    margin: 0;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
    padding: 3px 20px;
    font-size: 14px;
    line-height: 25px;
}

.tt-suggestion:hover {
    cursor: pointer;
    color: #fff;
    background-color: #0097cf;
}

.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #0097cf;

}

.tt-suggestion p {
    margin: 0;
}

.gist {
    font-size: 14px;
}
.display_table tbody i.fa{font-size:16px; color:#700292;}
.display_table thead>tr>td>i.fa{font-size:14px;}
.shortcut{font-size:16px;color:#700292;opacity:0.7;}
.shortcut:hover{opacity:1;}
.input-group-addon {
    padding: 5px 8px;
    font-size: 12px;}

table .dropdown ul a {
    line-height:20px;
    font-size:12px !important;
    color:#666 !important;
}
table .dropdown ul a:hover {
    color:#222 !important;
}
table .dropdown ul a i{
    line-height:20px;
    font-size:12px !important;
    color:#666 !important;
    padding-right:10px;
}
table .dropdown ul{
    background-color:#eee;
    width:auto !important;
    padding:0;
    margin:0;
}
table .dropdown ul li a{
    width:auto !important;
    padding: 3px 10px;
}
table .dropdown ul li{
    padding:0;
}
.dropdown-menu>li>a {
    padding: 0 10px;
}
.dropdown-menu{
    min-width: 120px;}
table .dropdown .divider {
    margin:0 !important;
    background-color:#ccc;
}
.invoiceActionButton{
    padding:10px 5px;font-size:12px;text-align:center;margin:20px 5px;background-color:#f9f9f9;
}
.invoiceActionButton i{
    font-size:16px;
    margin-bottom:5px;
}
.bootbox-custom-alert .modal-dialog,.bootbox-custom-warning .modal-dialog,.bootbox-custom-info .modal-dialog{
    top:30%;
}
.bootbox-custom-alert h4,.bootbox-custom-warning h4, .bootbox-custom-info h4{
    font-size:18px;
}
.bootbox-custom-alert .modal-content,.bootbox-custom-warning .modal-content,.bootbox-custom-info .modal-content{
    color:#fff;
    font-size:14px;
}
.bootbox-custom-alert .modal-content i,.bootbox-custom-warning .modal-content i,.bootbox-custom-info .modal-content i {
    font-size:50px;
}
.bootbox-custom-alert .modal-footer, .bootbox-custom-warning .modal-footer, .bootbox-custom-info .modal-footer{
    display:none;
}
.bootbox-custom-alert .modal-content{
    background:#d9534f;
}
.bootbox-custom-warning .modal-content{
    background:#f0ad4e;
}
.bootbox-custom-info .modal-content{
    background:#337ab7;
}
div.submitPopupButton{
    display: inline-block;
    background-color: #222349;
    border-color: #222349;
    cursor: pointer;
    border-radius: 4px;
}
div.submitPopupButton input{
    border:0;
}
div.submitPopupButton input:focus {
    outline: none;
}
div.steps{
    clear: both;
    display: inline-block;
    width: 100%;
    margin-bottom:20px;
    margin-right:-10px;
}
div.steps div{
    font-size: 14px;
    text-align: center;
    color: #666;
    cursor: default;
    margin: 0 0.5% 0 0;
    padding: 8px 10px 8px 30px;
    min-width: 180px;
    float: left;
    position: relative;
    background-color: #eee;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: background-color 0.2s ease;
    font-weight:bold;
}
div.steps div:after,
div.steps div:before {
    content: " ";
    position: absolute;
    top: 0;
    right: -17px;
    width: 0;
    height: 0;
    border-top: 19px solid transparent;
    border-bottom: 17px solid transparent;
    border-left: 17px solid #eee;
    z-index: 2;
    transition: border-color 0.2s ease;
}
div.steps div:before {
    right: auto;
    left: 0;
    border-left: 17px solid #fff;
    z-index: 0;
}

div.steps div:first-child:before {
    border: none;
}

div.steps div:first-child {
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    margin-left:0px;
}
div.steps div:last-child:after {
    border: none;
}

div.steps div:last-child {
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    margin-right:0px;
}
div.steps div span {
    position: relative;
}

div.steps div span:before {
    opacity: 0;
    content: "✔";
    position: absolute;
    top: -2px;
    left: -20px;
}

div.steps div.done span:before {
    opacity: 1;
    -webkit-transition: opacity 0.3s ease 0.5s;
    -moz-transition: opacity 0.3s ease 0.5s;
    -ms-transition: opacity 0.3s ease 0.5s;
    transition: opacity 0.3s ease 0.5s;
}

div.steps div.current {
    color: #fff;
    background-color: #222349;
}

div.steps div.current:after {
    border-left: 17px solid #222349;
}
.modal-dialog,.modal-content,.modal-body{
    max-height:100%;
    max-width:100%;
}
#deactivateMaintenance, #activateMaintenance{
    display:inline-block;
    width:100%;
    text-align:center;
    padding:5px;
}