/*
 Theme Name:   Starpay
 description:  A child theme of the Divi
 Author:       BE
 Template:     Divi
 Version:      1.0.0
*/

#main-header {
    box-shadow: none;
}

#main-header .container {
    width: 100%; 
    padding-left: 15px;
    padding-right: 15px;
}

#main-masthead {
    position: relative;
}

#main-masthead:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/masthead-bottom-yellow-bg.svg'), url('images/masthead-blue-bg.svg');
    background-repeat: no-repeat, no-repeat;
    background-position: bottom left, top 20% center;
    background-size: 50% auto, 100% auto;
}

#main-masthead:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/masthead-yellow-bg.svg') top 0 right no-repeat;
    background-size: 50% auto;
}

#download-section {
    position: relative;
}

#download-section:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/download-blue.svg') no-repeat;
    background-position: bottom left;
}

#download-section:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('images/download-yellow.svg') no-repeat;
    background-position: top right;
}

.gradient-blue {
    background-color: #0051d7;
    background-image: -moz-linear-gradient( 15deg, rgb(0,81,215) 0%, rgb(1,22,85) 100%);
    background-image: -webkit-linear-gradient( 15deg, rgb(0,81,215) 0%, rgb(1,22,85) 100%);
    background-image: -ms-linear-gradient( 15deg, rgb(0,81,215) 0%, rgb(1,22,85) 100%);
}

.yellow-text {
    color: #ffdc00;
}

.home #download-section {
    display: none;
}
body:not(.et_footer_layout-template-default) #featured-section {
    display: none;
}

body.home #featured-section {
    display: block;
}

.et-pb-contact-message {
    color: #fff;
}

.featured-in-slider .owl-nav {
    position: absolute;
    top: calc(50% - 15px);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.featured-in-slider .owl-nav button {
    display: inline-block;
    text-indent: -99999px;
    background: #fff url('images/arrow.svg') center no-repeat !important;
    background-size: 15px 15px !important;
    width: 35px;
    height: 35px;
    pointer-events: auto;
}

.featured-in-slider .owl-nav button.owl-prev {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    position: relative;
    left: -15px;
}

.featured-in-slider .owl-nav button.owl-next {
    position: relative;
    right: -15px;
}

.featured-in-slider .owl-dots {
    width: 100%;
    margin-top: 0;
    text-align: center;
}

.featured-in-slider .owl-dots button.owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #999;
    margin: 0 5px;
}

.featured-in-slider .owl-dots button.owl-dot:hover, .featured-in-slider .owl-dots button.owl-dot.active {
    background-color: #011859;
}

/* Modules */

#top-menu li li a {
    white-space: nowrap;
}

.grid-2-cols > div {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    grid-auto-rows: 1fr;
    justify-items: center;
    align-items: center;
}

.grid-2-cols > div > div {
    margin-left: auto;
    margin-bottom: 0 !important;
}

.grid-2-cols img {
    max-width: 100%;
}

.quick-link {
    position: relative;
    overflow: visible !important;
    /* min-height: 275px !important; */
}

.quick-link img {
    transition: ease all .3s;
}

.quick-link:hover img {
    transform: scale(1.1);
}

.blue-box {
    overflow: visible !important;
}

.et_pb_main_blurb_image img {
    border-radius: 0;
}

.quick-link .et_pb_image_wrap {
    width: 150px;
    height: 150px;
    background-color: #ffdc00;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -80px;
    margin-bottom: -20px;
    transition: ease all .3s;
}

.quick-link:hover .et_pb_image_wrap {
    margin-top: -100px;
}

.wdcl-image-carousel-item figure img {
    width: auto !important;
    margin: 0 auto;
}

/* Align Middle Row */
.align-middle.et_pb_row.et_pb_equal_columns {
    -webkit-align-items: center;
    align-items: center;
}

/* Promos Page */
.promo-slider {
    position: relative;
}

.promo-slider .promo-slide {
    overflow: hidden;
    border-radius: 15px;
    background: #fff;
    border: 2px solid #78cfff;
    text-align: center; 
}

.promo-slider .promo-slide-content {
    padding: 20px;
}

.promo-slider .promo-slide img {
    margin: 0;
}

.promo-slider .promo-slide h3 {
    color: #555;
    font-size: 18px;
    line-height: 1.6;   
    font-weight: normal;  
}

.promo-slider .promo-slide a {
    margin-top: 20px;   
    border-radius: 3px;
    font-size: 14px; 
    font-weight: bold;  
    text-transform: uppercase;
}

