﻿/* Sobrescriben estilos de Bootstrap para botones personalizados */
a.btn-outline-industrial {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 15px 38px !important;
    margin-left: 15px !important;
    border-radius: 60px !important;
    border: 2px solid white !important;
    color: white !important;
    font-weight: 700 !important;
    transition: .35s !important;
    background: transparent !important;
    text-decoration: none !important;
}

a.btn-outline-industrial:hover {
    background: white !important;
    color: #0F3D5E !important;
    text-decoration: none !important;
}

.sliderlogo {
    width: 200px !important;
    height: 200px !important;
}

.cursocards {
    margin: 8%;
    padding: 10px;
}

.shadow {
    box-shadow: 10px #888888;
}

.cursoinner {
    overflow: hidden;
}

    .cursoinner img {
        transition: all 1.5s ease;
    }

    .cursoinner:hover img {
        transform: scale(1.5);
    }

.curso-imagen {
    float: left;
    width: 20%;
    padding: 3px;
}

    .curso-imagen img {
        height: 110px;
        width: 100%;
    }

.curso-hora {
    margin-top: -20px;
    color: red;
    background-color: #fff;
    height: 20%;
    width: 100%;
}

.curso-titulo {
    float: left;
    width: 70%;
    padding: 3px;
    font-size: 1.5em;
    font-weight: bolder;
    min-height: 75px;
}

.curso-modalidad {
    float: left;
    width: 10%;
    padding: 2px;
}

.curso-modalidad-label {
    font-size: 0.8em;
}

.curso-modalidad-valor {
    font-size: 1em;
    font-weight: bold;
}

.curso-inicio-online-label {
    font-size: 1em;
}

.curso-inicio-online-valor {
    font-size: 1.2em;
    font-weight: bold;
}

.curso-inicio-online {
    float: left;
    width: 12%;
    padding: 2px;
}

.curso-inicio-presencial {
    float: left;
    width: 12%;
    padding: 2px;
}

.curso-precio {
    float: left;
    width: 10%;
    padding: 2px;
}

.curso-inscribir {
    float: left;
    width: 5%;
}

.curso-modalidad-label {
    display: block;
}



.about-move {
    padding: 10px;
}

.single-titulo {
    text-align: center;
    color: #273C75;
}

.single-services h5 {
    color: #273C75;
}

.single-services p {
    font-size: 1.1em;
}

.single-services ul li {
    /*list-style-type: "\f00c";*/
    margin-left: 20px;
}


    .single-services ul li::before {
        content: "\f00c" !important; /* FontAwesome Unicode */
        color: #F6B93B;
        font-family: FontAwesome;
        display: inline-block !important;
        margin-left: -1.3em !important; /* same as padding-left set on li */
        width: 1.3em !important; /* same as padding-left set on li */
    }

.pNosotros {
    font-size: 1.7em;
    font-family: FontAwesome;
    text-align: justify;
    line-height: 1.3em;
}

.hNosotros {
    font-family: FontAwesome;
    text-align: center;
    font-weight: bolder;
    line-height: 1.3em;
    font-size: 2em !important;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
    text-align: center;
    font-size: 1.5em;
}

.rowcurso {
    min-height: 120px;
    background-color: #e1e1e1;
    padding: 10px;
    margin-top: 8px;
    box-shadow: 2px 2px 5px #999;
    -webkit-box-shadow: 2px 2px 5px #999;
    -moz-box-shadow: 2px 2px 5px #999;
}

    .rowcurso img {
        box-shadow: 1px 1px 3px #999;
        -webkit-box-shadow: 1px 1px 3px #999;
        -moz-box-shadow: 1px 1px 3px #999;
    }

    .rowcurso:hover {
        background-color: #f9f9f9;
    }

.curso-precio-label {
    padding-top: 30px;
    font-size: 1.5em;
    text-align: right;
}

.project-menu li a:hover {
    color: #273C75 !important;
}

.awesome-img img {
    box-shadow: 2px 2px 5px #999;
    -webkit-box-shadow: 2px 2px 5px #999;
    -moz-box-shadow: 2px 2px 5px #999;
}

