/** "PRESIDENTIAL PLASTICS PLAN" MICROSITE **/
/** Designed by Devyn W Powell // 2020 **/


/** ============================ **/
/** -- COLORS -- ** 

BFFP dark green: #083742 // rgb(8, 55, 66)
BFFP medium teal: #3A8C9E // rgb(58, 140, 158)
BFFP light blue: #ADD8E6 // rgb(173, 216, 230)
BFFP light orange: #FF9D0D // rgb(255, 157, 13)
BFFP dark orange: #FF6C00 // rgb(255, 108, 0)


/** ============================ **/
/** -- PAGE SETUP -- **/

* {
 box-sizing: border-box;
}

*:before,
*:after {
 box-sizing: border-box;
}

html,
body {
 height: 100%;
 position: relative;
 margin: 0;
}

.page-container {
    min-height: 100vh; /* will cover the 100% of viewport */
  overflow: hidden;
  display: block;
  position: relative;
}

.content-wrap {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  z-index:999;
}

.content-block {
  padding-left: 170px;
  padding-right: 170px;
  z-index: 99999;
}

@media only screen and (max-width: 962px) {
  .content-block {
    padding-left: 80px;
    padding-right: 80px;
  }
}

@media only screen and (max-width: 860px) {
  .content-block {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media only screen and (max-width: 600px) {
  .content-block {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media only screen and (max-width: 400px) {
  .content-block {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/** ============================ **/
/** -- FONTS + COLORS  -- **/

body, p, .collapsible {
  font-family: 'Overpass', helvetica, sans-serif;
  font-weight: 300;
}

body p {
  font-size: 18px;
  line-height: 1.4em;
  color: #212121;
}

.content p, .content, .intro .content p {
 font-size: 18px;
 line-height: 1.4em;
 color: #212121;
}

h1, h2 {
  text-align: center;
  text-transform: uppercase;
  line-height: 1.1em;
  font-family: 'Bebas Neue', helvetica, sans-serif;
  letter-spacing: 0.03em;
  font-weight: 400;
}

h1 {
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  font-size: 2.6em;
}

h2 {
  font-size: 1.8em;
}

h3 {
    font-family: 'Bebas Neue', Impact, sans-serif;
    text-align: center;
    font-size: 1.4em;
    letter-spacing: 0.04em;
    margin-bottom: 0.3em;
}

/** -- links -- **/

p a,
h1 a, 
h2 a,
h3 a {
  color: #3A8C9E;
  border-bottom: 1px solid rgba(85, 85, 85, 0.25);
  text-decoration: none;
  transition: 0.1s ease-in-out;
  -webkit-transition: 0.1s ease-in-out;
}

p a:hover,
h1 a:hover, 
h2 a:hover,
h3 a:hover {
  color: #212121;
  border-bottom: 1px solid #FF9D0D;
  transition: 0.1s ease-in-out;
  -webkit-transition: 0.1s ease-in-out;
}

button a, .offset a,
button a:hover, .offset a:hover {
  border: none;
}

.offset.white:hover {
    color: #fff;
}

/** -- color variations -- **/

.white, p.white, button.white {
  color: #fff;
}

.teal, p.teal, h1.teal, h2.teal, h3.teal {
  color: #3A8C9E;
}

.gray-wrap {
  background-color: #232323;
  color: #fff;
}

.dark-wrap {
  background-color: #083742;
  color: #fff;
}

.green-wrap {
  background-color: #ADD8E6;
  color: #212121;
}

.green-wrap, .dark-wrap {
  padding-top: 20px;
  padding-bottom: 40px;
  margin-bottom: 0;
  margin-top: 0;
}

.gray-wrap p, .gray-wrap span,
.dark-wrap p, .dark-wrap span,
.dark-wrap h2 {
  color: #fff;
}

.gray-wrap p a,
.dark-wrap p a {
  color: #fff;
  font-weight: 300;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.gray-wrap p a:hover,
.dark-wrap p a:hover {
  color: #083742;
  border-bottom: 1px solid #fff;
}

.dark-wrap h3 {
  color: rgba(255,255,255,0.8);
}

.dark-wrap button.gradient {
    border-color: rgba(255,255,255,0.6);
}

.dark-wrap button.gradient:hover {
    border-color: #fff;
}

/** -- list style -- **/


/** =========================== **/
/** -- BUTTONS -- **/

/** orange gradient button **/

.gradient {
  position: relative;
  z-index: 1;
  
    font-family: 'Overpass', sans-serif;
    line-height: 1;
    font-size: 1.2em;
    font-weight: 400;
    text-transform: uppercase;
     border: 2px solid #083742;
    color: #fff;
    background: #3A8C9E;
    padding: 1em 2em;
    margin: 20px 8px;
    
     moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.gradient::before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
   background: linear-gradient(to right, #FF9D0D 0%, #FF6C00 100%);
 
  z-index: -1;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
  opacity: 0;
}

.gradient:hover::before {
  opacity: 1;
}

/** white outline button **/

.outline-button {
 font-family: 'Overpass', sans-serif;
    line-height: 1;
    font-size: 0.8em;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    border: 2px solid #ADD8E6;
    color: #ADD8E6;
    background: transparent;
    padding: 0.8em 1.6em;
        display: inline-block;
    margin-left: 0.6em;
    margin-right: 0.6em;
     max-width: 100%;
     transition: 0.4s;
}

.outline-button:hover {
   transition: 0.4s;
   background: #3A8C9E;
   color: #fff;
   border-color: #3A8C9E;
}


/** button sizes **/

  .button-small, button.button-small {
      padding: 0.85em 1.8em;
      margin: 16px;
      font-size: 0.95em;
  }

   .button-smaller, button.button-smaller {
        padding: 0.75em 1.5em;
        margin: 16px;
        font-size: 0.8em;
  }
  

/** =========================== **/
/** TITLE **/

#title-outer {
  width: 100%;
  padding: 0;
  background: url('images/pollution-trash-i-desquido-freecommercial-pxfuel.jpg');
    background-attachment: fixed;
      background-size: cover;
   background-position: 50% 60%; 
}

#title-wrap {
   width: 100%;
   padding: 90px 180px; 
}

.title-number {
  font-weight: 800;
  color: #FF9D0D;
}

h1.title {
  font-size: 4.0em;
  font-weight: 700;
  margin-bottom: 0.1em;
}

.title-orange, span.title-orange {
  color: #FF9D0D;
}

.title-white, span.title-white {
  color: #FFFFFF;
}

.title2, h2.title2 {
  margin-top: 0em;
  font-size: 2.3em;
}

h1.shadow, h2.shadow, p.shadow {
  text-shadow:1px 1px 14px rgba(0,0,0,0.2), 1px 1px 14px rgba(35,35,35,0.3);
}

@media only screen and (max-width: 980px) {
  h1.title {
  font-size: 3.7em;
  }
}

@media only screen and (max-width: 850px) {
  h1.title {
  font-size: 3.1em;
  padding-top: 0.1em;
  color: #fff;
  }

  #title-wrap {
    padding: 80px 60px;
  }

  .background-wrap {
    padding: 50px 30px;
  }
}

@media only screen and (max-width: 600px) {
  h1.title {
  font-size: 2.6em;
  padding-top: 0.1em;
  color: #fff;
  }

  .title2, h2.title2 {
    font-size: 2.1em;
  }


  #title-wrap {
    padding: 50px;
  }

  .background-wrap {
    padding: 40px;
  }

  .title-number {
    font-weight: 700;
  }
}

@media only screen and (max-width: 485px) {
    h1.title {
    font-size: 2.1em;
    padding-top: 0.1em;
    color: #fff;
  }

  .title2, h2.title2 {
    font-size: 1.8em;
  }

  #title-wrap {
    padding: 45px 28px;
  }
}

/** ============================ **/
/** -- DISPLAY LOGOS -- **/

#partners {
  padding: 8px 30px 30px 30px;
}

#endorsers {
  padding-left: 80px;
  padding-right: 80px;
  hyphens: auto;
}

#endorsers, #endorsers p {
  font-size: 14px;
  line-height: 1.2em;
  text-align: left;
}

