/* General */

body {
    background: #fff;
    color: #2f3138;
}

a {
    color: #338d8a;
    transition: 0.5s;
}

a:hover,
a:active,
a:focus {
    color: teal;
    outline: none;
    text-decoration: none;
}

p {
    padding: 0;
    margin: 0 0 20px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 5px 0;
    padding: 0;
}

.referencia {
    font-size: 10px;
    color: slategrey;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

.img-izq {
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: #F9F9F9;
    padding: 4px;
    border: #CCC 1px solid;
    float: left;
    max-width: 25%;
    height: auto;
}

.img-der {
    margin-left: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: #F9F9F9;
    padding: 4px;
    border: #CCC 1px solid;
    float: right;
    max-width: 25%;
    height: auto;
}

.img-center {
    margin: auto;
    border-radius: 5px;
    background-color: #F9F9F9;
    padding: 4px;
    border: #CCC 1px solid;
    max-width: 35%;
    height: auto;
}

.caja-simple {
    background-color: lightgray;
    padding: 10px;
    color: #000;
}

.note {
    border: 2px dashed #000;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    padding: 15px;
    background-color: #d9d9d9;
    margin-bottom: 20px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.my-auto {
    margin-top: auto;
    margin-bottom: auto;
}

.d-flex {
    display: -webkit-box!important;
    display: -ms-flexbox!important;
    display: flex!important;
}

.modal-dialog {
    width: 80%;
}

.modal table {
    border: 1px solid gray;
    margin-bottom: 15px;
}

.modal table tr,
.modal table td {
    border: 1px solid gray;
}


/* Banner */

#banner {
    width: 100%;
    height: 450px !important;
    background: url(../img/intro-bg.jpg) bottom center;
    background-size: cover;
    overflow: hidden;
    position: relative;
    display: -webkit-box!important;
    display: -ms-flexbox!important;
    display: flex!important;
    box-shadow: 5px 5px 5px grey;
}

#banner:before {
    content: "";
    background: rgba(6, 12, 34, 0.4);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

#banner .intro-container {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 60%;
    background: rgba(0, 0, 0, 0.3);
    height: max-content;
    padding: 15px;
    border-radius: 15px;
    overflow: hidden;
    margin: auto;
    z-index: 1;
}

#banner .logo {
    width: 148px;
    margin: auto;
}

#banner h1 {
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 35px;
    text-align: center;
    margin-bottom: 10px;
}

#banner h2 {
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    text-align: center;
    margin-bottom: 10px;
}

#banner p {
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
/*    font-size: 13px;*/
}
#comp{
	font-size: 13px
}

#banner .intro {
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 1px black;
}

#banner .intro img {
    cursor: pointer;
    position: relative;
    z-index: 2;
    width: 45%;
    margin-bottom: 15px;
	border-radius: 50%;
}

#banner .intro img:hover {
    filter: drop-shadow(2px 4px 6px black);
}

#canvas {
    width: 100%;
    height: 100%;
    position: absolute;
}

.modal-title {
    color: #49456f;
}

.card-header {
    background-color: #20818b;
    color: #fff;
}

.recuadro1 {
    width: 80%;
    padding: 15px;
    background-color: #763c45;
    margin: auto;
    color: white;
}

#banner h3 {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 10px;
    color: slategrey;
    text-align: center;
}

#banner .modal p {
    margin-bottom: 15px;
    color: black;
    text-align: left;
}

#banner .modal table p {
    margin-bottom: 5px;
    text-align: center;
}

/*
#banner .modal ul {
    font-size: 12px;
}
*/

#banner #c_temario p,
#banner #c_calendario p {
    font-size: 12px;
    margin: 0px;
}

#banner #c_calendario ul li {
    font-size: 12px;
}

.btn-danger {
    background-color: #062740;
}

.btn-danger:hover {
    background-color: #763c45;
}

.modal-title img {
    position: relative;
    top: -4px;
    padding-right: 5px;
}


/* Intro */

#intro {
    padding-top: 20px;
    height: auto !important;
}


/* Proyecto */

#proye {
    background-color: whitesmoke;
    padding: 15px 0px 15px 0px;
}

