/*!
Theme Name: MOA Reverse
Theme URI: http://underscores.me/
Author: Mehdi Eskandari
Author URI: http://www.mehdieskandari.com
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: moa-reverse
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/* Standard Colors */
:root {

  /* Navigation */
  --nav-hover-gray: #f4f4f4;
  --gradient-blue: #0D65A3;
  --gradient-teal: #1DB0BC;
  --button-blue: #105fa8;
  --button-hover-blue: #003a70;
  --tabs-border-gray: #e4e4e4;

  /* Footer */
  --footer-gray: #f7f7f7; 
  --link-blue: #105fa8; 

  /*Components */
  --altfront-header-text: #222;
  --background-dark-blue: #003a70;
  --header-dark-blue: #0e304a;
  --aside-text-gray: #5d5d5d;
  --features-icon-text: #222;
  --highlight-text: #03746e;
  --header-text-gray: #363636;
  --content-text-gray: #4c4c4c;
  --form-gray: #f7f7f7; 
  --form-header-text: #444445;
}


/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
.form-text {
  font-size: 13px;
}
.btn-primary2 {
  color: #fff !important;
  background-color: #003a70 !important;
  border-color: #003a70 !important;
}
.btn-primary2:hover {
  color: #fff !important;
  background-color: #135b9e !important;
  border-color: #135b9e !important;
}

