/* Universal Classes */

	/* Add to Element to Hide */
	.hidden {
		display: none;
	}

    .sortbyme { /* This prevents Table Column that are used to sort the table do not have an underline below them */
        text-decoration: none;
    }

    .fineprint { /* Applied to any p element and makes it small */
        font-size: 0.5em;
    }

    .oi-small {
        font-size: 0.7em;
    }

/* End Universal Classes */

/* Boostrap Class Overloads */
    
    /* Additional Width Classes Using same Scheme */
    .w-1 {
        width: 1% !important;
    }
    .w-2 {
        width: 2% !important;
    }
    .w-3 {
        width: 3% !important;
    }
    .w-4 {
        width: 4% !important;
    }
    .w-5 {
        width: 5% !important;
    }
    .w-10 {
        width: 10% !important;
    }

    .w-15 {
        width: 15% !important;
    }

    .w-20 {
        width: 20% !important;
    }

	/* Override Navbar Brand Text */
	.navbar-brand {
		font-family: milkshake;
	}

	/* This section allows centering the Modals in the exact center of the windows */
	.modal-center {
	  text-align: center;
	  padding: 0!important;
	}

	.modal-center:before {
	  content: '';
	  display: inline-block;
	  height: 100%;
	  vertical-align: middle;
	  margin-right: -4px;
	}

	.modal-dialog-center {
	  display: inline-block;
	  text-align: left;
	  vertical-align: middle;
	}
	/* End This section allow centering the Modals in the exact center of the windows */

	/* Center the Div in the middle of the viewport (Used to Center Login Prompts) */
	.center-screen {
	  display: flex;
	  flex-direction: column;
	  justify-content: center;
	  align-items: center;
	  text-align: center;
	  min-height: 100vh;
	}
	/* End Center the Div in the middle of the viewport (Used to Center Login Prompts) */
	

	/* Used to apply a drop shadow, Used on Login Box */
	.ui-dropshadow {
		box-shadow: 0px 0px 20px #545b62;
	}

/* End Boostrap Class Overloads */

/*** Start Responsive Image Grid CSS ***/

/* Use to create a responsive image grid
	Example:
		<div class='responseive-image-grid'>
			<div class='row'>
				<div class='column'>
					<img src='#'>
				</div>
				<div class='column'>
					<img src='#'>
				</div>
			</div>
			<div class='row'>
				<div class='column'>
					<img src='#'>
				</div>
				<div class='column'>
					<img src='#'>
				</div>
			</div>
		</div>
*/
div.responsive-image-grid > .row {
	display: flex;
	flex-wrap: wrap;
	padding: 0 4px;
}

div.responsive-image-grid > .column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

div.responsive-image-grid > .column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  div.responsive-image-grid > .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  div.responsive-image-grid > .column {
    flex: 100%;
    max-width: 100%;
  }
}
/*** End Responsive Image Grid CSS ***/

/* Main Custom Display Classes */

	/* Paper Bag Background */
.paper-bg {
    background-image: url(/images/pizzabackgroundlow.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

/* Section Header Stylized Text */
.section-header {
    font-family: 'LemonDrop';
    position: relative;
    padding: 5px;
    margin: 0;
    color: #990000;
    float: left;
	box-shadow: 0px 0px 5px black;
    border: 1px solid #e78f08;
    background: #f6a828 url("images/ui-bg_gloss-wave_35_f6a828_500x100.png") 50% 50% repeat-x;
    font-weight: bold;
}

/* Applied to Each Letter container */
.lemondrop {
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
	color: #900;
}

/* Applied to every other letter container */
.lowerletter {
	margin-top: 7px;
}

/* Data Tables (Meal Deals etc) */
.datatable {
	box-shadow: 0px 0px 8px #000000;
	background-color: #ffffff;
}

/* Datatable Header Color (Yellow-Orange) */
.orange-bg {
	background-color: #f90 !important;
}

/* Datatable Border */
.datatable > table,thead,tbody,tr,th,td {
	border: 1px solid black;
}

/* Datatable Item Title Spacing */
.itemtitle {
	letter-spacing: 2px;	
}

/* 33% Width Class */
.w-33 {
	width: 33% !important;	
}

/* Grey Semi Transparent Background */
.greybox {
    background-color: rgba(0, 0, 0, 0.6);
}

/* Table Row BG color Alternate with Odd */
.even {
    background-color: #CCC;
}

/* Table Row BG color Alternate with Even */
.odd {
	background-color: #fff;
}

/* Where to Find Us Map */
div#map {
    width: 250px;
    height: 250px;
    box-shadow: 0px 0px 1px #000000;
	margin: auto !important;
}

.mirror-img {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

/* End Main Custom Display Classes */