.panel_ed_header {
    background-color: #666;
    width: 100%;
    text-align: left;
    color: white;
    font-weight: bold;
    margin: 0.3em 0.6em 0.3em 0em;
}

.panel_ed {
    clear: both;
    margin: 0.5rem;
    padding-bottom: 4rem;
    background: #80808033;
    border-radius: 0.3rem;
}

.imageUploadForm .boto {
    float: right;
    clear: none;
}

.imageUploadForm .imageMini {
    float: left;
    margin: 0.4em 0em 0em 0.3em;
}

.imageUploadForm .imageMini img {
    width: 100%;
    height: auto;
}

.imageUploadForm .labels {
    vertical-align: top;
    text-align: left;
    padding-left: 5px;
}

.imageUploadForm .boto.fileUploaderSelect {
    float: right;
    margin-right: 0px;
}

.imageInfo {
    font-size: 0.9em;
}

.fkmodal h1 {
    color: white;
    cursor: pointer;
    background-color: #ed7703;
    font-size: 14px;
    padding: 0.5em;
    border: #fff 1px solid;
    margin-bottom: 10px;
    line-height: 20px;
}

.modal_tancar {
    bottom: 10px;
    position: absolute;
    right: 5px;
}

.modal_cancelar {
    bottom: 10px;
    position: absolute;
    right: 100px;
}

.imageUploadForm {
    display: inline-table;
    text-align: left;
    background-color: #ccc;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 5px;
    margin-top: 10px;
}

.imageUploadForm .boto[data-ajax-listener="imatgeAjustarHandler"] {
    /* float:left;*/
    float: right;
    margin-right: 0px;
}

.fileUploaderContainer .fileUploader {
    display: inline;
    float: left;
}

.fileUploaderContainer .boto {
    float: left;
    clear: none;
}

.fileUploaderContainer label, .fileUploaderContainer input[type="text"] {
    float: left;
}

.fileUploaderContainer .fileUploaderSelect {
    position: relative;
}

.fileUploaderContainer input[type="file"] {
    cursor: inherit;
    display: block;
    font-size: 999px;
    filter: alpha(opacity=0);
    min-height: 100%;
    min-width: 100%;
    opacity: 0;
    position: absolute;
    right: 0;
    text-align: right;
    top: 0;
}

/* modal del imatgeFileUpdater*/
#simplemodal-overlay {
    background-color: #000;
}

#simplemodal-container {
    /*TODO: comprovar com es veu en diferents resolcions i diferents tamanys d'imatge'*/
    height: 60%;
    width: 60%;
    color: #bbb;
    background-color: #333;
    border: 4px solid #444;
    padding: 12px;
}


.comunicat_bloc {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: #CCC;
    padding: 10px;
    margin: 5px;
}

.banner_bloc {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: #CCC;
    padding: 5px;
    margin: 5px;
    height: 193px;
}


/* datatable component */
/*.dataTables_wrapper td:not(:first-child) {*/
.dataTables_wrapper .dataTableCellNotFirst {
    /*border-left: 1px;
    border-color: black;
    border-style: solid;*/
    border-left: 1px solid black;
}


#detalls .list_carousel li {
    float: left;
}

#detalls .crumbs li {
    float: left;
}


.selectors .hasDatepicker {
    width: 13.5em;
}

.selectors .labels > p {
    margin-bottom: 0px;
}

.selectors > p {
    margin-bottom: 0px;
}

.missatgeBody {
    margin: 10px;
}

.missatgeBodyOK {
    color: green;
}

.missatgeBodyError {
    color: red;
}

.dialog, .ui-dialog-title {
    font-size: smaller;
}

.dialog p {
    font-style: italic;
    margin-top: 10px;
    margin-bottom: 15px;
}

.dialog table {
    margin-top: 10px;
    margin-bottom: 20px;
}

.ui-tabs .ui-tabs-panel {
    padding: 0.5em;
}

.boto-info {
    margin-left: 3px;
    cursor: pointer;
}

th.rotate {
    height: 320px;
    white-space: nowrap;
}

th.rotate > div {
    transform: translate(0px, 120px) rotate(270deg);
    width: 59px;
}

th.rotate > div > span {
    border-bottom: 1px solid #ccc;
    padding: 5px 10px;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid #ccc;
    background: #fff;
    color: #000;
}

