/* CSS */

/* VARIABLES */
:root {
    --red: #dc0000;           /* rgb(220, 0, 0)   */
     /* --grey: #9e9da2;         rgb(158,157,162) */
    /* --grey: #909090;          rgb()144,144,144) */
    --grey: #6A6969;
    --white: #ffffff;         /* rgb(255,255,255) */
    --black: #000000;         /* rgb(0,0,0)       */
    --blue-ducoma: #003349;   /* rgb(0,51,73)     */
    --h1: 3rem;
    --h2: 4rem;
    --h3: 3.5rem;
    --h4: 1.5rem;
}

html, body{
  font-family: 'Titillium Web', sans-serif;
}


/* COLORS TEXT */
.white{     color: var(--white);}
.red {      color: var(--red);}
.grey{      color: var(--grey);}
.bblack{    color: var(--black);}

/* COLORS BACKGROUBD */
.bred{      background-color: var(--red);}
.bblack{    background-color: var(--black);}
.bblue{     background-color: var(--blue-ducoma);}

.h1{
  font-weight: 200 !important;
}

.h2{ 
  font-size: var(--h2); 
  font-weight: 200;
}
.h3 {
  font-size: var(--h3); 
  font-weight: 200;
}
.bold{
  font-weight: 400;
}

.h4 {
  font-size: var(--h4); 
  font-weight: 400;
}

.card a {
  text-decoration: none !important;
  color: var(--grey);
}

.back-1{
  background-image: url('../img/banner-1.jpg');
  padding-top: 6rem;
  padding-bottom: 5rem;
  background-attachment: fixed;
}

.back-2{
  background-image: url('../img/banner-3.jpg');
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-attachment: fixed;
}

/*BACKGROUND PROYECTO PRESIDENTE RIESCO */
.back-3{
  background-image: url('../img/proyecto-presidente-riesco/banner-presidente-riesco.jpg');
  background-position: center -300px;
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-attachment: fixed;
}
.back-4{
  background-image: url('../img/proyecto-jardines-de-riesco/banner-jardines-de-riesco.jpg');
  background-position: center -560px;
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-attachment: fixed;
}
.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.0);
    border-radius: .25rem;
 }
 .card-back {
    background-color: rgba(0,0,0,.5);
}

 .card-a {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.0);
    border-radius: .25rem;
 }

 .btn-outline-secondary {
    color: var(--red);
    border-color: #6c757d;
}
.btn-outline-secondary:hover {
    color: var(--white);
    background-color: var(--red);
    border-color: var(--red);
}

 .btn-outline-secondary-2 {
    background-color: var(--red);
    color: var(--white);
    border-color: #6c757d;
}
.btn-outline-secondary-2:hover {
    color: var(--red);
    background-color: var(--white);
    border-color: var(--red);
}


 .btn-outline-secondary-op {
    color: var(--white);
    border-color: var(--red);
}
.btn-outline-secondary-op:hover {
    color: var(--white);
    background-color: var(--red);
    border-color: var(--red);
}





/* HOVER IMAG */
.container1 {
  position: relative;
  width: 100%;
}
/*
.image {
  display: block;
  width: 100%;
  height: auto;
}*/

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: rgba(0,0,0,.8);
}

.container1:hover .overlay {
  opacity:  1;
  cursor: pointer;
}

.text {
    color: white;
  font-size: .9rem;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-weight: 100;
}

/* MENU */ 
.menu .bblack{
    background-color: rgba(1,50,67,.0) !important;
    transition: all .5s ease .2s;

}
.menu-fixed .bblack {
    background-color: rgba(0,0,0,.9) !important;
    transition: all .5s ease .2s;
}

.menu .shadow{
  -webkit-box-shadow: 0px 10px 7px -5px rgba(0,0,0,0);
  -moz-box-shadow: 0px 10px 7px -5px rgba(0,0,0,0);
  box-shadow: 0px 10px 7px -5px rgba(0,0,0,0);
}

