/* 
Theme Name:		 Eightmedi Lite Child Theme
Theme URI:		 http://www.werk4.net/
Description:	 Theme by Site <a href="http://www.werk4.net/">Werk4</a>
Author:			 Werk4
Author URI:		 http://www.werk4.net/
Template:		 eightmedi-lite
Version:		 1.0.0
Text Domain:	 Eightmedi-Lite-child
-------------------------------------------------------------- */

/* =Theme customization starts here
------------------------------------------------------- */
.ed-container-home {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.site-branding {
    width: 50%;
    display: flex;
    align-items: center;
}

.site-branding .site-text {
	margin-top: -5px;
	margin-left: -20px;
}

nav#site-navigation {
    width: 49%;
}

/*-------------------------- SLIDER CONTROL ----------------------*/
.bx-wrapper {
	overflow: hidden;
	margin-bottom: 0;
}
.bx-wrapper .bx-controls-direction a {
	width: 50px;
	height: 100px;
	text-indent: 60px;
	overflow: hidden;
}
.bx-wrapper .bx-prev:before {
	content: "\f104";
	font-family: fontawesome;
	font-size: 2em;
	color: #fff;
	margin-right: 10px;
	position: absolute;
	top: 0;
	left: -45px;
	line-height: 100px;
}
.bx-wrapper .bx-prev {
	background: rgba(0, 0, 0, 0.5);
	left: -100%;
}
.bx-wrapper:hover .bx-prev {
	left: 0;
}
.bx-wrapper .bx-next:after {
	content: "\f105";
	font-family: fontawesome;
	font-size: 2em;
	color: #fff;
	margin-right: 10px;
	position: absolute;
	top: 0;
	right: 7px;
	line-height: 100px;
}
.bx-wrapper .bx-next {
	background: rgba(0, 0, 0, 0.5);
	right: -100%;	
}
.bx-wrapper:hover .bx-next {
	right: 0;
}
.bx-wrapper .bx-prev:hover, .bx-wrapper .bx-next:hover {
	background: rgba(0, 0, 0, 0.75);
}
.bx-wrapper .bx-pager {
	bottom: 10px;
	width: auto;
	right: 170px;
	z-index: 1;
}
.bx-wrapper .bx-pager.bx-default-pager a {
	background: #fff;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover, .bx-wrapper .bx-pager.bx-default-pager a.active {
	background: #2b95cc;
}

.appointment {
    margin-top: 50px;
    margin-bottom: 50px;
}

.custom-appointment-form {
    padding-top: 0;
}

#medisoft_appointments, #medisoft_referrals, #medisoft_recipes {
    font-family: inherit !important;
}

#featured-content .ed-container-home {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /*align-items: center;*/
    -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
            justify-content: space-evenly;
    flex-direction: row;
    align-items: inherit !important;
}

.featured-block {
	width: 33.33%;
}

.featured-block .featured-single-title {
	padding-top: .25rem;
}

.featured-block .featured-content {
	padding-top: .5rem;
    font-size: 16px !important;
    line-height: 18px;
    font-weight: 600 !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.featured-block.featured-post-2 {
    background: #fff;
    color: #626364;
    padding: 0;
}


.featured-block .intergeo_map_canvas {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    overflow: hidden !important;
    top: 0 !important;
}

.featured-block.featured-post-2 .featured-single-title {
	display: none;
}

.featured-block.featured-post-2 a {
    color: #626364;
}

.featured-block.featured-post-3 {
    background: #46bddf;
    color: #fff;
}

.featured-block.featured-post-3 a {
    color: #fff;
}


.featured-block .opening--hours {
	max-width: 50%;
}




.about-wrap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-direction: row;
}

.about-img-wrapper {
	position: relative;
	width: 45%;

}

.about figure.about-img {
    margin: 0;
    float: left;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    height: 100%;
    display: flex;
}

.about-wrap .about-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-wrap .about-content {
	height: auto;
}



