/*
Theme Name: EduGift
Author: Pink Fish Associates
Version: 1.00
*/

/*
* === Global shared ===
*/

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  background-color: #fdf8e0;
  -webkit-text-size-adjust: none;
  color: #555;
}

div.container {
  max-width: 1360px;
  padding: 0 30px;
  margin: 0 auto;
}

h1,
h2,
h3 {
  margin: 0 0 1em 0;
  padding: 0;
  color: #fe8704;
  line-height: 1.3;
  font-weight: 500;
  text-transform: uppercase;
}

h2 {
  font-size: 22px;
  margin-bottom: 0.15em
}

h3 {
  margin-bottom:0.2em;
}

p {
  margin: 0 0 1.5em 0;
  line-height: 1.6;
  color: #555555;
  font-size: 16px;
}

ul, ol {
  margin-left: 20px;
  padding: 0;
}

ul li, ol li {
  line-height: 1.6;
  color: #555555;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: #fe8704;
  transition: 0.5s;
}

a:hover {
  text-decoration: underline;
  transition: 0.5s;
}

a img {
  border: none;
}

img {
  max-width: 100%;
}

a.button,
a.wp-element-button,
div.nf-field-element input[type="submit"].nf-element,
#custom-loginform input[type="submit"],
.sib_signup_form input[type="submit"] {
  background: linear-gradient(to bottom, #E6C74A, #FF8506);
  color: #fff;
  text-align: center;
  padding: 8px 30px;
  display: inline-block;
  cursor: pointer;
  border: 2px solid #fff; 
  text-transform: uppercase;
  border-radius: 15px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.5s ease, box-shadow 0.5s ease;
  appearance: none;
}

a.button:hover,
a.wp-element-button:hover,
div.nf-field-element input[type="submit"].nf-element:hover,
#custom-loginform input[type="submit"]:hover,
.sib_signup_form input[type="submit"]:hover {
  text-decoration: none;
  background: linear-gradient(to bottom, #7cb89c, #5ca784);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

a.button.disabled {
  cursor: default;
  opacity: 0.4;
}

a.button.disabled:hover {
  color: #fff;
  background: linear-gradient(to bottom, #E6C74A, #FF8506);
}

blockquote p.author {
  color: #FD8C0A;
  margin-bottom: 0;
}


blockquote p.author strong {
  color: #555555;
}

blockquote span {
  color: #FD8C0A;
  font-size: 20px;
  font-weight: bold;
}

/*
* === Forms ===
*/

.nf-field-container.hidden-container {
  display: none;
}

input::placeholder {
  font-family: "Poppins", sans-serif;
}

body.page-id-216 div.nf-form-layout p {
  margin-bottom: 0em;
}

body.page-id-216 .nf-field-container {
  margin-bottom: 20px!important;
}

body.page-id-216 h2 {
  margin-top: 30px;
}

span.ninja-forms-req-symbol {
  line-height: 1;
}

.nf-form-content {
  padding: 0!important;
}

.nf-form-content input,
.nf-form-content select,
.nf-form-content textarea {
  font-family: "Poppins", sans-serif!important;
}

.nf-form-content input:not([type=submit]) {
  background: #fff!important;
}

div.nf-form-content label {
  color: #555;
  font-size: 16px;
}

div.nf-before-form-content{
  margin-bottom: 1.5em;
}

.nf-form-content textarea.ninja-forms-field {
  background-color: #fff!important;
}

.nf-form-content .list-select-wrap .nf-field-element>div {
  background: #fff!important;
}

div#nf-form-1-cont div#nf-field-36-container {
  margin-bottom: 15px;
}

div#nf-form-1-cont div#nf-field-1-container {
  margin-bottom: 8px;
}

div#nf-form-1-cont div.nf-form-content .field-wrap,
div#nf-form-1-cont div#nf-field-1-container .nf-field-label {
  margin-bottom: 0;
}

/*
* === Header ===
*/

header#main {
  background: linear-gradient(to bottom, #fdf8e0, #fbf0bf);
  background-color: #fbf0bf;
  padding: 2em 0;
  border-bottom: 10px solid #E3E7E8;
}

body.home header#main {
  padding: 0 0 5em 0;
}

