/*
Theme Name: The Sugar Association
Author: Marriner Marketing Communications
Author URI: http://www.marriner.com/
Description: sugar.org
Version: 1.0
*/

body{
  color: #000000;
}
#copyright-bar p{
  color: #000000;
}
#copyright-bar ul#menu-copyright-bar li a{
  color: #000000;
}


.hero-video-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero-video-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}
.home-title-container {
  position: relative;
  z-index: 1;
  color: #fff;
}
.hero-video-section h1 {
  font-family: 'Muli', sans-serif;
  font-size: 70px;
  font-weight: 900;
  line-height: 1.2;
  color: #FFF;
  border-left: 6px solid #7bbd33;
  padding-left: 20px;
  margin-bottom: 60px;
}
.hero-video-section p{
  color: #FFF;
}
.hero-video-section .inline-items {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}
.hero-video-section .text-area {
  width: 50%;
  padding:20px 0px;
}
.hero-video-section .learn-more-btn {
  width: 50%;
  margin: auto;
}
.hero-video-section .divider {
  width: 4px;
  margin: 0px 10px;
  background-color: #FFF;
}

.stage .content#home_main_callouts{
  margin-top: 0px !important;
}

/* menu css */
.mobile-menu{
    width: 100%;
}
.custom-mobile-menu {
  padding: 20px;
}
.custom-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.custom-menu-item {
  margin-bottom: 10px;
  position: relative;
}
.custom-menu-link-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 14px 20px
}
.custom-menu-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.custom-menu-toggle {
  font-size: 20px;
  font-weight: 700;
  line-height: 0px;
  cursor: pointer;
  user-select: none;
  padding: 5px 10px;
  border-radius: 50%;
  background: #eee;
  color: #333;
  width: 10px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-submenu {
  display: none;
  padding: 0px 10px;
  margin-top: 5px;
}
.custom-menu-item.open > .custom-submenu {
  display: block;
}
.custom-menu > .custom-menu-item.has-children.open:nth-of-type(1) .custom-menu-link-wrapper {
    border-bottom: 1px solid #eeeeee;
}
.second-level-item.no-submenu a:hover {
    color: #7bbd33 !important;
}
.third-level-submenu li a:hover {
    color: #7bbd33 !important;
}

/* ending menu css */

/* form section css */
.question-form-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    margin: 0px 0px 20px 0px;
}
.question-section-inner-content {
    display: flex;
    width: 100%;
}
.question-section-inner-content .col-2 {
    width: 50%;
    display: flex;
    align-items: center;
}
.col-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 450px;
}
.question-section-inner-content .col-2 img {
    display: block;
    width: 100%;
}
.question-form-section .inner-content {
    padding: 50px;
}
.question-form-section .inner-content h2 {
    font-size: 30px;
    line-height: normal;
    font-weight: 900;
    color: #42695c;
    margin-bottom: 10px;
}
.question-form-section .inner-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
}
.smaller-text {
    font-size: 16px;
    color: #000;
    font-weight: 700;
    margin: 14px 0px;
}
.question-form-section .inner-content p {
    font-size: 16px;
}
.question-form-section .inner-content strong{
  color: #000000;
}
.question-form p {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 25px;
}
.question-form p {
    color: #000000 !important;
}
.answer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.answer-box {
  border: 2px solid #949691;
  padding: 20px;
  font-size: 20px;
  font-weight: 700;
  text-align: left;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  background-color: #fff;
  transition: all 0.3s ease;
}
.answer-box:hover {
  border-color: #888;
}
.answer-box.selected {
	border-width: 4px;
	border-color: #4CAF50;
	color: #4CAF50;
	display: flex;
	align-items: center;
}
.answer-box.selected::after {
  content: '✓';
  position: absolute;
  right: 16px;
  font-size: 20px;
  font-weight: bold;
}
.question-form .selected::after {
    color: #FFF !important;
    width: 25px !important;
    text-align: center !important;
    border-radius: 50% !important;
}
.question-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.question-popup {
	background: #fff;
	padding: 20px;
	border-radius: 10px;
	position: relative;
	max-width: 450px;
	width: 100%;
	box-shadow: 0 0 15px rgba(0,0,0,0.3);
  margin: 20px;
}
.question-form-section .close-popup {
	position: absolute;
	top: -10px;
	right: -10px;
	background: #7bbd33;
	color: white;
	border-radius: 50%;
	width: 25px;
	height: 25px;
	text-align: center;
	line-height: 24px;
	font-weight: bold;
	cursor: pointer;
}