html {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# Thank You
--------------------------------------------------------------*/
.thank-you .box {
  display: block;
  color: #363636;
  padding: 10px 10px;
  margin: 0 auto;
  max-width: 468px;
}

.thank-you .thank-you-text {
  max-width: 438px;
  margin: 0 auto;
}

.thank-you h1 {
  font-size: 32px;
  letter-spacing: -0.36px;
  margin-bottom: 16px;
}

.thank-you h3 {
  font-size: 22px;
  letter-spacing: -0.24px;
  margin-bottom: 16px;
  white-space: nowrap;
}

.thank-you p {
  color: #707070;
  letter-spacing: 0px;
  text-align: center;
  font-size: 16px;
}

.thank-you .btn {
  border-radius: 10px;
  min-height: 63px;
  width: 451px;
  font-size: 26px;
  color: white;
  border-style: none;
  line-height: 3.3rem;
  font-weight: 500;
}

.thank-you .blueButton {
  background-color: #105fa8;
}

.thank-you .blueButton:hover {
  background-color: #003a70;
  color: #fff;
}

.thank-you .getInfo:active,
.thank-you .getInfo:visited,
.thank-you .getInfo {
  background-color: #ebad14;
  background-color: #ebad14;
  background: -webkit-linear-gradient(#ebad14, #c16d03);
  background: -moz-linear-gradient(#ebad14, #c16d03);
  background: -ms-linear-gradient(#ebad14, #c16d03);
  background: -o-linear-gradient(#ebad14, #c16d03);
  background: linear-gradient(#ebad14, #c16d03);
}
.thank-you .getInfo:hover {
  background-color: #df9b0f;
  background: -webkit-linear-gradient(#df9b0f, #b75e02);
  background: -moz-linear-gradient(#df9b0f, #b75e02);
  background: -ms-linear-gradient(#df9b0f, #b75e02);
  background: -o-linear-gradient(#df9b0f, #b75e02);
  background: linear-gradient(#df9b0f, #b75e02);
  color: #ffffff;
}
.thank-you img {
  border: 1px solid #eaeaea;
}

.form-row label {
  font-family: Source Sans Pro;
  font-weight: 400;
  font-size: 18px;
  line-height: 20px;
  color: #0F3063;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: rgb(94 113 144);
  text-align: center;
  border-top: 0.05rem dashed #000000;
  font-size: 12px;
}

#footer-menu, #footer-menu-alt {
  padding-left: 0px;
}

#footer-menu li, #footer-menu-alt li {
  display: inline;
}

#footer-menu li a:link,
#footer-menu li a:visited,
#footer-menu li a:hover,
#footer-menu li a:active,
#footer-menu li a:focus,
#footer-menu li button,
#footer-menu .link {
  color: black;
  text-decoration: none;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  vertical-align: baseline;
}
#footer-menu li:after {
  content: " ";
  word-spacing: 1em;
  background-image: linear-gradient(
    0.25turn,
    transparent 0 calc(50% - 0.03em),
    currentcolor 0 calc(50% + 0.03em),
    transparent 0
  );
}

#footer-menu-alt li a:link,
#footer-menu-alt li a:visited,
#footer-menu-alt li a:hover,
#footer-menu-alt li a:active,
#footer-menu-alt li a:focus,
#footer-menu-alt li button,
#footer-menu-alt .link {
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  vertical-align: baseline;
}
#footer-menu-alt li:after {
  content: " ";
  word-spacing: 2em;
}

.equl-housing {
  width: 100px;
}

/* BBB Badge */
.bbb-badge {
  background: rgba(3, 80, 108, 1);
  color: white;
  border-style: solid;
  border-width: 1px;
  border-color: #ccc;
  border-radius: 8px;
  width: 151px;
  height: 98px;
  margin: auto;
}
.bbb-t1 {
  font-size: 45px;
  font-weight: 600;
  line-height: 50px;
}
.bbb-t2 {
  font-size: 24px;
  font-weight: 400;
}

/*--------------------------------------------------------------
# Mobile Devices
--------------------------------------------------------------*/
@media (max-width: 767.98px) {
  .thank-you .box {
    padding: 1.5rem 0.5rem 0 0.5rem;
    margin: auto;
  }

  .thank-you .thank-you-text {
    margin: 0 auto;
  }
  
  .thank-you h1 {
    font-size: 32px;
    letter-spacing: -0.36px;
    margin-bottom: 16px;
  }
  
  .thank-you h3 {
    white-space: normal;
  }
  
  .thank-you p {
    color: #707070;
    letter-spacing: 0px;
    text-align: center;
    font-size: 16px;
  }
  
  .thank-you .btn {
    width: 100%;
    font-size: 18px;
    min-height: 44px;
  }
}
/*--------------------------------------------------------------
# Tablet Devices
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
  .flexClomun {
    -ms-flex-direction: column !important;
    flex-direction: column !important;
  }
}


/*--------------------------------------------------------------
# Flickity
--------------------------------------------------------------*/


.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus { outline: none; }

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- flickity-button ---- */

.flickity-button {
  position: absolute;
  background: hsla(0, 0%, 100%, 0.75);
  border: none;
  color: var(--button-hover-blue);
}

.flickity-button:hover {
  background: white;
  cursor: pointer;
}

.flickity-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #19F;
}

.flickity-button:active {
  opacity: 0.6;
}

.flickity-button:disabled {
  opacity: 0.3;
  cursor: auto;
  /* prevent disabled button from capturing pointer up event. #716 */
  pointer-events: none;
}

.flickity-button-icon {
  fill: currentColor;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  /* vertically center */
  transform: translateY(-50%);
}

.flickity-prev-next-button.previous { left: 10px; }
.flickity-prev-next-button.next { right: 10px; }
/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}

@media (min-width: 1280px) {
  .flickity-prev-next-button.previous { left: -30px; }
  .flickity-prev-next-button.next { right: -30px; }
  /* right to left */
  .flickity-rtl .flickity-prev-next-button.previous {
    left: auto;
    right: -30px;
  }
  .flickity-rtl .flickity-prev-next-button.next {
    right: auto;
    left: -30px;
  }
}
@media (min-width: 1680px) {
  .flickity-prev-next-button.previous { left: -50px; }
  .flickity-prev-next-button.next { right: -50px; }
  /* right to left */
  .flickity-rtl .flickity-prev-next-button.previous {
    left: auto;
    right: -50px;
  }
  .flickity-rtl .flickity-prev-next-button.next {
    right: auto;
    left: -50px;
  }
}

.flickity-prev-next-button .flickity-button-icon {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

/* ---- page dots ---- */

.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: -25px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-rtl .flickity-page-dots { direction: rtl; }

.flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background: #333;
  border-radius: 50%;
  opacity: 0.25;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
  opacity: 1;
}


/*--------------------------------------------------------------
# Mutual Perks
--------------------------------------------------------------*/

.perksTitleBar {
  width: 100%;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.perksTitleText {
  color: #444; 
  font-size: 22px; 
  font-weight: 300;
}

.perksHeroContainer > #hero {
  position: relative; 
  margin: 0 auto; 
  min-height: 169px;
  height: 225px;
  background: 50%; 
  background-size: cover; 
  background-repeat: no-repeat; 
  border-bottom: 6px solid var(--link-blue);
  border-image: linear-gradient(to right, var(--gradient-blue), var(--gradient-teal));
  border-image-slice: 1;
}

.perksHeroContainer > #hero-content {
  padding: 5% 5% 0; 
  width: 83.333333%;
  position: relative; 
  top: -2.5rem; 
  background-color: #fff; 
  margin: 0 auto;
}

.perksHeroContainer > #hero-content > img {
  max-width: 100%; 
  margin: 0 auto; 
  height: auto;
}

.perksHeroContainer > #hero-content > h1 {
  font-size: 28px; 
  line-height: 38px; 
  font-weight: 300; 
  color: #444;
}

