.inmogal{ overflow: hidden; }
.inmogal .inmogalcont{position: relative;overflow: hidden;/* background: #f0f0f0; */margin: 0 0 2%;float: left;width: 32%;}
.inmogal .inmogalcont:nth-child(3n-1){ margin: 0 2% 2%; }
.inmogal .inmogalcont:nth-child(3n+1){ clear: both; }
.inmogal .inmogalcont > a{display: block;position: relative;/* background: #f0f0f0; */text-decoration: none;color:inherit;}
.inmogal .inmogalcont > a > img{ display: block; width: 100%; transition: all 150ms ease-in 0s;}
.inmogal .inmogalcont .igc{overflow: hidden;padding: 20px 20px 10px;background: -moz-linear-gradient(top,  rgba(240,240,240,1) 0%, rgba(240,240,240,0) 100%);background: -webkit-linear-gradient(top,  rgba(240,240,240,1) 0%,rgba(240,240,240,0) 100%);background: linear-gradient(to bottom,  rgba(240,240,240,1) 0%,rgba(240,240,240,0) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f0f0f0', endColorstr='#00f0f0f0',GradientType=0 );}
/*.inmogal .inmogalcont .igc > div{ margin-bottom: 5px; width:100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: none; }*/
.inmogal .inmogalcont .igc > div{margin-bottom: 5px;display: inline-block;overflow: hidden;max-width: 100%;/* max-height: 64px; */ /*multiplo del line-height*/}
.inmogal .inmogalcont .igc > .igcnom{ margin-bottom: 5px; width: 100%; }
.inmogal .inmogalcont .igc > .igcnom a { text-decoration: none;}
.inmogal .inmogalcont .igc > .igcnom  h2{display: inline; color: #222; font-weight: bold;}
.inmogal .inmogalcont .igc .igclocalidad a { }
.inmogal .inmogalcont .igc .igcprecio{ }
.inmogal .inmogalcont .igc .igcprecio.precioanterior { text-decoration: line-through; display: block; margin: 0 0 4px; font-size: 120%; line-height: 100%; opacity: .8; }
.inmogal .inmogalcont .igc .igcdesc{ display: none; width: 100%; margin: 0 0 10px; max-height: 66px; overflow: hidden; position: relative; }
.inmogal .inmogalcont .igc > .igccar{ margin: 0 0 5px; text-overflow: initial; white-space: initial; max-width: 100%; display: block; }
.inmogal .inmogalcont .igc > .igccar ul li{display: inline-block; margin: 0 5px 5px 0; border-radius: 4px; line-height: 25px; background: white; padding: 2px 8px;}
.inmogal .inmogalcont .igc .igccar > div{display: inline-block;margin: 0 5px 5px 0;border-radius: 4px;line-height: 25px;background: #f0f0f0;padding: 2px 8px;}
/*.inmogal .inmogalcont .igc .igccar > div > img,
.inmogal .inmogalcont .igc .igccar > div > i { max-height: 15px; max-width: 20px; display: inline-block; vertical-align: middle; margin-right: 5px; }*/
.inmogal .inmogalcont .igc .igcvarias { display: none; }
.inmogal .inmogalcont .igc .igcvarias li{ display: inline-block; margin: 0 5px 5px 0; border-radius: 4px; line-height: 25px; background: white; padding: 2px 8px;}

.inmogal .inmogalcont .igc .igclocalidad{}
.inmogal .inmogalcont .igc .igctipo{}
.inmogal .inmogalcont .igc .igcsup{}
.inmogal .inmogalcont .igc .igcvideo{ display: none;}
.inmogal .inmogalcont .igc .igc360{ display: none; }
.inmogal .inmogalcont .igc .igcref{ display: none;}
.inmogal .inmogalcont .igc .igcvendalq{}
.inmogal .inmogalcont .igc .igceti{ display: none; }
.inmogal .inmogalcont .igc .igczona{ display: none;}
.inmogal .inmogalcont .igc .igczona ul li{ display: inline-block; font-style: italic; }
.inmogal .inmogalcont .igc .igczona ul li:after{ content: " -" }
.inmogal .inmogalcont .igc .igczona ul li:last-child:after{ content: "" }

.inmogal .inmogalcont.vendido:after, .inmogal .inmogalcont.alquilado:after { z-index:3; position: absolute; top:0; right: 0; padding: 5px 8px;  font-size: 22px; line-height:22px; height: 22px; font-weight: bold; text-align: center;display: block; overflow: hidden; color:#dd2c00; letter-spacing: 1px; opacity: 0.7; background: white;}
.inmogal .inmogalcont.vendido:after{ content: "VENDIDO";}
.inmogal .inmogalcont.alquilado:after{ content: "ALQUILADO"; }

.inmogal .inmogalcont .igc .igccar > div:before{display: inline-block;margin-right: 4px;font-family: "Font Awesome 5 Pro";font-weight: 900;opacity: .7;}
.inmogal .inmogalcont .igc .igccar > div.igctipo:before { content: "\f00c"; }
.inmogal .inmogalcont .igc .igccar > div.igclocalidad:before { content: "\f041"; }
.inmogal .inmogalcont .igc .igccar > div.igcmetros:before { content: "\f546"; }
.inmogal .inmogalcont .igc .igccar > div.igchab:before { content: "\f236"; }
.inmogal .inmogalcont .igc .igccar > div.igcbanos:before { content: "\f2cc"; }
.inmogal .inmogalcont .igc .igccar > div.igchuespedes:before { content: "\f0c0"; }

/* ### MOSAICOS ###*/
.inmogal_1{  }
.inmogal_1 .inmogalcont{ position: relative; overflow: hidden; }
.inmogal_1 .inmogalcont > a{ display: block; position: relative; background: black; }
.inmogal_1 .inmogalcont > a > img{ display: block; width: 100%; transition: all 150ms ease-in 0s;}
.inmogal_1 .inmogalcont > a:after{ bottom: 50%; color: white; content: "\f067"; font-family: "Font Awesome 5 Pro"; font-weight:900; font-size: 0; height: 80px; left: 50%; line-height: 80px; opacity: 0; position: absolute; right: 50%; text-align: center; top: 50%; transform: translate(-50%, -50%); transition: all 150ms ease-in 0s; width: 80px; z-index: 1;}
.inmogal_1 .inmogalcont > a:hover:after{ opacity: 1; font-size: 40px; }
.inmogal_1 .inmogalcont > a:before{ position: absolute; width: 100%; height: 100%; content: ""; background-color: rgba(0,0,0,0.5); opacity: 0; transition: all 150ms ease-in 0s; }
.inmogal_1 .inmogalcont > a:hover:before{ opacity: 1; }
.inmogal_1 .inmogalcont .igc{ position: absolute; width: 100%; bottom: 0; padding: 20px 20px 10px; color: white; background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.8) 100%);  background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 30%,rgba(0,0,0,0.8) 100%); background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 30%,rgba(0,0,0,0.8) 100%);  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); }
.inmogal_1 .inmogalcont .igc > div{ margin-bottom: 5px; width:100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: none; }
.inmogal_1 .inmogalcont .igc > .igcnom{ margin-bottom: 5px; display: block;}
.inmogal_1 .inmogalcont .igc > .igcnom > a { text-decoration: none; color: white; }
.inmogal_1 .inmogalcont .igc > .igcnom h2{display: inline; }
.inmogal_1 .inmogalcont .igc .igclocalidad a { color:white; }
.inmogal_1 .inmogalcont .igc .igcprecio{ color:white; display: block;}
.inmogal_1 .inmogalcont .igc .igcprecio{ color:white; display: block;}
.inmogal_1 .inmogalcont .igc .igcdesc{}
.inmogal_1 .inmogalcont .igc > .igccar{ color:white; margin: 0 0 5px; text-overflow: initial; white-space: initial; max-width: 100%; overflow: hidden; height: 30px; }
.inmogal_1 .inmogalcont .igc .igccar > div{ display: inline-block; margin: 0 5px 5px 0; border-radius: 4px; line-height: 25px; background: white; color: black; padding: 2px 8px;}
.inmogal_1 .inmogalcont .igc .igccar > div > img{ max-height: 15px; max-width: 20px; display: inline-block; vertical-align: middle; margin-right: 5px; }
.inmogal_1 .inmogalcont.vendido:after, .inmogal_1 .inmogalcont.alquilado:after { z-index:3; position: absolute; top:0; right: 0; padding: 5px 8px;  font-size: 18px; line-height:18px; height: 18px; font-weight: bold; text-align: center;display: block; overflow: hidden; color:#dd2c00; letter-spacing: 1px; opacity: 0.7; background: white;}
.inmogal_1 .inmogalcont.vendido:after{ content: "VENDIDO";}
.inmogal_1 .inmogalcont.alquilado:after{ content: "ALQUILADO"; }
.inmogal_1 .inmogalcont .igc > .igceti { display: block; }
.inmogal_1 .inmogalcont .igc > .igceti ul:nth-child(2) { display: none; }
.inmogal_1 .inmogalcont .igc > .igceti ul li { display: none;}
.inmogal_1 .inmogalcont .igc > .igceti ul li:first-child { display: inline-block; background-color: rgba(255,255,255,0.75); color:#333; padding: 4px; border-radius: 4px; font-size: 12px; line-height: 12px; text-transform: uppercase; font-weight: bold;}

/* ### 2 ###*/
.inmogal_2{ overflow: hidden; }
.inmogal_2 .inmogalcont{ position: relative; overflow: hidden; float: left; width: 49.75%; margin:0 0 0.5%; }
.inmogal_2 .inmogalcont:nth-child(2n){ float: right;}
.inmogal_2 .inmogalcont > a{ display: block; position: relative; background: black; }
.inmogal_2 .inmogalcont > a > img{ display: block; width: 100%; transition: all 150ms ease-in 0s;}
.inmogal_2 .inmogalcont > a:after{ bottom: 50%; color: white; content: "\f067"; font-family: "Font Awesome 5 Pro"; font-weight:900; font-size: 0; height: 80px; left: 50%; line-height: 80px; opacity: 0; position: absolute; right: 50%; text-align: center; top: 50%; transform: translate(-50%, -50%); transition: all 150ms ease-in 0s; width: 80px; z-index: 1;}
.inmogal_2 .inmogalcont > a:hover:after{ opacity: 1; font-size: 40px; }
.inmogal_2 .inmogalcont > a:before{ position: absolute; width: 100%; height: 100%; content: ""; background-color: rgba(0,0,0,0.5); opacity: 0; transition: all 150ms ease-in 0s; }
.inmogal_2 .inmogalcont > a:hover:before{ opacity: 1; }
.inmogal_2 .inmogalcont .igc{ position: absolute; width: 100%; bottom: 0; padding: 20px 20px 10px; color: white;
background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.8) 100%); 
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 30%,rgba(0,0,0,0.8) 100%); 
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 30%,rgba(0,0,0,0.8) 100%); 
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); }
.inmogal_2 .inmogalcont .igc > div{ margin-bottom: 5px; width:100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: none; }
.inmogal_2 .inmogalcont .igc > .igcnom{ margin-bottom: 5px; display: block;}
.inmogal_2 .inmogalcont .igc > .igcnom > a { text-decoration: none; color: white; }
.inmogal_2 .inmogalcont .igc > .igcnom h2{display: inline; }
.inmogal_2 .inmogalcont .igc .igclocalidad { display: none; }
.inmogal_2 .inmogalcont .igc .igclocalidad a { color:white; }
.inmogal_2 .inmogalcont .igc .igcprecio{ color:white; display: block;}
.inmogal_2 .inmogalcont .igc .igcdesc{ display: none; }
.inmogal_2 .inmogalcont .igc > .igccar{ color:white; display: none; margin: 0 0 5px; text-overflow: initial; white-space: initial; max-width: 100%; overflow: hidden; height: 30px; }
.inmogal_2 .inmogalcont .igc .igccar > div{ display: inline-block; margin: 0 5px 5px 0; border-radius: 4px; line-height: 25px; background: white; color: black; padding: 2px 8px; }
.inmogal_2 .inmogalcont .igc .igccar > div > img{ max-height: 15px; max-width: 20px; display: inline-block; vertical-align: middle; margin-right: 5px; }
.inmogal_2 .inmogalcont.vendido:after, .inmogal_2 .inmogalcont.alquilado:after { z-index:3; position: absolute; top:0; right: 0; padding: 5px 8px;  font-size: 18px; line-height:18px; height: 18px; font-weight: bold; text-align: center;display: block; overflow: hidden; color:#dd2c00; letter-spacing: 1px; opacity: 0.7; background: white;}
.inmogal_2 .inmogalcont.vendido:after{ content: "VENDIDO";}
.inmogal_2 .inmogalcont.alquilado:after{ content: "ALQUILADO"; }
.inmogal_2 .inmogalcont .igc > .igceti { display: block; }
.inmogal_2 .inmogalcont .igc > .igceti ul:nth-child(2) { display: none; }
.inmogal_2 .inmogalcont .igc > .igceti ul li { display: none;}
.inmogal_2 .inmogalcont .igc > .igceti ul li:first-child { display: inline-block; background-color: rgba(255,255,255,0.75); color:#333; padding: 4px; border-radius: 4px; font-size: 12px; line-height: 12px; text-transform: uppercase; font-weight: bold;}


/* ### 3 ###*/
.inmogal_3{ overflow: hidden; border: 1px solid #f0f0f0;}
.inmogal_3 .inmogalcont{ position: relative; overflow: hidden; float: left; margin:0; width:33.33333%; border: 2px solid #f0f0f0;}
.inmogal_3 .inmogalcont:nth-child(1), .inmogal_3 .inmogalcont:nth-child(3n+1){ width: 66.66666%; float: right; }
.inmogal_3 .inmogalcont:nth-child(3n+2){border-bottom-width: 1px;}
.inmogal_3 .inmogalcont > a{ display: block; position: relative; background: black; }
.inmogal_3 .inmogalcont > a > img{ display: block; width: 100%; transition: all 150ms ease-in 0s;}
.inmogal_3 .inmogalcont > a:after{ bottom: 50%; color: white; content: "\f067"; font-family: "Font Awesome 5 Pro"; font-weight:900; font-size: 0; height: 80px; left: 50%; line-height: 80px; opacity: 0; position: absolute; right: 50%; text-align: center; top: 50%; transform: translate(-50%, -50%); transition: all 150ms ease-in 0s; width: 80px; z-index: 1;}
.inmogal_3 .inmogalcont > a:hover:after{ opacity: 1; font-size: 40px; }
.inmogal_3 .inmogalcont > a:before{ position: absolute; width: 100%; height: 100%; content: ""; background-color: rgba(0,0,0,0.5); opacity: 0; transition: all 150ms ease-in 0s; }
.inmogal_3 .inmogalcont > a:hover:before{ opacity: 1; }
.inmogal_3 .inmogalcont .igc{ position: absolute; width: 100%; bottom: 0; padding: 20px 20px 10px; color: white;
background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.8) 100%); 
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 30%,rgba(0,0,0,0.8) 100%); 
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 30%,rgba(0,0,0,0.8) 100%); 
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); }
.inmogal_3 .inmogalcont .igc > div{ margin-bottom: 5px; width:100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: none; }
.inmogal_3 .inmogalcont .igc > .igcnom{ margin-bottom: 5px; display: block;}
.inmogal_3 .inmogalcont .igc > .igcnom > a { text-decoration: none; color: white; }
.inmogal_3 .inmogalcont .igc > .igcnom h2{display: inline; }
.inmogal_3 .inmogalcont .igc .igclocalidad { display: none; }
.inmogal_3 .inmogalcont .igc .igclocalidad a { color:white; }
.inmogal_3 .inmogalcont .igc .igcprecio{ color:white; display: block;}
.inmogal_3 .inmogalcont .igc .igcdesc{ display: none; }
.inmogal_3 .inmogalcont .igc > .igccar{ color:white; display: none; margin: 0 0 5px; text-overflow: initial; white-space: initial; max-width: 100%; overflow: hidden; height: 30px; }
.inmogal_3 .inmogalcont .igc .igccar > div{ display: inline-block; margin: 0 5px 5px 0; border-radius: 4px; line-height: 25px; background: white; color: black; padding: 2px 8px; }
.inmogal_3 .inmogalcont .igc .igccar > div > img{ max-height: 15px; max-width: 20px; display: inline-block; vertical-align: middle; margin-right: 5px; }
.inmogal_3.inmogalcont.vendido:after, .inmogal_3 .inmogalcont.alquilado:after { z-index:3; position: absolute; top:0; right: 0; padding: 5px 8px;  font-size: 18px; line-height:18px; height: 18px; font-weight: bold; text-align: center;display: block; overflow: hidden; color:#dd2c00; letter-spacing: 1px; opacity: 0.7; background: white;}
.inmogal_3 .inmogalcont.vendido:after{ content: "VENDIDO";}
.inmogal_3 .inmogalcont.alquilado:after{ content: "ALQUILADO"; }
.inmogal_3 .inmogalcont .igc > .igceti { display: block; }
.inmogal_3 .inmogalcont .igc > .igceti ul:nth-child(2) { display: none; }
.inmogal_3 .inmogalcont .igc > .igceti ul li { display: none;}
.inmogal_3 .inmogalcont .igc > .igceti ul li:first-child { display: inline-block; background-color: rgba(255,255,255,0.75); color:#333; padding: 4px; border-radius: 4px; font-size: 12px; line-height: 12px; text-transform: uppercase; font-weight: bold;}

/* ### 3-1 ###*/
.inmogal_3-1{ overflow: hidden; border: 1px solid #f0f0f0;}
.inmogal_3-1 .inmogalcont{ position: relative; overflow: hidden; float: left; margin:0; width:33.33333%; border: 2px solid #f0f0f0;}
.inmogal_3-1 .inmogalcont > a{ display: block; position: relative; background: black; }
.inmogal_3-1 .inmogalcont > a > img{ display: block; width: 100%; transition: all 150ms ease-in 0s;}
.inmogal_3-1 .inmogalcont > a:after{ bottom: 50%; color: white; content: "\f067"; font-family: "Font Awesome 5 Pro"; font-weight:900; font-size: 0; height: 80px; left: 50%; line-height: 80px; opacity: 0; position: absolute; right: 50%; text-align: center; top: 50%; transform: translate(-50%, -50%); transition: all 150ms ease-in 0s; width: 80px; z-index: 1;}
.inmogal_3-1 .inmogalcont > a:hover:after{ opacity: 1; font-size: 40px; }
.inmogal_3-1 .inmogalcont > a:before{ position: absolute; width: 100%; height: 100%; content: ""; background-color: rgba(0,0,0,0.5); opacity: 0; transition: all 150ms ease-in 0s; }
.inmogal_3-1 .inmogalcont > a:hover:before{ opacity: 1; }
.inmogal_3-1 .inmogalcont .igc{ position: absolute; width: 100%; bottom: 0; padding: 20px 20px 10px; color: white;
background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.8) 100%); 
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 30%,rgba(0,0,0,0.8) 100%); 
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 30%,rgba(0,0,0,0.8) 100%); 
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); }
.inmogal_3-1 .inmogalcont .igc > div{ margin-bottom: 5px; width:100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: none; }
.inmogal_3-1 .inmogalcont .igc > .igcnom{ margin-bottom: 5px; display: block;}
.inmogal_3-1 .inmogalcont .igc > .igcnom > a { text-decoration: none; color: white; }
.inmogal_3-1 .inmogalcont .igc > .igcnom h2{display: inline; }
.inmogal_3-1 .inmogalcont .igc .igclocalidad { display: none; }
.inmogal_3-1 .inmogalcont .igc .igclocalidad a { color:white; }
.inmogal_3-1 .inmogalcont .igc .igcprecio{ color:white; display: block;}
.inmogal_3-1 .inmogalcont .igc .igcdesc{ display: none; }
.inmogal_3-1 .inmogalcont .igc > .igccar{ color:white; display: none; margin: 0 0 5px; text-overflow: initial; white-space: initial; max-width: 100%; overflow: hidden; height: 30px; }
.inmogal_3-1 .inmogalcont .igc .igccar > div{ display: inline-block; margin: 0 5px 5px 0; border-radius: 4px; line-height: 25px; background: white; color: black; padding: 2px 8px; }
.inmogal_3-1 .inmogalcont .igc .igccar > div > img{ max-height: 15px; max-width: 20px; display: inline-block; vertical-align: middle; margin-right: 5px; }
.inmogal_3-1 .inmogalcont.vendido:after, .inmogal_3-1 .inmogalcont.alquilado:after { z-index:3; position: absolute; top:0; right: 0; padding: 5px 8px;  font-size: 18px; line-height:18px; height: 18px; font-weight: bold; text-align: center;display: block; overflow: hidden; color:#dd2c00; letter-spacing: 1px; opacity: 0.7; background: white;}
.inmogal_3-1 .inmogalcont.vendido:after{ content: "VENDIDO";}
.inmogal_3-1 .inmogalcont.alquilado:after{ content: "ALQUILADO"; }
.inmogal_3-1 .inmogalcont .igc > .igceti { display: block; }
.inmogal_3-1 .inmogalcont .igc > .igceti ul:nth-child(2) { display: none; }
.inmogal_3-1 .inmogalcont .igc > .igceti ul li { display: none;}
.inmogal_3-1 .inmogalcont .igc > .igceti ul li:first-child { display: inline-block; background-color: rgba(255,255,255,0.75); color:#333; padding: 4px; border-radius: 4px; font-size: 12px; line-height: 12px; text-transform: uppercase; font-weight: bold;}

/* ### 4 ###*/
.inmogal_4{ overflow: hidden; border: 1px solid #f0f0f0;}
.inmogal_4 .inmogalcont{ position: relative; overflow: hidden; float: left; margin:0; width:25%; border: 2px solid #f0f0f0;}
.inmogal_4 .inmogalcont > a{ display: block; position: relative; background: black; }
.inmogal_4 .inmogalcont > a > img{ display: block; width: 100%; transition: all 150ms ease-in 0s;}
.inmogal_4 .inmogalcont > a:after{ bottom: 50%; color: white; content: "\f067"; font-family: "Font Awesome 5 Pro"; font-weight:900; font-size: 0; height: 80px; left: 50%; line-height: 80px; opacity: 0; position: absolute; right: 50%; text-align: center; top: 50%; transform: translate(-50%, -50%); transition: all 150ms ease-in 0s; width: 80px; z-index: 1;}
.inmogal_4 .inmogalcont > a:hover:after{ opacity: 1; font-size: 40px; }
.inmogal_4 .inmogalcont > a:before{ position: absolute; width: 100%; height: 100%; content: ""; background-color: rgba(0,0,0,0.5); opacity: 0; transition: all 150ms ease-in 0s; }
.inmogal_4 .inmogalcont > a:hover:before{ opacity: 1; }
.inmogal_4 .inmogalcont .igc{ position: absolute; width: 100%; bottom: 0; padding: 20px 20px 10px; color: white;
background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.8) 100%); 
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 30%,rgba(0,0,0,0.8) 100%); 
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 30%,rgba(0,0,0,0.8) 100%); 
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); }
.inmogal_4 .inmogalcont .igc > div{ margin-bottom: 5px; width:100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: none; }
.inmogal_4 .inmogalcont .igc > .igcnom{ margin-bottom: 5px; display: block;}
.inmogal_4 .inmogalcont .igc > .igcnom > a { text-decoration: none; color: white; }
.inmogal_4 .inmogalcont .igc > .igcnom h2{display: inline; }
.inmogal_4 .inmogalcont .igc .igclocalidad { display: none; }
.inmogal_4 .inmogalcont .igc .igclocalidad a { color:white; }
.inmogal_4 .inmogalcont .igc .igcprecio{ color:white; display: block;}
.inmogal_4 .inmogalcont .igc .igcdesc{ display: none; }
.inmogal_4 .inmogalcont .igc > .igccar{ color:white; display: none; margin: 0 0 5px; text-overflow: initial; white-space: initial; max-width: 100%; overflow: hidden; height: 30px; }
.inmogal_4 .inmogalcont .igc .igccar > div{ display: inline-block; margin: 0 5px 5px 0; border-radius: 4px; line-height: 25px; background: white; color: black; padding: 2px 8px; }
.inmogal_4 .inmogalcont .igc .igccar > div > img{ max-height: 15px; max-width: 20px; display: inline-block; vertical-align: middle; margin-right: 5px; }
.inmogal_4 .inmogalcont.vendido:after, .inmogal_4 .inmogalcont.alquilado:after { z-index:3; position: absolute; top:0; right: 0; padding: 5px 8px;  font-size: 18px; line-height:18px; height: 18px; font-weight: bold; text-align: center;display: block; overflow: hidden; color:#dd2c00; letter-spacing: 1px; opacity: 0.7; background: white;}
.inmogal_4 .inmogalcont.vendido:after{ content: "VENDIDO";}
.inmogal_4 .inmogalcont.alquilado:after{ content: "ALQUILADO"; }
.inmogal_4 .inmogalcont .igc > .igceti { display: block; }
.inmogal_4 .inmogalcont .igc > .igceti ul:nth-child(2) { display: none; }
.inmogal_4 .inmogalcont .igc > .igceti ul li { display: none;}
.inmogal_4 .inmogalcont .igc > .igceti ul li:first-child { display: inline-block; background-color: rgba(255,255,255,0.75); color:#333; padding: 4px; border-radius: 4px; font-size: 12px; line-height: 12px; text-transform: uppercase; font-weight: bold;}

/* ### 5 ###*/
.inmogal_5{ overflow: hidden; border: 1px solid #f0f0f0;}
.inmogal_5 .inmogalcont{ position: relative; overflow: hidden; float: left; margin:0; width:33.3333%; border: 2px solid #f0f0f0;}
.inmogal_5 .inmogalcont:first-child, .inmogal_5 .inmogalcont:nth-child(5n+1){ width: 66.66666%; float: right; }
.inmogal_5 .inmogalcont:nth-child(5n), .inmogal_5 .inmogalcont:nth-child(5n-1){ width: 50%; }
.inmogal_5 .inmogalcont:nth-child(5n+2){ border-bottom-width:0px; }
.inmogal_5 .inmogalcont > a{ display: block; position: relative; background: black; }
.inmogal_5 .inmogalcont > a > img{ display: block; width: 100%; transition: all 150ms ease-in 0s;}
.inmogal_5 .inmogalcont > a:after{ bottom: 50%; color: white; content: "\f067"; font-family: "Font Awesome 5 Pro"; font-weight:900; font-size: 0; height: 80px; left: 50%; line-height: 80px; opacity: 0; position: absolute; right: 50%; text-align: center; top: 50%; transform: translate(-50%, -50%); transition: all 150ms ease-in 0s; width: 80px; z-index: 1;}
.inmogal_5 .inmogalcont > a:hover:after{ opacity: 1; font-size: 40px; }
.inmogal_5 .inmogalcont > a:before{ position: absolute; width: 100%; height: 100%; content: ""; background-color: rgba(0,0,0,0.5); opacity: 0; transition: all 150ms ease-in 0s; }
.inmogal_5 .inmogalcont > a:hover:before{ opacity: 1; }
.inmogal_5 .inmogalcont .igc{ position: absolute; width: 100%; bottom: 0; padding: 20px 20px 10px; color: white;
background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.8) 100%); 
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 30%,rgba(0,0,0,0.8) 100%); 
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 30%,rgba(0,0,0,0.8) 100%); 
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); }
.inmogal_5 .inmogalcont .igc > div{ margin-bottom: 5px; width:100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: none; }
.inmogal_5 .inmogalcont .igc > .igcnom{ margin-bottom: 5px; display: block;}
.inmogal_5 .inmogalcont .igc > .igcnom > a { text-decoration: none; color: white; }
.inmogal_5 .inmogalcont .igc > .igcnom h2{display: inline; }
.inmogal_5 .inmogalcont .igc .igclocalidad { display: none; }
.inmogal_5 .inmogalcont .igc .igclocalidad a { color:white; }
.inmogal_5 .inmogalcont .igc .igcprecio{ color:white; display: block;}
.inmogal_5 .inmogalcont .igc .igcdesc{ display: none; }
.inmogal_5 .inmogalcont .igc > .igccar{ color:white; display: none; margin: 0 0 5px; text-overflow: initial; white-space: initial; max-width: 100%; overflow: hidden; height: 30px; }
.inmogal_5 .inmogalcont .igc .igccar > div{ display: inline-block; margin: 0 5px 5px 0; border-radius: 4px; line-height: 25px; background: white; color: black; padding: 2px 8px; }
.inmogal_5 .inmogalcont .igc .igccar > div > img{ max-height: 15px; max-width: 20px; display: inline-block; vertical-align: middle; margin-right: 5px; }
.inmogal_5 .inmogalcont.vendido:after, .inmogal_5 .inmogalcont.alquilado:after { z-index:3; position: absolute; top:0; right: 0; padding: 5px 8px;  font-size: 18px; line-height:18px; height: 18px; font-weight: bold; text-align: center;display: block; overflow: hidden; color:#dd2c00; letter-spacing: 1px; opacity: 0.7; background: white;}
.inmogal_5 .inmogalcont.vendido:after{ content: "VENDIDO";}
.inmogal_5 .inmogalcont.alquilado:after{ content: "ALQUILADO"; }
.inmogal_5 .inmogalcont .igc > .igceti { display: block; }
.inmogal_5 .inmogalcont .igc > .igceti ul:nth-child(2) { display: none; }
.inmogal_5 .inmogalcont .igc > .igceti ul li { display: none;}
.inmogal_5 .inmogalcont .igc > .igceti ul li:first-child { display: inline-block; background-color: rgba(255,255,255,0.75); color:#333; padding: 4px; border-radius: 4px; font-size: 12px; line-height: 12px; text-transform: uppercase; font-weight: bold;}


/* ### 6 ###*/
.inmogal_6{ overflow: hidden; border: 1px solid #f0f0f0;}
.inmogal_6 .inmogalcont{ position: relative; overflow: hidden; float: left; margin:0; width:33.3333%; border: 2px solid #f0f0f0;}
.inmogal_6 .inmogalcont:first-child, .inmogal_6 .inmogalcont:nth-child(6n+1){ width: 66.66666%; }
.inmogal_6 .inmogalcont:nth-child(6n+2){border-bottom-width: 0px;}
.inmogal_6 .inmogalcont:nth-child(6n+4){ clear: both; }
.inmogal_6 .inmogalcont > a{ display: block; position: relative; background: black; }
.inmogal_6 .inmogalcont > a > img{ display: block; width: 100%; transition: all 150ms ease-in 0s;}
.inmogal_6 .inmogalcont > a:after{ bottom: 50%; color: white; content: "\f067"; font-family: "Font Awesome 5 Pro"; font-weight:900; font-size: 0; height: 80px; left: 50%; line-height: 80px; opacity: 0; position: absolute; right: 50%; text-align: center; top: 50%; transform: translate(-50%, -50%); transition: all 150ms ease-in 0s; width: 80px; z-index: 1;}
.inmogal_6 .inmogalcont > a:hover:after{ opacity: 1; font-size: 40px; }
.inmogal_6 .inmogalcont > a:before{ position: absolute; width: 100%; height: 100%; content: ""; background-color: rgba(0,0,0,0.5); opacity: 0; transition: all 150ms ease-in 0s; }
.inmogal_6 .inmogalcont > a:hover:before{ opacity: 1; }
.inmogal_6 .inmogalcont .igc{ position: absolute; width: 100%; bottom: 0; padding: 20px 20px 10px; color: white;
background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.8) 100%); 
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 30%,rgba(0,0,0,0.8) 100%); 
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 30%,rgba(0,0,0,0.8) 100%); 
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); }
.inmogal_6 .inmogalcont .igc > div{ margin-bottom: 5px; width:100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: none; }
.inmogal_6 .inmogalcont .igc > .igcnom{ margin-bottom: 5px; display: block;}
.inmogal_6 .inmogalcont .igc > .igcnom > a { text-decoration: none; color: white; }
.inmogal_6 .inmogalcont .igc > .igcnom h2{display: inline; }
.inmogal_6 .inmogalcont .igc .igclocalidad { display: none; }
.inmogal_6 .inmogalcont .igc .igclocalidad a { color:white; }
.inmogal_6 .inmogalcont .igc .igcprecio{ color:white; display: block;}
.inmogal_6 .inmogalcont .igc .igcdesc{ display: none; }
.inmogal_6 .inmogalcont .igc > .igccar{ color:white; display: none; margin: 0 0 5px; text-overflow: initial; white-space: initial; max-width: 100%; overflow: hidden; height: 30px; }
.inmogal_6 .inmogalcont .igc .igccar > div{ display: inline-block; margin: 0 5px 5px 0; border-radius: 4px; line-height: 25px; background: white; color: black; padding: 2px 8px; }
.inmogal_6 .inmogalcont .igc .igccar > div > img{ max-height: 15px; max-width: 20px; display: inline-block; vertical-align: middle; margin-right: 5px; }
.inmogal_6 .inmogalcont.vendido:after, .inmogal_6 .inmogalcont.alquilado:after { z-index:3; position: absolute; top:0; right: 0; padding: 5px 8px;  font-size: 18px; line-height:18px; height: 18px; font-weight: bold; text-align: center;display: block; overflow: hidden; color:#dd2c00; letter-spacing: 1px; opacity: 0.7; background: white;}
.inmogal_6 .inmogalcont.vendido:after{ content: "VENDIDO";}
.inmogal_6 .inmogalcont.alquilado:after{ content: "ALQUILADO"; }
.inmogal_6 .inmogalcont .igc > .igceti { display: block; }
.inmogal_6 .inmogalcont .igc > .igceti ul:nth-child(2) { display: none; }
.inmogal_6 .inmogalcont .igc > .igceti ul li { display: none;}
.inmogal_6 .inmogalcont .igc > .igceti ul li:first-child { display: inline-block; background-color: rgba(255,255,255,0.75); color:#333; padding: 4px; border-radius: 4px; font-size: 12px; line-height: 12px; text-transform: uppercase; font-weight: bold;}

/* ### 7 ###*/
.inmogal_7{ overflow: hidden; border: 1px solid #f0f0f0;}
.inmogal_7 .inmogalcont{ position: relative; overflow: hidden; float: left; margin:0; width:33.3333%; border: 2px solid #f0f0f0;}
.inmogal_7 .inmogalcont:first-child, .inmogal_7 .inmogalcont:nth-child(7n+1){ width: 66.66666%; float: right; }
.inmogal_7 .inmogalcont:nth-child(7n), .inmogal_7 .inmogalcont:nth-child(7n-1), .inmogal_7 .inmogalcont:nth-child(7n-2), .inmogal_7 .inmogalcont:nth-child(7n-3){ width: 25%; }
.inmogal_7 .inmogalcont:nth-child(7n+2){ border-bottom-width: 0px; }
 
.inmogal_7 .inmogalcont > a{ display: block; position: relative; background: black; }
.inmogal_7 .inmogalcont > a > img{ display: block; width: 100%; transition: all 150ms ease-in 0s;}
.inmogal_7 .inmogalcont > a:after{ bottom: 50%; color: white; content: "\f067"; font-family: "Font Awesome 5 Pro"; font-weight:900; font-size: 0; height: 80px; left: 50%; line-height: 80px; opacity: 0; position: absolute; right: 50%; text-align: center; top: 50%; transform: translate(-50%, -50%); transition: all 150ms ease-in 0s; width: 80px; z-index: 1;}
.inmogal_7 .inmogalcont > a:hover:after{ opacity: 1; font-size: 40px; }
.inmogal_7 .inmogalcont > a:before{ position: absolute; width: 100%; height: 100%; content: ""; background-color: rgba(0,0,0,0.5); opacity: 0; transition: all 150ms ease-in 0s; }
.inmogal_7 .inmogalcont > a:hover:before{ opacity: 1; }
.inmogal_7 .inmogalcont .igc{ position: absolute; width: 100%; bottom: 0; padding: 20px 20px 10px; color: white;
background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.8) 100%); 
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 30%,rgba(0,0,0,0.8) 100%); 
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 30%,rgba(0,0,0,0.8) 100%); 
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); }
.inmogal_7 .inmogalcont .igc > div{ margin-bottom: 5px; width:100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: none; }
.inmogal_7 .inmogalcont .igc > .igcnom{ margin-bottom: 5px; display: block;}
.inmogal_7 .inmogalcont .igc > .igcnom > a { text-decoration: none; color: white; }
.inmogal_7 .inmogalcont .igc > .igcnom h2{display: inline; }
.inmogal_7 .inmogalcont .igc .igclocalidad { display: none; }
.inmogal_7 .inmogalcont .igc .igclocalidad a { color:white; }
.inmogal_7 .inmogalcont .igc .igcprecio{ color:white; display: block;}
.inmogal_7 .inmogalcont .igc .igcdesc{ display: none; }
.inmogal_7 .inmogalcont .igc > .igccar{ color:white; display: none; margin: 0 0 5px; text-overflow: initial; white-space: initial; max-width: 100%; overflow: hidden; height: 30px; }
.inmogal_7 .inmogalcont .igc .igccar > div{ display: inline-block; margin: 0 5px 5px 0; border-radius: 4px; line-height: 25px; background: white; color: black; padding: 2px 8px; }
.inmogal_7 .inmogalcont .igc .igccar > div > img{ max-height: 15px; max-width: 20px; display: inline-block; vertical-align: middle; margin-right: 5px; }
.inmogal_7 .inmogalcont.vendido:after, .inmogal_7 .inmogalcont.alquilado:after { z-index:3; position: absolute; top:0; right: 0; padding: 5px 8px;  font-size: 18px; line-height:18px; height: 18px; font-weight: bold; text-align: center;display: block; overflow: hidden; color:#dd2c00; letter-spacing: 1px; opacity: 0.7; background: white;}
.inmogal_7 .inmogalcont.vendido:after{ content: "VENDIDO";}
.inmogal_7 .inmogalcont.alquilado:after{ content: "ALQUILADO"; }
.inmogal_7 .inmogalcont .igc > .igceti { display: block; }
.inmogal_7 .inmogalcont .igc > .igceti ul:nth-child(2) { display: none; }
.inmogal_7 .inmogalcont .igc > .igceti ul li { display: none;}
.inmogal_7 .inmogalcont .igc > .igceti ul li:first-child { display: inline-block; background-color: rgba(255,255,255,0.75); color:#333; padding: 4px; border-radius: 4px; font-size: 12px; line-height: 12px; text-transform: uppercase; font-weight: bold;}

/* ### 8 ###*/
.inmogal_8{ overflow: hidden; border: 1px solid #f0f0f0;}
.inmogal_8 .inmogalcont{ position: relative; overflow: hidden; float: right; margin:0; width:25%; border: 2px solid #f0f0f0;}
.inmogal_8 .inmogalcont:first-child, .inmogal_8 .inmogalcont:nth-child(8n+1){ width:66.666%; float: right; }
.inmogal_8 .inmogalcont:nth-child(8n+2){ border-bottom-width: 0px;}
.inmogal_8 .inmogalcont:nth-child(8n-2), .inmogal_8 .inmogalcont:nth-child(8n-3){ border-bottom-width: 1px;}
.inmogal_8 .inmogalcont:nth-child(8n+2),.inmogal_8 .inmogalcont:nth-child(8n+3) { width: 33.333%;}
.inmogal_8 .inmogalcont:nth-child(8n+4){ width: 50%; float: left; }
.inmogal_8 .inmogalcont > a{ display: block; position: relative; background: black; }
.inmogal_8 .inmogalcont > a > img{ display: block; width: 100%; transition: all 150ms ease-in 0s;}
.inmogal_8 .inmogalcont > a:after{ bottom: 50%; color: white; content: "\f067"; font-family: "Font Awesome 5 Pro"; font-weight:900; font-size: 0; height: 80px; left: 50%; line-height: 80px; opacity: 0; position: absolute; right: 50%; text-align: center; top: 50%; transform: translate(-50%, -50%); transition: all 150ms ease-in 0s; width: 80px; z-index: 1;}
.inmogal_8 .inmogalcont > a:hover:after{ opacity: 1; font-size: 40px; }
.inmogal_8 .inmogalcont > a:before{ position: absolute; width: 100%; height: 100%; content: ""; background-color: rgba(0,0,0,0.5); opacity: 0; transition: all 150ms ease-in 0s; }
.inmogal_8 .inmogalcont > a:hover:before{ opacity: 1; }
.inmogal_8 .inmogalcont .igc{ position: absolute; width: 100%; bottom: 0; padding: 20px 20px 10px; color: white;
background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.8) 100%); 
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 30%,rgba(0,0,0,0.8) 100%); 
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 30%,rgba(0,0,0,0.8) 100%); 
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); }
.inmogal_8 .inmogalcont .igc > div{ margin-bottom: 5px; width:100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: none; }
.inmogal_8 .inmogalcont .igc > .igcnom{ margin-bottom: 5px; display: block;}
.inmogal_8 .inmogalcont .igc > .igcnom > a { text-decoration: none; color: white; }
.inmogal_8 .inmogalcont .igc > .igcnom h2{display: inline; }
.inmogal_8 .inmogalcont .igc .igclocalidad { display: none; }
.inmogal_8 .inmogalcont .igc .igclocalidad a { color:white; }
.inmogal_8 .inmogalcont .igc .igcprecio{ color:white; display: block;}
.inmogal_8 .inmogalcont .igc .igcdesc{ display: none; }
.inmogal_8 .inmogalcont .igc > .igccar{ color:white; display: none; margin: 0 0 5px; text-overflow: initial; white-space: initial; max-width: 100%; overflow: hidden; height: 30px; }
.inmogal_8 .inmogalcont .igc .igccar > div{ display: inline-block; margin: 0 5px 5px 0; border-radius: 4px; line-height: 25px; background: white; color: black; padding: 2px 8px; }
.inmogal_8 .inmogalcont .igc .igccar > div > img{ max-height: 15px; max-width: 20px; display: inline-block; vertical-align: middle; margin-right: 5px; }
.inmogal_8 .inmogalcont.vendido:after, .inmogal_8 .inmogalcont.alquilado:after { z-index:3; position: absolute; top:0; right: 0; padding: 5px 8px;  font-size: 18px; line-height:18px; height: 18px; font-weight: bold; text-align: center;display: block; overflow: hidden; color:#dd2c00; letter-spacing: 1px; opacity: 0.7; background: white;}
.inmogal_8 .inmogalcont.vendido:after{ content: "VENDIDO";}
.inmogal_8 .inmogalcont.alquilado:after{ content: "ALQUILADO"; }
.inmogal_8 .inmogalcont .igc > .igceti { display: block; }
.inmogal_8 .inmogalcont .igc > .igceti ul:nth-child(2) { display: none; }
.inmogal_8 .inmogalcont .igc > .igceti ul li { display: none;}
.inmogal_8 .inmogalcont .igc > .igceti ul li:first-child { display: inline-block; background-color: rgba(255,255,255,0.75); color:#333; padding: 4px; border-radius: 4px; font-size: 12px; line-height: 12px; text-transform: uppercase; font-weight: bold;}


/*COMÚN*/
.inmogalcont .igc > .igceti ul li:first-child {  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
.inmodestacado { position: relative; }
.inmodestacado:before {     content: "\f164"; font-family: "Font Awesome 5 Pro"; font-weight: 900; z-index: 1; padding: 0 0 8px 8px; color: #fff; position: absolute; right: 0; top: 0; font-size: 18px; display: flex; width: 40px; height: 40px; border-radius: 0 0 0 40px; background: #111; align-items: center; justify-content: center; text-shadow: 0 0 8px rgba(0,0,0,0.5); opacity: .8;}

@media screen and (max-width: 700px) {
	
	/* ### MOSAICOS ###*/
    .inmogal .inmogalcont { width: 49%; float: left; margin:0 0 2%; }
    .inmogal .inmogalcont:nth-child(3n-1){ margin:0 0 2%; }
	.inmogal .inmogalcont:nth-child(3n+1){ clear: none; }
	.inmogal .inmogalcont:nth-child(2n) { float: right; }
    .inmogal .inmogalcont:nth-child(2n+1) { clear: both; }
    .inmogal .inmogalcont > a {width: 100%; }
    .inmogal .inmogalcont .igc{ width: 100%; }
	
	/* ### 3 ###*/
	.inmogal_3 .inmogalcont{ width:50%;}
	.inmogal_3 .inmogalcont:nth-child(1), .inmogal_3 .inmogalcont:nth-child(3n+1){ width: 100%;}
	.inmogal_3 .inmogalcont:nth-child(3n+2){border-bottom-width: 2px;}
	
	/* ### 3-1 ###*/
	.inmogal_3-1 .inmogalcont{ width:100%;}
	
	/* ### 4 ###*/
	.inmogal_4 .inmogalcont{ width: 50%; }
	
	/* ### 5 ###*/
	.inmogal_5 .inmogalcont, .inmogal_5 .inmogalcont:first-child, .inmogal_5 .inmogalcont:nth-child(5n+1), .inmogal_5 .inmogalcont:nth-child(5n), .inmogal_5 .inmogalcont:nth-child(5n-1){width:50%;}
	.inmogal_5 .inmogalcont:nth-child(5n+2){ border-bottom-width:2px; }
	.inmogal_5 .inmogalcont:nth-child(5n+3){ width: 100%; }
	
	/* ### 6 ###*/
	.inmogal_6 .inmogalcont, .inmogal_6 .inmogalcont:first-child, .inmogal_6 .inmogalcont:nth-child(6n+1){ width: 50%; }
    .inmogal_6 .inmogalcont:nth-child(6n+2) { border-bottom-width: 2px; }
    .inmogal_6 .inmogalcont:nth-child(6n+4){ clear: none; }
	
	/* ### 7 ###*/
	.inmogal_7 .inmogalcont{ width:50%;}
	.inmogal_7 .inmogalcont:first-child, .inmogal_7 .inmogalcont:nth-child(7n+1){ width: 100%; }
	.inmogal_7 .inmogalcont:nth-child(7n), .inmogal_7 .inmogalcont:nth-child(7n-1), .inmogal_7 .inmogalcont:nth-child(7n-2), .inmogal_7 .inmogalcont:nth-child(7n-3){ width: 50%; }
	.inmogal_7 .inmogalcont:nth-child(7n+2){ border-bottom-width:2px; }
	
	/* ### 8 ###*/
	.inmogal_8 .inmogalcont{ width:50%;}
	.inmogal_8 .inmogalcont:first-child, .inmogal_8 .inmogalcont:nth-child(8n+1){ width:100%; }
	.inmogal_8 .inmogalcont:nth-child(8n+2), .inmogal_8 .inmogalcont:nth-child(8n-2), .inmogal_8 .inmogalcont:nth-child(8n-3){ border-bottom-width: 2px;}
	.inmogal_8 .inmogalcont:nth-child(8n+2),.inmogal_8 .inmogalcont:nth-child(8n+3) { width: 50%;}
	.inmogal_8 .inmogalcont:nth-child(8n+4){ width: 100%;}
	
}


@media screen and (max-width: 460px) {
	
	/* ### MOSAICOS ###*/
    .inmogal .inmogalcont { width: 100%; float: left; }
	.inmogal .inmogalcont, .inmogal .inmogalcont:nth-child(3n-1){ margin:0 0 20px; }
	/* ### 3 ###*/
	.inmogal_2 .inmogalcont{ width: 100%; }
	
	/* ### 3 ###*/
	.inmogal_3 .inmogalcont{ width:100%;}
	
	/* ### 4 ###*/
	.inmogal_4 .inmogalcont{ width: 100%; }
	
	/* ### 5 ###*/
	.inmogal_5 .inmogalcont, .inmogal_5 .inmogalcont:first-child, .inmogal_5 .inmogalcont:nth-child(5n+1), .inmogal_5 .inmogalcont:nth-child(5n), .inmogal_5 .inmogalcont:nth-child(5n-1){width:100%;}
	
	/* ### 6 ###*/
	.inmogal_6 .inmogalcont, .inmogal_6 .inmogalcont:first-child, .inmogal_6 .inmogalcont:nth-child(6n+1){ width: 100%; }
	
	/* ### 7 ###*/
	.inmogal_7 .inmogalcont, .inmogal_7 .inmogalcont:nth-child(7n), .inmogal_7 .inmogalcont:nth-child(7n-1), .inmogal_7 .inmogalcont:nth-child(7n-2), .inmogal_7 .inmogalcont:nth-child(7n-3){ width: 100%; }
	
	/* ### 8 ###*/
	.inmogal_8 .inmogalcont, .inmogal_8 .inmogalcont:nth-child(8n+2),.inmogal_8 .inmogalcont:nth-child(8n+3){ width:100%;}
}