div.header-top { 
  background-color: #fdf8e0;
  padding: 2em 0;
}

div.header-top div.logo img.logo-mobile {
  display: none;
}

div.header-top-inner {
  display: flex;
  align-items: center;
}

div.header-top div.logo {
    margin-right: 50px;
}

div.header-top div.logo img {
  display: block;
  height: 50px;
}

li.menu-item-161,
li.menu-item-162,
li.menu-item-163,
li.menu-item-257 {
  display: none;
}

div.header-top div.nav-main ul {
  margin: 0;
  padding: 0;
  display: flex;
}

div.header-top div.nav-main ul li {
  list-style-type: none;
  margin-right: 50px;
  text-transform: uppercase;
}

div.header-top div.nav-main ul li:last-of-type {
  margin-right: 0;
}

div.header-top div.nav-main ul li.current_page_item {
  font-weight: bold;
}

div.header-top div.header-buttons {
  margin-left: auto;
}

div.header-top div.header-buttons p {
  color: #FD8C0A;
  margin-bottom: 0;
}

div.header-top div.header-buttons a.button:first-of-type {
  margin-left: 10px;
  margin-right: 10px;
}

div.header-main { 
  position: relative;
  padding-top: 3em;
}

div.header-main-left {
  width: 35%; 
}

div.header-main-left h1 {
  margin-bottom: 0;
  font-size: 64px;
}

div.header-main-left h1 span {
  font-weight: 700;
  color: #F30409;
  text-transform: none;
}

div.header-main-left h2 {
  font-size: 18px;
  text-transform: none;
  margin-bottom: 0.8em;
}

div.header-main-left p:last-of-type {
  margin-bottom: 0;
}

div.header-main-right img {
  position: absolute;
  right: 80px;
  bottom: -134px;
}

img.hamburger,
img.hamburger-close {
  display: none;
}

/*
* === Content ===
*/

body.home div.content {
  padding-top: 5em;
}

div.content {
  padding: 3em 0;
  background-color: #fff;
  overflow: hidden;  
}

div.content ul {
  margin-bottom: 20px;
}

div.content ul:last-of-type {
  margin-bottom: 0;
}

div.content ul li,
div.content ol li  {
  margin-bottom: 20px;
}

div.content ul li.page_item_has_children ul {
  margin-top: 20px;
}

p.highlight {
  color: #fe8704;
  font-size:18px;
  margin-bottom: 0.2em;
}

p.topmargin {
  margin-top:4em;
}

p.footnote {
  font-size: 13px;
}

/*
* === Home ===
*/

div.home-intro div.heading {
  text-align: center;
}

div.home-intro div.heading p.subheading {
  font-size: 32px;
  margin-bottom: 0.7em;
  text-transform: uppercase;
  color: #fe8704;
  font-weight: 500;
}

div.home-main-inner {
  display: flex;
  justify-content: space-between;
  padding-top: 3.5em;
}

div.home-main-left {
  width: 48%;
  margin-bottom: 2em;
}

div.home-main-left p:last-of-type {
  margin-bottom: 0;
}

div.home-main-left h1 {
  font-size: 28px;
  margin-bottom: 0.2em;
}

div.home-main-left a.button span.mobile {
  display: none;
}

div.home-main-right {
  width: 45%; 
  text-align: center;
}

div.home-main-right img.circle {
  border-radius: 50%;
  max-width: 60%;
  display: inline-block;
}

div.process {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5em;
}

