@media screen and (min-width: 1450px) and (max-width: 1800px) {

* {
    box-sizing: border-box;
}

.alert{
    position: absolute;
    margin-left: 51%;
    margin-top: 8%;
    z-index: 99;
}

#indexcontent{
    margin-top: 22%;
}

.alert-info{
    color: #fcf8ec;
    background-color: #456268;
}

.modal-dialog{
    margin-top: 6%;
}

.modal-header, .modal-footer{
    background-color: #456268;
}

.modal-body{
    background-color: #d0e8f2;
}

#det-proyecto-modal{
    max-width: 800px;
}

#textoporta{
    margin-top: 20px;
    width: 90%;
    text-align: justify;
    text-justify: inter-word;
}

#contenedor-presentacion{
    width: 750px;
    align-self: center;
    align-items: center;
    margin-left: 88px;
}

#imagen-det-proy{
    align-items: center;
    margin-bottom: 5px;
    border: 1px solid rgba(0,0,0,.125);
}

html {
    overflow-y: scroll;
    padding-left: 17px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #d0e8f2;
    margin-top: 20px;
    min-height: 90vh;
    overflow-y: auto;
}

.form-group label {
    vertical-align: top;
}

h1,h2,h3,h4,h5,h6{
    color:black;
}

h4{
    font-size: 1.5rem;
    margin-top: 20px;
}

h6{
    font-size: 1rem;
}

footer .row{
    margin: 0;
}

#trabajos{
    margin-top: 20%;
}

#contenedor-proyectos{
    margin-top: 20%;
}

#cardservicio{
    max-width: 230px;
    margin-top: 10px;
}

#contenedor-skills{
    margin-top: 5%;
    margin-left: 15px;
}

#cardskill{
    max-width: 110px;
    margin-top: 10px;
}

.card-title a {
    color: #335668;
}

.btn-servicios{
    width: 100%;
}

.circletag {
    display: block;
    width: 150px;
    height: 150px;
    background: #E6E7ED;
    border-radius: 50%;
    background-image: url("../img/profile_logo.jpg");
    background-position: 0% 0%;
    background-size: 110% ;
    background-repeat:no-repeat;
    border:3px solid #fff;
    box-shadow: 1px 2px 2px rgb(59, 59, 59);
    margin-left: 30px;
}

#titulonombre{
    text-align: left;
    margin-top: 45px;
    margin-bottom: 35px;
}

.underline {
    display: inline-block;
    position: relative;
}

.underline:before {
    background-color: #456268;
    bottom: -15px;
    content: '';
    height: 2px;
    left: 0;
    position: absolute;
    width: 30%;
}

.profile{
    overflow:hidden;
    text-align: center;
}

#barraskills{
    margin-top: 30px;
    width: 100%;
}


/* Style the header */
header {
    background-color: #d0e8f2;
    text-align: center;
    font-size: 35px;
    color: white;
    height: 50px;
}

/* Create two columns/boxes that floats next to each other */
nav {
    position: relative; 
    float: left;
    /*width: 30%;*/
    background: #ccc;
    padding: 20px;
    
}

/* Style the list inside the menu */
nav ul {
    list-style-type: none;
    padding: 20px 30px 0 0;
    margin-left: 30px;
}

article {
    position: relative; 
    float: left;
    padding: 60px 20px 20px 24%;
    width: 86%;
    background-color: #d0e8f2;
    overflow-y: hidden;
}

#cabecera{
    background-color: #d0e8f2;
    float: left;
    position: fixed;
    width: 60%;
    z-index: 1;
    overflow: hidden;
    height: 250px;
    margin-top: -6%;
}

#cabecera-index{
    background-color: #d0e8f2;
    float: left;
    position: fixed;
    width: 55%;
    z-index: 1;
    overflow: hidden;
    height: 360px;
    margin-top: -5%;
}

section{
    padding: 0% 0% 0% 9%;
    padding-bottom: 5rem;    /* Footer height */
}

/* Clear floats after the columns */
section::after {
    content: "";
    display: table;
    clear: both;
}

/* Style the footer */
footer {
    background-color: #d0e8f2;
    padding: 10px;
    text-align: center;
    color: white;
}

#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 5rem;            /* Footer height */
    z-index: 3;
  }

/* ---------------------------------------------------
  SIDEBAR STYLE
----------------------------------------------------- */

#sidebar {
    min-width: 250px;
    max-width: 30%;
    background: #d0e8f2;
    color: #fff;
    transition: all 0.3s;
    /*padding-left: 15%;*/
    margin-top: 30px;
    position: fixed;
    z-index: 2;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #6d7fcc;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    color: #000309;
    text-decoration: none;
    padding-inline-start: 12%;
    margin-bottom: 2px;
}

#login {
    padding-left: 30%;
}

#sidebar ul li a:hover {
    color: #fff;
    background:#456268;
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 50px;
    margin-bottom: 2px;
}

#sidebar ul li.active>a,
    a[aria-expanded="true"] {
    color: #fff;
    background: #456268;
    border-radius: 50px;
    margin-bottom: 2px;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #6d7fcc;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article, a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

/* Estilos paginación */

.pagination{
    margin-left: 40%;
}

.pagination a {
    color: #fff;
    text-decoration: none;
}

.pagination a:hover {
    color: #fff;
    font-weight: normal;
    background:#456268;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination-number {
    padding: 0.8em 0.8em;
    margin: 0px 2px 0px 2px; 
    border-radius: 3px;
    color: #fff;
    background-color: #79a3b1;
}

.pagination-number:hover,
.pagination-current {
    background-color: #456268;
    font-weight: normal;
}


}

/* Responsive layout - makes the two columns/boxes stack on top of each other instead of next to each other, on small screens */
@media (max-width: 600px) {
    nav, article {
        width: 100%;
        height: auto;
    }
}