body {
    margin-bottom: 60px;
    font-family: 'Open Sans', Arial, 'Helvetica Neue', Helvetica, sans-serif;
}
/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    padding: 0px;
    margin: 0 auto;
    min-height: 100vh;
    transition: all 0.3s;
    width: 100%;
}


.sidebar-master {
    display: none;
}

.bg-color-week-end {
    background: red;
}

.bg-color-edicions {
    background-color: #3399cc;
}

.bg-color-news-radio {
    background-color: #ffcc66;
}

.bg-color-news-tv {
    background-color: #ffcc99;
}

.bg-color-platos {
    background-color: #669966;
}

.bg-color-postpo-so {
    background-color: #cccc99;
}

.bg-color-referent-practiques {
    background-color: #ffff99;
}

.bg-color-videos {
    background-color: #ff9999;
}

.bg-color-auditori {
    background-color: #ffccff;
}

.bg-color-disponible {
    background-color: #ffffff;
}

.bg-color-verde-ok {
    background-color: #2ecc71;
}

.bg-color-rojo-nok {
    background-color: #e74c3c;
}

.bg-color-verde-recuperado {
    background-color: #2ecc71;
}


.bg-color-no-disponible {
    background-color: #ff6666;
}

.bg-color-altres {
    background-color: #cc9966;
}

.color-white {
    color: #ffffff;
}

.color-black {
    color: #000000;
}

.color-luz {
    color: #92ba2e;
}

.color-gas {
    color: #3993cc;
}

.bg-color-luz {
    background-color: #92ba2e;
}

.bg-color-gas {
    background-color: #3993cc;
}

.alert-edit-ficha-cliente-header.luz {
    border: 2px solid #92ba2e;
}

.alert-edit-ficha-cliente-header.gas {
    border: 2px solid #3993cc;
}

.alert-buscar-cliente-header.luz {
    background-color: #92ba2e !important;
    color: #ffffff;
}

.alert-buscar-cliente-header.gas {
    background-color: #3993cc !important;
    color: #ffffff;
}

.tr-th-assignacio,
.th-assignacio-container {
    position: relative;
    float: left;
    width: 100%;
    height: 34px;
    padding-top: 5px;
}

.th-assignacio,
.td-assignacio {
    position: relative;
    float: left;
    width: 100%;
    height: 34px;
}

.td-assignacio:hover {
    background-color: #eee;
    /* font-weight: bold; */
}

.wrap-assignacio {
    position: relative;
    float: left;
    height: 26px;

    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */

    border: 0px solid transparent;

    overflow: hidden;
}

.new-assignacio {
    position: absolute;
    padding: 10px;
    float: left;
    top: -10px;
    left: -290px;
    width: 280px;
    height: 185px;
    color: #123;
    z-index: 99;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */

    border: 1px solid #ddd;
    background-color: #eee;
}

.new-assignacio-fixed {
    -webkit-box-shadow: 0px 0px 1px 1px #fff inset;
    box-shadow: 0px 0px 1px 1px #fff inset;
}

.new-assignacio-fixed:hover {
    -webkit-box-shadow: 0px 0px 1px 1px #123 inset;
    box-shadow: 0px 0px 1px 1px #123 inset;
}

.info-assignacio-fixed {
    /*
    width: 100%;
    max-width: 100%;
    heigth: 100%;
    max-height: 100%;
    overflow: hidden;
    */
}

.new-assignacio-fixed .info-assignacio-fixed {
    position: relative;
    float: left;
    z-index: 89 !important;
    font-size: 10px;
    padding: 2px;
    width: 75px;
    overflow: hidden;
    color: #666;
    font-weight: bold;
    text-indent: 2px;
    overflow: hidden;
}

.info-assignacio-fixed-selecting {
    position: relative;
    float: left;
    z-index: 89 !important;
    font-size: 10px;
    padding: 2px;
    width: 75px;
}

.new-assignacio:after,
.new-assignacio:before {
    content: '';
    display: block;
    position: absolute;
    left: 100%;
    width: 0;
    height: 0;
    border-style: solid;
    z-index: 0;
}

.new-assignacio:after {
    top: 10px;
    border-color: transparent transparent transparent #eee;
    border-width: 10px;
    z-index: 0;
}

.new-assignacio:before {
    top: 9px;
    border-color: transparent transparent transparent #ccc;
    border-width: 11px;
    z-index: 0;
}


.elem-group-new-assignacio {
    position: relative;
    float: left;
    width: 100%;
    padding: 10px;
}

.text-shadow-1 {
    -webkit-text-shadow: 0px 0px 10px #fff;
    -moz-text-shadow: 0px 0px 10px #fff;
    -o-text-shadow: 0px 0px 10px #fff;
    -ms-text-shadow: 0px 0px 10px #fff;
    text-shadow: 0px 0px 10px #fff;
}


.text-shadow-2 {
    -webkit-text-shadow: 0px 0px 10px #000;
    -moz-text-shadow: 0px 0px 10px #000;
    -o-text-shadow: 0px 0px 10px #000;
    -ms-text-shadow: 0px 0px 10px #000;
    text-shadow: 0px 0px 10px #000;
}

