  .homepage h1 {
	font-size: calc(22px + (36 - 22)*(100vw - 300px)/(1000 - 300));
	font-weight: bold;
	color: #000;
	}
	
  /*.homepage h1::after {
    content: "";
    width: 120px;
    height: 5px;
    background: #B90000;
    display: flex;
    margin: 24px;
}*/

.homepage .cover .container { margin: 0; }

.region-content-home-top {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
}


/* COVER */
.cover.block-section.clear {
	background: #fff;
	margin-bottom: 0;
}
.homepage .block-region.region-cover {
    margin-top: 0;
}
@media (max-width: 780px) {
	.homepage .block-region.region-cover { margin-top: 0; }
}


/* FRONTSLIDER */
#flexslider-1.flexslider {
    margin: 0 0 60px;
    border: 0px solid #fff !important;
    position: relative;
    zoom: 1;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}
#flexslider-1 li { overflow: hidden; }
#flexslider-1 .views-field-field-slide-procura { height: 80%; }
#flexslider-1 .flexslider .slides img {
    min-width: 960px;
    display: block;
}
.flexslider .slides img {
    width: 100%;
    display: block;
    margin: 0;
}

/*
#flexslider-1 .views-field.views-field-body {
	position: absolute;
    top: 0;
    left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .3);
	color: #fff;
	text-align: left;
	display: flex;
	justify-content: center;
	align-items: center;
}
*/

#flexslider-1 .views-field.views-field-body {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	/*background: rgba(0, 0, 0, .3);*/
	color: #fff;
	text-align: left;
}

#flexslider-1 .views-field.views-field-body .field-content {
    display: flex;
	justify-content: center;
	align-items: center;
}

#flexslider-1 .views-field.views-field-body .field-content .item {
    width: 100%;
	max-width: 40%;
}










#flexslider-1 .views-field.views-field-body h2 {
	font-size: calc(16px + (40 - 16)*(100vw - 300px)/(1000 - 300)) !important;
	text-shadow: -4px 4px 4px rgba(0,0,0, 0.6);
	margin-bottom: 0.4em;
	color: #fff;
	line-height: 1.3em;	
}
#flexslider-1 .views-field.views-field-body p {
	font-size: calc(16px + (20 - 16)*(100vw - 300px)/(1000 - 300)) !important;
}
#flexslider-1 .views-field.views-field-body a.button {
	color: #fff;
	border: 2px solid #fff;
}

/* ARREGLA LAS FLECHAS */
#flexslider-1 .flex-direction-nav a:before {
    font-size: 40px;
    line-height: 38px;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
}	

@media (max-width: 576px) {
	#flexslider-1 .views-field.views-field-body { /*position: relative;*/ width: 100%; /*background: #606062;*/ color: #fff; /*text-align: center;*/ }
	p { font-size: calc(15px + (18 - 15)*(100vw - 300px)/(576 - 300)); }
}

.content-top h2 {
    text-align: center;
    margin-bottom: 20px;
}

.main-wrapper { padding: 30px 0 0; }

/* NODE CONTENT */
.homepage .node-content {
  width: 100%;
  margin: 30px auto;
}

/* DAMAFLEX */
.damaflex {
	display: flex;
	flex-flow: row wrap;
	align-content: stretch;
	align-items: center;
	background: #000;
}
.damaflex .damaflex-item {
	flex-grow: 1;
	flex-basis: 50%;
	color: #fff;
}
.damaflex .damaflex-item.tx { padding: 20px; }
.damaflex .item1 { order:1; text-align: right; }
.damaflex .item2 { order:2; }
.damaflex .item3 { order:3; }
.damaflex .item4 { order:4; }

@media (max-width: 959px) {
  .damaflex { flex-flow: column wrap; }
  .damaflex .item2 { order:-1; }
  .damaflex .item1 { text-align: left; }
}

/* BANFLEX */
.banflex1 {
	margin: 20px 0;
	display: flex;
	flex-flow: row wrap;
	align-content: stretch;
	align-items: center;
	background: #fff;
}
.banflex1 .banflex1-item {
	flex-grow: 1;
	flex-basis: 50%;
}
.banflex1 .item1 { order:1; }
.banflex1 .item2 { order:2; }
.banflex1 .item3 { order:3; }
.banflex1 .item4 { order:4; }

