/*Loader*/
.allpage{
	position:absolute;
	display:table-cell;
	top:0;
	left:0;
    width:100%;
    height: auto;
	min-height:100%;
	background-color:rgba(0,0,0,0.7);
	text-align:center;
	vertical-align:middle;
	z-index:999999;
}
.loader{
	height: 10em;
    position: relative; 
}
.loader p {
    margin: 0;
    background: white;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}
section.ldr {
	background: black;
	color: white;
	border-radius: 1em;
	padding: 1em;
	position: absolute;
	font-size:36px;
	top: 50%;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%) 
}

/*Page*/
body {
    height:auto;
    min-height: 100%;
    padding-bottom: 30px;
}
div.mate {
    font-size: 14px;
    border-radius: 5px;
    padding: 3px;
    height: 180px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
}
.today {
	background: #dc354566 !important;
    border-radius: 5px;
}
.closed {
    background: #dc354625 !important;
    border: 3px solid #dc354566;
    border-radius: 5px;
}
.pastdate {
	background: #dc354510 !important;
    border-radius: 5px;
}
span.matename {
    font-size: 24px !important;
}
.mate span {
    word-wrap: none;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
}
.background {
	position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 0;
    z-index: -1;
    color: #dc354540;
    font-size: 200px;
    text-align: center;
    line-height: 130px;
    vertical-align: middle;
    padding-top: 25px;
}
.ui-datepicker{
    z-index: 1 !important;
}

.light-red{
	background-color: #dc354538;
}

.collapse{
	margin-bottom:0 !important;
}

/*Extra styling*/

.card-body-red {
    flex: 1 1 auto;
    padding: 1.25rem;
}
.btn-link-white {
    font-weight: 400;
    color: white;
    text-decoration: none;
}
.card {
    border: 1px solid #dc3545;
}


/* Mate listing styles */
.mate-selector {
    width: 100%;
    margin-bottom: 3px;
    margin-top: 2px;
    word-wrap: none;
    overflow: hidden;
    white-space: nowrap;
    padding-left: 3px;
}
.mate-checker {
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.mate-checker input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.mate-details-button {
    float: right;
    margin-right: 3px;
}
.fa-info-circle {
    font-size: 120%;
    line-height: 75%;
}
.mateimage {
    overflow: hidden;
    background-size: cover;
    background-position: center;
    height: 240px;
    width: 240px;
    border-radius: 120px;
}

/*Branch listing styles*/
.branch-selector {
    width: 100%;
    margin-bottom: 3px;
    margin-top: 2px;
    word-wrap: none;
    overflow: hidden;
    white-space: nowrap;
    padding-left: 3px;
}
.branch-checker {
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.branch-checker input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.branch-details-button {
    color: #007bff;
    float: right;
    margin-right: 3px;
}



/*Timetable selector styles*/
.time-selector {
    width: 100%;
    margin-bottom: 3px;
    margin-top: 2px;
    word-wrap: none;
    overflow: hidden;
    white-space: nowrap;
    padding-left: 3px;
}
.time-checker {
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.time-checker input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.sel-full {
    width:  100%;
}

/*Branch Modal*/

.branch-img {
    max-width: 100% !important;
}
.branch-details-button {
    margin-top: -26px;
    font-size: 40px;
}

/*RT stuff*/
.rt-branch{
    font-weight: bold;
    text-decoration: dashed;
}
.rt-closed, .rt-opens-later, .rt-party-later, .rt-party {
    min-height: 50px !important;
}
.rt-closing, .rt-unknown, .rt-empty, .rt-comfortable, .rt-normal, .rt-busy, .rt-full {
    min-height: 80px !important;
}
.rt-box {
    border-radius: 5px;
    display: inline-block;
    min-width: 140px;
    margin: 2px;
    padding: 2px;
    text-align: center;
}
.rt-box > span > span {
    font-size: 12px;
}
.rt-container {
    width: 100% !important;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    /*grid-template-rows: repeat(auto-fill, minmax(50px, 51px));*/
    grid-auto-rows: min-content;
    grid-gap: 2px;
    gap: 2px;
    line-height: 1.1 !important;
    max-height: 100% !important;
    overflow-y: hidden;
}
.rt-modal {
    margin: 0 !important;
    max-width: 100% !important;
}


.rt-nomate-noinfo {
    height: 50px !important;
    max-height: 50px !important;
    overflow-y: clip;
}
.rt-nomate-info {
    height: 70px !important;
    max-height: 70px !important;
    overflow-y: clip;
}
.rt-onemate-info {
    height: 90px !important;
    max-height: 90px !important;
    overflow-y: clip;
}
.rt-twomate-info {
    height: 110px !important;
    max-height: 110px !important;
    overflow-y: clip;
}
.rt-threemate-info {
    height: 130px !important;
    max-height: 130px !important;
    overflow-y: clip;
}
.rt-moremate-info {
    height: 130px !important;
    overflow-y: auto !important;
}

.rt-last-update {
    margin: 3px;
    padding-left: 5px;
}



/*Directions*/
.directions {
    text-decoration: none;
    color: black;
}
.directions-top {
    text-decoration: none;
    font-size: smaller;
    color: black;
}

/*Apple the s**t fixes*/
input[type="date"]
{
    display:block;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    min-height: 1.2em; 
}


/*EXTRAs*/
.test-corner {
    color: lightsteelblue;
}

.tbright{
    display: inline-block !important;
    position: absolute !important;
    right: 5px;
    width: 160px !important;
}