
@media screen and (min-width: 768px) {
    .finder-results-buscador_bodegas div.view-content {
        grid-template-columns: 50% 50%;
        width: calc(100% - 10px);
    }
}

@media screen and (min-width: 1024px) {

    .press-gallery{
        float: left;
        margin-bottom: 5px;
        margin-right: 10px;
        max-width: 655px;
    }

    .finder-results-buscador_bodegas div.view-content {
        grid-template-columns: 33.33333333333% 33.33333333333% 33.33333333333%;
        width: calc(100% - 20px);
    }

    #carousel-main .title, #carousel-main .title a {
        font-size: 30px;
        font-weight: 300;
        color: rgb(255,255,255);
    }
}

@media screen and (min-width: 1440px) {
    .finder-results-buscador_bodegas div.view-content {
        grid-template-columns: 25% 25% 25% 25%;
        width: calc(100% - 30px);
    }

    #carousel-main .title, #carousel-main .title a {
        font-size: 30px;
        font-weight: 300;
        color: rgb(255,255,255);
    }

    /*#sliding-popup {
        padding: 0;
    }

    #sliding-popup .popup-content #popup-text,
    #sliding-popup .popup-content #popup-buttons {
        height: 60px;
        line-height: 60px;
    }

    #sliding-popup .popup-content #popup-text p {
        line-height: 60px;
    }*/
}

@media screen and (min-width: 1201px) and (max-width: 1440px) {
    .content .carousel-caption,
    .block-body {
        width: 300px;
        height: 300px;
        padding-top: 80px;
    }

    .content .carousel-caption,
    .content .carousel-caption a,
    .block-body p {
        font-size: 30px!important;
    }

    .carousel-caption p img,
    .block-body p img {
        margin: 0 auto;
        width: 260px!important;
    }

}


@media screen and (max-width:1200px) {

    .region-idiomas{
        height: 22px;
    }

    #logo{
        margin-top: 10px;
    }
    .page-datos .col-md-12,
    .page-datos .col-md-8{
        position: inherit;
    }

    #header{
        position: relative !important;
    }
    .menu-toggle{
        display: block;
        position: absolute;
        right: 10px;
        top: 46px;
        background: none;
        font-size: 30px;
        height: 48px;
        width: 48px;
        color: rgb(31,101,111);
        border: none;
        cursor: pointer;
    }
    .menu-toggle:after{
        content: "\f105";
        font-family: Flaticon;
    }

    .menu-principal{
        float: none;
        top: 150px;
        left: 0;
        display: none;
    }
    .menu-principal li:nth-child(3){
        margin-right: 0 !important;
    }

    #main-menu-links{
        margin: 0;
        float: none;
        width: 100%;
        padding: 0;
    }

    #main-menu-links a:hover,
    #main-menu-links a:focus{
        background-color: transparent;
    }

    #main-menu nav{
        width: 100%;
        position: absolute;
        background-color: rgb(31,101,111);
    }

    #main-menu-links h2{
        margin: 0;
    }
    #main-menu-links li{
        float: none;
        padding: 10px 0;
        text-align: center;          
        line-height: 35px;

    }

    #main-menu-links li a{
        float: none;
        padding: 0;        
        color: rgb(255,255,255);
        font-weight: 600 !important;
        text-shadow: none;
    }
    #main-menu ul li a:hover{
        color: rgb(255,255,255) !important;
        background-color: transparent !important;
    }
    .menu-top{
        display: none;
    }

    .login-toggle{
        display: block;
        position: absolute;
        left: 10px;
        top: 46px;
        background: none;
        font-size: 30px;
        height: 48px;
        width: 48px;
        color: rgb(31,101,111);
        border: none;
    }

    .login-toggle:after{
        content: "\f007";
        font-family: FontAwesome;
    }

    .region-header .social-block{
        display: none;
    }
    .page-node-15 #page #header{
        position: relative;
    }

    #carousel-main .title,
    #carousel-main .title a{
        font-size: 30px;
    }

    .view-featured-1 .views-field-field-featured-description,
    .view-featured-1 .views-field-body{
        font-size: 25px;
    }

    .view-featured-1 .views-field-field-featured-description a:after,
    .view-featured-1 .views-field-body a:after{
        font-size: 34px;
    }

    .view-prensa-notas .views-row,
    .view-noticias .views-row,
    .view-featured-2 .views-row{
        margin-bottom: 50px;
    }
    .region-noticias{
        margin: 88px auto 45px;
    }

    .noticias h1#page-title,
    .noticias h2#page-title{
        font-size: 30px;
    }

    #map_bodegas,
    #map_canvas{
        margin: 50px auto;
    }

    .logos {
        text-align: center;
    }

    .copyright {
        margin-top: 65px;
        margin-bottom: 15px;
    }
    .region-idiomas{
        margin-left: 0;

    }
    .language-switcher-locale-url{
        margin: 0 auto !important;
        width: 100px;
    }

    .content .carousel-caption,
    .block-body {
        width: 300px;
        height: 300px;
        padding-top: 80px;
        top: 10%;
        left: 5%;
    }

    .block-body p {
        font-size: 30px;
    }

    .carousel-caption p img,
    .block-body p img {
        margin: 0 auto;
        width: 260px!important;
    }
}