#endorsers p {
    margin-bottom: 9px;
    margin-top: 6px;
}

@media only screen and (max-width: 800px) {
  #endorsers {
  padding-left: 50px;
  padding-right: 50px;
    }
  }

@media only screen and (max-width: 600px) {
  #endorsers {
      padding-left: 30px;
      padding-right: 30px;
    }

  #endorsers, #endorsers p {
    text-align: center;
  }
  }

/** -- responsive flex layout setup - used mostly for logos but ALSO nav -- **/

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 12px;
  align-items: center;
}

/* Create SIX equal columns */
.column {
  flex: 16.6%;
  max-width: 16.6%;
  padding: 0 8px;
  align-items: center;
}

/* Create FIVE equal columns */
.five .column {
  flex: 20%;
  max-width: 20%;
  padding: 0 8px;
}

/* Create FOUR equal columns */
.four .column {
  flex: 25%;
  max-width: 25%;
  padding: 0 8px;
}

.four .column img {
  padding: 60px;
}


.column img {
  margin-top: 8px;
  padding: 36px;
  vertical-align: middle;
  width: 100%;
}

/* Responsive layout - adjusting padding at different widths for 6-column layout */
@media screen and (max-width: 1060px) {
  .column img, .four column img, .five column img {
    padding: 24px;
  }
}

