/*
	Theme Name:   SuministrosFenollar Theme
	Theme URI:    https://www.acceseo.com/
	Description:  Theme Suministros Fenollar - acceseo.com
	Author:       acceseo
	Author URI:   https://www.acceseo.com/
	Version:      1.0.0
	Template:     hello-elementor
	License:      GNU General Public License v2.0 or later
	License URI:  https://www.gnu.org/licenses/gpl-2.0.html
	Text Domain:  suministrosfenollar
*/

/* REM multiplos de 10 p.e.: si eran 19px, son 1.9rem */
html {
    /*font-size: 62.5%;*/
    font-size: 61%;
}

body {
    font-size: 16px;
}


/*** Cookies ***/
.wpgdprc-consent-bar {
    position: absolute;
    bottom: 20px !important;
    left: 20px !important;
    right: unset !important;
    width: fit-content;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, .8) !important;
}

.wpgdprc-consent-bar .wpgdprc-consent-bar__content {
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    line-height: 1.6em;
    font-family: "Lexend";
    padding: 10px;
}

.wpgdprc-consent-bar .wpgdprc-consent-bar__content button,
.wpgdprc-button.wpgdprc-button--secondary {
    background: #E30613 !important;
    border: none !important;
    color: #fff !important;
    position: absolute;
    right: 20px;
    bottom: 10px;
    font-size: 1.5rem;
    line-height: 1.6em;
    outline: none;
}

.wpgdprc-consent-bar .wpgdprc-consent-bar__content a {
    position: absolute;
    left: 20px;
    bottom: 10px;
}

.wpgdprc-consent-bar__notice {
    margin-bottom: 50px !important;
}

/*** End Cookies ***/

.policy-links a:hover {
    text-decoration: underline;
}



/*** Global ***/
#top-page {
    position: absolute;
    top: 0;
    left: 0;
}

.cm-full-slider,
.cm-full-slider>div,
.cm-full-slider .elementor-image-carousel-wrapper,
.cm-full-slider .elementor-image-carousel,
.cm-full-slider .swiper-slide,
.cm-full-slider figure,
.cm-full-slider img {
    height: 100%;
}

.cm-full-slider div figure img {
    object-fit: cover;
}

.cm-full-slider .swiper-pagination {
    bottom: 25px;
}

.cm-full-slider .swiper-pagination span {
    opacity: 1;
    margin: 0 17px !important;
}

.cm-full-slider .swiper-pagination span.swiper-pagination-bullet-active {
    background-color: #E30613 !important;
}

@media (max-width: 1024px) {
    .cm-full-slider .swiper-pagination {
        bottom: -50px !important;
    }

    .cm-full-slider .swiper-pagination span.swiper-pagination-bullet {
        background-color: #E9E9E9 !important;
    }

    .cm-full-slider .swiper-pagination span.swiper-pagination-bullet-active {
        background-color: #E30613 !important;
    }
}

@media(max-width: 767px) {
    .hide-br-phone br {
        display: none
    }
}

@media (max-width: 767px) {
    .cm-posts .elementor-posts {
        gap: 20px !important;
    }

    .cm-posts .elementor-post__thumbnail__link {
        margin-bottom: 0 !important;
    }
}


.cm-posts article img {
    transition: 1s !important;
    object-fit: cover;
}

.cm-posts article .elementor-post__thumbnail img:hover {
    filter: brightness(.6);
}

.cm-posts article h3:hover {
    text-decoration: underline;
}

.cm-category select {
    border: none;
    font-size: 2rem;
    font-weight: medium;
    line-height: 1.2em;
    font-family: 'Lexend Deca';
}

.cm-category h5 {
    display: none;
}

.featured {
    color: #E30613;
}


.cm-hover-btn a .elementor-button-icon {
    transition: 1s;
}

.cm-hover-btn a:hover .elementor-button-icon {
    transform: translateX(10px);
}

/*** End Global ***/

body.blog:not(.paged) .page-numbers.prev {
    display: none;
}

@media(max-width: 767px) {
    .selected-brands ul.jw-slick-dots {
        display: none !important;
    }
}



/*** Header ***/
#header,
#header .elementor-widget-theme-site-logo img {
    transition: .8s;
}

@media (min-width: 1025px) {
    .fixed-min {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .fixed-min img {
        width: 235px !important;
    }

    header.fixed-min {
        box-shadow: 0px 3px 36px #00000017;
    }
}

body.post-type-archive-marcas .cm-nav .menu-item-45 a,
body.post-type-archive-marcas .cm-footer-nav .menu-item-52 a,
body.post-type-archive-marcas .cm-nav-phone .menu-item-45 a {
    color: #e30613 !important;
}

@media(max-width: 1300px) and (min-width: 1025px) {
    #header {
        padding: 25px 20px;
    }

    .cm-nav li {
        margin-right: 25px !important;
        font-size: 1.6rem;
    }
}

