body { font-family: 'Barlow', sans-serif; color: #433e3b;}
a, a:hover, a:active, a:focus { color: #3ab4d2; }
h1 { font-size: 3rem; font-weight: bold }

/* UTILS */
.w-1 { width: 1% }
.w-5 { width: 5% }
.w-7 { width: 7% }
.w-15 { width: 15% }
.w-40 { width: 40% }
.w-120-px{width: 120px;}
.br-top-2-gray { border-top: 2px solid #f5f5f5; }
.bg-color-gray-3 { background-color: #f8f8f8 }

a.a-color-gray-2, a.a-color-gray-2:hover, a.a-color-gray-2:active, a.a-color-gray-2:focus { color: #333333; }

.f-light { font-weight: 300 }
.mce-notification.mce-notification-warning {
    display: none !important;
}
.bgcolor-ok { background-color: #63d14d }
.bgcolor-info { background-color: #4dc6d1 }
.bgcolor-ko { background-color: #d14d56; }
.bgcolor-warning { background-color: #ff9933; }

input, textarea, select { background-color: #f7f7f7 !important }
input[readonly], textarea[readonly], select[readonly], select[readonly] + button.dropdown-toggle,
input[disabled], textarea[disabled], select[disabled], select[disabled] + button.dropdown-toggle { background-color: rgb(222,226,230) !important; color: #6e7073; cursor: not-allowed; border-color: #dfe2e6; }
input[type="checkbox"] { margin-right: 5px;}
select + button.dropdown-toggle { opacity: 1 !important; }

.navbar-brand { margin-left: 1rem}
.navbar-brand img, .panel-title.pl-4 img { max-width: 170px !important;}
.panel-title.pl-4 img { margin: 0 auto; display: block;}

/*MARGINS*/
.margin-bottom-30{margin-bottom: 30px;}
.margin-lr-15{margin-left: 15px; margin-right: 15px;}

/* ESTRUCTURA */
.wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #433e3b;
    color: #fff;
    transition: all 0.3s;
}



#sidebar a { color: #FFF; }
#sidebar .dropdown ul li { list-style-type: none }

.navbar {
    padding: 15px 10px;
    background: #f8f8f8;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.mask_user {
	width: 100%;
	height: 25px;
	background-color: purple;
}

.explorer_alert {
	width: 100%;
    display: none;
    text-align: center;
    padding:15px;
	background-color: rgb(250, 116, 116);
}


@media (min-width: 768px){
  /*.sidebar {
    top: 0.2rem;
    position: fixed !important;
    left: 0;
  }*/
}

.nav { display: block }
#wrapper { background-color: #433e3b; }
#page-wrapper { /*margin-top: 60px !important*/ margin: 0 !important; }
/*.navbar { background-color: #f8f8f8; position: fixed !important; width: 100%; top: 0; z-index: 1000;}

.sidebar ul li { border: 0;}
.sidebar ul li a { color: #FFF; font-size: 1.2rem; line-height: 2.2rem; display: block; padding-left: 1rem; padding-top: 0.5rem; padding-bottom: 0.5rem;}
.sidebar ul li a i { margin-right: 5px }
.sidebar ul li a:hover, .sidebar ul li a.active { text-decoration: none; background-color: #89817c !important; }
.sidebar ul li span { line-height: 1.8rem }*/

div.btn { 
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  background-color: #dddddd;
  }
/* TOP */
.usuari-nom-top { font-weight: bold; font-size: 1.2rem; line-height: 1rem; }
.logout-top { font-size: 0.8rem }
.user-top { width: 40px; min-height: 40px !important; height: 40px; text-align: center; vertical-align: middle; font-size: 1.4rem}

.copyright { position: fixed; bottom: 7%; color: #FFF; left: 1rem;}

/*SUBMENU */
.dropdown ul li a { font-size: 1rem; line-height: 1.2rem }

/* HOME */
.panel-home { font-size: 2.6rem; height: auto; line-height: 3rem}
.bg-1 { background-color: #00bbdd; }
.bg-2 { background-color: #a175d4 }
.bg-3 { background-color: #a8d23a }
.bg-4 { background-color: #f1f1f1 }

.panel-home a { font-size: 1rem; line-height: 1.5rem; }
.panel-home .bloc-text { font-size: 0.9rem; line-height: 1.5rem; }

.bloc-accions-rapides a { color: #433e3b; }

/* LLISTAT */
.btn-llistat { font-size:  1.2rem; margin-left: 0.25rem;}
.btn-add { background-color: #63d14d !important; border-color: #63d14d !important; }
.btn-export { background-color: #787878 !important; border-color: #787878 !important; }
.avis_benvinguda.btn-llistat.active {
    color:#63d14d !important;
}

/*COMPONENTS */
.input-file-img { margin-top: 10px; max-width: 100px; }

/*CAMPS ESPECÍFICS */
.c-dadesclient_1_logo_foto_0 { width: 100px }
.c-slides_1_imatge_foto_0 { width: 400px; } /*PEL PROJECTE*/

/*PAGINATION */
.pagination li a, .pagination li span { border-radius: 0.25rem; padding: .325rem .65rem; line-height: 1.5; text-align: center; border: 1px solid #dee2e6; font-size: 1rem; margin-left: 0.25rem;}
.pagination li, .pagination li a { color: #433e3b; }
.pagination li span.active { background-color: #89817c !important; border-color: #89817c !important; color: #FFF; }

#cercaInline ul li .checkbox {
  padding: 5px 20px;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.loading_import {
    width: 100%;
    height: 100%;
    background-color: black;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
    z-index: 100;
    border-radius: 7px;

    text-align: center;
    color: #fff;
    font-size: 60px;
}

.loading_import i {
    top: 50%;
    display: block;
    position: relative;
}

/* CHECKBOX CUSTOM BOOTSTRAP */
.checkbox label:after {
  content: '';
  display: table;
  clear: both;
}

.checkbox .cr {
  position: relative;
  display: inline-block;
  border: 1px solid #a9a9a9;
  border-radius: .25em;
  width: 1.3em;
  height: 1.3em;
  float: left;
  margin-right: .5em;
}

.checkbox .cr .cr-icon {
  position: absolute;
  font-size: .8em;
  line-height: 0;
  top: 50%;
  left: 20%;
}

/*.checkbox label input[type="checkbox"] {
  display: none;
}*/

.checkbox label input[type="checkbox"]+.cr>.cr-icon {
  opacity: 0;
}

.checkbox label input[type="checkbox"]:checked+.cr>.cr-icon {
  opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled+.cr {
  opacity: .5;
}

/* FIN CHECKBOX CUSTOM BOOTSTRAP */

/* NAVBAR LEFT */
/* Shrinking the sidebar from 250px to 80px and center aligining its content*/
#sidebar.active {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
}

/* Toggling the sidebar header content, hide the big heading [h3] and showing the small heading [strong] and vice versa*/
#sidebar .sidebar-header strong {
    display: none;
}
#sidebar.active .sidebar-header h3 {
    display: none;
}
#sidebar.active .sidebar-header strong {
    display: block;
}

#sidebar ul li a {
    text-align: left;
}

#sidebar.active ul li a {
    padding: 10px 19px;
    text-align: center;
    font-size: 0.65em;
}

#sidebar.active ul li a i {
    margin-right:  0;
    display: block;
    font-size: 1.8em;
    margin-bottom: 5px;
}

/* Same dropdown links padding*/
#sidebar.active ul ul a {
    padding: 10px !important;
}

/* Changing the arrow position to bottom center position, 
   translateX(50%) works with right: 50% 
   to accurately  center the arrow */
#sidebar.active .dropdown-toggle::after {
    top: auto;
    bottom: 10px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

#sidebar.active {
    min-width: 60px;
    max-width: 60px;
    text-align: center;
}

#sidebar.active .sidebar-header h3,
#sidebar.active .CTAs {
    display: none;
}

#sidebar.active .sidebar-header strong {
    display: block;
}

#sidebar.active ul li a .nav-title { display: none !important }

#sidebar .sidebar-header {
    padding: 20px;
    /*background: #6d7fcc;*/
}

#sidebar .sidebar-header strong {
    display: none;
    font-size: 1.8em;
}

#sidebar ul.components {
    padding: 0;
    /*border-bottom: 1px solid #47748b;*/
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a:hover {
    color: #fff;
    background: #89817c !important;
}

#sidebar ul li a i {
    margin-right: 10px;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #89817c !important;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

#content {
    width: 100%;
    padding: 0;
    min-height: 100vh;
    transition: all 0.3s;
}

#sidebar.active .dropdown .fa-caret-down { display: none; }
#sidebar.active .dropdown ul { position: absolute; top: 0; left: 3.7em; background-color: #89817c; padding-left: 0; z-index: 10000}
#sidebar.active .dropdown ul li { white-space: nowrap; border-bottom: 1px solid #7b746f}
#sidebar.active .dropdown ul li:hover { opacity: 0.8 } 
#sidebar.active .dropdown ul li a { padding-left: 0 !important; }
#sidebar.active .dropdown ul li a .nav-title { display: block !important; font-size: 1rem; }
#sidebar.active .dropdown ul li a .nav-icona { display: none !important; }

#sidebar.active .dropdown:hover .collapse { visibility: visible !important }

@media (max-width: 768px) {
    #sidebar {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important;
    }
    .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }
    #sidebar.active {
        margin-left: 0 !important;
    }
    #sidebar .sidebar-header h3,
    #sidebar .CTAs {
        display: none;
    }
    #sidebar .sidebar-header strong {
        display: block;
    }
    #sidebar ul li a {
        padding: 20px 10px;
    }
    #sidebar ul li a span {
        font-size: 0.85em;
    }
    #sidebar ul li a i {
        margin-right: 0;
        display: block;
    }
    #sidebar ul ul a {
        padding: 10px !important;
    }
    #sidebar ul li a i {
        font-size: 1.3em;
    }
    #sidebar {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
}