.box-shadow-1 {
    /*
    border-radius: 10px;
    border-top-left-radius: 0px;
    */
    box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.4);
}

.box-shadow-2 {
    border-top-left-radius: 60px 90px;
    border-bottom-right-radius: 60px 90px;
    box-shadow: 64px 64px 12px 40px rgba(0, 0, 0, 0.4),
    12px 12px 0px 8px rgba(0, 0, 0, 0.4) inset;
}


.arrow-up-2 {
    position: absolute;
    top: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;

    border-bottom: 10px solid #eee;
}

.arrow-up,
.arrow-up:after {
    position: absolute;
    top: -10px;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 10px;
}

.arrow-up:after {
    content: " ";
    margin-left: -10px;
    border-top-width: 0;
    border-bottom-color: #eee;
}


.arrow-down {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;

    border-top: 20px solid #f00;
}

.arrow-right {
    width: 0;
    height: 0;
    border-top: 60px solid transparent;
    border-bottom: 60px solid transparent;

    border-left: 60px solid green;
}

.arrow-left {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;

    border-right: 10px solid blue;
}

.th-dia,
.td-tecnic {
    width: 120px;
    text-indent: 10px;
}

.th-hora {
    width: auto;
}

.td-tecnic {
    position: relative;
    float: left;
    padding-top: 6px;
}

.td-assignacions-container {
    padding: 0px !important;
    height: 34px;
}

.td-assignacions-container-unit {
    position: relative;
    float: left;
    top: 0px;
    left: 0px;
    height: 34px;
}

.td-assignacions-container-unit.hover:hover {
    background: #eee;
}

.full-size {
    position: relative;
    float: left;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.full-height {
    height: 100%;
}

.btn-default-height {
    height: 34px;
}

.btn-group-optionsnav {
    margin-left: 5px;
    margin-right: 5px;
}

.btn-opt-nav {
    padding: 10px;
    cursor: hand;
}

.btn-opt-nav:hover {
    background-color: #e6e6e6;
    cursor: hand;
}


.no-padding {
    padding: 0px;
}

.no-margin {
    margin: 0px;
}

footer {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    padding: 20px;
    background-color: #fff;
    z-index: 99;
}

.btn-defalt-size {
    height: 34px !important;
}

.btn-legend-quadrants {
    text-align: left;
    border: 0px solid #fff;
    margin-top: 1px;
    cursor: default;
    padding: 5px;

}

.btn-legend-quadrants:hover {
    cursor: default;
}

.head-table-week-quadrants {
    position: relative;
    float: left;
    width: 100%;
    background-color: #123;
    color: #eee;
}

.head-table-week-quadrants > th {
    text-align: center;
}

.head-table-week-quadrants > th:first-child {
    text-align: left;
}

#table-list-clientes-all,
#table-list-clientes-reduced,
#table-list-clientes-today,
#table-list-comparativas-all,
#table-list-renovaciones-all {
    font-size: 12px;
}

.borderless tbody tr td, .borderless tbody tr th, .borderless thead tr th {
    border: none;
}

.border-red {
    border: 1px solid red;
}

#select-model-container,
#create-model-container {
    display: none;
}


.sidebar-master {
    margin: 0px;
    border-radius: 0px;
    background-color: #cde;
}

.register-form-container {
    position: relative;
    width: auto;
    min-height: 320px;
    left: 0px;
    right: 0px;
    margin: auto;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.no-border {
    border: 0px solid transparent;
}

.no-radius {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -o-border-radius: 0px;
    -ms-border-radius: 0px;
    border-radius: 0px;
}

.no-shadow {
    -webkit-box-shadow: 0px 0px 0px;
    -moz-box-shadow: 0px 0px 0px;
    -o-box-shadow: 0px 0px 0px;
    -ms-box-shadow: 0px 0px 0px;
    box-shadow: 0px 0px 0px;

    -webkit-text-shadow: 0px 0px 0px;
    -moz-text-shadow: 0px 0px 0px;
    -o-text-shadow: 0px 0px 0px;
    -ms-text-shadow: 0px 0px 0px;
    text-shadow: 0px 0px 0px;
}

.border-transparent {
    border: 1px solid transparent;
}

.no-background {
    background-color: transparent;
}

.btn-main-container {
    position: relative;
    float: left;
    margin: 0px;
    padding: 0px;
    width: 25%;
    height: 240px;
    border: 0px solid transparent;
    background-color: transparent;
    margin-bottom: 20px;
}

.btn-main-menu {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding: 0px;
    width: 80%;
    height: auto;
}


.btn-main-menu-content {
    position: relative;
    float: left;
    margin: 0px;
    padding-top: 30px;
    width: 100%;

    height: 0;
    padding-bottom: 75%;


    /* for responsive font size */
    /* we start with 8vh for very big resolution */
    /* but we flip it to 8vw with media screen max width 1680 */
    font-size: 10em;

    text-align: center;
    background-color: #1b7036;
    color: #fff;

    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;

    clear: both;
}

.btn-main-menu-content:hover {
    background-color: #92ba2e;
    color: #fff;
}

.btn-main-menu-footer {
    position: relative;
    float: left;
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 25px;
    padding-top: 2px;
    font-size: 14px;
    text-align: center;
}

.group-btn-top-menu {
    position: relative;
    float: left;
    width: 100%;
    height: auto;
    clear: both;
    font-size: 30px;
}

.logo-app {
    display: none;
}

.nav-main-top {
    position: relative;
    float: left;
    width: 100%;
    height: 80px;
    padding-top: 20px;
    padding-bottom: 10px;
}

.nav-main-top-rutas {
    position: relative;
    float: left;
    width: 100%;
    height: 60px;
    padding-top: 10px;
    padding-bottom: 20px;
    font-size: 14px;
    font-weight: bold;
    color: #123;
    clear: both;
}

.form-auth-register {
    position: relative;
    width: 100%;
}


#feedback {
    font-size: 1.4em;
}