.b_fase {
    color: white;
    background-color: #062740;
    border-radius: 5px;
    border: 10px;
    font-weight: 700;
    padding: 7px;
    font-size: 17px;
    margin: auto;
    width: 200px;
    cursor: pointer;
    margin-bottom: 10px;
}

.b_fase:hover {
    color: black;
    background-color: #b2bac7 !important;
}


/* Modulos */

#modu {
    margin-bottom: 25px;
    position: relative;
    padding-top: 25px;
}

#content_m {
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
}

.modu_title {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 20px;
}

.modu_title::before {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 5px;
    background: #b2bac7;
    bottom: 0;
    left: calc(50% - 32px);
}

.modu_title h2 {
    font-size: 25px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 10px;
    color: #20818b;
}

.modu_title p {
    text-align: center;
    padding: 0;
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: #000;
}


/* Modulos Card*/

.modu_container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    overflow: hidden;
    /*transform: skew(-5deg);*/
    height: 500px;
}

.modu_container .card {
    flex: 1;
    transition: all 1s ease-in-out;
    height: 500px;
    position: relative;
    background: rgba(0, 0, 0, 1);
    margin-right: 2px;
}

.modu_container .card .card_head {
    color: white;
    padding: 0.5em;
    transform: rotate(-90deg);
    transform-origin: 0% 0%;
    transition: all 0.5s ease-in-out;
    min-width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 20px;
    white-space: nowrap;
    font-family: 'Oswald', sans-serif;
}

.modu_container .card:hover {
    flex-grow: 10;
}

#m1 {
    background: rgba(6, 39, 64, 1);
}

#m2 {
    background: rgba(73, 69, 111, 1);
}

#m3 {
    background: rgba(32, 129, 139, 1);
}

.modu_container .card:hover .card_head {
    text-align: left;
}

.modu_container .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1s ease-in-out;
    filter: opacity(45%);
}

.card_img {
    background: rgba(0, 0, 0, 0.5);
}


/* Modulos Card hover*/

#modu1,
#modu2,
#modu3 {
    display: none;
}

.modu_container #card1:hover #modu1,
.modu_container #card2:hover #modu2,
.modu_container #card3:hover #modu3 {
    display: block;
}

#modu1,
#modu2,
#modu3 {
    position: absolute;
    top: 10px;
    text-align: center;
    margin: 0 0 5px 0;
    transition: transform 0.5s 0.8s, opacity 0.8s 0.8s;
    opacity: 0;
    height: 100%;
}

#card1 #modu1:hover,
#card2 #modu2:hover,
#card3 #modu3:hover {
    opacity: 1;
    transform: translateX(0);
}

.card_content p {
    margin: 0 0 5px 0;
}

#modu_compe h3 {
    color: azure;
}

#modu_compe p {
    color: lightgray;
    font-size: 15px;
}

.card_content .content {
    width: 80%;
    margin: auto;
    transition: all 1s ease-in-out;
}

#modu_semanas {
    background: rgba(255, 255, 255, 1);
    margin: 5px;
}

#modu_semanas h4 {
    color: white;
    padding-bottom: 5px;
}

#modu1 h4 {
    background: rgba(6, 39, 64, 1);
}

#modu2 h4 {
    background: rgba(73, 69, 111, 1);
}

#modu3 h4 {
    background: rgba(32, 129, 139, 1);
}

#modu_semanas img {
    width: auto;
    height: auto;
    object-fit: none;
    transition: none;
    filter: none;
    padding-right: 5px;
}

#modu_semanas p {
    color: black;
    text-align: left;
    margin-left: 10px;
    cursor: pointer;
    font-size: 13px;
    text-shadow: 0px 0px 5px white;
}

#modu1 p:hover {
    background: rgba(6, 39, 64, 0.4);
    color: white;
    text-shadow: 0px 0px 5px black;
}

#modu2 p:hover {
    background: rgba(73, 69, 111, 0.4);
    color: white;
    text-shadow: 0px 0px 5px black;
}

#modu3 p:hover {
    background: rgba(32, 129, 139, 0.4);
    color: white;
    text-shadow: 0px 0px 5px black;
}

#modu_semanas a {
    color: black;
}

#modu_semanas a:hover {
    color: white;
}

#modu_ev {
    margin-top: 2px;
}