footer {
    position: relative;
    margin:0px !important;
}

#byte_version {
    position: absolute;
    bottom:10px;
    right: 10px;
}

td > .form-group {
    margin:0px;
}

.bootstrap-select .dropdown-menu {
    min-width: unset !important;
}

.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
    right: unset !important;
}

.bootstrap-select.show-tick .dropdown-menu li a span.text {
    margin-right: 5px !important;
    margin-left: 20px;
}

.bootstrap-select .dropdown-toggle .filter-option {
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.bootstrap-select.disabled .dropdown-toggle .filter-option {
    border:none;
}

.ui-sortable-handle:hover {
    cursor: move;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
  } 
  .spinner-border{
      display: inline-block;
      width: 1rem;
      height: 1rem;
      vertical-align: text-bottom;
      border: .15em solid currentColor;
      border-right-color: transparent;
      border-radius: 50%;
      -webkit-animation: spinner-border .75s linear infinite;
      animation: spinner-border .75s linear infinite;
  }

li.camp > .float-left {
    float:none !important;
}

/* FILTRES */

.filtres-form input, .filtres-form select {
    background-color: white !important;
}

.filtres-form label {
    font-weight: bold;
}

.filtres-form .form-control {
    padding-left:5px;
}

.pagination li.active span {
    background-color:#17a2b8;
    color:#ffffff;
}

/* Galeria fotos */
.file-zoom-content {
    height: auto !important;
}

.file-zoom-dialog .file-other-icon {
    font-size: 12vmin !important;
}

/*FIRMES*/
.titol-resum{
  font-size: 1.25rem;
  margin-bottom: 15px
}

.titol-resum .falta{
  font-size: .88rem;
  font-style: italic;
}

.progress {
    border-radius: 0;
    margin-bottom: 30px
}

.block-firma{
    background-color: #f8f9fa;
    padding: 30px;
    margin-bottom: 30px;
    height: 100%
}

.block-firma i{
  margin-right: 10px;
}

.block-firma .nom{
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.block-firma .txt{
  margin-bottom: 15px;
  font-size: .88rem;
}

.block-firma .firma{
  background-color: #fff;
  border: 1px solid #eff0f1;
}

/* MAPA PUNTS */
ul#list_punt { list-style-type: none; padding-left: 0}
.punto { width: 25px; height: 25px; border-radius: 0; -webkit-border-radius: 0; line-height: 25px;
    -moz-border-radius: 0; display: block; position: absolute; cursor: pointer; background-color: #000;
    z-index: 20; border: 1px solid #fff; text-align: center; color: #fff !important; font-size: 0.8rem }

/* MODAL EXPORT*/
@media (min-width: 576px){
    .modal-dialog {
        max-width: 600px
    }
}

.action_importar .btn {
    color:#fff !important;
}

/* -------------------------- OVERFLOW ------------------------ */
.overflow-hidden{overflow: hidden;}

.loader-wrapper { height: 100%; width: 100%; position: fixed; top: 0; left: 0; background-color: rgba(255,255,255,.8); z-index: 1100;
    color: #313131; font-size: 100px; display: flex; justify-content: center; align-items: center;}
