/* 
=======================
MAIN
Arial
Calibri
*/
html *
{
   font-family: Arial !important;
}

* {
    box-sizing: border-box;
}

body {
    background-color: #f1f1f1;
}

/* Center website */
.main {
    max-width: 1000px;
    margin: auto;
}

h1 {
    font-size: 32px;
    word-break: break-all;
}

.row {
    margin: 8px -16px;
}

/* 
=======================
MAIN NAVIGATION ON EVERY PAGE
*/

.main-nav {
    background-color: #222;
	display: flex;
	padding: 5px
}

@media (max-width: 800px) {
	.main-nav {
		flex-direction: column;
	}
}

.main-nav a {
    color: white;
    padding: 5px 20px;
    text-decoration: none;
	width: 200px;
	font-size: 2vh;
	padding: 14px 40px 2px 4px;
}

.main-nav .nav-title {
	color: white;
	flex: 1;
	padding: 10px 30px;
	font-size: 3vh;
}

.main-nav a:hover {
    background: #27c40f;
}

.navimg {
	    padding: 4px 4px 4px 4px;
}

a.p-s:link{
    color: green;
    background-color: transparent;
    text-decoration: none;
}

li.dropdown {
	display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
    display: block;
}

/* 
=======================
MAIN HEADER ON EVERY PAGE
*/

.main-header {
	display: flex; 
	align-items: center;
	justify-content: center;
	background-position-x: center;
	background-position-y: center;
	background-size: cover;
    	height: 370px;
    	margin-bottom: 0px;
}

/*    height: 60vh; */

.main-title {
    font-size: 15vh;
    color: white;
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
	opacity: 1;
	transition-property: opacity;
	transition-duration: 0.5s;
}

/* 
=======================
MAIN HEADER VIDEO
*/

 /* Style the video: 100% width and height to cover the entire window */
 /* bottom: 100; above width..
    height:370px;

 */
#myVideo {
    position: relative;
    width:100%;
    min-width: 100%;
    height:370px;
    max-height: 370px;
    object-fit: cover;
}

.wrapper {
  width: 100%;
  min-width: 100%;
  height:370px;
  max-height: 370px;
  overflow: hidden;
}

/*
.overlay-desc {
  background: rgba(0,0,0,0);
  font-size: 15vh;
  color: white;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}*/

/* Add some content at the bottom of the video/page */
.content {
    position: relative;
    bottom: 100;
    color: #f1f1f1;
    width: 100%;
    padding: 20px;
}

/* Style the button used to pause/play the video */
#myBtn {
    width: 200px;
    font-size: 18px;
    padding: 10px;
    border: none;
    background: #000;
    color: #fff;
    cursor: pointer;
}

#myBtn:hover {
    background: #ddd;
    color: black;
} 

/* 
=======================
UNORDERED LIST - DISC
*/
ul.b {list-style-type: disc;}

/* 
=======================
IMAGE PANELS ON HOME PAGE
*/

.panels-container {
	display: flex;
    width: 100%;
	max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.panel {
	flex: 1;
    display: inline-block;
    background-color: white;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 1px 3px 3px rgba(0,0,0,0.2);
    margin: 5px;
}

@media (max-width: 500px) {
	.panels-container {
		flex-direction: column;
	}
}

.panel img {
    width: 100%;
}

.panel span {
    display: block;
    width: 200px;
    text-align:center;
    margin-top: 10px;
    margin-bottom: 10px;
}


/* 
=======================
MAIN CONTENT AREA ON ALL PAGES
*/

.main-content {
    width: 100%;
	max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
}

/* 
=======================
IMAGE HOVER
*/

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #008CBA;
}

.container:hover .overlay {
  opacity: 1;
}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

/*
=======================
PROTECT/SERVICE LIST
*/

/* Add padding BETWEEN each column */
.row,
.row > .column {
    padding: 10px;
}

/* Create four equal columns that floats next to each other */
.column {
    float: left;
    width: 25%;
}

.column2 {
    float: left;
    width: 20%;
}

/* Clear floats after rows */ 
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Content */
.content {
    background-color: #222;
    padding: 5px;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 900px) {
    .column {
        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) {
    .column {
        width: 100%;
    }
}

/* 
=======================
CONTACT PAGE COLOUMS
*/

.ad-left {
  float: left;
  padding: 10px;
}

.ad-right {
  float: left;
  margin-left: 10px;
  padding: 10px;
}

.entire-thing {
  width: 90%;
}

/*
=======================
MAP
*/

.mapouter{
	text-align:right;
	height:400px;
	width:500px;
}
.gmap_canvas {
	overflow:hidden;
	background:none!important;
	height:400px;
	width:500px;
}

/*
=======================
Front page
*/
/* Header/Blog Title */
.header {
    padding: 30px;
    text-align: center;
    background: white;
}

.header h1 {
    font-size: 50px;
}

/* Change color on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {   
    float: left;
    width: 75%;
}

/* Right column */
.rightcolumn {
    float: left;
    width: 25%;
    background-color: #f1f1f1;
    padding-left: 20px;
}

.P-leftcolumn {   
    float: left;
    width: 100%;
}

/* Fake image */
.fakeimg {
    background-color: #aaa;
    width: 100%;
    padding: 20px;
}

/* Add a card effect for articles */
.card {
    background-color: white;
    padding: 20px;
    margin-top: 20px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
    .leftcolumn, .rightcolumn {   
        width: 100%;
        padding: 0;
    }
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
    .topnav a {
        float: none;
        width: 100%;
    }
}

/*
=======================
Contact us page
*/

/* Style inputs */
input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

input[type=button] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
}

input[type=button]:hover {
    background-color: #45a049;
}

input[type=submit] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
}

input[type=submit]:hover {
    background-color: #45a049;
}

/* Style the container/contact section */
.container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 10px;
}

/* Create two columns that float next to eachother */
.column {
    float: left;
    width: 50%;
    margin-top: 6px;
    padding: 20px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column, input[type=submit] {
        width: 100%;
        margin-top: 0;
    }
}

/* Fixed Footer on all pages
 
 TODO FIXME - these margins are just not right yet.
    background-color: #27c40f;

 */
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    margin-left: 8px;
    margin-right: 8px;
    background-color: green;
    color: white;
    text-align: center;
}

.footerlinks a {
    color: white;
}

.footerlinks a:link {
    text-decoration: none;
}

.footerlinks a:visited {
    text-decoration: none;
}

.footerlinks a:hover {
    text-decoration: underline;
    color: black;
}

.footerlinks a:active {
    text-decoration: underline;
}
.footertext {
    font-size: 1.5vh;
}

