/*
Theme Name: Child Theme Sydney
Theme URI: 
Description: Child theme of sydney theme for the Sydney theme
Author: <a href="http://athemes.com">aThemes</a>
Author URI: 
Template: sydney
Version: 1.42
*/

/* Generated by Orbisius Child Theme Creator (http://orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/) on Fri, 17 Nov 2017 09:14:26 +0000 */ 
/* The plugin now uses the recommended approach for loading the css files.*/

/********************************************/
/*		CUSTOM STYLE		   */
/*******************************************/

@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?wj0dz5');
  src:  url('fonts/icomoon.eot?wj0dz5#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?wj0dz5') format('truetype'),
    url('fonts/icomoon.woff?wj0dz5') format('woff'),
    url('fonts/icomoon.svg?wj0dz5#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  color: #FFFFFF;
  font-size: 60px;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon a i:before {
    color: #FFFFFF;
    font-size: 56px;
    position: absolute;
    top: 32%;
    left: 28%;
}
.icon-valserrano-enoturismo:before {
  content: "\e900";
}
.icon-valserrano-noticias:before {
  content: "\e901";
}
.icon-valserrano-tienda:before {
  content: "\e902";
}
.icon-valserrano-contacto:before {
  content: "\e903";
}


li.wpmenucartli a.wpmenucart-contents span {
    display: none !important;
}

.header-image {
    display: block;
    position: relative;
}
.banderas {
    position: absolute !important;
    right: -22px;
}

.blog .header-image,
.product-template-default .header-image,
.woocommerce-cart .header-image,
.woocommerce-page .header-image,
.single-post .header-image,
.search .header-image,
.search-results .header-image {
	background-image: url('https://valserrano.com/wp-content/uploads/2016/05/cabecera-color.jpg') !important; 
}
.woocommerce #content div.product div.images, 
.woocommerce div.product div.images, 
.woocommerce-page #content div.product div.images, 
.woocommerce-page div.product div.images {
    width: 16%;
}
.woocommerce #content div.product div.summary, 
.woocommerce div.product div.summary, 
.woocommerce-page #content div.product div.summary, 
.woocommerce-page div.product div.summary {
    width: 70%;
}
.header-image:before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(0,0,0,.3);
}
.home .header-image {
    display: none;
}

.widget-area .widget {
    padding-top: 0px;
}
.widget-area a {
	color: #000000;
}

img.attachment-large-thumb.size-large-thumb.wp-post-image {
    max-width: 400px;
}

/* HUGE IT GALLERY */

/*.element_1 .title-block_1,
.element_3 .title-block_3,
.element_4 .title-block_4,
.element_5 .title-block_5,
.element_6 .title-block_6,
.element_7 .title-block_7 {
    height: 38px !important;
}*/
.view-first .text-category, .view-first .mask-text h2, .view-first .mask-text p {
    color: #fff !important;
    position: absolute;
    width: 100%;
    left: 0;
    top: 15%;
}
.element_1 .mask .text-category {
    display: none;
}

.element_1 .title-block_1 a,
.element_3 .title-block_3 a,
.element_4 .title-block_4 a,
.element_5 .title-block_5 a,
.element_6 .title-block_6 a,
.element_7 .title-block_7 a {
	color: #CACACA !important;
}

.huge_it_gallery_like_cont_145 .huge_it_like {
    display: none;
}

/*   FORMULARIO CONTACTO   */

#nombre {
	display: inline-block;
    float: left;
    width: 47%;
}

#nombre label {
	width: 75px;
}

#nombre input[type="text"],
#nombre input[type="email"], 
#nombre input[type="number"] {
	height: 30px;
	margin-top: 23px;
    margin-left: 10px;
    margin-right: 40px;
    width: 65%;
}

#nombre1 label {
	width: 78px;
	float: left;
	margin-top: 20px;
}

#nombre1 textarea {
	width: calc(100% - 186px);
    float: left;
    margin-left: 10px;
    margin-bottom: 25px;
    margin-top: 20px;
}

#mensaje {
	width: 80%;
}

#titulo-contacto {
    font-size: 20px;
    font-weight: 900;
    line-height: 30px;
}


#coupon_code {
    height: 34px;
    width: 125px !important;
}

/**********/
.grid-index {
    list-style-type: none;
    margin: 0;
    padding: 0;
    zoom: 1;
}
.grid-index li {
    width: 240px;
    height: 240px;
    margin: 0;
    padding: 0;
    float: left;
    overflow: hidden;
    position: relative;
}