.single-blog-img img {
    box-shadow: 2px 2px 5px #999;
    -webkit-box-shadow: 2px 2px 5px #999;
    -moz-box-shadow: 2px 2px 5px #999;
}

.lblVision {
    padding: 20px;
    background-color: rgba(0,0,0, 0.7);
    color: whitesmoke;
    min-height: 150px;
    height: auto;
    width: 100%;
    align-content: center;
    vertical-align: middle;
    display: grid;
    font-family: FontAwesome;
    font-size: 1.5em;
    line-height: 1.2em;
    text-align: justify;
}

.titulovision {
    margin-top: 0px !important;
}

.divMision {
    display: grid;
    align-items: center;
    vertical-align: middle;
    align-content: center;
    text-align: center;
    padding: 20px;
}

@media only screen and (min-width: 480px) and (max-width: 767px) {

    .grid-container {
        flex-direction: column;
        padding: 20px;
        background-color: #fefefe;
    }


    .curso-imagen {
        width: 100%;
        padding: 3px;
    }

        .curso-imagen img {
            max-height: 100px;
        }

    .curso-titulo {
        width: 100%;
        padding: 3px;
        font-size: 1.5em;
        font-weight: bolder;
    }

    .curso-modalidad {
        float: left;
        width: 25%;
        padding: 2px;
    }

    .curso-inicio-online {
        float: left;
        width: 25%;
        padding: 2px;
    }

    .curso-inicio-presencial {
        float: left;
        width: 25%;
        padding: 2px;
    }

    .curso-precio {
        float: left;
        width: 15%;
        padding: 2px;
    }

    .curso-inscribir {
        float: left;
        width: 10%;
    }
}

@media (max-width:767px) {
    .single-blog-img img {
        border-radius: 5px 5px 0px 0px;
        transition: all 1.5s ease;
        width: 100%;
        height: 350px;
    }


    .grid-container {
        flex-direction: column;
        padding: 20px;
        background-color: #fefefe;
    }

    .curso-imagen {
        float: left;
        width: 30%;
        padding: 3px;
        order: 1;
    }

        .curso-imagen img {
            max-height: 200px;
        }

    .curso-titulo {
        order: 2;
        width: 70%;
        padding: 3px;
        font-size: 1.2em;
        font-weight: bolder;
        float: left;
        text-align: justify;
    }

    .curso-modalidad {
        float: left;
        width: 25%;
        padding: 2px;
    }

    .curso-inicio-online {
        float: left;
        width: 25%;
        padding: 2px;
    }

    .curso-inicio-presencial {
        float: left;
        width: 25%;
        padding: 2px;
    }

    .curso-precio {
        float: left;
        width: 15%;
        padding: 2px;
    }

    .curso-inscribir {
        float: left;
        width: 10%;
    }
}

