body {
  background: #eff3fc;
  color: #333;
  font-family: 'Lato', sans-serif;
  letter-spacing: 1px;
  margin: 0;
  padding-top: 59px;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
}

a {
  color: #6184D8;
  text-decoration: none;
  transition: background .3s, color .3s, border-color .3s;
  -webkit-transition: background .3s, color .3s, border-color .3s;
}

h1 {
  color: #8AC925;
  font-size: 34px;
  margin: 0;
  text-align: center;
  letter-spacing: 3px;
}

h2{
  color: #8AC925;
  margin: 0;
  padding: 0;
  text-align: left;
  text-indent: 0;
}

/* SELECT */

select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance:none;
  
  background: #FFF;
  border: 1px solid #476fcc;
  padding: 10px 25px;
  padding-right: 30px;
  outline: 0;
  cursor: pointer;
  margin-left: 10px;
  text-align-last:center;
  
  box-shadow: 0 2px 1px 0 rgba(0,0,0,.15);
  
  /* La arrow */
  background-image:
    linear-gradient(45deg, transparent 50%, #476fcc 50%),
    linear-gradient(135deg, #476fcc 50%, transparent 50%);
  background-position:
    calc(100% - 17px) calc(1em + 3px),
    calc(100% - 12px) calc(1em + 3px);
  background-size:
    5px 5px,
    5px 5px,
    1px 1.5em;
  background-repeat: no-repeat;
  
}

/* Top part */

#top {
  background: #FFF;
  position: fixed;
  font-size: 24px;
  top: 0;
  width: 100%;
  z-index: 1;
  padding: 15px 25px;
  box-shadow: 0 1px 1px 0 rgba(0,0,0,.15);
}

#logo a{
  color: #8AC925 !important;
  -webkit-text-stroke: 1px #80b52a;
  font-family: 'Fredoka One', cursive;
  font-size: 24px;
}

#logo span{
  color: #6184D8 !important;
  -webkit-text-stroke: 1px #4464b3;
}

#menu {
  text-align: right;
  position: absolute;
  /*right: 165px;*/
  right: 25px;
  top: 10px;
}

#menu a {
  padding: 8px 10px;
  padding-left: 32px;
  margin-left: 5px;
  font-size: 14px;
  border-radius: 3px;
  background-size: 24px;
  text-decoration: none !important;
}

#menu a:hover {
  background-color: #F8F8F8;
}

.mnusep {
  display: inline-block;
}

#mnucetesdirecto {
  background: url(../img/icon/bond.png) no-repeat 3px 5px;
}

#mnucrowdfunding {
  background: url(../img/icon/crowdfunding.png) no-repeat 4px 4px;
}

#mnucrowdlending {
  background: url(../img/icon/crowdlending.png) no-repeat 5px 4px;
}

#mnuherramientas {
  background: url(../img/icon/tool.png) no-repeat 5px 6px;
}

#contacto {
  display: none;
  position: absolute;
  right: 25px;
  top: 10px;
}

.btn {
  background: #6184D8;
  padding: 8px 10px;
  font-size: 14px;
  border-radius: 3px;
  background-size: 24px;
  text-decoration: none !important;
  border: 1px solid #476fcc;
  color: #FFF;
  padding: 8px 20px !important;
}

.btn:hover {
  background: #8AC925 !important;
  border-color: #76b512 !important;
}

/* MAIN */

#header {
  background: #6184D8;
  text-align: center;
  border-bottom: 1px solid #597cd2;
  
  text-shadow: 0px 0px 3px rgba(0,0,0,.3);
}

#headline {
  font-size: 40px;
  letter-spacing: 2px;
  font-weight: bold;
  color: #FFF;
}

.main #headline {
  margin-bottom: 20px;
}

#subheadline {
  font-size: 20px;
  letter-spacing: 2px;
  color: #FFF;
}

#headerleft {
  float: left;
  width: 30%;
  position: relative;
}

#guru {
  -webkit-filter: drop-shadow(0 0 10px rgba(255,255,255,.8));
  filter: drop-shadow(0 0 10px rgba(255,255,255,.8));
  margin-top: 25px;
}

#gurumainicon{
  position: absolute;
  top: 110px;
  left: 50%;
  margin-left: 80px;
  -webkit-filter: drop-shadow(0 0 10px rgba(255,255,255,.8));
  filter: drop-shadow(0 0 10px rgba(255,255,255,.8));
}

#headerright{
  padding: 25px;
  height: 200px;
  display: -webkit-flex;    
  display: -ms-flexbox;
  display: flex;
  
  -webkit-flex-flow: row wrap;
  justify-content: space-around;
    
  -webkit-align-items: center;    
  -ms-flex-align: center;
  align-items: center; 
}

#headerright.main{
  height: 300px;
}

/* CONTENT */