@media screen and (max-width: 1023px) {
    .rutasdelvino,
    .rutasdelvino a {
        font-size: 25px;
    }
}

@media screen and (min-width:992px) and (max-width:1200px){

    .page-datos .view-datos .views-row .field-content a{
        height: 95px;
    }
}
@media screen and (max-width:992px){

    .prensa .img-prensa a{
        height: auto;
    }

    .prensa .img-responsive{
        padding: 0;
    }

    .img-header-press{
        margin-bottom: 35px;
    }

    .node-type-press-area-news h1#page-title,
    .node-type-press-area-notes h1#page-title,
    .node-type-press-area-kit h1#page-title,
    .node-type-press-area-descargas h1#page-title,
    .noticias h1#page-title,
    .node-type-wine-cellar h1#page-title,
    .node-type-press-area-news h2#page-title,
    .node-type-press-area-notes h2#page-title,
    .node-type-press-area-kit h2#page-title,
    .node-type-press-area-descargas h2#page-title,
    .noticias h2#page-title,
    .node-type-wine-cellar h2#page-title{
        margin-top: 0;
    }
    .node-type-press-area-news hr,
    .node-type-press-area-notes hr,
    .node-type-press-area-kit hr,
    .node-type-press-area-descargas hr,
    .noticias hr{
        margin-bottom: 50px;
        width: 75%
    }

    .noticias footer .col-md-6{
        text-align: center;
    }
    .noticias footer .col-md-6:last-child{
        text-align: center;
        margin-top: 30px;
    }
    .finder-buscador_bodegas{
        padding: 0;
    }
    .info-bodega .col-md-3{
        margin: 10px auto;
    }
    .wine-cellar .row-full.info{
        margin-bottom: 50px;
    }
    .eventos .col-md-7 {
        margin-top: 80px;
    }
    .eventos .field-name-field-gallery{
        margin: 0 auto;
    }

    .block-body,
    .content .carousel-caption {
        width: 200px;
        height: 200px;
        padding-top: 40px;
    }

    .block-body p,
    .carousel-caption p {
        height: 60px;
        line-height: 60px;
    }

    .block-body p {
        font-size: 18px;
    }

    .block-body p img,
    .carousel-caption p img {
        width: 180px!important;
    }
    .finder-results-buscador_eventos .view-content{
        grid-template-columns: 100%;
    }
}
@media screen and (max-width:768px) {


    .eventos .field-slideshow{
        width: 100% !important;
        height: auto;
    }    

    .field-slideshow-slide {
        width: 100% !important;
        height: auto !important;
    }

    #carousel-main .title,
    #carousel-main .title a{
        font-size: 16px;
    }

    .carousel-indicators{
        display: none;
    }

    .field-slideshow-carousel-wrapper{
        display: none;
    }

    .field-type-tablefield{
        display: none;
    }

    .region-noticias{
        margin: 88px auto 45px;
    }

    .truck{
        display: none;
    }

    .region-footer .logos .col-sm-4{
        text-align: center;
        margin-bottom: 40px;
    }

    

    .copyright{
        text-align: center;
        margin-top: 40px;
    }

    .page-datos .dato{
        margin-bottom: 160px;
    }

}