.ui-selecting {
    background: rgba(0, 0, 0, 0.2);
}

/* { background: #FECA40; } */
.ui-selected {
    background: rgba(0, 0, 0, 0.4);
}

/* { background: #F39814; color: white; } */
/* #selectable { list-style-type: none; margin: 0; padding: 0; width: 60%; } */
/* #selectable td { margin: 3px; padding: 0.4em; font-size: 1.4em; height: 18px; } */
.ui-selectable-helper {
    border-color: transparent !important;
}

.horizontal-line {
    width: 100%;
    height: 1px;
}

.vertical-line {
    width: 1px;
    height: 100%;
}

/* assignacions */
.block {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 5px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);;
    opacity: 0.2;
    z-index: 5;
}

.ui-datepicker {
    border-collapse: collapse;
    width: 100%;
    font-size: 10px;
}

.ui-datepicker,
.ui-datepicker-header {
    border: 0px solid transparent;
}

.week-picker {
    margin-bottom: 20px;
}


/* calendari academic */

.calendari-pdf {
    position: absolute;
    height: 1280px;
    margin-bottom: 60px;
    border: 0px;
}

/* fin calendari academic */


/* bootstrap custom */
/*
.new-assignacio-fixed + .tooltip > .tooltip-inner {background-color: #123;}
.new-assignacio-fixed + .tooltip > .tooltip-arrow { border-bottom-color: #123; }
*/

.edit-modal-opt {
    position: relative;
    float: left;
    width: 120px;
}

.tooltip > .tooltip-inner {
    background-color: #123;
}

.tooltip > .tooltip-arrow {
    border-bottom-color: #123;
}

/* loader */

.loader-container {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 99999998;
    background-color: rgba(255, 255, 255, 0.6);
}

.box-container {
    position: absolute;
    top: 120px;
    left: 0px;
    right: 0px;
    margin: auto;
    width: 100px;
    height: 100px;
    font-size: 50px;
    z-index: 99999999;
}

.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }
    to {
        transform: scale(1) rotate(360deg);
    }
}


/* fin bootstrap custom */


/* timepicker */

.ui-timepicker-wrapper {
    overflow-y: auto;
    height: 150px;
    width: 6.5em;
    background: #fff;
    border: 1px solid #ddd;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    outline: none;
    z-index: 10001;
    margin: 0;
}

.ui-timepicker-wrapper.ui-timepicker-with-duration {
    width: 13em;
}

.ui-timepicker-wrapper.ui-timepicker-with-duration.ui-timepicker-step-30,
.ui-timepicker-wrapper.ui-timepicker-with-duration.ui-timepicker-step-60 {
    width: 11em;
}

.ui-timepicker-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ui-timepicker-duration {
    margin-left: 5px;
    color: #888;
}

.ui-timepicker-list:hover .ui-timepicker-duration {
    color: #888;
}

.ui-timepicker-list li {
    padding: 3px 0 3px 5px;
    cursor: pointer;
    white-space: nowrap;
    color: #000;
    list-style: none;
    margin: 0;
}

.ui-timepicker-list:hover .ui-timepicker-selected {
    background: #fff;
    color: #000;
}

li.ui-timepicker-selected,
.ui-timepicker-list li:hover,
.ui-timepicker-list .ui-timepicker-selected:hover {
    background: #1980EC;
    color: #fff;
}

li.ui-timepicker-selected .ui-timepicker-duration,
.ui-timepicker-list li:hover .ui-timepicker-duration {
    color: #ccc;
}

.ui-timepicker-list li.ui-timepicker-disabled,
.ui-timepicker-list li.ui-timepicker-disabled:hover,
.ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled {
    color: #888;
    cursor: default;
}

.ui-timepicker-list li.ui-timepicker-disabled:hover,
.ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled {
    background: #f2f2f2;
}

/* fin timepicker */

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.label-form {
    font-size: 12px;
    padding-top: 15px;
    color: #333333;
}

.form-register-new-group .form-control,
.form-register-new-customer .form-control {
    font-size: 12px;
    margin-top: 5px;
}
.form-register-new-group .input-group .form-control,
.form-register-new-customer .input-group .form-control {
    margin-top: 0px;
}
.form-register-new-group .input-group,
.form-register-new-customer .input-group {
    margin-top: 5px;
}

