:root {
    --color-primary: #2980b9;
    --color-secondary: #3498db;
    --color-text: #2d3436;
    --color-link: #2980b9;
    --color-link-hover: #3498db;
}

body {
    background-color: #dff9fb;
}

.logo-title {
    padding-top: 40px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    line-height: normal;
}

@media screen and (max-width: 768px) {
    .logo-title {
        padding-top: 80px;
    }
}

.logo-title>a {
    text-decoration: none;
    color: var(--color-link);
    cursor: pointer;
}

.btn-link > * {
    text-decoration: none;
    color: var(--color-link);
    cursor: pointer;
}

.logo-title>a>img {
    max-width: 220px;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .logo-title>a>img {
        width: 250px;
        max-width: 100%;
    }
}

.logo-main {
    font-size: 3em;
    font-family: 'Helios', sans-serif;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-main i {
    margin-right: 10px;
}

.logo-powered-by {
    font-size: 0.9em;
    color: #555;
    font-weight: 600;
}

.content,
.content-small,
.content-large,
.content-xxl {
    max-width: 1000px;
    margin: 0 auto 20px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.content-small {
    max-width: 600px;
}

.content-large {
    max-width: 1280px;
}

.content-xxl {
    max-width: 85%;
}

.form-group {
    margin-bottom: 10px;
}

.center {
    text-align: center;
}

.list-element {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 10px;
    cursor: pointer;

    -webkit-transition: background-color 500ms ease;
    -moz-transition: background-color 500ms ease;
    -ms-transition: background-color 500ms ease;
    -o-transition: background-color 500ms ease;
    transition: background-color 500ms ease;
}

.list-element:hover {
    background-color: white;
}

.no-decoration,
.no-decoration:link,
.no-decoration:visited,
.no-decoration:hover,
.no-decoration:active {
    text-decoration: none;
    color: black;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.container {
    max-width: 960px;
}

.chartContainer {
    position: relative;
    margin: auto;
    max-height: 300px;
    background-color: white;
    border-radius: 5px;
    padding: 10px;
    border: 2px;
    border-style: solid;
    border-color: lightgrey;
}

.titolo {
    color: var(--color-primary);
}

.desc {
    color: var(--color-text)
}

.form-label,
.form-check-label {
    color: var(--color-primary);
}

.form-label {
    margin-bottom: .3rem;
}

.form-row {
    margin-bottom: 1rem;
    /* col-12 */
    /* display: flex; */
    /* flex-wrap: wrap; */
    flex: 0 0 auto;
    width: 100%;
}

.form-col {
    flex-grow: 1;
    margin-left: 5px;
    margin-right: 5px;
}

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-primary:hover, .btn-primary:active {
    background-color: var(--color-link-hover) !important;
    border-color: var(--color-link-hover) !important;
}

.btn-primary:disabled {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.summary-result-container {
    background-color: var(--color-secondary);
    border-color: var(--color-primary);
    border-style: solid;
    border-width: 2px;
    border-radius: 5px;
    padding: 1rem;
    text-decoration: solid;
    font-weight: normal;
    font-size: 1.25rem;
    color: white;
    margin: 0 5px 0.5rem 5px;
    flex-grow: 1;
    flex-basis: calc(100% / 3 - 30px);
    overflow: hidden;
    word-break: break-word;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: space-evenly;
}

.summary-result-container p {
    width: 100%;
}

.customMonthUsage {
    flex-grow: 1;
    flex-basis: calc(100% / 3 - 1.5rem);
    margin-left: 0.5rem;
}

@media (max-width: 576px) {
    .summary-result-container {
        flex-grow: 1;
        flex-basis: calc(100% / 1 - 30px);
        word-break: break-word;
    }

    .customMonthUsage {
        flex-grow: 1;
        flex-basis: calc(100% / 2 - 1.5rem);
        margin-left: 0.5rem;
    }

    .chartContainer {
        min-height: 200px;
    }
}

#loadDistributionChart {
    max-height: 200px;
}

.el-disabled {
    opacity: 0.5;
    pointer-events: none;
    /* Prevents clicking */
}

/* #downloadSimBtn {
    margin: 0 5px 0.5rem 5px;
} */

.resultDiv {
    border-style: solid;
    border-width: 2px;
    border-radius: 5px;
    padding: 1rem;
    text-decoration: solid;
    font-weight: normal;
    font-size: 1.25rem;
    color: white;
    flex-grow: 1;
    flex-basis: calc(100% / 3 - 30px);
    overflow: hidden;
    word-break: break-word;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: space-evenly;
}

#google-maps {
    width: 100%;
    height: 400px;
}

.floating-logout-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1050;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.floating-user-text {
    position: absolute;
    top: 20px;
    right: 260px;
    font-size: 18px;
    color: #333;
}

.floating-user-text-near {
    position: absolute;
    top: 20px;
    right: 130px;
    font-size: 16px;
    color: #333;
    padding-left: 10px;
}

.floating-action-btn {
    position: absolute;
    top: 15px;
    right: 120px;
    z-index: 1050;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.element-box {
    background-color: white;
    border-color: var(--color-primary);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    margin-top: 20px;
}

.element-box.small-box {
    padding: 8px 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    max-width: 80%;
    margin: 0 auto;
    box-shadow: none;
}

.element-box div {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.center-flex {
    display: flex;
    align-items: center;
}

.status-box {
    padding: 3px 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.big-button {
    display: inline-block;
    width: 100%;
    font-size: 1.3rem;
    padding: 30px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    background-color: var(--color-link);
    color: white;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: background-color 500ms ease;
    -moz-transition: background-color 500ms ease;
    -ms-transition: background-color 500ms ease;
    -o-transition: background-color 500ms ease;
    transition: background-color 500ms ease;
}

.big-button:hover {
    background-color: var(--color-link-hover);
}

.green {
    color: #2ecc71;
}

.red {
    color: #e74c3c;
}

.form-control:focus, .form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(41, 128, 185, 0.25);
}

.form-check-input[type=checkbox] {
    margin-right: 10px;
}