@media (max-width: 959px) {
  .banflex1 { flex-flow: column wrap; }
}

/* BANFLEX2 */
.banflex2 {
	margin: 20px 0;
	display: flex;
	flex-flow: row wrap;
	align-content: stretch;
	align-items: center;
	gap: 20px;
	background: #fff;
}
.banflex2 .banflex2-item {
	flex-grow: 1;
	flex-basis: 40%;
}
.banflex2 .item1 { order:1; }
.banflex2 .item2 { order:2; }
.banflex2 .item3 { order:3; }
.banflex2 .item4 { order:4; }

@media (max-width: 959px) {
  .banflex2 { flex-flow: column wrap; }
}

/* XARAFLEX RD */
.bque-logistica { margin-bottom: 8em; text-align: center; }
.bque-logistica h2 { font-size: 1.8rem; font-weight: bold; }
.bque-logistica .xrow { display: flex; flex-flow: row wrap; }
.bque-logistica .xcolumn { flex: 1; padding: 10px; min-width: 25%; }

@media (max-width: 960px) {
	.bque-logistica .xcolumn { min-width: 50%; }
	.bque-logistica .xrow img { width: 100%; }
}
@media (max-width: 600px) {
  .bque-logistica .xrow { flex-flow: column; }
  .bque-logistica .xrow img { width: 100%; }
}

.bque-commodities { margin-bottom: 8em; text-align: center; }
.bque-commodities h2 { font-size: 1.8rem; font-weight: bold; }
.bque-commodities img { border-radius: 50%; }
.bque-commodities .xrow { display: flex; flex-flow: row wrap; }
.bque-commodities .xcolumn { flex: 1; padding: 10px; min-width: 25%; border-radius: 50%; }

@media (max-width: 960px) {
	.bque-commodities .xcolumn { min-width: 50%; }
	.bque-commodities .xrow img { width: 100%; }
}
@media (max-width: 600px) {
  .bque-commodities .xrow { flex-flow: column; }
  .bque-commodities .xrow img { width: 100%; }
}

/* EFECTO COMMODITIES */
.xcolumn {
	position: relative;
    overflow: hidden;
    text-align: center;
    cursor: default;
}
.xcolumn .mask,.xcolumn .content {
   /*width: 200px;
   height: 200px;*/
   position: absolute;
   overflow: hidden;
}
.xcolumn img {
   display: block;
   position: relative;
}
.xcolumn h3 {
	text-transform: uppercase;
    color: #fff;
    text-align: center;
    position: relative;
    font-size: .9em;
    line-height: 1.5em;
    font-weight: bold;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    margin: 20px 0 0 0;
}
.xcolumn p {
   font-family: Georgia, serif;
   font-style: italic;
   font-size: 12px;
   position: relative;
   color: #fff;
   padding: 10px 20px 20px;
   text-align: center;
}
.xcolumn a.info {
   display: inline-block;
   text-decoration: none;
   padding: 4px 15px;
   background: #000;
   color: #fff;
   text-transform: uppercase;
   -webkit-box-shadow: 0 0 1px #000;
   -moz-box-shadow: 0 0 1px #000;
   box-shadow: 0 0 1px #000;
}
.xcolumn a.info: hover {
   -webkit-box-shadow: 0 0 5px #000;
   -moz-box-shadow: 0 0 5px #000;
   box-shadow: 0 0 5px #000;
}