.info-campos-obligatorios {
    position: relative;
    float: left;
    padding: 5px;
    font-size: 12px;
    border-left: 5px solid #e74c3c;
    color: #aaa;
}

.img-user-profile,
.img-user-profile-user {
    font-size: 180px;
}

.img-user-profile-user {
    color: #2ecc71;
}

.top-main-header {
    position: relative;
    float: left;
    width: 100%;
    height: 80px;
    background-color: #f6a63d;
    display: none;
}

.container-body-panel-ficha-cliente {
    padding: 40px;
    margin-top: -1px !important;
    overflow-y: auto;
}

#ficha-cliente-mensaje-container,
#ficha-cliente-citas-container,
#ficha-cliente-invoices-container {
    padding-right: 15px;
    width: auto;
    max-height: 250px;
    overflow-y: auto;

}

#ficha-cliente-mensaje-container li,
#ficha-cliente-citas-container li,
#ficha-cliente-invoices-container li {
    border-bottom: 1px solid #e7e7e7;
    margin-top: 10px;
    padding-bottom: 10px;
}

.list-group-item.lista-comentarios,
.list-group-item.lista-citas,
.list-group-item.lista-invoices {
    padding-right: 0;
    padding-bottom: 0;
}

#addCommentCliente,
#addCitaCliente {
    margin-bottom: 20px;
    padding-right: 15px;
}

#modelCitas-error {
    font-size: 12px;
    color: #e20c20;
}

.img-main-logo-top {
    height: 54px;
    padding-bottom: 10px;
}

.img-main-logo-login-form {
    padding: 20px;
    width: 100%;
}

.btn-primary {
    color: #ffffff;
    background-color: #1b7036;
    border-color: #1b7036;
}

.btn-primary:hover {
    color: #ffffff;
    background-color: #92ba2e;
    border-color: #92ba2e;
}

.alert-nuevo-cliente-form {
    background-color: #92ba2e;
    color: #fff;
    font-weight: bold;
}

.div-table-img-container-ficha-cliente {
    margin-top: 20px;
}

.margin-top-5 {
    margin-top: 5px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-15 {
    margin-top: 15px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-bottom-5 {
    margin-bottom: 5px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-bottom-15 {
    margin-bottom: 15px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.margin-bottom-40 {
    margin-bottom: 40px;
}

.margin-bottom-50 {
    margin-bottom: 50px;
}

.margin-left-5 {
    margin-left: 5px;
}

.margin-left-10 {
    margin-left: 10px;
}

.margin-left-15 {
    margin-left: 15px;
}

.margin-left-20 {
    margin-left: 20px;
}

.margin-right-5 {
    margin-right: 5px;
}

.margin-right-10 {
    margin-right: 10px;
}

.margin-right-15 {
    margin-right: 15px;
}

.margin-right-20 {
    margin-right: 20px;
}

.checkbox-ver-password {
    position: relative;
    float: left;
}

.label-checkbox-ver-password {
    position: relative;
    float: left;
    margin-left: 5px;
}

.btn-menu-ficha-cliente {
    cursor: pointer;
}

.row-user-td-opts {
    min-width: 135px;
}

.row-user-td[tipo=role-id] {
    /* min-width: 240px; */
}

.tr-precios-energia-body:hover {
    background-color: #bdc3c7 !important;
}

.ui-datepicker {
    width: 300px;
}

.documentacion-label-btn {
    position: relative;
    top: 8px;
}

.documentacion-label-li:hover {
    background-color: #eee;
}

.alert-label-quality-calls {
    margin-bottom: 0px;
    margin-top: 20px;
    padding-left: 0px;
}

/* *********************** resposnive ************************ */


@media (max-width: 1680px) {
    /* .btn-main-menu-content { font-size: 8vw; } */
}


@media (max-width: 1300px) {
    .btn-main-menu-content {
        font-size: 10vw;
    }
}


@media (max-width: 1200px) {
    .btn-main-container {
        height: 205px;
    }
}

@media (max-width: 1150px) {
    .container.fill {
        width: 100%;
    }
}

@media (max-width: 650px) {
    #title-app {
        display: none;
    }

    .logo-app {
        display: inline;
        width: 80px;
        height: 60px;
        font-size: 100%;
    }

    .group-btn-top-menu {
        position: relative;
        float: left;
        width: 100%;
        height: 50px;
        clear: both;
        margin-bottom: 20px;
    }

    .btn-main-menu-footer {
        font-size: 10px;
    }

    .btn-main-container {
        height: 130px;
    }

    .nav-main-top {
        padding: 0px;
        padding-top: 20px;
        padding-left: 10px;
    }


    /*.form-auth-register { width: 280px; }*/
    .form-auth-register {
        margin: auto;
    }

    .register-form-container {
        width: 90%;
    }

}


@media (max-width: 425px) {
    .btn-main-menu-content {
        padding-top: 15px;
    }

    .btn-main-container {
        height: 100px;
    }

    #title-app {
        display: none;
    }

    .logo-app {
        display: inline;
    }
}


@media (max-width: 330px) {
    .logo-app {
        display: inline;
        width: 80px;
        height: 100%;
        font-size: 100%;
    }

    .btn-main-container {
        height: 80px
    }


}


@media (max-width: 305px) {
    .btn-main-container {
        width: 50%;
        height: 120px;
    }

    .btn-main-menu-content {
        font-size: 18vw;
    }

    .group-btn-top-menu {
        font-size: 24px;
    }

    .logo-app {
        width: 60px;
    }

    .nav-main-top {
        margin-bottom: 10px;
    }
}


@media (max-width: 270px) {
    .logo-app {
        display: none;
    }

    .btn-top-menu {
        width: 25%;
    }
}

/* ********************* fin resposnive ********************** */

#buscadorSmartSuggest-suggestions li.ss-result p span.ss-result-title {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 11px;
    font-weight: bold;
    color: #222;
}

#buscadorSmartSuggest-suggestions li.ss-result a p {
    padding: 0;
}

