/* ======= Imports ======= */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Asap:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Rowdies:wght@300;400;700&display=swap');


/* ======= Variables ======= */
:root {
    /* Colors */
    --body-bg-color: #F4F6FF;
    --body-text-color: #363636;
    --main-bg-color: white;

    --app-primary: #EA2631;
    --app-primary-dark: #c21a25;
    --app-primary-light: #f13b47;

    --app-black: #171717;
    --app-black-contrast: #494849;

    --separator-color: #EAEBF0;
    --text-color: #646464;
    --light-text-color: #AAAAAA;
    --special-grey : #F4F5F7;
    --hover-grey : #F4F5F7;

    /* Components Colors */
    --card-bg-color: white;

    /* Styles */
    --font-global: 'Raleway', sans-serif;
    --font-asap: 'Asap', sans-serif;
    --box-shadow: rgb(149 157 165 / 20%) 0px 0px 12px;

    /* Metrics */
    --global-radius:  1rem;
    --height-header: 78px;
    --global-transition: 140ms;
}

/* ======= BASE ======= */
body, html {
    height: 100%;
    font-family: var(--font-global);
    background-color: var(--body-bg-color);
}

body:before {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 70%;
    content: '';
    background-image: url(../assets/images/bg-app.svg);
    background-size: 100%;
    background-repeat: no-repeat;
}

/* ======= TYPOGRAPHY ======= */

p {
    line-height: 1.6;
}

.title {
    display: block;
    font-weight: bold;
    font-family: var(--font-asap);
}

.title.large {
    margin-bottom: 1rem;
    font-size: 3.6rem;
}

.link {
    font-weight: 500;
    color: var(--app-black);
}

.link:hover,
.link:focus {
    color: var(--app-black-contrast);
}

.link i {
    display: inline-block;
    margin-left: 0.4rem;
}

/* ======= BUTTONS ======= */

.btn {
    padding-left: 2rem;
    padding-right: 2rem;
    font-weight: bold;
    border-radius: 4rem;
    border: none;
    transition: var(--global-transition);
}

.btn.btn-lg {
    font-size: 1.6rem;
    line-height: 1.6;
}

.btn img {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.8rem;
}

.btn i {
    position: relative;
    display: inline-block;
    margin-left: 4px;
}

.btn.btn-lg i {
    top: 2px;
    font-size: 2.2rem;
    margin-left: 8px;
}

/* Shape Buttons */

.btn.btn-round {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    padding: 8px 10px;
}

.btn.btn-round i {
    margin: 0;
}

    /* Colors Buttons */

.btn.btn-default {
    border: 1px solid var(--app-black);
}

.btn.btn-dark {
    background-color: var(--app-black);
    color: white;
}

.btn.btn-dark:hover,
.btn.btn-dark:focus {
    transition: var(--global-transition);
    background-color: var(--app-black-contrast);
}

.btn.btn-primary {
    background-color: var(--app-primary);
    color: white;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
    transition: var(--global-transition);
    background-color: var(--app-primary-light);
}

.btn.btn-primary:active {
    transition: var(--global-transition);
    background-color: var(--app-primary-dark);
}

/* ======= LAYOUT ======= */

.container {
    position: relative;
    height: calc(100% - var(--height-header) - 1px);
}

.container:before, .container:after {
    display: none;
}

.row-container {
    height: 100%;
}

/* HEADER */

header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 4;
    background-color: var(--body-bg-color);
}

.navbar {
    height: var(--height-header);
    margin: 0 auto;
    width: 1170px;
    border-radius: 0;
    background: transparent;
    border: none;
}

.navbar-header {
    float: inherit;
    display: inline-flex;
    align-content: center;
    justify-content: center;
    width: 100%;
    padding: 1.4rem 0;
}

.navbar-collapse {
    padding: 0;
}

.navbar-brand {
    -webkit-box-flex: 1;
    flex: 1 1 0;
    padding: 0;
    text-align: center;
}

