﻿/* FONTS 


font-family: 'Bebas Neue', cursive;
font-family: 'Poiret One', cursive;
font-family: 'Titillium Web', sans-serif;
*/


p {
	/*font-family:  'Open Sans', sans-serif;*/
	font-family: 'PT Sans', sans-serif;
	color: #000000;
	font-size: large;
}

h1 {
	/*font-family: 'Poiret One', cursive;*/
	font-family: 'PT Sans', sans-serif;
	font-size: xx-large;
	color: #8E9871;
	/*color: #000000;*/

}
h2 {
	/*font-family: 'Poiret One', cursive;*/
	font-family: 'PT Sans', sans-serif;
	font-size: xx-large;
	color: #8E9871;
	/*color: #000000;*/
}

h3 {
	/*font-family: 'Poiret One', cursive;*/
	font-family: 'PT Sans', sans-serif;
	font-size: 2em;
	color: #000000;
	color: #8E9871;
	/*color: #000000;*/

}


.fancy {
	font-family: 'Titillium Web', sans-serif;
}


/* JUMP MENU */

.dropbtn {
  background-color: #0098A7;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  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;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #000000;}


/* FINISH JUMP MENU */


/***************** START NAVIGATION ***************/

body {

  font-size:18px;
  line-height: 32px;
  color: #000000;
  margin: 0;
  padding: 0;
  /*font-family: 'Open Sans', sans-serif;*/
  font-family: 'PT Sans', sans-serif;
  }
  
  
  .toggle,
  [id^=drop] {
  display: none;
  }
  
  /* Giving a background-color to the nav container. */
  nav { 
  margin-left:0;
  padding: 0;
  /*background-color: #669900;*/
  }
  
  nav:after {
  content:"";
  display:table;
  clear:both;
  }
  
  /* Removing padding, margin and "list-style" from the "ul",
  * and adding "position:reltive" */
  nav ul {
  float: left;
  padding:0;
  margin:0;
  list-style: none;
  position: relative;
  
  }
  
  /* Positioning the navigation items inline */
  nav ul li {
  margin: 0;
  display:inline-block;
  float:left;
  /*background-color: #2298A8;*/
  background-color: #8E9871;
  }
  
  /* Styling the links */
  nav a {
  display:block;
  padding:14px 20px;	
  color:#ffffff;
  font-size:15px;
  text-decoration:none;
  }
  
  
  nav ul li ul li:hover {
  background: #FFFFFF;
  }
  
  /* Background color change on Hover */
  nav a:hover { 
  background-color: #FFFFFF; 
  color:#000000;
  }
  
  /* Hide Dropdowns by Default
  * and giving it a position of absolute */
  nav ul ul {
  display: none;
  position: absolute; 
  /* has to be the same number as the "line-height" of "nav a" */
  top: 60px; 
  z-index: 2000;
  }
  
  /* Display Dropdowns on Hover */
  nav ul li:hover > ul {
  display:inherit;
  }
  
  /* Fisrt Tier Dropdown */
  nav ul ul li {
  width:200px;
  float:none;
  display:list-item;
  position: relative;
  }
  
  /* Second, Third and more Tiers	
  * We move the 2nd and 3rd etc tier dropdowns to the left
  * by the amount of the width of the first tier.
  */
  nav ul ul ul li {
  position: relative;
  top:-60px;
  /* has to be the same number as the "width" of "nav ul ul li" */ 
  left:170px; 
  }
  
  
  /* Change ' +' in order to change the Dropdown symbol */
  li > a:after { content:  ' +'; }
  li > a:only-child:after { content: ''; }
  
  
  /* Nav Queries
  --------------------------------------------- */
  
  @media all and (max-width : 768px) {
  
  #logo {
    display: block;
    padding: 0;
    width: 100%;
    text-align: center;
    float: none;
  }
  
  nav {
    margin: 0;
  }
  
  /* Hide the navigation menu by default */
  /* Also hide the  */
  .toggle + a,
  .menu {
    display: none;
  }
  
  /* Stylinf the toggle lable */
  .toggle {
    display: block;
    /*background-color: #3798A7;*/
    background-color: #8E9871;
    padding:14px 20px;	
    color:#FFFFFF;
    font-size:14px;
    text-decoration:none;
    border:none;
  }
  
  .toggle:hover {
    background-color: #71795A;
  }
  
  /* Display Dropdown when clicked on Parent Lable */
  [id^=drop]:checked + ul {
    display: block;
  }
  
  /* Change menu item's width to 100% */
  nav ul li {
    display: block;
    width: 100%;
    }
  
  nav ul ul .toggle,
  nav ul ul a {
    padding: 0 40px;
  }
  
  nav ul ul ul a {
    padding: 0 80px;
  }
  
  nav a:hover,
   nav ul ul ul a {
    background-color: #FFFFFF;
  }
  
  nav ul li ul li .toggle,
  nav ul ul a,
  nav ul ul ul a{
    padding:14px 20px;	
    color:#000000;
    font-size:14px; 
  }
  
  
  nav ul li ul li .toggle,
  nav ul ul a {
    background-color: #ffffff; 
  }
  
  /* Hide Dropdowns by Default */
  nav ul ul {
    float: none;
    position:static;
    color: #000000;
    /* has to be the same number as the "line-height" of "nav a" */
  }
    
  /* Hide menus on hover */
  nav ul ul li:hover > ul,
  nav ul li:hover > ul {
    display: none;
  }
    
  /* Fisrt Tier Dropdown */
  nav ul ul li {
    display: block;
    width: 100%;
  }
  
  nav ul ul ul li {
    position: static;
    /* has to be the same number as the "width" of "nav ul ul li" */ 
  
  }
  
  }
  
  @media all and (max-width : 330px) {
  
  nav ul li {
    display:block;
    width: 94%;
  }
  
  }