#content {
  padding: 20px;
  margin: 0 auto;
  margin: 25px;
  background: #FFF;
  border-radius: 3px;
  box-shadow: 0 2px 6px 0 rgba(0,0,0,.15);
}

/* CETES DIRECTO */

#estadisticas {
  margin-top: 20px;
}

#estadisticas .card {
  padding: 0 !important;
}

.ttlrow {
  width: 150px;
}

/* ARTICLE */

.card {
  background: #FFF;
  border-radius: 3px;
  font-size: 13px;
  padding: 20px;
  margin-bottom: 10px;
  box-shadow: 0 1px 2px 0 #a1acbd;
  position: relative;
  height: 100%;
}

.card a {
  display: block;
}

.card a:hover {
  color: #8AC925;
}

.sponsor {
  background: #F4F4F4;
  padding: 20px;
  text-align: center;
}

.sponsor img {
  height: 70px;
}

.subs {
  color: #FFF !important;
  margin-top: 10px;
}

#leftbar {
  position: fixed;
  top: 60px;
  left: 0;
  padding: 25px;
  width: 210px;
}

#rightbar {
  position: fixed;
  top: 85px;
  right: 25;
  width: 300px;
}

.linkprev {
  padding: 10px 0;
  border-bottom: 1px solid #e3e6e8;
}

.linklast {
  padding-top: 10px;
}

#headerleft:hover #guruarticulo, #leftbar:hover #guruarticulo,
#headerleft:hover #guruicon, #leftbar:hover #guruicon {
  animation: float 5s ease-in-out infinite;
}

#headerleft:hover #gurusombra, #leftbar:hover #gurusombra {
  animation: sombra 5s ease-in-out infinite;
}

#miniguru {
  position: relative;
  width: 140px;
  margin: 0 auto;
}

#guruarticulo {
  margin-top: 20px;
  -webkit-filter: drop-shadow(0 0 8px rgba(255,255,255,.8));
  filter: drop-shadow(0 0 8px rgba(255,255,255,.8));
  position: relative;
  z-index: 0;
}

#guruicon {
  position: absolute;
  top: 60px;
  right: -6px;
  z-index: 0;
}

#guruicon img{
  -webkit-filter: drop-shadow(0 0 5px rgba(255,255,255,.8));
  filter: drop-shadow(0 0 5px rgba(255,255,255,.8));
}

#gurusombra {
  background: radial-gradient(ellipse 40px 10px, rgba(80,80,80,.6), transparent);
	width: 80px;
	height: 20px;
	border-radius: 50%;
	margin: 0 auto;
	margin-top: -5px;
	transition: opacity linear .1s;
	
	position: relative;
}

#headerleft #gurusombra {
  background: radial-gradient(ellipse 40px 10px, rgba(0,42,140,.6), transparent);
}

article {
  padding: 20px;
  margin-left: 210px;
  margin-top: 26px;
  margin-right: 350px;
  margin-bottom: 25px;
  max-width: 1200px;
  background: #FFF;
  border-radius: 3px;
  box-shadow: 0 2px 6px 0 rgba(0,0,0,.15);
}

#ultact {
  color: #888;
  font-size: 12px;
  text-align: center;
  padding-top: 10px;
}

#articlecontent {
  margin: 20px 0;
  margin-bottom: 30px;
  font-size: 14px;
  text-indent: 50px;
  line-height: 1.6em;
}

#articlecontent a {
  border-bottom: 1px solid #6184D8;
}

#articlecontent a:hover {
  color: #8AC925;
  border-color: #8AC925;
}

#comments {
  border-top: 1px solid #d7e0f2;
}

@keyframes sombra {
	0% {
		opacity: 1;
	}
	50% {
		opacity: .2;
	}
	100% {
		opacity: 1;
	}
}

@keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-12px);
	}
	100% {
		transform: translatey(0px);
	}
}

/* Main */

#filters {
  text-align: right;
  margin-top: 15px;
  margin-right: 25px;
}

#subjects {
  margin-top: 5px;
  padding: 10px 25px;
}

.maincard{
  color: #444 !important; 
  position: relative;
  padding-bottom: 45px;
  
  transition: box-shadow .3s;
  -webkit-transition: box-shadow .3s;
}

.maincard:hover {
  box-shadow: 0 2px 8px 0 rgba(0,0,0,.3);
}

.icon {
  position: absolute;
  top: 15px;
  left: 20px;
}

.icon img {
  -webkit-filter: drop-shadow(0 1px 2px rgba(0,0,0,.1));
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.1));
}

.cardttl {
  margin-left: 40px;
  font-weight: bold;
  font-size: 20px;
}

.carddesc {
  margin: 10px 0;
}

.subjects .card {
  height: 100%;
}

.carddate {
  background: #EEE;
  color: #888;
  position: absolute;
  font-size: 10px;
  right: 0;
  top: 0;
  padding: 3px 5px;
}

