html {
    height: 100%;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.25rem;
    padding: 30px;
    width: 100%;
    height: 100%;
    color: #000000;
    background-color: #ffffff;
    position: relative;
}

.gb-logo {
    position: absolute;
    width: 50px;
    height: 72px;
    background-image: url('/assets/images/gb-logo-sm.png');
    background-repeat: no-repeat;
    top: 30px;
    left: 30px;
}

@media (max-width: 767px) {
    .gb-logo {
        width: 40px;
        height: 58px;
        top: 15px;
        left: 15px;
        background-size: contain;
    }
}

h1 {
    font-size: 2.25rem;
    font-weight: normal;
    margin: 0px auto 30px auto;
}

label {
    font-size: 1.25rem;
    font-weight: bold;
}

.wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.content {
    width: 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .content {
        width: 400px;
    }
}

.login-details,
.search-details,
.asset-details,
.customer-details {
    width: 90%;
    text-align: left;
    margin: 0 auto;
}

input,
select,
textarea {
    font-size: 1.25rem;
}

input[type='text'],
input[type='password'],
select {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 5px;
    padding: 5px;
}

input[type='text']:has(+ * + .asset-details-error),
input[type='password']:has(+ * + .asset-details-error),
select:has(+ * + .asset-details-error),
input[type='text']:has(+ * + .customer-details-error),
input[type='password']:has(+ * + .customer-details-error),
select:has(+ * + .customer-details-error) {
    margin-bottom: 5px;
}


input[type='text']:last-child,
input[type='password']:last-child,
select:last-child {
    margin-bottom: 0px;
}

input[type='submit'] {
    width: 70%;
    text-align: center;
    border-radius: 5px;
    font-size: 1.25rem !important;
}

.login-error,
.search-error,
.asset-details-error,
.customer-details-error {
    color: #ff0000;
    font-weight: bold;
    font-size: 1rem;
}

.login-error a,
.search-error a,
.asset-details-error a,
.customer-details-error a {
    color: #ff0000;
    text-decoration: underline;
}

.login-error a:hover,
.search-error a:hover,
.asset-details-error a:hover,
.customer-details-error a:hover {
    text-decoration: none!important;
}

.login-error.hidden + input[type='button'],
.login-error.hidden + input[type='submit'],
.login-details + input[type='submit'],
.search-details + input[type='button'],
.search-details + input[type='submit'],
.search-error.hidden + input[type='button'],
.search-error.hidden + input[type='submit'],
.asset-details + input[type='button'],
.asset-details + input[type='submit'],
.customer-details + input[type='button'],
.customer-details + input[type='submit']  {
    margin-top: 1rem;
}

.search-submit-wrapper {
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    height: 40px;
    overflow: hidden;
}

.search-spinner {
    width: 64px;
    height: 64px;
    background-image: url('/assets/images/spinner-black-bg-1.gif');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.hidden {
    display: none;
}

#map {
    /*float: left;*/
    display: block;
    width: 100%;
    min-height: 400px;
    max-height: 100%;
    height: 100%;			
}

p.refresh {
    font-size: 1rem;
}

@media (max-width: 767px) {
    #map {
        min-height: 250px;
    }
}

.map-infowindow {
    display:block;
    min-width:150px;
    width:auto;
    height:auto;
    color:#000000;
    font-size:13px!important;
    font-weight:bold;
}

.red {
    color: #ff0000;
}

.green {
    color: #00ff00;
}

.small {
    font-size: 1rem;
}

.bootbox-body {
    color: #000000;
}
