.mfgs-slider-container  {
    background-color: #02003c;
    color: white;
    position: relative;
}
.mfgs-slider-container a.mega-link-overlay, .mfgs-slider-container a.mega-link-overlay:hover {
    color: white;
}

.mfgs-slider-header {
    text-align: center;
    z-index: 2;
    padding-bottom: 30px;
    font-size:20px;
    color: gray;
}

.mfgs-slider-header:not(.selected):hover {
    color: white;
    cursor: pointer;
}

.mfgs-slider-header.selected {
    color: white;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.mfgs-slider-header-row {
    padding: 30px;
    margin: 0px 20%;
    position: relative;
    z-index: 4;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}
.mfgs-slider-text-container {
    width: 60%;
    position: absolute;
    top: 7%;
    right: 0;
    height: 100%;
}
.mfgs-slider-text-container > div {
    background-color: white;
    color: #02003c;
    padding: 3% 2% 0% 20%;
    margin-left: 6%;
    margin-top: 1%;
    height: 69%;
}

img.mfgs-slider-img {
    max-width: 30%;
    z-index: 3;
    position: relative;
    margin-left: 7%;
    padding-bottom: 7%;
}

.mfgs-slider-container img:not(.mfgs-slider-img) {
    position:absolute;
}

.mfgs-slider-top-grad {
    float: right;
    top: 0;
    right: 0;
}

img.mfgs-slider-blue-line{
    width: 81%;
    right: 0;
    top: 12%;
    z-index: 2;
    height: 66%;
}
img.mfgs-slider-grad-lines{
    top: 18%;
    z-index: 1;
    height: 92%;
}

div.ccm-image-slider-container {
    margin-bottom:unset;
}
.ccm-image-slider-text {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ccm-image-slider-title {
    font-size: 45px;
    line-height: 40px;
    padding-bottom: 10px;
    font-weight: 800;
}

.ccm-image-slider-text {
    font-size: 20px;
}
.ccm-image-slider-title {
    font-size: 40px;
    line-height: 30px;
    padding-bottom: 10px;
    font-weight: 800;
}

@media only screen and (min-width: 1200px) {
    
    .ccm-image-slider-title {
        font-size: 45px;
        line-height: 40px;
    }

    .ccm-image-slider-text {
        font-size: 24px;
    }
    
    a.cta-link {
        font-size: 24px;
    }
}

@media only screen and (max-width: 991px) {
    
    .ccm-image-slider-title {
        font-size: 30px;
        line-height: 25px;
        padding-bottom: 8px;
        font-weight: 800;
    }

    .ccm-image-slider-text {
        font-size: 16px;
    }
    a.cta-link {
        font-size: 16px;
    }
}

img.mfgs-slider-orange-line {
    top: 7%;
    z-index: 3;
    height: 77%;
}

img.mfgs-slider-icon {
    top: 34%;
    width: auto;
    height: 40%;
    left: 32%;
    z-index: 5;
}

img.mfgs-slider-reflection {
    max-width: 30%;
    z-index: 4;
    margin-left: 7%;
    float: left;
    top: 83.9%;
}

.mfgs-slider-container {
    display:block;
}


@media only screen and (max-width: 767px) {
    .mfgs-slider-text-container{
        display:none;
    }
    .mfgs-slider-top-grad {
        display:none;
    }
    li.col-xs-3.mfgs-slide-entry{
        padding-left:5px;
        padding-right: 5px;
    }
    .mfgs-top-titles {
        position: absolute;
        width:100%;
        bottom:0;
    }
    img.mfgs-slider-reflection {
        display:none;
    }
    img.mfgs-slider-grad-lines {
        display:none;
    }
    img.mfgs-slider-icon {
        top: 2%;
        width: auto;
        height: 40%;
        left: 61%;
        z-index: 5;
    }
    img.mfgs-slider-img {
        max-width: 50%;
        z-index: 3;
        position: relative;
        margin-left: unset; 
        padding-bottom: unset;
    }
    img.mfgs-slider-orange-line {
        object-fit: cover;
        object-position: 0% 100%;
        height: 80%;
        top: 7%;
        z-index: 3;
    }
    img.mfgs-slider-blue-line {
        object-fit: cover;
        object-position: -37% 100%;
        height: 64%;
        top: 15%;
    }
    
    .orange-line-cont {
        top: 8%;
        height: 100%;
        width: 100%;
        position:absolute;
    }
    .blue-line-cont {
        top: 8%;
        height: 100%;
        width: 100%;
        position: absolute;
    }
    
    .ccm-image-slider-container {
        background: linear-gradient(to bottom,#00003c 0%, #00003c calc(100% - 215px), white calc(100% - 215px), white 100%);
        display:grid;
    }

    .ccm-image-slider {
        background-image: url('/packages/carahsoft_theme/themes/carahsoft/img/slider/top right gradient lines.png');
        background-color: transparent;
        background-repeat: no-repeat;
        background-position-x: right;
        background-position-y: bottom;
    }
    div.mfgs-slider-text-container.mobile {
        position: absolute;
        display: block;
        top: 100%;
        width:unset;
        height:unset;
        right:unset;
        background-color: white;
    }
    .mfgs-slider-text-container > div {
        padding: 8% 2% 0% 0%;
        margin-left: 6%;
        margin-top: 1%;
        height: unset;
    }
    
    div.ccm-image-slider-inner {
        overflow:unset;
    }
    ul.rslides {
        overflow:unset;
    }
    .nav-desk {
        display:none;
    }
    
    .nav-mobile {
        display:block;
    }

    .rslides_tabs li.rslides_here a.mfgs-slide {
        background: initial;
        color: darkgray;
        text-decoration: none;
    }

    .rslides_tabs li a.mfgs-slide .nav-mobile{
        
        text-indent: initial;
        overflow: initial;
        display: block;
        margin-right: initial;
        -webkit-border-radius: unset;
        -moz-border-radius: unset;
        border-radius: unset;
        background: initial;
        text-decoration:none;
        background-color: lightgray;
        padding-bottom:unset;
        border-radius: 5px;
        height:3px;
    }

    .rslides_tabs li.rslides_here a.mfgs-slide .nav-mobile {
        background-color: #00003c;
    }

    ul.mfgs-slider-header-row {
        justify-content: center;
        margin:unset;
        background-color: white;
        padding:10px 20%;
    }
    .mfgs-slider-container {
        background-color: white;
    }
    .rslides_tabs li {
        padding-bottom: 15px;
    }
    .rslides_tabs li a.mfgs-slide {
        padding-bottom: 15px;
    }
}


.nav-mobile {
    display:none;
}

.mfgs-slider-text-container.mobile {
    display:none;
}
.rslides_tabs li {
    padding-bottom: 30px;
}
.rslides_tabs li.rslides_here a.mfgs-slide {
    background: initial;
    color: white;
    text-decoration: underline !important;
    text-underline-offset:8px;
}
.rslides_tabs li a.mfgs-slide {
    text-align: center;
    z-index: 2;
    padding-bottom: 30px;
    font-size:20px;
    color: gray;
    
    text-indent: initial;
    overflow: initial;
    width: unset;
    height: unset;
    display: initial;
    margin-right: initial;
    -webkit-border-radius: unset;
    -moz-border-radius: unset;
    border-radius: unset;
    background: initial;
    text-decoration:none;
}

.rslides_nav {
    display: none;
}

.cta-link {
    color:#00003c;
    position: relative;
    z-index: 7;
    font-size: 20px;
}

.cta-link:hover {
    color:#00003c;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}
.btn.btn-primary.inverse:focus {
    color:#00003c;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}