.navbar-inverse .navbar-nav>li>a {
    color: var(--app-black);
    font-weight: bold;
}

.navbar-inverse .navbar-nav>li>a:hover,
.navbar-inverse .navbar-nav>li>a:focus {
    transition: var(--global-transition);
    color: var(--app-primary);
}

.dropdown-toggle .iconDropdown {
    display: inline-block;
    vertical-align: middle;
    margin-left: 1rem;
}

.dropdown-menu {
    border: none;
    border-radius: var(--global-radius);
    box-shadow: var(--box-shadow);
}

.dropdown-menu li a {
    border-bottom: 1px solid var(--separator-color) !important;
    padding: 8px 12px;
}

.dropdown-menu li a:last-child {
    border-bottom: none !important;
}

.navbar-inverse .navbar-nav>.open>a,
.navbar-inverse .navbar-nav>.open>a:focus,
.navbar-inverse .navbar-nav>.open>a:hover {
    border-radius: 12px 12px 0 0;
}
    /* ======= TABLES ======= */

.table {
    margin-top: 12px;
    border-radius: var(--global-radius);
    box-shadow: var(--box-shadow);
}

thead th a {
    display: block;
    padding: 12px 8px 8px 8px;
    font-size: 12px;
    color: var(--app-black);
    transition: var(--global-transition);
}

thead th a:hover,
thead th a:focus {
    background-color: var(--hover-grey);
    transition: var(--global-transition);
    color: var(--app-black-contrast);
}


thead th {
    padding: 0 !important;
}

.table>tbody>tr:first-child>td,
.table>tbody>tr:first-child>th,
.table>tfoot>tr:first-child>td,
.table>tfoot>tr:first-child>th,
.table>thead>tr:first-child>td,
.table>thead>tr:first-child>th {
    border-top: none;
}

/* ======= MODAL ======= */
#modal-display .modal-sm {
    width: 90%;
}

.modal {
    z-index: 9999;
}

.modal-backdrop {
    z-index: 4;
}

/* ======= CARD ======= */

.card {
    border-radius: var(--global-radius);
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.card .card-content {
    display: inline-block;
    padding: 2.4rem;
}

/* ======== PANNEL  ======== */

.panel {
    border-radius: var(--global-radius) !important;
    background-color: white;
    box-shadow: var(--box-shadow);
    border: none;
}

.panel-heading {
    padding: 0;
    background: transparent !important;
    border: none;
}

.panel-title {
    padding: 3rem 1.8rem 1.4rem 1.8rem;
    font-size: 2.8rem;
    color: var(--app-primary);
    font-weight: bold;
}

.accordion-toggle {
    display: block;
    width: 100%;
    padding: 1.4rem 1.8rem;
    font-size: 1.6rem;
    font-weight: bold;
    cursor: pointer;
    color: white;
    border-radius: 12px 12px 0 0 ;
    background-color: var(--app-black-contrast);
    transition: var(--global-transition);
}

.accordion-toggle:hover,
.accordion-toggle:focus {
    transition: var(--global-transition);
    background-color: var(--app-black-contrast);
    text-decoration: none;
    color: white;
}

.accordion-toggle.collapsed .carret:before {
    content: '\f078';
}

.accordion-toggle .carret {
    float: right;
    opacity: 0.5;
    color: white;
    transition: var(--global-transition);
}

.accordion-toggle:hover .carret,
.accordion-toggle:focus .carret {
    opacity: 1;
    transition: var(--global-transition);
}


/* ======== PAGES ========= */

/* LOGIN / INTRO */

.introContent {
    position: relative;
    top: -8rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.logoApp {
    display: block;
    margin-bottom: 4rem;
}

.loginActions {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.loginActions-title {
    display: block;
    margin-top: 2.4rem;
    margin-bottom: 2.4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--separator-color);
    font-size: 1.8rem;
    font-weight: bold;
}

.signIn {
    display: flex;
    align-items: flex-end;
}