/* Responsive Navbar Menu Improvements */
@media (max-width: 991px) {
    /* Ocultar por defecto, mostrar solo cuando tiene clase .show */
    .navbar-collapse {
        position: absolute !important;
        top: 72px !important;
        right: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background: #FFFFFF !important;
        border-radius: 0 !important;
        padding: 0 !important;
        box-shadow: 0 10px 35px rgba(0,0,0,.15) !important;
        border: none !important;
        display: none !important; /* Oculto por defecto */
    }

    /* Mostrar solo cuando tiene la clase .show de Bootstrap */
    .navbar-collapse.show {
        display: block !important;
        padding: 15px 0 !important;
    }

    .navbar-nav {
        width: 100% !important;
        text-align: center !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .navbar-nav .nav-item {
        margin: 5px 0 !important;
        width: 100% !important;
    }

    .navbar-nav .nav-link {
        padding: 10px 15px !important;
        font-size: 15px !important;
        color: #000 !important;
    }

    .navbar-nav .nav-link:hover {
        color: #F4B400 !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .grid-container {
        padding: 20px;
        background-color: #fefefe;
    }

    .curso-imagen {
        float: left;
        width: 100%;
        padding: 3px;
    }

        .curso-imagen img {
            max-height: 100px;
        }

    .curso-titulo {
        width: 100%;
        padding: 3px;
        font-size: 1.5em;
        font-weight: bolder;
    }

    .curso-modalidad {
        float: left;
        width: 25%;
        padding: 2px;
    }

    .curso-inicio-online {
        float: left;
        width: 25%;
        padding: 2px;
    }

    .curso-inicio-presencial {
        float: left;
        width: 25%;
        padding: 2px;
    }

    .curso-precio {
        float: left;
        width: 15%;
        padding: 2px;
    }

    .curso-inscribir {
        float: left;
        width: 10%;
    }
}


@media (min-width: 992px) and (max-width: 1169px) {




    .grid-container {
        padding: 20px;
        background-color: #fefefe;
    }

    .curso-imagen {
        float: left;
        width: 100%;
        padding: 3px;
    }

        .curso-imagen img {
            max-height: 100px;
        }

    .curso-titulo {
        width: 100%;
        padding: 3px;
        font-size: 1.5em;
        font-weight: bolder;
    }

    .curso-modalidad {
        float: left;
        width: 25%;
        padding: 2px;
    }

    .curso-inicio-online {
        float: left;
        width: 25%;
        padding: 2px;
    }

    .curso-inicio-presencial {
        float: left;
        width: 25%;
        padding: 2px;
    }

    .curso-precio {
        float: left;
        width: 15%;
        padding: 2px;
    }

    .curso-inscribir {
        float: left;
        width: 10%;
    }
}

/*Post Carousel*/
.post-slider {
    position: relative;
}

    .post-slider .next {
        position: absolute;
        top: 50%;
        right: 30px;
        font-size: 2em;
        color: #273C75;
        cursor: pointer;
    }



    .post-slider .prev {
        position: absolute;
        top: 50%;
        left: 30px;
        font-size: 2em;
        color: #273C75;
        cursor: pointer;
    }

    .post-slider .post-wrapper {
        width: 84%;
        height: 350px;
        margin: 0px auto;
        overflow: hidden;
        padding: 10px;
    }

        .post-slider .post-wrapper .post {
            display: inline-block;
            width: 300px;
            height: 330px;
            margin: 0px 10px;
            background-color: white;
            border-radius: 5px;
            box-shadow: 1rem 1rem 1rem -1rem #a0a0a0;
        }

            .post-slider .post-wrapper .post .slider-image {
                width: 100%;
                height: 200px;
                border-top-left-radius: 5px;
                border-top-right-radius: 5px;
            }

            .post-slider .post-wrapper .post .post-info {
            }

/*curso estilo blog*/
.cursoprecio {
    font-size: 1em;
}

.single-blog {
    box-shadow: 1rem 1rem 1rem -1rem #a0a0a0;
    border-radius: 5px;
}

.blog-footer {
    margin: 0px auto;
    padding: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.footer-precio {
    align-content: center;
    vertical-align: middle;
}

.footer-ver {
    align-items: center;
    align-self: flex-end;
}

.single-blog-img {
    overflow: hidden;
}

    .single-blog-img img {
        border-radius: 5px 5px 0px 0px;
        transition: all 1.5s ease;
        width: 100%;
        height: 150px;
    }

    .single-blog-img:hover img {
        transform: scale(1.5);
    }

.row-curso {
    margin-bottom: 5px;
}

/* MÁXIMA ESPECIFICIDAD - Navbar height override */
nav.navbar.fixed-top {
    min-height: 100px !important;
    padding: 15px 0 !important;
}

/* Modales centrados (Bootstrap default) */
#IniciarSesion .modal-dialog,
#RegistroLogin .modal-dialog {
    max-width: 450px;
}

/* MÁXIMA ESPECIFICIDAD - Navbar scrolled state */
nav.navbar.navbar-expand-lg.navbar-light.fixed-top.bg-white.shadow-sm.w-100.scrolled {
    min-height: 70px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

nav.navbar.navbar-expand-lg.navbar-light.fixed-top.bg-white.shadow-sm.w-100.scrolled .logo-1 {
    width: 180px !important;
}
