/**
 * This file should get overwritten if Method 1 is used. If Method 2 is chosen,
 * remove this comment and start adding your styles to this file.
 */

/* Effects */
a,
img,
input[type="submit"],
input[type="reset"],
.zest-search-form .btn,
ul.main-menu li.home-link a {
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  -ms-transition: background 0.3s ease-in-out;
  -o-transition: background 0.3s ease-in-out;
  transition: background 0.3s ease-in-out;
  -webkit-transition: color 0.3s ease-in-out;
  -moz-transition: color 0.3s ease-in-out;
  -ms-transition: color 0.3s ease-in-out;
  -o-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}

/* General */
body {
  font-family: calibri, sans-serif, helvetica, arial;
  font-size: 16px;  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,faf5b0+100 */
  background: #ffffff; /* Old browsers */

  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: -moz-linear-gradient(top, #ffffff 0%, #faf5b0 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #ffffff 0%, #faf5b0 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #ffffff 0%, #faf5b0 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#faf5b0', GradientType=0); /* IE6-8 */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: calibri, sans-serif, helvetica, arial;
  font-weight: 700;
}

h1 {
  font-size: 40px;
  line-height: 44px;
  color: #1a55a4;
}

h2 {
  font-size: 28px;
  color: #000;
  line-height: 110%;
  margin: 0.2em 0 0.4em;
  border-bottom: solid 2px #65A2DD;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

h3 {
  font-size: 22px;
  color: #6DB83A;
  line-height: 100%;
  margin: 1em 0 0.4em;
}

h4 {
  font-size: 18px;
  line-height: 20px;
  color: #1a55a4;
}

.element-to-hide {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
}

td img {
  max-width: none;
}

/* Layout */
.no-sidebars .main-container {
  background: #fff url(../images/weave.png) 100% 0 no-repeat;
  padding-top: 30px;
  padding-bottom: 30px;
}

.one-sidebar .main-container {
  background: #8CD058;
  padding: 0;
}

.one-sidebar .main-container > .col-sm-9 {
  background: #fff url(../images/weave.png) 100% 0 no-repeat;
  padding-top: 30px;
  padding-bottom: 30px;
}

.one-sidebar .main-container > .col-sm-3 {
  padding-top: 30px;
  padding-bottom: 30px;
}

/* Header */
.navbar-default {
  background: none;
  border: 0;
}

.header-outer {
  background: #fff;
}

.header-inner {
  margin: 0 auto;
  padding: 20px;
  background: #fff url(../images/topbanner.png) 100% 0 no-repeat;
}

.navbar-collapse {
  padding: 0;
}

/* CHANGE FOR THE HEADER, UNCOMMENT TO GO BACK*/

/*

COPY OF THE OLD VIEW GLOBAL TEXT SETUP BELLOW IF THIS CHANGE NEEDS TO BE REVERTED BACK TO THE INITIAL SETUP

<div class="poupou-header row">
<div class="left-section col-sm-9">
<div class="poupou-header-left">
<div class="poupou-header-left-logo"><a href="/">[field_left_logo]</a></div>
</div>
<div class="poupou-header-center">
<div class="poupou-header-center-title">[field_site_title]</div>
<div class="element-to-hide">[field_title_color]</div>
<div class="poupou-header-center-sub-title">[field_site_sub_title]</div>
</div>
</div>
<div class="right-section col-sm-3">
<div class="poupou-header-right-contact-us">[field_domain_contact_detail]</div>
<div class="poupou-header-right-logo">[field_right_logo]</div>
</div>
</div>
*/

.poupou-header-left,
.poupou-header-center {
  display: inline-block;
  vertical-align: middle;
  margin-right: 2%;/*  width: 14%;*/
}

.poupou-header-left img {
  max-width: 100%;
  height: auto;
}

.poupou-header-center {
  font-family: "Times New Roman", Times, serif;
  font-size: 90%;
  width: 83%;
  margin-right: 0;
}

.poupou-header-center-title {
  font-size: 270%;
  line-height: 100%;
  margin-bottom: 10px;
}

.poupou-header-center-sub-title {
  margin-top: -5px;
}

.right-section {
  text-align: center;
}

.poupou-header-right-logo img {
  max-height: 50px;
  width: auto;
}

.poupou-header-right-contact-us {
  margin-bottom: 10px;
}

/* Top Menu */
.highlighted .block-zest-custom-menus {
  float: left;
}

.highlighted-outer {
  background: #8cd058;
}

.highlighted {
  background: #6db83a;
}

ul.main-menu {
  padding: 0 20px;
  margin: 0;
}

ul.main-menu li {
  list-style: none;
  float: left;
  margin: 0 15px 0 0;
  padding: 15px 0;
  position: relative;
}

ul.main-menu li a {
  display: block;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 110%;
  padding: 5px 10px;
  border-radius: 4px;
}

ul.main-menu li a:hover,
ul.main-menu li.active > a {
  background: #8CD058;
  color: #000;
  text-decoration: none;
}

ul.main-menu li ul {
  display: none;
  position: absolute;
  z-index: 999;
  left: 0;
  padding: 0;
  background: #6DB83A;
  border: 1px solid #FFF;
  border-radius: 4px;
}

ul.main-menu li ul li {
  float: none;
  padding: 0;
  margin: 0;
}

ul.main-menu li:hover ul {
  display: block;
}

ul.main-menu li ul li a {
  color: #fff;
  padding: 5px 15px;
  font-size: 90%;
  white-space: nowrap;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
}

ul.main-menu li ul li:last-child a {
  border: 0;
}

ul.main-menu li.home-link a {
  text-indent: -10000px;
  padding: 6px 20px;
  background: #8CD058 url(../images/home.gif) center center no-repeat;
  opacity: 0.7;
}

ul.main-menu li.home-link a:hover {
  opacity: 1;
}

/* Search */
.block-search {
  float: right;
  margin: 16px 15px 0 0;
}

.zest-search-form {
  overflow: hidden;
}

.zest-search-form input {
  float: left;
  background: #fff;
  border: 1px solid #bbb;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  height: 34px;
  padding: 5px;
}

.zest-search-form .btn {
  float: left;
  background: #fff;
  width: 38px;
  height: 34px;
  border-radius: 0 4px 4px 0;
  border: 1px solid #bbb;
  padding: 0;
}

.zest-search-form .icon {
  line-height: 32px;
  top: 0;
}

.zest-search-form .btn:hover {
  background: #efefef;
}

/* Below Highlighted*/
.md-slide-bullet-5 .md-bullets {
  bottom: 10px;
  top: inherit;
}

/* Footer */
.footer {
  background: #1a55a4;
  margin: 0 auto;
  padding: 30px;
  border: 0;
}

.footer a {
  color: #b2cfed;
  font-size: 90%;
  display: block;
  margin-bottom: 5px;
}

.footer a:hover {
  color: #fff;
  text-decoration: none;
}

.footer .zest-footer-sub-menu {
  display: inline-block;
  vertical-align: top;
  width: 22%;
  margin: 0 1%;
}

.footer .zest-footer-sub-menu ul {
  padding: 0;
}

.footer .zest-footer-sub-menu li {
  list-style: none;
}

.footer .zest-footer-sub-menu > li > a {
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 2px solid #65a2dd;
}

.footer #block-views-zest-footer-shared-pages-block {
  display: block;
  margin: 30px 1% 0;
}

.footer #block-views-zest-footer-shared-pages-block .views-row {
  display: inline-block;
  margin-right: 20px;
}

