/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 20/01/2015, 07:10:00 PM
    Author     : usuario
*/


/*
1. Base
*/

* {
    font-family: 'Quicksand', sans-serif !important;
}

body p {
    font-size: 14px !important;
    padding: 0px;
    margin: 0px;
    margin-top: 5px;
    margin-bottom: 5px;
}

body {
    position: relative;
}

.top-separator {
    margin-top: 15px;
}

.border-bottom {
    border-bottom: thin solid #000000;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.space-line {
    margin: 0px 10px;
    font-weight: bold;
}

.clean-padding {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.breadcrumbs {
    border-style: solid;
    border-width: 1px;
    display: block;
    list-style: none;
    margin-left: 0;
    overflow: hidden;
    padding: 0.5625rem 0.875rem 0.5625rem;
    background-color: #f4f4f4;
    border-color: gainsboro;
    border-radius: 3px;
}

/*
2. Layout
*/

#map-container {
    position: relative;
    padding: 0px;
}

.fullWidth {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: initial;
    font-size: 14px;
    padding-left: 0px;
    padding-right: 0px;
}

.loginWidth {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

#map {
    height: 100%;
    padding: 0px;
    z-index: 0;
}


.general-padding {
    padding-left: 15px;
    padding-right: 15px;
}

small.error {
    color: red;
}

/*
    .HEADER
*/

.header {
    text-transform: uppercase;
    margin: 0px;
    background-color: #524f47;
    margin-bottom: 30px;
    height: 60px;
}

.header h1, .header h1 a {
    font-size: 1.6rem;
    padding: 0px;
    margin: 12px 0px;
    color: #ffffff;
    font-weight: bold;
}

.main-logo .logo {
    /*position: relative;*/
    /*z-index: 1;*/
}

.main-logo .logo img {
    /*z-index: 10;*/
    /*position: relative;*/
    /*bottom: 34px;*/
    /*left: 16px;*/
    /*background: red;*/
}

.header-logo {
    /*margin-left: 240px;*/
    text-transform: uppercase;
    background-color: #524f47;
}

.main-menu {
    background-color: #666666;
}

.main-menu li a {
    color: #ffffff;
}

.main-menu li {
    border-left: thin solid #000000;
}

.menu-left {
    margin-left: 240px;
}

.menu-left > ul {
    margin-left: 16px;
}

.logo {
    background-color: #524f47;
    margin-bottom: 30px;
}

.logo-text {
    display: block;
    padding: 12px 0px;
    float: left;
    margin-left: 240px;
}

.logo-text h1 {
    font-size: 2rem;
    padding: 0px;
    margin: 0px;
    /*margin: 12px 0px;*/
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 16px;
}

.logo-text a {
    color: #ffffff;
    padding: 12px 0;
}

.logo-shield {
    float: right;

}

.logo-main {
    position: relative;
}

.logo-left {
    position: absolute;
    left: 16px;
}

.main-logo-small {
    background-color: #524f47;
}

/*.top-bar-section*/

.top-bar-section .right {
    border-left: thin solid #000000;
}

.seal {
    margin-right: 10px;
}

/*
. MAP-FORM
*/

#map-container #map-info-container {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    padding: 0px;
    overflow: auto;
    z-index: 4;
}

.map-info-container-bg {
    background-color: #ffffff;
}

.map-info-container-is-open {
    /*width: 350px !important;*/
}

#map-container #map-info-container {

}

#map-info-container, #map-info-container label, #map-info-container p, #map-info-container a {
    color: #000000;
}

#map-info-container .button {
    background-color: #000000;

    padding: 8px 10px;
    margin-bottom: 0px;

    text-align: center;
    font: normal normal bold 16px/20px Quicksand;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;

    border-radius: 5px;
}

#map-info-container .map-register {
    /*
    margin-bottom: 0px;
    margin-top:0px;
    padding-top: 0px;
    padding-bottom: 0px;
    */
}