.perksHeroContainer > #hero-content > p {
  font-size: 18px; 
  line-height: 28px; 
  color: #5d5d5d; 
}

.mutualPerksContainer .main-carousel .carousel-cell {
  width: 235px; 
  min-height: 352px;
  margin-right: 33px;
}

.mutualPerksContainer .main-carousel .carousel-cell .carousel-image {
  position: relative;
  display: block;
  width: 100%;
}

.mutualPerksContainer .main-carousel .carousel-cell button {
  position: relative;
  padding: 0;
  background: transparent;
  border: 0;
}

.mutualPerksContainer .main-carousel .carousel-cell button.tab-active:after {
  content: '';
  position: absolute;
  left:0;
  bottom: 0;
  height: 16px;
  width: 100%;
  background: #03a0ad;
  background: linear-gradient(90deg,#105ea6 0,#03a0ad);
}

.mutualPerksContainer .main-carousel .carousel-cell .carousel-content {
  background-color: var(--form-gray);
  margin-top: -7rem;
  padding-top: 10rem;
  padding-bottom: 4rem;
  z-index: -1;
  display: block;
  align-self: flex-end;
  bottom: 0;
  flex-grow: 1;
  width: 100%;
  position: relative;
}

.mutualPerksContainer .main-carousel .carousel-cell .carousel-content h3 {
   font-size: 24px;
   line-height: 32px;
   font-weight: 300;
   color: var(--form-header-text);
}

.mutualPerksContainer .main-carousel .carousel-cell .carousel-content p {
   font-size: 18px;
   line-height: 24px;
   font-weight: 300;
   color: #444;
}

.mutualPerksContainer .main-carousel .carousel-cell .carousel-content span {
   font-size: 15px;
   color: #03746e;
   font-weight: 500;
}

.mutualPerksContainer .main-carousel .carousel-cell img {
  width: 178px;
  height: 178px;
  border-radius: 50%;
  overflow: hidden;
  border: #fff;
  border-width: .3rem;
  border-style: solid;
  align-self: start;
}

.perksTabWrapper {
  max-width: 935px;
}

.perksTabContent {
  display: none;
  animation: fadeEffect .3s; /* Fading effect takes 1 second */
}

.perksTabContent.tab-active {
  display: block;
}

.perksTabContent img, .perksTabContent svg {
  width: 268px;
  height: 268px;
}

.perksTabContent h5 {
  font-size: 28px;
  line-height: 36px;
  letter-spacing: .28px;
  font-weight: 400;
  color: #444;
}

.perksTabContent p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #707070;
}

.perksTabContent li {
  font-size: 16px;
  line-height: 28px;
  font-weight: 600;
  color: #444;
}

.perksTabContent .btn {
  width: 100%;
  border-radius: 10px;
  font-size: 18px;
  color: white;
  border-style: none;
  line-height: 3.3rem;
  font-weight: 500;
}

.perksTabContent .blueButton {
  background-color: #105fa8;
}

.perksTabContent .blueButton:hover {
  background-color: #003a70;
  color: #fff;
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

#terms-of-use-link, #back-to-top {
  color: var(--button-hover-blue);
}

#terms-of-use-link img, #terms-of-use-link svg {
  color: #fff;
  width: 15px; 
  height: 15px;
  background: linear-gradient(90deg,#105ea6 0,#03a0ad);
  border-radius: 50%;
}

.benefits-for-you {
  background-color: #eee; 
  padding-top: 2rem; 
  padding-bottom: 2rem;
}