.grid-index .last-child {margin-bottom: 37px;}
.grid-index li img {
    width: 240px;
    height: 240px;
}

.portfolio-item .portfolio-info {top: 245px; -webkit-transition: top 1s ease-in-out; transition: top 1s ease-in-out;}

.portfolio-item:hover .portfolio-info {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.74);
    top: -1px;
    left: -1px;
    width: 242px;
    height: 241px;
}

.portfolio-item:hover .portfolio-info .pluss {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 10px 13px 5px 13px;
    color: #FFFFFF;
    background: #8C040A;
}

#thumbwrapper1 #huge_it_gallery
#thumbwrapper3 #huge_it_gallery,
#thumbwrapper4 #huge_it_gallery,
#thumbwrapper5 #huge_it_gallery,
#thumbwrapper6 #huge_it_gallery,
#thumbwrapper7 #huge_it_gallery,
#thumbwrapper8 #huge_it_gallery {
    background: none;
    box-shadow: 0 0;
}

#thumbwrapper1 #huge_it_gallery .huge_it_big_li img,
#thumbwrapper3 #huge_it_gallery .huge_it_big_li img,
#thumbwrapper4 #huge_it_gallery .huge_it_big_li img,
#thumbwrapper5 #huge_it_gallery .huge_it_big_li img,
#thumbwrapper6 #huge_it_gallery .huge_it_big_li img,
#thumbwrapper7 #huge_it_gallery .huge_it_big_li img, 
#thumbwrapper8 #huge_it_gallery .huge_it_big_li img {
    border: 0;
    border-radius: 0;
}

#huge_it_gallery_content_1, #thumbwrapper3, 
#thumbwrapper4, #thumbwrapper5, 
#thumbwrapper6, #thumbwrapper7, 
#thumbwrapper8  {margin-top: 33px;}

/*    VINOS    */
.woocommerce-tabs div h2 {
	visibility: hidden;
}
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
    background-color: #8e0000;
}
.post-205 .title-post {text-align:center;}
.vino-img {margin-right: 4em;}

.slogan-vino {    
	font-size: 20px;
    line-height: 34px;
    margin-top: 36px;
}

.vinos-fondo {
    margin-top: 60px;
}

.vinos-fondo .vino {
	margin-top: 6%;
	margin-left: 1%;
    margin-right: 1%;
}
.vinos-fondo img {
    vertical-align: sub;
    margin: 0px 4px;
    width: auto;
    height: 390px;
}

/*  MENU SIDEBAR  */
#menu-menu-sidebar .sub-menu li {
	padding: 8px 0 8px 35px !important;
}
#menu-menu-sidebar .sub-menu li:first-child {
	margin-top: 12px;
	border-top: 1px solid #D8D8D8;
}
#menu-menu-sidebar li {
	border-top: 1px solid #D8D8D8;
	padding: 8px 0 8px 15px !important;
}
#menu-menu-sidebar .sub-menu li:last-child {
	border-bottom: none !important; 
	padding-bottom: 0 !important;
}
#menu-menu-sidebar li a:hover, #menu-menu-sidebar .sub-menu li a:hover {
	color: #F9C128 !important;
}

/* SOCIAL */

#sidebar-footer .social {
	float: right;
}
#sidebar-footer .social ul li {
    width: 35px;
    margin-left: 7px;
    display: inline-block;
    padding-top: 0;
    margin-top: -5px;
}
#sidebar-footer .social ul li a img {
	width: 100%;
}

.social ul li {
    width: 30px;
    margin-left: 2px;
    display: inline-block;
    border-bottom: 0px !important;
}

.social ul li a {padding-left: 0px !important;}

#rutaVino {
    width: auto !important;
    height: 40px !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
}
/*   FOOTER   */

#sidebar-footer {
	position: absolute;
    z-index: 10;
    width: 100%;
    margin-top: 160px;
}

.politica ul li {
    display: inline-block;
    border-bottom: 0px !important;
}

.footer-widgets {
    background-color: transparent !important;
    padding: 0 !important;
}
.politica ul li a {
    padding-right: 19px;
}


.woocommerce div.product .product_title {
    font-size: 32px;
}
.product_meta {
    display: none;
}


