body{
  background: url(../img/fondo.jpg);
  font-family: 'Roboto Condensed', sans-serif;
}

/* 
  Útiles
-------------------------------------------------------------------------------*/
.bg-celeste{
  background-color: #42ccf3;
}
.bg-amarillo{
  background-color: #fdd865;
}
.txt-azul{
  color: #365a9c;
}
.txt-verde{
  color: #157370;
}
.txt-lila{
  color: #7030a0;
}
.txt-rojo{
  color: #ee4363;
}
.txt-blanco{
  color: #FFF;
}
.txt-negro{
  color: #333
}
.relative{
  position: relative;
}
.center{
  margin: 0 auto;
}
.seccion{
  padding: 40px 0;
}
/*------------------------------------------------------------------------------*/



/*
  Barra header
------------------------------------------------------------------------------------*/
header{
  background: #0c67af;
  box-shadow: 5px 0px 13px #666;
  color: #fff;
  padding: 30px;
}
#marca{
  font-size: 19px;
  text-transform: uppercase;
  margin-top: 11px;
  float: left;
  border-left: 1px solid #fff;
  padding-left: 10px;
}

/*
  Banner 
-------------------------------------------------------------------------------------*/
h1{
    font-size: 100px;
    line-height: 1;
    font-weight: 900;
    color: #0c67af;
}
.banner-left{
  padding: 0 30px 0 130px;
  font-size: 22px;
}
.banner-right{
  font-size: 22px;
}

.banner-left ul li{
  font-weight: 700;
  color: #ee4363;
}
.img-head{
  background: url(../img/d_icono_01.png) no-repeat;
  width: 400px;
  height: 400px;
  float: right;
  text-align: right;
  position: absolute;
  top: -173px;
  right: 0;
  background-size: cover;
}


/* 
  Barra Pregunta
------------------------------------------------------------------------------------*/
.pregunta{
  background: #ee4363; 
  box-shadow: 5px 0px 13px #666; 
  padding: 30px;
}
h2{
  position: relative;
    text-align: center;
    color: #fff;
    font-size: 55px;
    font-weight: 700;
}
h2::before{
  background: url(../img/interrogacion_a.png);
    position: absolute;
    background-size: contain;
    width: 300px;
    height: 300px;
    margin-left: -280px;
    top: -75px;
    content: "";
}
h2::after{
  background: url(../img/interrogacion.png);
  position: absolute;
  background-size: contain;
  width: 300px;
  height: 300px;
  top: -75px;
  content: "";
}


/*
  Main body
------------------------------------------------------------------------*/
.main{
  padding: 30px 0 150px;
}
#primero,
#segundo,
#tercero,
#cuarto{
  background-size: contain !important;
}
#primero{
  background: url(../img/icono_01.png) no-repeat;
}
#segundo{
  background: url(../img/icono_02.png) no-repeat;
}
#tercero{
  background: url(../img/icono_03.png) no-repeat;
}
#cuarto{
  background: url(../img/icono_04.png) no-repeat;
}
.num{
    font-size: 70px;
    font-weight: 900;
    text-align: center;
}
.uno{
    color: #0187a1;
}
.dos{
    color: #38b7da; 
}
.tres{
    color: #ee4363;
}
.cuatro{
    color: #7030a0;
}
.item-box{
  position: relative;
}
.img-circle{
  width: 200px;
  height: 200px;
  margin: 0 auto;
  cursor: pointer;
  position: relative;
  -webkit-transition: all .3s linear;
  -moz-transition: all .3s linear;
  transition: all .3s linear;
}
.img-circle:hover{
  margin-top: -15px;
}
.item-box h3{
  text-align: center;
  font-weight: 700;
  margin: 0;
  height: 87px;
  font-size: 30px;
  padding: 10px 30px;
}
.circle-2{
    display: table;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: solid 10px #fff;
    margin: 0 auto;
    box-shadow: 0px 2px 10px #8d8d8d;
}
.circle-2 .circle-text{
  margin: 0 auto;
  display: table-cell;
  vertical-align: middle;
  padding: 10px 20px;
  text-align: center;
}