.map-register {
    background-color: #666666;
    color: #ffffff;
    padding: 8px 10px;
    margin: 0px;
    cursor: pointer;
}

#map-info-container > * {
    /*padding: 8px 15px 8px 15px;*/
}

/*
    FOOTER
*/
#footer {
    text-align: center;
    padding: 10px 0px;
    background-color: #DDD;
    border-top: thin dotted #777;
    /*margin-top: 15px;*/
    font-weight: bold;
    max-width: 100%;
}

p#footer {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

#footer a {
    color: #000;
}

ul, ol, dl {
    font-size: 14px;
}

.fancytree-folder .fancytree-checkbox {
    display: none !important;
}

select[multiple="multiple"] {
    height: 100px;
}

.tree-wrapper {
    position: relative;
}

.fullHeightDiv {
    position: absolute;
    top: 0;
    bottom: 0;
    /*background-color: red;*/
}

.tree-content {
    margin-bottom: 10px;
    /*font-size: 10px;*/
    border-bottom: solid thin #000000;
}

#treeData {
    padding: 0px;
    margin: 0px;
    font-size: 12px;

}

.treeData-base {
    display: none;
}

.treeData-decade {
    text-transform: uppercase;
    font-weight: bold;
    /*
    border-left: thick solid #DDD;
    border-bottom: thin solid #DDD;
    margin-bottom: 4px;
    padding-left: 4px;
    display: block;
    cursor: pointer;
    */
}

#treeData li.base {

    /*border-bottom: thin solid #000000;*/
    padding-bottom: 10px;
    /*margin-bottom: 10px;*/

    padding-left: 0px;
}

#treeData li {
    list-style: none;
    padding-left: 8px;
    /*padding: 0px 10px;*/
    /*background-color: #EEE;*/
    /*background-color: rgba(255,0,0,0.2);*/
}

#treeData input[type='checkbox'] {
    margin: 0px;
    padding: 0px;
    /*margin-right: 5px;*/
    padding: 4px;
    margin-top: 3px;

}

#treeData a {
    /*text-transform: uppercase;*/
    position: relative;
    left: 5px;
    /*bottom: 1px;*/
    font-size: 14px;
    line-height: 10px;
}

.mapa-categoria {
    font-weight: bold;
    /*
    border: thin solid red;
    border-left-width: 4px;
    margin-bottom: 2px;
    padding-left: 4px;
    */
}

.mapa-subcategoria {
    padding-left: 8px;
    /*
    margin-left: 0px;
    border: thin solid violet;
    border-left-width: 8px;
    margin-bottom: 2px;
    */
}

.mapa-subcategoria input[type="checkbox"] {
    padding: 0px;
    margin: 0px;
}

.mapa-subcategoria span {
    /*float: right;*/
    margin: 0px 4px;
    cursor: pointer;
}

/*
 MAPA
*/

.map-title {
    font-weight: bold;
}

.map-description {
    max-height: 200px;
    overflow: auto;
}

/*
    MARKER
*/

.map-add {
    cursor: pointer;
}

.marker-add, .layer-add {
    cursor: pointer;
    padding-bottom: 5px;
}

.marker-img, .leaflet-popup-content img {
    width: 100%;
    min-width: 150px;
    max-width: 100%;
}

.slider {
    width: 92%;
    padding-bottom: 10px;
    margin-left: 18px;
}

.slider-item {
    display: block;
    width: 100%;
}

.slider-open {
    cursor: pointer;
}

/*
    FILTER FORM
*/

#filter-form {
    border-bottom: thin solid #DDD;
    /*
        margin-bottom: 15px;
        padding-top: 15px;
    */
}

#filter-form label.filter-subtitle {
    font-weight: bold;
    border-bottom: thin solid gainsboro;
    margin-bottom: 10px;
}

#filter-form input[type="checkbox"] {

}

