@font-face {
    font-family: 'Myriad';
    src: url("MYRIADPRO_REGULAR.OTF") format('truetype');
    font-style: normal;

}

@font-face {
    font-family: 'Myriad-bold';
    src: url("MYRIADPRO_BOLD.OTF") format('truetype');
    font-style: normal;

}

:root {
--color-principal:#191919;
--titulo:#000;
--subtitulo:#191919;
--letra-d:#BC955C;
--variable-titulos: #AB8100;
--color-portico-norte: #0c384c;
--color-titulo-medallones: #c9963b;
--color-titulo-esquina-sureste: #33534b;
--color-titulo-relieves: #c77537;
}

.titulo-inicial{
  font-family: 'Myriad-bold';
  text-transform: uppercase;
  color:white;
  font-size: 25px;
  width: auto!important;
}

.titulo-portico-norte{
background-color: var(--color-portico-norte);
  text-align: center;
  color: white;
}
.titulo-medallones{
background-color: var(--color-titulo-medallones);
  text-align: center;
  color: white;
}
.titulo-esquina-sureste{
background-color: var(--color-titulo-esquina-sureste);
  text-align: center;
  color: white;
}
.titulo-relieves{
background-color: var(--color-titulo-relieves);
  text-align: center;
  color: white;
}
body{
font-family: 'Myriad';
text-align: justify;
}

footer{  
background-size: cover;
background-position: bottom;
padding: 15px;
background-color: #000;
}

footer p{
color: white;
}
footer a{
text-decoration: none;
}

h1 { 
color: var(--titulo);
border-bottom: 3px solid #000;
width: 70%;
font-weight: bolder;
}

h2{
color: var(--titulo);
border-bottom: 3px solid #000;
width: 60%;
}


h3{
color: var(--subtitulo);
width: 70%;
}


a.nav-link{
color: white;
}
.navbar-collapse{
justify-content: center;
}

.nav-link:focus, .nav-link:hover {
    color: var(--variable-titulos);
}

.bg-menu{
  background-color: black;
}

.titulo-back{
  background-color: var(--color-portico-norte);
  text-align: center;
  /*font-weight: bolder;*/
  color: white;
}



.contenedor-centrado{
  align-content: center;
}

.lista{
  font-size: 22px;
  font-weight: bolder;
  & a{
    text-decoration: none;
  }
  .sureste a{
    color: #33534b;
  }
  .medallones a{
    color: #c9963b;
  }
  .norte a{
    color: #0c384c;
  }
  .relieves a{
    color: #c77537;
  }
}


  .blue{
    background-color: #156082;
    color: #ffff;
    align-content: center;
    padding: 10px;
  }

  .orange{
    background-color: #e97132;
    color: #ffff;
    align-content: center;
    padding: 10px
  }

  .green{
    background-color: #196b24;
    color: #ffff;
    align-content: center;
    padding: 10px
  }

.open-modal{
  text-decoration: none;
  color: var(--variable-titulos);
  cursor:pointer;
}
.modal {
  position:fixed;
  display:table;
  height:100%;
  width:100%; 
  top:0;
  left:0;
  transform:scale(0);
  z-index:20;
}
  .one {
    transform:scaleY(.01) scaleX(0);
    animation:unfoldIn 1s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
    .modal-dialog  {
      .modal-content {
      background:#000;
        transform:scale(0);
        animation: zoomIn .5s .8s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
      }
    }
 }
.out {
      transform:scale(1);
      animation:unfoldOut 1s .3s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
      .modal-dialog  {
        .modal-content {
          background:#000;
          animation: zoomOut .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
        }
      }
    }

@keyframes unfoldIn {
  0% {
    transform:scaleY(.005) scaleX(0);
  }
  50% {
    transform:scaleY(.005) scaleX(1);
  }
  100% {
    transform:scaleY(1) scaleX(1);
  }
}

@keyframes unfoldOut {
  0% {
    transform:scaleY(1) scaleX(1);
  }
  50% {
    transform:scaleY(.005) scaleX(1);
  }
  100% {
    transform:scaleY(.005) scaleX(0);
  }
}

@keyframes zoomIn {
  0% {
    transform:scale(0);
  }
  100% {
    transform:scale(1);
  }
}

@keyframes zoomOut {
  0% {
    transform:scale(1);
  }
  100% {
    transform:scale(0);
  }
}

* {
  box-sizing: border-box;
}

.zoom {
  transition: transform .8s;
  margin: 0 auto;
}

.zoom:hover {
  -ms-transform: scale(1.5); /* IE 9 */
  -webkit-transform: scale(1.5); /* Safari 3-8 */
  transform: scale(1.5); 
}

.h4-title{
  font-weight: bolder;
}

.btn-primary{
  background-color: #064d47;
  border-color: #064d47;
  border-radius: 1px;
  font-size:24px;
}

.btn-primary:hover{
  background-color: #f6e43c;
  color: black;
}

.principal{
  text-transform: uppercase;
  font-weight: bolder;
  font-family: 'Myriad-bold';
}

.btn-guardar{
  background-color: var(--color-portico-norte);
  color: white;
  padding: 10px;
}

.btn-guardar:hover{
  border-color: var(--color-portico-norte);
  color: black;
}

.btn-editar{
   background-color: #e28743;
  color: white;
  padding: 10px;
}

.alert-success{
  background-color: var(--color-portico-norte);
  color: white;
  font-size: 30px;
}

.box{
  display: flex;
  flex-direction: row;
  .left-side{
    width: 20%;
  }
  .right-side{
    width: 80%;
  
    .text{
      margin: 50px;
      padding: 20px;
      background: linear-gradient(90deg,rgba(12, 56, 76, 0.70) 50%, rgba(12, 56, 76, 0.70) 100%);
      h1, h3{
        color: white;
      }
    }
  }
}

.box-admin{
  display: flex;
  flex-direction: row;
  .left-side{
    width: 20%;
  }
  .right-side{
    width: 70%;
   
  }
}

.btn-agrega{
    background-color: #DE8A14;
    color: white;
  }
  .btn-agrega:hover{
    background-color: #C77400;
    color: white;
  }

  .btn-elimina{
     background-color: #FD1D1D;
    color: white;
  }
  .btn-elimina:hover{
    background-color: #A83636;
    color: white;
  }
  .btn-edita{
    background-color: #1F9BCC;
    color: white;
  }
  .btn-edita:hover{
    background-color: #1C86B0;
    color: white;
  }

  .s-img {
position: relative;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
}

.bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}

.no_under{
  text-decoration: none;
  color: black;
}

.book{
  width: 40px;
}

.figura_linea{
  width: 60px;
  margin-right: 20px;
}

.anios{
    display: flex;
    flex-direction: row;
    .anio-antes{
      width: 50%;
      .back-title-con{
        width: 100%;
        text-align: left;
      }
    }
    .anio-despues{
      width: 50%;
      .back-title-con{
        width: 100%;
        text-align: right;
        .h3-title{
          width: auto!important;
        }
      }
    }
  }


  .nav-tabs .nav-item.show .nav-link,
  .nav-tabs .nav-link.active {
    color: #ffff;
    background-color: black;
    border-color: var(--color-portico-norte);
  }

  .nav-tabs a.nav-link {
    color: black;
  }

  .nav-item{
    width: 230px;
  }

  .nav-tabs .nav-link{
    border: 2px solid black;
  }

  .nav-tabs{
        border-bottom: 3px solid black!important;
  }

  .btn-modal{
        text-align: right;
        padding: 10px;
    img{
      width: 20px;
    }
  }

  .mt-subtitulo{
    padding-top: 5rem;
  }