@media (max-width: 1024px) {
    .nav-up {
        top: -100px !important;
    }
}

@media(max-width: 1024px) {
    #header {
        box-shadow: 0 3px 36px #00000017;
    }
}

.cm-nav-phone li {
    width: fit-content;
    margin-bottom: 20px !important;
}

.cm-nav-phone li:last-child a {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.cm-nav li:last-child a,
.cm-nav-phone li:last-child a {
    border: 2px solid #E30613;
    border-radius: 111px;
    transition: .3s;
}

.cm-nav li:last-child a {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.cm-nav li:last-child a:hover,
.cm-nav-phone li:last-child a:hover {
    background-color: #E30613 !important;
    color: #fff !important;
}

/*** End Header ***/


/*** Home ***/
/* Slider home */
.cm-bt-slider .carousel-inner,
.cm-bt-slider .carousel-inner .carousel-item {
    height: 48vh;
    /*max-height: 525px;*/
    min-height: 300px;
    cursor: grab;
}

.cm-bt-slider .carousel-inner .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.cm-bt-slider ol.carousel-indicators {
    gap: 30px;
    margin-bottom: 30px;
}

.cm-bt-slider ol.carousel-indicators li {
    width: 15px !important;
    height: 15px !important;
    background: #E9E9E9;
    border-radius: 50%;
    border: 0;
    opacity: 1;
    margin: 0;
}

.cm-bt-slider ol.carousel-indicators li.active,
.cm-bt-slider ol.carousel-indicators li:hover {
    background: #E30613;
}


@media(max-width: 1024px) {
    .cm-bt-slider ol.carousel-indicators {
        gap: 10px;
        margin: 0 0 -40px 0;
    }
}

/* End Home Slider */
.cm-box1 img {
    margin-top: -15px
}

.cm-posts .elementor-post__text {
    display: flex;
    flex-direction: column;
}

.cm-posts .elementor-post__title {
    order: 2
}

.cm-posts .elementor-post__meta-data {
    order: 1;
}

.cm-posts .elementor-post__read-more {
    order: 3;
}

.cm-posts .elementor-post__read-more {
    transition: 1s;
}

.cm-posts .elementor-post__read-more:hover {
    transform: translateX(10px);
}

.cm-products-li li {
    margin-bottom: 15px;
}

.cm-products-li li::marker {
    color: #E30613;
    font-size: 2rem;
}

/* Arriba de productos */
@media (max-width: 1024px) {
    .cm-box1 .elementor-image-box-wrapper {
        flex-direction: column !important;
    }

    .cm-box1 h3 {
        margin-top: -37px;
        margin-left: 20%;
    }
}

@media(min-width: 768px) and (max-width: 1024px) {
    .box-col-1 {
        border-right: 5px solid #fff;
    }

    .box-col-2 {
        border-left: 5px solid #fff;
    }
}

@media(max-width: 767px) {
    .cm-boxes .elementor-container {
        gap: 20px;
    }
}

/* Home Dossier */
.cm-dossier,
.cm-dossier-square {
    display: grid;
    grid-template-columns: 1fr;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    align-self: center;
    text-align-last: center;
    height: 100%;
}

.cm-dossier .elementor-cta__bg-wrapper,
.cm-dossier-square .elementor-cta__bg-wrapper {
    width: 60px;
    height: 60px;
    min-width: unset;
    float: left;
    grid-row: 1;
}

.cm-dossier .elementor-cta__bg-wrapper>div,
.cm-dossier-square .elementor-cta__bg-wrapper>div {
    background-size: contain;
    background-repeat: no-repeat;
}

.cm-dossier .elementor-cta__content,
.cm-dossier-square .elementor-cta__content {
    width: fit-content;
    grid-row: 1;
}

.cm-dossier a.elementor-cta {
    padding: 35px 20px 35px 20px;
    width: 100%;
    display: grid;
    flex-direction: row;
    justify-content: center;
}

.cm-dossier-square a.elementor-cta {
    padding: 35px 20px 35px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #E1E1E1;
    height: 100%
}

.cm-dossier-square h4 {
    text-align: center;
}

/* End Home Dossier */

/* Home products */
.cm-prod .elementor-image-box-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cm-prod figure {
    width: 100% !important;
}

.cm-prod img {
    height: 65px !important;
    margin-bottom: 20px;
}

.cm-prods .elementor-widget-wrap,
.cm-prods2 .elementor-widget-wrap {
    display: grid !important;
    gap: 20px;
}

.cm-prods .elementor-widget-container,
.cm-prods2 .elementor-widget-container {
    height: 100%;
}

@media (max-width: 1024px) {
    .cm-prods .elementor-widget-wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (min-width: 1025px) and (max-width: 1600px) {
    .cm-prods .elementor-widget-wrap {
        grid-template-columns: repeat(7, 1fr);
    }

    /*.cm-prods .elementor-widget-wrap .elementor-element:nth-child(6),
    .cm-prods .elementor-widget-wrap .elementor-element:nth-child(7),
    .cm-prods .elementor-widget-wrap .elementor-element:nth-child(5) {
        display: none;
    }

    .cm-prods2 .elementor-widget-wrap {
        grid-template-columns: repeat(3, 1fr);
    }*/
}

@media (min-width: 1601px) {
    .cm-prods .elementor-widget-wrap {
        grid-template-columns: repeat(7, 1fr);
    }

    .cm-prods .elementor-widget-wrap>.elementor-element {
        min-width: 192px;
        margin-bottom: 0px;
    }

    .cm-prods2 {
        margin-top: 0 !important;
        display: none;
    }
}

/* End Home products */
/*** End Home ***/


/*** Page Products***/
.cm-product,
.cm-product .elementor-container {
    height: 100%;
}

@media (max-width: 767px) {
    .cm-product-ph {
        cursor: pointer;
    }

    .cm-product-ph .cm-products-li {
        display: none;
        margin-top: 20px;
    }

    .cm-product-ph .elementor-widget-heading,
    .cm-product-ph .elementor-widget-heading .elementor-widget-container {
        margin-bottom: 0 !important;
    }

    .cm-product-ph h3 {
        padding: 0 50px 0 0;
    }

    .cm-product-ph h3:after {
        content: '\f067';
        font-family: 'Font Awesome 5 Free';
        font-weight: 600;
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .active-product h3:after {
        content: '\f068';
    }
}

/*** End Page Products***/


/*** Page Clientes ***/
@media (min-width: 1025px) {
    .cm-industries article:nth-child(9) {
        grid-column: 1/3;
        display: flex;
    }

    .cm-industries article:nth-child(10) {
        grid-column: 3/5;
        display: flex;
    }

    .cm-industries article:nth-child(9) .elementor-post__thumbnail__link,
    .cm-industries article:nth-child(10) .elementor-post__thumbnail__link,
    .cm-industries article:nth-child(9) .elementor-post__thumbnail,
    .cm-industries article:nth-child(10) .elementor-post__thumbnail,
    .cm-industries article:nth-child(9) img,
    .cm-industries article:nth-child(10) img {
        height: 100%;
    }

    .cm-industries article:nth-child(9) .elementor-post__text,
    .cm-industries article:nth-child(10) .elementor-post__text {
        padding: 55px 35px !important;
    }

    .cm-industries article .elementor-post__text {
        padding: 5% 8% 6% 8% !important;
    }
}

@media(max-width: 1024px) {
    .cm-industries .elementor-posts-container {
        grid-row-gap: 20px;
    }
}

/*** End Page Clientes ***/


/*** Pagina Marcas ***/
.cm-brands {
    grid-template-columns: repeat(5, 1fr);
    grid-column-gap: 10px !important;
    grid-row-gap: 40px !important;
}

@media(max-width: 1024px) {
    .cm-brands {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media(max-width: 767px) {
    .cm-brands {
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 10px;
        grid-row-gap: 20px;
    }
}

.cm-brands article {
    display: flex;
    flex-direction: column;
}

.cm-brands article h3,
.cm-brands article h3 a {
    color: #1D1D1B;
    font-weight: normal;
    font-size: 1.6rem;
    line-height: 1.8em;
    font-family: 'Lexend';
}

.cm-brands article .elementor-post__thumbnail {
    border: 1px solid #CCCCCC;
    background: #F8F8F8;
    padding: 30px 0;
}


.cm-brands article img {
    width: 100% !important;
    object-fit: contain;
}

/*** End Pagina Marcas ***/



/*** SERVICIOS y EMPRESA ***/
@media(min-width: 1025px) {

    .cm-bt-slider.empresa-slider,
    .cm-bt-slider.empresa-slider div {
        height: 100% !important;
    }
}

@media (min-width: 1025px) {
    #full-abs-cont {
        height: calc(100vh - 110px);
    }

    #full-abs-cont .elementor-container {
        position: initial;
    }

    #full-abs-cont .absolute-col {
        position: absolute;
        right: 0;
        height: 100%;
    }
}

@media (max-width: 1024px) {
	#full-abs-cont > div
	{
		max-width: 100%!important;
	}
}


/*** End ***/


/*** Blog ***/
@media (max-width: 767px) {
    .cm-posts article {
        display: flex !important;
        flex-direction: row;
        gap: 10px;
    }

    .cm-posts .elementor-post__thumbnail,
    .cm-posts article a.elementor-post__thumbnail__link img:not(:hover) {
        height: 100% !important;
        object-fit: cover;
    }

    .cm-posts .elementor-post__text {
        padding: 10px 0;
    }
}

.cm-posts .elementor-pagination img {
    width: 20px;
}

/*** End Blog ***/


/*** Page Contact ***/
.cm-contact-form input::-webkit-input-placeholder,
.cm-contact-form input:-moz-placeholder,
.cm-contact-form input::-moz-placeholder,
.cm-contact-form input:-ms-input-placeholder,
.cm-contact-form input::-ms-input-placeholder,
.cm-contact-form input::placeholder {
    color: red !important;
}

.cm-contact-form .elementor-field-group-ppaccept {
    margin-bottom: 20px !important;
}

.cm-contact-form .elementor-field-group-ppaccept label {
    font-size: 1.6rem !important;
}

.cm-contact-form .elementor-field-group-ppaccept label a {
    color: #1D1D1B !important;
}

.cm-contact-form .elementor-field-group-ppaccept label a:hover {
    text-decoration: underline
}

@media(max-width: 767px) {
    .cm-contact-form label {
        display: none;
    }

    .cm-contact-form div.elementor-field-group {
        margin-bottom: 20px !important;
    }
}

.cm-contact-form textarea {
    min-height: 120px;
    max-height: 200px;
}

@media(min-width: 768px)
{
	.cm-contact-form input::placeholder,
	.cm-contact-form textarea::placeholder
	{
		color: transparent!important;
	}
}

/*** End Page Contact ***/


@media(max-width: 1600px) and (min-width: 768px) {
    section.elementor-section.elementor-section-boxed:not(.elementor-inner-section)>.elementor-container {
        max-width: 90% !important;
    }

    html {
        font-size: 50.5%;
    }
	
	.cm-product {
		min-height: 390px;
	}
}

@media(max-width: 1600px) {
    html {
        font-size: 50.5%;
    }
}











/* RESPONSIVE */

@media(min-width: 1360px)
{
	.cm-product {
		min-height: 450px;
	}
}

@media(min-width: 1025px) and (max-width: 1359px)
{
	html {
		font-size: 46.5%;
	}
	
	.cm-product {
		min-height: 350px;
	}
	
	.product__container > div .elementor-column:first-child .cm-product
	{
		padding: 0px 10px 0px 0px;
	}
	
	.product__container > div .elementor-column:last-child .cm-product
	{
		padding: 0px 0px 0px 10px;
	}
}

@media(min-width: 1360px) and (max-width: 1499px) {
	
	.cm-product {
		min-height: 320px;
	}
	
    header:not(.fixed-min) {
        min-height: 70px;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
	
	header.fixed-min {
        min-height: 50px;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
	
	header.fixed-min img {
        max-width: 90%;
    }
	#header img {
        max-width: 70%;
    }
	
	html {
		font-size: 46.5%;
	}
	
	.cm-products-li ul {
		padding-left: 30px;
	}
	
	.cm-products-li li
	{
		margin-bottom: 10px;
	}
	
	.cm-product-ph .elementor-widget-heading
	{
		margin-bottom: 0!important;
	}
	
	.cm-product div .elementor-column:nth-child(1)
	{
		width: 45%;
	}
	
	.cm-product div .elementor-column:nth-child(2)
	{
		width: 55%;
	}	
	
	.section__count .elementor-widget-container
	{
		margin-bottom: 10px!important;
	}
	
	.section__count .elementor-widget-container img
	{
		width: 50px!important;
	}
}

@media(min-width: 1025px) and (max-width: 1359px)
{
	.cm-products-li ul
	{
		padding-left: 30px!important;
	}
}


@media(max-width: 1400px) and (min-width: 1181px)
{
	.cm-prods .elementor-widget-wrap
	{
		gap: 10px;
	}
}
@media(max-width: 1180px) and (min-width: 1025px)
{
	.cm-prod img
	{
		height: 50px!important;
	}
	
	.cm-prods .elementor-widget-wrap
	{
		gap: 10px;
	}
	
	.cm-prod .elementor-widget-container
	{
		padding: 25px 15px 25px 15px!important;
	}
}

/*@media(max-width: 767px) and (min-width: 550px)
{
	.product__container > div > .elementor-column
	{
		width: 50%;
	}
}*/