#filter-form input[type="checkbox"] + label, #filter-form input[type="radio"] + label {
    margin-right: 40px;
    font-size: 11px;
}

.filter-header {
    margin-bottom: 30px;
    cursor: pointer;
}

.filter-title {
    font: normal normal normal 20px/25px Quicksand;
    padding-top: 5px;
    margin: 0;
    cursor: pointer;
    border-top: thin solid #000000;
    border-bottom: thin solid #000000;
    padding-bottom: 5px;
}

.icon-custom {
    display: block;
    width: 17px;
    height: 12px;
    /*background-color: red;*/
    background-image: url("arrow.png");
    background-repeat: no-repeat;
    display: inline-block;
    overflow: hidden;
    text-indent: -99999px;
}

.treeData-decade {
    cursor: pointer;
    width: 100%;
    display: block;
    /*border-bottom: thin solid #000000;*/
    border-top: thin solid #000000;
    /*background-color: rgba(255,0,0,0.2);*/
    margin-bottom: 4px;
    padding-top: 4px;

}

.filter-title .icon-custom, .treeData-decade .icon-custom {
    float: right;
    margin-top: 4px;
}

.icon-custom-clicked {
    background-position: -17px 0px;
}


/*
    LAYER
*/
.layer-toggle, .marker-toggle {
    opacity: 0.5;
}

.has-layer, .has-marker {
    opacity: 1;
}


/*
    MARKER
*/

.marker-item {
    display: flex;
    flex-direction: row;
}


.marker-title {
    font: normal normal normal 16px/25px Quicksand;
    letter-spacing: 0px;
    color: #000000;
    flex-grow: 1;
}

.marker-title span {
    position: relative;
    bottom: 2px;
    font-weight: bold;
    letter-spacing: 12px;
}

.marker-toggle,.layer-toggle {
    margin: 0px 15px;

}

.marker-delete {
    /*margin-left: 8px;*/
}

.marker-toggle img, .marker-delete img {
    max-width: none !important;
}

/*
    .top-bar
*/
.right li {
    /*background-color: blue;*/
}

.top-bar, .top-bar-section, .top-bar-section ul li a {
    background-color: #666666 !important;

}

.home-text {
    border-right: thin solid #cccccc;
}

.home-text .button-home {
    color: #008cba;
    background-color: #e7e7e7;
}

.home-text .button-home:hover {
    background-color: #b9b9b9;
    color: #666666;
}

/*
    MENU FORM
*/

.fr-info-icon {

    /* background-color: red;*/
    display: block;
    float: left;
    background-repeat: no-repeat;
}

.fr-info-icon-open {
    cursor: pointer;
}


.fr-info-icon-markers {
    width: 22px;
    height: 30px;
    background-image: url('../img/icons/noun_Location_2565177.svg');
    background-position: 0px 0px;
}

.map-info-header-is-open .fr-info-icon-markers {
    background-image: url('../img/icons/noun_Location_2565177_open.svg') !important;
}

.fr-info-icon-markers:hover {
    background-position: -150px -30px;
}


.fr-info-icon-open:hover {
    background-position: -180px -30px;
}

.fr-info-icon-open-on {
    background-position: -180px -30px;

}

.fr-info-icon-close {
    background-position: 0 0px;
    cursor: pointer;
}

.fr-info-icon-close:hover {
    background-position: 0 -30px;
}

.fr-info-icon-info {
    background-image: url('form.icons.png');
    background-position: -30px 0px;
}

.fr-info-icon-info:hover {
    background-position: -30px -30px;
}

.fr-info-icon-save {
    background-image: url('form.icons.png');
    background-position: -60px 0px;
}

.fr-info-icon-save:hover {
    background-position: -60px -30px;
}


.fr-info-icon-draw {
    background-image: url('form.icons.png');
    background-position: -90px 0px;
}

.fr-info-icon-draw:hover {
    background-position: -90px -30px;
}