/************ CROP IMAGE **************/
div[class^="image-block"]{
	position: relative !important;
	width: 380px !important;
	height: 226px !important;
	overflow: hidden;
}
div[class^="image-block"] > a > img {
	position: absolute !important;
	left: 50% !important;
	top: 50% !important;
	height: 226px !important;
	width: 380px !important;
	-webkit-transform: translate(-50%,-50%) !important;
	    -ms-transform: translate(-50%,-50%) !important;
	        transform: translate(-50%,-50%) !important;
}
.hugeitmicro-item{
	width: 380px !important;
	height: 226px !important;
}

.boton-tienda-vinos {
    background-image: url(https://valserrano.com/wp-content/uploads/2018/09/valserrano-tienda-vinos.jpg);
    background-size: auto 100%;
    border-radius: 10px;
    text-align: center;
    padding: 110px 22px;
}
.boton-tienda-vinos > p:first-child {
    font-size: 30px;
    color: #FFFFFF;
}

.tienda-vinos {
    font-size: 100%;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    font-family: inherit;
    text-decoration: none;
    text-transform: uppercase;
    overflow: visible;
    padding: 16px 34px;
    font-weight: 700;
    border-radius: 3px;
    left: auto;
    color: #fff !important;
    background: #8e0000;
    border: 0;
    white-space: nowrap;
    display: inline-block;
    background-image: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    text-shadow: none;
}



/*   HOME 2   */

.slides-container .slide-item:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0,.3);
}

.text-slider .maintitle {
    font-size: 42px;
}
.slide-inner {
    top: 55%;
    width: 45%;
    margin-left: 8%;
}
.slider-logos {
    text-align: center;
	position: absolute;
    min-height: 280px;
    top: 30%;
    margin-left: 40px;
    margin-right: 8%;
    z-index: 2;
    right: 0;
}
.slider-logos .service .roll-icon-box {
    text-align: center;
}
.slider-logos .service .roll-icon-box .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 120px;
    height: 120px;
    background-color: rgba(0,0,0,.35);
    border-color: transparent;
    border-radius: 50%;
    margin: 0 auto;
    margin-bottom: 11px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}
.slider-logos .service .roll-icon-box .icon::before {
    content: '';
    margin: -35px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    filter: blur(20px);
    z-index: -1;
}

.slider-logos .service .roll-icon-box #enlace:hover span {
    color: #8e0000;
}
.slider-logos img {
	width: 60px;
    height: 60px;
    position: static !important;
    margin-top: calc((120px - 60px)/2);
}
.slider-logos h3 a {
	color: #FFFFFF !important;
}


footer #imagen-fondo {
    max-width: 100%;
    position: relative;
}

.header-slider {
    height: 100vh !important;
}

@media only screen and (max-width: 500px) {
    /*   SLIDER    */
    .site-header {
        padding: 8px 0;
    }
    .slider-logos {
        top: 5%;
    }
    .site-logo {
        max-height: 65px;
    }


    .vinos-fondo img {
        margin: 0px 4px 25px;
        height: 308px;
    }

    /*   WOOCOMERCE   */
    .woocommerce #content div.product div.summary, 
    .woocommerce div.product div.summary, 
    .woocommerce-page #content div.product div.summary, 
    .woocommerce-page div.product div.summary {
        width: 100%;
    }

    footer #imagen-fondo {
        margin-top: 75px;
    }
    .footer-widgets .widget {
        margin-bottom: 17px;
    }
    #sidebar-footer {
        margin-top: 0;
    }
}

@media only screen and (max-width: 767px) {
    .slide-inner {
        display: none !important;
    }
    .vinos-fondo img {
        margin: 0px 4px 25px;
        height: 308px;
    }

    .slider-logos {
        width: 100%;
        margin: 0;
        top: 18%;
    }

    /*   MENU   */
    #mainnav-mobi {
        right: 0;
    }
    #mainnav-mobi ul > li > a {
        padding: 10px 15px;
    }
    .btn-submenu {
        right: 2px;
        width: 44px;
    }
    #mainnav-mobi ul.sub-menu > li > a {
        padding: 5px 25px;
    }
    #sidebar-footer {
        margin-top: 15px;
    }
}
@media only screen and (max-width: 991px) {
    .slide-inner {
        top: 20%;
        width: 90%;
        margin: 0 auto;
    }
    .slider-logos {
        margin: 0;
    }
}

.hr-page{
	border-top: 1px solid #c5c5c5;
}