/* Original Color: #017eba
    Hover: #01a0ed
*/

body {
  font-family: 'Roboto Condensed';
}

#jm-logo img {
  max-width: 150px;
  height: auto;
}

.dj-megamenu-override li.dj-up a.dj-up_a {
	color: #ffffff !important;
}

.dj-megamenu-override li.dj-up.active a.dj-up_a:before, .dj-megamenu-override li.dj-up:hover a.dj-up_a:before, .dj-megamenu-override li.dj-up.hover a.dj-up_a:before {
	border-top: 7px solid #99DFB2 !important;
    	border-bottom: 7px solid #99DFB2 !important;
}

.dj-megamenu-override li.dj-up.active a.dj-up_a:after, .dj-megamenu-override li.dj-up:hover a.dj-up_a:after, .dj-megamenu-override li.dj-up.hover a.dj-up_a:after {
	 border-top: 6px solid #99DFB2 !important;
}

.jm-color-box1 .jm-icon-image {
  		background: url(/images/emer-logo.png) center top no-repeat;
  		height: 100px;
}

.jm-color-box2 .jm-icon-image {
  		background: url(/images/patient.png) center top no-repeat;
  		height: 100px;
}

.jm-color-box3 .jm-icon-image {
  		background: url(/images/prevent.png) center top no-repeat;
  		height: 100px;
}

.jm-module.testimonials-ms {
	background-image: url(/images/testimonial-bg-3.jpg);
}

#slider138 .dj-image:hover, #slider193 .dj-image:hover {
	opacity: 0.8;
	transform: scale(1.2);
	transition: all 0.5s ease-out;
}
.dj-image {
	transition: all 0.3s ease-out;
}

/*#slider138 li:hover > .slide-desc, #slider193 li:hover > .slide-desc {*/
	/*bottom: -41% !important;*/
	/*transition: all 0.5s ease-in;*/
/*}*/

/*.slide-desc {*/
	/*transition: all 0.3s ease-in;*/
/*}*/

.jm-featured-drug h3 {
	color: #000 !important;
}

.jm-featured-drug-title {
	color: #b80002;
	font-weight: bold;
	font-size: 20px;
}

#jm-content-bottom .jm-module {
	max-height: 328px;
	overflow: auto;
}

#jm-content-bottom .jm-module::-webkit-scrollbar {
	display: none;
}

.jm-featured-drug-image {
	position: sticky;
	top: 0;
	left: 0;
}

#jm-content-bottom .jm-module {
	overflow: scroll;
	overflow-x: hidden;
}

.apex-delivery {
	background-image: url(/images/delivery.jpg);
	background-position: bottom;
	background-attachment: fixed;
	background-size: cover;
	height: 500px;
	position: relative;
}

.apex-delivery-content {
	background: #00000087;
	width: fit-content;
	position: absolute;
	padding: 33px;
	top: 30%;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.apex-delivery-content h1 {
	color: #fff;
}

.apex-delivery-content p {
	color: #fff;
	font-size: 23px;
}

.apex-delivery-content button {
	margin-top: 10px;
	height: 45px;
	text-transform: uppercase;
}

#jm-bottom1 .jm-module {
	padding: 0;
}

/* Timeline */

