  .homepage h1 {
	font-size: calc(22px + (48 - 22)*(100vw - 300px)/(1000 - 300));
	font-weight: bold;
	}
	.homepage h1 {
	display: none;
	}
	
  /*.homepage h1::after {
    content: "";
    width: 120px;
    height: 5px;
    background: #B90000;
    display: flex;
    margin: 24px;
}*/

.region-content-home-top {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
}


/* COVER */
.cover.block-section.clear {
	background: #000;
	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: center;
	display: flex;
	justify-content: center;
	align-items: center;
}
#flexslider-1 .views-field.views-field-body h2 {
	font-size: calc(26px + (40 - 26)*(100vw - 300px)/(1000 - 300)) !important;
	text-shadow: -4px 4px 4px rgba(0,0,0, 0.6);
	margin-bottom: 0.4em;
}
#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;
}

@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 */
.blockcover { /*height: 95vh;*/ }
.blockcover .empresa {
	background-image: url("/sites/default/files/sliderfront/slide1.jpg");
	background-color: #000;
	height: 80vh;
	width: 100vw;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.blockcover .experiencia {
	background-image: url("/sites/default/files/sliderfront/slide6.jpg");
	background-color: #000;
	height: 80vh;
	width: 100vw;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.blockcover .motivacion {
	background-image: url("/sites/default/files/sliderfront/slide4.jpg");
	background-color: #000;
	height: 80vh;
	width: 100vw;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.blockcover .honestidad {
	background-image: url("/sites/default/files/sliderfront/slide5.jpg");
	background-color: #000;
	height: 80vh;
	width: 100vw;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.blockcover .calidad {
	background-image: url("/sites/default/files/sliderfront/slide2.jpg");
	background-color: #000;
	height: 80vh;
	width: 100vw;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.blockcover .views-field.views-field-body .calidad p {
	font-size: calc(14px + (18 - 14)*(100vw - 300px)/(1000 - 300)) !important;
	line-height: 1.6em !important;
}

.blockcover .valoreslide {
	background-image: url("/sites/default/files/sliderfront/slide9.jpg");
	background-color: #000;
	height: 80vh;
	width: 100vw;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.blockcover .valoreslide .valores { 
    margin: 0 auto;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
}
.blockcover .valoreslide .valores-item {
    width: 33%;
    margin: 0 1.2em 3em;
    align-items: center;
    text-align: center;
    padding: 0;
}
.blockcover .valoreslide .valores-item h3 {
	font-size: calc(14px + (18 - 14)*(100vw - 300px)/(1000 - 300));
	line-height: 1.2em;
    margin: 0.6em 0 0.4em;
	color: #FECC00;
}
.blockcover .valoreslide .valores-item p {
    font-size: calc(13px + (15 - 13)*(100vw - 300px)/(1000 - 300)) !important;
    line-height: 1.44em !important;
}

@media (max-width: 700px) {
    .blockcover .valoreslide .valores { display: block; }
	.blockcover .valoreslide .valores-item { width: 100%; margin: 0 0 1em; }
	.blockcover .valoreslide .valores-item img { display: none; }
  }


.blockcover .contcover {
	/*display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;*/
	width: 60%;
    margin: 12px auto;
}

@media (max-width: 530px){
.blockcover .contcover { width: 90%; }
}

.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;
    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; }