.question-form-section input[type="submit"] {
	background-color: #7bbd33;
    width: auto;
    height: 45px;
    position: relative;
    margin: 0px 0px 0px 0px;
    padding: 0px 30px 0px 30px;
    font-family: 'Muli',sans-serif;
    font-size: 18px;
    letter-spacing: 0.8px;
    font-weight: 900;
    line-height: 45px;
    color: #fff;
    display: block;
    cursor: pointer;
    text-decoration: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: background-color 125ms cubic-bezier(.645, .045, .355, 1);
    transition: background-color 125ms cubic-bezier(.645, .045, .355, 1);
    border: 0px;
    margin-top: 20px;
}
.question-form-section input[type="text"],
.question-form-section input[type="tel"],
.question-form-section input[type="email"] {
  display: block;
  min-width: -webkit-fill-available;
  padding: 10px 14px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  margin-top: 5px;
}
.question-form-section input[type="text"]:focus,
.question-form-section input[type="tel"]:focus,
.question-form-section input[type="email"]:focus {
  border-color: #007BFF;
  outline: none;
  background-color: #f0f8ff;
}
.question-form-section label{
  display: block;
  margin-top: 10px;
}
.question-popup h3 {
  font-size: 28px;
  color: #000;
  text-align: center;
  font-weight: 700;
}
.question-form-section .inner-content .form-message{
  display: block;
  margin-top: 15px;
}


/* sugar diet section */
.diet-gaph-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 10px 20px 50px 20px;
}
.diet-gaph-section .diet-gaph-section-inner-content {
    display: flex;
    width: 100%;
}
.diet-gaph-section .content-container {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
}
.diet-gaph-section .col-3 {
    width: 30%;
}
.diet-gaph-section .col-7 {
    width: 70%;
}
.diet-gaph-section h2{
  font-size: 30px;
    line-height: normal;
    font-weight: 900;
    color: #42695c;
    margin-bottom: 20px;
}
.diet-gaph-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 13px;
}
#sugar-diet-garph {
  width: 100%;
  height: 350px;
}
#sugar-diet-garph a[title="JavaScript charts"] {
    display: none !important;
}
#sugar-diet-garph text {
  font-family: 'Muli';
}

/* mega menu */
.mobile-menu{
  display: none;
}
.main-menu,
.main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-menu {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

.main-menu > li {
  padding: 15px 20px;
}

.main-menu > li > a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
  display: block;
}

.megamenu-row {
  display: none;
  position: absolute;
  top: 85%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  width: 95%;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  border: 1px solid #eee;
  border-left: 0px;
  z-index: 9999;
}

.main-menu > li:hover > .megamenu-row {
  display: flex;
}
.megamenu-col.col-3 .menu-promo {
    padding:30px;
}
.megamenu-col {
  flex:1;
  padding: 20px;
  border-right: 1px solid #eee;
}
.megamenu-col.col-1{
  padding:50px 0px;
}
.megamenu-col:last-child {
  border-right: none;
}
.level-1-submenu .submenu-title {
    margin-left: 10%;
}
.level-1-submenu > li > a{
  padding-left: 10%;
}
.level-1-submenu {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
}

.level-1-submenu > li {
  margin-bottom: 10px;
}

.level-1-submenu > li > a {
  color: #000;
  font-size: 20px;
  font-family: 'Zilla Slab', serif;
  font-weight: 800;
  text-decoration: none;
}
.second-level-item > a {
  cursor: pointer;
  display: block;
  padding: 12px 15px;
  color: #000;
  text-decoration: none;
  position: relative;
  font-weight: 500;
}

.second-level-item.active > a {
    background-image: url(/wp-content/uploads/GREEN-S.svg);
    background-repeat: no-repeat;
    color: #fff;
    font-weight: 700;
    background-size: cover;
    background-position: right;
}
.third-level-submenu {
    padding: 0px !important;
    text-align: left;
    list-style: none !important;
}
.submenu-title {
    text-align: left;
}
.megamenu-col.col-2 .third-level-submenu-wrapper {
    padding: 30px;
}
.col-2 ul {
  list-style: disc inside;
  padding-left: 15px;
  margin: 0;
}

