.container{position: relative;}
.form{position: relative;}
.view-frame{position: relative;min-height: 300px;}
.loadingdiv{
    display: block;
    height: 100%;
    left: 0;
    background: white;
    color:#474747;
    position: absolute;
    top: 0;
    width: 100%;
    padding:40px 0;
    font-size: 5em;
    text-align: center;
    z-index: 400;
}
.loadingdiv.small{
    padding:0;
}
.form > .loader,.form > .loadingdiv{
    display: none;
}
form > .loadingdiv i{
    display: inline-table;vertical-align: center;
}
.form.submitting > .loader,
.form.waiting > .loader,.form.submitting > .loadingdiv,
.form.waiting > .loadingdiv{
    display: block;
    height: 100%;
    left: 0;
    background: rgba(255, 255, 255, .5);
    position: absolute;
    top: 0;
    width: 100%
}

.loader>div:before,
.loader>div:after,
.loader>div {
    border-radius: 50%;
    width: 3.5em;
    height: 3.5em;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation: load7 1.8s infinite ease-in-out;
    animation: load7 1.8s infinite ease-in-out;
}
.loader>div {
    font-size: 10px;
    margin: 0 auto;
    position: absolute;
    left:45%;
    bottom:60%;
    text-indent: -9999em;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
.loader.loadersmall>div{
    top:-2.5em;
}
.loader.loaderxs{min-height: 1.5em;}
.loader.loaderxs>div{
    top:-2.0em;
    font-size:0.2em;
}
.loader>div:before {
    left: -5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.loader>div:after {
    left: 5em;
}
.loader>div:before,
.loader>div:after {
    content: '';
    position: absolute;
    top: 0;
}
@-webkit-keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 3.5em 0 -1.3em #65B2DB;
    }
    40% {
        box-shadow: 0 3.5em 0 0 #65B2DB;
    }
}
@keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 3.5em 0 -1.3em #65B2DB;
    }
    40% {
        box-shadow: 0 3.5em 0 0 #65B2DB;
    }
}


.dataTables_wrapper{
    position: relative;
}
.dataTables_wrapper .tablewrapper{clear: both;}
.dataTables_wrapper div.dataTables_processing {
    background:rgba(255, 255, 255, 0.5) none repeat scroll 0 0;
    height: 100%;
    left: 0;
    margin: 0;
    padding: 50% 0;
    top: 0;
    z-index: 200;
    color:#555555;
}

.dataTables_scrollHead .table{margin-bottom: 0}

/*table.dataTable thead th{ white-space: nowrap;}*/
table.dataTable thead .sorting:after{content:'';}
table.dataTable thead .sorting_asc:after{content:''}
table.dataTable thead .sorting_desc:after{content:''}
table.dataTable thead .sorting::after, table.dataTable thead .sorting_asc::after, table.dataTable thead .sorting_desc::after {
    top:auto;
    bottom: 8px;
}
@-moz-document url-prefix() {
    .dataTables_scrollBody{margin-top:-1px}
}

.dataTables_scrollBody table.table thead .sorting{cursor: pointer}
.dataTables_scrollBody table.table thead .sorting_asc:before,
.dataTables_scrollBody table.table thead .sorting_desc:before
{content: initial;}

