﻿body {
    font-family: Roboto;
    color: #154C7E;
    overflow-x: hidden;
}


/*--------------- Estilos encabezado -------------*/

.encabezado-seccion {
    padding: 50px 0;
}

h4.titulo-encabezado {
    margin-left: 40px;
}

.estilo-input {
    border: 2px solid #eaeaea;
    margin: 0 15px;
}

.icono-buscar {
    color: #869ab8;
    background-color: #fff;
    border: none;
}

.input-buscar {
    border: none;
}

.btn-buscar {
    background-color: #154C7E;
    border: none;
    border-radius: 0px;
    padding-left: 25px;
    padding-right: 25px;
    margin: 0 15px 0 0;
}

    .btn-buscar:focus .btn-buscar.focus {
        background-color: #154c7e;
    }

    .btn-buscar:hover {
        background-color: #0e3558;
    }

.select-blue {
    background-color: #154c7e;
    color: #fff;
    margin: 0 15px;
    padding: 0 40px;
    border-radius: 0px;
    border: none;
    width: auto;
}



/*--------------- Estilos artículo noticias -------------*/

.noticia {
    padding: 30px 0;
    border-top: 2px solid #154c7e;
}

.imgNoticia {
    height: 380px;
    overflow: hidden;
}

.img-thumbnail {
    border: none;
}

.contNoticias {
    margin: 0 20px;
    padding: 20px;
}

.datosNoticia {
    color: #9E9E9E;
    font-size: 12px;
    text-transform: uppercase;
}

    .datosNoticia p {
        display: inline-block;
    }

        .datosNoticia p.autor {
            font-weight: bold;
        }

    .datosNoticia svg {
        margin-right: 5px;
        font-size: 14px;
    }

    .datosNoticia p {
        margin-right: 10px;
    }

.contNoticias h1 {
    color: #154c7e;
    font-size: 1.5rem;
    line-height: 1.3;
}

.contNoticias h5 {
    color: #9E9E9E;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 540px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.enlaceNoticia {
    display: flex;
    justify-content: flex-end;
    margin-top: 45px
}

    .enlaceNoticia a {
        text-decoration: none;
        border: 2px solid #154c7e;
        padding: 5px 20px;
        border-radius: 20px;
        color: #154c7e;
        box-shadow: 0px 0px 0px #fff;
        position: relative;
        bottom: 0;
        transition: 0.2s;
    }

    .enlaceNoticia svg {
        margin-left: 10px;
    }

    /*.enlaceNoticia a:hover {
    background-color: #dcdbdb;
}*/

    .enlaceNoticia a:hover {
        box-shadow: 5px 5px 5px #bbbbbb;
        position: relative;
        bottom: 3px
    }



@media (max-width: 768px) {

    .imgNoticia {
        height: 230px;
    }

    .btn-buscar {
        margin: 0 15px;
    }

    .select-blue {
        margin-bottom: 10px;
    }

    .container {
        max-width: 720px;
    }

    h4.titulo-encabezado {
       
        margin-top: 4rem;
    }
}

@media (min-width:1024px){
    h4.titulo-encabezado {
        margin-top: 0.5rem;
    }
}

.admin_buttons .btn a, .nueva_noticia a, .btn_with_a a {
    text-decoration: none !important;
    color: unset;
}

#confirm .modal-header {
    background-color: #154c7e;
    color: white;
}

#confirm_title {
    text-transform: uppercase;
}

.nueva_noticia {
    margin-bottom: 10px;
}

#form_post .input-group {
    margin-bottom: 15px !important;
}
