/* ------------------------------------------------------------------------------
  FACULTAD DE CIENCIAS DE LA SALUD STYLESHEET
   (C)2018 - FEDERACION MEXICANA DE TAEKWONDO, A.C.
   PROHIBIDA SU REPRODUCCIÓN PARCIAL O TOTAL SIN PLENA AUTORIZACIÓN DE SU AUTOR.
   ------------------------------------------------------------------------------
   DISEÑO:  SIME.tech  <http://sime.tech>
            Ing. Javier Vélez  <jvelez@sime.tech>
   -------------------------------------------------------------------------------
*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');
@import url('https://fonts.googleapis.com/css?family=Cinzel:400,700');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700');


html,
body,
.view {
    margin:0;
    padding: 0;
    height: 100%;
    background-color:#EDEDED;
    font-family: 'Lato', sans-serif;
}

strong {
    font-weight: 700;
}

a,
a:visited {
    color: #2f8ac1;
    font-weight: bold;
}

a:hover,
a:active {
    color:#F9A602;
    text-decoration: underline;
}

embed {
    display: block;
    width:85%;
    height:500px;
    border:2px solid #525659;
}

.info-type {
    color: #4f4f4f!important;
}

.facsa-titulo {
    color: #0d0d3b;
    font-family: 'Cinzel', serif;
}
.facsa-titulo-seccion {
    font-family: 'Cinzel', serif;
    font-style: italic;
    color:#0e3f71;
}

.facsa-logos {
    background-color: #f1f1f1;
    padding-bottom:1.8rem;
    margin-top:1rem;
}
.facsa-logo-inner {
    margin-top:1rem;
}
.facsa-logo-inner img {
    height:72px;
    width:auto;
    background-color: #ffffff;

}

h4 {
    font-size:1.4rem;
}

h5 {
    font-size:1.1rem;
}

/* +++++++++++++++++++++++++++ NAVBAR ******************** */
.navbar {
    background-color: transparent;
}
.scrolling-navbar {
    -webkit-transition: background .5s ease-in-out, padding .5s ease-in-out;
    -moz-transition: background .5s ease-in-out, padding .5s ease-in-out;
    transition: background .5s ease-in-out, padding .5s ease-in-out;
}
.top-nav-collapse {
    background-color: #2f8ac1;
    /*background: url('../img/waves-bg-01.png');*/
    background-repeat: no-repeat;
    background-size: cover;
}
.navbar .btn-group .dropdown-menu a:hover {
    color: #000 !important;
}
.navbar .btn-group .dropdown-menu a:active {
    color: #fff !important;
}
.navbar li {
    margin-left:0.3rem;
}

.navbar a,
.navbar a:visited {
    font-weight: 400;
    font-size: 0.8em;
}

.facsa-lema {
    font-family: 'Cinzel', serif;
    font-size:1.9em;
    font-weight: 400;
    color:#f1f1f1;
    padding: 1.2rem 0;
    text-align: center;
    /*background: url('../img/facsa-watermark-04.png');*/
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.16), 0 1px 1px 0 rgba(0,0,0,.12) !important;
    background-color: #2f8ac1;
}

/* ++++++++++++++++++++++++++++++++++++++ JUMBOTRON +++++++++++++++++++++++++++ */
.facsa-jumbotron {
    /*background: url('../img/facsa-watermark-04.png');*/
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding-top:100px;
    padding-bottom:15px;
    background-color: #2f8ac1;
    color:#f1f1f1;
    box-shadow: none;
    margin-bottom: 0;
    border-bottom: 2px solid #F9A602;
}

.jumbotron a,
.jumbotron a:visited {
    color: #f2f2f2;
    font-size: 0.9em;
    font-weight: normal;
}
.jumbotron a:hover,
.jumbotron a:active {
    color:#F9A602;
    text-decoration: none;
}

/* ++++++++++++++++++++++++++++++++++++++++ MAIN CONTAINER +++++++++++++++++++++++++++++++ */
#main {
    min-height: 250px;
    margin-top:1rem;
    margin-bottom:1rem;
}

/* ---- HOME CONTAINER */
.home-container {
    font-family: 'Open Sans', 'Arial', 'Helvetica', sans-serif;
}

.home-container h2,
.home-container h3,
.home-container h4{
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: #2f8ac1;
    border-bottom: 2px solid #F9A602;
    margin-bottom: 0.5rem;
    margin-top: 0.75rem;
}

/* ---- STATIC CONTAINER  */
.static-container {
    font-family: 'Open Sans', 'Arial', 'Helvetica', sans-serif;
    background-color: #fff;
    margin-bottom:1rem;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.16), 0 1px 1px 0 rgba(0,0,0,.12) !important;
    padding:0.7rem;
    border-radius: 0 0 0.3rem 0.3rem;
}

.static-container h2,
.static-container h3,
.static-container h4{
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: #ab354f;
    border-bottom: 2px solid #F9A602;
    margin-bottom: 0.6rem;
    margin-top: 1.5rem;
}

