﻿html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 45px;
    background-color: #e4e4e4;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 45px;
    background-color: #181818;
    text-align: center;
    color: #ccc;
    padding: 13px 0;
}

#loading {
    display: none;
    position: fixed;
    width: 100%;
    background-color: #0003;
    height: 100%;
    z-index: 99999;
}
    #loading img {
        width: 50px;
        position: absolute;
        left: 50%;
        top: 50%;
        margin-top: -25px;
        margin-left: -25px;
    }

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

input,
select,
textarea {
    max-width: 280px;
}

.dl-horizontal dt {
    white-space: normal;
}

#missatgeAlerta {
    position: fixed;
    bottom: 45px;
    left: 10%;
    right: 10%;
    z-index: 1000;
    display: none;
}

.any-picker {
    width: 60px;
    float: left;
    margin-right: 5px;
}

.control-horitzontal {
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 8px;
}

.control-any #any {
    width: 57px;
    float: left;
    margin-right: 2px;
    text-align: right;
}
.navbar-default {
    background-color: #ffffff;
    border: none;
}
    .navbar-default .navbar-nav > li > a {
        color: #b5b5b5;
        font-weight: 600;
    }
default .navbar-nav > li > a:hover {
    color: #4e4e4e;
    background-color: transparent;
}

.panel-default {
    border: solid 1px #e8e8e8;
}
    .panel-default > .panel-heading {
        border-color: #efefef;
    }
.panel {
    background-color: #fff;
    border-radius: 1px;
    -webkit-box-shadow: 1px 3px 5px rgba(0,0,0,.05);
    box-shadow: 1px 3px 5px rgba(0,0,0,.05);
}

#loginForm {
    background-color: white;
    border-radius: 2px;
    -webkit-box-shadow: 1px 3px 5px rgba(0,0,0,.05);
    box-shadow: 1px 3px 5px rgba(0,0,0,.05);
    padding: 10px 20px 20px;
    margin-bottom: 20px;
}
.btn-eliminar {
    border: none;
    border-radius: 3px;
    padding: 6px 12px 4px;
    color: #fff;
    background-color: #d9534f;
}
.btn-eliminar:hover {
    color: #fff;
    background-color: #c73935;
    text-decoration: none;
}

.panellSolicituds .solicitud td {
    vertical-align: middle;
}

.panel-title {
    font-size: 15px;
    color: #969696;
    font-weight: 600;
}
.table {
    margin-bottom: 0px;
}

.taula-scroll {
    overflow: auto;
}

#taulaSolicituds .solicitud {
    font-size: 12px;
}

.extraActionButtons {
    height: 35px;
    width: 35px;
    border-radius: 5px;
    text-align: center;
    vertical-align: middle;
    color: white;
    font-size: 18px;
    display: table;
    margin: 0 auto;
    margin-bottom: 5px;
}

.extraActionButtons:hover{
    cursor: pointer;
}

.buttonContainer {
    width: 100%;
    text-align: center;
    font-size: 11px !important;
}

.centeredText {
    display: table-cell; 
    vertical-align: middle;  
    text-align: center; 
    height: 100%; 
    width: 100%;
}

.accept {
    background-color: #484848;
}

.reject {
    background-color: #484848;
}

.discard {
    background-color: #484848;
}

.control-formulari {
    max-width: 400px;
}

.control-data {
    max-width: 150px;
}
.control-data .form-control {
    text-align:right;
}

.label-checkbox {

}

.date {
    max-width: 280px;
}

.footer #firma {
    font-family: monospace;
    text-align: left;
}

.footer #version {
    text-align: right;
    color: grey;
}

.margen-control {
    margin-right: 15px;
}

.container-empleats {
    
}
.empleat-calendari {
    display: inline-block;
    background-color: white;
    padding: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 1px 3px 5px rgba(0,0,0,.05);
    box-shadow: 1px 3px 5px rgba(0,0,0,.05);
    margin-right: 5px;
    margin-bottom: 5px;
}

/*TOOL TIP*/

.ajuda {
    position: relative;
    display: inline-block;
}

    .ajuda .ajudatext {
        visibility: hidden;
        width: 180px;
        background-color: #2f2f2f;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        position: absolute;
        z-index: 1;
        bottom: 130%;
        left: 50%;
        margin-left: -90px;
    }

    .ajuda .ajudatext::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: #2f2f2f transparent transparent transparent;
    }

.ajuda:hover .ajudatext {
    visibility: visible;
}

/*END TOOL TIP*/

/*NAV*/

@media (max-width: 1199px) {
    .navbar-header {
        float: none;
    }

    .navbar-left, .navbar-right {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        margin-top: 7.5px;
    }

        .navbar-nav > li {
            float: none;
        }

            .navbar-nav > li > a {
                padding-top: 10px;
                padding-bottom: 10px;
            }

    .collapse.in {
        display: block !important;
    }
}

/*END NAV*/

/*MD*/
@media screen and (min-width: 1200px) {

}
@media screen and (max-width: 1199px) {

}

/*SM*/
@media screen and (max-width: 991px) {

}

/*XS*/
@media screen and (max-width: 767px) {
    .margen-control {
        margin-right:unset;
    }
    
    .footer {
        height: 73px;
    }
    .footer #firma {
        text-align: center;
    }
    .footer #version {
        text-align: center;
    }
}

@media screen and (max-width: 447px) {
    .control-data {
        max-width: none;
    }
}

.calendariMes{
    font-size: 16pt;
    font-weight: bold;
}

.calendariContainer {
    margin-top: 10px;
    margin-bottom: 20px;
}

.calendariTable {
    width: 100%;
}

.calendariTable td {
    border: 1px solid #DADADA;
    padding: 5px;
}

.fixedWidth {
    width: 25px;
}

.centerTableText {
    text-align: center;
}