#buscadorSmartSuggest-suggestions li.ss-result a p span.type {
    width: 12px;
    height: 40px;
    float: left;
    margin-right: 5px;
    border-radius: 5px;
}

#buscadorSmartSuggest-suggestions li.ss-result a.normal p span.type {
    background: #1b7036;
}

#buscadorSmartSuggest-suggestions li.ss-result a.other p span.type {
    background: #a161ad;
}


ul.comments-list,
ul.citas-list {
    list-style: none;
    padding: 0;
}

#ficha-cliente-mensaje-container li p,
#ficha-cliente-citas-container li p,
#ficha-cliente-invoices-container li p {
    margin: 0 !important;
}

#addCommentCliente textarea,
#modalRechazado textarea {
    width: 100%;
    border-radius: 5px;
    margin: 30px 0 15px;
    overflow-x: hidden;
}

#addCommentCliente button {
    background-color: #337ab7;
    border-color: #2e6da4;
    color: white;
}

.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
    background-color: rgba(163, 165, 168, 0.5);
    border-color: rgba(163, 165, 168, 0.5);
    font-weight: 700;
    text-shadow: 1px 1px #a3a5a8;
}

.list-group-item.active.user, .list-group-item.active.user:hover, .list-group-item.active.user:focus {
    background-color: rgba(146, 186, 46, 0.5);
    border-color: rgba(146, 186, 46, 0.5);
    font-weight: 700;
    text-shadow: 1px 1px #cbec77;
}

#resultSips .detalles-contrato {
    background: #eee;
    border-radius: 7px;
    padding: 20px 15px;
    margin-bottom: 30px;
}

#resultSips .detalles-contrato p span {
    color: gray;
}

#resultSips .detalles-contrato .cups {
    margin-bottom: 25px;
}

#comisiones-fijo table thead th { position: sticky; top: 0; }

table.tabla-consumos tbody tr.impar {
    background-color: rgba(146, 186, 46, 0.3);
}

table.tabla-consumos tbody tr.par {
    background-color: rgba(57, 147, 204, 0.3);
}

.sub-container-body-panel-ficha-cliente[content="sips-charts"] {
    position: relative;
    min-height: 1250px;
}

.sub-container-body-panel-ficha-cliente[content="sips"] {
    position: relative;
    min-height: 2250px;
}

table#table-consumos-sips.dataTable thead th, table#table-consumos-sips.dataTable thead td {
    padding: 10px 9px;
}

.user-container-generar-contrato ul {
    list-style: none;
    overflow-y: auto;
    border: 1px solid #dddddd;
    border-radius: 4px;
    padding: 0;
    height: 50%;
}

.user-container-generar-contrato ul li {
    padding: 6px 25px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.user-container-generar-contrato ul li:hover {
    background: rgba(57, 147, 204, 0.1);
}

.user-container-generar-contrato ul li.active {
    background: rgba(57, 147, 204, 0.5);
    color: #fff;
}

button.dt-button:hover:not(.disabled), div.dt-button:hover:not(.disabled), a.dt-button:hover:not(.disabled) {
    color: #333333;
    background-color: #d4d4d4;
    border-color: #8c8c8c;
    outline: 0;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.1);
}

button.dt-button, div.dt-button, a.dt-button {
    color: #333333;
    background-color: #ffffff;
    border-color: #cccccc;
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    white-space: nowrap;
    padding: 4px 8px;
    font-size: 10px;
    line-height: 1.42857143;
    border-radius: 0px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-bottom: 5px;
}

.gestion-0 {
    border-left: 10px solid #e74c3c;
}

.gestion-1,
.gestion-6 {
    border-left: 10px solid #2ecc71;
}

.gestion-2 {
    border-left: 10px solid #fcf69a;
}

.gestion-3,
.gestion-7,
.gestion-8 {
    border-left: 10px solid #fcf376;
}

.gestion-4 {
    border-left: 10px solid #e71900;
}

.gestion-5,
.gestion-11 {
    border-left: 10px solid #e71900;
}

.gestion-9 {
    border-left: 10px solid #e67e22;
}

.gestion-10 {
    border-left: 10px solid #3498db;
}


