/*---------------------------------------------------------------------------

[Table Of Contents]

1. General (body, h*, p, ...)
2. Helpers (common classes)
3. Navbar


---------------------------------------------------------------------------*/


/* DARK GREEN : #006A4E */
/* GREEN: #34975c */

@font-face {
    font-family: 'Gotham';
    font-weight: bold;
    src: url("../fonts/Gotham/Gotham-Bold.woff") format("woff"),
         url("../fonts/Gotham/Gotham-Bold.ttf")  format("truetype");
}

@font-face {
    font-family: 'Gotham Book';
    font-weight: 300;
    src: url("../fonts/Gotham/Gotham-Book.woff") format("woff"),
         url("../fonts/Gotham/Gotham-Book.ttf")  format("truetype");
}


/*-------------------------------------------------------------------------*/
/* 1. General
/*-------------------------------------------------------------------------*/
:root {
    --color-primary: #006A4E;
    --color-white: #ffffff;
}
body {
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
    font-size: 25px;
    font-family: 'Gotham Book', sans-serif;
    --header-height: 0;
}
h1 {
    border: 4px solid var(--color-primary);
    background-color: var(--color-primary);
    color: #FFFFFF;
    display: inline-block;
    font-family: 'Gotham', sans-serif;
    font-size: 45px;
    font-weight: bold;
    text-align: center;
    padding: 20px 20px;
    border-radius: 10px;
    margin-bottom: 0;
    width: 680px;
}

h2 {
    font-size: 28px;
    font-family: 'Gotham', sans-serif;
    font-weight: bold;
    margin-bottom: 0;
}

h3 {
    font-size: 25px;
    font-weight: 300;
    font-family: 'Gotham Book', sans-serif;
    margin-bottom: 0;
}


/*-------------------------------------------------------------------------*/
/* 2. Helpers
/*-------------------------------------------------------------------------*/

/* background */
.background-dark-green {
    background-color: var(--color-primary);
}

.background-light-green {
    background-color: #34975c;
}

/* border */
.border-top-radius {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.border-bottom-radius {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* sizes */

/* .row > .col-p-5 {
    width: calc(5% - 1rem);
}

.row > .col-p-7 {
    width: calc(7% - 1rem);
}

.row > .col-p-9 {
    width: calc(9% - 1rem);
}

.row > .col-p-10 {
    width: calc(10% - 1rem);
}

.row > .col-p-12 {
    width: calc(12% - 1rem);
}

.row > .col-p-13 {
    width: calc(13% - 1rem);
}

.row > .col-p-15 {
    width: calc(15% - 1rem);
}

.row > .col-p-17 {
    width: calc(17% - 1rem);
}

.row > .col-p-20 {
    width: calc(20% - 1rem);
}

.row > .col-p-23 {
    width: calc(23% - 1rem);
}

.row > .col-p-25 {
    width: calc(25% - 1rem);
}

.row > .col-p-30 {
    width: calc(30% - 1rem);
}

.row > .col-p-35 {
    width: calc(35% - 1rem);
}

.row > .col-p-50 {
    width: calc(50% - 1rem);
}

.row > .w-500px {
    width: 540px;
}

.row > .w-165px {
    width: 165px;
}

.row > .w-250px {
    width: 250px;
}

.row > .w-420px {
    width: 420px;
}

.row > .w-300px {
    width: 300px;
} */

.row:not(.row-data) > div:first-child,
.row-data > div:nth-child(2) {
    width: 540px;
}

.row:not(.row-data) > div:nth-child(2),
.row-data > div:nth-child(3) {
    width: 165px;
}

.row:not(.row-data) > div:nth-child(3),
.row-data > div:nth-child(4) {
    width: 230px;
}

.row:not(.row-data) > div:nth-child(4),
.row-data > div:nth-child(5) {
    width: 400px;
}

.row:not(.row-data) > div:nth-child(5),
.row-data > div:nth-child(6) {
    width: 300px;
}

.w-33 {
    width: 33% !important;
}

.w-20 {
    width: 20% !important;
}

.h-15 {
    height: 15px;
}

.h-20 {
    height: 20px;
}

.h-30 {
    height: 30px !important;
}

.h-40 {
    height: 40px;
}

/**/
.background-light-green h2 {
    padding-top: 25px;
}


/* shadow */
.box-shadow {
    box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.1);
}

.box-shadow-vertical:before,
.box-shadow-vertical:after {
    content: " ";
    height: 100%;
    position: absolute;
    top: 0;
    width: 10px;
}

.box-shadow-vertical:before {
    box-shadow: -15px 0 15px -15px inset;
    left: -10px;
}

.box-shadow-vertical:after {
    box-shadow: 15px 0 15px -15px inset;
    right: -10px;
}

.box-shadow-top {
    box-shadow: 0px -10px 15px -3px rgba(0,0,0,0.1);
}




.main {
    height: calc(100vh - 208px);
    padding-left: 20px;
    padding-right: 20px;
}

.row-data {
    position: relative;
}

.row-title > div:first-child,
.row-data > div:nth-child(2),
.row-data div[class^="w-"]  {
    z-index: 99;
}

.state {
    border-radius: 30px;

    margin-left: 35px;
    margin-right: 35px;
    width: calc(100% - 80px);
    height: 65%;

    position: absolute;
    top: 10px;
}

/* .state.state-normal {
} */

.state.state-alert {
    background-color: #E18533;
}

.state.state-danger {
    background-color: #ED1B2F;
}

.row-data > div:nth-child(2) {
    font-weight: 300;
    font-family: 'Gotham Book', sans-serif;
}

.datetime {
    font-size: 11px;
    color: #aaa;

    position: absolute;
    bottom: 5px;
    right: 5px;
}


/*-------------------------------------------------------------------------*/
/* 3. Navbar
/*-------------------------------------------------------------------------*/
.navbar {
    padding: 2rem 0 4.5rem;
}

.navbar-left, .navbar-right {
    flex: 1;
}