body{
    font-size: 20px;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#roomcards >a{
    text-decoration: none;
}

#roomcards .room-card {
	border-style: solid;
	border-width: 2px;
	border-radius: 10px;
	padding: min(10px, 5vw);
	margin: clamp(5px, 2vw, 20px);
    transition: box-shadow .3s;

}

#roomcards .room-card > a {
    text-decoration: none;
	color: black;
}
#roomcards .room-card:hover{
    box-shadow: 0 0 11px rgba(33, 33, 33, 0.344); 

}
#roomcards .room-card .room-name{
    font-size: clamp(2rem, 5vw, 3rem) ;
}

#roomcards .room-card .room-type {
	font-size: clamp(1rem, 2.5vw, 2.5rem);
}

#roomcards .room-card.free-room {
	background-color: rgba(29, 249, 29, 0.15);
	border-color: rgba(41, 144, 41, 0.57);
}
#roomcards .room-card.occupied-room {
	background-color: rgba(249, 29, 29, 0.15);
	border-color: rgba(144, 41, 41, 0.57);
}

#roomcards .show-error {
	background-color: rgba(249, 29, 29, 0.15);
	border-color: rgba(144, 41, 41, 0.57);
    font-size: x-large;
    text-align: center;
    padding: min(2.5vw, 15px);
    margin: min(2.5vw, 15px);
    border-radius: 5px;
    border-width: 3px;
    border-style: solid;
}


.grid-container {
  display: grid;
  grid-template-areas:
  'navbar'
  'detail-view'
  'schedules'
  'map';
  background-color: white;
  gap: 10px;
}

@media (min-width: 600px) {
  #navbar {grid-area: 1 / span 2;}
  #detail-view {grid-area: 2 / span 1;}
  #schedules {grid-area: 2 / span 1;}
  #map {grid-area: 3 / span 2;}
}

@media (max-width: 600px) {
  #navbar {grid-area: 1 / span 2;}
  #detail-view {grid-area: 2 / span 2;}
  #schedules {grid-area: 3 / span 2;}
  #map {grid-area: 4 / span 2;}
}

#detail-view {
    font-size: medium;
	background: #449ab55e;
	width: 100%;
	margin: min(10px,1vw);
	border-radius: 10px;
	height: fit-content;
	width: auto;
	padding: 10px;
    border-color: #336F7BD6;
	border-width: 1px;
	border-style: solid;

}

#detail-view > table{
    margin: 10px;
    table-layout: fixed;
    border-spacing: min(10px, 1vw);
}
#detail-view > table > tbody > tr >td{
	margin-left: 5px;
}
#detail-view > table > tbody > tr{
	vertical-align: baseline;
}

#detail-view > table > tbody >tr::before{
    content: "";
    color: #336F7B;
    border: solid;
    border-width: 2px 2px 0 0;
    display: inline-block;
    height: 8px;
    width: 8px;
    transform: rotate(45deg);
    position: relative;
    left: -5px;
}

#univis {
	border-style: solid;
	border-width: 0 0 1px 0;
	border-color: #9D9D9D;
	width: fit-content;
}

.link{
    text-decoration: none;
    color: inherit;
    display: inline-block;
    color: black;
}

.link:hover{
    text-decoration: underline;
    text-decoration-color: black;
    color: black;
}

.white-button{
	border-radius: 3px;
	color: black;
	width: max-content;
	margin: 0 0 0 15px;
}

.white-button > svg{
    margin-left: 10px;
    margin-right: 10px;
    transition: fill 0.1s, transform 0.1s;
    fill: black;
}

.white-button:hover > svg{
    fill: #d64200;
    transform: translateX(7px) rotate(0.875turn) translateY(-5px) !important; 
}

#schedules{
    font-size: medium;
}

#schedules #schedules-form{
    width: 100%;
    display: flex;
    justify-content: center;
}


#schedules form {
	align-items: end;
	display: flex;
	justify-content: center;
	padding: 5px;
	border-radius: 10px;
	width: fit-content;
	background: #449ab55e;
    border-color: #336F7BD6;
	border-width: 1px;
	border-style: solid;
}
#schedules form .date-button {
	background-color: #336F7B4D;
	border-radius: 5px;
    border-style: none;
}


#schedules input{
    font: inherit !important;
    margin: 0 min(10px) 0 min(10px);
    padding: 5px;
}

#schedules #date-selector{
    text-align: center;
	background-color: #336F7B4D;
	border-radius: 5px;
    border-style: none;
}

#schedules > table {
    width: 100%;
    table-layout: fixed;
    border-spacing: min(10px, 1vw);


}
#schedules > table > tr{
    width: 100%;
}

#schedules td{
    
	border-radius: 10px;
	text-align: center;
    background: #449ab55e;	
    border-color: #336F7BD6;
	border-width: 1px;
	border-style: solid;
}

#schedules td.time-col  {
    width: 100px;
    font-weight: bold;
}

#schedules td.event-col {
	width: auto;
}

#navbar > ul {
	font-size: min(32px, 3.5vw);
    width: auto;
    margin: 0;
    padding: min(20px, 2vw);
    /* display: flex; */
    list-style-type: none;
    border-bottom-color: #336F7B;
    border-bottom-style: double;
    border-bottom-width: 3px;
    color: #336F7B;
    overflow: auto;
}

#navbar > ul > li {
	float: left;
    margin-right: 10px;

    display: flex;
    align-items: center;
	height: 52px !important;
	/* align-content: center; */
}

#navbar > ul >li > div {
    margin-top: auto;
    margin-bottom: auto;}

.toggle-icon {
    height: 32px;
    stroke-width: 2;
    stroke: #9D9D9D;
    transition: fill 0.1s, transform 0.1s;
}

.toggle-icon.active {
    stroke: black !important;
}

.toggle-icon:hover {
    cursor: pointer;
    stroke: #d64200 !important;
    transform: scale(1.2);
    
}
#pulse-circle.free {
    content: "";
    color: rgb(56, 153, 56);
    background-color: rgb(56, 153, 56);
}
#pulse-circle.occupied {
    content: "";
    color: rgb(232, 69, 69);
    background-color: rgb(232, 69, 69);
}

#pulse-circle {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

/* pulse animation layer */
#pulse-circle::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: inherit; /* same color */
    opacity: 0.6;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(2.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.navigator > a{
    text-decoration: none;
    color: #336F7B;
}
.navigator:hover > a{
    color: #d64200;
}

#search-input {
	height: 30px;
	font-size: 1rem;
	width: max(200px, 30vw);
	font-family: inherit;
	vertical-align: middle;
	border-radius: 5px;
	border-width: 1px;
	border-style: solid;
}

#filter-menu {
    margin: clamp(5px, 1.5vw ,10px);
}

.hidden {
    display: none;
}

.clickable {
    cursor: pointer !important;
    user-select: none;
}

.clickable:hover {
    cursor: pointer !important;
}