/* Home Page */
.home-block .home-block-title,
.home-block.block-news h2 {
  font-size: 120%;
  line-height: inherit;
  font-weight: bold;
  color: #fff;
  background: #1a55a4;
  padding: 10px;
  margin: 0;
  display: block;
  text-align: center;
  border: 0;
}

.home-block .view-zest-front-page-right-news-block {
  margin: 0;
}

.home-block .home-block-content,
.home-block.block-news .view-content {
  background: #b2cfed;
  padding: 15px;
}

.home-block .home-block-content img {
  margin-bottom: 10px;
}

.home-block.block-news .view-content .views-row {
  border-bottom: 1px dotted #65a2dd;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.home-block.block-news .view-content .views-row-last {
  border: 0;
  padding: 0;
  margin: 0;
}

.home-block.block-news .poupou-nofp-title {
  font-weight: 700;
}

.home-block.block-news .poupou-nofp-created-date {
  font-size: 90%;
  font-style: italic;
}

.home-block iframe {
  max-width: 100%;
  height: auto;
}

/* Left Menu */
.zest-side-menu ul.side-menu {
  padding-left: 15px;
}

.zest-side-menu ul.side-menu li {
  list-style: none;
}

.zest-side-menu ul.side-menu li a {
  color: #fff;
  display: block;
  margin-bottom: 5px;
}