.cardlvl {
  border-radius: 0 0 3px 3px;
  color: #FFF;
  font-size: 11px;
  left: 0;
  bottom: 0;
  padding: 10px 20px;
  position: absolute;
  width: 100%;
  height: 35px;
  text-shadow: 0px 0px 1px rgba(0,0,0,.1);
}

.subject {
  background: rgba(0,0,0,.1);
  height: 35px;
  padding: 10px 20px;
  position: absolute;
  right: 0;
  bottom: 0;
}

/* Colores */

.black {
  background: #212529;
}

.purple {
  background: #4B118B !important;
}

.greener {
  background: #619901 !important;
}

.green {
  background: #8AC925 !important;
}

.yellow {
  background: #f7ca00 !important;
}

.orange {
  background: #EF8700 !important;
}

.blue {
  background: #1e88e5 !important;
}

.skyblue {
  background: #00aeef !important;
}

.red {
  background: #b81d31 !important;
}

.cpurple {
  color: #4B118B !important;
}

.cgreener {
  color: #619901 !important;
}

.cgreen {
  color: #8AC925 !important;
}

.cyellow {
  color: #f7ca00 !important;
}

.corange {
  color: #EF8700 !important;
}

.cblue {
  color: #1e88e5 !important;
}

.cskyblue {
  color: #00aeef !important;
}

.cred {
  color: #b81d31 !important;
}

.cblack{
  color: #222; !important;
}


/* inmobiliario */

#notice {
  background: #FFF;
  box-shadow: 0 1px 2px 0 #a1acbd;
  color: #8AC925;
  font-size: 20px;
  text-align: center;
  padding: 10px;
}

#lupdate {
  color: #8796b5;
  text-align: right;
  margin-top: 8px;
  margin-right: 25px;
  font-size: 9px;
}

#inmobiliario {
  padding: 25px;
  padding-top: 8px;
}

.new {
  color: #FFF;
  background: #fd5555;
  border: 1px solid #bd0202;
  padding: 2px 5px;
  border-radius: 3px;
  font-weight: bold;
  text-align: center;
  position: absolute;
  right: 25px;
  top: 25px;
  font-size: 9px;
}

.cardimg {
  background: #DDD;
  color: #FFF;
  font-size: 12px;
  position: relative;
  height: 180px;
  overflow: hidden;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  text-shadow: 0px 0px 1px rgba(0,0,0,.2);
}

.cardtype {
  color: #FFF;
  font-size: 14px;
  padding: 5px 0;
  width: 100%;
  text-align: center;
}

.cardfondeado {
  background: rgba(255,85,60,.8);
  position: absolute;
  top: 70px;
  width: 100%;
  text-align: center;
  font-size: 20px;
  padding: 5px 0;
}

.cardplatform {
  position: absolute;
  padding: 5px 10px;
  position: absolute;
  left: 0;
  bottom: 0;
}

.cardcontent {
  padding: 10px;
  padding-top: 10px;
  font-size: 12px;
}

.cardquickdesc {
  background: #f4f4f4;
  padding: 10px;
}

.cardinmttl {
  font-size: 16px;
}

.cardtypetxt {
  font-size: 10px;
  color: #999;
  margin-top: 5px;
}

.cardinvestability {
  position: absolute;
  padding: 5px 10px;
  position: absolute;
  right: 0;
  bottom: 0;
  text-align: center;
  width: 160px;
}

.cardinvestability:hover .invexpl {
  display: block !important;
  text-align: left;
  border-top: 1px solid #FFF;
  padding-top: 2px;
  margin-top: 2px;
}

.interesextra {
  margin-top: 2px;
  text-align: center;
  background: #6184D8;
  border-radius: 0 0 3px 3px;
  color: #FFF;
  padding: 5px 0 6px 0;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0px;
  font-size: 11px;
}

.progress {
  background: #EAEAEA;
  position: relative;
  height: 20px;
}

.pbar {
  background: #d8d8d8;
  height: 20px;
  float: left;
}

.pamt {
  position: absolute;
  width: 100%;
  text-align: center;
  color: #888;
  top: 4px;
  font-size: 9px;
  color: #FFF;
}
  
/* Table div */

.divTable{
  width: 100%;
  display: table;
  table-layout: fixed;
  border-collapse: separate;
}

.headRow { 
  display:table-row;
  text-align: center;
  font-weight: bold;
}

.divRow{
  display:table-row;
  vertical-align: middle;
}

.divCell{
	display: table-cell;
	position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 3px;
  vertical-align: middle;
}

/* Flex */

.flex3 > ul {
  grid-template-columns: repeat(auto-fit, minmax(334px, 1fr));
}


.flex6 > ul {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.flexcont > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-gap: 1rem;
}