.fr-info-icon-layer {
    background-image: url('form.icons.png');
    background-position: -120px 0px;
}

.fr-info-icon-layer:hover {
    background-position: -120px -30px;
}


/**
save-header
 */

#save-main-container {
    background-color: #ffffff;
}

#save-header {
    padding: 15px;
    cursor: pointer;
}

.save-title {
    color: #000000;
    letter-spacing: 0px;
    font: normal normal bold 20px/25px Quicksand;
    font-weight: bold;
}

#save-body {
    padding-right: 15px;
    padding-left: 15px;
}

/*
    OPTION-MENU
*/

.option-view-toogle {
    padding-right: 15px;
    padding-left: 15px;
    background-color: #ffffff;
}

.option-menu {
    padding-bottom: 16px;
    background-color: #ffffff;

    padding-top: 15px;

    /*padding-right: 15px;*/
    /*padding-left: 15px;*/

    display: flex;
    flex-direction: row;
    align-items: center;

    cursor: pointer;

    border-top: thin solid grey;
}

.option-menu-header {
    padding-bottom: 32px;
    /*margin-top: 48px;*/
    border: none !important;
}

.option-menu div {

}

.option-menu-icon {
    display: block;
    float: left;
    background-repeat: no-repeat;
    margin-right: 18px;
}

.option-icon-info {
    width: 22px;
    height: 30px;
    background-image: url('../img/icons/noun_Information.svg');
    background-position: 0px 0px;
}

.option-menu-is-open .option-menu-subtitle {
    color: #2286BC;
}

.option-menu-title {
    text-align: left;
    font: normal normal bold 20px/25px Quicksand;
    opacity: 1;
}

.option-menu-subtitle {
    text-align: left;
    font: normal normal normal 16px/25px Quicksand;
    opacity: 1;
    flex-grow: 1;
}

.option-menu-tick {
    /*align-self: flex-end;*/
}

.option-form {
    background-color: #ffffff;
    padding-bottom: 15px;
    padding-right: 15px;
    padding-left: 15px;
}

.option-subtitle {
    text-align: left;
    font: normal normal bold 16px/25px Quicksand;
    letter-spacing: 0px;
    opacity: 1;
    margin-bottom: 16px;
}

/* ICON MARKER*/

.option-icon-marker {
    width: 22px;
    height: 30px;
    background-image: url('../img/icons/noun_Location_2565177.svg');
    background-position: 0px 0px;
}

.option-menu-is-open .option-icon-marker {
    background-image: url('../img/icons/noun_Location_2565177_open.svg') !important;
}

/* ICON LAYER*/

.option-icon-layer {
    width: 33px;
    height: 30px;
    background-image: url('../img/icons/noun_layer_2035085.svg');
    background-position: 0px 0px;
}

.option-menu-is-open .option-icon-layer {
    background-image: url('../img/icons/noun_layer_2035085_open.svg') !important;
}

/* ICON KML */
.option-icon-kml {
    width: 29px;
    height: 30px;
    background-image: url('../img/icons/noun_Save_1152085.svg');
    background-position: 0px 0px;
}

/*
    MAP-INFO
*/
.map-information-title, .map-information-description {
    text-align: left;
    font: normal normal normal 14px/18px Quicksand;
    letter-spacing: 0px;
    color: #707070;
    opacity: 1;
}


/*
    .csv-form
 */
.csv-form {
    margin-top: 15px;
}


/* FIXES Jquery UI */
.evo-cp-wrap .ui-widget-content {
    background-color: #ffffff;
    background: #ffffff;
}

/* UPDATE FUNDATION */
.breadcrumbs > *::before {
    /*color: #aaaaaa;*/
    /*!*content: ">";*!*/
    /*margin: 0 0.75rem;*/
    /*position: relative;*/
    /*top: 1px;*/
}

