/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}


/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}



/* ==========================================================================
   JAMES CSS
============================================================================= */


.section-full {
	width: 100%;
	float:left;
}

.centred {
	text-align: center;
}

.section-left-underlay {
	z-index:3;
	width: 50%;
	float: left;
}

.section-left-underlay img {
	width: 100%;
}

.section-right-overlay {
	z-index:4;
	background: #007E00;
	color: #fff;
	width: 50%;
	padding: 20px;
	float: left;
	box-shadow: -10px 15px 20px 0 rgba(0,0,0,.3);
	margin: 70px 0 0 -5%;
	border-radius: 15px;
}


.content.overlay-span {
	padding: 70px 0;
}


.hero{
	padding:120px 20px;
	text-align:center;
	background:#111;
	color:white;
}



.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.parallax{
	position:relative;
	overflow:hidden;
	height: 650px;
	width: 100%;
	padding: 150px 0 150px 0;
}

.parallax-img{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:120%;
	object-fit:cover;
	transform:translateY(0);
}


.parallax-content {
	position:relative;
	z-index:2;
	padding-top:100px;
	width:	80%;
	background: rgba(255,255,255,0.7);
	margin: 0 auto;
  	padding: 20px;
  	border-radius: 15px;
}


.caption {
	position:relative;
	z-index:2;
	color:white;
	text-align:center;
	padding-top:200px;
	text-shadow:0 3px 10px rgba(0,0,0,0.6);
}



.footer {
  height: auto;
  background: #007E00;
  text-align: center;
  padding: 30px 0;
}

.footer a {
  text-decoration: navajowhite;
  color: #fff;
  font-size: 14px;
}


.footer p {
	font-size: 12px;
	color: #fff;
}


.faq-list {
    max-width: 800px;
    margin: 0 auto;
}



/* ACCORDION Core styles/functionality */

:root {
  	--primary: #227093;
  	--secondary: #007e00;
  	--background: #eee;
  	--highlight: #ffda79;
  	/* Theme color */
  	--theme: var(--primary);
	--white: #f9f9f9;
    --black: #36383F;
    --gray: #85888C;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.tab {
  position: relative;
  border-bottom: 1px solid #fff;
}

.tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.tab__content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s;
  background: #fff;
}

.tab input:checked ~ .tab__content {
  max-height: 20rem;
}

/* Visual styles */
.accordion {
  color: var(--theme);
  border: 2px solid;
  border-radius: 0.5rem;
  overflow: hidden;
}

.tab__label,
.tab__close {
  display: flex;
  color: white;
  background: var(--theme);
  cursor: pointer;
}

.tab__label {
  justify-content: space-between;
  padding: 1rem;
  font-family: arial, sans-serif;
}

.tab__label::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  transform: rotate(90deg);
  transition: all 0.35s;
}

.tab input:checked + .tab__label::after {
  transform: rotate(270deg);
}

.tab__content p {
  margin: 0;
  padding: 1rem;
}

.tab__close {
  justify-content: flex-end;
  padding: 0.7rem 1rem;
  font-size: 0.75rem;
  font-family: arial;
  font-weight: bold;
}


.accordion--radio {
  --theme: var(--secondary);
}

/* Arrow animation */


.tab input:not(:checked) + .tab__label:hover::after {
  animation: bounce .5s infinite;
}

@keyframes bounce {
  25% {
    transform: rotate(90deg) translate(.25rem);
  }
  75% {
    transform: rotate(90deg) translate(-.25rem);
  }
}

.seamless-leaf {
	background-image: url("../images/cannabis-seamless-3.webp");
	background-repeat: repeat; 
	background-color: #f0f0f0; 
	background-size: 200px 200px;
	background-attachment: fixed;
}

.image-margin-1 {
	margin-top: 60px;
}





/* Responsive Rules */
@media (max-width: 768px) {
  
	.hamburger {
		display: block;
		  transition: all 0.35s;
	}

	.menu {
		position: absolute;
    	top: 50px;
    	left: 0;
    	right: 0;
    	background-color: #fff;
    	flex-direction: column;
    	padding: 10px 18px 10px 0;
		z-index: 999;  transition: all 0.35s;
  	}
  
	.menu li {
  		margin: 10px 0;
	}

	.menu li a {
    	line-height: 40px;
    	padding: 10px 20px;
	}

	#toggle:checked + .logo + .hamburger + .menu {
    	display: flex;
	}

}



/* ==========================================================================
   MEDIA QUERIES - RESPONSIVE
============================================================================= */