@media screen and (max-width: 930px) {
  .column img, .four column img, .five column img  {
    padding: 18px;
  }
}

@media screen and (max-width: 810px) {
  .column img, .four column img, .five column img  {
    padding: 10px;
  }
}

/* Responsive layout - makes a THREE column-layout */
@media screen and (max-width: 720px) {
  .column, .five .column {
    flex: 33%;
    max-width: 33%;
  }

  .column img, .four column img, .five column img  {
    padding: 24px 36px;
  }
}

/* Responsive layout - makes a THREE column-layout */
@media screen and (max-width: 620px) {
  .column img, .four column img, .five column img  {
    padding: 18px 22px;
  }
}

/* Responsive layout - stacked single columns for mobile view */
@media screen and (max-width: 620px) {
  .column, .twocolumn .row .column, #nav .row .column {
    flex: 100% !important;
    max-width: 100% !important;
  }

  .column img {
    padding: 40px;
  }
}

/** columns **/

/* Create TWO equal columns */
.twocolumn .row .column {
  flex: 50%;
  max-width: 50%;
  padding: 0 8px;
}

.twocolumn {
  align-items: baseline;
}

/** endorsing partners variation - text **/

/* Create THREE equal columns */

#endorsers .row {
  width: 100%;
  align-items: stretch;
}

#endorsers .row .column {
  flex: 33%;
  max-width: 33%;
  padding: 0 12px;
  text-align: center;
  align-items: stretch;
}

@media screen and (max-width: 600px) {
  #endorsers .row .column {
    flex: 100%;
    max-width: 100%;
  }
}


/** ============================ **/
/** -- "NAVIGATION" -- **/

#nav {
  padding: 2em 1em 3em 1em;
  background: #3A8C9E;
}

#nav, #nav p {
  color: #fff;
  line-height: 1.1em;
  text-align: center;
  hyphens: none;
}

#nav p a,
#nav h1 a,
#nav h2 a,
#nav h3 a {
  color: #fff;
  font-weight: 300;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

#nav p a:hover {
  color: #083742;
  border-bottom: 1px solid #fff;
}

/*** NEW LINK HOVER ***/

.orange a:hover {
  background-color: #FF9D0D;
  background: linear-gradient(to right, #FF9D0D 0%, #FF6C00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    border-bottom: 2px solid rgba(173, 216, 230,0.3);

    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.orange a {
  font-size: 1.1em;
  color: #fff;
  font-family: 'Bebas Neue', helvetica, sans-serif;
  letter-spacing: 0.05em;
  font-weight: 400;
  padding: 0.4em;
  border-bottom: 2px solid #ADD8E6;
  text-decoration: none;
  
  moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

/***********************/

/* align buttons / menu items */

 #nav .row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 72px;
  width: 100%;
  align-items: baseline;
}

/* Create FOUR equal columns */
#nav .row .column {
  flex: 25%;
  max-width: 25%;
  padding: 0 8px;
  align-items: baseline;
}


@media screen and (max-width: 960px) {
  #nav .row {
    padding: 0 26px;
  }
}

 @media screen and (max-width: 760px) {
  #nav button {
    margin: 10px 4px;
  }
}

