/*
 Theme Name:   Roof Child
 Theme URI:    http://themeforest.net/user/VictorThemes
 Description:  Roof Child Theme
 Author:       VictorThemes
 Author URI:   http://themeforest.net/user/VictorThemes/portfolio
 Template:     roof
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         one-column, two-columns, left-sidebar, right-sidebar, custom-menu, featured-images, post-formats, theme-options, translation-ready
 Text Domain:  roof-child
*/


/* Write Custom CSS */

p,
.square-bullets li{
	/*font-size: 16px;*/
	line-height: 1.8;
}

.square-bullets li{
	margin-bottom: 25px;
}
.square-bullets li:before{
	top: 9px;
}

.code-row{
	display: none;
}

/* HEADER */

.roof-style-two .dhav-transparent-logo img {
    filter: grayscale(1) brightness(100);
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), not all, not all, not all{
	.roof-logo .default-logo, 
	.roof-logo.hav-transparent-logo .transparent-retina-logo, 
	.roof-logo.hav-transparent-logo .transparent-default-logo, 
	.roof-logo img.default-logo {
	    display: inline-block;
	}
}

header .contact-info a{ font-family: "Open Sans", Arial, sans-serif; color: #888888;}

header .contact-info a:hover,
header .contact-info a:focus{
    color: #c81015;
}

.logo-mobile{
	display: none;
	position: absolute;
	top: 0;
	padding: 10px 20px;
}
.logo-mobile img{
	filter: grayscale(1) brightness(100);
	height: 50px;
}

@media (max-width: 992px){
	.is-sticky .roof-social{
		display: none !important;
	}
	.is-sticky .logo-mobile{
		display: block;
	}
}

/* MENU */

/* Menu Colors - editarlo desde el admin afecta las 3 versiones de header por igual */
.roof-header.header-style-three{
    background: transparent !important;
}
.is-sticky .roof-header.header-style-three{
	background: rgba(0, 85, 142, 0.9) !important;
}

.mean-container .mean-bar{
	overflow-y: auto;
}

.roof-menu .navbar-nav > li.active:before {
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    content: '';
    border-bottom: 4px solid rgba(255,255,255,0.3);
}

.roof-social a, 
.roof-social span{
	background: rgba(255, 255, 255, 0.10);
    color: #f2f2f2 !important;
}
header .roof-social a:hover,
header .roof-social span:hover{
	background-color: #dd3333;
}

/*@media (min-width: 991px){
	#menu-menu-principal{
		width: calc(100% - 178px);
	}
}*/ /*Ajuste por el cambio de men�*/

.mi-cuenta-link{
	float: right !important;
}

/* TITLE BAR */
.roof-page-title {
	padding: 0px;
	background-attachment: fixed;
    background-position: center !important;
}

/* Botones */
.rev-btn{
	color: #FFF !important;
	background-color: #00558e !important;
	border-color: #00558e !important;
	transition: all 0.3s;
}
.rev-btn:hover{
	border-color: #FFF !important;
}
.roof-btn,
.roof-btn:hover,
.roof-btn:focus,
.bilpa-btn a,
.bilpa-btn a:hover,
.bilpa-btn a:focus,
input[type="submit"],
.single_add_to_cart_button{
	color: #FFF !important;
	background-color: #00558e;
	border-width: 2px;
	border-color: #00558e;	
}
.roof-btn,
.bilpa-btn a,
input[type="submit"]{ 
	transition: all 0.3s; 
}
.roof-btn:hover, 
.roof-btn:focus,
.bilpa-btn a:hover,
.bilpa-btn a:focus,
input[type="submit"]:hover,
input[type="submit"]:focus{ 
	border-color: #003f70 !important; 
}

.bilpa-btn a{
	padding: 15px 24px !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	color: #FFF !important;
	text-transform: uppercase;
	background-color: #00558e !important;
	background-image: none !important;
	border-width: 2px !important;
	border-color: #00558e !important;
}
.bilpa-btn a:hover,
.bilpa-btn a:focus{
	background-color: #003f70 !important; 
	border-color: #003f70 !important; 
}

/* Links */
.grid-read-more a,
.servicios-post-grid a{
	padding: 0 !important;
	font-weight: 700;
	color: #00558e !important;
	text-transform: uppercase;
	background-color: transparent !important;
	background-image: none !important;
}

/* Tabs */
.filters-nav > li > a.active, 
.filters-nav > li > a.active:hover{
	color: #FFF;
	background-color: #00558e;
}
.navbar-nav.filters-nav > li:hover > a{
	color: #FFF;
}

@media (max-width: 991px){
	.roof-main-wrap .filters-nav{
		display: grid;
		grid-auto-flow: column;
		align-items: center;
	}
	.filters-nav > li,
	.filters-nav > li > a{
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100%;
	}
}
@media (max-width: 639px){
	.filters-nav > li > a{
		padding: 10px;
	}
}
@media (max-width: 479px){
	.roof-main-wrap .filters-nav{
		display: block;
	}

	.filters-nav > li {
		display: block;
	}
}




/* Acordeones */
.panel-heading a:before{
	font-family: FontAwesome;
	content: '\f078';
	color: #b5b5b5;
}
.panel-heading.accordion-active a:before{
	content: '\f077';
}


/* Sliders */
.roof-works .slick-slider .slick-dots li.slick-active button:before{ color: #0083db; }

/* Carrusel de logos */

@media (max-width: 767px){
	.owl-dots{
		display: none;
	}
}

/* Productos */

.woocommerce .widget_product_search input {
	padding-right: 70px;
	margin: 0;
}

.woocommerce .widget_product_search form button {
    position: absolute;
    bottom: 0;
    right: 0;
    top: 0;
    min-width:70px;
    height: 45px;
    padding: 0;
    z-index: 1;
}


@media (max-width: 991px){

	.woocommerce .widget_product_search form button {
		position: relative;
		width: 100%;
		height: 45px;
		padding: 0;
		z-index: 1;
	}

	.woocommerce .widget_product_search input {
		padding-right: 20px;
		margin: 0;
	}

}

.post-type-archive-product .formulario-producto,
.tax-product_cat .formulario-producto
{
	display: none;
}

.formulario-producto{
	padding: 20px;
    background-color: #eee;
}


.woocommerce ul.products li.product .button:hover, 
.woocommerce ul.products li.product .button:focus{
	background-color: #00558e;
}

.single-product .oculto-single-product{
	display: none;
}

/* Servicios */
.expert-item:hover{
	background-color: #00558e;
}
.expert-item:hover img{ filter: invert(1); }


/* Team */
.sin-excerpt .mate-info p{
	display: none;
}
.team-wrap .mate-list .roof-picture {
    background: #e1e9f4;
}
.mate-name a {
    color: #232323 !important;
}

/* Carrousel de marcas */
.marcas .vc_column-inner{
	padding-top: 0 !important;
}
.marcas .roof-partners{
	padding-top: 0 !important;
}

/* Breadcrumbs */
.breadcrumb{
	display: none;
	float: none;
}

/* sacar el primer item "Home >" de los breadcrumbs excepto en servicios que lo necesitamos para reemplazarlo por Servicio (custom-script.js) */
body:not(.single-servicio) .breadcrumb > span > span > a:first-of-type{
	display: none;
}
body:not(.single-servicio) .breadcrumb > span > span {
    font-size: 0;
}
.breadcrumb > span > span > span {
    font-size: 12px;
}

.woocommerce .breadcrumb,
.single-portfolio .breadcrumb,
.single-servicio .breadcrumb {
	display: block;
}
.woocommerce.post-type-archive .breadcrumb{
	display: none;
}
.breadcrumb_last{
	display: none;
}

.back-link{
	display: inline-block;
    font-weight: 500;
    color: #00558e;
    margin-bottom: 30px; 
}
.back-link i{
	margin-right: 10px;
}

/* PRODUCTOS */

.woocommerce ul.products li.product a img{
	object-fit: contain;
	height: 270px;
}

.product-categories .children{
	display: none;
}
.product-categories .current-cat-parent > .children{
	display: block;
}

.cat-item a{
	padding-left: 0 !important;
	padding-right: 20px;
}
.cat-item a:after{
	display: none;
}
.cat-parent{
	position: relative;
}

.ficha-tecnica{
	display: none;
	margin-top: 20px;
	margin-bottom: 20px;
}
.logged-in .ficha-tecnica{
	display: block;
}

.ficha-tecnica .roof-btn{
	font-weight: 700;
	font-size: 13px;
}
.ficha-tecnica .roof-btn i{
	position: relative;
	top: 2px;
	font-size: 16px;
}

.expandir{
	position: absolute;
	right: 0;
	width: 20px;
	font-style: normal;
	font-size: 20px;
	color: gray;
	text-align: center;
	cursor: pointer;
}
.expandir:after{
	content: "+";
}
.expandir.expandido:after{
	content: "-";
}

.current-cat-parent > a {
    font-weight: 600;
    color: #000 !important;
}

.current-cat-parent > a:after {
    transform: rotate(90deg);
}

.current-cat > a {
    font-weight: bold;
    color: #337ab7 !important;
}

.widget_categories >ul>li, 
.widget_product_categories >ul>li, 
.widget_archive > ul > li, .widget_pages > ul > li, .widget_meta > ul > li, 
.widget_recent_entries > ul > li{
	border-color: #CCC;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
    color: #FFF !important;
}


/* Oculta el dropdown de ordenación de productos */
.woocommerce-ordering{
    display: none;
}

/* achicar el margen entre el paginado y los productos */
ul.products{
    padding-top: 0px;
}

.woocommerce-loop-category__title {
	font-size: 1.5rem;
}

/* PROYECTOS */

.work-info .work-title a:hover {
    color: #FFF !important;
}

.single-portfolio .item > .roof-picturee{
	margin-bottom: 42px;
	pointer-events: none;
}


/* Contacto*/

.grey-fields input:not([type="submit"]),
.grey-fields textarea{
    background-color: #f2f2f2;
}

.accordion .panel-content p {
    position: relative;
    padding-left: 20px;
    line-height: 1.6;
    margin-bottom: 15px;
}
.accordion .panel-content p a{
	color: #888;
}
.accordion .panel-content p i {
    position: absolute;
    top: 5px;
    left: 0;
}

.grid-form input[type="submit"]{
	margin-top: 20px;
}

@media (min-width: 768px){

	.grid-form{
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		grid-gap: 20px;
		align-items: center;
	}
	.grid-form label{
		text-align: right;
		margin-bottom: 0;
	}
	.grid-form input[type="file"]{
		margin-bottom: 0;
	}
	.grid-form input[type="submit"]{
		margin-top: 0;
	}

}


/* SERVICIOS */


.servicios-post-grid .vc_gitem-zone{
	background-color: transparent !important;
	margin-bottom: 15px;
}
.servicios-post-grid .vc_gitem-zone:before{
	display: none;
}

.servicios-post-grid .vc_gitem-zone .vc-zone-link{
	position: relative;
	padding-bottom: 56.25% !important;
}
.servicios-post-grid  .vc_gitem-zone-img{
	display: block !important;
	position: absolute;
}
.servicios-post-grid .vc_custom_heading h4 {
    font-size: 14px;
    text-transform: uppercase;
}

.widget-sidebar-nav ul > li:not(.current-menu-item) > a:hover{
	background-color: #ececec !important;
}
.roof-sidenav .current-menu-item a,
.roof-sidenav .current-menu-item a:hover{
	color: white;
}

.single-servicio .roof-services {
    padding: 0;
}


/* MI CUENTA */
.woocommerce-MyAccount-navigation-link--orders,
.woocommerce-MyAccount-navigation-link--downloads,
.woocommerce-MyAccount-navigation-link--edit-address{
	display: none;
}

.woocommerce-Button,
.woocommerce-button{
	font-family: 'Raleway';
	color: white !important;
}

.woocommerce-privacy-policy-text{
	display: none;
}

.woocommerce table.my_account_orders td, .woocommerce table.my_account_orders th {
     padding: 15px 20px;
}

@media (min-width: 1200px){
	.woocommerce table.my_account_orders td,  .woocommerce table.my_account_orders th {
		 min-width: 135px; /*así hay mas espacio para los montos*/
	}
}

.woocommerce-MyAccount-navigation ul{
	padding-left:0px;
}

.woocommerce-account .woocommerce-MyAccount-navigation{
	width:25%;
}

.woocommerce-account .woocommerce-MyAccount-content{
	width:72%;
}

.woocommerce-account .roof-page-title{
	display: none;
}


/* FOOTER */
.footer-company-copy img{
	max-width: 170px;
	filter: grayscale(1) brightness(100);
}

.roof-footer p{
	position: relative;
	padding-left: 20px;
	line-height: 1.6;
	margin-bottom: 15px;
}
.roof-footer p i{
	position: absolute;
	top: 5px;
	left: 0;
}

.roof-footer .roof-social{ display: block; }
.roof-footer .roof-social h6{ text-transform: uppercase; }

.roof-footer a:hover, 
.roof-footer .roof-social a:hover,
.roof-footer .roof-social a:hover i{ 
	color: #FFF !important; 
}


::-webkit-scrollbar, 
::-webkit-scrollbar-track {
    border-radius: 50px;
}
::-webkit-scrollbar {
    width: 10px;
    background-color: #ededed;
}
::-webkit-scrollbar, 
::-webkit-scrollbar-track {
    border-radius: 50px;
}
::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,.2);
    border-radius: 15px;
    border: rgba(0,0,0,.2);
    border: 0 solid #ededed;
}
::-webkit-scrollbar-track {
    background-color: #ededed;
}