
/* the element padding and border are included in the width and height */
* {
    box-sizing: border-box;
}   
   
body {
   font-family: "Lato", sans-serif;
//   padding: 0px 20px 0px 20px;

   /* Display whole website at a maximum width */
   max-width: 1200px;
   margin: 0 auto;

   /* background of whole page */
//   background: #ccc url(../content/background.png) repeat; 
//  background-image: url("../content/beach.jpg");
  background:#e3f0e7 url(../content/bg-body.gif) repeat-x;

/*   background: #f1f1f1; */

/* Sky and ocean background */
/*    background:url(../content/bg-body.jpg) repeat-x center top #09154F;*/
/*    background:#e3f0e7 url(content/bg-body.gif) repeat-x; */
}

/* Style the header, 2 section - logo & name & ad, menu */
header {
    height: 75px;
    overflow: hidden;
    background: #ffffff; 
    width: 100%;
}
header .logo {
   float:left;
   position: relative;
   left:2px;
   top: 6px;
   height:60px;
   text-align: left;
   background:url(../content/logo.png) no-repeat 0 0;
}
header .logo a{
  text-decoration: none;
}
header .logo h1 {
   float:left;
   position: relative;
   margin-left: 6px;
   left: 8px;
   top: 8px;
   font-size:30px;
   height:32px;
   color:#c3c3c3;
   font-weight:normal;
   font-style:italic;
   letter-spacing:-1px;
}
header .logo h1 strong {
   color:black;
}
header .logo h1 region {
   color:green;
}
header .lf {
   float:left;
   width: auto;
}
header .rf {
   float:right;
   width: auto;
}

.header-right {
  float: right;
  padding: 30px 5px 0px 0px;
}
.header-right ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    top: 0;
    width: 100%;
}
.header-right li {
    float: left;
}
.header-right li a {
    display: block;
    color: black;
    font-size:15px; 
    text-align: center;
    padding: 4px 12px; /* height of the nav bar & spacing between menu items */
    text-decoration: none;
}
.header-right li a:hover:not(.active) {
  background-color: dodgerblue; 
}
.header-right a {
  float: left;
  color: black;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  font-size: 18px; 
  line-height: 25px;
  border-radius: 4px;
}
.header-right a.active {
  background-color: dodgerblue;
  color: white;
}
.header-right .active {
  background-color: dodgerblue; 
}




/* The navbar container */
nav {
    overflow: hidden;
    background-color: #333;
}
/* Navbar links */
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
//    background-color: #333; 
    background-color: black; 
    top: 0;
    width: 100%;
}
nav li {
    float: left;
}
nav li a {
    display: block;
    color: white;
    font-size:15px; 
    text-align: center;
    padding: 8px 14px; /* height of the nav bar & spacing between menu items */
    text-decoration: none;
}
nav li a:hover:not(.active) {
    background-color: #111; 
}
nav .active {
    background-color: #4CAF50; 
}


.bg-img {
  background-image: url("../content/beach.jpg");  /* The image used */
  min-height: 600px; /* Control the height of the image */
  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
/* Create three unequal columns that floats next to each other */
.column {
    float: left;
}
/* Left column */
.column.left {
    width: 23%;
    background-color: #f1f1f1; /* Colour between all columns */
    padding: 5px 10px 10px 3px;  /* space right of the column */

}
/* Middle column */
.column.middle {
    width: 50%;
    background-color: #f1f1f1; /* Colour between all columns */
    padding: 5px 0px 10px 0;  /* space right of the column */
}
/* Right column */
.column.right {
    width: 27%;
    background-color: #f1f1f1; /* Colour between all columns */
    padding: 5px 0px 10px 10px;  /* space left of the column */
}


/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}
/* To fix parent collapsing */
.clearfix:after {
    content: "";
    display: block;
    height: 10px;
    clear: both;
    visibility: hidden;
}
/* Add a card effect for all content */
.card {
    background-color: white;
    padding: 8px;
    margin: 0 0 0px 0; /* Space below each card */
}
.card h2, h3{
   color: #274F75;
}
.adcard {
    background-color: white;
    padding: 8px;
    margin: 0 0px 0px 0; /* Space below each card */

}
/* Fake image */
.fakeimg {
    background-color: #aaa;
    width: 100%;
    padding: 10px;
    margin: 5px 5px 0 0;
}
.centerimg {
   display: block;
   margin-left: auto;
   margin-right: auto;
   width: 100%;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column.left, .column.right, .column.middle {
        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%;
    }
}
/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 10px;}
}