.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
    color: #000;
}

.fileUploaderSelect.boto.float_right_important {
    float: right;
}

.combobox_inline {
    display: inline;
    margin-right: 17px;
}

.containerpanel_ed {
    padding-top: 10px;
}

.dataTables_wrapper label {

    /*font-weight: normal;*/
    /*text-align: left;*/
    /*white-space: nowrap;*/
    /*width: 11em !important;*/
    /*display: inline-block;*/
    /*margin: 0.4em 0em 0em 0.3em;*/
}

.dataTables_wrapper input[type=text] {
    height: 2em !important;
    border-radius: 3px;
}

.dataTables_paginate a {
    color: black;
}

.dataTables_paginate .page-item.active .page-link {
    background-color: #ed7703;
    border: 1px solid #dee2e6;
}

.page-link:hover {
    color: black !important;
}

.dataTables_paginate .next {
    width: 6em;
}

tr.odd td.sorting_1 {
    background-color: #eecaa7;
}

tr.even td.sorting_1 {
    background-color: #eeeeee;
}

table.dataTable thead .sorting:before, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_desc_disabled:before {
    content: unset !important;
}

table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after {
    content: unset !important;
}

.dataTables_wrapper button.btn-secondary {
    background-color: #ed7703;
    border: 1px solid #dee2e6;
}

.dataTables_wrapper .dropdown-item.active, .dropdown-item:active {
    background-color: #ed7703;
    border: 1px solid #dee2e6;
}

/*Collapsable*/
input[type=checkbox].collapsable-check {
    cursor: pointer;
    height: 0;
    width: 0;
}

label.collapsable-check {
    cursor: pointer;
    padding-right: 1em;
    width: 100%;
}

label.collapsable-check > input[type=checkbox] {
    float: right;
}

label.collapsable-check > input[type=checkbox]:before {
    left: -1em;
    font: normal normal normal 14px/1 FontAwesome;
    color: white;
}

label.collapsable-check > input[type=checkbox]:checked:before {
    /*content: "\f063";*/
    content: "\f077";

}

label.collapsable-check > input[type=checkbox]:not(:checked):before {
    content: "\f078";
    /*content: "\f061";*/
}

.modal-template {
    padding: unset !important;
}

#loading, #loading_layer {
    background-image: url('../images/loading.gif');
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

#loading, #loading_popup, #loading_layer {
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    position: fixed;
    background-color: #808080;
    opacity: 0.5;
    background-position: 50%;
}

#loading {
    z-index: 1000;
}

#loading_layer {
    z-index: 300;
}

#loading_popup {
    z-index: 2000;
}

#fullscreen_layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: scroll;
    background-color: #e9e9e9;
    z-index: 500;
}

.navigation_bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e9e9e9;
    box-shadow: 2px 2px 10px #666;
    height: 4rem;
}

.fletxa {
    font-size: x-large;
    cursor: pointer;
    margin-left: 0.7em;
}

.fixed-top{
    z-index: 450;
}

#fullscreen_layer .navigation_bar {
    position: fixed !important;
    width: 100vw !important;
    z-index: 999;
}

.navbar.navbar-inverse.navbar-fixed-top {
    z-index: 450;
}

.boto_tanca_layer_pop {
    margin: 0.3em 2.7em 0.3em 0.3em !important;
    height: unset !important
}

.ed_switch-button {
    position: relative;
    width: 300px;
    height: 2em;
    border-radius: 0em;
    border: solid 1px #666;
    text-align: left;
    background-color: #f6f5f5
}

.ed_switch-button-checkbox {
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
}

.ed_switch-button-overlap {
    position: absolute;
    width: 50%;
    height: 100%;
    border-radius: 0em;
    border: solid 3px #ed7703;
}

.ed_switch-button-checkbox:checked + .ed_switch-button-overlap {
    transform: translateX(100%);
    transition-duration: .5s;

}

.ed_switch-button-checkbox + .ed_switch-button-overlap {
    transform: translateX(0);
    transition-duration: .5s;
}

.ed_switch-button-cell {
    position: absolute;
    width: 50%;
    height: 100%;
    text-align: center;
    top: 2px;
}

.ed_switch-button-cell-right {
    transform: translateX(100%);
}