/* ESTILO TENTH */
.xcolumn.view-tenth { background: var(--primary); }
.xcolumn.view-tenth img {
   -webkit-transform: scaleY(1);
   -moz-transform: scaleY(1);
   -o-transform: scaleY(1);
   -ms-transform: scaleY(1);
   transform: scaleY(1);
   -webkit-transition: all 0.7s ease-in-out;
   -moz-transition: all 0.7s ease-in-out;
   -o-transition: all 0.7s ease-in-out;
   -ms-transition: all 0.7s ease-in-out;
   transition: all 0.7s ease-in-out;
   background-image: var(--primary);
}
.xcolumn.view-tenth .mask {
   -webkit-transition: all 0.5s linear;
   -moz-transition: all 0.5s linear;
   -o-transition: all 0.5s linear;
   -ms-transition: all 0.5s linear;
   transition: all 0.5s linear;
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
}
.xcolumn.view-tenth h3 {
   background: transparent;
   margin: 0 auto;
   -webkit-transform: scale(0);
   -moz-transform: scale(0);
   -o-transform: scale(0);
   -ms-transform: scale(0);
   transform: scale(0);
   -webkit-transition: all 0.5s linear;
   -moz-transition: all 0.5s linear;
   -o-transition: all 0.5s linear;
   -ms-transition: all 0.5s linear;
   transition: all 0.5s linear;
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
}
.xcolumn.view-tenth p {
   color: #333;
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   -webkit-transform: scale(0);
   -moz-transform: scale(0);
   -o-transform: scale(0);
   -ms-transform: scale(0);
   transform: scale(0);
   -webkit-transition: all 0.5s linear;
   -moz-transition: all 0.5s linear;
   -o-transition: all 0.5s linear;
   -ms-transition: all 0.5s linear;
   transition: all 0.5s linear;
}
.xcolumn.view-tenth a.info {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   -webkit-transform: scale(0);
   -moz-transform: scale(0);
   -o-transform: scale(0);
   -ms-transform: scale(0);
   transform: scale(0);
   -webkit-transition: all 0.5s linear;
   -moz-transition: all 0.5s linear;
   -o-transition: all 0.5s linear;
   -ms-transition: all 0.5s linear;
   transition: all 0.5s linear;
}
.xcolumn.view-tenth:hover img {
   -webkit-transform: scale(10);
   -moz-transform: scale(10);
   -o-transform: scale(10);
   -ms-transform: scale(10);
   transform: scale(10);
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
}
.xcolumn.view-tenth:hover .mask { 
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
}
.xcolumn.view-tenth:hover h3,.view-tenth:hover p,.view-tenth:hover a.info {
   -webkit-transform: scale(1);
   -moz-transform: scale(1);
   -o-transform: scale(1);
   -ms-transform: scale(1);
   transform: scale(1);
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
}
				
/* ESTILO OVERLAY */		
.bque-logistica .mask {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #000;
  padding: 8px;
}
.bque-logistica .xcolumn:hover .mask { opacity: .8; }
.bque-logistica .mask h3 {
  padding: 25% 0 0;
}


.region-highlighted h1 {
	font-size: calc(16px + (30 - 16)*(100vw - 300px)/(1000 - 300));
	text-transform: inherit;
	font-weight: bold;
	color: #000;
	}


/* SLIDER FRONTPAGE */
.views_slideshow_controls_text {
	position:absolute;
	z-index: 100;
	top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
	width: 100%;
}
.views-slideshow-controls-bottom .views_slideshow_controls_text_previous {
  display: inline-block;
  float: left;
  margin-left: 20px;
  width: 50px;
  height: 50px;
  background: url(/sites/default/files/iconos/vs_prev.png) no-repeat;
  background-size: 50px 50px;
  font-size: 0px;
  color: #444;
  }
.views-slideshow-controls-bottom .views_slideshow_controls_text_next {
  display: inline-block;
  float: right;
  margin-right: 20px;
  width: 50px;
  height: 50px;
  background: url(/sites/default/files/iconos/vs_next.png) no-repeat;
  background-size: 50px 50px;
  font-size: 0px;
  color: #444;
  }
.views-slideshow-controls-bottom .views_slideshow_controls_text_pause {
  display: none;
  }
  
  @media (max-width: 530px) {
  .views-slideshow-controls-bottom .views_slideshow_controls_text_previous { margin-left: 0; }
  .views-slideshow-controls-bottom .views_slideshow_controls_text_next { margin-right: 0; }
  }
  

/* SLIDER FRONTPAGE */
.rinaldi, .sunmix, .carmec, .oro, .denti, .cme, .optimus {
	width: 100vw;
	height: 90vh;
	padding-top: 40px;
	background-color: #000;
	}
	
