@import url("iconografia.css");

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,700;1,300;1,700&display=swap');
@import url("normalize.css");
@import url("bootstrap.css");
@import url("carrusel.css");

html, body{
	height: 100%;
    font-family: 'Lato', sans-serif!important;
    font-weight: 300;
    font-size: 12px;
    scroll-behavior: smooth;
}

ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

a:hover{
    opacity: 0.7;
    text-decoration: none;
}

h2 {
    font-size: 1.5rem;
}

h5{
    font-style: italic;
    font-weight: 800;
    color: #3C3C3B;
}


.text-primary {
    color: #FA8238 !important;
  }


.text-secondary {
    color: #FFC237 !important;
}
.btn{
    margin:5px 0;
}

.btn-primary{
    padding:5px;
    background:#F1582B;
    color:white;
    font-size: 1.2rem;
    border-color:#F1582B;;
}

.btn-primary:hover{
    padding:5px;
    background:#FFC237;
    color:white;
    font-size: 1.2rem;
    border-color:#FFC237;;
}

.btn-default{
    padding:5px;
    background:#ccc;
    color:black;
    font-size: 1.2rem;
}

.logo {
    width: 23vw;;
}

.navbar-nav {
    
    padding: 20px 0 0 0;
    text-align: center;
  }

.navbar-expand-lg .navbar-collapse{
    justify-content: flex-end;
}

.nav-link {
    color: rgba(0,0,0,.8)!important;
    font-size: 1.3rem;
}

.revista{
    padding: 40px;
    display: flex;
    justify-content: center;
    background: #FBEAD8 url("../links/rap-orange.jpg");
}

.revista div{
    margin: 0 20px;
    align-items: flex-start;
    justify-content: center;
    display: flex;
    flex-direction: column;;
}

.revista img{
    width: 150px;
    box-shadow: 0px 0px 10px 1px rgb(0 0 0 / 20%);
}

.revista button{
    background: #F1582B;
    padding:5px;
    color: white;
    border:0px;
    font-weight: 700;
}

.legislacion .msg,.msg-gratuita{
    background: #FFC237;
    padding: 5px;
    color: white;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1rem;
}


.legislacion h4{
    margin:10px 0;
    font-size: 2rem;
    line-height: 2.5rem;
}

.sep {
    width: 30px;
    border-bottom: 1px solid #F1582B;
    margin: 0 0 1.4rem;
}

.legislacion{
    margin: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    }

.legislacion .row{
    
    flex-wrap: nowrap;
    width: 100%;
    margin:0 0 10px 0;
    border-bottom:1px solid #f1f1f1;
    padding: 0;
    color: #3C3C3B;
}

.legislacion i, .articulo i{
    font-size: 2rem;

    color:#F1582B;
    margin-right: 0.6rem;
}

.legislacion p, .articulo p {
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    line-height: 1.5rem;
    margin: 0 0 0.5rem;
    text-align: justify;
}

.legislacion .date, .articulo .date{
    font-size:1rem;
    font-weight: 300;
}

.pagination{
    justify-content: center;
}

.pagination i {
    font-size: 1rem;
    color: #F1582B;
    margin-right: 0rem;
    line-height: auto!important;
  }

.pagination i:before {
  
    margin-right: 0rem;
  }

.page-link {
    position: relative;
    display: block;
    padding: .5rem .5rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #444443!important;
    background-color: #fff;
    border: 1px solid white!important;
  }

  .page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #e2623c!important;
    border-color: #e2623c!important;
    color: #fff !important;
  }

  .trama{
    margin:10px 0;
    padding: 30px 0;
    background: url("../links/base-gris.jpg") repeat;
    background-size: 100px auto;
  }

  .trama .row{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin:0;
  } 

  /* .carousel {
      width: 100%;
      background: #ccc;
  }

  .carousel-inner img {
    width: 100%;
    height: 100%;
  } */

  .carousel{
    width: 100%;
    margin: 1% 0% 4% 0;
  }

  .carousel-control-prev i, .carousel-control-next i{
      font-size: 3rem;
  }

  .carousel-inner{
    width: 80%;
    margin: 0 auto;
  }

 .carousel .articulo { 
    position: relative;
    width: 100%;
    background: #fff;
    padding: 30px;
    margin: 2% 0;
   
    display: flex;
    flex-grow: initial;
    height: 100%;
  }

  .line-primary{
    border-top:3px solid #F1582B;
  }

  .line-secondary{
    border-top:3px solid #FFC237;
  }

  .carousel .articulo a i{
    font-size: 1.7rem;
    position: absolute;
    bottom:10px;
    right:10px;
}

.banner{
    padding:0px;
}

.banner .row{
    flex-direction: column-reverse;
    margin:0px!important;
}

.banner .descargas, .banner .publicidad{
    padding:0px;

    width: 100%;
}

.banner .descargas{
    background-image: linear-gradient(to right, #F1582B , #FA8238);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
   margin: 10px 0 0 0;
}

.banner .descargas img{
    width: 40%;
    
}

.banner .publicidad{
    position: relative;
    width: 100%;
    height: auto;
    padding: 5%;
}

.banner .publicidad div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    align-items: center;
    font-size: 1.4rem;
    color: white;
}