.dataTables_wrapper table tr.deleted{text-decoration: line-through}
.dataTables_wrapper table tr.deleted td{background: #FFAAAA}
.dataTables_wrapper table tr.created td{background: #99CC66}
.dataTables_wrapper table tr.modified td{background: #f8efc0}

.dataTables_wrapper td.dt-body-right{text-align: right;}

.dataTables_wrapper .dataTables_length{width: auto;display: inline-block;margin-right: 1em;}
.dataTables_wrapper .dataTables_info{width: auto;display: inline-block;}
.dataTables_wrapper .action_col ul.list-inline{
    margin-bottom: 0;
}
ng-template{display: inline-block}
.form-inline .form-group {
    margin-right: 10px;
}
.grid {

}

.dataTables_wrapper tr.dt-edit {box-shadow: 0 0 5px #2a92cb;}
.dataTables_wrapper tr .dt-show-edit{display: none}
.dataTables_wrapper tr.dt-edit .dt-show-edit{display: block}
.dataTables_wrapper .dt-hide-edit{display: initial}
.dataTables_wrapper tr.dt-edit .dt-hide-edit{display: none}
.dataTables_wrapper .dataTables_filter{
    float: left;
}
.grid-filter{
    margin-bottom: 20px;
}
.dataTable .field-choice{width: auto !important}
@media (min-width: 768px){
    .dataTable .bootstrap-select.form-control,.grid-filter .bootstrap-select.form-control{
         width: initial !important;
    }
}
@media screen and (max-width: 767px) {
    .grid-filter label{
         display: block;
    }
}
.grid-filter .field-text{
    width: 10em;
    
}
.grid-stats{  margin-bottom: 10px;}
.grid-stats li{
    margin-right: 10px;
}
.grid-stats li .badge{
    text-transform: none;
}

.collection_actions {
    float: right;
    position: relative;
    top: 0;
    z-index: 10;
}
.autocomplete > ul{
    clear: left;
    display: block;
    margin-bottom: 5px;
    position: absolute;
    background-clip: padding-box;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176);
    font-size: 14px;
    list-style: outside none none;
    min-width: 160px;
    padding: 5px 0;
    text-align: left;
    z-index: 999;
}
.autocomplete > ul li{
    cursor: pointer;
    padding: 0.2em 1em;
} 
.autocomplete > ul li:hover{
    background: #EEE;
} 

form-elt{display: inline-block;position: relative;}
form-elt:only-child{display: block}
/*period th a{text-transform: uppercase;color: inherit}*/

form-elt .error{
    position: absolute;
    top:-1.5em;
    right: 0.5em;
    z-index: 30;
    font-weight: inherit;
    font-size:0.95em
}
form-elt .error ul{
    padding: 0 1em;
    border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;
    background-color: #d9534f;
    border-color: #d43f3a;
    color: #fff;
    font-weight: normal;
    margin-bottom: 0;
}
form-elt .error::before{bottom: -1em;
                        color: #d9534f;
                        content: "";
                        font-family: "Glyphicons Halflings";
                        left: 0.5em;
                        position: absolute;
                        width: 20px;
}
@media (min-width: 768px){
    period .bootstrap-select.form-control:not([class*="col-"]) {
        width: 12em;
    }
}
period [date-picker-wrapper] {
    display: inline-block;
    top: -1.5em;

}
period .form-control {
    display: inline-block;width:initial;
}
resource> ul{
    list-style: outside none none;
    padding-left: 0;
    margin: 0;
}    
.input-group .form-control {
    z-index: auto;
}

.fa.fa-default{
    font-family: inherit;
    font-size: 0.8em;
    margin: -0.5em;
    min-width: 0.5em;
}

input.field-text_short{width: 10em}
input.field-integer,
input.field-float{
    width: 5em;
}
resource-selector{width: 25em;display: inline-block;vertical-align: middle;margin-right: 1em;}
.grid-filter resource-selector{width: initial;}
.field-choice{width: 25em !important;display: table;}
.input-group.field-relation{width: 25em;}
.input-group.field-float,.input-group.field-integer{width: 14em;}
.input-group.field-float input,.input-group.field-integer input{text-align: right;}



/*CHECH BOXES*/
.checkbox {
    padding-left: 20px;
}

.checkbox label {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding-left: 5px;
}
.checkbox label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 17px;
    height: 17px;
    left: 0;
    margin-left: -20px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    background-color: #fff;
    -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
}
.checkbox label::after {
    display: inline-block;
    position: absolute;
    width: 16px;
    height: 16px;
    left: 0;
    top: 0;
    margin-left: -20px;
    padding-left: 3px;
    padding-top: 1px;
    font-size: 11px;
    color: #555555;
}
.checkbox input[type="checkbox"],
.checkbox input[type="radio"] {
    opacity: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    top:-5px;
    cursor: pointer;
}
.checkbox input[type="checkbox"]:focus + label::before,
.checkbox input[type="radio"]:focus + label::before {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}
.checkbox input[type="checkbox"]:checked + label::after,
.checkbox input[type="radio"]:checked + label::after {
    font-family: "FontAwesome";
    content: "\f00c";
}
.checkbox input[type="checkbox"]:disabled + label,
.checkbox input[type="radio"]:disabled + label {
    opacity: 0.65;
}
.checkbox input[type="checkbox"]:disabled + label::before,
.checkbox input[type="radio"]:disabled + label::before {
    background-color: #eeeeee;
    cursor: not-allowed;
}
.checkbox.checkbox-circle label::before {
    border-radius: 50%;
}
.checkbox.checkbox-inline {
    margin-top: 0;
}

.checkbox-primary input[type="checkbox"]:checked + label::before,
.checkbox-primary input[type="radio"]:checked + label::before {
    background-color: #337ab7;
    border-color: #337ab7;
}
.checkbox-primary input[type="checkbox"]:checked + label::after,
.checkbox-primary input[type="radio"]:checked + label::after {
    color: #fff;
}

.checkbox-danger input[type="checkbox"]:checked + label::before,
.checkbox-danger input[type="radio"]:checked + label::before {
    background-color: #d9534f;
    border-color: #d9534f;
}
.checkbox-danger input[type="checkbox"]:checked + label::after,
.checkbox-danger input[type="radio"]:checked + label::after {
    color: #fff;
}

.checkbox-info input[type="checkbox"]:checked + label::before,
.checkbox-info input[type="radio"]:checked + label::before {
    background-color: #5bc0de;
    border-color: #5bc0de;
}
.checkbox-info input[type="checkbox"]:checked + label::after,
.checkbox-info input[type="radio"]:checked + label::after {
    color: #fff;
}

.checkbox-warning input[type="checkbox"]:checked + label::before,
.checkbox-warning input[type="radio"]:checked + label::before {
    background-color: #f0ad4e;
    border-color: #f0ad4e;
}
.checkbox-warning input[type="checkbox"]:checked + label::after,
.checkbox-warning input[type="radio"]:checked + label::after {
    color: #fff;
}

.checkbox-success input[type="checkbox"]:checked + label::before,
.checkbox-success input[type="radio"]:checked + label::before {
    background-color: #5cb85c;
    border-color: #5cb85c;
}
.checkbox-success input[type="checkbox"]:checked + label::after,
.checkbox-success input[type="radio"]:checked + label::after {
    color: #fff;
}

.radio {
    padding-left: 20px;
}
.radio label {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding-left: 5px;
}
.radio label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 17px;
    height: 17px;
    left: 0;
    margin-left: -20px;
    border: 1px solid #cccccc;
    border-radius: 50%;
    background-color: #fff;
    -webkit-transition: border 0.15s ease-in-out;
    -o-transition: border 0.15s ease-in-out;
    transition: border 0.15s ease-in-out;
}
.radio label::after {
    display: inline-block;
    position: absolute;
    content: " ";
    width: 11px;
    height: 11px;
    left: 3px;
    top: 3px;
    margin-left: -20px;
    border-radius: 50%;
    background-color: #555555;
    -webkit-transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    -o-transform: scale(0, 0);
    transform: scale(0, 0);
    -webkit-transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    -moz-transition: -moz-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    -o-transition: -o-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
}
.radio input[type="radio"] {
    opacity: 0;
    z-index: 1;
}
.radio input[type="radio"]:focus + label::before {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}
.radio input[type="radio"]:checked + label::after {
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
}
.radio input[type="radio"]:disabled + label {
    opacity: 0.65;
}
.radio input[type="radio"]:disabled + label::before {
    cursor: not-allowed;
}
.radio.radio-inline {
    margin-top: 0;
}

.radio-primary input[type="radio"] + label::after {
    background-color: #337ab7;
}
.radio-primary input[type="radio"]:checked + label::before {
    border-color: #337ab7;
}
.radio-primary input[type="radio"]:checked + label::after {
    background-color: #337ab7;
}

.radio-danger input[type="radio"] + label::after {
    background-color: #d9534f;
}
.radio-danger input[type="radio"]:checked + label::before {
    border-color: #d9534f;
}
.radio-danger input[type="radio"]:checked + label::after {
    background-color: #d9534f;
}

.radio-info input[type="radio"] + label::after {
    background-color: #5bc0de;
}
.radio-info input[type="radio"]:checked + label::before {
    border-color: #5bc0de;
}
.radio-info input[type="radio"]:checked + label::after {
    background-color: #5bc0de;
}

.radio-warning input[type="radio"] + label::after {
    background-color: #f0ad4e;
}
.radio-warning input[type="radio"]:checked + label::before {
    border-color: #f0ad4e;
}
.radio-warning input[type="radio"]:checked + label::after {
    background-color: #f0ad4e;
}

.radio-success input[type="radio"] + label::after {
    background-color: #5cb85c;
}
.radio-success input[type="radio"]:checked + label::before {
    border-color: #5cb85c;
}
.radio-success input[type="radio"]:checked + label::after {
    background-color: #5cb85c;
}

input[type="checkbox"].styled:checked + label:after,
input[type="radio"].styled:checked + label:after {
    font-family: 'FontAwesome';
    content: "\f00c";
}
input[type="checkbox"] .styled:checked + label::before,
input[type="radio"] .styled:checked + label::before {
    color: #fff;
}
input[type="checkbox"] .styled:checked + label::after,
input[type="radio"] .styled:checked + label::after {
    color: #fff;
}

.desactivetrash{
    color:#ff0000;
}