.label-estado-0 {
    background: #e74c3c;
}

.label-estado-1,
.label-estado-6 {
    background: #2ecc71;
}

.label-estado-2 {
    background: #fcf69a;
}

.label-estado-3,
.label-estado-7,
.label-estado-8 {
    background: #fcf376;
}

.label-estado-4 {
    background: #e71900;
}

.label-estado-5,
.label-estado-11 {
    background: #e71900;
}

.label-estado-9 {
    background: #e67e22;
}

.label-estado-10 {
    background: #3498db;
}

.label-estado-opacity-0 {
    background: rgba(231, 76, 60, 0.5);
}

.label-estado-opacity-1,
.label-estado-opacity-6 {
    background: rgba(46, 204, 113, 0.5);
}

.label-estado-opacity-2 {
    background: rgba(252, 246, 154, 0.5);
}

.label-estado-opacity-3,
.label-estado-opacity-7,
.label-estado-opacity-8 {
    background: rgba(252, 243, 118, 0.5);
}

.label-estado-opacity-4 {
    background: rgba(231, 25, 0, 0.5);
}

.label-estado-opacity-5,
.label-estado-opacity-11 {
    background: rgba(231, 25, 0, 0.5);
}

.label-estado-opacity-9 {
    background: rgba(230, 126, 34, 0.5);
}

.label-estado-opacity-10 {
    background: rgba(52, 152, 219, 0.5);
}

.filtros-estados .btn.active {
    border: 2px solid #000000;
}

.download-todos-los-clientes-btn-container,
.download-todos-mis-clientes-btn-container {
    position: relative;
    float: right;
    margin-bottom: 7px;
    margin-top: 3px;
    margin-right: 15px;
}

.tr-plan-maestro:hover {
    background-color: #aaa !important;
}

.desactivado {
    background: #e74c3c;
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
}

.sub-container-body-panel-ficha-cliente[content="quality-call"] .question {
    border-bottom: 1px solid #eee;
    padding-top: 17px;
}

.sub-container-body-panel-ficha-cliente[content="quality-call"] .form-check-label input[type="checkbox"] {
    height: 20px;
    width: 20px;
}

.sub-container-body-panel-ficha-cliente[content="quality-call"] .form-check-label span {
    font-size: 17px;
}

.question-row:hover {
    background-color: #e7e7e7
}

.question .col-xs-1, .question .col-sm-1, .question .col-ms-1, .question .col-lg-1,
.question .col-xs-2, .question .col-sm-2, .question .col-ms-2, .question .col-lg-2,
.question .col-xs-3, .question .col-sm-3, .question .col-ms-3, .question .col-lg-3,
.question .col-xs-4, .question .col-sm-4, .question .col-ms-4, .question .col-lg-4,
.question .col-xs-5, .question .col-sm-5, .question .col-ms-5, .question .col-lg-5,
.question .col-xs-6, .question .col-sm-6, .question .col-ms-6, .question .col-lg-6,
.question .col-xs-7, .question .col-sm-7, .question .col-ms-7, .question .col-lg-7,
.question .col-xs-8, .question .col-sm-8, .question .col-ms-8, .question .col-lg-8,
.question .col-xs-9, .question .col-sm-9, .question .col-ms-9, .question .col-lg-9,
.question .col-xs-10, .question .col-sm-10, .question .col-ms-10, .question .col-lg-10,
.question .col-xs-11, .question .col-sm-11, .question .col-ms-11, .question .col-lg-11,
.question .col-xs-12, .question .col-sm-12, .question .col-ms-12, .question .col-lg-12 {
    padding: 0 !important;
}

.form-check-input-qc {
    width: 24px;
    height: 24px;
}

.form-check-label span,
.form-check-label input {
    vertical-align: middle;
}


.notifaciones-generales {
    position: relative;
}

.notifaciones-generales span {
    font-size: 10px;
    background: red;
    border-radius: 100px;
    height: 15px;
    width: 15px;
    position: absolute;
    color: #fff;
    padding-top: 2px;
}

.list-notificationes {
    padding-left: 0;
}

.list-notificationes li {
    list-style: none;
    padding: 10px;
    border-bottom: 1px solid #eee;
}


.flex-parent {
    display: -ms-flex;
    display: -webkit-flex;
    display: flex;
}

.flex-child {
    display: -ms-flex;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

/******** GRUPOS *********/
#table-list-grupos-all {
    font-size: 14px;
}

#out-group, #in-group {
    font-size: 20px;
}

.all-users ul, .user-group ul {
    list-style: none;
    height: 405px;
    overflow-y: auto;
    border: 1px solid #dddddd;
    border-radius: 4px;
    padding: 0;
}

.all-users ul li, .user-group ul li {
    padding: 6px 25px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.all-users ul li:hover, .user-group ul li:hover {
    background: rgba(57, 147, 204, 0.1);
}

.all-users ul li.active, .user-group ul li.active {
    background: rgba(57, 147, 204, 0.5);
    color: #fff;
}

.tr-cliente-row:hover {
    background-color: #eee;
}

/***** CLIENTE *****/
#proveedor-existente-container .btn,
#fecha-activacion-container .btn {
    background: white;
    border: solid 1px #dddddd;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 4px;
}