/* Formatting search box */
.country-box{
        position: relative;
	font-weight: normal;
        display: inline-block;
	margin: 0px 2px 0 0px;
        font-size: 13px;
}
.country-box select {
    width: 200px;
    height: 28px;
    padding: 3px 6px 3px 0px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius:8px; 
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    box-sizing: border-box;
}
/* Formatting search box */
.state-box{
        position: relative;
	font-weight: normal;
        display: inline-block;
	margin: 0px 2px 5px 0px;
        font-size: 13px;
}
.state-box select {
    width: 200px;
    height: 28px;
    padding: 3px 6px 3px 6px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius:8px; 
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    box-sizing: border-box;
}

/* Formatting search box */
.search-box{
        position: relative;
	font-weight: normal;
        display: inline-block;
	margin: 0px 2px 0 0px;
        font-size: 13px;
}

.search-box input[type="text"]{
        height: 28px;
        padding: 3px 6px;
        border: 1px solid #CCCCCC;
        font-size: 13px;
}
.search-box input[type="text"], .result{
        width: 100%;
        box-sizing: border-box;
}

/* Formatting the result */
.result{
        position: absolute;
        z-index: 999;
        top: 100%;
        left: 0;
}
.result p{
        margin: 0 0 0 5px;
        padding: 7px 10px;
        border: 2px solid #CCCCCC;
        border-top: none;
        cursor: pointer;
	background: #f2f2f2;
	font-size: 13px;
}
.result p:hover{
        font-weight: bold;
}

