
body {
	font-family: verdana, Arial, sans-serif;
	margin: 0;
}
* {
  box-sizing: border-box;
}
header, footer {
	background-color: #40E0D0;
	background-image: url("background_image.png");
	background-repeat: no-repeat;
	padding-left: 15px;
	padding-right: 15px;
	color: black;
	margin-top: 10px;
	width: 100%;
}


header {
	margin-bottom: 20px;
	margin-top: 65px;
}

div.flex-footer {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
	max-width: 100%;
}

header::after {
	content: "";
	clear: both;
	display: table;
}
footer::after {
	content: "";
	clear: both;
	display: table;
}
.rows::after {
	content: "";
	clear: both;
	display: table;
}

.create-code {
	margin: auto;
	width: 54%;
	margin-bottom: 20px;
	border: 5px solid lightgrey;	
	padding: 0;
	border-radius: 10px;
}
.search_title {
	display: table;
	text-align: center;
	background-color: lightgrey;
	width: 100%;
	padding-top: 10px;
	padding-bottom: 15px;
}
div.search {
	margin: auto;
	width: 100%;
	padding: 15px;
}

input.search {
	padding:10px;
	font-size: 20px;
	width: 100%;
	margin-top: 10px;
	margin-bottom: 20px;
}

select.place_size {
	font-size: 20px;
	padding: 10px;
	margin-top: 10px;
	width: 70%
}

button.search {
	overflow: hidden;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 17px;
	font-weight: bold;
	text-transform: uppercase;
	width: 24%;
	margin-left: 5px;
	cursor:pointer;
}

div.locode {
	position: relative;
	text-align: center;
	width: 50%;
	margin: auto;
	margin-top: 15px;
	border: 5px solid grey;
	display: table;
	border-radius: 10px;
	background-color: midnightblue;
}

input.afrilocode{
	text-align: center;
	border: none;
	color: white;
	background-color: inherit;
	font-size: 24px;
	width: 90%;
}

input.lat_long {
	text-align: center;
	border: none;
	background-color: inherit;
	color: white;
	font-size: 14px;
	width: 90%;
	margin-bottom: 5px;
}

div.bigDotLeft {
	position: absolute;
	top: 44%;
	left:15px;
	border: 5px solid grey;
	border-radius: 50%;
}
div.bigDotRight {
	position: absolute;
	top: 44%;
	right:15px;
	border: 5px solid grey;
	border-radius: 50%;
}

div.QR {
	text-align: center;
	margin-top: 40px;
	width: 54%;
	margin: auto;
	margin-bottom: 20px;
}

button.QRcode {
	font-weight: bold;
	text-transform: uppercase;
	font-size: 17px;
	padding-top: 10px;
	padding-bottom: 10px;
	width: 38%;
}
button.showmap {
	font-size: 17px;
	font-weight: bold;
	margin-left: 2%;
	margin-right: 2%;
	text-transform: uppercase;
	padding-top: 10px;
	padding-bottom: 10px;
	width: 25%;
}
button.directions {
	font-size: 17px;
	text-transform: uppercase;
	font-weight: bold;
	padding-top: 10px;
	padding-bottom: 10px;
	width: 30%;
}

div.qrcode_image {
	display: none;
}