/*------------------------------------------------------
TEAM SECTION
-------------------------------------------------------*/
section.our-team-member {
	margin-top: 50px;
	padding-left: 20px;
	padding-right: 20px;

}
section.our-team-member .title {
	text-align: left;
}
.team-text-wrap {
	float: left;
	width: 50%;
	padding-right: 3%;
}
.our-team-member p {
	margin-bottom: 0;
}
.team-slider-wrap {
	float: right;
	width: 50%;
}
.team-slider-wrap .bx-wrapper {
	overflow: visible;
}
.team-slider figure.team-image {
	border: 1px solid #ddd;
    margin-bottom: 0;
    margin-right: 0;
    margin-top: 0;
    overflow: hidden;
    padding: 5px;
    position: relative;
}
.team-slider .team-hover {
	position: absolute;
	bottom: 0;
	left: 0;
	background: #2b96cc;
	width: 100%;
	padding: 10px;
	color: #fff;
	transition: all ease 0.4s;
	-webkit-transition: all ease 0.4s;
	transform: translateY(100%);
	-webkit-transform: translateY(100%);
}
.team-slider figure.team-image:hover .team-hover {
	transform: translateY(0px);
	-webkit-transform: translateY(0px);
}
.team-hover-title {
	font-size: 18px;
	line-height: 20px;
}
.team-hover-text {
	font-size: 14px;
	font-style: italic;
	letter-spacing: 1px;
}
.our-team-member .bx-wrapper .bx-controls-direction a {
	height: 40px;
	width: 40px;
	top: inherit;
	bottom: 0;
	left: -20%;
}
.team-slider-wrap .bx-wrapper a.bx-prev {
	background: none;
}
.team-slider-wrap .bx-wrapper a.bx-next {
	left: -12%;
	right: inherit;
	background: none;
}
.team-slider-wrap .bx-wrapper .bx-next:after, .team-slider-wrap .bx-wrapper .bx-prev:before {
	line-height: 40px;
	color: #2b96cc;
	transition: all ease 0.4s;
	-webkit-transition: all ease 0.4s;
}
.team-slider-wrap .bx-wrapper .bx-prev:before {
	left: -46px;
}
.team-slider-wrap .bx-wrapper .bx-next:after {
	right: 3px;
}
.team-slider-wrap .bx-wrapper .bx-prev:hover, .team-slider-wrap .bx-wrapper .bx-next:hover {
	background: #2b96cc;
}
.team-slider-wrap .bx-wrapper .bx-next:hover:after, .team-slider-wrap .bx-wrapper .bx-prev:hover:before {
	color: #fff;
}



/*-------------------------- SLIDER CONTROL --------------------*/

.team-slider-wrap .bx-wrapper .bx-controls-direction a {
    position: relative;
}

.our-team-member .bx-controls-direction {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
}

.our-team-member .bx-wrapper .bx-controls-direction a {
    height: 40px;
    width: 40px;
    top: inherit;
    bottom: 0;
    left: 0;
    margin-top: 0;
}

.team-slider-wrap .bx-wrapper a.bx-next {
    left: 0;
    right: inherit;
    background: none;
}


.footer-wrap .ed-container-home {
    display: block;
}


@media screen and (max-width: 800px) {
	.about figure.about-img {
	    width: 100vw !important;
	}

	#home-slider {
	    position: relative;
	    height: 50vh;
	}

	#home-slider .bx-wrapper .bx-viewport {
	    height: 50vh !important;
	}

	#home-slider .bx-wrapper img {
	    width: 100%;
	    display: block;
	    height: 100%;
	    object-fit: cover;
	}

	#home-slider .slides {
	    height: 50vh;
	}

	.featured-block .opening--hours {
		max-width: 65%;
	}	


}

.isa_info, .isa_success, .isa_warning, .isa_error {
	margin: 10px 0px;
	padding:12px;
	display: inline-flex;
	align-items: center;
}

.isa_info p, .isa_success p, .isa_warning p, .isa_error p {
	margin: 0;
	font-size: 13px;
    font-weight: bold;
}

.isa_info {
    color: #00529B !important;
    background-color: #BDE5F8 !important;
}
.isa_success {
    color: #4F8A10;
    background-color: #DFF2BF;
}
.isa_warning {
    color: #9F6000;
    background-color: #FEEFB3;
}
.isa_error {
    color: #D8000C;
    background-color: #FFD2D2;
}
.isa_info i, .isa_success i, .isa_warning i, .isa_error i {
    margin:10px 22px;
    font-size:2em;
    vertical-align:middle;
}