.benefits-container {
  position: relative;
  border: none;
}

.benefits-container h2 {
  position: relative;
  background-color: #eee;
  font-size: 36px;
  line-height: 43.2px;
  font-weight: 400;
  color: #444;
}

.benefits-container h3 {
  position: relative;
  font-size: 24px;
  line-height: 35.6px;
  font-weight: 300;
  color: #03746E;
}

.benefits-container p {
  position: relative;
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
  color: #5D5D5D;
}

.benefits-container img, .benefits-container svg {
  width: 42px;
  height: 42px;
}

.perksLogoWrapper img:first-child {
  height: auto; 
  width: 48%;
}

.perksLogoWrapper img:last-child {
  height: auto;
  width: 46%; 
  margin-left: 8px; 
  padding-left: 12px; 
  border-left: 1px solid #fff;
}

#pop-up {
  color: #105fa8;
  cursor: pointer;
  white-space: nowrap;
}

#pop-up:hover {
  text-decoration: underline;
  color: var(--button-hover-blue);
}

#pop-up-content {
  display: none; /* Hidden by default */
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4);
}


/* Modal Content/Box */
#pop-up-content .pop-up-content-box {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  border-radius: 16px;
  width: 365px /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close-pop-up {
  color: #1861A6;
  padding: 1px 7px;
  float: right;
  font-size: 14px;
  border: 1px solid #1861A6;
  border-radius: 100%;
}

.close-pop-up:hover,
.close-pop-up:focus {
  color: var(--button-hover-blue);
  text-decoration: none;
  cursor: pointer;
}

.perksGuideTitle {
  font-size: 26px !important;
}

@media (min-width: 535px) {
  .carouselWrapper {
    max-width: 1066px;
  }

  .perksHeroContainer > #hero {
    max-width: 1334px; 
    width: 83%;
    height: 390px;
    background: 75% top; 
    background-size: cover; 
    background-repeat: no-repeat; 
  }

  .perksHeroContainer > #hero-content {
    padding: 2% 2% 0; 
    width: 67%; 
    max-width: 1066px;
    position: relative; 
    top: -6rem; 
    background-color: #fff; 
    margin: 0 auto;
  }

  .perksHeroContainer > #hero-content > img {
    max-width: 60%; 
    margin: 0 20%; 
    height: auto;
  }

  .perksHeroContainer > #hero-content > h1 {
    font-size: 40px; 
    line-height: 52px; 
  }

  .perksTabContent .btn {
    width: auto;
    padding: 0 2rem;
  }

  .benefits-container h3 {
    font-size: 28px;
    line-height: 38px;
  }

  .benefits-container p {
    font-size: 18px;
    line-height: 30px;
  }

  /*Mutual of Omaha Logo*/
  .perksLogoWrapper img:first-child {
    height: 44px; 
    width: auto;
  }
  
  /*Mutual Perks Logo*/
  .perksLogoWrapper img:last-child {
    height: 36px; 
    width: auto; 
    margin-left: 8px; 
    padding-left: 12px; 
    border-left: 1px solid #fff;
  }

  .perksGuideTitle {
    font-size: 38px !important;
  }
}

@media (min-width: 1281px) {
  .benefits-container h2 {
    position: absolute;
    top: -1.5rem;
    background-color: #eee;
    padding: 0 5%;
    font-size: 36px;
    line-height: 43.2px;
    font-weight: 400;
    color: #444;
  }

  .benefits-container {
    position: relative;
    border: 1px solid #bababa;
    border-radius: 1rem;
  }

  .perksGuideTitle {
    font-size: 40px !important;
  }

  /*Mutual of Omaha Logo*/
  .perksLogoWrapper img:first-child {
    height: 54px; 
    width: auto;
  }

  /*Mutual Perks Logo*/
  .perksLogoWrapper img:last-child {
    height: 47.5px; 
    width: auto; 
    margin-left: 8px; 
    padding-left: 12px; 
    border-left: 1px solid #fff;
  }

  .carouselWrapper {
    max-width: 1280px;
  }
}

@media (min-width: 1399px) {
  .carouselWrapper {
    max-width: 1340px;
  }
}

@media (min-width: 1680px) {
  .carouselWrapper {
    max-width: 1600px;
  }
}
