/*
 Theme Name:  CGC Child Theme
 Theme URI:    na
 Description:  Child Theme for Divi
 Author:       RedlineUX
 Author URI:   https://redlineux.com
 Template:     Divi
 Version:      1.0.1
*/

/*****Add any custom CSS below this line*****/

/*header */
#logo {
	height: 100%;
}

#menu-primary{
    color: #fff;
}

.et_pb_menu__wrap{
justify-content: flex-end !important;
}

.et_pb_menu{
    padding-left: 50px
}

.nav li ul {
	border-color: #000 !important;
	border-top: 5px solid;
	border-image-slice: 1;
	border-image-source: linear-gradient(
		270deg,
		#833ab4 0%,
		#fd1d1d 50%,
		#fcb045 100%
	);
}

.et_pb_menu .et_pb_menu__search-input{
	color: #fff !important;
}

#menu-primary li:last-child .sub-menu{
	left: -160px;
}

/* End Header */

/*Mobile Menu*/
.taptap-main {
    background: #000 !important;
    margin-left: 3%;
}

/*END Mobile Menu*/

.et_pb_number_counter{
    min-width: 230px !important;
    min-height: 230px !important;
}

/* Gradient Highlights*/

.bottom-border {
	border-bottom: 10px solid;
	border-image-slice: 1;
	border-image-source: linear-gradient(
		270deg,
		#833ab4 0%,
		#fd1d1d 50%,
		#fcb045 100%
	);
}

.gradient-border  {
	border: 20px solid;
	border-image-slice: 1;
	border-image-source: linear-gradient(
		270deg,
		#833ab4 0%,
		#fd1d1d 50%,
		#fcb045 100%
	);
}

.gradient-offset-top{
    position: relative;
    top: -3%;
    width: 100%;
	padding-top: 50px;
	padding-left: 50px;
    background: linear-gradient(to right top,#ffe600,#ffa51e,#ff3232,#aa6ed7) !important;
}

.gradient-offset-top .et_pb_column > .et_pb_module {
    margin-top: 50px;
}

.gradient-offset-top::before{
    content:"";
    position: absolute;
    background: #fff;
    width: 100%;
    height: 100%;
    left: 3%;
}

.gradient-offset-top-right{
    position: relative;
    top: -3%;
    width: 100%;
	padding-top: 50px;
	padding-left: 20px;
    background: linear-gradient(to right top,#ffe600,#ffa51e,#ff3232,#aa6ed7) !important;
}

.gradient-offset-top-right .et_pb_column > .et_pb_module {
    margin-top: 50px;
}

.gradient-offset-top-right::before{
    content:"";
    position: absolute;
    background: #fff;
    width: 100%;
    height: 100%;
    right: 3%;
}

/*Section Hero*/

.section-hero {
	height: 80vh;
}

.section-hero > .et_pb_row {
	bottom: 0px;
	position: absolute;
	padding-left: 70px;
}

/* Hero for News 1 */
.left-align-video > .et_pb_section_video_bg {
	margin-left: -540px;
}


/* Data */
.et_pb_counter_amount{
	background: linear-gradient(to right,#ffe600,#ffa51e,#ff3232,#aa6ed7) !important;
}
/* END Data */

/* Team Member Slider */
@media only screen and (min-width: 401px) {

  /* Nav thumbnails */
  .wdc-carousel-nav .wdc-carousel-nav-item figure {
    width: 80px !important;
    height: 80px !important;
    padding: 5px;
    background: transparent;
    overflow: hidden;
    box-sizing: border-box;
    flex-shrink: 0;
    border-radius: 50%;
  }

  .wdc-carousel-nav .wdc-carousel-nav-item figure img {
    width: 70px !important;
    height: 70px !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 50% !important;
    filter: grayscale(100%);
  }

  .wdc-carousel-nav .wdc-carousel-nav-item figure:hover img,
  .slick-current .nav-item-inner figure img {
    filter: grayscale(0%);
  }

  .wdc-carousel-nav .wdc-carousel-nav-item figure:hover {
    width: 80px !important;
    height: 80px !important;
    padding: 5px;
    background: linear-gradient(270deg, #ffe600, #ffa51e, #ff3232, #aa6ed7);
  }

  .wdc_team_carousel_child {
    padding: 40px;
  }

  /* Main team slide layout */
  .wdc-carousel-jq.equal-height-on:not(.slick-vertical) .wdc-team {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }

  /* Main image wrapper */
  .wdc-carousel-jq.equal-height-on:not(.slick-vertical) .wdc-team figure,
  .wdc-carousel-jq.equal-height-on:not(.slick-vertical) .wdc-team figure a,
  .wdc-carousel-jq.equal-height-on:not(.slick-vertical) .wdc-team figure span {
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    height: 160px !important;
    min-height: 160px !important;
    max-height: 160px !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
  }

  .wdc-carousel-jq.equal-height-on:not(.slick-vertical) .wdc-team figure {
    margin-right: 40px !important;
    flex: 0 0 160px !important;
  }

  /* Main team image */
  .wdc-carousel-jq.equal-height-on:not(.slick-vertical) .wdc-team figure img {
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    height: 160px !important;
    min-height: 160px !important;
    max-height: 160px !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
  }

  .wdc_team_carousel_0 .wdc-carousel .slick-arrow {
    margin-top: 0px !important;
  }
}

@media only screen and (max-width: 400px) {
  .wdc-carousel-item figure,
  .wdc-carousel-item figure a,
  .wdc-carousel-item figure span {
    width: 180px !important;
    height: 180px !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
  }

  .wdc-carousel-item figure img {
    width: 180px !important;
    height: 180px !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 50% !important;
  }

  .slick-arrow {
    top: 50% !important;
    border: 1px #fff solid !important;
    width: 40px !important;
    height: 40px !important;
  }
}
/* END Team Member Slider */


/* Category 2 */

.white-a-override > .et_pb_text_inner > a{
    color: #fff!important;
}

/* END Category 2 */

/* Tool Tips*/
#tt #ttcont div.glossaryItemBody p{
    background: #fff;
    padding: 10px;
    margin: 0 -10px -10px -10px;
    }

#tt {
    border: 5px solid;
	border-image-slice: 1;
	border-image-source: linear-gradient(
		270deg,
		#833ab4 0%,
		#fd1d1d 50%,
		#fcb045 100%
	);
}

#ttcont {
    margin: 0px!important;    
    border: 10px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(
        270deg,
        #833ab4 0%,
        #fd1d1d 50%,
        #fcb045 100%
    );
}

.white-override .glossaryLink {
    color: #fff !important;
    text-decoration: underline #cf2e2e solid 1px !important;
    }

/* Glossary Page */
.cmtt_help .glossary-search-helpitem, div.cmtt_help, .glossary-search-label  {
    display:none !important;
}

.glossary-search-term {
    height: 40px;
    background: #f1f1f1;
    border: 2px black;
}

.ln-letters a {
    color: #000;
}

.ln-letters a:hover, .ln-letters a.ln-selected {
    background-color: #000 !important;
    color: #fff;
}

.glossary-search button, #glossary-search {
    height: 40px;
    background: #000;
    color: #fff;
    margin-left: -5px;
}