.promo-slider .owl-nav {
    position: absolute;
    top: calc(50% - 15px);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.promo-slider .owl-nav button {
    display: inline-block;
    text-indent: -99999px;
    background: #fff url('images/arrow.svg') center no-repeat !important;
    background-size: 15px 15px !important;
    width: 35px;
    height: 35px;
    pointer-events: auto;
}

.promo-slider .owl-nav button.owl-prev {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    position: relative;
    left: -15px;
}

.promo-slider .owl-nav button.owl-next {
    position: relative;
    right: -15px;
}

.promo-slider .owl-dots {
    width: 100%;
    margin-top: 30px;
    text-align: center;
}

.promo-slider .owl-dots button.owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
    margin: 0 5px;
}

.promo-slider .owl-dots button.owl-dot:hover, .promo-slider .owl-dots button.owl-dot.active {
    background-color: #78cfff;
}

.promo-featured-image {
	text-align: center;
}

#countdown {
	width: 100%;
	max-width: 350px;
	margin: 10px auto 40px;
}

#countdown ul {
	display: flex;
	justify-content: space-between;
}

#countdown ul li {
	text-align: center;
}

#countdown ul li span {
	display: block;
	font-size: 46px;
	margin-bottom: 15px;
	color: #ffdc00;
}

#main-masthead.generic-main-masthead {
    background: blue;
}

#generic-main-content {
    padding: 120px 0 260px;
    min-height: 1400px;
    color: #fff;
	position: relative;
	z-index: 2;
}
#button_share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #fff;
    font-size: 20px;
    border-radius: 3px;
    margin-right: 5px;
}
#button_share a:before {
    font-family: 'ETMODULES';
}
#button_share a.bs_facebook:before {
    content: '\e093'; /* change icon code here */
}
#button_share a.bs_twitter:before {
    content: '\e094'; /* change icon code here */
}
#button_share a.bs_linkedin:before {
    content: '\e09d'; /* change icon code here */
}
#button_share a.bs_email:before {
    content: '\e076'; /* change icon code here */
}
#button_share a:hover {
    background: #ffdc00;
}

#generic-main-content h1,
#generic-main-content h2,
#generic-main-content h3,
#generic-main-content h4,
#generic-main-content h5,
#generic-main-content h6 {
    color: #fff;
}

#generic-main-content .generic-container {
    max-width: 960px;
    padding: 0 30px;
    margin: 0 auto;
    position: relative; 
}

/* Careers Section */

/** Custom Select **/
#category-selector {
    text-align: center;
}
.custom-select-wrapper {
  position: relative;
  display: inline-block;
  user-select: none;
}
  .custom-select-wrapper select {
    display: none;
  }
  .custom-select {
    position: relative;
    display: inline-block;
  }
    .custom-select-trigger {
      position: relative;
      display: block;
      width: 375px;
      padding: 0 84px 0 22px;
      font-size: 18px;
      font-weight: bold;
      color: #2c469c;
      line-height: 60px;
      background: #ffdc00;
      border-radius: 4px;
      cursor: pointer;
    }
      .custom-select-trigger:after {
        position: absolute;
        display: block;
        content: '';
        width: 10px; height: 10px;
        top: 50%; right: 25px;
        margin-top: -3px;
        border-bottom: 1px solid #2c469c;
        border-right: 1px solid #2c469c;
        transform: rotate(45deg) translateY(-50%);
        transition: all .4s ease-in-out;
        transform-origin: 50% 0;
      }
      .custom-select.opened .custom-select-trigger:after {
        margin-top: 3px;
        transform: rotate(-135deg) translateY(-50%);
      }
  .custom-options {
    position: absolute;
    display: block;
    top: 100%; left: 0; right: 0;
    min-width: 100%;
    margin: 15px 0;
    border: 1px solid #b5b5b5;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 0 2px 1px rgba(0,0,0,.07);
    background: #fff;
    transition: all .4s ease-in-out;
    
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-15px);
  }
  .custom-select.opened .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
  }
    .custom-options:before {
      position: absolute;
      display: block;
      content: '';
      bottom: 100%; right: 25px;
      width: 7px; height: 7px;
      margin-bottom: -4px;
      border-top: 1px solid #b5b5b5;
      border-left: 1px solid #b5b5b5;
      background: #fff;
      transform: rotate(45deg);
      transition: all .4s ease-in-out;
    }
    .option-hover:before {
      background: #f9f9f9;
    }
    .custom-option {
      position: relative;
      display: block;
      padding: 0 22px;
      border-bottom: 1px solid #b5b5b5;
      font-size: 18px;
      font-weight: 600;
      color: #b5b5b5;
      line-height: 47px;
      cursor: pointer;
      transition: all .4s ease-in-out;
    }
    .custom-option:first-of-type {
      border-radius: 4px 4px 0 0;
    }
    .custom-option:last-of-type {
      border-bottom: 0;
      border-radius: 0 0 4px 4px;
    }
    .custom-option:hover,
    .custom-option.selection {
      background: #f9f9f9;
    }