img.qrcode_image {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

div.midBanner {
	margin-left: auto; 
	margin-right: auto; 
	margin-bottom: 12px; 
	width: 54%;
}
div.intro {
	text-align: center;
	margin: auto;
	width: 100%;
    background-color: lightgrey;
	color: black;
	font-size: 20px;
	font-style: italic;
	border-radius: 10px;
}

div.flex-grid {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-content: space-between;
	margin: auto; 
	width: 55%;
}
div.flex-elt {
	width: 100%;
	height: auto; 
	background-color: white;
	color: black;
	font-size: 17px;
	font-style: italic;
	text-align: center;
	margin: 10px;
	border-radius: 10px;
}

img.cells {
	width: 100%; 
	height:auto;
	border-radius: 10px;
}

span.cercle {
	border: 2px solid black;
	padding: 0 3px;
	
}

footer a {
	font-weight: bold;
}

/* Fixed menu bar */
img.minilogo {
	max-width:50px; 
}
.navbar {
  background-color: #333;
  display: block;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.navbar div.logo{
  float: left;
  display: table-cell;
  margin: 8px 5px 5px 8px;
}
.navbar div.menu{
  float: right;
  color: #f2f2f2;
  margin: 10px 0px 0px 10px;
  text-align: center;
  text-decoration: none;
}

.navbar div.menu a{
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/*
.navbar div.menu a:hover {
  background: #ddd;
  color: black;
}
*/
.navbar::after {
	content: "";
	clear: both;
	display: block;
}

.appText {
	padding-top:245px; 
	padding-bottom:245px; 
	padding-left: 5px; 
	padding-right:5px;
	color: black;
}

/*
.appPhone {
	background-color: white; 
	color: black;
	border: 8px solid black; 
	border-radius: 10px;
}
*/
/* The device with borders */
.appPhone {
  position: relative;
  width: 360px;
  height: 673px;
  margin: auto;
  border: 8px black solid; 
  border-top-width: 50px;  
  border-bottom-width: 50px; 
  border-radius: 36px;
}

/* The horizontal line on the top of the device */
.appPhone:before {
  content: '';
  display: block;
  width: 60px;
  height: 5px;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #333;
  border-radius: 10px;
}

/* The circle on the bottom of the device */
.appPhone:after {
  content: '';
  display: block;
  width: 30px;
  height: 30px;
  position: absolute;
  left: 50%;
  bottom: -55px;
  transform: translate(-50%, -50%);
  background: #333;
  border-radius: 50%;
}
  
 div.flex-elt-desc {
	  padding: 20px;
  }
  img.flex-elt-image {
	  width: 100%;
  }

/* The screen (or content) of the device */
@media only screen and (max-width: 380px) {
	select.place_size {
		font-size: 16px;
	}
	button.search {
		font-size: 14px;
	}
  div.create-code {
    width: 96%;
  }
  div.QR {
	  width: 96%;
  }
  div.midBanner {
	  width: 96%;
  }
  div.flex-grid {
	  width: 99%;
  }
  
  div.locode {
	  width: 90%;
  }
  button.QRcode {
	  font-size: 10px;
  }
  button.showmap {
	  font-size: 10px;
  }
  button.directions {
	  font-size: 10px;
  }
  div.footer-logo {
	display: none;
  }
  .navbar div.logo{
  display: none;
}
  #flex-elt1 {
	  order: 1;
  }
  #flex-elt2 {
	  order: 2;
  }
  #flex-elt3 {
	  order: 4;
  }
  #flex-elt4 {
	  order: 3;
  }
  #flex-elt5 {
	  order: 5;
  }
  #flex-elt6 {
	  order: 6;
  }
  #flex-elt7 {
	  order: 8;
  }
  #flex-elt8 {
	  order: 7;
  }
  
  #flex-elt9 {
	  order: 9;
  }
  #flex-elt10 {
	  order: 10;
  }
  #flex-elt11 {
	  order: 12;
  }
  #flex-elt12 {
	  order: 11;
  }
  #flex-elt13 {
	  order: 13;
  }
  #flex-elt14 {
	  order: 14;
  }
}
 /* Extra small devices (phones, 600px and down) */
