@import url('https://fonts.googleapis.com/css2?family=PT+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:wght@700&display=swap');

body{
    font-family: 'Roboto', sans-serif;
    margin: 0;
}

header{
    background-image: url(../img/cabecera1.jpg);
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat;
    float: left;
    width: 100%;
}

header::after{
    content: "";
    position: absolute;
    top: 10px; 
    right: 20px; 
    width: 300px; 
    height: 135px; 
    background-image: url(../img/CM_Logo.png);
    background-size: contain;
    background-position: center;; 
    background-repeat: no-repeat;
}

/*------------  CABECERA  ------------*/

.cab-titulo-busc{
    padding: 90px 50px 0;
    width: inherit;
    display: block;
    color: #ffffff;
    font-size: 2.2em;
    line-height: 1.1em;
}

.cab-titulo-busc a{
    color: #ffffff;
    text-decoration: none;
    transition: 0.75s;
}

.cab-titulo-busc a:hover{
    color: #ddd;
}

.cab-titulo-busc a:hover{
    color: #ddd;
}

.cab-titulo-busc p{
    /*text-transform: uppercase;*/
    font-size: 0.47em;
    padding: 0;
    margin: 0;
}

.cab-titulo{
    max-width: 570px;
}

/*------------  Buscador  ------------*/

.cab-buscador{
    float: right;
    margin-top: -40px;
    margin-bottom: 50px;
    max-width: 300px;
    margin-right: 4%;
}

.cab-buscador input{
    margin-top: 0;
    max-width: inherit;
    border: none;
    background-color: #263342;
    color: #ffffff;
    padding: 7px 12px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-top: 20px;
    margin-bottom: 7px;
}

