  .homepage h1 { font-size: calc(22px + (36 - 22)*(100vw - 300px)/(1000 - 300)); }
  .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 */
.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)); }
}

.main-wrapper { padding: 0; }

/* NODE CONTENT */
.homepage .node-content {
  width: 90%;
  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;
}
