/*
Theme Name: Crayon
Theme URI:
Description: Theme for Be Smart.
Author: PGM (edited by Minyong Cho in June, 2019)
Version: 1.0

*/
/*** GLOBAL : GENERAL STYLE DEFAULTS ***/
@import url("https://use.typekit.net/ovs2yyi.css");
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  color: #4a5666;
  background: #ffffff;
}
body,
input,
textarea,
select {
  font-weight: 400;
  line-height: 1em;
  font-family: "open-sans", sans-serif;
}
div,
header,
footer {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
section {
  margin: 80px auto 0 auto;
  padding: 0 20px;
  max-width: 1100px;
  text-align: center;
}
section.max-width {
  max-width: 800px;
  margin: 80px auto 0 auto;
}
.margin-top {
  margin: 100px auto 0 auto;
}
.no-margin-top {
  margin-top: 0;
}
.caption {
  text-decoration: underline;
}
h1,
h2,
.caption {
  font-weight: 800;
  line-height: 1.1;
}
h1 {
  font-size: 33px;
  text-align: center;
}
h2 {
  font-size: 27px;
}
p {
  font-size: 18px;
  line-height: 1.3;
}
.content {
  max-width: 1050px;
  margin: 0 auto;
}
a,
a:link,
a:visited {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
ul.no-disc,
.menuArea ul,
form ul,
footer ul {
  list-style: none;
  text-align: justify;
  margin: 0;
  padding: 0;
}
.menuArea ul li {
  display: inline-block;
  vertical-align: middle;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
hr {
  margin: 2em auto;
  opacity: 0.1;
}
input,
textarea {
  font: inherit;
  outline: none;
  color: inherit;
  margin: 0.3em 0;
  width: 100%;
  padding: 0.5em;
  border: none;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
.clear {
  clear: both;
}
.leftContainer {
  display: inline-block;
  float: left;
}
.rightContainer {
  display: inline-block;
  float: right;
}
.hide {
  display: none;
}
.show-mobile {
  display: none;
}
.center {
  text-align: center;
}
.margin-auto {
  margin: 0 auto;
}
.full_width {
  width: 100%;
}
.yellow {
  color: #eedc6f;
}
.green {
  color: #29b09b;
}
.white-text {
  color: #ffffff;
}
.green-background {
  background-color: #29b09b;
}
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  z-index: 10;
}
#lbcontent {
  display: inline-block;
  box-shadow: 0 0 25px #111;
  -webkit-box-shadow: 0 0 25px #111;
  -moz-box-shadow: 0 0 25px #111;
  position: relative;
}
#lbcontent .lightbox-close {
  z-index: 10;
  width: 30px;
  height: 30px;
  font-size: 30px;
  position: absolute;
  right: 20px;
  top: 25px;
  cursor: pointer;
}
#lbcontent iframe {
  position: relative;
  z-index: 2;
}
.spinner {
  width: 30px;
  height: 30px;
  z-index: 1;
  left: 49%;
  top: 46%;
  position: absolute;
  margin: 0 auto;
  -webkit-animation: rotateplane 1.2s infinite ease-in-out;
  animation: rotateplane 1.2s infinite ease-in-out;
}
.spinner .spinner-container {
  position: absolute;
  width: 100%;
  height: 100%;
}
@-webkit-keyframes bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
  }
}
@keyframes bouncedelay {
  0%,
  80%,
  100% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  40% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}
