﻿* {box-sizing: border-box}
@media (min-width: 300px) {
    .container {
        max-width: 700px; } }
@media (min-width: 701px) {
    .container {
        max-width: 991px; } }
@media (min-width: 992px) {
    .container {
        max-width: 1199px; } }
@media (min-width: 1200px) {
    .container {
        max-width: 1300px; } }

@media (min-width: 300px) {
    .slideshow-container {
        height: 100%;
        width: 100%;
        position: relative;
        margin: auto;
        background-color: #fff;
        box-shadow: #b0b0b0 0px 0px 10px;
    }

    /*.m-nav-sticky {
        width: 50px !important;
    }

    .m-nav-sticky li a img{
        height: 50px !important;
    }*/

    h3 .text-center{
        font-size:1.5rem !important;
    }

    .mySlides img {
        width: 100%;
        height: 300px;
    }

    .slide-texto{
        padding:10px !important;
    }

    .slide-texto h4{
        text-align:center;
    }

    .slide-texto pre{
        text-align: justify;
    }

    .wrap {
        width: 100%;
        height: 155px !important;
        padding: 20px;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .btn {
        margin-bottom: 10px !important;
        width: 100% !important;
    }

    .prev, .next {
        padding: 10px !important;
        background-color: #fbfbfb;
        opacity: .5;
        top: 43% !important;
    }

    /*.m-nav-sticky{
        top:49% !important;
    }*/

    /*Noticias*/

    #Noticias .slideshow-container {
        height: 100%;
        width: 100%;
        position: relative;
        margin: auto;
        background-color: #fff;
    }

    #Noticias .m-nav-sticky {
        width: 100px !important;
    }

        #Noticias .m-nav-sticky li a img {
            height: 100px !important;
        }

    #Noticias h3 .text-center {
        font-size: 2.2rem !important;
    }

    #Noticias .pantalla-slide {
        display: none;
    }

    #Noticias .slide-imagen {
        padding: 10px;
        max-width: 100%;
        max-height: 100%;
        float: left;
    }

        #Noticias .slide-imagen img {
            width: 100%;
            height: 100%;
            box-shadow: #dcdcdc 0px 0px 10px;
        }

    #Noticias .slide-texto {
        max-width: 100%;
        max-height: 100%;
        float: right;
        padding-top: 20px;
        padding-right: 20px;
    }

        #Noticias .slide-texto h4 {
            text-align: center;
        }

    #Noticias pre {
        height: 100% !important;
        font-family: Poppins !important;
        margin-top: auto !important;
    }

    #Noticias .wrap {
        width: 100%;
        height: 200px !important;
        padding: 20px;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    #Noticias .noticia-titulo {
        background-color: #7f2b84;
        position: relative;
        top: -10px;
        padding: 14px;
        width: 90%;
        text-align: center;
        color: #fbfbfb;
        margin-left: 5%;
    }

    #Noticias .noticia-titulo h4 {
        font-size: 1rem !important;
    }

    #Noticias .slide-fecha {
        text-align: right;
        padding-right: 20px;
    }

}

@media (min-width: 701px) {
    .slideshow-container {
        height: 100%;
        position: relative;
        margin: auto;
        background-color: #fff;
        box-shadow: #d3d3d3 0px 0px 10px;
    }

    .mySlides img {
        width: 100%;
        height: 400px;
    }

    .slide-texto {
        padding: 10px;
    }

    .side-text {
        font-family: inherit;
        margin-bottom: 25px;
        width: 100%;
        height: 30px;
    }

        .side-text h4 {
            padding-right: 20px;
            font-size: large;
            color: #f2f2f2;
            position: absolute;
            top: 20px;
            text-align: center;
            width: 100%;
            height: 100%;
        }

    .side-sub-text {
        font-family: inherit;
        margin-bottom: 25px;
        width: 100%;
        height: 100%;
    }

        .side-sub-text p {
            padding: 0 50px 0 40px;
            position: absolute;
            color: #f2f2f2;
            text-align: justify;
            max-width: 100%;
            max-height: 100%;
        }

    .wrap {
        width: 100%;
        height: 155px !important;
        padding: 20px;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .btn {
        margin-bottom: 10px !important;
    }

    .prev, .next {
        background-color: #fbfbfb;
        opacity: .5;
    }

    /*Noticias*/

    #Noticias .slideshow-container {
        height: 100% !important;
        width: 100% !important;
        position: relative;
        margin: auto;
        background-color: #fff;
    }

    #Noticias .m-nav-sticky {
        width: 100px !important;
    }

        #Noticias .m-nav-sticky li a img {
            height: 100px !important;
        }

    #Noticias h3 .text-center {
        font-size: 2.2rem !important;
    }

    #Noticias .pantalla-slide {
        display: none;
    }

    #Noticias .slide-imagen {
        padding: 10px;
        max-width: 40%;
        max-height: 100%;
        float: left;
        padding-top: 20px;
    }

        #Noticias .slide-imagen img {
            width: 100%;
            height: 100%;
            box-shadow: #dcdcdc 0px 0px 10px;
        }

    #Noticias .slide-texto {
        max-width: 60%;
        max-height: 100%;
        float: right;
        padding-top: 20px;
        padding-right: 20px;
    }

        #Noticias .slide-texto h4 {
            text-align: center;
        }

    #Noticias pre {
        height: 100% !important;
        font-family: Poppins !important;
        margin-top: auto !important;
    }

    #Noticias .wrap {
        width: 100%;
        height: 200px !important;
        padding: 20px;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    #Noticias .noticia-titulo {
        background-color: #7f2b84;
        position: relative;
        top: -10px;
        padding: 14px;
        width: 90%;
        text-align: center;
        color: #fbfbfb;
        margin-left: 5%;
    }

    #Noticias .noticia-titulo h4{
        font-size:1.2rem !important;
    }
}