#Open {
    width: 90%;
    margin: auto;
    border-top: 5px solid #b2bac7;
    padding-top: 15px;
    padding-bottom: 20px;
    padding: 15px;
    box-shadow: 5px 5px 5px grey;
    border: 1px solid rgba(0, 0, 0, 0.125);
    background-color: #fff;
}

#Openf {
    width: 90%;
    margin: auto;
    border-top: 5px solid #b2bac7;
    padding-top: 15px;
    padding-bottom: 20px;
    padding: 15px;
    box-shadow: 5px 5px 5px grey;
    border: 1px solid rgba(0, 0, 0, 0.125);
    background-color: #fff;
}

#MBody h5,
#Fase h5 {
    color: #062740;
    font-family: 'Oswald', sans-serif;
    font-size: 25px;
    margin-bottom: 15px;
}

#MBody .recuadro1 {
    width: 80%;
    padding: 15px;
    background-color: #763c45;
    margin: auto;
    color: white;
    font-size: 12px;
    text-align: center;
    margin-bottom: 10px;
    border-radius: 10px;
}

#MBody .recuadro1 p {
    margin: 0px;
}

#MBody #accordion,
#MBody #tabs {
    margin-bottom: 15px;
}

#MBody .card-link {
    color: white;
}

#MBody .card-link:hover,
#MBody .card-link:active,
#MBody .card-link:focus {
    color: powderblue;
    outline: none;
    text-decoration: none;
}

#act_u {
    font-size: 12px;
    margin-bottom: 5px;
    color: #763c45;
    font-weight: bold;
    margin: 0px;
}

#act_p {
    text-align: center;
    padding: 0;
    margin: 0;
    font-size: 10px;
    font-weight: 500;
    color: #062740;
    margin-bottom: 5px;
}

#fases_nav {
    margin: 0px;
    text-align: right;
}

#fases_nav span {
    color: #062740;
    cursor: pointer;
    font-weight: bold;
}

#fases_nav span:hover {
    color: #763c45;
}

#cerrar,
#cerrar_f {
    font-size: 20px;
    width: 3%;
    height: 25px;
    text-align: center;
    background-color: #062740;
    color: white;
    cursor: pointer;
    line-height: 1;
    border-radius: 12px;
    padding: 1px;
    float: right
}

#cerrar:hover,
#cerrar_f:hover,
#cerrar_fb:hover {
    background-color: #763c45;
    color: white;
}

#cerrar_fb {
    font-size: 20px;
    width: 10%;
    height: 25px;
    text-align: center;
    background-color: #062740;
    color: white;
    cursor: pointer;
    line-height: 1;
    margin: 20px auto 0px;
    border-radius: 12px;
    padding: 1px;
}

#baja_pdf {
    background: url(../img/pdf.png);
    text-align: center;
    background-repeat: no-repeat;
    background-position: left;
    cursor: pointer;
    width: 50px;
    height: 50px;
    float: right;
    position: relative;
    bottom: 20px;
    right: 30px;
}

#baja_pdf:hover {
    filter: saturate(0%);
}

#MBody h6 {
    border-bottom: 4px solid #20818b;
    background-color: #fff;
    color: #fff;
}

#MBody h6 span {
    background-color: #20818b;
    border-radius: 0px 10px 0px 0px;
    padding: 2px 7px 2px 7px;
}

#MBody h6 span img {
    display: inline;
    width: 17px;
    margin-right: 5px;
}


/* Footer */

#footer {
    background: #20818b;
    padding: 0 0 1px 0;
    color: #eee;
    font-size: 14px;
    overflow: hidden;
    padding-top: 13px;
    padding-bottom: 13px;
    font-family: 'Oswald', sans-serif;
}

#footer .copyright {
    text-align: left;
    float: left;
}

#footer .creditos {
    cursor: pointer;
    padding-right: 5px;
}

#footer .creditos:hover {
    background-color: white;
    color: black;
}

#footer p {
    margin: 0px;
}


/* Autor */

#autor {
    width: 10%;
    margin: auto;
}

#OpenA {
    width: 20%;
    margin: auto;
    position: fixed;
    background-color: floralwhite;
    padding: 10px;
    font-size: 14px;
    bottom: 40px;
    left: 41%;
    border: 1px solid darkgray;
}