.back .circle-text{
  font-size: 16px;
}



@keyframes fadeInDown {
  0% {
      opacity: 0;
      -webkit-transform: translate3d(0,-40%,0);
      transform: translate3d(0,-40%,0)
  }

  to {
      opacity: 1;
      -webkit-transform: translateZ(0);
      transform: translateZ(0)
  }
}


.item-box-bottom,
.item-box-bottom.segundo,
.item-box-bottom.tercero,
.item-box-bottom.cuarto{
  float: left;
  width: 100%;
  display: none;
}

.item-box-bottom{
  background: #c4dfd8;
  background: linear-gradient(180deg, rgba(204,233,239,1) 19%, rgba(189,217,221,1) 19%, rgb(189,217,221,1) 69%, rgb(69 173 28/0%) 66%);
}

.item-box-bottom.segundo{
  background: #c4dfd8;
  background: linear-gradient(180deg, rgba(184 228 253) 19%, rgba(156 218 239) 19%, rgb(156 218 239) 69%, rgb(69 173 28/0%) 66%);
}

.item-box-bottom.tercero{
  background: #c4dfd8;
  background: linear-gradient(180deg, rgba(255 224 206) 24%, rgba(255 174 128) 24%, rgb(255 174 128) 80%, rgb(69 173 28/0%) 66%);
}
.item-box-bottom.cuarto{
  background: #c4dfd8;
  background: linear-gradient(180deg, rgba(240 213 254) 15%, rgba(214 192 230) 15%, rgb(214 192 230) 85%, rgb(69 173 28/0%) 85%);
}



.animate__slideInDown.animate__slow {
    --animate-duration: 0.5s;
}
.content-item-tool{
  float: left;
  width: 100%;
  padding: 50px 0 100px 0;
}
.item-tool{
  float: left;
  width: 45%;
  text-align: center;
}
.item-tool.izq{ 
  padding: 0 10px 0 20px;
}
.item-tool.der{ 
  padding: 0 20px 0 10px;
}
.cuarto h3{
  color: #7030a0;
  font-weight: 700;
  text-align: center;
  font-size: 35px;
  padding: 0 30px;
}
.item-tool-inmuebles{
  text-align: center;
}