.cab-buscador button{
    width: 8%;
    border: none;
    background-color: #263342;
    margin-left: -6px;
    padding-top: 5px;
    padding-bottom: 7px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.cab-buscador img{
    width: 150%;
    color: #ffffff;
    margin: 0% 0% -40% -25%;
}

/*------------  Menu  ------------*/

.nav-pricipal{
    background-color: #071f2e;
    color: #ffffff;
    height: 100%;
    float: left;
    width: 100%;
    font-size: .9em;
}

.menu{
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.menu-item{
    float: left;
}

.menu li ul{
    display: none;
    list-style: none;
    position: absolute;
    float: left;
    background-color: #071f2e;
    color: #ffffff;
    padding-left: 0px;
    transition: 1s;
}

.menu li:hover > ul{
    display: block;
}

.menu-item a{
    color: #ffffff;
    border-bottom: 5px solid #071f2e;
    display: block;
    text-decoration: none;
    padding: 12px 18px 8px 18px;
    transition: 0.7s;
}


.menu-item a:hover{
    background-color: #0e2d41;
    border-bottom: 5px solid #ffffff;
}
/*------------  cotenido de la pagina ------------*/

/*------------  Contenedor Global  ------------*/

.contenedor-global{
    width: 100%;
    float: left;
}

/*------------  Articulo  ------------*/

.articulo{
    width: 60%;
    font-size: 1.1em;
    padding: 6% 25px;
    margin: 0 4.14470452816% 0 4.999999%;
    float: left;
}

.articulo h1{
    font-family: 'PT Serif', serif;
    font-size: 1.7em;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.art-contenido{
    margin: 1em 0 0;
    float: left;
}

/*------------  Menu Lateral  ------------*/

.menu-lateral{
    width: 25%;
    float: right;
    overflow: hidden;
    border-bottom-left-radius: 1em;
    background-color: #15467c;
    color: #ffffff;
    border-bottom: 10px solid #0e3a6b;
    padding: 5px 15px;
    line-height: 1.7em;
}

.primera-section{
    margin-top: 0;
}

.menu-lateral h2{
    text-transform: uppercase;
    font-size: 1.1em;
    color: #a6c1dd;
}
.menu-lateral ul{
    padding: 0;
    margin: 20px;
}

.primera-section a{
    color: #cdeafe;
    text-decoration: none;
    font-weight: 700;
    padding-bottom: 2px;
    border-bottom: 2px solid #6488ac;
    transition: 0.75s;
}

.primera-section a:hover{
    color: #edef90;
    border-bottom: 2px solid #cdeafe;
}

.other-section{
    margin: 2.5em 0;
}
.other-section li{
    list-style-type: none;
    padding: 8px 4px;
    border-bottom: 2px solid #0e3a6b;
    clear: right;
}

.other-section a{
    color: #cdeafe;
    text-decoration: none;
    font-weight: 700;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent !important;
    transition: 0.75s;
}

.other-section a:hover{
    color: #edef90;
    border-bottom: 2px solid #cdeafe !important;
}

/*------------  Paginas  ------------*/

.articulo-cabecera{
    background-image: none;
}
.articulo-cabecera-titulo{
    font-family: 'Droid Serif', Georgia, Times, serif;
    font-size: 1.7em;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.articulo-cabecera a{
    text-decoration: none;
    background-color: transparent;
    color: #071f2e;
    transition: all ease .6s;
    border-bottom: 2px solid #ffffff;
}

.articulo-cabecera a:hover{
    color: #000000;
    border-bottom: 2px solid #cccccc;
}

.articulo-link{
    text-decoration: none;
    background-color: transparent;
    color: #6e6570;
    transition: all ease .6s;
    border-bottom: 2px solid #ffffff;
}

.articulo-link:hover{
    color: #cd4444;
    border-bottom: 2px solid #cccccc;
}

.articulo-cabecera-contenido{
    color: #59495c;
    padding-bottom: 15px;
    border-bottom: 2px solid #eeeeee;
    font-size: .9em;
    line-height: 1em;
}

.articulo-cabecera-contenido p{
    display: inline-table;
    padding-right: 20px;
    margin-bottom: 0;
    line-height: 1em;
}
.articulo-cabecera-contenido p{
    display: inline-table;
    padding-right: 20px;
    margin-bottom: 0;
    line-height: 1em;
}

.articulo-cabecera-contenido p a{
    color: #cd4444;
    border-bottom: 2px solid #ffffff;
}

.articulo-cabecera-contenido p a:hover{
    color: #000000;
    border-bottom: 2px solid #cccccc;
}

.articulo-cuerpo{
    margin: 1em 0 0;
    float: left;
}

.articulo-cuerpo a{
    text-decoration: none;
    background-color: transparent;
    color: #cd4444;
    transition: all ease .6s;
    border-bottom: 2px solid #efebeb;
}

.articulo-cuerpo a:hover{
    color: #000000;
    border-bottom: 2px solid #cccccc;
}
.espaciado{
    margin-bottom: 125px;
}

hr{
    color: transparent;
    border-bottom: 4px solid #eeeeee;
    float: left;
    width: 30%;
    margin-left: -15%;
    margin-top: -6%;
}

.social-links {
    margin: 0 -2.5% 0 0;
    list-style: none;
    width: 1.5%;
}

.ico{
    width: 100%;
}

/*------------  Contenedor Formulario  ------------*/

.contenedor-from{
    border-top: 4px solid #eeeeee;
    margin-top: 25px;
    padding: 20px 0;
    float: left;
}

textarea{
    width: 100%;
}

p > input[type="text"], p > input[type="email"], p > textarea, p > input[type="url"]{
    border: 1px solid #e9e9e9;
    background-color: #f9f9f9;
    color: #071f2e;
    padding: 7px 10px;
    -webkit-appearance: none;
    border-radius: .3em;
    max-width: 100%;
}

input[type="checkbox"] {
    box-sizing: border-box;
    padding: 0;
}


button, input[type="button"], input[type="reset"], input[type="submit"] {
    background-color: #7e7380;
    color: #ffffff;
    font-weight: 700;
    padding: 10px 15px;
    border: none;
    border-radius: .5em;
    transition: all ease .6s;
    margin-top: 5px;
}

button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover{
    background-color: #5b4d5d;
}