/*Wordpress admin*/
ul.ab-top-menu,
ul.ab-top-menu::after {
  display: inline;
  content: inherit;
}
.submit-wrap {
  width: 100%;
}
label.checkbox {
  display: block;
}
label.checkbox input[type="checkbox"] {
  display: inline-block;
  width: 20px;
  margin: 0;
}
label.checkbox span.box {
  display: inline-block;
  vertical-align: middle;
  background: none repeat scroll 0% 0% #674a7e;
  border-radius: 0px;
  color: #FFF;
  padding-right: 0.8px;
  text-align: center;
  line-height: 1.3em;
  width: 1.2em;
  height: 1.2em;
  margin-bottom: 0.8em;
}
label.checkbox span.copy {
  display: inline-block;
  margin-left: 0.4em;
  vertical-align: top;
  width: 80%;
  text-align: left;
  margin: 2px 0 0 2px;
}
label.checkbox :checked + span.box::after {
  content: '\2714';
  font-size: 14px;
  top: 0px;
  left: 3px;
  color: #fff;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #979fa2 !important;
}
input:-moz-placeholder,
textarea:-moz-placeholder {
  /* Firefox 18- */
  color: #979fa2 !important;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
  /* Firefox 19+ */
  color: #979fa2 !important;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #979fa2 !important;
}
/*** HEADER : MENU ***/
header {
  background: #ffffff;
  height: 8.5em;
  z-index: 5;
  width: 100%;
  position: absolute;
  top: 0;
  height: 136px;
}
.container {
  margin: 136px auto 0 auto;
  position: relative;
}
.container.more-margin {
  margin: 200px auto 100px auto;
}
.container.more-margin section {
  text-align: left;
}
.logoArea {
  background-position: center 5%, center 94.5%;
  background-size: 4% 2%;
  width: 17em;
  height: 9em;
  position: relative;
  z-index: 2;
  float: left;
}
.logo {
  background: url(img/beSmart_logo.svg) no-repeat;
  background-size: cover;
  width: 10.19em;
  height: 5.06em;
  margin: 1.85em auto;
  cursor: pointer;
}
.menuArea {
  overflow: hidden;
  font-weight: 600;
  max-width: 600px;
  float: right;
  padding: 19px 0 0 0;
  text-align: right;
}
.menuArea form {
  margin-bottom: 13px;
}
.menuArea form input {
  background: #77cdaa;
  color: #fff;
  display: inline-block;
  height: 42px;
  line-height: 42px;
  margin: 0 0 0 7px;
  padding: 10px 15px;
  width: 150px;
}
.menuArea form input[type="submit"] {
  background: linear-gradient(#277051 0%, #277051 90%, #216146 90%, #216146 100%);
  background: -webkit-linear-gradient(#277051 0%, #277051 90%, #216146 90%, #216146 100%);
  background: -moz-linear-gradient(#277051 0%, #277051 90%, #216146 90%, #216146 100%);
  line-height: 1em;
  font-weight: 800;
  position: relative;
  top: 1px;
  cursor: pointer;
  text-transform: uppercase;
  color: #fff;
  height: 44px;
  font-size: 20px;
}
.menuArea form input[type="submit"]:hover {
  color: #fff;
  background: linear-gradient(#236549 0%, #236549 90%, #216146 90%, #216146 100%);
  background: -webkit-linear-gradient(#236549 0%, #236549 90%, #216146 90%, #216146 100%);
  background: -moz-linear-gradient(#236549 0%, #236549 90%, #216146 90%, #216146 100%);
}
.menuArea ul {
  margin: 0;
  padding: 0;
}
.menuArea ul li {
  padding: 40px 20px 0 20px;
  margin-left: 19px;
  line-height: 1.35em;
  font-size: 20px;
  color: #47555e;
}
.menuArea ul li a:hover {
  text-decoration: none;
}
.main-drop {
  display: none;
}
.btn {
  cursor: pointer;
  padding: 1em 2em;
  border: 2px solid #fff;
  text-align: center;
  margin: 1em auto;
  color: #fff;
  display: inline-block;
  font-size: 1.2em;
}
.btn:hover {
  background: #fff;
  color: #35434e;
}
/*** FOOTER ***/
footer {
  background: #47555e;
  clear: both;
  padding: 3.75em 0 4em;
  color: #ffffff;
}
footer .rightContent {
  max-width: 635px;
  text-align: right;
}
.moms_demand_action_logo {
  background-image: url(img/logo_m_d_a.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 6.8em;
  height: 3.75em;
  margin-right: 2.5em;
}
.everytown_logo {
  background-image: url(img/logo_everytown.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 8.125em;
  height: 3.75em;
}
footer p {
  margin-top: 0;
  font-size: 1.125em;
}
footer li {
  float: right;
  margin-left: 0.7em;
  font-weight: 600;
  font-size: 1.125em;
}
/*================== HOME ==================*/
.five-column {
  color: #47555e;
  font-weight: 800;
  text-align: center;
}
.five-column .top-section p {
  font-weight: 400;
}
.five-column h2 {
  margin-bottom: 0;
}
.five-column p {
  margin-top: 5px;
}
.five-column .columns > div {
  width: 180px;
  margin: 0 10px;
}
.two-column .columns {
  text-align: center;
}
.two-column .columns > div {
  max-width: 400px;
  margin: 0 40px;
}
.columns  > div,
.two-column  > div,
.three-column li {
  display: inline-block;
  padding: 20px;
  vertical-align: top;
}
.three-column > ul {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 0px;
  margin-left: 0;
  padding-left: 0;
}
.signup.two-column {
  text-align: center;
  padding: 80px 0;
  color: #ffffff;
}
.signup.two-column > div {
  text-align: left;
}
.signup.two-column > div:first-child {
  max-width: 440px;
  margin: 0 60px 0 0;
}
.signup.two-column > div:last-child {
  max-width: 370px;
}
.signup.two-column h1 {
  margin-top: 0;
  text-align: left;
}
.signup.two-column form li {
  width: 100%;
}
.signup.two-column input:not([type="submit"]) {
  margin: 5px auto 20px auto;
}
.signup.two-column .img-form {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  margin: 20px 0;
}
#lbcontent {
  width: 70%;
  max-width: 730px;
  margin: 100px auto 0 auto;
  overflow: auto;
  max-height: 700px;
  color: #ffffff;
  text-align: center;
}
#lbcontent .signup.two-column {
  padding: 30px 0;
}
#lbcontent .signup.two-column > div:first-child {
  max-width: 300px;
  margin-right: 0;
  text-align: left;
}
#lbcontent .signup.two-column > div:last-child {
  max-width: 300px;
}
/*=========== Form ===========*/
#form {
  background: #222222;
}
#form #first {
  width: 100%;
  height: 18.125em;
  padding-top: 25em;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}
#form #second .content {
  padding: 2.95em 0;
  max-width: 545px;
}
#form #second h1 {
  font-size: 2.875em;
  color: #fff;
  line-height: 1em;
  text-align: left;
}
#form #second h1 span {
  color: #674a7e;
}
#form #second p {
  font-size: 1.125em;
  line-height: 1.44em;
  color: #fff;
}
.share_fb,
.share_tw {
  background: #29b09b;
  display: inline-block;
  width: 100px;
  text-align: center;
  vertical-align: top;
}
.share_fb img,
.share_tw img {
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
}
.share_fb span,
.share_tw span {
  line-height: 1.3;
}
.share_fb {
  margin: 20px 20px 0 0;
}
.share_tw {
  margin: 20px 20px 0 20px;
}
#lbcontent .share_fb {
  margin: 20px 10px 0 0;
}
#lbcontent .share_tw {
  margin: 20px 0 0 10px;
}
.display-block {
  display: block;
}
/*================= CONTACT ====================*/
#contact #signup {
  padding: 14em 0 4em;
}
#contact h2 {
  color: #fff;
  text-align: left;
}
#signup #signup-replacement h1 {
  line-height: 1em;
  margin: 1em auto 0;
  color: #fff;
}
#signup #signup-replacement p {
  text-align: center;
  margin: 0.5em auto;
}
/*============ FORM =============*/
#form #second h1 {
  font-size: 2.875em;
  color: #fff;
  line-height: 1em;
  text-align: left;
}
#form #second h1 span {
  color: #674a7e;
}
#form #second p {
  font-size: 1.125em;
  line-height: 1.44em;
  color: #fff;
}
.accordion {
  display: none;
}
header .accordion-opener {
  position: relative;
  height: 42px;
  cursor: pointer;
  display: none;
}
header .accordion {
  border: none;
  color: #47555e;
  background-color: #ffffff;
  font-size: 18px;
  display: none;
  outline: none;
  padding: 20px;
  margin: 0;
  text-transform: capitalize;
  -webkit-appearance: none;
  overflow: hidden;
  position: absolute;
  right: 0;
}
header .accordion li {
  margin-left: 0;
  padding: 20px;
  font-weight: 800;
  display: block;
}
header .accordion li:last-child {
  color: #29b09b;
}
.hamburger {
  position: absolute;
  right: 0;
  bottom: 0;
  display: none;
}
.hamburger span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #47555e;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}
.hamburger span:first-child {
  transform-origin: 0% 0%;
}
.hamburger span:nth-last-child(2) {
  transform-origin: 0% 100%;
}
#menu-main-menu a {
  font-weight: 800;
  cursor: pointer;
}
#menu-main-menu li:last-child a {
  display: block;
  background-color: #29b09b;
  color: #ffffff;
  padding: 10px 30px;
  border-radius: 30px;
}
.btn-green,
.btn-grey {
  display: block;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}