#careers-list {
    margin-top: 50px;
    margin-bottom: 100px;
}

#careers-list h3 {
    display: none;
}

#careers-list, #careers-list h4 {
    color: #fff;
    padding-bottom: 0;	
}

#careers-list .career-category {
	display: none;
}

#careers-list .career-item {
	padding: 25px;
	border: 1px dashed #fff;
	border-radius: 10px;
	margin-bottom: 20px;
}

#careers-list .career-item h4 {
    display: flex;
    justify-content: space-between;
}

#careers-list .career-item:not(.active) .career-item__content {
	display: none;	
}
#careers-list .career-item.active .career-item__btn-more {
	display: none;	
}
#careers-list .career-item:not(.active) .career-item__btn-less {
	display: none;	
}
#careers-list .career-item__btn-more {
	background: transparent;
	border: 0;
	color: #ffdc00;
	cursor: pointer;
}

#careers-list .career-item__btn-more:hover {
	color: #fff;
}
#careers-list .career-item__btn-less {
	background: transparent;
	border: 0;
	color: #2c469c;
	cursor: pointer;
}

#careers-list .career-item__btn-less:hover {
	color: #000;
}

#careers-list .career-item.active {
	border: 1px solid #fff;
	background: #fff;
}

#careers-list .career-item.active, #careers-list .career-item.active h4 {
	color: #333;
}

#careers-list .career-item .career-item__content {
	margin-top: 40px;
}

/* --- Reponsive --- */

/* Homepage */
@media (max-width: 1640px) and (min-width: 981px) {
    .masthead-main-content.et_pb_text_0 h2 {
        font-size: 64px !important;
    }
}

@media (max-width: 1400px) and (min-width: 981px) {
    .homepage-level-up.et_pb_text_1 h2 {
        font-size: 54px !important;
    }
}

@media (max-width: 1280px) and (min-width: 981px) {
    .masthead-main-content.et_pb_text_0 h2 {
        font-size: 54px !important;
    }
    .masthead-main-content.et_pb_text_0 p {
        font-size: 18px !important;
    }
    .masthead-main-image img {
        max-width: 70%;
    }
}

@media (max-width: 1070px) and (min-width: 981px) {
    .masthead-main-content.et_pb_text_0 {
        margin-top: 0 !important;
    }
    .masthead-main-content.et_pb_text_0 h2 {
        font-size: 48px !important;
    }
}

@media (max-width: 1070px) {
    .yellow-button {
        font-size: 22px !important;
    }
}

@media (max-width: 980px) {
    .quicklinks {
        overflow: visible !important;
    }
}

/* Quick Link */
@media (max-width: 1280px) {
    .quick-link.et_pb_blurb_0.et_pb_blurb {
        padding: 10px !important;
    }
    .quick-link .et_pb_image_wrap {
        width: 100px;
        height: 100px;
    }
    .quick-link .et_pb_image_wrap img {
        width: 70%;
        height: 70%;
    }
    .quick-link .et_pb_module_header {
        font-size: 20px !important;
    }
    .quick-link .et_pb_blurb_description {
        font-size: 14px !important;
    }
}

@media (max-width: 980px) {
    .quick-link {
        min-height: 150px !important;
        margin-bottom: 30px !important;
    }
}


@media (max-width: 479px) {
    .home .quicklinks {
        width: 100% !important;
        padding-left: 5px;
        padding-right: 5px;
    }
    #how-to-links {
        padding-bottom: 0 !important;
    }
    .home .quicklinks .et_pb_column {
        width: 50% !important;
        padding: 0 5px;
        padding-bottom: 10px;
    }
    .home .quicklinks .quick-link {
        padding: 10px 10px 20px !important;
    }
}


/* Inner Masthead */
@media (max-width: 1640px) and (min-width: 981px) {
    #inner-banner {
        max-width: 680px;
    }
    #inner-banner h1 {
        font-size: 36px;
    }
    #inner-banner img {
        max-width: 80%;
    }
}

/* Download Box */
@media (max-width: 550px) {
    .download-box img {
        max-width: 70%;
        margin-top: 20px;
    }
    .et_header_style_left .logo_container {
        left: 0;
        padding-left: 15px;
    }
}