@media screen and (max-width: 767px) {

    .block-body,
    .content .carousel-caption {
        width: 150px;
        height: 150px;
        padding-top: 35px;
    }

    .block-body p,
    .carousel-caption p {
        height: 40px;
        line-height: 40px;
    }

    .block-body p {
        font-size: 15px;
    }

    .block-body p img,
    .carousel-caption p img {
        margin: 0 auto;
        width: 120px!important;
    }

  /*  #sliding-popup .popup-content #popup-text p {
        font-size: 10px;
        line-height: 14px;
    }

    #sliding-popup .popup-content #popup-text, #sliding-popup .popup-content #popup-buttons {
        height: 40px;
        line-height: 40px;
    }*/
}

@media screen and (max-width: 715px) {
    .rutasdelvino {
        line-height: 35px;
        height: 70px;
        font-size: 25px;
    }

    .rutasdelvino a {
        font-size: 25px;
    }

}

@media screen and (max-width:568px) {
    .block-body,
    .carousel-caption{
        position: absolute !important;
    }
}


@media screen and (max-width:480px) {
    #logo {
        display: block;
        background: url(../img/logo.png) 0 0 no-repeat;
        background-size: 240px;
        width: 240px;
        height: 78px;
        float: none;
        margin: 10px auto 0;
    }
    .menu-principal{
        top: 119px;
    }
    .menu-right{
        top: 290px;

    }

    .login-toggle{
        top: 30px;
    }

    .menu-toggle{
        top: 30px;
    }

    .menu-toggle:hover,
    .login-toggle:hover{
        outline: none;
    }
    #carousel-main .title,
    #carousel-main .title a{
        font-size: 12px;
    }

    .prensa .img-prensa h3{
        font-size: 28px;
    }
    .prensa .img-prensa h3:after{
        font-size: 28px;
    }
    .fichas-prensa{
        margin: 50px auto;
    }

    .wine-cellar h1#page-title,
    .wine-cellar h2#page-title{
        font-size: 35px;
    }

    .noticias h1#page-title,
    .noticias h2#page-title {
        font-size: 25px;
    }

    .icon-plus:before,
    .icon-minus:before{
        font-size: 24px;
    }
    .map-icon:before{
        font-size: 40px;
    }

    .featured-date .date-display-single{
        position: relative;
        margin: 0 auto;
        margin-top: -115px !important;
        padding-top: 1px;
    }
    .eventos .field-slideshow img{
        margin-top: 30px;
    }

    .eventos .featured-date .field-item{
        margin-left: 0px;
    }
    .eventos aside{
        padding-top: 0;
    }
    .eventos .reservar{
        margin-bottom: 30px;
    }
}

@media screen and (max-width:380px) {
    #header{
        min-height: 170px
    }

    .login-toggle{
        font-size: 30px;
        left: 100px;
        top: 108px;
    }

    .menu-toggle{
        font-size: 30px;
        right: 100px;
        top: 108px;
    }
    .menu-principal{
        top: 155px;
    }

    #carousel-main .title,
    #carousel-main .title a{
        font-size: 10px;
    }

    .block-body,
    .content .carousel-caption {
        width: 125px;
        height: 125px;
        padding-top: 20px;
    }

    .block-body p {
        font-size: 12px;
    }
}

@media screen and (max-width: 374px) {
    .rutasdelvino,
    .rutasdelvino a {
        font-size: 21px;
    }
}
