/* Theme vars */
:root {
    --main-color: #1565c0;
    --dark-color: #003c8f;
}

/* general */
.is-h-full {
    height: 100%;
}

section.section.is-fullheight-with-navbar{
    min-height: calc(100vh - 5rem);
}

/* Footer Styling */
.footer {
    background-color: transparent;
    border-top: 4px solid var(--main-color);
}

/* Modal style */

div.modal .ty-modal-footer {
    padding-top: 2rem;
}

/* Logbook with Columns */

.ty-logbook-header {
    border-bottom: 1px solid lightgray;
}

div.columns.ty-logbook div.column.is-full .columns{
    cursor: pointer;
    border-bottom: 1px solid lightgray;
}

div.columns.ty-logbook div.column.is-full .columns:hover {
    background-color: rgba(0,0,0,0.02);
}

div.columns.ty-logbook .column a {
    color: black;
}

div.columns.ty-logbook .column a .columns .column span.icon{
    visibility: hidden;
}

div.columns.ty-logbook .column:hover > a .columns .column span.icon{
    visibility: visible;
}


/* Button styling */

.button {
    transition: all 0.3s ease-in-out;
}

/* Navbar User Syling */
div.navbar-item.ty-user p {
    padding: 10px;
}

a.navbar-item {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* IMG crop center square */

figure.image.is-96x96 img {
    height: 96px;
    object-fit:cover;
}

figure.image.is-64x64 img {
    height: 64px;
    object-fit:cover;
}

figure.image.is-48x48 img {
    height: 48px;
    object-fit:cover;
}

/* IMG Overlay */

div.is-overlay.is-img-overlay:hover {
    background-color: rgba(0,0,0,0.4);
    opacity: 1;
}

div.is-overlay.is-img-overlay {
    height: 100%;
    width: 100%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 0;
    color: rgba(255,255,255,0.9);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
div.is-overlay.is-img-overlay.is-rounded {
    border-radius: 290486px;
}

div.is-overlay.is-img-overlay span.icon {
    height: 100%;
    width: 100%;
}

/*Form styling */

.input, .textarea {
    transition: border-color 0.3s ease-in-out;
}

.ty-control input[type="text"], .ty-control input[type="date"], .ty-control input[type="datetime-local"], .ty-control input[type="password"], .ty-control .select select {
    height: 3rem;
    width: 100%;
}

.ty-control .textarea {
    height: 5rem;
    width: 100%;
}
.ty-control .textarea.ty-big {
    height: 20rem;
    width: 100%;
}

.ty-control div.select, div.select select {
    width: 100%;
}

.ty-control .select:not(.is-multiple):not(.is-loading)::after {
    margin-top: -0.2rem;
}

.control.has-icons-left.ty-control .icon, .control.has-icons-right.ty-control .icon {
    height: 3rem;
}

.ty-control input[type="text"], .ty-control input[type="date"], .ty-control input[type="datetime-local"], .ty-control input[type="password"], .ty-control .select select, .ty-control .textarea {
    border-width: 2px;
}


.ty-control input[type="checkbox"].is-large + label:before {
    height: 3rem;
    width: 3rem;
}

.ty-control input[type="checkbox"].is-large + label:after {
    width: 0.875rem;
    height: 1.4rem;
    top: 0.6075rem;
    left: 1.1rem;
}

#logger .label {
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 15px;
}


/* Dashboard */

.ty-dash-card {
    padding: 1rem;
}

.ty-dash-card h1 {
    font-size: 3rem;
}

.ty-dash-card p {
    font-size: 1rem;
}

@media only screen and (max-width: 768px) {
    .section {
        padding: 1rem;
    }

    .ty-dash-card {
        padding: 1rem;
    }
    .ty-dash-card h1 {
        font-size: 2rem;
    }
    .ty-dash-card p {
        font-size: 1rem;
    }
}

/* Unsopportet Browser */

div.unsupported-browser {
    background-color: red;
    color: white;
    font-size: 100px;
}

/* Map Styling */
#qsomap {
    font-family: 'Open Sans';
    font-weight: 400;
    width: 100%;
}

#qsomap .ty_grid4_label, #qsomap .ty_grid2_label {
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--dark-color);
    font-size: 1rem;
    font-weight: 400;
}

#qsomap.ty-map-sat .ty_grid4_label, #qsomap.ty-map-sat .ty_grid2_label {
    color: white;
}


.ty_grid4_label.ty_grid_us {
    color: #c56000;
}

.ty_grid4_label.ty_grid_empty, .ty_grid2_label.ty_grid_empty {
    color: #2c3e50;
}

/* Table styling */
table.table {
    width: 100%;
}

/* Buy me a Coffee Button */
a.bmc-btn:hover {
    color: white;
    background-color: var(--dark-color) !important;
}