.process-item {
  background: linear-gradient(to bottom, #E6C74A, #FF8506);
  border: 5px solid #fff;
  box-shadow: 3px 3px 15px 10px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  text-align: center;
  width: 21%;
}

a.process-item:hover {
  text-decoration: none;
  background: linear-gradient(to bottom, #7cb89c, #5ca784);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

.process-item h2 {
  font-size: 22px;
}

.process-item h2,
.process-item p {
  color: #fff;
  margin-bottom: 0;
}

.process-item p {
  font-size: 1.3em;
  opacity: 0.8;
}

div.process-item-inner {
  padding: 30px 20px;
}

div.process-divider {
  background-color: #FF8506;
  height: 5px;
  flex-grow: 1;
}

/*
* === Author ===
*/

div.posts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 0.5em;
}

div.post-item {
  background-color: #fcfbf5;
  width: 47%;
  margin-bottom: 4%;
  border: 1px solid #ffc07b;
}

div.post-item h2 {
  border-bottom: 1px solid #fe8704;
  padding-bottom: 10px;
  margin-bottom: 15px;
  color: #555;
  text-transform: none;
  font-size: 18px;
}

div.post-item h3 {
  text-transform: none;
  margin-bottom: 0;
  font-size: 16px;
}

div.post-item p {
  margin-bottom: 0.5em;
}

div.post-item hr {
  background-color: #fe8704;
  height: 1px;
  border: none;
}

div.post-item a.button {
  padding-left: 0;
  padding-right: 0;
  width: 100%;
  margin-top: 5px;
}

div.post-item-inner {
  padding: 20px;
}

div.post-item table {
  text-align: left;
  margin-bottom: 0.5em;
}

div.post-item table th {
  color: #524B45;
}

div.post-item table td {
  padding-left: 20px;
}

div.author-inner {
  display: flex;
  justify-content: space-between;
}

div.author-left {
  width: 65%;
}

div.author-right {
  width: 330px;
  flex-shrink: 0;
}

div.author-right div.nf-form-fields-required {
  display: none;
}

div.author-right div.box div.nf-field-element input[type="submit"].nf-element {
  width: 100%;
  height: 50px;
}

/*
* === Login page ===
*/

.custom-login-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 20px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.custom-login-page h1 {
  margin-bottom: 0.25em;
}

.custom-login-page p {
  margin-bottom: 0.5em;
}

.custom-login-page p.login-remember {
  margin-bottom: 0.75em;
}

.custom-login-page p.login-submit {
  margin-bottom: 1em;
}

#custom-loginform input[type="text"],
#custom-loginform input[type="password"] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

/*
* === Alerts form ===
*/

.sib_signup_form input[type="email"] {
  font-family: "Poppins", sans-serif!important;
  border: 1px solid #F30409;
  border-radius: 0;
  box-shadow: none;
  color: #787878;
  transition: all .5s;
  height: 50px;
  width: 100%;
  font-size: 16px;   
  padding: 12px;
  box-sizing: border-box;
  margin-top: 1.5em;
}

.sib_signup_form input[type="submit"] {
  width: 100%;
  height: 50px;
  font-size: 16px;
  font-family: "Poppins", sans-serif!important;
}

/*
* === Give gifts ===
*/

div.form-wrapper {
  display: flex;
}

div.form-left {
  margin-right: 3%;
  width: 450px;
  flex-shrink: 0;
}

/*
* === Boxes ===
*/

div.box {
  margin-bottom: 3em;
}

div.box:last-of-type {
  margin-bottom: 0;
}

div.box p:last-of-type {
  margin-bottom: 0;
}

div.box-inner {
  padding: 20px;
}

div.form-wrapper div.box h2 {
  border-bottom: 1px solid #fe8704;
  padding-bottom: 10px;
  margin-bottom: 15px;
  color: #555;
  text-transform: none;
  font-size: 18px;
} 

div.form-wrapper div.box h3 {
  text-transform: none;
  margin-bottom: 0;
  font-size: 16px;
}

div.form-wrapper div.box {
  border: 1px solid #ffc07b;
  background-color: #fcfbf5;
}

div.form-wrapper div.box input[type="submit"] {
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

div.form-wrapper div.box table {
  margin-top: 0.5em;
}

div.box h2 {
  font-size: 22px;
  border-bottom: 1px solid #F30409;
  padding-bottom: 5px;
  margin-bottom: 20px;
}

div.box table {
  text-align: left;
}

div.box table th {
  color: #524B45;
}

div.box table td {
  padding-left: 20px;
}

/*
* === Thank you page ===
*/

body.page-id-267 div.content ul li, body.page-id-267 div.content ol li {
  margin-bottom: 10px;
}

body.page-id-267 div.content ul, body.page-id-267 div.content ol {
  margin-left: 40px;
  margin-bottom: 1.5em;
}


/*
* === Footer ===
*/

footer#main div.footer-main {
  padding: 3em 0;
  background: linear-gradient(to bottom, #fdf8e0, #fbf0bf);
  background-color: #fbf0bf;
}

footer#main div.footer-main-top {
  display: flex;
  margin-bottom: 1.5em;
}

footer#main div.footer-main-top nav:first-of-type {
  margin-right: 100px;
}

footer#main div.footer-main-top nav ul {
  margin: 0;
  padding: 0;  
}

