/*
Theme Name: Little Oaks Theme
Author: Zenos Technology
Author URI: http://zenos.co.uk/
Description: A theme by Zenos Technology
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, white, light, one-column, two-columns, left-sidebar, fluid-layout, responsive-layout, custom-menu, featured-images
*/


/* Main width/padding start */

.row {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.no-max {
  max-width: 100%;
}

.content-container {
  margin: 0 auto;
  padding: 0 15px;
  width: 1170px;
}

.content-block {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

@media (max-width: 1200px) {
.content-container {
    width: 970px;
}
}

@media (max-width: 1000px) {
.content-container {
    width: 750px;
}
}

@media (max-width: 780px) {
.content-container {
    width: 100%;
}
}
/* Main width/padding end */


/* Columns Start */

.columns {
  margin: 0;
  padding: 0;
}

.column {
  width: 100%;
  float: left;
}

.column-primary {
  width: 68%;
  float: left;
}

.column-secondary {
  width: 28%;
  float: right;
}

.column-sixth {
  width: 16.666%;
}

.column-fifth {
  width: 20%;
}

.column-third {
  width: 33.333%;
}

.column-twothird {
  width: 66.666%;
}

.column-half {
  width: 50%;
}

/* Columns End */


/* Colours Start */

/*

Red: #cf2f3e;
Green: #30cf66;
Blue: #2f89cf;
Orange: #ff9000;
Light Grey: #e1e1e1;
Mid Grey: #363636;
Dark Grey: #2d2d2d;

*/

/* Colours End */

/* Typography Start */

@font-face {
  font-family: 'QuicksandRegular';
  src: url('/wp-content/themes/littleoaks-theme/fonts/QuicksandRegular.eot');
  src: url('/wp-content/themes/littleoaks-theme/fonts/QuicksandRegular.eot') format('embedded-opentype'),
    url('/wp-content/themes/littleoaks-theme/fonts/QuicksandRegular.woff2') format('woff2'),
    url('/wp-content/themes/littleoaks-theme/fonts/QuicksandRegular.woff') format('woff'),
    url('/wp-content/themes/littleoaks-theme/fonts/QuicksandRegular.ttf') format('truetype'),
    url('/wp-content/themes/littleoaks-theme/fonts/QuicksandRegular.svg#QuicksandRegular') format('svg');
}

@font-face {
  font-family: 'QuicksandBold';
  src: url('/wp-content/themes/littleoaks-theme/fonts/QuicksandBold.eot');
  src: url('/wp-content/themes/littleoaks-theme/fonts/QuicksandBold.eot') format('embedded-opentype'),
    url('/wp-content/themes/littleoaks-theme/fonts/QuicksandBold.woff2') format('woff2'),
    url('/wp-content/themes/littleoaks-theme/fonts/QuicksandBold.woff') format('woff'),
    url('/wp-content/themes/littleoaks-theme/fonts/QuicksandBold.ttf') format('truetype'),
    url('/wp-content/themes/littleoaks-theme/fonts/QuicksandBold.svg#QuicksandBold') format('svg');
}

h1, h2, h3, h4, h5, h6, p, a, span, input, label, div, ul, ol, li {
	font-family: 'QuicksandRegular', Arial, Helvetica, sans-serif;
	font-weight: normal;
	margin:0px;
	padding:0px;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-o-font-smoothing: antialiased;
	text-decoration: none;
	letter-spacing: 0;
	color: #2d2d2d;
}

h1, h2, h3, h4, h5, h6 {
	text-align: center;
  font-family: 'QuicksandBold', Arial, Helvetica, sans-serif;
}

h1 {
	font-size: 40px;
	line-height: 50px;
  margin-bottom: 30px;
	color: #2f89cf;
}

h2 {
	font-size: 30px;
	line-height: 35px;
	color: #2f89cf;
	margin-bottom: 30px;
}

h3 {
	font-size: 25px;
	line-height: 28px;
	color: #2d2d2d;
	margin-bottom: 20px;
}

h4 {
	font-size: 25px;
	line-height: 28px;
	color: #2d2d2d;
	margin-bottom: 15px;
  text-align: left;
}

h5 {
	font-size: 18px;
	line-height: 20px;
	text-align: left;
	margin-bottom: 10px;
}

h6 {
	font-size: 16px;
	line-height: 18px;
	text-align: left;
}

p {
	font-size: 16px;
	line-height: 25px;
  text-align: left;
  display: block;
  max-width: 800px;
  margin: 0 auto 20px;
}

p.large {
	display: block;
	font-size: 20px;
	line-height: 30px;
	text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

ul, ol {
  list-style-position: outside;
}

.primary ul, ol {
  margin-bottom: 30px;
  margin-left: 16px;
}

.primary ul, ol li {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 10px;
}

/* Typography End */

/* Buttons/Links Start */

a {
	-webkit-transition: 0.2s all linear;
	-o-transition: 0.2s all linear;
	transition: 0.2s all linear;
}

.button, .wpcf7-submit, .wp-block-button__link {
	display: block;
	margin: 35px auto 0;
	width: 100%;
	max-width: 220px;
	padding: 0 20px;
	height: 50px;
	line-height: 50px;
	background-color: #30cf66;
	border-radius: 5px;

	font-family: 'QuicksandBold', Arial, Helvetica, sans-serif;
	font-size: 18px;
	color: #ffffff;
}

.button:hover, .wpcf7-submit:hover, .button:focus, .wpcf7-submit:focus, .wp-block-button__link:hover, .wp-block-button__link:focus {
	background-color: #23ad52;
  color: #ffffff;
}

.text-link {
  display: block;
  float: left;
  text-align: left;
  font-size: 18px;
  line-height: 20px;
	color: #30cf66;
	text-decoration: none;
  margin-top: 20px;
}

.text-link:hover, .text-link:focus {
	color: #00964c;
}

/* Buttons/Links End */

/* Logo + Nav Start */

header .custom-logo {
  float: left;
  margin: 0;
  width: 200px;
}

header {
  background: transparent;
  position: relative;
  top: 0;
  z-index: 99999;
  padding: 10px 0;
  border-bottom: 5px solid #2f89cf;
}

nav {
  display: block;
  margin-top: 50px;
  float: right;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

nav ul {
  list-style: none;
  margin: 0px 0;
  padding: 0;
}

ul.main-nav {
  display: block !important;
}

nav li {
  display: inline-block;
  float: left;
  text-align: right;
  position: relative;
}

nav li a {
  font-family: 'QuicksandBold', Arial, Helvetica, sans-serif;
  text-decoration: none;
  color: #2d2d2d;
  font-size: 20px;
  padding: 5px 0px 65px 30px;
  width: 100%;
  position: relative;
}

nav li a:hover {
  color: #cf2f3e;
}

nav ul li ul {
  width: 170px;
  position: absolute;
  top: 87px;
  left: 25px !important;
  margin: 0 !important;
  z-index: 999;
  background-color: #ffffff;
  -webkit-box-shadow: 0 0 10px 1px rgba(0,0,0,0.1);
  box-shadow: 0 0 10px 1px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

nav ul li ul li a, nav ul li ul li ul li a {
  padding: 10px 20px;
  width: 100%;
  font-size: 16px;
  text-align: left;
  display: block;
}

nav ul li ul li, nav ul li ul li ul li {
  border-bottom: 1px solid #cccccc;
  width: 100%;
}

nav li:hover>ul {
  opacity: 1;
  visibility: visible;
  left: auto;
  display: block!important;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

nav ul li ul li ul, nav ul li ul li:hover>ul {
  left: 180px;
  top: 0;
}

/* Logo + Nav End */

/* Pages Start */

.sidebar-right .primary {
  float: left;
  width: 65%;
}

.sidebar-right .secondary {
  float: right;
  width: 25%;
}

.sidebar-right .content-container {
  margin: 70px auto;
}

.sidebar-right h1, .sidebar-right h2, .sidebar-right h3  {
  text-align: left;
}

.sidebar-right .menu {
  margin-top: 25px;
}

.sidebar-right .menu li {
  list-style: none;
}

.sidebar-right .menu li a {
  display: block;
  width: 100%;
  background-color: #5ce189;
  color: #2d2d2d;
  padding: 10px 20px;
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
  border-bottom: 1px solid #ffffff;
  font-family: 'QuicksandBold', sans-serif;
}
.sidebar-right .menu li a:hover, .sidebar-right .menu .current-menu-item a {
  background: #30cf66;
  color: #ffffff;
}

.sidebar-right figure {
  margin: 20px 0;
}

.sidebar-right table {
  width: 100%;
  max-width: 300px;
}

.sidebar-right table td {
  padding: 8px 0;
}

.sidebar-right hr {
  margin: 40px 0;
}
/* Pages End */

/* Homepage Start */

.homepage .homepage-header {
  padding: 0 20px;
}

.homepage .wp-block-cover, .homepage .wp-block-cover-image {
  margin-bottom: 0;
}

.homepage .homepage-header .wp-block-cover__inner-container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
}

.homepage .homepage-header h1 {
  position: absolute;
  bottom: 0;
  background-color: #ffffff;
  width: 100%;
  color: #2f89cf;
  max-width: 1170px;
  padding: 30px 20px;
  margin-bottom: 0;
  border-radius: 20px 20px 0px 0px;
}

.homepage .homepage-intro {
  padding-top: 0 !important;
}

.homepage p {
  text-align: center;
}

.homepage h2 {
  margin-bottom: 50px;
}

.homepage .our-nurseries {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 20px;
}

.homepage .our-nurseries .wp-block-column {
  background-color: #30cf66;
  padding: 40px 20px;
  border-radius: 20px;
}

.homepage .our-nurseries .wp-block-column h4, .homepage .our-nurseries .wp-block-column p {
  color: #ffffff;
}

.homepage .our-nurseries .wp-block-column p {
  font-size: 18px;
  line-height: 30px;
}

.homepage .our-nurseries .wp-block-button {
  margin-bottom: 0;
}

.homepage .our-nurseries .wp-block-button__link {
  background-color: #ffffff;
  color: #30cf66;
}

/* Homepage End */


/* Footer Start */

footer {
  position: relative;
  bottom: 0;
  background-color: #e1e1e1;
  text-align: center;
  width: 100%;
}

footer p {
  width: 100%;
  text-align: center;
  margin: 20px auto;
}

/* Footer End */


/* Responsive Styles Start */

@media (max-width: 780px) {


}

@media (max-width: 650px) {
  .column-third {
    width: 50%;
  }
}

@media (max-width: 570px) {

  .column-third {
    width: 100%;
  }

}

/* Responsive Styles End */