@media screen and (max-width: 620px) {
  #nav .row .column {
    flex: 100% !important;
    max-width: 100% !important;
  }

  #nav .orange:nth-of-type(n+2) {
    margin-top: 3em;
  }

}


/** ============================ **/
/** -- FOOTER  -- **/

#footer {
  clear: both; 
    position: relative; 
    z-index: 1; 
    height: auto; 
    margin-top: 8em;
    margin-bottom: 0 !important;
    bottom: 0 !important;
    background: #3A8C9E;
    border-top: 2px solid #083742;
      width: 100%; /* fallback */
      width: 100vw;
    padding: 0 !important;
}

.footer-inner {
  width: 100%;
  padding: 30px;
  color: #fff;
  background: transparent;

}

.footer-inner p {
  color: #fff;
  text-align: center;
  font-weight: 300;
  font-size: 16px;
}

.social {
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.social img {
      transition: 0.2s ease-in-out;
  -webkit-transition: 0.2s ease-in-out;
  margin: 10px;
  width: 30px;
}

.social img:hover {
  opacity: 0.6;
      transition: 0.2s ease-in-out;
  -webkit-transition: 0.2s ease-in-out;
}


/** ============================ **/
/** -- COLLAPSIBLE LIST -- **/

/** all formatting **/

.collapsible {
  cursor: pointer;
  margin-top: 0px;
  width: 100%;
  text-align: left;
  outline: none;
  border-bottom: 2px solid transparent;
    transition: 0.2s ease-in-out;
  -webkit-transition: 0.2s ease-in-out;
}

.content {
  max-height: 0;
  margin-top: 0px;
  overflow: hidden;
  transition: max-height 0.25s ease-in-out;
}

.content-inner {
  padding-bottom: 40px;
  padding-top: 30px;
  margin-top: 0px;
}


.collapsible:after {
    content: '\002B';
    color: #212121;
    font-weight: 700;
    float: right;
    margin-bottom: 8px;
    margin-left: 5px;
    font-family: 'Overpass', sans-serif;
}


.active:after, .collapsible-list:hover:after {
  color: #3A8C9E;
}

.active:after {
  content: "\2212";
}

.collapsible:not(.active) {
  margin: 0px auto;
}

/** main list **/

.collapsible-list {
  padding: 30px 170px 10px 170px;
  background-color: #fff;
  border: 0px;
  border-bottom: 2px solid #3A8C9E;
  color: #212121;
  font-size: 20px;
  font-family: 'Overpass', helvetica, sans-serif;
  font-weight: 400;
}

.collapsible-alternate {
  background-color: #f1f1f1;
}

.list-content {
    background-color: #ADD8E6;
    padding: 0px 180px;
    margin-top: 0px;
}

@media only screen and (max-width: 860px) {
  .collapsible-list, .list-content {
    padding-left: 60px;
    padding-right: 60px;
  }
}


@media only screen and (max-width: 600px) {
  .list-content {
    padding: 0px 30px;
  }

  .collapsible-list {
    padding: 18px 20px;
  }
}


.active, .collapsible-list:hover {
  background-color: #083742;
  color: #fff;
  border-bottom: 2px solid #FF9D0D;
    transition: 0.2s ease-in-out;
  -webkit-transition: 0.2s ease-in-out;
}

/** intro only **/

.collapsible-intro {
  background-color: rgba(255, 255, 255, 0);
  padding-top: 30px;
  padding-bottom: 10px;
  color: #212121;
  font-size: 20px;
  font-family: 'Overpass', helvetica, sans-serif;
  font-weight: 300;
  border: 0px;
  border-bottom: 1px dashed #3A8C9E;
  text-transform: uppercase;
}

.collapsible-intro:after {
    font-weight: 400;
    font-size: 20px;
}

.collapsible-intro:hover, .collapsible-intro.active {
  background-color: rgba(255, 255, 255, 0);
 /* border-bottom: 2px solid #083742; */
    transition: 0.2s ease-in-out;
  -webkit-transition: 0.2s ease-in-out;
}

.collapsible-intro:hover {
  color: #3A8C9E;
}

.collapsible-intro.active {
  color: rgba(58, 140, 158, 0.4);
   border-bottom: 1px dashed rgba(58, 140, 158, 0.4);;
}

/* mobile-only "go up" links */

.go-up {
  font-size: 70%;
}

@media only screen and (min-width: 601px) {
  .go-up {
    display: none;
  }
}


/** =========================== **/
/** -- MORE INTRO FORMATTING -- **/

.intro {
  background: #fff;
  padding-top: 20px;
  padding-bottom: 40px;
}

/** =========================== **/
/** -- MORE LIST FORMATTING -- **/

.list-wrap {
  display: flex;
  align-items: center;
     padding-top: 5px;
}

.list-image {
   align-items: center;
   margin-right: 36px;
}

@media only screen and (max-width: 600px) {
  .list-image {
   align-items: center;
   margin-right: 25px;
  }
}

.list-item {
   align-items: center;
}

.list-number {
  font-size: 30px;
  padding-right: 8px;
  color: #3A8C9E;
}

/** =========================== **/
/** -- FLOATING BACK TO TOP + SOCIAL SHARE BUTTONS -- **/

/* container */
#back-to-top {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 36px;
    height: 36px;
    z-index: 99;
}