#modalProveedores ul {
    list-style: none;
    height: 300px;
    overflow-y: auto;
    border: 1px solid #dddddd;
    border-radius: 4px;
    padding: 0;
}

#modalProveedores ul li {
    padding: 6px 25px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

#modalProveedores ul li:hover {
    background: rgba(57, 147, 204, 0.1);
}

#modalProveedores ul li.active {
    background: rgba(57, 147, 204, 0.5);
    color: #fff;
}

.acciones-clientes {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333333;
    white-space: nowrap;
    cursor: pointer;
}

.acciones-clientes:hover,
.acciones-clientes:focus {
    text-decoration: none;
    color: #262626;
    background-color: #f5f5f5;
}

#accion-eliminar-cliente:hover {
    background: rgba(255, 0, 0, 0.7);
    color: white;
}

#accion-eliminar-cliente:hover i {
    color: white;
}


.color-estadisticas-blue {
    color: #39a1cc;
}

.color-estadisticas-green {
    color: #39cc70;
}

.color-estadisticas-red {
    color: #e74c3c;
}

/****** Buscador cliente ******/
#btn-filtros {
    cursor: pointer;
}

/******************************/
/******************************/
/******************************/

@media (max-width: 1024px) {
    .dataTables_wrapper {
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .btn-top-menu {
        margin-left: 0 !important;
    }

    .jumbotron {
        padding: 20px !important;
    }

    /* admin/asignar-usuarios */
    #asingar-id-usuario {
        padding-top: 10px
    }

    /* admin/notificaciones */
    #notificaciones-cancelar-btn {
        margin-bottom: 10px
    }
}

@media (max-width: 425px) {
    .nav.nav-main-top {
        height: 120px;
    }

    .btn-top-menu {
        margin-top: 8px;
    }

    .nav-content {
        height: 100px
    }

    .nav-content > .group-btn-top-menu {
        height: 100%
    }

    #nav-buscador {
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        bottom: 0;
    }

    #nav-buttons {
        position: absolute;
        right: 0;
        width: 100%;
    }

    .nav.nav-main-top-rutas {
        padding-top: 15px
    }


    /* clientes/mis-clientes */
    .download-todos-mis-clientes-btn-container {
        margin-top: 5px;
        margin-right: 0px;
    }

    /* clientes/todos-los-clientes */
    .download-todos-los-clientes-btn-container {
        margin-top: 5px
    }

    /* admin/grupos/nuevo-grupo */
    .all-users ul li, .user-group ul li {
        padding: 6px 10px;
        font-size: 12px
    }

    #out-group .btn, #in-group .btn {
        padding: 24%
    }

    /* clientes/descargar-ficheros */
    .downlad-text {
        display: none;
    }

    /* admin/comisiones/estadisticas-comisiones */
    #container-estadisticas-comisiones, #container-plan-maestro-comisiones {
        margin-top: 30px;
    }

    /* distribuidora/registrar-distribuidora */
    #table-contratos-subidos-distribuidoras .modificar-pwd {
        margin-top: 5px
    }

    /* mi-cuenta */
    .container-body-panel-ficha-cliente {
        padding-left: 10px;
        padding-right: 10px;
        overflow-y: auto
    }

    #ficha-labels {
        width: 25%;
        float: left;
    }

    #ficha-labels li {
        width: 101%;
    }

    #ficha-labels a {
        padding: 10px 5px 10px 5px;
        margin: 0;
        border-color: #dddddd;
        border-right-color: transparent;
    }

    #ficha-panels {
        width: 75%;
        float: left;
    }
}


@media (max-width: 375px) {
    #ver-grupos-precio-btn {
        margin-top: 25px
    }

    #container-distribuidoras {
        margin-top: 25px
    }
}

@media (max-width: 360px) {
    .btn-top-menu {
        padding: 7px;
    }
}

@media (max-width: 320px) {
    .btn-top-menu {
        padding: 5px;
    }
}


.w-100 {
    width: 100%
}


.calendar-event {
    margin-bottom: 5px;
}

#modelCitas-datepiker1 > .datepicker-inline {
    margin: auto;
    width: auto !important;
    display: table;
}

#modelCitas-datepiker1 .datepicker--time-current {
    display: block;
}

#modelCitas-datepiker1 .datepicker--time-sliders {
    margin: auto;
}

.display-none {
    display: none;
}

.table-center th,
.table-center td {
    text-align: center;
    vertical-align: middle
}


.table-resumen-factura th {
    border-bottom: 2px solid #73adca !important;
}


.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.text-size-16 {
    font-size: 16px;
}


/* The container */
.myradio-container,
.mycheckbox-container {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #333;
    font-weight: normal;
}

/* Hide the browser's default radio button */
.myradio-container input,
.mycheckbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom radio button */
.myradio-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: solid 1px #333;
    border-radius: 50%;
}

.mycheckbox-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: solid 1px #333;
    border-radius: 4px;
}