@media screen and (max-width: 640px) {

	#masthead .ed-container-home {
	    flex-direction: row;
	}

	.ed-container-home {
	    display: flex;
	    align-items: center;
	    flex-direction: column;
	}

	.site-branding .site-description{
	    display: none !important;
	}

	#featured-content .ed-container-home {
	    flex-direction: column;
	    align-items: inherit !important;
	}

	.our-team-member .ed-container-home {
	    flex-direction: column;
	}

	.about-wrap {
		flex-direction: column;
	}

	.about figure.about-img {
	    width: 100vw;
	}

	.footer-wrap .ed-container-home {
	}

}

@media screen and (max-width: 540px) and (orientation: portrait) {
	.site-branding {
	    display: flex !important;
	}
}

/*-------------------------- Footer --------------------*/

#menu-footer-nav li {
    display: inline-block;
	margin-right: .5rem;
	
}

#menu-footer-nav li a {
	display: inline;
}

#menu-footer-nav li:after {
	content: '|';
    margin-left: .7rem;
}

#menu-footer-nav li:last-of-type:after {
	content: ''
}





/* roboto-300 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('./fonts/roboto-v18-latin-300.eot'); /* IE9 Compat Modes */
  src: local('Roboto Light'), local('Roboto-Light'),
       url('./fonts/roboto-v18-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/roboto-v18-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/roboto-v18-latin-300.woff') format('woff'), /* Modern Browsers */
       url('./fonts/roboto-v18-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/roboto-v18-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/roboto-v18-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Roboto'), local('Roboto-Regular'),
       url('./fonts/roboto-v18-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/roboto-v18-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/roboto-v18-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('./fonts/roboto-v18-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/roboto-v18-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-500 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('./fonts/roboto-v18-latin-500.eot'); /* IE9 Compat Modes */
  src: local('Roboto Medium'), local('Roboto-Medium'),
       url('./fonts/roboto-v18-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/roboto-v18-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/roboto-v18-latin-500.woff') format('woff'), /* Modern Browsers */
       url('./fonts/roboto-v18-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/roboto-v18-latin-500.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-700 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/roboto-v18-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Roboto Bold'), local('Roboto-Bold'),
       url('./fonts/roboto-v18-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/roboto-v18-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/roboto-v18-latin-700.woff') format('woff'), /* Modern Browsers */
       url('./fonts/roboto-v18-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/roboto-v18-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-900 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: url('./fonts/roboto-v18-latin-900.eot'); /* IE9 Compat Modes */
  src: local('Roboto Black'), local('Roboto-Black'),
       url('./fonts/roboto-v18-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/roboto-v18-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/roboto-v18-latin-900.woff') format('woff'), /* Modern Browsers */
       url('./fonts/roboto-v18-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/roboto-v18-latin-900.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* open-sans-300 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('./fonts/open-sans-v15-latin-300.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Light'), local('OpenSans-Light'),
       url('./fonts/open-sans-v15-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/open-sans-v15-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/open-sans-v15-latin-300.woff') format('woff'), /* Modern Browsers */
       url('./fonts/open-sans-v15-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/open-sans-v15-latin-300.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-600 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('./fonts/open-sans-v15-latin-600.eot'); /* IE9 Compat Modes */
  src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'),
       url('./fonts/open-sans-v15-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/open-sans-v15-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/open-sans-v15-latin-600.woff') format('woff'), /* Modern Browsers */
       url('./fonts/open-sans-v15-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/open-sans-v15-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/open-sans-v15-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
       url('./fonts/open-sans-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/open-sans-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/open-sans-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('./fonts/open-sans-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/open-sans-v15-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-800 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  src: url('./fonts/open-sans-v15-latin-800.eot'); /* IE9 Compat Modes */
  src: local('Open Sans ExtraBold'), local('OpenSans-ExtraBold'),
       url('./fonts/open-sans-v15-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/open-sans-v15-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/open-sans-v15-latin-800.woff') format('woff'), /* Modern Browsers */
       url('./fonts/open-sans-v15-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/open-sans-v15-latin-800.svg#OpenSans') format('svg'); /* Legacy iOS */
}