﻿/*
body {
    padding-top: 50px;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

input,
select,
textarea {
    max-width: 280px;
}

.modal-content {
    width: 800px !important;
    margin: 30px auto !important;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 40px;
  background-color: #f5f5f5;
}

.table-fixed thead {
  width: 97%;
}
.table-fixed tbody {
  height: 400px;
  overflow-y: auto;
  width: 100%;
}
.table-fixed thead, .table-fixed tbody, .table-fixed tr, .table-fixed td, .table-fixed th {
  display: block;
}
.table-fixed tbody td, .table-fixed thead > tr> th {
  float: left;
  border-bottom-width: 0;
}

.wrapper-div {
    border: solid red 5px;
    overflow: scroll;
    height: 400px;
}

h1 {
    background-color: deepSkyBlue;
    padding-left:5px;
    padding-right:5px;
    padding-top: 15px;
    padding-bottom:15px;
}

h2 {
    background-color:orange;
    padding-left:5px;
    padding-right:5px;
    padding-top: 15px;
    padding-bottom:15px;
}

h4 {
    background-color:darkturquoise;
    padding-left:5px;
    padding-right:5px;
    padding-top: 5px;
    padding-bottom:5px;
}

*/
.modal-content {
    width: 1200px !important;
    margin: 30px auto !important;
}

input[type=number] {
    text-align: right;
}

.panel-footer{
    padding: 5px 2px;
}

.pager{
    margin: 5px 0px;
}

.form-control{
    height:30px;
    padding: 3px 6px;
}

.form-group{
    margin-bottom:0px;
}

.panel{
    margin-bottom:5px;
}

.indexPannelBody{
    height:500px;
}

#desktopNextLink {
    height: 30px;
    padding: 3px;
    border-radius: 5px
}

#desktopPreviousLink {
    height: 30px;
    padding: 3px;
    border-radius: 5px
}

.tableFixHead {
    overflow: auto;
    height: 100px;
}

    .tableFixHead thead th {
        position: sticky;
        top: 0;
        z-index: 1;
    }
    .tableFixHead tbody th {
        position: sticky;
        left: 0;
    }

/* Just common table stuff. Really. */
table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    padding: 8px 16px;
}

th {
    background: #eee;
}

.bookingBtn {
    padding-left:0px;
    padding-right:0px; 
    margin-left:0px; 
    margin-right:0px; 
    width:100%;
}

.resizableDiv {
    resize: both;
    overflow: auto;
    width: 100%;
    height: 500px;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}

.resizableDivHeight {
    resize: vertical;
    overflow: auto;
    width: 100%;
    height: 500px;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}

.blinking-button {
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*Loading Screen*/
body {
    margin: 0;
    padding: 0;
}

.loading-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    z-index: 9999;
}

.loader {
    border: 6px solid #3498db;
    border-radius: 50%;
    border-top: 6px solid #f3f3f3;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hide the content while loading */
#mainContent {
    /*display: none;*/
}

.panel-primary > .panel-heading {
    color: #fff;
    background-color: #dd4b39 !important;
    border-color: #dd4b39 !important;
}

/* Hide the default checkbox */
.container input[type="checkbox"] {
    width: 30px;
    height: 30px;
    margin: 0px;
}

.image-container {
    position: relative;
    display: inline-block;
    width: 100%;
    /*max-width: 600px;*/ /* Adjust as needed */
}

    .image-container img {
        width: 100%;
        height: auto;
    }

    .image-container .overlay-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        /*font-size: 24px;*/
        text-align: center;
        background-color: rgba(0, 0, 0, 0.05);
        padding: 10px 20px;
        border-radius: 5px;
    }