/* floating button styles */
.floating-button {
  width: 32px;
  height: 32px;
  box-sizing: border-box;
  border: none;
  border-radius: 0%;
  z-index: 99;
  font-size: 18px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 300;
  outline: none;
  color: white;
  cursor: pointer;
  margin-bottom: 6px;
  transition: 0.2s ease-in-out;
  -webkit-transition: 0.2s ease-in-out;
}

.floating-button:hover {
  background-color: rgba(255, 108, 0, 0.8);
  transition: 0.2s ease-in-out;
  -webkit-transition: 0.2s ease-in-out;
}

.back-to-top {
    padding: 8px 8px 5px 8px;
    background-color: rgba(8, 55, 66, 0.6);
}

.floating-social {
    padding: 4px;
    background-color: rgba(58, 140, 158, 0.7);
}

#floating-fb, #floating-tw {
  fill: rgb(255,255,255)
}

/** ============================ **/
/** -- VIDEO BLOCK -- **/

.video-wrapper { 
    position: relative; 
    padding-bottom: 56.25%; 
    padding-top: 30px; 
    height: 0; 
    overflow: hidden; 
    text-align: center;
    margin: 1.6em auto;
}

.video-wrapper iframe, 
.video-wrapper object, 
.video-wrapper embed {
     position: absolute; 
     top: 0; left: 0; 
     width: 100%; 
     height: 100%; 
  }

/** ============================ **/
/** -- MISC STYLES / OTHER TEXT -- **/

hr {
  border: none;
  background: transparent;
  border-top: 1px solid #ADD8E6;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.hr-indigo {
  border-top: 1px solid #083742;
}

/**/

.text-large, p.text-large {
  font-size: 1.2em;
}

.subtitle, .subtitle p {
  font-family: 'Overpass', helvetica, sans-serif;
  font-size: 1.2em;
  font-weight: 300;
  line-height: 1.3em;
}

/* can apply to h2 or h1 for extra padding + style */

.section-title {
  padding-top: 0.6em;
  padding-bottom: 0.2em;
  margin-bottom: 0.4em;
      margin-right: auto;
    margin-left: auto;
      display: table;
      text-align: center;
  border-bottom: 3px solid #3A8C9E;
}


/* spacer block */

.white-space {
  width: 100%;
  background: transparent;
  height: 60px;
}

.white-space-20 {
  width: 100%;
  background: transparent;
  height: 20px;
}

/** -- IMAGE HEADINGS - BACKGROUND + OVERLAY -- **/

.overlay-wrap {
   background-attachment: fixed;
   background-position: 50% 50%;
    background: fixed 
    linear-gradient(
      120deg, rgba(8, 55, 66, 0.6), rgba(58, 140, 158, 0.3)
      );
    }

.overlay-wrap-lighter {
   background-attachment: fixed;
   background-position: 50% 50%;
    background: fixed 
    linear-gradient(
      120deg, rgba(8, 55, 66, 0.4), rgba(58, 140, 158, 0.1)
      );
    }


#image-only-block1 {
  background: url('images/pexels-catherine-sheila-2409022.jpg');
  background-size: cover;
  background-position: 50% 75%;
}

