/**
 * Theme style.
 *
 * For all pages.
 *
 * @author  Indobisa.com <mail@indobisa.com>
 */

.button {
    cursor: pointer;
    border: none;
    border-radius: 5px;
    padding: 15px;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    box-shadow: 0 1px 6px rgb(0 0 0 / 12%), 0 1px 4px rgb(0 0 0 / 24%);
    opacity: 1;
}

.button.icon {
    background: none;
    box-shadow: none;
    border-radius: 0;
    font-size: 15px;
    padding: 10px;
}

.button.small {
    font-size: 15px;
    padding: 5px;
}

.button.medium {
    font-size: 20px;
    padding: 10px;
}

.button.large {
    font-size: 30px;
    padding: 15px;
}

.button:hover {
    opacity: 0.8;
}

.button.success {
    background-color: navy;
    color: white;
}

.button.failed {
    background-color: orange;
    color: white;
}

.button.warning  {
    background-color: yellow;
    color: black;
}

.button.primary  {
    background-color: red;
    color: white;
}

.leading {
    font-size: 20px;
}

.leading-heading {
    font-size: 30px;
    font-weight: normal;
}

.row, .column {
    padding: 5px;
}

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

.row.x-center {
    justify-content: center !important;
}

.row.x-end {
    justify-content: flex-end !important;
}

.row.y-center {
    align-items: center !important;
}

.row.y-end {
    align-items: flex-end !important;
}

.column {
    display: flex;
    flex-direction: column;
}

.column.x-center {
    align-items: center !important;
}

.column.x-end {
    align-items: flex-end !important;
}

.column.y-center {
    justify-content: center !important;
}

.column.y-end {
    justify-content: flex-end !important;
}

.row.xy-center, .column.xy-center {
    justify-content: center !important;
    align-items: center !important;
}

.row.xy-end, .column.xy-end {
    justify-content: flex-end !important;
    align-items: flex-end !important;
}

.flex-container {
    display: flex;
    flex-direction: row;
}

.column-1 {
    flex: 8.33%;
}
.column-2 {
    flex: 16.66%;
}
.column-3 {
    flex: 25%;
}
.column-4 {
    flex: 33.33%;
}
.column-5 {
    flex: 41.66%;
}
.column-6 {
    flex: 50%;
}
.column-7 {
    flex: 58.33%;
}
.column-8 {
    flex: 66.66%;
}
.column-9 {
    flex: 75%;
}
.column-10 {
    flex: 83.33%;
}
.column-11 {
    flex: 91.66%;
}
.column-12 {
    flex: 100%;
}

.spacer {
    display: block;
    background: none;
    border: none;
    content: '';
    padding: 0;
}

.spacer.very-small {
    margin: 5px;
}

.spacer.small {
    margin: 10px;
}

.spacer.medium {
    margin: 20px;
}

.spacer.large {
    margin: 30px;
}

.navbar .list {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    padding: 0;
}

.navbar .list .item {
    display: flex;
    align-items: center;
    margin-right: 15px;
    text-decoration: none;
    color: white;
}

.navbar .list .item img {
    margin-right: 5px;
}

.inline {
    display: inline;
}

.uppercase {
    text-transform: uppercase;
}

.vertical-center {
    vertical-align: middle !important;
}

.horizontal-center {
    text-align: center !important;
}

.grow {
    flex-grow: 1;
}

.block {
    display: block !important;
}

.flex {
    display: flex !important;
}

.full-width {
    width: 100%;
}

.hidden {
    display: none !important;
}

.list-no-style {
    list-style: none;
    padding: 0;
}

.list-no-style li {
    padding: 5px;
}

.no-margin {
    margin: 0 !important;
}

.no-padding {
    padding: 0 !important;
}

.very-small-text {
    font-size: 12px;
}

.small-text {
    font-size: 14px;
}

.medium-text {
    font-size: 18px;
}

.large-text {
    font-size: 32px;
}

.cursor-pointer {
    cursor: pointer;
}

.hover {
    opacity: 1;
}

.hover:hover {
    opacity: 0.8;
}

.shadow-border {
    box-shadow: 0 1px 6px rgb(0 0 0 / 12%), 0 1px 4px rgb(0 0 0 / 24%);
}

.alert {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #f8d7da;
    box-shadow: 0 1px 6px rgb(0 0 0 / 12%), 0 1px 4px rgb(0 0 0 / 24%);
}

.desktop-hidden {
    display: none !important;
}

.modal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal .modal-container {
    display: flex;
    flex-direction: column;
    background-color: #fefefe;
    margin: 10px;
    padding: 20px;
    width: 80%;
    height: 80%;
    border: 1px solid #888;
}

.modal .modal-container .modal-header {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
}