.menu-fixed .shadow{
  -webkit-box-shadow: 0px 10px 7px -5px rgba(0,0,0,0.5);
  -moz-box-shadow: 0px 10px 7px -5px rgba(0,0,0,0.5);
  box-shadow: 0px 10px 7px -5px rgba(0,0,0,0.5);
}

.menu .line{
   border-bottom: 1px solid rgba(255,255,255,.2);
}

.menu-fixed .line{
   border-bottom: 0px solid rgba(255,255,255,.0);
}

.menu .fixed-top-1 {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    padding: 10px;
}

.menu-fixed .fixed-top-1 {
    position: fixed;
    top: 0px;
    right: 0;
    left: 0;
    z-index: 1030;
    transition: all .5s ease .2s;
    padding: 10px;
}

.menu .fixed-top {
    position: fixed;
    top: 85px;
    right: 0;
    left: 0;
    z-index: 1030;
    transition: all .5s ease .2s;
    padding: 10px;
}

.menu-fixed .fixed-top {
    position: fixed;
    top: 68px !important;
    right: 0;
    left: 0;
    z-index: 1030;
    transition: all .5s ease .2s;
    padding: 10px;
}

.logo{
  width: 270px;
  height: 65px;
  transition: all .5s ease .2s;
}

.menu-fixed .logo{
  width: 200px;
  height: 48px;
  transition: all .5s ease .2s;
}

.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 200px;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
}


/* MENU SELECT */
.navbar-nav .nav-item .active {
  background-color: #5C0000 !important;
  color: #FFFFFF !important;
  display: block;
  padding: .5rem 1rem;
  text-decoration: none;
}

.carousel-indicators-arrow{
    position: absolute;
    right: 0;
    bottom: 4rem;
    left: 0;
    z-index: 15;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none;
    transition: all 5s ease 2s;
}

 /* CARRUSEL */
.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 10rem !important;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 6rem;
    color: #fff;
    text-align: center;
}

/* ARROW IN */
.fade-in{
  -webkit-animation: fadein 4s linear forwards;
  animation: fadein 4s linear forwards;
}

@-webkit-keyframes fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadein {
  0%{ opacity: 0; }
  100% { opacity: 1; }
}

.fade-in-fidex{
  display: none !important;
}

/* ARROW */
* {
  box-sizing: border-box;
}
.container2 {
  height: 80px;
  width: 80px;
  margin: 250px auto 0;
  position: relative;
}
.circle {
  background-color:rgba(0,0,0,.12);
  height: 80px;
  width: 80px;
  display: block;
  /*border: 5px solid rgb(220, 0, 0,.5) ;*/
  border-radius: 40px;
  position: absolute;
  bottom: 0;
  z-index: 1;
  animation-name:circle;
  animation-duration:1s;
  animation-timing-function:linear;
  animation-delay:0s;
  animation-iteration-count:infinite;
  animation-direction:normal;
  animation-play-state:running;
  -webkit-animation-name:circle;
  -webkit-animation-duration:1s;
  -webkit-animation-timing-function:linear;
  -webkit-animation-delay:0s;
  -webkit-animation-iteration-count:infinite;
  -webkit-animation-direction:normal;
  -webkit-animation-play-state:running;
}
.fa {
  font-size: 40px;
  color: rgba(220, 0, 0.25);
  bottom: 10px;
  position: absolute;
  left: 50%;
  margin-left: -20px;
  animation-name:arrow;
  animation-duration:1s;
  animation-timing-function:linear;
  animation-delay:0s;
  animation-iteration-count:infinite;
  animation-direction:normal;
  animation-play-state:running;
  -webkit-animation-name:arrow;
  -webkit-animation-duration:1.5s;
  -webkit-animation-timing-function:linear;
  -webkit-animation-delay:0s;
  -webkit-animation-iteration-count:infinite;
  -webkit-animation-direction:normal;
  -webkit-animation-play-state:running;
}
.pulse {
  margin: 0 auto;
  border-radius: 80px;
  position: absolute;
  left: 0px;
  top: 5px;
  z-index: 0;
  background-color: transparent;
  opacity: 0;
  width: 80px;
  height:80px;
  border: 10px solid rgb(220, 0, 0,.5);
  -webkit-border-radius: 80px;
  -moz-border-radius: 80px;
  -o-border-radius: 80px;
  -ms-border-radius: 80px;
  border-radius: 80px;
  /* Giving Animation Function */
  -webkit-animation: pulse 1s linear infinite 0.3s;
  -moz-animation: pulse 1s linear infinite 0.3s; 
  border-image: initial;
}
@keyframes arrow
  {
  0%   {bottom:0;}
  75% {bottom:30px;}
  100% {bottom:0;}
  }