#image-only-block2 {
  background: url('images/seaturtle__4_photo_by_Raftography_Sustainable_Coastlines_Hawaii_FPWC_OK_for_Media_Use-lpr.jpg');
  background-size: cover;
  background-position: 50% 52%;
}

#resources-title  {
  background: url('images/safety-net-3289548-pixabay-free.jpg');
  background-attachment: fixed;
    background-size: cover;
  background-position: 60% 25%;
      margin-bottom: 0px;
}

.resources-buttons {
  /* padding-left: 80px;
  padding-right: 80px; */
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.resources-buttons .outline-button {
  margin-bottom: 0.8em;
}


/*@media only screen and (max-width: 800px) {
  .resources-buttons {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media only screen and (max-width: 600px) {
    .resources-buttons {
      padding-left: 20px;
      padding-right: 20px;
    }
}*/

/** image blocks **/

.image-block,
.image-block.overlay-wrap {
  height: 26vw;
}

@media only screen and (max-width: 1140px) {
    .image-block,
    .image-block.overlay-wrap {
    height: 32vw;
  }
}


@media only screen and (max-width: 600px) {
    .image-block,
    .image-block.overlay-wrap {
    height: 17em;
  }
}

.background-wrap {
    padding: 70px 40px;
  }

/* ====== ACTION NETWORK EMBEDDED FORM STYLES ======= */

div#s2id_state {
    display: none;
}

input.checkbox_group:last-child {
    display: none;
}

.an-embedded li {
    list-style-type: none;
}

span.international_link-wrap,
#form-country span,
#form-country,
span.can_selectInner, .floatlabel-label,
#logo_wrap,
div#d_sharing,
.action_info_user,
label.floatlabel-label.floatlabel-label-inactive,
.floatlabel-label-inactive, .floatlabel-label-focus,
img.ajax-loading {
    display: none !important;
  }

#can_embed_form {
    padding: 0 2rem 0 2rem;
}

.an-embedded {
    border: 2px solid #3A8C9E;
    padding: 1em 1.8em 2em 1.8em;
    margin-top: 1.5em;
}

@media only screen and (max-width: 500px) {
    .an-embedded {
        padding: 0.5em 0.5em 0.8em;
    }

    #can_embed_form input[type=submit] {
        padding: 0.8em !important;
        font-size: 1.1em !important;
    }
}

@media only screen and (max-width: 370px) {
    .an-embedded {
        padding: 0.4em;
    }
    
    #can_embed_form input[type=submit] {
        padding: 0.7em !important;
        font-size: 1em !important;
    }
}

/* hiding AN's form titles */

#can_embed_form_inner h2,
#can_embed_form_inner h3,
#can_embed_form_inner h4 {
    display: none;
}

#can_embed_form, 
#can_embed_form input, 
#can_embed_form span,
#can_embed_form p {
    font-family: 'Overpass', sans-serif;
}

#can_embed_form input,
#can_embed_form label {
    font-size: 1rem;
    font-weight: 300;
}

/* submit button */

#can_embed_form input[type=submit] {
 font-family: 'Overpass', sans-serif;
 line-height: 1;
 font-size: 1.2em;
 font-weight: 400;
 text-transform: uppercase;
 text-align: center !important;
 border: 2px solid #083742;
 color: #fff;
 background: #3A8C9E;
 padding: 1em 2em;
 display: block;
 margin-left: auto;
 margin-right: auto;
 max-width: 100%;
}

#can_embed_form input[type=submit]:hover {
   background: linear-gradient(to right, #FF9D0D 0%, #FF6C00 100%);
   transition: 0.2s;
}

/* field styles */

label.checkbox {
    font-size: 1.4rem !important;
}

li.core_field, li.control-group  {
    margin-left: 0;
}

li.core_field {
    margin-bottom: 0;
    margin-top: 0;
}

.control-label {
  margin-top: 1.5rem;
    line-height: 1;
}

#can_embed_form input[type="text"],
#can_embed_form input[type="email"],
#can_embed_form textarea {
  /*  width: 100%; */
    padding: 0.8em;
    border: 1px solid #083742;
    border-radius: 0px;
    background: rgba(255,255,255,0.8);
    color: var(--text-color);
}

