/**
   Mobile/Desktop Hide/Show
 **/
@media only screen and (max-width:470px){

    /*hide on mobile*/
    .gl-hide-on-mobile{
	display:none!important
    }    
}
@media only screen and (min-width:471px){

    /*hide on desktop*/
    .gl-hide-on-desktop{
	display:none!important
    }
}

/**
   Slick slider current image color
 **/
.slick-current img {
    filter: invert(57%) sepia(75%) saturate(387%) hue-rotate(47deg) brightness(105%) contrast(79%);
}

/**
   Owl Carousel Zoom
 **/
/*override center scale style - set to normal scale (1)*/
.owl-item.active.center {
    transform: scale(0.95)!important;
    -webkit-transform: scale(0.95)!important;
}
/*make every card except for the center card 25% smaller, giving the appearence of the center card being "zoomed"*/
.owl-item:not(.owl-item .active) {
    transform: scale(0.75);
}
/*give the scale transition a bit of an animated vibe*/
.owl-item{
    transition:transform 1s;
}
/*force nav and fix styling*/
.owl-nav {
    display: block!important;
    position: absolute;
    top: 50%;
    color: #81BE41!important;
    width: 100%;
    z-index: -2;
}
button.owl-next {
    right: 0;
    float:right;
}
.nav-button.owl-prev {
    margin-left: -30px;
}
.nav-button {
    font-size: 90px!important;
    margin-top: -65px;
}

/**
   fix modal background
 **/
.blur-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #ffffff1c;
    backdrop-filter: blur(9px);
    z-index: 1;
}
.modal-header, .modal-body, .modal-footer {
    z-index: 2!important;
    position: relative;
}
.modal-content {
    background: unset;
    border-radius: 25px!important;
    overflow: hidden;
    max-width: 100%;
    border: 1px solid #fff;
    color: #fff;
    margin: auto;
}

/****
   Desktop Nav
 ****/

#nav-compact, #nav-compact-desktop, #nav-compact-mobile {
    /* display: none; */
    margin-top: 15px;
    margin-left: 35px;
}

#nav-compact, #nav-compact-desktop, #nav-compact-mobile{
    color: #fff;
    text-transform: uppercase;
    /*text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;*/
}
/*text shadows for wgite on white issue*/
.menu-item-level-1 a, .menu-item-level-1 i, .menu-item-level-2 a {
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    text-transform: uppercase;

    /*control font size for nav items*/
    font-size: 14px;
    
}

/*logo and menu trigger*/
#nc-wrapper, #nc-wrapper-desktop, #nc-wrapper-mobile {
    border: 1px solid #fff;
    max-width: 320px;
    width: 300px;
    border-radius: 30px;
    padding: 5px 0px 5px 10px;
    display: grid;
    grid-template-columns: auto 1fr;
    background: #ffffff1c;
    backdrop-filter: blur(9px);
}
#nc-wrapper img, #nc-wrapper-desktop img, #nc-wrapper-mobile img {
    max-width: 170px;
    padding: 5px 10px;
}
#nc-wrapper > i, #nc-wrapper-desktop > i, #nc-wrapper-mobile > i {
    color: #81BE41;
    font-size: 36px;
    cursor: pointer;
    margin-top: 12px;
    margin-left: 60px;
}

/*level 1 sub menu*/
#nc-items-wrapper-level-1, #nc-items-wrapper-level-1-desktop, #nc-items-wrapper-level-1-mobile {
    display:none;
    position:relative;
    grid-column: 1/3;
}
.menu-item-level-1 {
    padding: 0px 20px 5px 15px;
}
.menu-item-level-1 i {
    float: right;
    font-size: 20px;
    color: #fff;
    position: absolute;
    right: -23px;
    padding-right: 60px;
}

/*level 2 submenu*/
/*Desktop*/
.nc-items-wrapper-level-2 {
    display: none;
    position: absolute;
    border-radius: 30px;
    width: 290px;
    right: -290px;
    top: 0px;
    padding-left: 20px;
}

/*Mobile*/
.nc-items-wrapper-level-2-2 {
    display: none;
    position: absolute;
    border-radius: 30px;
    width: 310px;
    left: 610px;
    top: 100px;
    padding-left: 20px;
}

/*Desktop*/
.nc-level-2-inner {
    border-radius: 20px;
    background: #ffffff21;
    padding: 5px 20px;
    z-index:99;
}

/*Mobile*/
.nc-level-2-inner-2 {
    border-radius: 20px;
    padding: 5px 15px;
    z-index:99;
}

/*glass blur effect*/
.glass-blur {
    background: #ffffff1c;
    backdrop-filter: blur(9px);
    border: 1px solid white;
}

.menu-item-level-1:hover .nc-items-wrapper-level-2 {
    display: block;
}

/****
   Dynamic placement for submenu (desktop)
 ****/

