  /*.homepage h1 { font-size: calc(28px + (36 - 28)*(100vw - 300px)/(1000 - 300)); }*/
  /*.homepage h1::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #EB0000;
    display: flex;
	margin: 0 auto;
}*/

.region-content-home-top {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 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: 70px auto 0;
}

/* 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; }
}


/* BLOQUES CUATRO */
.bque-cuatro { text-align: center; }
.bque-cuatro h2 { font-size: 1.8rem; font-weight: bold; }
.bque-cuatro .xrow { display: flex; flex-flow: row wrap; }
.bque-cuatro .xcolumn { flex: 1; margin: 10px; /*min-width: 25%;*/ }

@media (max-width: 960px) {
	.bque-cuatro .xcolumn { min-width: 45%; }
	.bque-cuatro .xrow img { width: 100%; }
}
@media (max-width: 600px) {
  .bque-cuatro .xrow { flex-flow: column; }
  .bque-cuatro .xrow img { width: 100%; }
}

/* BLOQUES TRES */
.bque-tres { text-align: center; }
.bque-tres h2 { font-family: 'Kaushan Script', cursive; line-height:44px; }
.bque-tres .xrow { display: flex; flex-flow: row wrap; }
.bque-tres .xcolumn { flex: 1; margin: 10px; min-width: 28%; }

@media (max-width: 960px) {
	.bque-tres .xcolumn { min-width: 45%; }
	.bque-tres .xrow img { width: 100%; }
}
@media (max-width: 600px) {
  .bque-tres .xrow { flex-flow: column; }
  .bque-tres .xrow img { width: 100%; }
}

/* BLOQUES DOS */
.bque-dos { text-align: center; }
.bque-dos h2 { font-family: 'Kaushan Script', cursive; line-height:44px; }
.bque-dos .xrow { display: flex; flex-flow: row wrap; }
.bque-dos .xcolumn { flex: 1; margin: 10px; min-width: 45%; }

@media (max-width: 960px) {
	.bque-dos .xcolumn { /*min-width: 50%;*/ }
	.bque-dos .xrow img { width: 100%; }
}
@media (max-width: 600px) {
  .bque-dos .xrow { flex-flow: column; }
  .bque-dos .xrow img { width: 100%; }
}

/* XCOLUMN - ESTILO OVERLAY */
.xcolumn {
	position: relative;
    overflow: hidden;
	background: #000;
    text-align: center;
    cursor: default;
}
.xcolumn .mask,.xcolumn .content {
   position: absolute;
   overflow: hidden;
}

.bque-cuatro .mask,
.bque-tres .mask,
.bque-dos .mask {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.xcolumn img {
   display: block;
   position: relative;
}
.bque-cuatro .xcolumn:hover img,
.bque-tres .xcolumn:hover img,
.bque-dos .xcolumn:hover img { 
   transform: scale(1.6);
   opacity: .3;
   transition: 3.5s;
    }
	
.xcolumn h3 {
	text-transform: uppercase;
    color: #fff;
    text-align: center;
    position: relative;
    font-size: 1.2em;
    line-height: 1.5em;
    font-weight: bold;
    padding: 10px;
    margin: 20px 0 0 0;
}

.xcolumn p {
   font-size: calc(16px + (16.2 - 16)*(100vw - 960px)/(1000 - 960));
   position: relative;
   color: #fff;
   padding: 2px 20px 2px 5% !important;
   text-align: center;
}
.xcolumn a.info {
   display: inline-block;
   text-decoration: none;
   font-weight: normal;
   padding: 4px 15px;
   background: rgba(0,0,0,.5);
   color: #fff;
   text-transform: uppercase;
}
.xcolumn a.info:hover {
   background: rgba(0,0,0,1);
}

/* BUTTON HOMEPAGE  */
.bque-cuatro .button,
.bque-tres .button,
.bque-dos .button {
	min-width: 100px;
    margin: 10px;
    padding: 12px 18px;
    color: #fff;
    border-radius: 0;
    border: 1px solid #fff;
}