@media only screen and (min-width: 380px) {
	select.place_size {
		font-size: 20px;
	}
	button.search {
		font-size: 17px;
	}
  div.create-code {
    width: 96%;
  }
  div.QR {
	  width: 96%;
  }
  div.midBanner {
	  width: 96%;
  }
  div.flex-grid {
	  width: 99%;
  }
  
  div.locode {
	  width: 90%;
  }
  button.QRcode {
	  font-size: 12px;
  }
  button.showmap {
	  font-size: 12px;
  }
  button.directions {
	  font-size: 12px;
  }
  div.footer-logo {
	display: none;
  }
  #flex-elt1 {
	  order: 1;
  }
  #flex-elt2 {
	  order: 2;
  }
  #flex-elt3 {
	  order: 4;
  }
  #flex-elt4 {
	  order: 3;
  }
  #flex-elt5 {
	  order: 5;
  }
  #flex-elt6 {
	  order: 6;
  }
  #flex-elt7 {
	  order: 8;
  }
  #flex-elt8 {
	  order: 7;
  }
  
  #flex-elt9 {
	  order: 9;
  }
  #flex-elt10 {
	  order: 10;
  }
  #flex-elt11 {
	  order: 12;
  }
  #flex-elt12 {
	  order: 11;
  }
  #flex-elt13 {
	  order: 13;
  }
  #flex-elt14 {
	  order: 14;
  }
}
/* Extra small devices (phones, 600px and up) */
@media only screen and (min-width: 600px) {
	select.place_size {
		font-size: 20px;
	}
	button.search {
		font-size: 17px;
	}
  div.create-code {
    width: 90%;
  }
  div.QR {
	  width: 90%;
  }
  div.midBanner {
	  width: 90%;
  }
  div.flex-grid {
	  width: 92%;
  }
  
   div.locode {
	  width: 50%;
  }
  button.QRcode {
	  font-size: 17px;
  }
  button.showmap {
	  font-size: 17px;
  }
  button.directions {
	  font-size: 17px;
  }
 
  #flex-elt1 {
	  order: 1;
  }
  #flex-elt2 {
	  order: 2;
  }
  #flex-elt3 {
	  order: 4;
  }
  #flex-elt4 {
	  order: 3;
  }
  #flex-elt5 {
	  order: 5;
  }
  #flex-elt6 {
	  order: 6;
  }
  #flex-elt7 {
	  order: 8;
  }
  #flex-elt8 {
	  order: 7;
  }
  
  #flex-elt9 {
	  order: 9;
  }
  #flex-elt10 {
	  order: 10;
  }
  #flex-elt11 {
	  order: 12;
  }
  #flex-elt12 {
	  order: 11;
  }
  #flex-elt13 {
	  order: 13;
  }
  #flex-elt14 {
	  order: 14;
  }
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
	select.place_size {
		font-size: 20px;
	}
	button.search {
		font-size: 17px;
	}
  div.create-code {
    width: 76%;
  }
  div.QR {
	  width: 76%;
  }
  div.midBanner {
	  width: 76%;
  }
  div.flex-grid {
	  width: 78%;
  }
  div.flex-elt {
	  width: 100%;
  }
  div.locode {
	  width: 50%;
  }
  button.QRcode {
	  font-size: 17px;
  }
  button.showmap {
	  font-size: 17px;
  }
  button.directions {
	  font-size: 17px;
  }
  #flex-elt1 {
	  order: 1;
  }
  #flex-elt2 {
	  order: 2;
  }
  #flex-elt3 {
	  order: 4;
  }
  #flex-elt4 {
	  order: 3;
  }
  #flex-elt5 {
	  order: 5;
  }
  #flex-elt6 {
	  order: 6;
  }
  #flex-elt7 {
	  order: 8;
  }
  #flex-elt8 {
	  order: 7;
  }
  
  #flex-elt9 {
	  order: 9;
  }
  #flex-elt10 {
	  order: 10;
  }
  #flex-elt11 {
	  order: 12;
  }
  #flex-elt12 {
	  order: 11;
  }
  #flex-elt13 {
	  order: 13;
  }
  #flex-elt14 {
	  order: 14;
  }
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 1027px) {
	select.place_size {
		font-size: 20px;
	}
	button.search {
		font-size: 17px;
	}
  div.create-code {
    width: 97%;
  }
  div.QR {
	  width: 97%;
  }
  div.midBanner {
	  width: 97%;
  }
  div.flex-grid {
	  width: 99%;
  }
  div.flex-elt {
	  width: 48%;
  }
  div.locode {
	  width: 30%;
  }
  button.QRcode {
	  font-size: 17px;
  }
  button.showmap {
	  font-size: 17px;
  }
  button.directions {
	  font-size: 17px;
  }
  #flex-elt1 {
	  order: 1;
  }
  #flex-elt2 {
	  order: 2;
  }
  #flex-elt3 {
	  order: 3;
  }
  #flex-elt4 {
	  order: 4;
  }
  #flex-elt5 {
	  order: 5;
  }
  #flex-elt6 {
	  order: 6;
  }
  #flex-elt7 {
	  order: 7;
  }
  #flex-elt8 {
	  order: 8;
  }
  
  #flex-elt9 {
	  order: 9;
  }
  #flex-elt10 {
	  order: 10;
  }
  #flex-elt11 {
	  order: 11;
  }
  #flex-elt12 {
	  order: 12;
  }
  #flex-elt13 {
	  order: 13;
  }
  #flex-elt14 {
	  order: 14;
  }
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 1200px) {
	select.place_size {
		font-size: 20px;
	}
	button.search {
		font-size: 17px;
	}
  div.create-code {
    width: 90%;
  }
  div.QR {
	  width: 90%;
  }
  div.midBanner {
	  width: 90%;
  }
  div.flex-grid {
	  width: 92%;
  }
  div.flex-elt {
	  width: 48%;
  }
  div.locode {
	  width: 30%;
  }
  button.QRcode {
	  font-size: 17px;
  }
  button.showmap {
	  font-size: 17px;
  }
  button.directions {
	  font-size: 17px;
  }
  #flex-elt1 {
	  order: 1;
  }
  #flex-elt2 {
	  order: 2;
  }
  #flex-elt3 {
	  order: 3;
  }
  #flex-elt4 {
	  order: 4;
  }
  #flex-elt5 {
	  order: 5;
  }
  #flex-elt6 {
	  order: 6;
  }
  #flex-elt7 {
	  order: 7;
  }
  #flex-elt8 {
	  order: 8;
  }
  
  #flex-elt9 {
	  order: 9;
  }
  #flex-elt10 {
	  order: 10;
  }
  #flex-elt11 {
	  order: 11;
  }
  #flex-elt12 {
	  order: 12;
  }
  #flex-elt13 {
	  order: 13;
  }
  #flex-elt14 {
	  order: 14;
  }
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 1314px) {
	select.place_size {
		font-size: 20px;
	}
	button.search {
		font-size: 17px;
	}
  div.create-code {
    width: 76%;
  }
  div.QR {
	  width: 76%;
  }
  div.midBanner {
	  width: 76%;
  }
  div.flex-grid {
	  width: 77%;
  }
  div.flex-elt {
	  width: 48%;
  }
  div.locode {
	  width: 30%;
  }
  button.QRcode {
	  font-size: 17px;
  }
  button.showmap {
	  font-size: 17px;
  }
  button.directions {
	  font-size: 17px;
  }
  #flex-elt1 {
	  order: 1;
  }
  #flex-elt2 {
	  order: 2;
  }
  #flex-elt3 {
	  order: 3;
  }
  #flex-elt4 {
	  order: 4;
  }
  #flex-elt5 {
	  order: 5;
  }
  #flex-elt6 {
	  order: 6;
  }
  #flex-elt7 {
	  order: 7;
  }
  #flex-elt8 {
	  order: 8;
  }
  
  #flex-elt9 {
	  order: 9;
  }
  #flex-elt10 {
	  order: 10;
  }
  #flex-elt11 {
	  order: 11;
  }
  #flex-elt12 {
	  order: 12;
  }
  #flex-elt13 {
	  order: 13;
  }
  #flex-elt14 {
	  order: 14;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 1614px) {
	select.place_size {
		font-size: 20px;
	}
	button.search {
		font-size: 17px;
	}
  div.create-code {
    width: 64%;
  }
  div.QR {
	  width: 64%;
  }
  div.midBanner {
	  width: 64%;
  }
  div.flex-grid {
	  width: 65%;
  }
  div.flex-elt {
	  width: 48%;
  }
  div.locode {
	  width: 30%;
  }
  button.QRcode {
	  font-size: 17px;
  }
  button.showmap {
	  font-size: 17px;
  }
  button.directions {
	  font-size: 17px;
  }
  #flex-elt1 {
	  order: 1;
  }
  #flex-elt2 {
	  order: 2;
  }
  #flex-elt3 {
	  order: 3;
  }
  #flex-elt4 {
	  order: 4;
  }
  #flex-elt5 {
	  order: 5;
  }
  #flex-elt6 {
	  order: 6;
  }
  #flex-elt7 {
	  order: 7;
  }
  #flex-elt8 {
	  order: 8;
  }
  
  #flex-elt9 {
	  order: 9;
  }
  #flex-elt10 {
	  order: 10;
  }
  #flex-elt11 {
	  order: 11;
  }
  #flex-elt12 {
	  order: 12;
  }
  #flex-elt13 {
	  order: 13;
  }
  #flex-elt14 {
	  order: 14;
  }
}