#can_embed_form input[type="text"]:focus,
#can_embed_form input[type="email"]:focus,
#can_embed_form textarea:focus {
    outline: none;
    border: 1px solid #FF6C00;
    background: rgba(255,255,255,1);
}

#can_embed_form input[type="text"],
#can_embed_form input[type="email"] {
      display: flex;
      margin: 0.5em;
    margin-bottom: 0.5em;
}

#can_embed_form textarea {
    display: block;
    margin-right: auto !important;
    margin-left: auto !important;
    max-width: 100%;
    margin-bottom: 2.6em;
    max-height: 7em;
    font-family: 'Overpass', helvetica, sans-serif;
    font-size: 0.9em;
}

/* flex wrapping for AN form - to go back to normal, switch input width to 100% and remove these */

#can_embed_form #form_col1 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#can_embed_form #form_col1 {
    margin: 1.6em auto;
}

@media only screen and (max-width: 1410px) {
   #can_embed_form #form_col1 {
       padding-left: 7em;
       padding-right: 7em;
   }
}

@media only screen and (max-width: 1180px) {
   #can_embed_form #form_col1 {
       padding-left: 3em;
       padding-right: 3em;
   }
}

@media only screen and (max-width: 1080px) {
   #can_embed_form #form_col1 {
       padding-left: 0em;
       padding-right: 0em;
   }
}


@media only screen and (max-width: 383px) {
   #can_embed_form #form_col1 {
       margin-bottom: 0.5em;
   }
}


@media only screen and (max-width: 383px) {
   #can_embed_form #form_col1 {
       margin-bottom: 0.5em;
   }
}

#can_embed_form #form_col2 {
    margin: 0px auto 1.5em auto !important;
    width: 100%;
}


/**** adjusting elements on the thank you form ****/

/* border around thank you block only:
.can_thank_you_wrap {
  border: 1px solid #3A8C9E;
} */

/* border around whole form:
#can_embed_form {
  border: 1px solid #3A8C9E;
  padding-bottom: 1.8em;
} */


#can_thank_you h1 {
  font-family: 'Overpass', sans-serif;
  font-size: 1.4em;
  padding-top: 0.5em;
  padding-bottom: 0;
  margin-bottom: 0.5em;
  color: #3A8C9E;
}

#can_thank_you h4 {
    text-align: center;
    font-size: 1rem;
    padding-top: 0;
    margin-top: 0;
    font-weight: 400;
    font-style: italic;
}


/* hides TY form elements, incl. "email a friend" and "embed" */
#can_embed_form .can_thank_you-block:nth-of-type(n+3),
#can_embed_form #referral_code_select_wrap,
.can_thank_you-block .block.graytext,
.can_thank_you-block .direct_link,
.can_thank_you-block h4.widget_title,
.can_thank_you-block #petition-email_friend_message {
  display:none !important;
}

/* format thank you social sharing */
.can_thank_you-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 2em;
}

a.share_button, button.share_button {
 font-family: 'Overpass', sans-serif;
    line-height: 1;
    font-size: 0.8em;
    font-weight: 400 !important;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center !important;
    border: 2px solid #3A8C9E;
    color: #3A8C9E;
    background: transparent;
    padding: 0.8em 1.6em;
        display: inline-block;
    margin-left: 0.6em;
    margin-right: 0.6em;
     max-width: 100%;
     transition: 0.4s;
}

a.share_button:hover, button.share_button:hover {
   /* background: linear-gradient(to right, #FF9D0D 0%, #FF6C00 100%);
*/
   transition: 0.4s;
   background: #083742;
   color: #fff;
   border-color: #083742;
}

/* "not NAME? click here" */

div#action_welcome_message_inner {
    text-align: center;
    padding-bottom: 1em;
}

#can_embed_form a#log-out {
    color: #3A8C9E;
  border-bottom: 1px solid rgba(85, 85, 85, 0.25);
  text-decoration: none;
  transition: 0.1s ease-in-out;
  -webkit-transition: 0.1s ease-in-out;
}

#can_embed_form a#log-out:hover {
    color: #212121;
  border-bottom: 1px solid #FF9D0D;
  transition: 0.1s ease-in-out;
  -webkit-transition: 0.1s ease-in-out;
}


