﻿.cur-pointer {cursor:pointer;}
.alert-custom-margins, .well-custom-margins {margin-bottom:0px !important;margin-top:10px !important;}
.btn-custom-margins {margin-top:10px !important;}
.form-horizontal .control-label{text-align:left !important;}
.form-group {margin-bottom:5px !important;}
.no-margin-bottom {margin-bottom:0px !important;}
.remp_degradate {
    /*
    background-image: -webkit-linear-gradient(top,#F3F8E6 0,#CEE599 100%);
    background-image: -o-linear-gradient(top,#F3F8E6 0,#CEE599 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#F3F8E6),to(#CEE599));
    background-image: linear-gradient(to bottom,#F3F8E6 0,#CEE599 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffF3F8E6', endColorstr='#ffCEE599', GradientType=0);
    */
}
.bg-hora-lliure {background-color:#84bd00;cursor:pointer}
.bg-hora-ocupada {background-color:#F0B2CD;cursor:not-allowed}
@media all and (max-width:450px) {
    .btn-custom-margins {
        font-size: 0.8em;
    }
    .panel-heading {
        font-size: 0.9em;
    }
}
@media all and (max-width:767px) {
    .img-margin-bottom {
        margin-bottom: 15px;
    }
}

/* Sobreescritura de les classes del Theme de Bootstrap */
.h1, h1 {
    font-size:50px;
}
@media all and (min-width: 992px) and (max-width: 1199px) {
    .h1, h1 {
        font-size:48px;
    }
}
@media all and (min-width: 768px) and (max-width: 991px) {
    .h1, h1 {
        font-size:37px;
    }
}
@media all and (max-width:767px) {
    .h1, h1 {
        font-size:30px;
    }
}

@media print {
  a[href]:after {
    content: none !important;
  }
}

.panel-default {
    border-color: #84bd00 !important;
}
.panel {
    /*background-color: rgba(132,189,0,0.12) !important;*/
    background-color:#FFF !important;
}
.panel-default > .panel-heading {
    background-image: -webkit-linear-gradient(top,#c2de80 0,#84bd00 100%) !important;
    background-image: -o-linear-gradient(top,#c2de80 0,#84bd00 100%) !important;
    background-image: -webkit-gradient(linear,left top,left bottom,from(#c2de80),to(#84bd00)) !important;
    background-image: linear-gradient(to bottom,#c2de80 0,#84bd00 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc2de80', endColorstr='#ff84bd00', GradientType=0) !important;
}
.alert-danger {
    background-image: -webkit-linear-gradient(top,#fae6ee 0,#F0B2CD 100%) !important;
    background-image: -o-linear-gradient(top,#fae6ee 0,#F0B2CD 100%) !important;
    background-image: -webkit-gradient(linear,left top,left bottom,from(#fae6ee),to(#F0B2CD)) !important;
    background-image: linear-gradient(to bottom,#fae6ee 0,#F0B2CD 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffae6ee', endColorstr='#ffF0B2CD', GradientType=0) !important;
    border-color: rgba(206,0,88,0.3) !important;
}
.alert-danger {
    color: #ce0058 !important;
    background-color: #F0B2CD !important;
    border-color: rgba(206,0,88,0.3) !important;
}
.btn-success:focus, .btn-success:hover {
    background-color: #84bd00 !important;
}
.active.btn-success, .focus.btn-success, .btn-success:active, .btn-success:focus, .btn-success:hover, .open > .btn-success.dropdown-toggle {
    color:#333 !important;
    /*background-color: #90c419 !important;*/
    border-color: #6B9900 !important;
}
.btn-success {
    background-image: -webkit-linear-gradient(top,#C2DE80 0,#84bd00 100%) !important;
    background-image: -o-linear-gradient(top,#C2DE80 0,#84bd00 100%) !important;
    background-image: -webkit-gradient(linear,left top,left bottom,from(#C2DE80),to(#84bd00)) !important;
    background-image: linear-gradient(to bottom,#C2DE80 0,#84bd00 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffC2DE80', endColorstr='#ff84bd00', GradientType=0) !important;
    border-color: #77aa00 !important;
}
.btn-success {
    color:#333 !important;
    background-color: #C2DE80 !important;
    border-color: #85b219 !important;
}
.btn-danger, .btn-default, .btn-info, .btn-primary, .btn-success, .btn-warning {
    text-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.table-bizhores > thead > tr > th {
    border-bottom: 0px;
    text-align: center;
}

.table-bizhores > tbody > tr > td, .table-reemp > tbody > tr > th {
    text-align: center;
    border: 1px solid #666;
}

.table-bizhores {
    border-collapse: separate !important;
    border-spacing: 2px;
}

.table-responsive {border:0 !important}

.dropdown-amb-spinner {
    display: flex;
    align-items: center;
}

.spinner-acte {
    display: none;
    width: 24px;
    height: 24px;
    margin-left: 10px;
    border: 3px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.bloc-deshabilitat {
    position: relative;
    opacity: 0.45;
}

    .bloc-deshabilitat::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 9999;
        cursor: not-allowed;
    }      