.formcontrol {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 5px 40px 10px 40px;
    width: 400px;
    font-size: 13px;
}
.formcontrol input[type=text], input[type=email] {
    width: 100%;
    padding: 5px 20px 5px 10px;
    margin: 5px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.formcontrol input[type=text]:focus, input[type=email]:focus {
    border: 1px solid #555;
}
.formcontrol input[type=password] {
    width: 100%;
    padding: 5px 20px 5px 10px;
    margin: 5px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.formcontrol input[type=password]:focus {
    border: 1px solid #555;
}
.formcontrol select {
    width: 100%;
    padding: 5px 20px 5px 10px;
    margin: 5px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.formcontrol select:focus {
    border: 1px solid #555;
}
.formcontrol textarea {
    width: 100%;
    padding: 5px 20px 5px 10px;
    margin: 5px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
    font: 14px sans-serif;
}
.formcontrol textarea:focus {
    border: 1px solid #555;
}
.formcontrol input[type=submit] {
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    padding: 10px 20px 10px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.formcontrol input[type=submit]:hover {
    background-color: #45a049;
}
.formcontrol input[type=reset] {
    width: 25%;
    background-color: #4f4f4f;
    color: white;
    font-size: 16px;
    padding: 10px 20px 10px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.formcontrol input[type=reset]:hover {
    background-color: #4f4f4f;
}
/* Green button */
.btn-green {
    background-color: green; /* Green button */
//    background-color: #4CAF50; /* Green button */
    color: white;
    font-size: 16px;
    padding: 3px 15px 3px 15px;;
    margin: 8px 0;
    border: none;
    border-radius:4px; 
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    cursor: pointer;
    text-decoration:none;
    opacity:0.8;
}
/* Mouse over the view button to change color */
.btn-green:hover {
    opacity:1.0;
}
.btn-green-med {
    background-color: green; /* Green button */
//    background-color: #4CAF50; /* Green button */
    color: white;
    font-size: 16px;
    padding: 6px 15px 6px 15px;;
    margin: 8px 0;
    border: none;
    border-radius:4px; 
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    cursor: pointer;
    text-decoration:none;
    opacity:0.8;
}
/* Mouse over the view button to change color */
.btn-green-med:hover {
    opacity:1;
}
.btn-green-big {
    background-color: green; /* Green button */
//    background-color: #4CAF50; /* Green button */
    color: white;
    font-size: 16px;
    padding: 10px 15px 10px 15px;;
    margin: 8px 0;
    border: none;
    border-radius:4px; 
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    cursor: pointer;
    text-decoration:none;
    opacity:0.8;
}
/* Mouse over the view button to change color */
.btn-green-big:hover {
    opacity:1;
}
/* Blue button */
.btn-blue {
    background-color: #3d94f6; /* Blue button */
    color: white;
    font-size: 16px;
    padding: 3px 15px 3px 15px;;
    margin: 8px 0;
    border: none;
    border-radius:4px; 
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    cursor: pointer;
    text-decoration:none;
    opacity:0.9;
}
/* Mouse over the view button to change color */
.btn-blue:hover {
    opacity:1.0;
}
.btn-blue-big {
    background-color: #3d94f6; /* Blue button */
   color: white;
    font-size: 16px;
    padding: 10px 15px 10px 15px;;
    margin: 8px 0;
    border: none;
    border-radius:4px; 
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    cursor: pointer;
    text-decoration:none;
    opacity:0.8;
}
/* Mouse over the view button to change color */
.btn-blue-big:hover {
    opacity:1;
}

/* Yellow button */
.btn-yellow {
    background-color: #ffaa22; /* Yellow button */
    color: white;
    font-size: 16px;
    padding: 3px 15px 3px 15px;;
    margin: 8px 0;
    border: none;
    border-radius:4px; 
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    cursor: pointer;
    text-decoration:none;
    opacity:0.9;
}
/* Mouse over the view button to change color */
.btn-yellow:hover {
    opacity:1.0;
}
.btn-grey-big {
    background-color: grey; /* Grey button */
    color: white;
    font-size: 16px;
    padding: 10px 15px 10px 15px;;
    margin: 8px 0;
    border: none;
    border-radius:4px; 
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    cursor: pointer;
    text-decoration:none;
    opacity:0.9;
}
/* Mouse over the view button to change color */
.btn-grey-big:hover {
    opacity:1;
}

/* Red button */
.btn-red {
    background-color: #d42400; /* Red button */
    color: white;
    font-size: 16px;
    padding: 3px 15px 3px 15px;;
    margin: 8px 0;
    border: none;
    border-radius:4px; 
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    cursor: pointer;
    text-decoration:none;
    opacity:0.9;
}
/* Mouse over the view button to change color */
.btn-red:hover {
    opacity:1;
}
/* Red button */
.btn-red-big {
    background-color: #d42400; /* Red button */
    color: white;
    font-size: 16px;
    padding: 10px 15px 10px 15px;;
    margin: 8px 0;
    border: none;
    border-radius:4px; 
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    cursor: pointer;
    text-decoration:none;
    opacity:0.9;
}
/* Mouse over the view button to change color */
.btn-red-big:hover {
    opacity:1;
}
/* Red button */
.btn-crimson-big {
    background-color: crimson; /* Crimson button */
    color: white;
    font-size: 16px;
    padding: 10px 15px 10px 15px;;
    margin: 8px 0;
    border: none;
    border-radius:4px; 
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    cursor: pointer;
    text-decoration:none;
    opacity:0.9;
}
/* Mouse over the view button to change color */
.btn-crimson-big:hover {
    opacity:1;
}
/* Navy button */
.btn-navy-big {
    background-color: navy; /* Navy button */
    color: white;
    font-size: 16px;
    padding: 10px 15px 10px 15px;;
    margin: 8px 0;
    border: none;
    border-radius:4px; 
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    cursor: pointer;
    text-decoration:none;
    opacity:0.9;
}
/* Mouse over the view button to change color */
.btn-navy-big:hover {
    opacity:1;
}
.input-help {
    color: red;
    font-size: 13px;
}
/* The search criteria sidebar */
.sidenav {
    width: 100%; 
/*    padding: 5px 10px 5px 0px; */
    z-index: 1;
    overflow:auto;
//    background-color: #eee;
    background-color: #f1f1f1;  
    overflow-x: hidden;
}
.sidenav label {
    padding: 3px 5px 0px 5px;
    margin: 1px 2px 0 3px;
    text-decoration: none;
    font-size: 13px;
    font-weight: normal;
    color: black;
    display: block;

}
.sidenav labela {
    padding: 3px 2px 0px 5px;
    margin: 1px 2px 0 2px;
    text-decoration: none;
    font-size: 13px;
    font-weight: normal;
    color: black;
    display: inline-block;
    width: 100px;
}
.sidenav h4 {
    padding: 3px 5px 0px 5px;
    margin: 1px 2px 0 3px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    color: black;
    display: block;
}
.sidenav select {
    padding: 2px 2px 2px 2px;
    margin: 5px 2px 0 2px;
    text-decoration: none;
    font-size: 13px;
    font-weight: normal;
    color: black;
    display: inline-block;
}
.sidenav input[type=radio] {
    float:left;
    font-size: 13px;
    font-weight: normal;
    margin: 3px 8px 0 2px;
}
.sidenav input[type=checkbox] {
    float:left;
    font-size: 13px;
    font-weight: normal;
    padding: 6px 6px;
    margin: 8px 6px 0 12px;
}
.sidenav input[type=text] {
    display: inline-block;
    margin: 0px 2px 0 6px;     
    padding: 5px 20px 5px 10px;
    border: 1px solid #CCCCCC;
    font-size: 13px;
    width: 45%;
}
.sidenav input[type=text], select {
    border: 1px solid #ccc;
    border-radius:8px; 
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
}
/* Search button    */
.sidenav input[type=submit] {
    font-size: 18px;
    font-weight: normal;
    padding: 3px 15px 3px 15px;
    margin: 8px 2px 6px 8px;
    background-color:#d42400;
    color:#fff;
    border: 1px solid #ccc;
    border-radius:6px; 
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
}

/* Mouse over the search button to change color */
.sidenav input[type=submit]:hover {
    background:#4f4f4f;
    cursor:pointer;
}


@-webkit-keyframes fadeout {
  from {bottom: 300px; opacity: 1;} 
  to {bottom: 0; opacity: 0;}
}
@keyframes fadeout {
  from {bottom: 300px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}


/* Style the footer */
footer {
    overflow: hidden;
    width: 100%;
/*    background-color: #333; */
    background-color: #274F75;
    padding:20px 0;

}
footer .footerlink {
    position:relative;
    padding:0 10px 0 10px;
}
.footerlink p {
    margin:0;
    padding:0;
    font-size: 13px;
    line-height:normal;
    white-space:nowrap;
    text-indent:inherit;
/*    color:#777;*/
    color:white;
}
.footerlink a {
/*   color:#777; */
   color:white;
   font-weight:normal;
   margin:0; padding:0;
   border:none;
   text-decoration:none;
   background-color:transparent;
}
.footerlink a:hover {
/*   color:#777; */
   color:white;
   background-color:transparent;
   text-decoration:underline;
}
.footerlink .lf {float:left;}
.footerlink .rf {float:right;    font-size: 14px;}

/* Create four equal columns that floats next to each other */
.footercolumn {
  float: left;
  width: 22%;
  font-size: 13px;
  line-height:normal;
  padding: 0px;
  margin: 0 5px 0 20px;
  color: white;
}
.footercolumn a {
   color:white;
   text-decoration:none;

}
.footercolumn a:hover {
   color:white;
   text-decoration:underline;
}