.cme { background-image: url("/sites/default/files/sliderfront/cmexport.jpg"); }
.rinaldi { background-image: url("/sites/default/files/sliderfront/rinaldi-fnd.jpg"); }
.sunmix { background-image: url("/sites/default/files/sliderfront/sunmix-fnd.jpg"); }
.carmec { background-image: url("/sites/default/files/sliderfront/carmec-fnd.jpg"); }
.oro { background-image: url("/sites/default/files/sliderfront/oro-fnd.jpg"); }
.denti { background-image: url("/sites/default/files/sliderfront/denti-fnd.jpg"); }
.optimus { background-image: url("/cm-export/sites/default/files/sliderfront/optimus-fnd2.jpg"); }

.cme>img { margin: 0 auto; }

.rinaldi>p, .sunmix>p, .carmec>p, .oro>p, .denti>p, .cme>p, .optimus>p {
	font-size: calc(22px + (36 - 22)*(100vw - 300px)/(1000 - 300));
	font-weight: bold;
	line-height: 1.2em;
	color: #fff;
	text-align: center;
	padding-bottom: 20px;
}

.rinaldi p.pretitulo, .sunmix p.pretitulo, .carmec p.pretitulo, .oro p.pretitulo, .denti p.pretitulo, .cme p.pretitulo, .optimus p.pretitulo {
	font-size: calc(18px + (26 - 18)*(100vw - 300px)/(1000 - 300));
	font-weight: bold;
	line-height: 1.2em;
	color: #fff;
	text-align: center;
	padding-bottom: 0;
}

.blockcover {
	width: 80%;
	background-position: center;
	background-repeat: no-repeat;
	margin: 0 auto;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
	align-items: center;
	}
.blockcover .blockitem {
    width: 50%;
    margin: 0 0 3em;
    align-items: center;
    /*text-align: center;*/
    padding: 0;
}

@media (max-width: 779px) {
	.rinaldi, .sunmix, .carmec, .oro, .denti, .cme, .optimus { padding-top: 40px; }
	.rinaldi>p, .sunmix>p, .carmec>p, .oro>p, .denti>p, .cme>p, .optimus>p { padding-bottom: 10px; }
	.blockcover { flex-flow: column; width: 90%; }
	.blockcover .blockitem { width: 90%; margin: 0 0 1.5em; }
  }
  
  
.blockcover .views-field.views-field-body h2 {
	font-size: calc(24px + (40 - 24)*(100vw - 300px)/(1000 - 300));
	line-height: 1.3em;
	text-align: center;
    color: #FECC00;
	text-shadow: 3px 5px 5px #474747;
	margin-bottom: 24px;
}
.blockcover .views-field.views-field-body p {
	font-size: calc(16px + (20 - 16)*(100vw - 300px)/(1000 - 300));
	line-height: 1.8em;
	text-align: center;
    color: #fff;
	text-shadow: 3px 5px 5px #474747;
	color: #fff;
}
.blockcover .more-link { margin-top: 10px; }
.blockcover .more-link a { border: 0; font-weight: bold; }


/* BLOCK PROVEEDOR */
.proveedor {
	background-image: url("/sites/default/files/sliderfront/slide7.jpg");
	background-color: #000;
	height: 100vh;
	width: 100vw;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.proveedor .contcover {
	width: 60%;
    margin: 12px auto;
}
@media (max-width: 530px){
.proveedor .contcover { width: 90%; }
}
.proveedor h2 {
	font-size: calc(28px + (40 - 28)*(100vw - 300px)/(1000 - 300));
	line-height: 1.3em;
	color: #FECC00;
	text-shadow: 3px 5px 5px #474747;
	text-align: center;
}
.proveedor p {
	text-align: center;
}

/* SUSCRIPCION */
.easuscripcion {
	background-image: url("/sites/default/files/fnd/fnd-suscribe2.jpg");
	background-color: #000;
	background-position: center;
	background-repeat: no-repeat;
	margin-top: 80px;
    padding: 20px 12px 1px;
}
.easuscripcion h2 {
	font-size: calc(20px + (24 - 20)*(100vw - 300px)/(1000 - 300));
	color: #FECC00;
	margin-bottom: 20px;
}
.easuscripcion .form-item label { display: none; }
.simplenews-subscriber-form input.form-submit { 
background: #B90000 !important; 
color: #fff; 
border: 0 !important;
box-shadow: 0 !important;
}
.simplenews-subscriber-form input.form-submit:hover { background: #E52307 !important; }