/* General */

* {
    box-sizing: border-box;
}

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

body {
    font-size: 1.4rem;
    line-height: 1.3;
    margin: 0;
}

a {
    text-decoration: none;
}

a:hover {
    transition: 0.3s all;
}

p {
    margin: 1.5rem 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 1.5rem 0;
}

h1 {
    font-size: 2.6rem;
}

h2 {
    font-size: 2.2rem;
}

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

h4 {
    font-size: 1.4rem;
}

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

@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;
    }
}

img {
    display: block;
    height: auto;
    max-width: 100%;
}

a img:hover {
    opacity: 0.85;
}

#footer {
    padding: 1.5rem 0;
}

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;
}

/* Flex Grid */

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

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

.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;
}

.vertical-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;
    }
}

/* Textos */

.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;
    }
}


/* Varios */

.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%;
}