.modal .modal-container .modal-header .modal-close {
    color: #aaaaaa;
    font-size: 28px;
    font-weight: bold;
    background: none;
    border: none;
    padding: 0;
    margin-left: auto;
    cursor: pointer;
}

.modal .modal-container .modal-header .modal-close:hover,
.modal .modal-container .modal-header .modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal .modal-container .modal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80%;
}

.table {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
}

.table-fixed {
    table-layout: fixed;
}

.table td {
    border: 1px solid #ddd;
}

.table th {
    position: sticky;
    top: 0;
}

.table th,
.table td {
    padding: 8px;
}

.table.strip > tbody > tr:nth-child(even) {
    background-color: #f2f2f2;
}

.table.hover > tbody > tr:hover {
    background-color: #ddd;
}

.table.cursor > tbody > tr > td {
    cursor: pointer;
}

.table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #04AA6D;
    color: white;
}

.pagination-button {
    cursor: pointer;
    padding: 5px;
    margin-right: 10px;
    background-color: rgb(239, 239, 239);
    border: none;
    border-radius: 5px;
    box-shadow: 0 1px 6px rgb(0 0 0 / 12%), 0 1px 4px rgb(0 0 0 / 24%);
}

.pagination-button.active {
    font-weight: bold;
    background-color: lightGrey;
}

.pagination-title {
    margin-right: 10px;
}

.allow-break {
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.no-decoration-black {
    color: black;
    text-decoration: none;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

select.select {
    padding: 8px;
    margin: 0;
    color: black !important;
    cursor: pointer;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background: lightGrey;
}

::-webkit-scrollbar-thumb {
    background: #a9a9a9;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    font-family: sans-serif !important;
    min-height: 100vh !important;
}

header, main, footer {
    padding: 0 10px 10px 0;
}

header, footer {
    box-shadow: 0 1px 6px rgb(0 0 0 / 12%), 0 1px 4px rgb(0 0 0 / 24%);
    padding-left: 10px;
    padding-right: 10px;
}

header {
    color: white;
    background-color: red;
}

header h1 {
    font-weight: 500;
    font-size: 20px;
}

header h1 a {
    text-decoration: none;
    color: white;
}

footer {
    color: black;
    background-color: white;
}

footer a {
    color: black;
    margin: 10px;
}

#footer-copyright-paragraph {
    display: block;
    margin-top: 20px;
    padding: 0;
}

@media only screen and (max-width: 793px) {
    .column-1,
    .column-2,
    .column-3,
    .column-4,
    .column-5,
    .column-6,
    .column-7,
    .column-8,
    .column-9,
    .column-10,
    .column-11,
    .column-12 {
        flex: 100%;
    }
    
    .flex-container {
        flex-direction: column;
    }
    
    .spacer.small {
        margin: 10px;
    }
    
    .spacer.medium {
        margin: 15px;
    }
    
    .spacer.large {
        margin: 20px;
    }
    
    .leading {
        font-size: 15px;
    }
    
    .leading-heading {
        font-size: 18px;
    }
    
    .button {
        padding: 8px;
        font-size: 15px;
    }
    
    .button.icon,
    .button.small {
        font-size: 10px;
        padding: 5px;
    }
    
    .button.medium {
        font-size: 18px;
        padding: 5px;
    }
    
    .button.large {
        font-size: 20px;
        padding: 5px;
    }
    
    .very-small-text {
        font-size: 10px;
    }
    
    .small-text {
        font-size: 12px;
    }
    
    .medium-text {
        font-size: 16px;
    }
    
    .large-text {
        font-size: 24px;
    }
    
    .mobile-hidden {
        display: none !important;
    }
    
    .desktop-hidden.inline {
        display: inline !important;
    }
    
    .desktop-hidden.block {
        display: block !important;
    }
    
    .desktop-hidden.flex {
        display: flex !important;
    }
    
    .loader {
        width: 60px;
        height: 60px;
    }
    
    #navbar-mobile-div {
        background-color: #f8d7da;
    }
    
    #navbar-mobile-div .item a {
        color: black;
        font-size: 15px;
        text-decoration: none;
        width: 100%;
        height: 100%;
        vertical-align: middle;
    }
    
    #navbar-mobile-div .item img {
        margin-right: 5px;
    }
    
    #navbar-mobile-div .item {
        display: flex;
        align-items: center;
        padding: 10px;
        margin: 0;
        cursor: pointer;
        opacity: 1;
    }
    
    #navbar-mobile-div .item:hover {
        opacity: 0.6;
    }
    
    header h1 a {
        font-size: 18px;
    }
    
    header a,
    footer p, 
    footer a {
        font-size: 12px;
    }
    
    footer a {
        display: block;
    }
    
    footer p {
        margin: 0 0 5px 0;
    }
}