/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1900px) {
	select.place_size {
		font-size: 20px;
	}
	button.search {
		font-size: 17px;
	}
  div.create-code {
    width: 64%;
  }
  div.QR {
	  width: 64%;
  }
  div.midBanner {
	  width: 64%;
  }
  div.flex-grid {
	  width: 65%;
  }
  div.flex-elt {
	  max-width: 48%;
  }
  div.locode {
	  width: 30%;
  }
  button.QRcode {
	  font-size: 17px;
  }
  button.showmap {
	  font-size: 17px;
  }
  button.directions {
	  font-size: 17px;
  }
  #flex-elt1 {
	  order: 1;
  }
  #flex-elt2 {
	  order: 2;
  }
  #flex-elt3 {
	  order: 3;
  }
  #flex-elt4 {
	  order: 4;
  }
  #flex-elt5 {
	  order: 5;
  }
  #flex-elt6 {
	  order: 6;
  }
  #flex-elt7 {
	  order: 7;
  }
  #flex-elt8 {
	  order: 8;
  }
  
  #flex-elt9 {
	  order: 9;
  }
  #flex-elt10 {
	  order: 10;
  }
  #flex-elt11 {
	  order: 11;
  }
  #flex-elt12 {
	  order: 12;
  }
  #flex-elt13 {
	  order: 13;
  }
  #flex-elt14 {
	  order: 14;
  }
} 