footer#main div.footer-main-top nav ul li {
  list-style-type: none;
  margin-bottom: 10px;
}

footer#main div.footer-main-top nav ul li.menu-item-128 {
  display: none;
}

footer#main div.footer-main-top nav ul li:last-of-type {
  margin-bottom: 0;
}

footer#main div.footer-main-bottom p {
  color: #988D7B;
  font-size: 12px;
}

footer#main div.footer-main-bottom p:last-of-type {
  margin-bottom: 0;
}

footer#main div.footer-legal {
  background-color: #FD8C0A;
  padding: 0.75em 0;
}

footer#main div.footer-legal p {
  color: #fff;
  margin-bottom: 0;
  font-size: 14px;
}

footer#main div.footer-legal a {
  color: #fff;
}

footer#main div.footer-legal-inner {
  display: flex;
  justify-content: space-between;
}

/*
* === Media queries ===
*/

@media screen and (max-width: 1415px) {   
  div.header-main-left {
    width: 42%; 
  }	
}

@media screen and (max-width: 1200px) {   
  div.header-main-left {
    width: 50%; 
  }	
}

@media screen and (max-width: 1110px) {   
	div.header-main-right img {
		width:500px;
		bottom: -127px;
	}
}

@media screen and (max-width: 1365px) {   
  .process-item p {
    font-size: 1.2em;
  }
}

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

  div.author-left {
    width: 60%;
  }

  div.process-item-inner {
    padding: 20px;
  }

  .process-item {
    width: 22%;
  }

  .process-item p {
    font-size: 1em;
  }

  div.header-top div.logo {
    margin-right: 30px;
  }

  div.header-top div.nav-main ul li {
    margin-right: 25px;
  }

  div.header-buttons a.button {
    padding-left: 15px;
    padding-right: 15px;
  }

  div.header-main-right img {
    right: 0px;
  }
}

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

  /* Offer gifts */

  div.form-wrapper {
    flex-wrap: wrap;
  }

  div.form-right {
    width: 100%;   
  }

  div.form-left {
    margin-right: 0;  
    width: 100%;
    margin-bottom: 3em;
  }

  /* Header */

  body.home header#main {
    padding-top: 0;
    padding-bottom: 0;
  }

  div.header-main {
    padding-top: 3em;    
    display: flex;
    flex-wrap: wrap; 
  }

  div.header-main-left {
    width: 100%;
    text-align: center;
  }

  div.header-main-right {
    text-align: center;
    width: 100%;
  }

  div.header-main-right img {
    position: relative;
    bottom: -62px;
    display: inline-block;
  }

  div.header-top div.logo img {
    height: 40px;
  }

  div.header-top {  
    padding: 0.75em 0;
    position: sticky;
    z-index: 10000;
    top: 0;
    left: 0;
    background-color: #fe8704;
  }  

  div.header-top div.logo img.logo-desktop {
    display: none;
  }

  div.header-top div.logo img.logo-mobile {
    display: block;
  }

  img.hamburger,
  img.hamburger-close {
    width: 30px;
    cursor: pointer;
    z-index: 200;
  }

  img.hamburger {
    display: block;
  }

  div.nav-main,
  div.header-buttons {
    display: none;
  }

  div.nav-main {
    width: 100%;
    order: 3;
  }

  div.header-top-inner {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  div.header-top div.nav-main ul {
    flex-wrap: wrap;
    text-align: right;
    padding-top: 1em;
    padding-bottom: 0.5em;
  }

  div.header-top div.nav-main ul li {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }

  div.header-top div.nav-main ul li:last-of-type {
    margin-bottom: 0;
  }

  div.header-top div.nav-main ul li a {
    color: #fff;
  }

  li.menu-item-161,
  li.menu-item-162,
  li.menu-item-163 {
    display: block;
  }

  body.logged-in li.menu-item-257 {
    display: block;
  }

  body.logged-in li.menu-item-162 {
    display: none;
  }

  li.menu-item-161 {
    padding-top: 0.75em;
  }

  div.header-top div.nav-main ul li.menu-item-161 a {
    pointer-events: none; 
    color: #FFBF78;
  }

  /* Schools */

  div.author-inner {
    flex-wrap: wrap;
  }

  div.author-left {
    width: 100%;
    margin-bottom: 1.75em;
  }

  div.author-right {
    width: 100%;
  }

  /* Process*/

  div.process {
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
  }

  .process-item {
    width: 100%;    
  } 

  div.process-divider {
    width: 5px;
    height: 40px;
  }
}

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

  /* Forms */

  div.nf-form-content .field-wrap {
    margin-bottom: 25px;
  }

  div#nf-field-37-wrap div.nf-field-label,
  div#nf-field-38-wrap div.nf-field-label {
    margin-bottom: 0!important;
  }
}

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

   /* Home */

   div.home-main div.container {
    padding-left: 0;
    padding-right: 0;
   }
   
   div.home-main-left-inner,
   div.home-main-right-inner {
    padding-left: 30px;
    padding-right: 30px;
   }

   div.home-main-inner {
    flex-wrap: wrap;
   }

   div.home-main-left {
    width: 100%;
    margin-bottom: 3em;
   }

   div.home-main-right {
    width: 100%;
    background: linear-gradient(to bottom, #fdf7df , #FFF);
    padding: 3em 0 0 0;
   }
}

