@charset "UTF-8";

/* Reset */

* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    width: 100%;
}

header, main, footer, section {
    display: block;
}

nav {
    padding: 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

nav a {
    text-decoration: none;
}

a {
    text-decoration: none;
}

a:hover {
    transition: 0.3s ease-in-out;
    text-decoration: underline;
}

p {
    margin-bottom: 1rem;
}

h1, h2, h3, h4, h5, h6 {
    margin: 1.5rem 0;
    font-weight: 700;
}

h1 {
    font-size: 2.6rem;
    line-height: 1.125;
}

h2 {
    font-size: 2.2rem;
    line-height: 1.15;
}

h3, .lead, .widget h2 {
    font-size: 1.8rem;
    line-height: 1.175;
}

h4, body {
    font-size: 1.5rem;
    line-height: 1.2;
}

h5 {
    font-size: 1.5rem;
    line-height: 1.225;
}

h6, small {
    font-size: 1.25rem;
    line-height: 1.25;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.6rem;
    }

    h2 {
        font-size: 3rem;
    }

    h3, .lead, .widget h2 {
        font-size: 2.4rem;
    }

    h4,
    body {
        font-size: 1.8rem;
    }

    h5,
    h6,
    .small {
        font-size: 1.2rem;
    }
}

b, strong {
    font-weight: bolder;
}

ol, ul {
    list-style: square;
}
  
sub, sup {
    position: relative;
    font-size: 0.75em;
    line-height: 0;
    vertical-align: baseline;
}
  
sub {
    bottom: -0.25em;
}
  
sup {
    top: -0.5em;
}

figure {
    display: block;
    margin: 0;
    padding: 0;
}

figure figcaption {
    padding: 0.5rem;
}

img {
    border-style: none;
    display: block;
    height: auto;
    max-width: 100%;
    pointer-events: none;
}

input,
textarea,
select,
button,
.btn {
    border: 1px solid #8c8f94;
    border-radius: 3px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
}

@media (min-width: 768px) {

    input,
    textarea,
    select,
    button,
    .btn {
        font-size: 1.8rem;
    }
}

input,
textarea,
select {
    width: 100%;
}

input[type=date] {
    padding: 0.9rem 1.5rem;
}

textarea {
    height: 9rem;
}

table {
    margin-bottom: 3rem;
    width: 100%;
}

th {
    border-bottom: 2px solid #dddddd;
    padding: 1.5rem;
    text-align: left;
}

td {
    border-bottom: 1px solid #dddddd;
    padding: 1.5rem;
}

/* Grid */

.container, .container-fluid {
    margin: 0 auto;
    padding: 0 1.5rem;
    max-width: 120rem;
    width: 100%;
}

@media (min-width: 1280px) {
    .container {
      max-width: 1200px;
    }
}
  
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1.5rem;
}

.reverse {
    flex-direction: row-reverse;
}

.around {
    justify-content: space-around;
}

.between {
    justify-content: space-between;
}

.center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.col {
    flex-basis: 0%;
    flex-grow: 1;
    max-width: 100%;
    padding: 0 1.5rem;
}

.col-25 {
    width: 25%;
    padding: 0 1.5rem;
}

.col-33 {
    width: calc(100% / 3);
    padding: 0 1.5rem;
}

.col-50 {
    width: 50%;
    padding: 0 1.5rem;
}

.col-66 {
    width: calc(100% / 3 * 2);
    padding: 0 1.5rem;
}

.col-75 {
    width: 75%;
    padding: 0 1.5rem;
}

.col-side,
.col-thum,
.col-half,
.col-post,
.col-main,
.col-page,
.col-100 {
    width: 100%;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {

    .col-lg {
        flex-basis: 0%;
        flex-grow: 1;
        max-width: 100%;
        padding: 0 1.5rem;
    }

    .col-side,
    .col-lg-25 {
        width: 25%;
        padding: 0 1.5rem;
    }

    .col-thum,
    .col-lg-33 {
        width: calc(100% / 3);
        padding: 0 1.5rem;
    }

    .col-half,
    .col-lg-50 {
        width: 50%;
        padding: 0 1.5rem;
    }

    .col-post,
    .col-lg-66 {
        width: calc(100% / 3 * 2);
        padding: 0 1.5rem;
    }

    .col-main,
    .col-lg-75 {
        width: 75%;
        padding: 0 1.5rem;
    }

    .col-page,
    .col-lg-100 {
        width: 100%;
        padding: 0 1.5rem;
    }

}

.col-main, .col-side, .col-page { 
    margin: 1.5rem 0;
}

@media (min-width: 768px) {
    .col-main, .col-side, .col-page { 
        margin: 3rem 0;
    }
}

/* Secciones */

#nav {
    padding: 1.5rem 0;
    z-index: 999 !important;
}