#OpenA p {
    margin: 0px;
}

#credi {
    background: url("../img/footer/fa-child.png");
    text-align: center;
    padding-left: 14px;
    background-repeat: no-repeat;
    background-position: left;
    cursor: pointer;
}

#credi:hover {
    background: url("../img/footer/fa-child-hover.png");
    background-repeat: no-repeat;
    background-position: left;
    color: black;
}


/* Social media */

.social {
    text-align: right;
    float: right;
}

.social a {
    width: 25px;
    height: 25px;
    position: absolute;
    bottom: -3px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #062740;
}

.social a:hover {
    background-repeat: no-repeat;
    background-position: center;
    background-color: #763c45;
}

.facebook {
    background: url("../img/footer/fa-facebook.png");
    right: 74px;
}

.facebook:hover {
    background: url("../img/footer/fa-facebook-hover.png");
}

.twitter {
    background: url("../img/footer/fa-twitter.png");
    right: 46px;
}

.twitter:hover {
    background: url("../img/footer/fa-twitter-hover.png");
}

.instagram {
    background: url("../img/footer/fa-instagram.png");
    right: 18px;
}

.instagram:hover {
    background: url("../img/footer/fa-instagram-hover.png");
}

.linkedin {
    background: url("../img/footer/fa-linkedin.png");
}

.linkedin:hover {
    background: url("../img/footer/fa-linkedin-hover.png");
}


/** boton subir */

.back-to-top {
    position: fixed;
    display: none;
    background: #763c45;
    color: #fff;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 50px;
    right: 15px;
    bottom: 65px;
    transition: background 0.5s ease-in-out;
}

.back-to-top img {
    font-size: 24px;
    padding-top: 10px;
}

.back-to-top:focus {
    background: #062740;
    color: #fff;
    outline: none;
}

.back-to-top:hover {
    background: #062740;
    color: #fff;
}


/* Responsive Media Queries */

@media only screen and (max-width: 1134px) {
    #modu_semanas p {
        font-size: 11px;
    }
}

@media only screen and (max-width: 991px) {
    .card_content .content {
        width: 95%;
    }
    #modu_compe h3 {
        font-size: 19px;
    }
    #modu_compe p {
        font-size: 12px;
    }
    #modu1 h4,
    #modu2 h4,
    #modu3 h4 {
        font-size: 18px;
    }
    #modu_semanas p {
        text-align: center;
        font-size: 12px;
    }
}

@media only screen and (max-width: 845px) {
    #modu_semanas p {
        font-size: 9px;
    }
    #modu_compe p {
        font-size: 10px;
    }
    #modu1 h4,
    #modu2 h4,
    #modu3 h4 {
        font-size: 15px;
    }
}

@media only screen and (max-width: 768px) {
    #banner .intro-container {
        width: 90%;
    }
    #banner h1 {
        font-size: 25px;
    }
    #banner h2 {
        font-size: 17px;
    }
    #banner p {
        font-size: 12px;
    }
    #banner .intro {
        font-size: 13px;
    }
    .modal-dialog {
        width: 90%;
        margin: auto;
    }
    .modal-header h4 {
        font-size: 1rem;
    }
    .modal table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
    .modu_container {
        display: block;
        height: auto;
    }
    .modu_container .card {
        margin-bottom: 10px;
        height: 960px;
    }
    .modu_container .card .card_head {
        font-size: 15px;
        transform: rotate(0deg);
        bottom: initial;
        top: 0px;
    }
    #modu_compe h3 {
        font-size: 15px;
    }
    #modu_compe p {
        font-size: 12px;
    }
    .modu_title p {
        display: none;
    }
    #modu1 h4,
    #modu2 h4,
    #modu3 h4 {
        font-size: 15px;
    }
    #modu_semanas p {
        font-size: 12px;
    }
    #modu1,
    #modu2,
    #modu3 {
        display: block;
        top: 40px;
    }
    #footer .copyright {
        text-align: center;
        float: none;
    }
    .social {
        display: none;
    }
    #OpenA {
        width: 50%;
        left: 25%;
    }
}

@media (max-width: 576px) { 
	#banner{
		height: 600px!important;
	}



}