.btn-green {
  background-color: #29b09b;
  max-width: 200px;
  margin: 10px auto 20px auto;
}
.btn-grey {
  background-color: #47555e;
  max-width: 220px;
  margin: 5px 0;
}
.feat-image,
#header_form {
  height: 450px;
  margin: 0 auto;
}
#header_form {
  max-width: 1300px;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: right;
  color: #ffffff;
}
#header_form h2,
#header_form p {
  text-align: center;
  color: #ffffff;
}
#header_form > div {
  display: inline-block;
  width: 50%;
  background-color: #47555e;
  color: #47555e;
  padding: 20px 40px;
  height: 450px;
}
#header_form .fields {
  text-align: center;
}
#header_form input:not([type="submit"]) {
  max-width: 300px;
  margin: 5px 8px 20px 8px;
  text-align: left;
}
#signup-replacement {
  display: none;
}
form ul {
  color: #47555e;
}
.top-section {
  max-width: 650px;
}
.container.resources {
  padding-bottom: 100px;
}
.container.resources li {
  width: 300px;
  text-align: center;
  margin-bottom: 40px;
}
.container.resources li h2 {
  max-width: 180px;
  margin: 20px auto 20px auto;
}
.container.resources li div {
  margin-bottom: 6px;
}
.container.resources li .caption.green {
  text-transform: lowercase;
}
.container.resources li a {
  font-size: 18px;
}
.container.resources li img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto;
}
/*================ RESPONSIVE MEDIA QUERIES ================*/
@media (min-width: 1300px) {
  /* === Small Notebooks === */
  #header_form {
    background-position: right 300px bottom 90% !important;
  }
  .feat-image {
    background-size: 1300px !important;
  }
}
@media (max-width: 1050px) {
  /* === Small Notebooks === */
  .content {
    padding: 0 2%;
  }
  #header_form h2 {
    font-size: 24px;
    margin-top: 10px;
  }
}
@media (max-width: 820px) {
  /* === Smartphone === */
  .container.resources > div:first-child {
    height: 300px;
  }
  .container.resources li {
    width: 250px;
  }
  #lbcontent {
    margin: 50px auto 0 auto;
  }
  #lbcontent .share_fb,
  #lbcontent .share_tw {
    width: 80px;
    margin-bottom: 50px;
  }
  #lbcontent .share_fb img,
  #lbcontent .share_tw img {
    width: 50px;
    height: 50px;
  }
  .feat-image {
    height: 250px !important;
  }
  .hide-mobile,
  .menu-header {
    display: none;
  }
  .show-mobile {
    display: block;
  }
  .signup.two-column > div {
    display: block;
    margin: 0 auto !important;
  }
  .signup.two-column > div:last-child {
    max-width: 440px;
  }
  .signup.two-column .img-form {
    margin: 0 auto 60px auto !important;
    width: 250px;
    height: 250px;
  }
  .five-column .columns > div {
    display: block;
    margin: 0 auto;
    padding: 5px 20px;
  }
  #menu-main-menu {
    display: none;
  }
  .two-column .columns > div {
    margin: 0;
  }
  #lbcontent {
    width: 80%;
    max-height: 100%;
  }
  header .accordion-opener,
  header .hamburger {
    display: block;
  }
  #first,
  #second,
  #third,
  #fourth,
  #signup,
  #form,
  #resources,
  #masthead,
  #internalPage,
  #quiz,
  footer,
  header {
    min-width: 0;
  }
  .content {
    padding: 0%;
  }
  #header_form {
    background: none;
    height: auto !important;
  }
  #header_form > div {
    display: block;
    width: 100%;
    height: auto !important;
  }
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 24px;
  }
  header {
    height: 90px;
    position: fixed;
  }
  .container {
    margin-top: 90px;
  }
  .container.more-margin {
    margin: 150px 0 100px 0;
  }
  header.scrolled {
    top: 0;
  }
  .content {
    width: 94%;
  }
  .menuArea {
    min-width: 45%;
  }
  header.scrolled,
  header.scrolled-up {
    -webkit-animation: none;
    animation: none;
  }
  .logoArea,
  .logoArea.scrolled,
  .logoArea.scrolled-up {
    width: 9.5em !important;
    height: 5em  !important;
    margin-top: 0 !important;
    background-size: 6% 3%  !important;
    -webkit-animation: none;
    animation: none;
  }
  .logo,
  .logoArea.scrolled .logo,
  .logoArea.scrolled-up .logo {
    width: 6em  !important;
    height: 3em  !important;
    margin: 1em auto  !important;
    -webkit-animation: none;
    animation: none;
    cursor: pointer;
  }
  .leftContainer,
  .rightContainer {
    max-width: 100%;
    float: none;
  }
  footer .content {
    text-align: center;
  }
  footer p {
    text-align: center;
    margin-top: 1.5em;
  }
  footer .everytown_logo,
  footer .moms_demand_action_logo {
    float: none;
  }
  footer ul {
    text-align: center;
  }
  footer li {
    float: none;
    margin: 0.5em 0.3em 0.1em;
  }
  .ninja-forms-response-msg.ninja-forms-error-msg {
    text-align: center;
  }
  #lbcontent iframe {
    width: 100%;
  }
  #contact #signup {
    padding: 7em 0 4em;
  }
  #home #about {
    padding: 3em 0 3em;
  }
  .video-container {
    position: relative;
    overflow: hidden;
    padding-top: 42% !important;
    margin: 0 auto 1em auto;
  }
}
.video-container {
  position: relative;
  overflow: hidden;
  padding-top: 42% !important;
  margin: 0 auto;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