.static-container img {
    padding: 0.25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    max-width: 100%;
    width: 60%;
    height: auto;
}

.static-container p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.static-container a:after {
    font-family: FontAwesome;
    content: "\00a0 \f0da";
}

/* ---- DYNAMIC CONTAINER  */
.dynamic-container {
    font-family: 'Open Sans', 'Arial', 'Helvetica', sans-serif;
    background-color: #fff;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.16), 0 1px 1px 0 rgba(0,0,0,.12) !important;
    padding:0.7rem;
    border-radius: 0 0 0.3rem 0.3rem;
}

.dynamic-container h1,
.dynamic-container h2,
.dynamic-container h3,
.dynamic-container h4{
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: #2f8ac1;
    border-bottom: 2px solid #F9A602;
    margin-bottom: 0.5rem;
    margin-top: 0.75rem;
}

.dynamic-container p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.bg-maroon {
     background-color: #ab354f;
}

.bg-blue {
    background-color: #2f8ac1 !important;
}

.bg-gold {
    background-color: #F9A602;
}

.facsa-card-title {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    color: #f6f6f6;
    padding:0.5rem;
    margin:0;
    border-bottom: 2px solid #F9A602;
}

.card {
    margin-bottom:1rem;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.16), 0 1px 1px 0 rgba(0,0,0,.12) !important;
}

.card-body {
    padding: 0.5rem;
}

.card .list-group-item {
    font-size:0.9em;
}

.facsa-home-fa {
    font-weight: normal;
    font-size:0.8em;
    margin-right: 0.3rem;
}


.facsa-row-2 {
    padding-top: 1rem;
}

.facsa-row-1 {
    background-color: #ffffff;
    border-top:1px solid #DDDDDD;
    border-bottom:1px solid #DDDDDD;
}

.facsa-row-0 {

}

.facsa-card-news {
   max-width: 225px;
   width:225px;
}

.facsa-img-noticias {
    height:150px;
    width:225px;
}

.facsa-img-galerias {
    height:225px;
    width:225px;
}

.facsa-img-noticias-listado {
    height:120px;
    width:180px;
    margin-right: 1rem;
    float:left;
    border-radius: 0.25rem;
}


.facsa-img-galerias-listado {
    height:180px;
    width:180px;
    margin-right: 1rem;
    float:left;
    border-radius: 0.25rem;
}

.facsa-img-noticias-detalle {
    max-width:85%;
    height:auto;
    display: block;
}

.facsa-img-galeria-detalle {
    max-width:65%;
    height:auto;
    display: block;
}

.facsa-card-news .card-body {
    min-height: 120px;
}

.facsa-card-news .date {
    font-size:0.75em;
    color:#aaaaaa;
}


.facsa-card-events {
    width: 200px;
}

.facsa-card-events .card-body {
    min-height: 90px;
}

.facsa-card-events .date {
    font-size:0.75em;
    color:#aaaaaa;
}

.facsa-img-events {
    height:300px;
    width:200px;
}

.facsa-img-events-home {
    border-radius: 4px;
    border:1px solid #dddddd;
}


.facsa-listado-date {
    font-size:0.70em;
    color:#a2a2a2;
}

.facsa-listado-title a,
.facsa-listado-title a:visited {
    color:#444444;
    font-size:1.2em;
    font-family: 'Lato', sans-serif;
}

.facsa-listado-title a:hover,
.facsa-listado-title a:active {
    color:#F9A602;
}



.facsa-card-news a,
.facsa-card-news a:visited {
    color:#222222;
}

.facsa-card-news a:hover,
.facsa-card-news a:active {
    color:#F9A602;
}

.titulo-noticias {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    margin-left:0.3rem;
    color:#333333;
}

.facsa-news-body p {
    margin-bottom: 0.5rem !important;
}

/* +++++++++++++++++++++++++ VIDEO CONTAINER ++++++++++++++ */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* ++++++++++++++++++++++++++++ ACORDION +++++++++++++++++ */
.acordion .card  {
    margin-bottom:0.5rem;
}

.acordion .card-header {
    padding:0;
}
.acordion .card-body {
    font-family: 'Open Sans', 'Arial', 'Helvetica', sans-serif;
    font-weight: 400;
    text-align: justify;
    font-size:0.9em;
    padding:1rem;
    text-overflow: ellipsis;
}
.acordion button {
    font-family: 'Open Sans', 'Arial', 'Helvetica', sans-serif;
    font-weight: 700;
    font-size:0.85em;
    width:100%;
    text-align: left;
    margin:0;
    padding:0.6rem 1rem;
    color:#f1f1f1;
    box-shadow: none !important;
    text-transform: none !important;
}

.acordion .collapse {
    overflow: hidden;
}

/* +++++++++++++++++++++++++++ FOOTER ******************** */
footer.page-footer {
    border-top: 3px solid #F9A602;
    /*background: url('../img/facsa-watermark-04.png');*/
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    margin-top: 0;
    background-color: #ab354f;
}
.footer-logo {
    width: 80%;
    height: auto;
    /*border-radius: 4px;*/
    /*border:2px solid #ffffff;*/
}