/* On mouse-over, add a grey background color */
.myradio-container:hover input ~ .myradio-checkmark,
.mycheckbox-container:hover input ~ .mycheckbox-checkmark {
    background-color: #eaf3d9;
}

/* When the radio button is checked, add a blue background */
.myradio-container input:checked ~ .myradio-checkmark,
.mycheckbox-container input:checked ~ .mycheckbox-checkmark {
    background-color: #eaf3d9;
}


/* Create the indicator (the dot/circle - hidden when not checked) */
.myradio-checkmark:after,
.mycheckbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.myradio-container input:checked ~ .myradio-checkmark:after,
.mycheckbox-container input:checked ~ .mycheckbox-checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.myradio-container .myradio-checkmark:after {
    top: 4px;
    left: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mycheckbox-container .mycheckbox-checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.myradio-container .myradio-checkmark:after {
    background: #1b7036;
}

.mycheckbox-container .mycheckbox-checkmark:after {
    border-color: #1b7036;
}

.table-resumen-factura th {
    border-bottom: 2px solid #73adca !important;
}

.container-descargar-ficheros-gas {
    display: none;
}

div#fecha-activacion-container > button.modalEditFecha:hover {
    text-decoration: none;
}

div#fecha-activacion-container > button.modalEditFecha:focus {
    text-decoration: none;
    outline: none;
}

div#fecha-activacion-container > button.modalEditFecha {
    border: none;
    border-radius: 0px;
    padding: 0px;
    width: auto;
    margin-top: 7px;
    color: #000;
    cursor: text;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    vertical-align: middle;
}



/*
    DEMO STYLE
*/

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}





/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}







/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
}
/*
 * MENU TOOGLE hAMBURGUER
 */
#sidebar{
    padding-top: 50px;
}

#sidebarheader input[type=checkbox] {
    transition: all 0.3s;
    box-sizing: border-box;
    display: none;
}
#sidebarheader .sidebarIconToggle {
    transition: all 0.3s;
    box-sizing: border-box;
    cursor: pointer;
    position: absolute;
    z-index: 99;
    height: 100%;
    width: 100%;
    top: 10px;
    left: 10px;
    height: 22px;
    width: 22px;
}
#sidebarheader .spinner {
    transition: all 0.3s;
    box-sizing: border-box;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #000;
}
#sidebarheader .horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 3px;
}
#sidebarheader .diagonal.part-1 {
    position: relative;
    transition: all 0.3s;
    box-sizing: border-box;
    float: left;
}
#sidebarheader .diagonal.part-2 {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 3px;
}
#sidebar.active .sidebarIconToggle > .horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    opacity: 0;
}
#sidebar.active .sidebarIconToggle > .diagonal.part-1 {
    transition: all 0.3s;
    box-sizing: border-box;
    transform: rotate(135deg);
    margin-top: 8px;
}
#sidebar.active .sidebarIconToggle > .diagonal.part-2 {
    transition: all 0.3s;
    box-sizing: border-box;
    transform: rotate(-135deg);
    margin-top: -9px;
}
#sidebar.active .spinner {
    background-color: white;
}
#sidebar .submenu{
    padding-left: 25px;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #1b7036;
    color: #fff;
    transition: all 0.3s;
}

#sidebar a,
#sidebar a:hover,
#sidebar a:focus {
    color: inherit;
}

#sidebar{
    margin-left: -250px;
}
#sidebar.active {
    margin-left: 0px;
}


#sidebar .sidebar-header {
    padding: 20px;
    background: #1b7036;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #ffffff;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a:hover {
    color: #1b7036;
    background: #fff;
}

#sidebar ul li > a,
a[aria-expanded="true"] {
    color: #fff;
}

#sidebar a[data-toggle="collapse"] {
    position: relative;
}

#sidebar a[aria-expanded="false"]::before,
#sidebar a[aria-expanded="true"]::before {
    content: '\e259';
    display: block;
    position: absolute;
    right: 20px;
    font-family: 'Glyphicons Halflings';
    font-size: 0.6em;
    top: 15px;
}

#sidebar a[aria-expanded="true"]::before {
    content: '\e260';
}

#sidebar ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
}

#sidebar ul.CTAs {
    padding: 20px;
}

#sidebar ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

#sidebar a.download {
    background: #fff;
    color: #1b7036;
}

#sidebar a.article,
#sidebar a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}


.form-comisionv2 select{
    min-width: 100px;
}


.tagify{
    width: 100%;
    /* Add These: */
    overflow: auto;
    flex-wrap: unset;
}
/*.tagify__tag-text, .tagify__input {*/
/*    white-space: nowrap !important;*/
/*}*/
/*.tagify--mix .tagify__input, .tagify--mix .tagify__input div{*/
/*    display: inline-flex!important;*/
/*    vertical-align: middle!important;*/
/*    align-items: center!important;*/
/*}*/
.tagify--mix .tagify__input{
    display: inline-block;
}
.tagify__tag-text, .tagify__input {
    white-space: nowrap !important;
}
.tagify{
    width: 100%;
}
.tagify__tag{
    vertical-align: middle;
}
.tagify__input .tagify__tag {
    margin: 0 2px;
}