#nav .searchform input, #nav .searchform button, .searchform .btn {
    margin-bottom: 1rem;
}

#menu {
    display: none;
    line-height: 1.7;
    text-align: right;
}

#menu li {
    display: inline-block;
    margin-right: 1rem;
    margin-left: 1rem;
}

#mobile-button {
    display: block;
    float: right;
    font-size: 1.8rem;
    margin: 0 1rem;

}

#mobile-button-x {
    display: none;
    float: right;
    margin: 0 1rem;
}

#mobile-menu {
    display: none;
    top: 6rem;
    right: 1.5rem;
    position: absolute;
    z-index: 99;
}

#mobile-menu li {
    padding: 1.5rem 3rem;
    text-align: center;
}

#mobile-menu:target {
    display: block;
}

@media (min-width: 768px) {
    #menu {
        display: block;
    }

    #mobile-button {
        display: none;
    }

    #mobile-menu:target {
        display: none;
    }

    #mobile-button-x {
        display: none !important;
    }
}

.home main {
    margin: 0;
}

.blog h1,
.archive h1,
.search h1,
.page h1 {
    margin-top: 0;
}

.post {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}

@media (min-width: 768px) {

    .post {
        margin-bottom: 3rem;
    }

    .blog h1,
    .archive main h1,
    .search main h1,
    .search main h2,
    .page h1 {
        margin-top: 0;
    }

}

#footer {
    padding: 1.5rem 0;
}

/* Logotipo */

.custom-logo {
    height: auto;
    max-width: 25rem;
    margin: 0 1rem;
}

/* Pagina 404 */

.error404 main {
    margin: 4.5rem 0;
    text-align: center;
}

/* Paginacion */

.pager {
    margin-bottom: 1.5rem;
    text-align: center;
}

.pager li {
    display: inline-block;
    margin-right: 1.5rem;
}

.pager li:last-child {
    margin-right: 0;
}

/* Sidebar */

.widget {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}

.widget h2 {
    margin-top: 0;
}

.widget ul {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

.widget li {
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .widget {
        margin-bottom: 3rem;
    }
}

/* Searchform */

.searchform {
    display: inline-block;
    margin-bottom: -1.5rem;
}

.searchform input {
    float: left;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    max-width: 78% !important;
    padding: 0.75rem;
    border-right: 0;
    border-top-right-radius: 0;
    border-top-left-radius: 0.5rem;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0.5rem;
}

.searchform button, .searchform .btn {
    font-size: 1.75rem;
    float: left;
    padding: 0.75rem 1.5rem;
    border-top-right-radius: 0.5rem;
    border-top-left-radius: 0;
    border-bottom-right-radius: 0.5rem;
    border-bottom-left-radius: 0;
}

/* Iconos */

.social {
    margin-bottom: 1.5rem;
}

.social a {
    margin-right: 1.5rem;
}

.social a:last-of-type {
    margin-right: 0;
}

@media (min-width: 768px) {
    .social {
        margin-bottom: 0;
    }
}

/* Varios */

.text-capitalize {
    text-transform: capitalize;
}

.text-lowercase {
    text-transform: lowercase;
}

.text-uppercase {
    text-transform: uppercase;
}
.text-normal {
    font-weight: normal;
}

.text-bold {
    font-weight: bold;
}

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

@media (min-width: 768px) {

    .text-center-lg {
        text-align: center;
    }

    .text-justify-lg {
        text-align: justify;
    }

    .text-left-lg {
        text-align: left;
    }

    .text-right-lg {
        text-align: right;
    }
}

.rounded {
    border-radius: 0.5rem;
}

.rounded-circle {
    border-radius: 50%;
}

.hidden {
    display: none;
}

.hidden-xs {
    display: none;
}

.hidden-lg {
    display: block;
}

@media (min-width: 768px) {
    .hidden-xs {
        display: block;
    }

    .hidden-lg {
        display: none;
    }
}

.embed-responsive {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
}

.embed-responsive,
.embed-responsive iframe,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.embed-responsive-16by9 {
    padding-bottom: 56.25%;
}

.embed-responsive-4by3 {
    padding-bottom: 75%;
}