body {
    font-family: 'Encode Sans', sans-serif;
    color:#50545E
}

a {
    color:#39bbed
}

#mapip {
    height: 90vh
}

.wow {
    visibility: hidden;
  }

/*--- Layout ---*/

.h-100 {
    min-height: 100vh;
}
@media (min-width: 992px){
    .mt-up-1 {
        margin-top: -3rem
    }
    .mt-up-2 {
        margin-top: -6rem
    }
}

.articulo img {
    max-width:100%!important;
}

.card {
    border-radius:0!important
}

.recomendaciones {
    padding:0;
    list-style-image: url('/img/ico/checked.svg');
}
.recomendaciones li {
    padding-bottom:1rem;
    margin-bottom:1rem;
    border-bottom:1px solid #eee;
    padding-left:
}
.recomendaciones li:last-child {
    border-bottom:none;
}

.nav-tabs .nav-link {
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    padding: 1rem 1.4rem;
}

/*
.modal-dialog {
    margin-top: 0;
    margin-bottom: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .modal.fade .modal-dialog {
    transform: translate(0, -100%);
  }

  .modal.in .modal-dialog {
    transform: translate(0, 0);
  }*/

/*--- navbar ---*/

.navbar-light .navbar-nav .nav-link {
    color: rgba(255,255,255,.8);
}
.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    color: rgba(255,255,255,1);
}

@media (min-width: 992px){
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

.navbar-brand {
    margin-bottom: 0;
}
.navbar-light .navbar-brand {
    color: rgba(255,255,255,.9);
}

nav.navbar.sticky {
    background: #39bbed!important;
    border-bottom: 1px solid #fff;
    -webkit-box-shadow: 0px 2px 4px 0px rgb(0 0 0 / 50%);
    -moz-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 2px 4px 0px rgb(0 0 0 / 50%);
}
nav.navbar.sticky .navbar-nav li:last-child {
    border-bottom:none
}

nav.navbar.sticky .navbar-nav .nav-item .nav-link {
    display: block;
    padding: 1rem;
    text-align:center
}
.navbar-nav .nav-item .nav-link.active {
    border-bottom:2px solid #fff;
}
@media (max-width: 768px){
    nav.navbar {
        background: #39bbed!important;
        border-bottom: 1px solid #fff;
        -webkit-box-shadow: 0px 2px 4px 0px rgb(0 0 0 / 50%);
        -moz-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.5);
        box-shadow: 0px 2px 4px 0px rgb(0 0 0 / 50%);
    }
    nav.navbar .navbar-nav li:last-child {
        border-bottom:none
    }
    nav.navbar .navbar-nav .nav-item {
        border-bottom: 1px solid rgb(0,0,0,0.1)
    }
    nav.navbar .navbar-nav .nav-item .nav-link {
        display: block;
        padding: 1rem;
        text-align:center    
    }
}
.dropdown-menu {
    font-size: .8rem;
}

#accordion .card-header .btn {
    width:100%;
    font-size:1rem!important;
    text-align: left!important;
    padding: .875rem 0!important;
    color:#666!important
}
#accordion .card {
    border:none!important
}
#accordion .card-header {
    border-bottom:2px solid #b7e6f8!important
}

/*--- Texto ---*/

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    line-height: 1.6;
}

.regular {
    font-weight:400!important;
}
.bold {
    font-weight:600!important;
}
.extrabold {
    font-weight:800!important;
}


/*--- TEXT ---*/