/****************** FINISH NAVIGATION STYLES **********************/


/* Button Styles */
.button {
	/*background-color: #438FBB;*/
	background-color: #8E9871;
	border: none;
	color: white;
	padding: 16px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin: 10px 2px 4px 2px;
	-webkit-transition-duration: 0.4s;
	transition-duration: 0.4s;
	cursor: pointer;
	width: 100%;
}

.button1 {
    /*background-color: #2298A8;*/ 
    background-color: #8E9871;
    color: white; 
}
.button1:hover {
    background-color: #000000;
    color: white;
}

/*<a href="#" class="button button1">Link Button</a>*/


/* font awsome icons */

.fa {
  padding: 0px;
  font-size: 40px;
  width: 30px;
  text-align: center;
  text-decoration: none;
  margin: 0px 2px;
  color:#8E9871;
  /*color:#2298A8;*/
}

.fa:hover {
    opacity: 0.8;
    color: #000000;
    transition: .6s ease;
}


/* Hover images home page */

.container {
  position: relative;
  width: 100%;
}

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.container:hover .image {
  opacity: 0.5;
}

.container:hover .middle {
  opacity: 1;
}

.text {
  color: black;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index:300;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  width:70%;
}


/******************* SCROLL BACK UP CODE link page *******************/

.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: #8E9871 url("../../images/cd-top-arrow.svg") no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.no-touch .cd-top:hover {
  background-color: #e86256;
  opacity: 1;
}
@media only screen and (min-width: 768px) {
  .cd-top {
    right: 20px;
    bottom: 20px;
  }
}
@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 60px;
    width: 60px;
    right: 30px;
    bottom: 30px;
  }
}



/* ************************ALL MEDIA QUERIES FOR FUNCTIONS ***************************************/

@media screen and (max-width: 1280px) {
h2 {
	/*font-family: 'Poiret One', cursive;*/
	font-family: 'PT Sans', sans-serif;
	font-size: medium;
	color: #8E9871;
	/*color: #000000;*/

}
h2 {
	/*font-family: 'Poiret One', cursive;*/
	font-family: 'PT Sans', sans-serif;
	font-size:large;
	color: #8E9871;
	/*color: #000000;*/
}


}


/* MOBILE MEDIA QUERIES 1024 */

@media screen and (max-width: 1024px) {
h2 {
	/*font-family: 'Poiret One', cursive;*/
	font-family: 'PT Sans', sans-serif;
	font-size: medium;
	color: #8E9871;
	/*color: #000000;*/
}


}


/* MOBILE MEDIA QUERIES Nexus 7 Android landscape */

@media screen and (max-width: 966px) {



}


/* MOBILE MEDIA QUERIES iPad portrait */

@media screen and (max-width: 768px) {
/* text for boxes */
.text {
  color: black;
  font-size: 13px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index:300;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

h2 {
	/*font-family: 'Poiret One', cursive;*/
	font-family: 'PT Sans', sans-serif;
	font-size: x-large;
	color: #8E9871;
	/*color: #000000;*/
	margin:0;
	padding:0;
}

}


/* MOBILE MEDIA QUERIES Nexus 7 Android portrait / Galaxy Tab */

@media screen and (max-width: 604px) {

h2 {
	/*font-family: 'Poiret One', cursive;*/
	font-family: 'PT Sans', sans-serif;
	font-size: x-large;
	color: #8E9871;
	/*color: #000000;*/
	margin:0;
	padding:0;
}

.text {
  color: black;
  font-size: 13px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index:300;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

}


/* MOBILE MEDIA QUERIES Mobile iPhone 6plus */

@media screen and (max-width: 428px) {

h2 {
	/*font-family: 'Poiret One', cursive;*/
	font-family: 'PT Sans', sans-serif;
	font-size: x-large;
	color: #8E9871;
	/*color: #000000;*/

}
/* text for boxes */
.text {
  color: black;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index:300;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

}



/* MOBILE MEDIA QUERIES Mobile iPhone 6 */

@media screen and (max-width: 375px) {



}



/* MOBILE MEDIA QUERIES Mobile Anroid */

@media screen and (max-width: 360px) {


}


/* MOBILE MEDIA QUERIES Mobile Lumia */

@media screen and (max-width: 320px) {


}