.banner .publicidad a{
    font-weight: 700;
    font-size: 1.4rem;
    color: #3C3C3B;
    text-decoration: none;
    line-height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner .publicidad div img{
    width: 25vw;
    margin: 0 0 10px 0;
}

.banner .publicidad .base{
    position: absolute;
    z-index: -10;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

  @supports(object-fit: cover){
    .banner .publicidad .base{
        position: absolute;
        z-index: -10;
        top: 0;
        left: 0;
        height: 100%;
        object-fit: cover;
        object-position: center center;
      }
  }

footer{
    background: #3C3C3B;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    padding: 5% 0;
    margin: 10px 0 0 0;
}
footer img{
    width: 20%;
    margin: 1% 40%;
}

footer i{
    font-size: 2rem;
}

footer a{
    color:white;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

footer a:hover{
    color:white;
    opacity: 0.5;
    text-decoration: none;
}

.modal-header{
    border:none;
}

.modal-body{
    text-align: center;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.3;
    letter-spacing: 1px;
    color: #F1582B;
    font-size: 1.5rem;
  }

.modal-body p {
    font-size: 1.3rem;
    line-height: 1.2;
    margin: 5px 0;
    color: #3C3C3B; 
}

.modal-body .sep{
    margin: 15px auto;
}

.modal-body form{
    display: flex;
    flex-direction: column;
    margin: 20px;
}

.modal-body form label{
    margin:10px 0 0 0;
    font-size: 1.2rem;
}

 


.modal-body .row{
    
    flex-wrap: nowrap;
    width: 100%;
    margin:0 0 10px 0;
    border-bottom:1px solid #f1f1f1;
    padding: 0;
    color: #3C3C3B;
}

.modal-body i{
    font-size: 2rem;
    color:#F1582B;
    margin-right: 0.6rem;
}

.modal-body p{
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    line-height: 1.5rem;
    margin: 0 0 0.5rem;
    text-align: justify;
}

.modal-body .date{
    font-size:1rem;
    font-weight: 300;
}

a.login {
    background: #e2623c;
    padding: 10px;
    color: white;
    font-weight: bold;
    margin: 10px;
}

a.login:hover{
    color: white;
}

.menu-header{
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
}



@media (min-width: 576px) {

    h2 {
        font-size: 2rem;
    }

    .row{
        margin:0px;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    
    }

@media (min-width: 768px) {

    .logo {
        width: 15vw;
      }

    h2 {
        font-size: 2.4rem;
    }

    .revista{
        align-items: center;
    }

    .legislacion{
        align-items: flex-start;
    }

    .pagination{
        align-self: center;
    }

    .banner .row {
        flex-direction: row;
    }

    .banner .publicidad div img {
        width: 15vw;
       
    }

    footer{
        display: flex;
    }

    footer div{
        display: flex;
    }

    footer div a{
        margin: 0 10px;
    }

    footer img {
        width: 100%;
        margin: 1% 10%;
    }

    footer .contacto{
        display: flex;
        justify-content: flex-end;
    }


}

@media (min-width: 992px) {

    h2 {
        font-size: 2.5rem;
    }

    .navbar-expand-lg {
        
        padding: 1% 4%;
      }
    
    .menu-header{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        margin: 0 2vw;
    }
    
    .logo {
        margin: 0 2vw;
        width: 14vw;
      }
    
    .navbar-nav{
        /*padding: 20px 20px 0 0;*/
    }

    .revista img {
        width: 200px;
        box-shadow: 0px 0px 10px 1px rgb(0 0 0 / 20%);
      }
    
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-left: 2rem;
    }
    
    .legislacion {
        padding: 0 40px;
    }

    .banner .descargas, .banner .publicidad{
        margin:0;
        width: 49.5%;
    }

    footer{
        padding: 4%;
    }
    
    footer img {
        width: 60%;
        margin: 1% 10%;
      }

    }

    @media (min-width: 1280px) {
        header{
            display: flex;
            justify-content: center;
        }
        .navbar-expand-lg{
            width: 100%;
            max-width: 1280px;
            padding: 1% 0;
        }

        .menu-header{
           
            margin: 0;
        }

        .logo {
            width: 10vw;
            margin: 0;
          }

        .banner .row{
            justify-content: space-between;
        }

        footer {
            padding: 1% 4%;
          }

        footer img {
            width: 40%;
            margin: 1% 10%;
          }

    }

    @media (min-width: 1400px) {
        

        h2 {
            font-size: 3rem;
        }

        section{
            display: flex;
            align-items: center;
            justify-content: center;
        }

        section.trama {
            margin:10px 0;
            flex-direction: column;
        }
        
        .row {
            width: 100%;
            max-width: 1280px;
        }

        .banner .publicidad div img {
            width: 10vw;
          }

        .descargas img{
            width: 10vw;
        }

    }
ads {
background-image: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    margin: 0;
    width: 49.5%;
}