.col-2 li a {
  color: #000;
  font-size: 20px;
  font-family: 'Zilla Slab', serif;
  font-weight: 800;
  text-decoration: none;
}

.col-2 li a:hover {
  color: #000000;
}

.menu-promo {
  text-align: center;
}

.menu-promo img {
  max-width: 100%;
  margin-bottom: 15px;
}
.menu-button {
  display: inline-block;
  background-color: #7bbd33;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

.menu-button:hover {
  background: #30302f;
  color: #fff;
}
.first-level-title,
.submenu-title {
  color: #8dc63f;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 10px;
}
.submenu-title a {
  color: #8dc63f;
  font-size: 20px;
  font-family: 'Zilla Slab', serif;
  font-weight: 800;
  text-decoration: none;
}
.third-level-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.third-level-submenu li {
  margin-bottom: 10px;
}
.third-level-submenu a {
  text-decoration: none;
  color: #000;
}
.visual-box {
  text-align: center;
}
.visual-box img {
  max-width: 100%;
  margin-bottom: 10px;
}
.visual-box h3 {
  font-size: 18px;
  color: #375050;
  font-weight: 700;
  margin-bottom: 10px;
}
.download-btn {
  display: inline-block;
  background-color: #8dc63f;
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}
.desktop-menu {
    width: 100%;
}
.desktop-menu a{
  cursor: pointer;
}
.menu-promo h2 {
    font-size: 20px;
    line-height: normal;
    font-weight: 900;
    color: #42695c;
    margin-bottom: 20px;
}


/* Mobile Menu */
#header #navigation ul#menu-header li ul.sub-menu li {
    height: auto !important;
}
#header #navigation #menu-header li ul.sub-menu .menu-item a {
    line-height: normal;
    height: auto;
    padding: 10px !important;
}



@media (max-width: 960px) {
  .mobile-menu{
    display: block;
    overflow: auto;
  }
  .desktop-menu{
    display: none;
  }
  #home_heroes{
    padding-top: 80px !important;
  }
  .mobile-menu .sub-menu a {
    color: #44695b !important;
  }
  .mobile-menu .sub-menu .menu-item .sub-menu a {
    color: #FFF !important;
  }
  .header.custom-menu{
    z-index: 1111;
  }
}


@media screen and (max-width: 920px){
  .diet-gaph-section .content-container {
    display: block;
  }
  .diet-gaph-section .col-7 {
    width: 100%;
  }
  .diet-gaph-section .col-3 {
    width: 100%;
  }
}

@media screen and (min-width: 961px){
  .stage#faqs {
    padding-top: 270px;
  }
  .hero-video-section{
    margin-top: 40px;
  }
  .header.custom-menu{
    display: none !important;
  }
}

@media screen and (max-width: 800px){
	.hero-video-section{
		min-height: auto;
	}
	.hero-video-section h1{
		font-size: 48px;
		margin-bottom:30px;
	}
}
@media screen and (max-width: 700px){
	.hero-video-section .inline-items{
    	display: block;
	}
	.hero-video-section .text-area{
		width: 100%;
		padding: 0px 0px 20px 0px;
	}
	.hero-video-section .learn-more-btn{
		width: 100%;
	}
	.hero-video-section .divider {
	    height: 4px;
	    width: 100%;
	    max-width: 300px;
	    margin: 0px 0px 20px 0px;
	}
	.hero-video-section h1{
		font-size: 32px;
	}
	.hero-video-section,.hero-video-section video{
		height: 500px !important;
	}
	.hero-video-section .home-title-container {
	    margin: 0px !important;
	    padding: 0px 20px;
	}
	.question-section-inner-content{
		display: block;
	}
	.question-section-inner-content .col-2{
		width: 100%;
    min-height: 400px;
	}
  #sugar-diet-garph text {
    font-size: 6px !important;
    font-weight: 400 !important;
  }
}
@media screen and (max-width: 450px){
	.hero-video-section h1{
		font-size: 28px;
	}
	.learn-more-btn a.cta, .diet-gaph-section a.cta {
	    padding-top: 0px;
	    padding-bottom: 0px;
	    line-height: 50px;
	}
  .question-form-section .inner-content{
    padding: 20px;
  }
}