/* here you can put your own css to customize and override the theme */


/**
 * HELPERS
 */
.ocult{
    display: none;
}

.p{
    clear: both;
}


/**
 * LOGIN
 */

.login .content .form-actions{
    border-bottom: 0;
}

.login-logo {
    margin-inline: auto;
}


/**
 * PAGE HEADER
 */

.page-header.navbar .page-logo .logo-default{
    height: 15px;
    width: auto;
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown-project{
    padding-top: 17px;
    padding-left: 8px;
    padding-right: 20px;
    font-size: 11px;
    text-align: center;
    color: #c5c5c5;
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown-project a{
    padding: 0;
    background-color: transparent;
    color: #c5c5c5;
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown-project a:hover,
.page-header.navbar .top-menu .navbar-nav>li.dropdown-project a:active,
.page-header.navbar .top-menu .navbar-nav>li.dropdown-project a:focus{
    color: #FFFFFF;
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown-comments a{
    padding-right: 10px!important;
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown-users .dropdown-menu .dropdown-menu-list>li>a{
    color: inherit;
}


/**
 * PAGE TITLE
 */

.page-content-white .page-title{
    margin-top: 0;
    line-height: 31px;
    font-size: 28px;
    padding-bottom: 10px;    
}

.page-content-white .page-title .btn{
    margin-left: 20px;
}

.page-content-white .page-bar {
    margin-bottom: 20px;
    /*    padding-bottom: 10px;*/
}

.page-bar > .post-pagination {
    margin-bottom: 0;
}

.page-bar .page-toolbar{
    display: block;
    float: none;
}

.page-bar .page-toolbar .btn-group{
    margin-bottom: 10px;
}

.page-bar .page-toolbar .pull-right{
    text-align: right;
}

.page-bar .page-toolbar .filters{
    display: inline-block;
    margin-top: -6px;
    margin-bottom: 10px;
    padding: 6px;
    background-color: #F2F2F2;
    vertical-align: middle;
}

.page-bar .page-toolbar .filters + .filters{
    margin-left: 20px;
}

.page-bar .page-toolbar .filters ul{
    margin: 0;
    padding: 0;
}

.page-bar .page-toolbar .filters ul li{
    display: inline-block;
    height: 30px;
    vertical-align: middle;
}

.page-bar .page-toolbar .filters ul li:before{
    display: inline-block;
    height: 30px;
    border-left: 1px solid transparent;
    vertical-align: middle;
    content: "";
}

.page-bar .page-toolbar .filters ul li a{
    margin: 0;
    height: 30px;
    color: inherit;
}

.page-bar .page-toolbar .filters ul li.active a{
    font-weight: 700;
}

.page-bar .page-toolbar .filters ul li + li:before{
    margin-left: 6px;
    margin-right: 8px;
    border-left: 1px solid #CCCCCC;
}

.page-bar .page-toolbar .filters ul li .count{
    font-size: .8em;
    font-weight: 400;
    color: #666666;
}

.page-bar .page-toolbar .form-inline{
    display: inline-block;
}

.page-bar .page-toolbar .form-inline + .form-inline{
    margin-left: 10px;
}

@media( max-width: 767px ){

    .page-content-white .page-title{
        font-size: 22px !important;
        line-height: 24px;
    }

    .page-bar .page-toolbar .pull-left,
    .page-bar .page-toolbar .pull-right{
        float: none!important;
    }

    .page-bar .page-toolbar .filters{
        display: block;
        margin-left: 0!important;
        margin-top: 6px;
    }

    .page-bar .page-toolbar .filters .form-inline{
        margin-bottom: 6px;
    }

    .page-bar .page-toolbar .form-inline .form-group{
        margin-bottom: 0;
    }

    .page-bar .page-toolbar .form-inline .form-control{
        display: inline-block;
        width: auto;
        vertical-align: middle;
    }

}



/**
 * TABLES
 */

.post-list a:not(.btn){
    color: inherit;
}

.post-list .entry-meta{
    color: #666666;
    font-size: 85%;
}

.post-list .entry-summary{
    display: none;
    margin-top: 6px;
    font-style: italic;
    font-size: 85%;
}

.post-list .table-sort-by{
    color: #999999;
}

.post-list .table-sort-by.active{
    color: #333333;
}

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

@media( min-width: 992px ){
    .table>thead {
        position: sticky;
        top: 50px;
        z-index: 10;
    }
}

.table>tbody>tr:hover>td,
.table>tbody>tr:hover>th{
    background-color: #f5f5f5;
}

.table>tbody>tr.warning:hover>td,
.table>tbody>tr.warning:hover>th,
.table>tbody>tr:hover>td.warning,
.table>tbody>tr:hover>th.warning{
    background-color: #EFDA87;
}

.table>tbody>tr.danger:hover>td,
.table>tbody>tr.danger:hover>th,
.table>tbody>tr:hover>td.danger,
.table>tbody>tr:hover>th.danger{
    background-color: #F1D7D9;
}

.table>tbody>tr.info:hover>td,
.table>tbody>tr.info:hover>th,
.table>tbody>tr:hover>td.info,
.table>tbody>tr:hover>th.info{
    background-color: #D6E1EF;
}

.table>tbody>tr.success:hover>td,
.table>tbody>tr.success:hover>th,
.table>tbody>tr:hover>td.success,
.table>tbody>tr:hover>th.success{
    background-color: #A1DDE3;
}

.table>tbody>tr.drag>td,
.table>tbody>tr.drag>th{
    border-top: 2px solid #999999;
    border-bottom: 2px solid #999999;
}

/*.post-list>tbody>tr>td.column-hide,
.post-list>tbody>tr>td.column-expandable{
    max-width: 80px;
}*/

.post-list>tbody>tr>td.column-expandable{
    display: table-cell;
}

@media( min-width: 768px ){
    .post-list>tbody>tr>td.column-expandable{
        display: table-cell!important;
    }
}

.post-list>tbody>tr>td.column-actions{
    min-width: 128px;
}

.post-list .column-action-main .btn{
    /*    color: #FFFFFF;*/
}

.post-list .small{
    font-size: 85%;
}

.post-list .post-action{
    color: #666666;
    transition: color .3s;
    font-size: 17px;
}

.post-list .post-action:hover {
/*    color: black;*/
    color: #337ab7;
}

.post-list .post-action.post-action-delete:active,
.post-list .post-action.post-action-delete:hover,
.post-list .post-action.post-action-delete:focus{
    color: red;
}

.post-list .post-action.post-action-reorder{
    cursor: row-resize;
}

.post-list>tbody>tr>td .post-action-expand{
    display: none;
}

.post-pagination{
    padding-top: 10px;
    border-top: 1px solid #e7ecf1;
}

.post-pagination-top{
    padding-top: 0;
    padding-bottom: 10px;
    border-top: none;
}

.post-pagination .small{
    margin-top: -5px;
    margin-bottom: 10px;
}

@media( max-width: 767px ){

    .post-list>thead>tr>th.column-main{
        width: 100%;
    }

    .post-list>tbody>tr{
        display: block;
        position: relative;
        border-top: 1px solid #e7ecf1;
    }

    .post-list>tbody>tr>td{
        display: block;
        border-top: 0;
        /*        padding-right: 25px;*/
    }

    .post-list>thead>tr>th.column-hide,
    .post-list>tbody>tr>td.column-hide{
        display: none;
    }

    .post-list>thead>tr>th .table-sort-by{
        display: none;
    }

    .post-list>tbody>tr>td.column-hide,
    .post-list>tbody>tr>td.column-expandable{
        max-width: none;
    }

    .post-list>tbody>tr>td.column-expandable{
        display: none;
        padding-bottom: 0;
        font-size: 85%!important;
        text-align: left!important;
    }

    .post-list>tbody>tr>td.column-expandable::before{
        font-weight: bold;
        content: attr(data-column);
    }

    .post-list>tbody>tr>td.column-expandable br{
        display: none;
    }

    .post-list>tbody>tr>td.column-actions{
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .post-list>tbody>tr>td .post-action-expand{
        position: absolute;
        top: 10px;
        right: 5px;
        display: block;
        font-size: 1.5em;
        cursor: pointer;
        transform: rotate(0deg);
        transition: transform .3s;
    }

    .post-list>tbody>tr.is-expanded>td .post-action-expand{
        transform: rotate(180deg);
    }

    .post-list .post-action{
        font-size: 18px;
    }

    .post-list .post-action.post-action-reorder{
        float: right;
    }

    .post-pagination .pull-left,
    .post-pagination .pull-right{
        float: none!important;
        clear: left;
        display: block;
        margin-bottom: 5px;
    }

}

@media( min-width: 768px ) and ( max-width: 1024px ){

    .post-list-container{
        overflow-x: auto;
    }

    .post-list-container .post-list>tbody>tr>td,
    .post-list-container .post-list>tbody>tr>th,
    .post-list-container .post-list>thead>tr>td,
    .post-list-container .post-list>thead>tr>th,
    .post-list-container .post-list>tfoot>tr>td,
    .post-list-container .post-list>tfoot>tr>th{
        white-space: nowrap;
    }

}

@media( min-width: 768px ){
    .post-list>tbody>tr.is-expanded>td.column-expandable{
        display: table-cell!important;
    }

    .post-list>thead>tr>th.column-main{
        min-width: 50%;
    }

    .post-list>thead>tr>th.column-date{
        min-width: 100px;
    }
}

@media( min-width: 1200px ){
    .post-list>thead>tr>th.column-date{
        min-width: 190px;
    }
    
    .post-list .post-action {
        font-size: 18px;
    }

    .post-list>tbody>tr>td.column-actions{
        min-width: 134px;
    }
}


/**
 * CRUD FORMS ELEMENTS
 */

.crud-editor-main,
.crud-editor-sidebar{
    padding-left: 15px;
    padding-right: 15px;
}

.crud-editor-main{
    width: 75%;
    float: left;
}

.crud-editor-sidebar{
    width: 25%;
    float: right;
}

.portlet.box.grey-steel{
    border-color: #e9edef;
}

.portlet.grey-steel>.portlet-title>.tools>a.collapse{
    background-image: url(../assets/global/img/portlet-collapse-icon.png);
}

.portlet.grey-steel>.portlet-title>.tools>a.expand{
    background-image: url(../assets/global/img/portlet-expand-icon.png);
}

.portlet-body-group{
    margin-bottom: 30px;
}

.post-asset{
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e7ecf1;
}

.post-asset a{
    text-decoration: none;
    color: #666666;
}

.post-asset .post-asset-float{
    float: left;
    margin-right: 10px;
}

.post-asset .post-asset-float-right{
    float: right;
    margin-left: 10px;
}

.publica .btn,
.publica-flotant .btn{
    margin-bottom: 5px;
}

.publica-flotant{
    display: none;
}

.publica-flotant.affix{
    top: 60px;
    z-index: 3;
}

.publica.affix .data-publicacio{
    display: none;
}

.input-group-addon.red{
    color: red;
}

.input-group-btn>.btn {    
    margin-right: 0;
}

.etiquetes .tag{
    display: inline-block;
    margin-bottom: 5px;
    margin-right: 1px;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #f4f6f8;
    color: #a0a9b4;
    cursor: pointer;
}

.etiquetes .tag i{
    margin-left: 4px;
}

.etiquetes .tag i.fa-plus-circle{
    color: green;
}

.etiquetes .tag i.fa-minus-circle{
    color: red;
}

.etiquetes .active-tags,
.etiquetes .popular-tags{
    margin-top: 10px;
    margin-bottom: 10px;
}

.portlet>.portlet-title>.nav-tabs>li>a{
    color: #000000;
}

.portlet-body .checkbox,
.portlet-body .radio{
    display: table;
    padding-left: 20px;
}

.portlet-body .radio.inline{
    padding-left: 30px;
}

.portlet-body .list-max-height{
    max-height: 295px;
    overflow-y: auto;
}

@media( max-width: 1199px ){

    .crud-editor-main{
        width: 70%;
        float: left;
    }

    .crud-editor-sidebar{
        width: 30%;
    }

}

@media( max-width: 767px ){

    .crud-editor-main,
    .crud-editor-sidebar{
        float: none;
        width: 100%;
    }

    .input-lg.form-control{
        width: 100%!important;
    }

    .post-asset .post-asset-float{
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
    }

    .publica-flotant.affix{
        display: none!important;
    }
}

/**
 * DASHBOARD
 */

.ga-authed .ga-needs-auth{
    display: none;
}

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

.ga-data div{
    margin-left: auto;
    margin-right: auto;
}

.ViewSelector, .ViewSelector2 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin: 0;
    width: -webkit-calc(100% + 1em);
    width: calc(100% + 1em);
}

.ViewSelector2-item, .ViewSelector table {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 -webkit-calc(100%/3 - 1em);
    -ms-flex: 1 1 calc(100%/3 - 1em);
    flex: 1 1 calc(100%/3 - 1em);
    margin-left: 1em;
}

.ViewSelector table, .ViewSelector td {
    width: auto!important;
}

.ViewSelector table {
    height: auto!important;
}

@media( max-width: 767px ){

    .ViewSelector, .ViewSelector2{
        display: block;
        width: 100%;
    }

    .ViewSelector2-item, .ViewSelector table{
        display: block;
        width: 100%;
        margin-bottom: 5px;
    }

}

.ActiveUsers {
}

.ActiveUsers-value {
    display: inline-block;
    font-weight: 300;
}

.ActiveUsers.is-increasing {
    -webkit-animation: increase 3s;
    animation: increase 3s;
}

.ActiveUsers.is-decreasing {
    -webkit-animation: decrease 3s;
    animation: decrease 3s;
}

@-webkit-keyframes increase {
    10% {
        color: hsla(120, 100%, 25%, 1);
    }
}

@keyframes increase {
    10% {
        color: hsla(120, 100%, 25%, 1);
    }
}

@-webkit-keyframes decrease {
    10% {
        color: hsl(0,100%,50%);
    }
}

@keyframes decrease {
    10% {
        color: hsl(0,100%,50%);
    }
}


.Chartjs {
    font-size: .85em;
}

.ga-authed .Chartjs-figure {
    height: 250px;
}

.Chartjs-legend {
    list-style: none;
    margin: 0;
    padding: 1em 0 0;
    text-align: center;
}

.Chartjs-legend > li {
    display: inline-block;
    padding: .25em .5em
}

.Chartjs-legend > li > i {
    display: inline-block;
    height: 1em;
    margin-right: .5em;
    vertical-align: -.1em;
    width: 1em;
}

@media (min-width: 570px) {
    .Chartjs-figure {
        /* Add some breathing room. */
        margin-right:1.5em;
    }
}


/**
 * PORTADA
 */

.portada__main,
.portada__sidebar{
    padding-left: 15px;
    padding-right: 15px;
}

.portada__main{
    float: left;
    width: 70%;
}

.portada__main .placeholder{
    margin-bottom: 20px;
    background-color: white;
}

.portada .module{
    margin-bottom: 20px;
    border: 1px solid #e9edef;
    background-color: #ffffff;    
}

.portada .module .module__title{
    padding: 7px 15px;
    font-size: 16px;
    background-color: #e9edef;
    color: #80898e;
}

.portada .module.inactiu {
    border-color: #fbe1e3;
}

.portada .module.inactiu .module__title,
.portada .module.inactiu .module__actions {
    background-color: #fbe1e3;    
}

.portada .module .module__container {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
}

@media( max-width: 767px ) {
    .portada .module .module__container {
        -moz-flex-direction: column;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

.portada .module .module__container > * {    
    -moz-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.portada .module .module__content{
    padding: 7px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
}

.portada .module .module__content .mockup{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    max-height: 300px;
    max-width: 100%;
    height: auto;
}
.portada .module .module__content .mockup[src$='.svg'] {
    width: 100%;
}

/*.portada .module.module-noticies_portada .module__content,
.portada .module.module-noticies .module__content,
.portada .module.module-fotos_giny .module__content,
.portada .module.module-entrevistes .module__content{
    float: left;
    width: 50%;
}*/

.portada .module .module__sidebar{
/*    float: left;
    width: 33.33%;*/
    padding-left: 15px;
    padding-right: 15px;
}

.portada .module .module__sidebar .drop{
    min-height: 200px;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #e9edef;
}

.portada .module.module-1giny .module__sidebar{
    width: 100%;
}

.portada .module.module-2ginys .module__sidebar{
    width: 50%;
}

.portada .module.module-noticies_portada .module__sidebar,
.portada .module.module-noticies .module__sidebar,
.portada .module.module-fotos_giny .module__sidebar,
.portada .module.module-entrevistes .module__sidebar{
    float: right;
    width: 50%;
}

.portada .module .module__actions{
    display: block;
    clear: both;
    margin: 10px 0 0;
    padding: 7px 10px;
    list-style-type: none;
    background-color: #e9edef;
}

.portada .module .module__actions li{
    float: left;
    margin-right: 10px;
    color: #666666;
}

.portada .module .module__actions li a{
    color: #666666;
}

.portada .module .module__actions .module__actions--reorder{
    float: right;
    margin-right: 0;
    cursor: row-resize;
}

.portada__sidebar{
    float: right;
    width: 30%;
    right: 0;
}

.barra_lateral .portada__main{    
    width: 75%;    
}

.barra_lateral .portada__sidebar{    
    width: 25%;    
}

.portada__sidebar .sidebar-widgets{
    background-color: #ffffff;
    overflow-y: auto;
}

.portada__sidebar .sidebar-widgets.affix{
    top: 20px;
    bottom: 40px;
    z-index: 3;
}

@media( min-width: 992px ) {
    .portada__sidebar .sidebar-widgets.affix{
        top: 60px;
    }
}

.portada .sidebar-widgets .sidebar-widgets__content{
    margin-bottom: 20px;
}

.sidebar-widget{
    margin-bottom: 10px;
    padding: 7px 30px 7px 15px;
    border: 3px dashed #80898e;
    background-color: white;
    cursor: move;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.sidebar-widget.widget-tirabol{
    border-color: rgba(255,160,0,.5);
}

.sidebar-widget.widget-banner{
    border-color: rgba(51, 122, 183,.5);
}

.sidebar-widget.widget-error{
    border-color: rgba(255, 0, 0,.5);
}

.sidebar-widget * {
    pointer-events: none;
}

.sidebar-widget input,
.sidebar-widget span{
    pointer-events: initial;
}

.sidebar-widget .widget-delete{
    float: right;
    margin-right: -20px;
    color: #999999;
    cursor: pointer;
    pointer-events: all;
    transition: color .3s;
}

.sidebar-widget .popover *{
    pointer-events: all;
}

.sidebar-widget .widget-delete:hover{
    color: red;
}

.sidebar-widgets .sidebar-widget .widget-delete{
    display: none;
}

.sidebar-widget .noticia-tipus{
    clear: right;
    font-size: 12px;
    text-transform: uppercase;
}

.sidebar-widget .noticia-titol{
    font-weight: bold;
}

.sidebar-widget .noticia-data-petita{
    font-style: italic;
}

.portada .module-modal-form .radio{
    margin-bottom: 15px;
}

.portada .module-modal-form .radio label {
    padding-left: 25px;
}

.portada .module-modal-form .radio input[type=radio]{
    top: 50%;
    margin-top: -7px;
}

.portada .module-modal-form .module-modal-thumb{
    width: 100px;
    height: auto;
    display: inline-block;
    margin-right: 10px;
}

.barra-lateral .sidebar-widgets {
    min-height: 100px;
    padding: 15px;
/*    background-color: #e9edef;*/
    border: 10px solid #e9edef;
}

/*.barra-lateral .noticies-placeholder {
    background-color: white;
}*/

@media( max-width: 767px ){

    .portada__main,
    .barra_lateral .portada__main, 
    .portada__sidebar, 
    .barra_lateral .portada__sidebar {
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }   

    .portada .module .module__content{
        width: 100%!important;
    }

    .portada  .module .module__sidebar{
        float: none;
        width: 100%!important;
    }

    .portada .portada__sidebar .sidebar-widgets.affix,
    .noticies_portada .affix,
    .barra_lateral .affix {
        position: static!important;
    }

}

/**
 * PORTADA NOTÍCIES
 */

.portada__main > .ui-sortable-helper {
    width: auto !important;
    height: auto !important;
}

.noticies_portada .portada__main .col-sm-8{
    margin-bottom: 40px;
/*    padding: 15px;*/
    background-color: #e9edef;
}

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

.noticies_portada .portada__image img{
    display: block;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}
.noticies_portada .portada__image img[src$='.svg'] {
    width: 100%;
}

.noticies_portada .portada__render{
    margin-bottom: 0;
    min-height: 200px;
    background-color: #e9edef;
}

.noticies_portada .module-modal-thumb {
    margin-left: 10px;
    margin-right: 10px;
    max-width: 100px;
}

.portada__render .modul-noticies{
    position: relative;
    margin-bottom: 15px;
    background-color: #FFFFFF;
}

.portada__render .modul-noticies:after{
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 100px;
    line-height: 75px;
    font-weight: 700;
    color: #e9edef;
    text-align: right;
    content: attr(data-id);
}

.portada__render .modul-noticies .drop{
    min-height: 100px;
    padding: 15px 100px 15px 15px;
}

.portada__render .modul-opcions{
    position: relative;
    min-height: 100px;
    margin-bottom: 15px;
    padding: 15px 100px 15px 15px;
    background-color: #FFFFFF;
}

.portada__render .modul-opcions:after{
    position: absolute;
    bottom: 0;
    right: 0;
    font-family: 'FontAwesome';
    font-size: 85px;
    line-height: 75px;
    color: #e9edef;
    text-align: right;
    content: '';
}

.portada__render .modul-noticies .noticia-data-petita {
    display: none;
}


.portada__main .portada-noticies-canvia-plantilla{
    margin: 30px -15px -15px;
    width: calc(100% + 30px);
}

.plantilla-modal-form .radio{
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #EEEEEE;
}

/*.sidebar-widgets .sidebar-widget .noticia-data{*/
.sidebar-widget .noticia-data {
    display: none;
}

.modul-noticies .sidebar-widget .noticia-data {
    display: block;
}

.sidebar-widget .noticia-data label{
    margin-top: 5px;
    font-size: 12px;
}

.noticies-placeholder {
    background-color: #e9edef;
    margin-bottom: 10px;
}

/*.sidebar-noticies__cerca{
    margin-top: 20px;
}*/

@media (max-width: 768px) {
    .input-lg {
        width: 100%!important;
    }
}

.mt-checkbox > span {
    background-color: white !important;
}

/*.mt-checkbox.mt-checkbox-outline > span {
    background-color: white;
}

.mt-checkbox.mt-checkbox-outline > span:hover {
    background-color: white;
}*/

.mt-checkbox.mt-checkbox-outline:hover>input:not([disabled]) ~ span {
    /*    background-color: white;*/
    border: 1px solid black !important;
}

.btn[disabled] {
    background-color: #bfbfbf !important;
}

@media (min-width: 768px) {
    .col-checkbox {
        width: 40px;
    }

    .column-id {
        width: 70px;
    }

    .column-mes {
        width: 20px;
    }
    
    .column-thumb {
        min-width: 200px;
    }

    .column-actions .fa-fw {
        min-width: 1.46em;
    }
}


/** utilitats **/
.mb-0 {
    margin-bottom: 0 !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mt-0 {
    margin-top: 0px !important;
}

.mt-5 {
    margin-top: 5px !important;
}

.llista-icones-lg  i {
    font-size: 1.75em;
    line-height: 1.1em;
}

.url {
    word-break: break-word;
}

.sub-menu > li > a > i {
    margin-right: 5px;
}


dl {    
    padding: 0.5em;
    word-wrap: break-word;
}
dt {
    float: left;
    clear: left;
    width: 100px;
    text-align: right;
    font-weight: bold;    
}
dt::after {
    content: ":";
}
dd {
    margin: 0 0 0 110px;
    padding: 0 0 0.5em 0;
}

.bootstrap-select.input-sm, 
.bootstrap-select.input-sm .dropdown-toggle,
.bootstrap-select.input-sm .dropdown-menu {
    font-size: 12px;
}

.bootstrap-select.btn-group .dropdown-menu {
    box-shadow: none;
    border: 1px solid #c2cad8;
    margin-top: 0;
    margin-bottom: 0;
    font-family: "Open Sans",sans-serif;
}

.publica .bootstrap-select.btn-group .dropdown-menu {    
    margin-top: 0px;    
}

code {
    box-shadow: none;
}

.taula-interior .column-actions {
    width: 0 !important;
}

table thead th[colspan] {
    text-align: center;
}

#preview {
    overflow: hidden;
    width: 280px; 
    height: 280px;
    border: 2px solid gray;        
}

@media (min-width: 768px) {
    #preview {
        width: 210px; 
        height: 210px;
    }
}

@media (min-width: 1440px) {
    #preview {
        width: 280px; 
        height: 280px;
    }
}

@media( max-width: 767px ){
    .col-xs-12 + .col-xs-12 {
        margin-top: 15px;
    }
}

.table td .img-responsive {
    width: initial;
}

.mt-radio>span {
    top: calc(50% - 10px);
}


#mapa {
    height: 250px;
    width: 100%;
}

.custom-alerts.alert button.close {
    margin-top: 5px;
}

.opcio-enquesta {
    background-color: #f9f9f9;
    padding: 10px;
}

.opcio-enquesta--nova {
    background-color: #e9edef;
}

figure .thumbnail {
    margin-bottom: 0;
}


/*
 * easy-autocomplete
 * jQuery plugin for autocompletion
 * 
 * @author Åukasz PaweÅ‚czak (http://github.com/pawelczak)
 * @version 1.3.5
 * Copyright  License: 
 */

.easy-autocomplete {
  position: relative;
}
.easy-autocomplete input {
  border-color: #ccc;
  border-radius: 4px;
  border-style: solid;
  border-width: 1px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
  color: #555;
  float: none;
  padding: 6px 12px;
}
.easy-autocomplete input:hover, .easy-autocomplete input:focus {
  box-shadow: none;
}
.easy-autocomplete a {
  display: block;
}
.easy-autocomplete.eac-blue-light input:hover, .easy-autocomplete.eac-blue-light input:focus {
  border-color: #66afe9;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);
}
.easy-autocomplete.eac-blue-light ul {
  border-color: #66afe9;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);
}
.easy-autocomplete.eac-blue-light ul li, .easy-autocomplete.eac-blue-light ul .eac-category {
  border-color: #66afe9;
}
.easy-autocomplete.eac-blue-light ul li.selected, .easy-autocomplete.eac-blue-light ul .eac-category.selected {
  background-color: #ecf5fc;
}
.easy-autocomplete.eac-green-light input:hover, .easy-autocomplete.eac-green-light input:focus {
  border-color: #41DB00;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(146, 237, 107, 0.6);
}
.easy-autocomplete.eac-green-light ul {
  border-color: #41DB00;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(146, 237, 107, 0.6);
}
.easy-autocomplete.eac-green-light ul li, .easy-autocomplete.eac-green-light ul .eac-category {
  border-color: #41DB00;
}
.easy-autocomplete.eac-green-light ul li.selected, .easy-autocomplete.eac-green-light ul .eac-category.selected {
  background-color: #9eff75;
}
.easy-autocomplete.eac-red-light input:hover, .easy-autocomplete.eac-red-light input:focus {
  border-color: #ff5b5b;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(255, 90, 90, 0.6);
}
.easy-autocomplete.eac-red-light ul {
  border-color: #ff5b5b;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(255, 90, 90, 0.6);
}
.easy-autocomplete.eac-red-light ul li, .easy-autocomplete.eac-red-light ul .eac-category {
  border-color: #ff5b5b;
}
.easy-autocomplete.eac-red-light ul li.selected, .easy-autocomplete.eac-red-light ul .eac-category.selected {
  background-color: #ff8e8e;
}
.easy-autocomplete.eac-yellow-light input:hover, .easy-autocomplete.eac-yellow-light input:focus {
  border-color: #ffdb00;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(255, 231, 84, 0.6);
}
.easy-autocomplete.eac-yellow-light ul {
  border-color: #ffdb00;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(255, 231, 84, 0.6);
}
.easy-autocomplete.eac-yellow-light ul li, .easy-autocomplete.eac-yellow-light ul .eac-category {
  border-color: #ffdb00;
}
.easy-autocomplete.eac-yellow-light ul li.selected, .easy-autocomplete.eac-yellow-light ul .eac-category.selected {
  background-color: #ffe233;
}
.easy-autocomplete.eac-dark-light input:hover, .easy-autocomplete.eac-dark-light input:focus {
  border-color: #333;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(55, 55, 55, 0.6);
}
.easy-autocomplete.eac-dark-light ul {
  border-color: #333;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(55, 55, 55, 0.6);
}
.easy-autocomplete.eac-dark-light ul li, .easy-autocomplete.eac-dark-light ul .eac-category {
  border-color: #333;
}
.easy-autocomplete.eac-dark-light ul li.selected, .easy-autocomplete.eac-dark-light ul .eac-category.selected {
  background-color: #4d4d4d;
  color: #fff;
}
.easy-autocomplete.eac-dark {
  color: #fff;
}
.easy-autocomplete.eac-dark input {
  background-color: #404040;
  border-radius: 4px;
  box-shadow: 0;
  color: #f6f6f6;
}
.easy-autocomplete.eac-dark input:hover, .easy-autocomplete.eac-dark input:focus {
  border-color: #333;
  box-shadow: 0;
}
.easy-autocomplete.eac-dark ul {
  border-color: #333;
}
.easy-autocomplete.eac-dark ul li, .easy-autocomplete.eac-dark ul .eac-category {
  background-color: #404040;
  border-color: #333;
}
.easy-autocomplete.eac-dark ul li.selected, .easy-autocomplete.eac-dark ul .eac-category.selected {
  background-color: #737373;
  color: #f6f6f6;
}
.easy-autocomplete.eac-dark-glass {
  color: #fff;
}
.easy-autocomplete.eac-dark-glass input {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 4px;
  box-shadow: 0;
  color: #f6f6f6;
}
.easy-autocomplete.eac-dark-glass input:hover, .easy-autocomplete.eac-dark-glass input:focus {
  border-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0;
}
.easy-autocomplete.eac-dark-glass ul {
  border-color: rgba(0, 0, 0, 0.8);
}
.easy-autocomplete.eac-dark-glass ul li, .easy-autocomplete.eac-dark-glass ul .eac-category {
  background-color: rgba(0, 0, 0, 0.8);
  border-color: rgba(0, 0, 0, 0.8);
}
.easy-autocomplete.eac-dark-glass ul li.selected, .easy-autocomplete.eac-dark-glass ul .eac-category.selected {
  background-color: rgba(64, 64, 64, 0.8);
  color: #f6f6f6;
}
.easy-autocomplete.eac-dark-glass ul li:last-child, .easy-autocomplete.eac-dark-glass ul .eac-category:last-child {
  border-radius: 0 0 4px 4px;
}
.easy-autocomplete.eac-blue {
  color: #fff;
}
.easy-autocomplete.eac-blue input {
  background-color: #6d9ed1;
  border-radius: 4px;
  box-shadow: 0;
  color: #f6f6f6;
}
.easy-autocomplete.eac-blue input::-webkit-input-placeholder {
  color: #f6f6f6;
}
.easy-autocomplete.eac-blue input:-moz-placeholder {
  color: #f6f6f6;
}
.easy-autocomplete.eac-blue input::-moz-placeholder {
  color: #f6f6f6;
}
.easy-autocomplete.eac-blue input:-ms-input-placeholder {
  color: #f6f6f6;
}
.easy-autocomplete.eac-blue input:hover, .easy-autocomplete.eac-blue input:focus {
  border-color: #5A91CB;
  box-shadow: 0;
}
.easy-autocomplete.eac-blue ul {
  border-color: #5A91CB;
}
.easy-autocomplete.eac-blue ul li, .easy-autocomplete.eac-blue ul .eac-category {
  background-color: #6d9ed1;
  border-color: #5A91CB;
}
.easy-autocomplete.eac-blue ul li.selected, .easy-autocomplete.eac-blue ul .eac-category.selected {
  background-color: #94b8dd;
  color: #f6f6f6;
}
.easy-autocomplete.eac-yellow {
  color: #333;
}
.easy-autocomplete.eac-yellow input {
  background-color: #ffdb7e;
  border-color: #333;
  border-radius: 4px;
  box-shadow: 0;
  color: #333;
}
.easy-autocomplete.eac-yellow input:hover, .easy-autocomplete.eac-yellow input:focus {
  border-color: #333;
  box-shadow: 0;
}
.easy-autocomplete.eac-yellow ul {
  border-color: #333;
}
.easy-autocomplete.eac-yellow ul li, .easy-autocomplete.eac-yellow ul .eac-category {
  background-color: #ffdb7e;
  border-color: #333;
}
.easy-autocomplete.eac-yellow ul li.selected, .easy-autocomplete.eac-yellow ul .eac-category.selected {
  background-color: #ffe9b1;
  color: #333;
}
.easy-autocomplete.eac-purple {
  color: #333;
}
.easy-autocomplete.eac-purple input {
  background-color: #d6d1e7;
  border-color: #b8afd5;
  box-shadow: 0;
  color: #333;
}
.easy-autocomplete.eac-purple input:hover, .easy-autocomplete.eac-purple input:focus {
  border-color: #333;
  box-shadow: 0;
}
.easy-autocomplete.eac-purple ul {
  border-color: #333;
}
.easy-autocomplete.eac-purple ul li, .easy-autocomplete.eac-purple ul .eac-category {
  background-color: #d6d1e7;
  border-color: #333;
}
.easy-autocomplete.eac-purple ul li.selected, .easy-autocomplete.eac-purple ul .eac-category.selected {
  background-color: #ebe8f3;
  color: #333;
}
.easy-autocomplete.eac-bootstrap input {
  border-color: #ccc;
  border-radius: 4px;
  border-style: solid;
  border-width: 1px;
  color: #555;
  padding: 6px 12px;
}

.easy-autocomplete-container {
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 2;
  top: 30px;
}
.easy-autocomplete-container ul {
  background: none repeat scroll 0 0 #ffffff;
  border-top: 1px dotted #ccc;
  display: none;
  margin-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  position: relative;
  top: -1px;
}
.easy-autocomplete-container ul li, .easy-autocomplete-container ul .eac-category {
  background: inherit;
  border-color: #ccc;
  border-image: none;
  border-style: solid;
  border-width: 0 1px;
  display: block;
  font-size: 14px;
  font-weight: normal;
  padding: 4px 12px;
}
.easy-autocomplete-container ul li:last-child {
  border-radius: 0 0 2px 2px;
  border-width: 0 1px 1px;
}
.easy-autocomplete-container ul li.selected {
  background: none repeat scroll 0 0 #ebebeb;
  cursor: pointer;
}
.easy-autocomplete-container ul li.selected div {
  font-weight: normal;
}
.easy-autocomplete-container ul li div {
  display: block;
  font-weight: normal;
  word-break: break-all;
}
.easy-autocomplete-container ul li b {
  font-weight: bold;
}
.easy-autocomplete-container ul .eac-category {
  font-color: #aaa;
  font-style: italic;
}

.eac-description .eac-item span {
  color: #aaa;
  font-style: italic;
  font-size: 0.9em;
}

.eac-icon-left .eac-item img {
  margin-right: 4px;
  max-height: 30px;
}

.eac-icon-right .eac-item {
  margin-top: 8px;
  min-height: 24px;
  position: relative;
}
.eac-icon-right .eac-item img {
  margin-left: 4px;
  max-height: 30px;
  position: absolute;
  right: -4px;
  top: -8px;
}

.page-sidebar .page-sidebar-menu li.open>.sub-menu {
    display: block;
}

.page-sidebar .page-sidebar-menu .sub-menu > li.active > a, 
.page-sidebar .page-sidebar-menu .sub-menu > li.active > a > i {
    color: #fff;
    background: #d64635 !important;
}

label[for] {
    cursor: pointer;
}

iframe.preview {
    border: 1px solid gray;    
    /* margin-bottom: 20px; */
}


.llistat_elements {
    /*	width: 400px;*/
    max-height: 300px;
    background-color: #F9F9F9;
    border: 1px solid #D1D1D1;
    overflow: auto;
    /*	float: left;*/
    padding: 7px;
}
.llistat_elements img.miniatura, .llistat_afegits img.miniatura {
    float: left;
    margin-right: 7px;
}
.llistat_elements .titol { text-decoration: none; color: #000; }

.llistat_afegits {
    float: left;
    margin-left: 15px;
    width: 250px;
}

.llistat_elements ul, .llistat_afegits ul {
    list-style: none;
    padding: 0;
    margin: 7px 0 0 0;
}
.llistat_elements ul li, .llistat_afegits ul li {
    /*	padding: 0 0 15px 0;*/
    margin: 0;
}
.llistat_afegits input.petit { font-size: 11px; width: 150px; padding: 0px }

.module-modal-thumb {
    max-width: 100px;    
    margin-right: 10px; 
}

/** ESTILS CONFIGURACIÓ **/

.settings .tabbable-line > .tab-content {
    background-color: #f7f7f7;
    padding: 1.5rem;
}

.settings .tabbable-line > .tab-content .estils {
	border: 1px solid #d2d2d2;
	margin-top: 1.5rem;
	background-color: white;
	padding: 1.5rem;
	margin-bottom: 2rem;
}

/* .settings .tabbable-line > .tab-content .estils:last-of-type {	
	padding: 0;
    margin-bottom: 0;
} */

.settings .tabbable-line > .tab-content .estils .mt-radio-inline {	
	display: flex;
    flex-direction: column;
}

.settings .tabbable-line > .tab-content .estils .row {	
	margin-bottom: 15px;
}

.settings .tabbable-line > .tab-content .estils .row small {	
	font-weight: normal;
    margin-top: 0;
    margin-bottom: 10px;
}

.note.note-info {
	color: #6394d2;
	font-weight: bold;
}

h5.model_capcalera {
    margin-top: 0;
}

.p-0 {
    padding: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

/** Modal d'afegir mòdul de portada **/
.bootbox-body {
    max-height: 75vh;
    overflow: scroll;
}

.filters .form-control {
    max-width: 300px !important;
}