/*
  Tooltip Box
------------------------------------------------------------------------------------------------*/
.con-tooltip {
    position: relative;
    background: #F2D1C9;
    cursor: pointer;
  }
  
  /*tooltip */
  .tooltip {
    visibility: hidden;
    z-index: 1;
    opacity: .40;
    width: 250px;
    padding: 0px 20px;
    background: #333;
    color: #FFF;
    position: absolute;
    top:-140%;
    left: -25%;
    border-radius: 9px;
    font: 16px;
    transform: translateY(9px);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 3px rgba(56, 54, 54, 0.86);
  }
  
  
  /* tooltip  after*/
  .tooltip::after {
    content: " ";
    width: 0;
    height: 0;
    
    border-style: solid;
    border-width: 12px 12.5px 0 12.5px;
    border-color: #333 transparent transparent transparent;
  
    position: absolute;
    left: 40%;
    bottom: -12px;
  
  }
  
  .con-tooltip:hover .tooltip{
    visibility: visible;
    transform: translateY(-10px);
    opacity: 1;
      transition: .3s linear;
    animation: odsoky 1s ease-in-out infinite  alternate;
  
  }
  @keyframes odsoky {
    0%{
      transform: translateY(6px); 
    }
  
    100%{
      transform: translateY(1px); 
    }
  
  }
  
  /*hover ToolTip*/
  .left:hover {transform: translateX(-6px); }
  .top:hover {transform: translateY(-6px);  }
  .bottom:hover {transform: translateY(6px);}
  .right:hover {transform: translateX(6px); }
  
  /*left*/
  .left .tooltip{ 
    top:-20%; 
    left:-170%; 
  }
  .left .tooltip::after{
    top:40%;
    left:90%;
    transform: rotate(-90deg);
  }
  
  /*bottom*/
  .bottom .tooltip { 
    top:115%; 
    left:-20%;
  }
  .bottom .tooltip::after{
    top:-17%;
    left:40%;
    transform: rotate(180deg);
  }
  
  /*right*/
  .right .tooltip {
    top:-20%; 
    left:115%; 
  }
  
  .right .tooltip::after{
    top:40%;
    left:-12%;
    transform: rotate(90deg);
  }


  /* 
  cardBox
----------------------------------------------------------------------*/
.cardBox {
  float: left;
   font-size: 1.2em;
   margin: 1% 0 0 1%;
   perspective: 800px;
   transition: all 0.3s ease 0s;
   width: 100%;
 }
 
 .cardBox:hover .cards {
   transform: rotateY( 180deg);
 }
 
 .cards {
   cursor: pointer;
   height: 300px;
   transform-style: preserve-3d;
   transition: transform 0.4s ease 0s;
   width: 100%;
   -webkit-animation: giro 1s 1;
   animation: giro 1s 1;
 }
 
 .cards p {
   margin-bottom: 1.8em;
 }
 
 .cards .front,
 .cards .back {
   backface-visibility: hidden;
   box-sizing: border-box;
   color: white;
   font-size: 1.2em;
   position: absolute;
   text-align: center;
 }
 
 .cards .front strong {
   font-size: 1.5em;
   line-height: 30px;
 }
 
 .cards .back {
   transform: rotateY( 180deg);
 }
 
 .cards .back a {
   padding: 0.3em 0.5em;
   background: #333;
   color: #fff;
   text-decoration: none;
   border-radius: 1px;
   font-size: 0.9em;
   transition: all 0.2s ease 0s;
 }
 
 .cards .back a:hover {
   background: #fff;
   color: #333;
   text-shadow: 0 0 1px #333;
 }
 .cardBox .cards {
   -webkit-animation: giro 1.5s 1;
   animation: giro 1.5s 1;
 }
 
 
 @-webkit-keyframes giro {
   from {
     transform: rotateY( 180deg);
   }
   to {
     transform: rotateY( 0deg);
   }
 }
 
 @keyframes giro {
   from {
     transform: rotateY( 180deg);
   }
   to {
     transform: rotateY( 0deg);
   }
 }
 
 @media screen and (max-width: 767px) {
   .cardBox {
     margin-left: 2.8%;
     margin-top: 3%;
     width: 46%;
   }
   .cards {
     height: 285px;
   }
   .cardBox:last-child {
     margin-bottom: 3%;
   }
 }
 
 @media screen and (max-width: 480px) {
   .cardBox {
     width: 94.5%;
   }
   .cards {
     height: 260px;
   }
 }
 


  

/*
  Venta de bienes muebles
--------------------------------------------*/
.cardBox-vbm .front .circle-text{
  color: #ec4561;
}
.cardBox-vbm .back .circle-text{
  color: #355b9b;
  font-weight: 700;
}
.cardBox-vbm .front,
.cardBox-vbm .back {
  background-color: #fdd865
}

.vbm-tooltip::after {
 
}
.vbm-tooltip-b{
  top: -124% !important;
  left: -47% !important;
  background: #65c7be;
  padding: 15px;
}
.vbm-tooltip-b::after{
  border-color: #65c7be transparent transparent transparent;
  left: 40%;
  bottom: -12px
}
.vbm-tooltip-f{
  top: -96% !important;
  left: -61% !important;
  background: #65c7be;
  padding: 15px;
}
.vbm-tooltip-f::after{
  border-color: #65c7be transparent transparent transparent;
  left: 40%;
  bottom: -12px
}