.footer-copyright {
    height: auto !important;
}

.page-footer a,
.page-footer a:visited {
    font-weight: normal;
}

.page-footer a:hover,
.page-footer a:active {
    color:#F9A602;
}

.page-footer .container {
    margin-top:1rem !important;
    margin-bottom:0.75rem; !important;
}

.page-footer hr {
    width: 95px;
    background-color:#F9A602;
    padding-bottom:0.18rem;
    margin-top:0;
}

.page-footer .title {
    font-family: 'Cinzel', serif;
    font-weight: 400;
}


/* ++++++++++++++++++++++++++++ VIDEO CONTAINER ++++++++++++++ */
.video-container-index {
    position: relative;
    padding-bottom: 56.25%;
    /*padding-top: 30px;*/
    height: 0;
    overflow: hidden;
    text-align: center !important;
}

.video-container-index iframe,
.video-container-index object,
.video-container-index embed {
    position: absolute;
    top:0;
    left: 5%;
    width: 100%;
    height: 100%;
}


/* +++++++++++++++++++++++++++ MEDIAS ++++++++++++++++++++ */
@media only screen and (max-width: 767px) {
    .display-3 {
        font-size: 2rem;
        margin-top: 6rem;
    }
    h3 {
        font-size: 1rem;
    }
    .footer-logo {
        width: 50%;
    }

    .top-nav-collapse {
        background: #2f8ac1;
    }

    .page-footer .title {
        margin-top:2rem;
    }

}
@media only screen and (max-width: 667px) {
    .display-3 {
        font-size: 3rem;
    }

    .footer-logo {
        width: 60%;
    }
    .rounded-list {
        margin-left:1rem;
    }

    .acordion .card-body {
        font-size:0.9em;
    }

    .acordion button {
        font-size:0.9em;
    }

    .facsa-lema {
        font-size:1.1em;
    }

    embed {
        width:100%;
    }

    .facsa-img-noticias-detalle {
        max-width:90%;
    }

    footer.page-footer {
        padding-top:0;
    }

    .ul-gallery-index {
        padding-left:0;
    }
}

@media only screen and (max-width: 991px) {
    .pt-lg-5, .py-lg-5 {
        margin-top: 1rem;
    }

    .img-thumbnail {
        margin-bottom:0.5rem;
    }

    .navbar {background-color: #2f8ac1 !important;}
}

@media only screen and (min-width: 320px) and (max-width:575px)  {
    .facsa-jumbotron {
        padding-top:90px;
    }

    .static-container img {
        max-width: 100%;
        width: 98%;
    }

    .col-12 {
        padding-left:5px;
        padding-right:5px;
    }

    .static-container .col-12,
    .dynamic-container .col-12 {
        padding-left:10px;
        padding-right:10px;
    }


    .detalle-noticias .col-12 {
        padding-left:15px;
        padding-right:15px;
    }

    #main {
        margin-top: 6px !important;
    }

    .facsa-img-noticias-detalle {
        max-width:100%;
    }

}



@media only screen and (max-width: 480px) {
    ul#countdown li {
        width: 70px;
    }

    ul#countdown li span {
        font-size: 2.1em;
    }

    .navbar-brand img {
        height:38px !important;
        width: auto;
    }
}


/* ------------------------------------- LISTAS PERSONALIZADAS */
.rounded-list {
    counter-reset: li; /* Initiate a counter */
    list-style: none; /* Remove default numbering */
    font: 1em 'trebuchet MS', 'lucida sans';
    padding: 0;
}

.rounded-list a{
    position: relative;
    display: block;
    padding: .4em .4em .4em 2em;
    margin: .5em 0;
    background: #ddd;
    color: #444;
    text-decoration: none;
    border-radius: .3em;
    transition: all .3s ease-out;
}

.rounded-list b {
    font-size:1.35em;
}

.rounded-list a:hover{
    background: #eee;
}

.rounded-list a:hover:before{
    transform: rotate(360deg);
}

.rounded-list a:before{
    content: counter(li);
    counter-increment: li;
    position: absolute;
    left: -1.3em;
    top: 50%;
    margin-top: -1.0em;
    background: #2f8ac1;
    height: 2em;
    width: 2em;
    line-height: 1.6em;
    border: .3em solid #fff;
    text-align: center;
    font-weight: bold;
    border-radius: 2em;
    transition: all .3s ease-out;
    color:#fff;
}



/* ++++++++++++++++++++++++++++++++ MODALES +++++++++++++++++++++  */
.facsa-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99999; /* Sit on top */
    padding-top: 70px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.90); /* Black w/ opacity */
}

/* Modal Content (Image) */
.facsa-modal-img {
    margin: auto;
    display: block;
    width:auto;
    height:95%;
}

/* Add Animation - Zoom in the Modal */
.facsa-modal-img {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.facsa-modal-close {
    position: absolute;
    top: 15px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.facsa-modal-close:hover,
.facsa-modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .facsa-modal-img {
        width:100%;
        height:auto;
    }
}