.top-bar-section ul li {
    border-right: thin solid #000000;
}

.top-bar-section li:not(.has-form) a:not(.button) {
    line-height: 2.013rem;
}

.form-recurso .input-subcategoria, #filter-form .input-subcategoria {
    margin-left: 10px;
}

/* UPDATE JQUERY-UI */
.slider .ui-widget-header {
    background-color: #000000;
    border: 1px solid #000000;
    color: #ffffff;
    font-weight: bold;
}

.slider .ui-widget-content {
    background: #999999;
    border: 1px solid #999999;
    color: #999999;
}

.slider .ui-state-default, .slider .ui-widget-content .ui-state-default, .slider .ui-widget-header .ui-state-default {
    background: #000000;
    border: 1px solid #000000;
    color: #000000;
    font-weight: bold;
}

.slider .ui-slider-horizontal {
    height: 0.4em;
}

.slider .ui-slider .ui-slider-handle {
    height: 0.8em;
    width: 0.6em;

}

.breadcrumbs {
    z-index: 10;
}

.decada {
    background-color: #BDCCD4;
    padding: 12px 10px 15px 10px;
}

.decada-title {
    font-weight: bold;
    position: relative;
    bottom: 2px;
    margin-right: 16px;
}

.decada-label {
    margin-right: 19px !important;
    margin-left: 2px !important;
}

.decada input {
    padding: 0px;
    margin: 0px;
    position: relative;
    top: 1px;
}

.categoria-menu-tick {
    float: right;
    width: 12px;
    height: 7px;
    background-image: url('../img/icons/Flecha pequeña.svg');
    display: block;
    background-size: 12px 7px;
    /*align-self: flex-end;*/
}


#map-container #tree {
    /*padding-left: 50px;*/
    /*padding-right: 50px;*/

    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 4;

    padding-left: 0px !important;
    padding-right: 0px !important;
}

#map-container .filter-title {
    padding-top: 15px;
    padding-bottom: 32px;
    padding-left: 10px;
}

#filter-container {
    /*background-color: green;*/
    /*overflow-y: auto;*/
    /*overflow-x: hidden;*/
    /*flex: 1; !* added *!*/

}

#map-container #filter-container {
    position: absolute;
    top: 0px;
    left: 0px;
    /*bottom: 0px;*/
    padding: 0px;
    overflow: auto;
    z-index: 4;
    width: 19.5%
}

#map-container #save-container {
    position: absolute;
    top: 0px;
    right: 0px;
    /*bottom: 0px;*/
    padding: 0px;
    overflow: auto;
    z-index: 4;
    width: 19.5%
}


#filter-main-container {
    background-color: #ffffff;
    padding: 15px;
}

#filter-header {
    cursor: pointer;

    display: flex;
    flex-direction: row;
    align-items: center;
}

#filter-header h5 {
    padding: 0px;
    margin: 0px;
    font-weight: bold;
    flex-grow: 1;
}

#filter-body {
    margin-top: 30px;
}

.categoria-menu {
    padding-bottom: 20px;
    border-bottom: thin solid #707070;
    margin-bottom: 20px;
}

#filter-main-container .categoria-menu:last-child {
    border: none;
}

.categoria-title {
    color: #000000;
    letter-spacing: 0px;
    font: normal normal bold 20px/25px Quicksand;
    font-weight: bold;
    margin-bottom: 8px;

    display: flex;
    flex-direction: row;
    align-items: center;

    cursor: pointer;
}

.categoria-title span {
    flex-grow: 1;
}

.categoria-subtitle {
    text-align: left;
    font: normal normal normal 16px/25px Quicksand;
    letter-spacing: 0px;
    color: #707070;
    opacity: 1;

}

.categoria-checkbox {
    position: relative;
    bottom: -1px;
    margin-right: 8px !important;
    margin-bottom: 0px !important;
}

.categoria-footer {
    margin-top: 57px;
}