.zest-side-menu ul.side-menu li:first-child {
  display: none;
}

/* News */
.view-zest-front-page-right-news-block {
  overflow: hidden;
  margin: 30px 0;
}

.view-zest-front-page-right-news-block .views-row {
  border-bottom: 1px dotted #1a55a4;
  margin-bottom: 20px;
  padding-bottom: 15px;
  overflow: hidden;
}

.view-zest-front-page-right-news-block .views-row .poupou-notp-title a {
  color: #000;
  font-size: 125%;
  font-weight: 700;
}

.view-zest-front-page-right-news-block .views-row .poupou-notp-created-date {
  font-style: italic;
  font-size: 90%;
}

.view-zest-front-page-right-news-block .views-row .poupou-notp-image {
  float: right;
  margin: 0 0 0 20px;
}

.view-zest-front-page-right-news-block .views-row .poupou-notp-image img {
  max-width: 250px;
  height: auto;
}

.view-zest-front-page-right-news-block .views-row .poupou-notp-body {
  margin: 20px 0;
}

/* Web Form */
.webform-client-form {
  margin: 30px 0;
}

.webform-client-form .form-item {
  margin-bottom: 10px;
}

.webform-client-form .form-submit {
  margin-top: 10px;
}

/* Sponsor */
.view-zest-sponsors-view {
  overflow: hidden;
  margin: 30px 0;
}

.view-zest-sponsors-view .views-row .poupou-sponsor-title {
  font-size: 120%;
  line-height: inherit;
  font-weight: bold;
  color: #fff;
  background: #1a55a4;
  padding: 10px;
  margin: 0;
  display: block;
  text-align: center;
}

.view-zest-sponsors-view .views-row .poupou-sponsor-content {
  background: #b2cfed;
  padding: 15px;
  text-align: center;
}

.view-zest-sponsors-view .views-row .poupou-sponsor-logo {
  margin-bottom: 15spx;
}

/* Event */
.view-zest-events-view {
  overflow: hidden;
  margin: 30px 0;
}

.view-zest-events-view .views-row {
  border-bottom: 1px dotted #1a55a4;
  margin-bottom: 20px;
  padding-bottom: 15px;
  overflow: hidden;
}

.view-zest-events-view .views-row .poupou-event-title {
  color: #000;
  font-size: 125%;
  font-weight: 700;
}

.view-zest-events-view .views-row .poupou-event-start {
  font-style: italic;
  font-size: 90%;
}

.view-zest-events-view .views-row .poupou-event-end {
  font-style: italic;
  font-size: 90%;
}

.view-zest-events-view .poupou-event-body {
  margin: 20px 0;
}

.view-zest-events-view .views-row .poupou-image-text-pair {
  overflow: hidden;
  padding: 15px;
  margin-bottom: 3px;
}