@media screen and (max-width: 639px) { 
 
   /* Footer */

  footer#main div.footer-main-top {
    flex-wrap: wrap;
    text-align: center;
  }

  footer#main div.footer-main-top nav {
    width: 100%;
  }

  footer#main div.footer-main-top nav:first-of-type {
    margin-right: 0;
    margin-bottom: 10px;
  }

  footer#main div.footer-main-bottom {
    border-top: 1px solid #F30409;
    padding-top: 1.5em;
    text-align: center;
  }

  footer#main div.footer-legal-inner {
    flex-wrap: wrap;
    text-align: center;
  }

  footer#main div.footer-legal-left,
  footer#main div.footer-legal-right {
   width: 100%;
  }

}

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

  /* Global */

  a.button,
  a.wp-element-button,
  div.nf-field-element input[type="submit"].nf-element {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }   

  /* Home */

  div.home-main-left a.button span.desktop {
    display: none;
  }

  div.home-main-left a.button span.mobile {
    display: block;
  }

  /* Schools */

  div.post-item {
    width: 100%;
    margin-bottom: 1.5em;
  }

  div.posts:last-of-type div.post-item:last-of-type {
    margin-bottom: 0;
  }

}

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

/*
* === Nav toggle fix  ===
*/
@media screen and (min-width: 1024px) {
  div.nav-main {
    display: block!important;
  }
  img.hamburger-close {
    display: none!important;
  }
}