.boleta{
  background: url(../img/ico_dinero.png);
  height: 120px;
  width: 120px;
  background-size: cover;
  padding:0 10px;
}
.factura{
  background: url(../img/factura_ico.png);
  height: 120px;
  width: 120px;
  background-size: cover;
  padding:0 10px;
}


/*
  Venta de bienes Inmuebles
--------------------------------------------*/
.cardBox-vbi .front,
.cardBox-vbi .back{
  background: #42ccf3 !important;
}

.cardBox-vbi .front .circle-text{
  color: #fff !important;
}
.cardBox-vbi .back .circle-text{
  color: #325c9d !important;
  font-weight: 700;
  font-size: 25px;
}





.vbi-tooltip{
  background: #42cbf4;
  padding: 15px;
  top: -125% !important;
  left: -44% !important;
}
.vbi-tooltip::after{
  border-color: #42cbf4 transparent transparent transparent;
}

.contratos-items{
  width: 100%;
  float: left;
  margin-bottom: 15px;
}
.contrato-ico{
  background: url(../img/pencil.png);
  height: 100px;
  width: 100px;
  background-size: cover;
}


/*
 contrato
-------------------------------------*/
.content-item-tool-contrato{
  float: left;
  width: 100%;
  padding: 50px 0 0 0;
}
.cardBox-contratos .front .circle-text,
.cardBox-contratos .back .circle-text{
  color: #ec455f;
}
.cardBox-contratos .back .circle-text{
  font-weight: 700;
  font-size: 18px;
}
.cardBox-contratos .front,
.cardBox-contratos .back {
  background-color: #fdd865
}

.contrato-tooltip{
  padding: 15px;
  background: #ef4464;
}
.contrato-tooltip::after{
  border-color: #ef4464 transparent transparent transparent;
}
.contrato-item{
  float: left;
  font-size: 17px;
  width: 55%;
  padding: 18px 10px 18px 0;
}



/*
  Prestación de servicios
---------------------------------------------------------------------------------------*/
.cardBox-ps .front,
.cardBox-ps .back {
  background-color: #fdd865
}
.cardBox-ps .front .circle-text,
.cardBox-ps .back .circle-text{
  color: #8d40e6;
}
.cardBox-ps .back .circle-text{
  font-weight: 700;
  font-size: 16px;
}

/* Tooltips */
.ps-tooltip{
  padding: 15px;
  background: #7030a0;
  top: -155px;
    left: -52px;
}
.ps-tooltip::after{
  border-color: #7030a0 transparent transparent transparent;
}
.ps .cards{
  width: 200px;
  height: 200px;
}
.ps2 .cards{
  float: right;
}
.circle-4-a,
.circle-4-b{
  display: table;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: solid 8px #fff;
  box-shadow: 1px 2px 10px #585858;
}
.circle-4-a{
  float:left;
}
.circle-4-b{
  margin-top: 0;
  right: 0;
}
.circle-4-a .circle-text,
.circle-4-b .circle-text {
  margin: 0 auto;
    display: table-cell;
    vertical-align: middle;
    padding: 10px 20px;
    text-align: center;
    font-size: 16px;
}






/* 
  Footer
---------------------------------------------------------------------*/
#footer{
  background: #0c67af;
  padding: 20px;
  margin-top: 30px;
  float: left;
  width: 100%;
}


@media (max-width: 769px) {
  h1{
    font-size: 65px;
  }
  .img-head{
    display: none;
  }
  .banner-left {
    padding: 0 30px 0 40px;
  }
  h2 {
    font-size: 30px;
  }
  h2::before {
    width: 80px;
    height: 80px;
    margin-left: -75px;
    top: 45px;
  }
  h2::after {
    width: 80px;
    height: 80px;
    top: 35px;
    right: -55px;
  }
  .num{
    margin-top: 50px;
  }

}