@media only screen and (min-width:471px){
    #header > .container {
	position: relative;
    }
    .nc-items-wrapper-level-2-2 {
	left: 340px;
    }
}

@media only screen and (max-width:470px){
    #nav-compact, #nav-compact-desktop, #nav-compact-mobile {
	margin-left: calc(((100vw - 300px) / 2) - 15px); /* 300px is the width of the nav bar elem! */
    }
    .nc-items-wrapper-level-2 {
	position: relative!important;
	right: 25px!important;
	margin-bottom: 40px!important;
    }
    .nc-level-2-inner {
	background: unset!important;
    }

    h1.heading-lead {
	font-size: 20px;
    }

    .parallax-careers button#submit {
	max-width: 170px;
	font-size: 14px;
    }
}

/****
   Mobile Circle Stack (alternative to infographic on desktop)
 ****/
.mobile-circle-stack {
    display: grid;
    justify-content: center;
    justify-items: center;
    margin: 30px 0;
    grid-row-gap: 20px;
}
.mobile-circle-stack-item {
    background: #fff;
    border-radius: 50%;
    height: 200px;
    width: 200px;
    position: relative;
}
.mobile-circle-stack-item p {
    color: #000;
    position: absolute;
    top: 49%;
    text-align: center;
    width: 100%;
}


/***
   Specialized Services Page
 ***/
.specialized-services-page .circles-outer-wrapper.gl-hide-on-mobile {
    margin-top: 95px;
}


/***
   Make all page titles capitalized
 ***/
.heading-text {
    /*text-transform: uppercase;*/
}


/***
   About Us Page
 ***/
/*make all images same size*/
@media only screen and (min-width:471px){
    .member img {
	width: 200px;
	max-width: 200px;
	min-width: 200px;
    }

    /*fix height of andre's pic and name*/
    div[data-member-name="ANDRE DU PREEZ"] p {
	white-space: nowrap;
    }
}
@media only screen and (max-width:470px){
    #team-images-wrapper img {
	max-width: 240px;
    }
}

/****
   Contact page
 ****/
/*change svg img color for conttact icons*/
.contact-page-icons img {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(21deg);
}


/****
   Video Hub - Page View
 ***/
#vhpvc-comments h3, #vhpvc-desc h3, #sv-title h2, #related-title h2, #vhpvc-video-title h2 {
    font-size: 24px;
}

div#vhpvc-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-gap: 60px;
}

div#vhpvc-video-wrapper, .related-item, .st-item {
    aspect-ratio: 16/9;
}

#related-grid, #st-grid {
    display: grid;
    grid-gap: 20px;
}


@media only screen and (max-width:470px){
    #vhpvc-grid {
	grid-template-columns: 100%;
    }
}

/****
   Video Hub - List View
 ***/
#video-hub-list-view #filter-bar-mobile {
    display: none;
}

#video-hub-list-view-videos-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-columns: calc(30% - 30px) calc(30% - 30px);
    grid-gap: 60px;
}
.video-wrapper {
    aspect-ratio: 16/9;
}
.video-title h2 {
    font-size: 24px;
    margin: 20px 0 0 0;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


@media only screen and (max-width:470px){
    #video-hub-list-view-videos-grid-wrapper {
	grid-template-columns: 100%;
    }
}

/****
   Video Hub - Search results page
 ***/
#v-search-grid {
    display: grid;
    /*grid-template-columns: 1fr 1fr 1fr 1fr;*/
    grid-template-columns: calc(50% - 60px) calc(50% - 60px);
    grid-gap: 60px;
}
.v-search-result a {
    font-size: 22px;
    color: #333!important;
}
.v-search-title h2 {
    overflow: hidden;
    text-overflow: ellipsis;
    height: 60px;
    line-height: 20px;
}


@media only screen and (max-width:470px){
    #v-search-grid {
	grid-template-columns: 100%;
    }
}

/**
   Careers V2
 **/
/*list-view*/
.gl-careers-content-inner h2 {
    text-align: center;
    margin-bottom: 60px;
}
.gl-careers-content-inner > p {
    font-size: 26px;
    text-align: center;
}
.gl-career-card {
    backdrop-filter: blur(9px);
    background: #ffffff1c;
    border: 1px solid #fff;
    border-radius: 30px;
    padding: 10px 30px;
}

#team-images-wrapper > div > div:nth-child(3) > div:nth-child(4) {
    display: none!important;
}

.gl-career-card {
    /* backdrop-filter: blur(9px); */
    background: #ffffff;
    border: 1px solid #fff;
    border-radius: 30px;
    padding: 10px 30px;
    width: 350px;
}
.gl-career-card * {
    color: #000;
}
.gl-careers-content-inner-grid {
    display: flex!important;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

/** careers v2 page view**/

input[type="radio"][class="form-control"] {
    width: unset;
    display: unset;
    background-color: unset;
    appearance: unset;
    border-radius: unset;
    -webkit-appearance: unset;
}