.categoria-footer input, .categoria-footer a {
    color: #ffffff;
    border: none;
    background: #000000 0% 0% no-repeat padding-box;
    border-radius: 5px;
    text-align: center;
    font: normal normal bold 16px/20px Quicksand;
    letter-spacing: 0px;
    padding: 8px 10px;
    margin-bottom: 0px;
}

.map-info-container {
    background: #F4F4F4 0% 0% no-repeat padding-box;
    /*position: relative;*/
}

.map-info-wrapper {
    background-color: #F4F4F4;
    /*padding-top: 16px;*/
    /*padding-bottom: 16px;*/
}


.map-list {

}

.map-carousel {
    padding: 32px 32px;
    background: #F4F4F4 0% 0% no-repeat padding-box;
}

.map-preview {
    width: 100%;
    max-width: 155px;
    display: inline-block;
}

.map-preview-unselected {
    opacity: 0.5;
}

.map-preview :focus {
    outline: none;
}

.map-title {
    text-align: left;
    font: normal normal normal 12px/25px Quicksand;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
    margin-bottom: 14px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

}

.map-mini {
    width: 100%;
    height: 97px;
    background: #BED3D0 0% 0% no-repeat padding-box;
    box-shadow: 2px 2px 5px #00000080;
    opacity: 1;
    cursor: pointer;
    overflow: hidden;
}

.map-mini img {
    width: 155px;
    height: auto;
}

.map-mini:hover, .map-mini-is-selected {
    border: 2px solid #000000;
}

.map-icons {
    margin-top: 16px;
    display: flex;
    flex-direction: row;
    align-content: space-between;
    width: 100%;

}

.map-icon-eye, .map-icon-information, .map-icon-download {
    flex-grow: 1;
}

.map-icon-information img {
    margin-left: 25%;
    margin-right: 25%;
}

.map-icon-download img {
    float: right;
}

.map-resume {
    display: none;
}

.map-donwload {
    display: none;
}

.map-donwload a {
    color: #707070;
    font: normal normal normal 14px/18px Quicksand;
}

.map-resume-container {
    padding: 10px;
    width: 300px;
    position: absolute;
    bottom: 14px;
    left: 50px;

    background-color: #ffffff;
}

.map-resume-container a {
    color: #707070;
    font: normal normal normal 14px/18px Quicksand;
}

/* The Close Button */
.map-resume-close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: 4px;
    line-height: 20px;
}

.map-resume-close:hover,
.map-resume-close:focus {
    color: #000000;
    text-decoration: none;
    cursor: pointer;
}


.map-control {
    background: #F4F4F4 0% 0% no-repeat padding-box;
    padding: 32px 50px;
}

.map-control-title {
    padding: 15px;
    left: 50px;
    text-align: left;
    font: normal normal bold 20px/25px Quicksand;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
    /*margin-bottom: 31px;*/
}


.map-control-opacity {
    text-align: left;
    font: normal normal normal 14px/18px Quicksand;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
    /*margin-bottom: 19px;*/
    padding: 15px;
}

.slider-container {
    padding-top: 0px;
    padding-right: 30px;
    padding-left: 15px;
    padding-bottom: 0px;
}

.slider-reference {
    display: flex;
    flex-direction: row;
    align-content: space-between;
}

.slider-reference span {
    flex-grow: 1;
    font: normal normal normal 12px/25px Quicksand;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
}

.slider-reference span:last-child {
    text-align: right;
}

.base-map {
    /*margin-top: 10px;*/
    padding-right: 15px;
    padding-left: 15px;
}

/* TEST */


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 112; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.button-carousel-container {
    position: relative;
}

.button-carousel-toggle {
    position: absolute;
    top: 10px;
    left: 30px;
    z-index: 12;
}

.button-carousel-toggle span {
    cursor: pointer;
    /*border: thin solid red;*/
}


.top-bar-section li {
    float: left;
}