.apex-timeline {
        list-style: none;
        padding: 20px 0 20px;
        position: relative;
    }

    .apex-timeline:before {
        top: 0;
        bottom: 0;
        position: absolute;
        content: " ";
        width: 3px;
        background-color: #eeeeee;
        left: 50%;
        margin-left: -1.5px;
    }

    .apex-timeline > li {
        margin-bottom: 20px;
        position: relative;
    }

    .apex-timeline > li:before,
    .apex-timeline > li:after {
        content: " ";
        display: table;
    }

    .apex-timeline > li:after {
        clear: both;
    }

    .apex-timeline > li:before,
    .apex-timeline > li:after {
        content: " ";
        display: table;
    }

    .apex-timeline > li:after {
        clear: both;
    }

    .apex-timeline > li > .apex-timeline-panel {
        width: 42%;
        float: left;
        border: 1px solid #d4d4d4;
        border-radius: 2px;
        padding: 20px;
        position: relative;
        -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    }

    .apex-timeline > li > .apex-timeline-panel:before {
        position: absolute;
        top: 26px;
        right: -15px;
        display: inline-block;
        border-top: 15px solid transparent;
        border-left: 15px solid #ccc;
        border-right: 0 solid #ccc;
        border-bottom: 15px solid transparent;
        content: " ";
    }

    .apex-timeline > li > .apex-timeline-panel:after {
        position: absolute;
        top: 27px;
        right: -14px;
        display: inline-block;
        border-top: 14px solid transparent;
        border-left: 14px solid #fff;
        border-right: 0 solid #fff;
        border-bottom: 14px solid transparent;
        content: " ";
    }

    .apex-timeline > li > .apex-timeline-badge {
		color: #fff;
		width: 50px;
		height: 50px;
		line-height: 50px;
		font-size: 1.4em;
		text-align: center;
		position: absolute;
		top: 16px;
		left: 50%;
		margin-left: -25px;
		background-color: #fff;
		z-index: 100;
		border-top-right-radius: 50%;
		border-top-left-radius: 50%;
		-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
		-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
		box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
		border-bottom-right-radius: 50%;
		border-bottom-left-radius: 50%;
    }

    .apex-timeline > li.apex-timeline-inverted > .apex-timeline-panel {
        float: right;
    }

    .apex-timeline > li.apex-timeline-inverted > .apex-timeline-panel:before {
        border-left-width: 0;
        border-right-width: 15px;
        left: -15px;
        right: auto;
    }

    .apex-timeline > li.apex-timeline-inverted > .apex-timeline-panel:after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -14px;
        right: auto;
    }

    .apex-timeline-badge.apex-primary {
        background-color: #2e6da4 !important;
    }

    .apex-timeline-badge.apex-success {
        background-color: #3f903f !important;
    }

    .apex-timeline-badge.apex-warning {
        background-color: #f0ad4e !important;
    }

    .apex-timeline-badge.apex-danger {
        background-color: #d9534f !important;
    }

    .apex-timeline-badge.apex-info {
        background-color: #5bc0de !important;
    }

    .apex-timeline-title {
        margin-top: 0;
        color: inherit;
    }

    .apex-timeline-body > p,
    .apex-timeline-body > ul {
        margin-bottom: 0;
    }

    .apex-timeline-body > p + p {
        margin-top: 5px;
    }

    @media (max-width: 767px) {
        ul.apex-timeline:before {
            left: 40px;
        }

        ul.apex-timeline > li > .apex-timeline-panel {
            width: calc(100% - 90px);
            width: -moz-calc(100% - 90px);
            width: -webkit-calc(100% - 90px);
        }

        ul.apex-timeline > li > .apex-timeline-badge {
            left: 15px;
            margin-left: 0;
            top: 16px;
        }

        ul.apex-timeline > li > .apex-timeline-panel {
            float: right;
        }

        ul.apex-timeline > li > .apex-timeline-panel:before {
            border-left-width: 0;
            border-right-width: 15px;
            left: -15px;
            right: auto;
        }

        ul.apex-timeline > li > .apex-timeline-panel:after {
            border-left-width: 0;
            border-right-width: 14px;
            left: -14px;
            right: auto;
        }
    }

.apex-timeline-badge, .apex-timeline-badge i {
	transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
}
.apex-timeline-transition .apex-timeline-badge{
    background: #C51104 !important;
	transition: all 0.5s ease-in-out;
	-webkit-transition: all 0.5s ease-in-out;
}
.apex-timeline-transition i {
      color: #fff !important;
	transition: all 0.5s ease-in-out;
	-webkit-transition: all 0.5s ease-in-out;
}

.apex-timeline-badge i {
	font-size: 1.8rem;
	color: #C51104;
}
#apex-timeline, #apex-missions, #apex-visions, #apex-values {
	width: fit-content;
	border-bottom: 4px solid #99dfb2;
	margin-right: auto;
	margin-left: auto;
	font-weight: 400;
	font-family: 'Anton', sans-serif;
}
.apex-timeline-container, .apex-mvv-container {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 17px;
}

i.apex-timeline-calendar {
	color: #898989 !important;
	font-size: 15px;
}

