/* HTML component styles */

html {
	height: 100%;
}

body {
	height: 100%;
	font-size: 16px;		/* default font size, 16px = 1em */
	font-family: Tahoma, Geneva, sans-serif;
	position: relative;     /* for scrollspy */
}

h1, h2, h3 {
	display: block;
	font-family: Tahoma, Geneva, sans-serif;
}

h1 {
	margin-top: 0.5rem;
	color: #2eb135;
	font-size: 3em;
	font-weight: 900;
	text-align: center;
}

h2 {
	margin-top: 0.6rem;
	margin-bottom: 0.3rem;
	color: #ff4500;
	font-size: 2em;
	font-weight: 800;
	text-align: center;
}

h3 {
	color: #2eb135;
	font-size: 1.5em;
	font-weight: 700;
}

h4, td {
	font-family: Tahoma, Geneva, sans-serif;
	color: #2eb135;
}

td, th {
	border-bottom: 1px solid #2eb135;
}

q {
	quotes: "\00ab" "\00bb" "\2039" "\203a";
}

.navbar-logo {
	object-fit: cover;
	max-height: 10vh;
	background-color: #fefefe;
}

.center {
	text-align: center;
}

.page {
	padding-top: 8vh;		/* for fixed-top */
	min-height: 92vh;
}

.profilePicture {
	width: 240px;
	height: 320px;
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.border {
	border-style: solid;
	border-color: #ff4500;
	border-radius: 10px;
}

.button:hover {
	background-color: #2eb135;
	color: #fefefe;
}

div.shadow {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}


/* Opening times */

table.openingTimes {
	table-layout: auto;
	margin-left: 10%;
	margin-right: 10%;
	padding-top: 15%;
	padding-bottom: 15%;
	width: 80%;
	background-color: #fefefe;
}}

table.openingTimes tr:nth-child(even) {
	background-color: #f2f2f2;
}

table.openingTimes td {
	color: black;
}

.openingTimes .weekdays {
	font-size: 1.2em;
	font-weight: bold;
}

.openingTimes .foreign {
	font-size: 0.7em;
	font-weight: lighter;
}

.openingTimes .hours {
	text-align: right;
	font-weight: bold;
	font-size: 1.3em;
}

.openingTimes .closed {
	text-align: right;
}


/* Polaroid-like images */

.polaroid {
	background-color: white;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	text-align: center;
}

.polaroidImg {
	max-width: 100%;
	height: auto;
	max-height: 300px;
	object-fit: contain;
	margin: auto auto auto auto;
}

.polaroidText {
	text-align: center;
	padding: 10px 10px;
	font-size: 0.8em;
}


/* Contact information table */

table.contacts {
	width: 100%;
	word-wrap: break-word;
}

table.contacts tr {
	vertical-align: top;
}

table.contacts td.icon {
	text-align: center;
	padding-top: 0.5em;
}

table.contacts td.head {
	text-align: right;
	color: black;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

table.contacts td.data {
	text-align: left;
	padding-left: 1em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}


/* Offer styles */

.offerImg {
	width: 80%;
	max-width: 400px;
}	

.offerPrize {
	font-size: 1.3em;
	font-weight: 700;
}

.normPrize {
	font-size: 0.9em;
	font-weight: 200;
	font-style: italic;
}

.carousel-control-prev, .carousel-control-next {
    align-items: flex-start; /* Aligns it at the top */
}


/* Smaller navbar logo on small screens */

@media screen and (max-width: 768px) {
	.page {
		padding-top: 16vh;		/* for fixed-top */
		min-height: 86vh;
	}
}

@media screen and (max-width: 360px) {
	.navbar-logo {
		width: 121px;
		heigth: 37px;
		background-color: #fefefe;
	}
	.page {
		padding-top: 8vh;		/* for fixed-top */
		min-height: 93vh;
	}
}

@media screen and (max-width: 236px) {
	.navbar-logo {
		width: 80px;
		heigth: 24px;
		background-color: #fefefe;
	}
	.page {
		padding-top: 8vh;		/* for fixed-top */
		min-height: 93vh;
	}
}

@media screen and (max-width: 192px) {
	.navbar-logo {
		display: none;
	}
	.page {
		padding-top: 8vh;		/* for fixed-top */
		min-height: 93vh;
	}
}


/* Prevent flash of unstyled content (fouc) */

.no-js .top-bar {
  display: none;
}

@media screen and (min-width: 40em) {
  .no-js .top-bar {
    display: block;
  }
}