@media (min-width: 992px) {
    .slideshow-container {
        height: 100%;
        width: 100%;
        position: relative;
        margin: auto;
        margin-bottom: 20px;
        background-color: #fff;
        box-shadow: #d3d3d3 0px 0px 20px;
    }

    .mySlides { display: none; }

    /*.m-nav-sticky {
        width: 100px !important;
    }

    .m-nav-sticky li a img {
        height: 100px !important;
    }*/

    h3 .text-center{
        font-size:2.2rem!important;
    }

    .pantalla-slide{
        display:none;
    }

    .slide-imagen {
       max-width:40%;
        max-height:100%;
        float:left;
    }

    .slide-imagen img {
        width: 400px;
        height: 400px;
    }

    .slide-texto {
        max-width: 60%;
        max-height: 100%;
        float: right;
        padding: 20px !important;
    }

    .slide-texto h4{
        text-align:center;
    }

    pre {
        height: 100% !important;
        font-family: Poppins !important;
        margin-top: auto !important;
    }

        .wrap {
            width:100%;
            height: 220px !important;
            padding: 20px;
            text-overflow: ellipsis;
            overflow: hidden;
        }

    /*Noticias*/

    #Noticias .slideshow-container {
        height: 100%;
        width: 100%;
        position: relative;
        margin: auto;
        background-color: #fff;
    }

    #Noticias .m-nav-sticky {
        width: 100px !important;
    }

        #Noticias .m-nav-sticky li a img {
            height: 100px !important;
        }

    #Noticias h3 .text-center {
        font-size: 2.2rem !important;
    }

    #Noticias .pantalla-slide {
        display: none;
    }

    #Noticias .slide-imagen {
        padding: 10px;
        max-width: 40%;
        max-height: 100%;
        float: left;
        padding-top: 20px;
    }

        #Noticias .slide-imagen img {
            width: 100%;
            height: 100%;
            box-shadow: #dcdcdc 0px 0px 10px;
        }

    #Noticias .slide-texto {
        max-width: 60%;
        max-height: 100%;
        float: right;
        padding-top: 20px;
        padding-right: 20px;
        font-size:1.2em;
    }

        #Noticias .slide-texto h4 {
            text-align: center;
        }

    #Noticias pre {
        height: 100% !important;
        font-family: Poppins !important;
        margin-top: auto !important;
    }

    #Noticias .wrap {
        width: 100%;
        height: 200px !important;
        padding: 20px;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    #Noticias .noticia-titulo {
        background-color: #7f2b84;
        position: relative;
        top: -10px;
        padding: 14px;
        width: 90%;
        text-align: center;
        color: #fbfbfb;
        margin-left: 5%;
    }

    #Noticias .noticia-titulo h4 {
        font-size: 1.5rem !important;
    }
}



/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    font-weight: bold;
    font-size: 18px;
    transition: 1s ease;
    border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover, .next:hover {
        background-color: #bbb;
        color: #fbfbfb;
    }

.row{
    padding:0 !important;
}

.slide-portlet {
    background-color: #f2f3f8;
    height: 100%;
    min-height:366px;
    padding:0 10px;
    box-shadow: 0px 1px 15px 1px rgba(69, 65, 78, 0.1);
}

.slide-h1 {
    font-size: 3rem;
    color: #5867dd;
    margin: 20px;
    text-align: center;
}

.slide-obras{
    height:100%;
}

.mySlides .titulo-obra {
    background-color: #5867dd;
    height: 50px;
    color: #fbfbfb;
    font-size: 1.5rem;
    padding: 10px;
    position: relative;
    top: -20px;
    margin: 0 15px;
    border-radius: 5px;
    text-align: center;
    vertical-align: middle;
}

.side-imagenes-obra img {
    max-width: 49%;
    margin:auto;
    height:280px;
}

.side-direccion-obra {
    color: #5867dd;
}

.side-maps-obra img{
    height:200px !important;
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 1s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Fading animation */
.slide {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 20s;
    animation-name: fade;
    animation-duration: 20s;
}

@-webkit-keyframes fade {
    0% { opacity: 0} 
    25% { opacity: .5}
    50% { opacity: 1} 
    75% { opacity: .5}
    100% { opacity: .0}
}

@keyframes fade {
    0% { opacity: 0} 
    25% { opacity: .5}
    50% { opacity: 1} 
    75% { opacity: .5}
    100% { opacity: 0}
}

.swip {
    position: relative;
    -webkit-animation-name: swip;
    -webkit-animation-duration: 10s;
    animation-name: swip;
    animation-duration: 10s;
    animation-timing-function: ease;
}

@-webkit-keyframes swip {
    from {
        left: 0px;
    }

    to {
        right: 0px;
    }
}

@keyframes swip {
    from {
        left: 0px;
    }

    to {
        right: 0px;
    }
}


/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .prev, .next, .text { font-size: 11px; }
}