/* Mission Vision Value */
.apex-mvv-container {
	display: inline-flex;
	width: 100%;
	margin: 0;
	text-align: center;
}
.apex-mission-container, .apex-vision-container, .apex-value-container {
	width: 33.33333%;
}

.apex-mvv-image img {
	max-width: 200px;
}

/* Lightbox Gallery From Codepen */

.apex-gallery-container {
    background: #fff;
    width: 100%;
    height: 100%;
    /*position: fixed;*/
    top: 0;
    left: 0;
}

.apex-gallery-thumbnail {
    display: inline;
    height: 160px;
    margin: 10px;
}

.apex-gallery-sub-container {
    text-align: left;
    border-radius: 8px;
    padding: 0;
}

.apex-gallery-sub-container img {
    border-radius: 4px;
}

/*body a {*/
    /*color: #fff;*/
    /*text-decoration: none;*/
/*}*/

/*body a:hover {*/
    /*text-decoration: underline;*/
/*}*/

.apex-gallery-description {
    color: white;
    text-decoration: none;
}
/** relevant CSS Below **/

.apex-gallery-lightbox {
    display: none;
    /**sets the default display to hide the apex-gallery-lightbox until it's the :target**/

    position: fixed;
    /**the rest of this styling makes the apex-gallery-lightbox full screen when selected**/

    z-index: 999;
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .65);
}

.apex-gallery-lightbox img {
    /**sets the styling of the image in the apex-gallery-lightbox**/

    max-width: 50%;
    height: auto;
    text-align: center;
    margin-top: 6%;
}

.apex-gallery-lightbox:target {
    /**this is where the magic happens. makes the apex-gallery-lightbox display when it's the target of a clickable link**/

    outline: none;
    display: block;
}

.apex-gallery-lightbox-prev {
    /**styling the left arrow**/

    position: fixed;
    left: 4px;
    top: 40%;
    width: 40px;
    font-size: 40px;

}

.apex-gallery-lightbox-exit {
    /**styling the apex-gallery-lightbox-exit button**/

    position: fixed;
    top: 60px;
    right: 4px;
    width: 40px;
    font-size: 40px;

}

.apex-gallery-lightbox-next {
    /**styling the right arrow**/

    position: fixed;
    right: 4px;
    top: 40%;
    width: 40px;
    font-size: 40px;

}

.apex-gallery-lightbox-prev svg, .apex-gallery-lightbox-next svg{
    fill: #ffffff;
}

.apex-gallery-container h2 {
    border-bottom: 5px solid #99DFB2;
    padding-bottom: 5px;
    width: fit-content;
}

/* Our Services */
.apex-service-container {
    /*padding: 40px 0;*/
}

.apex-service-container h2 {
    border-bottom: 5px solid #99DFB2;
    padding-bottom: 5px;
    width: fit-content;
    margin: 30px auto;
}

.apex-service-left, .apex-service-right, .apex-service-center {
    width: 33.33%;
    position: relative;
}

.apex-service-left p, .apex-service-right p, .apex-service-center p {
    position: absolute;
    font-size: 1.1rem;
    transform: rotate(-45deg);
}

.apex-service-left p {
    right: 62px;
    top: 10px;
}

.apex-service-center p {
    right: 79px;
    top: 15px;
}

.apex-service-right p {
    right: 80px;
    top: 22px;
}

.apex-service-left img, .apex-service-right img, .apex-service-center img {
    transform: rotate(-45deg);
}

.apex-service-inner {
    width: 100%;
    display: flex;
}

.apex-service-description {
    /*margin-top: 100px;*/
    background: #0000001a;
    padding: 10px;
}

.apex-service-banner {
    position: relative;
}

.apex-services-list {
    height: 490px;
    position: absolute;
    vertical-align: middle;
    display: table;
    top: 0;
    right: 21%;
}

.apex-services-list ul {
    display: table-cell;
    height: 100%;
    vertical-align: middle;
    font-size: 2rem;
}

.apex-services-list ul:not([class]) > li {
    background-position-y: 16px;
}

/* product menu */

.dj-megamenu-override .dj-submenu > li {
  width: 260px;
}

.dj-megamenu-override .dj-submenu > li > a {
  font-size: 14px;
  padding: 20px
}