@media (min-width: 180px){
    .display-1 {
        font-size: 3.5rem;
    }
    .display-2 {
        font-size: 2.5rem;
    }
    .display-3 {
        font-size: 2.5rem;
    }
    .display-4 {
        font-size: 2.2rem;
    }
    .h1, h1 {
        font-size: 1.5rem;
    }
    .h2, h2 {
        font-size: 1.5rem;
    }
    .h3, h3 {
        font-size: 1.35rem;
    }
    .h4, h4 {
        font-size: 1.2rem;
    }
    .h5, h5 {
        font-size: 1rem;
    }
    .shape { width: 100px}
}
@media (min-width: 576px){
    .h1, h1 {
        font-size: 2rem;
    }
    .display-1 {
        font-size:5rem;
        line-height: 0.95em
    }
    .display-2 {
        font-size: 3.2rem;
    }
    .display-3 {
        font-size: 3rem;
    }
    .display-4 {
        font-size: 2.5rem;
    }
    .h3, h3 {
        font-size: 1.55rem;
    }
    .h5, h5 {
        font-size: 1.25rem;
    }
    
}
@media (min-width: 768px){
    .h1, h1 {
        font-size: 2.5rem;
    }
    .h2, h2 {
        font-size: 2rem;
    }
    .display-1 {
        font-size:7rem;
        line-height: 0.95em
    } 
    .display-2 {
        font-size: 4rem;
    }
    .display-3 {
        font-size: 3.5rem;
    }
    .display-4 {
        font-size: 3rem;
    }
    
}
@media (min-width: 992px){
    .display-1 {
        font-size:9rem;
        line-height: 0.95em
    }
    .display-2 {
        font-size: 5.5rem;
    }
    .display-3 {
        font-size: 4rem;
    }
    .display-4 {
        font-size: 3.5rem;
    }
    .h4, h4 {
        font-size: 1.5rem;
    }
    .shape { width: 160px
    }
    .pull-left {
        margin-left:-140px;
    }    
}
@media (min-width: 1200px){

}

/*--- Backgrounds ---*/

.bg-map-right {
    background-image: url(../img/back_mapa.png);
    background-position: 140% 80px;
    background-repeat: no-repeat;
    /*background-size:contain*/
}
.bg-map-right.gris,
.bg-map-left.gris {
    background-image: url(../img/back_mapa_gris.png)!important;
}
.bg-map-left {
    background-image: url(../img/back_mapa.png);
    background-position: -40% 0px;
    background-repeat: no-repeat;
    /*background-size:contain*/
}
.bg-primary {
    background-color: #39bbed!important;
}
.bg-primary-light {
    background-color: #d4f0fb
}
.bg-secondary {
    background-color: #9283BE!important;
}
.bg-success,.badge-media {
    background-color: #D6DF31!important;
}
.bg-danger {
    background-color: #ee3e8f!important;
}
.bg-warning {
    background-color: #f8941c!important;
}
.bg-info {
    background-color: #50B7B2!important;
}
.bg-light {
    background-color: #f0f0f0!important;
}
.bg-dark {
    background-color: #50545E!important
}

/*--- text COlor ---*/

.text-primary {
    color: #39BBED!important;
}
.text-secondary {
    color: #9283BE!important;
}
.text-success {
    color: #D6DF31!important;
}
.text-danger {
    color: #ee3e8f!important;
}
.text-warning {
    color: #f8941c!important;
}
.text-info {
    color: #50B7B2!important;
}
.text-light {
    color: #007bff!important;
}
.text-dark {
    color: #007bff!important;
}

/*--- buttons ---*/

.btn {
    padding: .875rem 2.3rem;
    font-size: 0.8rem;
    line-height: 1;
    font-weight:600;
}
.btn.rounded {
    border-radius: 1.3rem!important;
}
.btn-outline-light {
    color: #ffffff;
    background-color: transparent;
    background-image: none;
    border-color: #ffffff;
}

/*--- Alerts ---*/

.alert {
    padding: .95rem 1.25rem;
    border-radius: 0;
}
.alert-warning {
    color: #856404;
    background-color: #FFD000;
    border-color: #FFD000;
}

/*--- Tables ---*/

.table-sm td, .table-sm th {
    padding: .3rem;
    font-size: 0.85em;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 1px solid rgb(0,0,0,0.7);
}
.table td, .table th {
    padding: .55rem 0;
    vertical-align: top;
    border-top: 1px solid rgb(0,0,0,0.4);
}
.table a {
    cursor:pointer
}

.ico-120 {
    width:120px;
    height:200px;
    display:inline-flex;
    flex-direction:column;
    align-items:center;
    justify-content:center
}
.ico-120.rounded {
    border-radius: 5rem!important;
}