@-webkit-keyframes arrow
  {
  0%   {bottom:0;}
  75% {bottom:30px;}
  100% {bottom:0;}
  }
@keyframes circle
  {
  0%   {height:80px;}
  10% {height: 80px;}
  50% {height: 80px;}
  75% {height: 80px;}
  90% {height: 80px;}
  100% {height: 80px;}
  }
@-webkit-keyframes circle
  {
  0%   {height:80px;}
  10% {height: 80px;}
  50% {height: 80px;}
  75% {height: 80px;}
  90% {height: 80px;}
  100% {height: 80px;}
  }
@-webkit-keyframes pulse {       
  0% {-webkit-transform: scale(0); opacity: 0;}
  8% {-webkit-transform: scale(0); opacity: 0;}
  15% {-webkit-transform: scale(0.1); opacity: 1;}
  30% {-webkit-transform: scale(0.5); opacity: 1;}
  100% {opacity: 0; -webkit-transform: scale(1.5);}
}
@-moz-keyframes pulse {       
  0% {-webkit-transform: scale(0); opacity: 0;}
  8% {-webkit-transform: scale(0); opacity: 0;}
  15% {-webkit-transform: scale(0.1); opacity: 1;}
  30% {-webkit-transform: scale(0.5); opacity: 1;}
  100% {opacity: 0; -webkit-transform: scale(1.5);}
}

/* BANNER SUPERIOR PROYECTOS */

.by{
  height: 30rem;
}

.title-section{
bottom: -16rem;
position: relative;
line-height: 4px;
}

.btn-link {
    font-weight: 400;
    color: var(--black);
    text-decoration: none !important;
}

.btn-link:hover {
    font-weight: 400;
    color: var(--black);
    color: var(--red);

}

.dropdown-menu {
    position: absolute;
    top: 117%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    font-size: 1rem;
    color: var(--white);
    text-align: left;
    list-style: none;
    background-color: rgba(0,0,0,.5);
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: var(--white);
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}
.dropdown-item:focus, .dropdown-item:hover {
    color: var(--red);
    text-decoration: none;
    background-color: rgba(255,255,255,.8);
}



/* MODAL */
.modal-dialog {
    /*max-width: 600px;*/
    margin: 1.75rem auto;
}

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: rgba(0,0,0,0) !important;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,0) !important;
    border-radius: .3rem;
    outline: 0;
}

.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 0px !important;
    border-bottom-right-radius: .3rem;
    border-bottom-left-radius: .3rem;
}



.envio{
  padding-top: 20rem;
  background-image: url('../img/banner-1.jpg');
  background-attachment: fixed;
  background-size: cover;
  height:100vh;
  /*width: 100vw;*/
}



@media only screen and (max-width:575.98px){

      .mb-05{
        margin-bottom: 2rem;
      }
      .mt-05{
        margin-top: 8rem;

      }

      .menu .bblack {
        background-color: rgba(0,0,0,1) !important;
        transition: all .5s ease .2s;
    }

    .menu-text{
          font-weight: 700;
    padding-left: 35px;
    padding-top: 3px !important;
    display: block;
    }
    .navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    margin-right: 70px;
    }
    
}