.view-zest-events-view .views-row .poupou-image-text-pair:nth-child(2n) {
  background: #f8f8f8;
}

.view-zest-events-view .views-row .poupou-image-text-pair:nth-child(2n+1) {
  background: #e5e5e5;
}

.view-zest-events-view .views-row .poupou-image-from-pair {
  float: right;
  margin: 0 0 0 20px;
}

.view-zest-events-view .views-row .poupou-image-from-pair img {
  max-width: 250px;
  height: auto;
}

/* Staff */
.view-zest-staff-view {
  margin: 30px 0;
}

.view-zest-staff-view .views-row {
  padding: 15px;
  overflow: hidden;
  margin-bottom: 3px;
}

.view-zest-staff-view .views-row:nth-child(2n) {
  background: #f8f8f8;
}

.view-zest-staff-view .views-row:nth-child(2n+1) {
  background: #e5e5e5;
}

.view-zest-staff-view .views-row .staff-info {
  margin-bottom: 10px;
}

.view-zest-staff-view .views-row .pou-pou-staff-name {
  color: #000;
  font-size: 125%;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Course */
.view-zest-course-view {
  overflow: hidden;
  margin: 30px 0;
}

.view-zest-course-view .views-row {
  border-bottom: 1px dotted #1a55a4;
  margin-bottom: 20px;
  padding-bottom: 15px;
  overflow: hidden;
}

.view-zest-course-view .course-top {
  margin-bottom: 20px;
}

.view-zest-course-view .pou-pou-course-title {
  color: #000;
  font-size: 125%;
  font-weight: 700;
}

.view-zest-course-view .pou-pou-course-start,
.view-zest-course-view .pou-pou-course-duration {
  font-style: italic;
  font-size: 90%;
}

.view-zest-course-view .pou-pou-right {
  float: right;
  margin: 0 0 0 20px;
}

.view-zest-course-view .pou-pou-left {
  margin: 20px 0;
}

/* Student Resource */
.view-zest-student-resource-view {
  overflow: hidden;
  margin: 30px 0;
}

.view-zest-student-resource-view .views-row {
  padding: 15px;
  overflow: hidden;
  margin-bottom: 3px;
}

.view-zest-student-resource-view .views-row:nth-child(2n) {
  background: #f8f8f8;
}

.view-zest-student-resource-view .views-row:nth-child(2n+1) {
  background: #e5e5e5;
}

.view-zest-student-resource-view .poupou-student-title {
  color: #000;
  font-size: 125%;
  font-weight: 700;
  margin-bottom: 10px;
}

.view-zest-student-resource-view .poupou-student-body {
  margin: 10px 0;
}

.view-zest-student-resource-view .poupou-student-file {
  margin: 10px 0;
}

.view-zest-student-resource-view .poupou-resource-links {
  margin: 10px 0;
}

.view-zest-student-resource-view .poupou-resource-links .poupou-resrouce-link a:before {
  content: '\00bb';
  margin-right: 5px;
}

/* Tutor Resource */
.view-zest-tutor-resource-view {
  overflow: hidden;
  margin: 30px 0;
}

.view-zest-tutor-resource-view .views-row {
  padding: 15px;
  overflow: hidden;
  margin-bottom: 3px;
}

.view-zest-tutor-resource-view .views-row:nth-child(2n) {
  background: #f8f8f8;
}

.view-zest-tutor-resource-view .views-row:nth-child(2n+1) {
  background: #e5e5e5;
}

.view-zest-tutor-resource-view .poupou-tutor-title {
  color: #000;
  font-size: 125%;
  font-weight: 700;
  margin-bottom: 10px;
}

.view-zest-tutor-resource-view .poupou-tutor-body {
  margin: 10px 0;
}

.view-zest-tutor-resource-view .poupou-tutor-file {
  margin: 10px 0;
}

.view-zest-tutor-resource-view .poupou-resource-links {
  margin: 10px 0;
}

.view-zest-tutor-resource-view .poupou-resource-links .poupou-resrouce-link a:before {
  content: '\00bb';
  margin-right: 5px;
}

/* Field Collection */
.field-collection-view .field-name-field-sub-title {
  font-size: 120%;
  font-weight: 700;
  margin-bottom: 10px;
}

.field-collection-description {
  margin: 20px 0;
}

/* Template 3 */
.node-template-3-title-image-body .field-type-image {
  float: left;
  margin: 0 30px 20px 0;
}

/* Qualifications */
.node-template-5-title-body-image-text .field-name-field-image-and-text-pair .field-type-image {
  float: right;
  margin: 0 0 0 20px;
}

/********** Media Queries **********/
@media all and (min-width:768px) and (max-width:991px) {

  /* Header */
  .poupou-header-right-contact-us {
    font-size: 15px;
  }

  /* Menu */
  ul.main-menu li {
    margin: 0 12px 0 0;
  }

  ul.main-menu li a {
    font-size: 100%;
    padding: 5px;
  }

  /* Search */
  .block-search {
    width: 160px;
  }

  .zest-search-form input {
    width: 120px;
  }

  /* Sponsor */
  .view-zest-sponsors-view .views-row {
    margin-bottom: 20px;
  }

}

@media all and (max-width:767px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }

  h4 {
    font-size: 16px;
  }

  /* Layout */
  .one-sidebar .main-container > .col-sm-3 {
    padding-top: 20px;
    padding-bottom: 10px;
  }

  /* Responsive Menu */
  .mean-container .mean-bar {
    padding: 0;
    float: none;
  }

  .mean-container .mean-nav {
    margin-top: 42px;
  }

  .mean-container .mean-nav ul li a.mean-expand {
    padding: 11px !important;
  }

  /* Header */
  .poupou-header .left-section {
    margin-bottom: 5px;
  }

  .poupou-header-left {
    margin: 0 0 10px 0;
  }

  .poupou-header-left,
  .poupou-header-center {
    width: 100%;
  }

  .navbar-header {
    display: none;
  }

  .poupou-header {
    text-align: center;
  }

  .poupou-header .poupou-header-center {
    margin-right: 0;
  }

  .poupou-header-left .poupou-header-left-logo img {
    max-width: 80px;
    height: auto;
  }

  .poupou-header-center-title {
    font-size: 180%;
  }

  /* Search */
  .region-highlighted {
    text-align: center;
  }

  .block-search {
    float: none;
    margin: 10px;
    display: inline-block;
  }

  /* Sponsor */
  .view-zest-sponsors-view .views-row {
    margin-bottom: 20px;
  }

  /* Footer */
  .footer .zest-footer-sub-menu {
    display: block;
    width: 100%;
    margin: 0 0 20px 0;
  }

  .footer #block-views-zest-footer-shared-pages-block {
    margin: 30px 0 0 0;
  }

  /* Home Page */
  .home-block {
    margin: 0 0 20px 0;
  }

}

@media all and (max-width:480px) {

  /* Header */
  .poupou-header-left {
    display: block;
    margin: 0 0 10px 0;
  }

  .poupou-header-center {
    display: block;
  }

  /* News */
  .view-zest-front-page-right-news-block .views-row .poupou-notp-image {
    float: none;
    margin: 10px 0;
  }

  /* Event */
  .view-zest-events-view .views-row .poupou-image-from-pair {
    float: none;
    margin: 0 0 10px 0;
  }

  /* Staff */
  .pou-pou-staff-left {
    margin-bottom: 10px;
  }

  /* Course */
  .view-zest-course-view .pou-pou-right {
    float: none;
    margin: 10px 0;
  }

  /* Qualifications */
  .node-template-5-title-body-image-text .field-name-field-image-and-text-pair .field-type-image {
    float: none;
    margin: 10px 0;
  }

}