.ico-feature {
    display:flex;
    position: relative;
    flex-direction: column!important;
    text-align: center!important;
    margin: 1rem!important;
    align-items:center;
    justify-content:center;
    font-size: 80%;
    font-weight: 600;
    height:110px;
}
.ico-feature img {
    width:60px;
}
.ico-feature .ref {
    margin-top: 10px;
    display:block;
   /* position: absolute;
    top:90px*/
}

/*--- Badges ---*/

.badge-pill {
    padding-right: .9em!important;
    padding-left: .9em!important;
    border-radius: 10rem!important;
}
.badge {
    display: inline-block;
    padding: .45em .4em;
    font-size: 75%;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

.badge-primary {
    background-color: #39bbed!important;
    color:#fff!important;
}
.badge-secondary {
    background-color: #9283BE!important;
}
.badge-success, .badge-baja {
    background-color: #D6DF31!important;
}
.badge-danger{
    background-color: #ee3e8f!important;
    color:#fff!important;
}
.badge-warning, .badge-media {
    background-color: #f8941c!important;
    color:#fff!important;
}
.badge-info {
    background-color: #50B7B2!important;
    color:#fff!important;
}

.badge-alta {
    background-color: #dc3545 !important;
    color:#fff!important;

}
.leaflet-popup-content {
    padding: 0.5rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    min-width: 200px;
    font-size: 0.9rem;
    font-family: inherit;

    h3 {margin: 0 0 0.5rem;}
    p {margin: 0;}

    .links {margin-top: 0.5rem;}
    a {
      color: var(--color-primary);
      padding-right: 1rem;
    }
  }

.leaflet-popup-content p {
    margin: 6px 0!important;
}

.leaflet-container a.leaflet-popup-close-button {
    top: 10px;
    right: 10px;
    padding: 4px;
    color:#666;
    width: 18px;
    height: 18px;
}

.leaflet-container {
    font: 12px/1.5 'Open Sans', sans-serif!important;
}

.ico_play.home {
    position:absolute;
    width:80px;
    top:50%;
    transform: translateY(-50%);
    margin:auto;
    left:0;
    right:0;
    z-index: 100;
}

/*--- masonry ---*/

.gallery-wrapper {
    overflow: hidden;
  }

.item {
padding: 6px;
overflow: hidden;
position:relative
}

.item img.thumb {
max-width: 100%;
width: 100%;
height: auto;
-webkit-transition: -webkit-transform 0.3s;
        transition: transform 0.3s;
}

.thumbImage{
    max-width: 400px !important;
    max-height: 400px !important;
    width:100%;
    height: auto
}

.image600{
    max-width: 600px !important;
    max-height: 600px !important;
}

.image800{
    max-width: 800px !important;
    max-height: 800px !important;
}

.item img.ico_play {
    position:absolute;
    width:60px!important;
    top:50%;
    transform: translateY(-50%);
    margin:auto;
    left:0;
    right:0;
    z-index: 100;
}

.item:hover img.thumb {
-webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
        transform: scale(1.1);
}

.track {
    cursor: pointer;
}

.fancybox__carousel .fancybox__slide.has-iframe .fancybox__content,
.fancybox__carousel .fancybox__slide.has-map .fancybox__content,
.fancybox__carousel .fancybox__slide.has-pdf .fancybox__content {
    width: 100%;
    height: 100%;
}

.sticky-top {
    top: 80px!important;
}

/*-- OWL CAROUSEL ---*/

#home_slider .owl-nav {
    position: absolute!important;
    width: 100%;
    top:100%;
    /*transform: translateY(-50%);*/
}
#home_slider .owl-dots {
    position: absolute!important;
    width: 100%;
    bottom:60px;
    text-align:center
}
#home_slider .owl-nav button[class^='owl-'] {
    width:50px;
    height: 50px;
    border-radius: 50%;
    background:#fff;
    border:2px solid #999;
    position: absolute
}
#home_slider .owl-prev {
    left:0px;
}
#home_slider .owl-next {
    left:60px;
}

.owl-carousel button.owl-dot {
    background: 0 0;
    color: inherit;
    border: none;
    padding: 0!important;
    font: inherit;
    width: 15px;
    height: 15px;
    background: rgb(255,255,255,0.4);
    border-radius:50%;
    margin:6px;
}
.owl-carousel button.owl-dot.active {
    background: rgb(255,255,255,1);
}