/***** LOADING *****/
.loading-dialog {
	position: fixed;
	background-color: rgba(60, 60, 60, 0.75);
	bottom: 0;
	cursor: default;
	display: none;
	overflow: hidden;
	padding: 0 0;
	text-align: center;
	width: 100%;
	height: 100%;
	z-index: 9999999;
}

.loading-dialog .loading-dialog-content .ui-dialog-content {
	font-size: 12px;
	font-weight: lighter;
	margin: auto;
    height: 50px;
}

.loading-dialog .loading-dialog-content {
	padding: 10px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 14%;
	vertical-align: middle;
	width: 400px;
}

.loading-dialog .loading-dialog-content span {
	color: #fff;
	float: left;
	margin-left: 20px;
	text-align: left;
	line-height: 18px;
	font-weight: bold;
}

.loading-dialog .loading-dialog-content img {
	float: left;
	vertical-align: middle;
	margin-left: 24px;
	width: 24px;
}

.loading-dialog .loading-dialog-content .loading-progress {
	display: none;
	width: 100%;
}

img.loading{
    background-image: url('../../img/loading-dot.gif');
    background-position: center center;
    background-repeat: no-repeat;
}
/***** LOADING *****/


/****** Menu ****/
.nav.menu {
    margin: 0 !important;
}

/****** Submenu ****/
@media (min-width: 768px){
    .dropdown:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu {
        position:relative;
    }
    .dropdown-submenu>.dropdown-menu {
        top:0;
        left:100%;
        margin-top:-6px;
        margin-left:-1px;
        -webkit-border-radius:0 6px 6px 6px;
        -moz-border-radius:0 6px 6px 6px;
        border-radius:0 6px 6px 6px;
    }
    .dropdown-submenu:hover>.dropdown-menu {
        display:block;
    }
    .dropdown-submenu>a:after {
        display:block;
        content:" ";
        float:right;
        width:0;
        height:0;
        border-color:transparent;
        border-style:solid;
        border-width:5px 0 5px 5px;
        border-left-color:#cccccc;
        margin-top:5px;
        margin-right:-10px;
    }
    .dropdown-submenu:hover>a:after {
        border-left-color:#ffffff;
    }
    .dropdown-submenu.pull-left {
        float:none;
    }
    .dropdown-submenu.pull-left>.dropdown-menu {
        left:-100%;
        margin-left:10px;
        -webkit-border-radius:6px 0 6px 6px;
        -moz-border-radius:6px 0 6px 6px;
        border-radius:6px 0 6px 6px;
    }
}

/**** MSG ***/
.msg-container{
    margin-top: 5px;
}


.orange {
    color: orange;
}

.red {
    color: red;
}

.green {
    color: green;
}

.blue {
    color: #2B679B;
}

.light-blue {
    color: #2AABD2;
}

.yellow {
    color: yellow;
}

.gray {
    color: gray;
}

.black {
    color: black
}

.no-border {
    border: none !important;
}

/********* Breadcrumb *************/
.breadcrumb {
    /*centering*/
    display: inline-block;
    overflow: hidden;
    /*Lets add the numbers for each link using CSS counters. flag is the name of the counter. to be defined using counter-reset in the parent element of the links*/
    counter-reset: flag;
    border-radius: 0;
    padding: 0;
    margin-bottom: 10px;
    float: left;
}

.breadcrumb span {
    text-decoration: none;
    outline: none;
    display: block;
    float: left;
    font-size: 12px;
    color: white;
    /*need more margin on the left of links to accomodate the numbers*/
    padding: 0 5px 0 0;
    background: #FFF;
    background: linear-gradient(#666, #333);
    position: relative;
}
/*since the first link does not have a triangle before it we can reduce the left padding to make it look consistent with other links*/
.breadcrumb span:first-child {
    padding-left: 0;
    border-radius: 5px 0 0 5px; /*to match with the parent's radius*/
}
.breadcrumb span:first-child:before {
    left: 14px;
}
.breadcrumb span:last-child {
    border-radius: 0 5px 5px 0; /*this was to prevent glitches on hover*/
    padding-right: 20px;
}

/*hover/active styles*/
.breadcrumb span.active, .breadcrumb a:hover{
    background: #FFF;
    background: linear-gradient(#333, #000);
}
.breadcrumb span.active:after, .breadcrumb span:hover:after {
    background: #FFF;
    background: linear-gradient(135deg, #333, #000);
}

/*adding the arrows for the breadcrumbs using rotated pseudo elements*/
.breadcrumb span:after {
    content: '/';

}
/*we dont need an arrow after the last link*/
.breadcrumb span:last-child:after {
    content: none;
}


.flat span, .flat span:after {
    cursor: default;
    background: white;
    color: black;
    transition: all 0.5s;
}
.flat span:before {
    background: white;
    box-shadow: 0 0 0 1px #ccc;
}
.flat span:hover, .flat span.active,
.flat span:hover:after, .flat span.active:after{
    background: #FFF;
}

i.icone-cadastro {
    padding-top: 10px;
    margin-right: 3px;
    vertical-align: sub;
}

/*********** Form Modal ***********/

.container-modal-label {
    background-color: #E8E8E8;
    float: left;
    margin-bottom: 0;
    text-align: left;
    font-weight: 400;
    width: 100%;
    padding-left: 15px;
    padding-top: 10px;
    position: relative;
}

.container-modal-input,
.container-modal-button  {
    padding: 10px 15px 10px 15px;
    background-color: #F4F4F4;
    width: 100%;
    float: left;
}

.modal-button {
    width: auto;
    float: right;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
}
#modal-ajuda-online {
    position: absolute;
}

.modal-content {
    max-height: calc(100vh - 10vh);
    overflow:auto;
}
/*********** Utilitarios gerais ***********/

.hide {
    display: none;
}

.show {
    display: inline;
}

.btn-text-responsive {
    white-space: normal !important;
    height: auto !important;
}

/********** SELECTIZE ***********/
.selectize-control.multi .selectize-input [data-value]{
    color: #FFF;
    padding-left: 10px;
    background-color: #1a85c7;
    background-image: -moz-linear-gradient(top, #1a85c7, #1760a4);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#1a85c7), to(#1760a4));
    background-image: -webkit-linear-gradient(top, #1a85c7, #1760a4);
    background-image: -o-linear-gradient(top, #1a85c7, #1760a4);
    background-image: linear-gradient(to bottom, #1a85c7, #1760a4);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1a85c7', endColorstr='#1760a4', GradientType=0);
}
.selectize-control.plugin-remove_button [data-value] .remove{
    border-left: 1px solid #1984ca;
}

.selectize-dropdown {
    z-index: 1100 !important;
}

table.bootstrap-table tr .btn{
    padding: 3px !important;
    font-size: 18px;
}

/* Sobrescrevendo o CSS anterior para botões de edição na tabela */
table.bootstrap-table tr .btn.editable-submit, table.bootstrap-table tr .btn.editable-cancel{
    padding: 5px 10px !important;
    font-size: 12px;
}

.inline-input input{
    display: inline-block;
}
.inline-input span{
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
}

span.input-prefix,span.input-suffix{
    width: auto;
}

#ui-datepicker-div {
    z-index: 99 !important;
}
