/*
visorADF
main.css - UTF-8
Created by Alberto Pérez Reina on 27-jun-2017, 22:40:47
Copyright (c) 2016 oACsys.com All rights reserved.
*/
/* 
    Created on : 27-jun-2017, 22:40:47
    Author     : alberto
*/

body {
    padding-top: 70px;
    padding-bottom: 60px;
}

.theme-dropdown .dropdown-menu {
    position: static;
    display: block;
    margin-bottom: 20px;
}

.theme-showcase > p > .btn {
    margin: 5px 0;
}

.theme-showcase .navbar .container {
    width: auto;
}

.map {
    width: 100px;
    height:80vh;
    min-height: 100%;
    min-width: 100%;
    display: block;
}

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

.navbar-brand-logo {
    float: left;
    display: block;
    margin: 2px;
    margin-left: auto;
    margin-right: auto;
}

.footer {
    /*margin-top: 50px;*/

    width: 100%;
    /* Set the fixed height of the footer here */
    background-color: #f5f5f5;
}

.panel-adf>.panel-heading {
    color: #000;
    font-weight: bold;
    background-color: rgba(247, 181, 0, 0.5);
    border-color: #F7B500;
}

.required-asterisk{
    color: #db4437 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    font-family: Verdana, Arial Black, Arial !important;
}

@media (max-device-height: 413px) {

    /*.map {
        height:200px;
    }*/

    .footer{
        height: 15px;
        font-size: 10px;
    }

}

@media (max-device-height: 737px) {

    /*.map {
        height:400px;
    }*/

    .footer{
        height: 15px;
        font-size: 10px;
    }
}

@media (max-device-height: 768px) {

    /*.map {
        height:500px;
    }*/

    .footer{
        height: 15px;
        font-size: 10px;
    }
}

/*Cel·les amb click*/

.clickable-row {

}

.clickable-row:hover {
    background: #d9d9d9 !important;
    text-decoration: none;
}

/*Custom popup per al menu*/

.context-popup .leaflet-popup-content-wrapper {
    background: #f2f2f2;
    color:black;
    font-size:14px;
    line-height:24px;
    border-radius: 0px;
}
.context-popup .leaflet-popup-content-wrapper a {
    color:rgba(255,255,255,0.1);
}
.context-popup .leaflet-popup-tip-container {
    width:30px;
    height:15px;
}
.context-popup .leaflet-popup-tip {
    background: transparent;
    border: none;
    box-shadow: none;
}

.context-popup .leaflet-popup-content {
    margin: 25px 5px 15px;
}

.context-popup a {
    color: #000000 !important;
    margin: 5px;
    padding: 4px;
    text-decoration: none;
}

.context-popup a:hover {
    background: #d9d9d9;
    text-decoration: none;
}

.context-popup .noHover:hover {
    background: none !important;
    font-weight: bold;
    text-decoration: none;
}

.context-popup .noHover {
    background: none !important;
    font-weight: bold;
    text-decoration: none;
}

.context-popup:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    border-top-color: #f2f2f2;
    border-bottom: 0;
    margin-left: -15px;
    margin-bottom: -15px;
}

.toolTipStyle{
    background-color: rgba(255, 255, 255, 0.6) !important;
    font-size: 10px;
    border: 0px !important;
    box-shadow: none !important;
    border-bottom-color: rgba(0, 0, 0, 0) !important;
    font-weight: bold;
    margin-top: 10px !important;
    padding: 1px !important;
    color: rgba(15, 15, 15, 0.91);
    /*padding-bottom: 1px !important;
    padding-left: 1px !important;
    padding-right: 1px !important;
    padding-top: 1px !important;*/
}

.toolTipStyle:before{
    border-bottom-color: rgba(0, 0, 0, 0) !important;
}

.PEVtoolTipStyle{
    background-color: rgba(255, 255, 255, 0.6) !important;
    font-size: 12px;
    border: 0px !important;
    box-shadow: none !important;
    border-bottom-color: rgba(0, 0, 0, 0) !important;
    font-weight: bold;
    margin-top: 12px !important;
    padding: 1px !important;
    color: rgba(15, 15, 15, 0.91);
    /*padding-bottom: 1px !important;
    padding-left: 1px !important;
    padding-right: 1px !important;
    padding-top: 1px !important;*/
}

.PEVtoolTipStyle:before{
    border-bottom-color: rgba(0, 0, 0, 0) !important;
}

 .legend {
     background: white;
     padding: 10px;
     line-height: 1.4em;
     color: #333;
     border-radius: 5px;
     box-shadow: 0 0 5px rgba(0,0,0,0.3);
     font-size: 14px;
 }

.legend h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: bold;
}

