@media screen and (max-width: 1210px) {
	.top-header, header#masthead, .appointment, section.our-team-member, section.latest-news, section.call-to-action-small, .top-footer, .main-footer, 
	.page-content, .search.search-results article, #primary, .our-testimonial, .page-header, #ed-breadcrumbs, .single .entry-meta, .cta-video {
		padding-left: 10px;
		padding-right: 10px;
	}
	.home #primary {
		padding-left: 0;
		padding-right: 0;
	}
	.ed-container, .ed-container-home, .custom-appointment-form, 
	.caption-wrapper .em-container {
		width: 100%;
	}
	.boxed-layout, .boxed-layout .fixed {
		width: 95%;
	}
	.site-branding {
		width: 22%;
		text-align: left;
	}
	nav#site-navigation {
		width: 77%;
	}
	.call-to-action figure {
		vertical-align: bottom;
	}
}

@media screen and (max-width: 1096px) {
	/*-----------------------------------------
	GLOBAL CSS
	------------------------------------------*/
	.home-description {
		font-size: 16px;
	}
	.about .btn, a.btn {
		font-size: 18px;
	}
	.latest-news .news-single-title, .footer-social a, #google-map .em-contact-address h3 {
		font-size: 20px;
	}
	.top-header {
		line-height: 19px;
		font-size: 13px;
	}
	.top-header .header-callto .callto-left, .top-header .header-callto .callto-right {
		width: 49%;
	}
	h1.page-title, .sidebar .widget-title, .entry-title {
		font-size: 20px;
	}
	.slider-caption h2 {
		font-size: 16px;
		line-height: 20px;
	}
	#primary.no-sidebar {
		padding-left: 10px;
		padding-right: 10px;
	}
	#primary.right-sidebar, #secondary-left {
		padding-left: 10px;
	}
	#secondary-right, #primary.left-sidebar {
		padding-right: 10px;
	}
	.search-no-results input.search-field {
		width: 70%;
		font-size: 16px;
	}
	.category-doctors article {
		width: 47%;
	}
	.featured-block .featured-content {
		font-size: 13px;
		line-height: 18px;
	}
	a.slider-btn, .appointment .ufbl-form-wrapper form input.ufbl-form-submit, .call-to-action .cta-link a, #google-map .em-contact-address p,
	.search-no-results input.search-submit, button, input[type="button"], input[type="reset"], input[type="submit"] {
		font-size: 16px;
	}
	.category-doctors h1.entry-title {
		font-size: 18px;
	}
	.entry-meta, .category-doctors footer.entry-footer {
		font-size: 13px;
	}
	.appointment .ufbl-form-wrapper.ufbl-default-template {
		width: 40%;
	}

	/*----------------------------------------
	TOP HEADER SECTION
	-----------------------------------------*/
	.top-header .callto-left {
		padding-left: 0;
		padding-right: 0;
	}
	.top-header .callto-left a {
		padding-left: 5px;
		padding-right: 5px;
	}
	.callto-right .header-social.social-links {
		margin-left: 5px;
	}
	.header-search .searchform {
		border-top: 1px solid #ddd;
	}
	.header-search > .fa {
		line-height: 18px;
	}
	.main-navigation .nav-menu > li.menu-item-has-children::after {
		font-size: 12px;
		top: 39%;
		right: 0;
	}
	.main-navigation .nav-menu li,
	.main-navigation .nav-menu li .sub-menu li, .main-navigation .nav-menu li .children li {
		font-size: 15px;
	}
	.main-navigation .nav-menu li a {
		padding-left: 10px;
		padding-right: 10px; 
	}
	.rtl .main-navigation .nav-menu > li:last-child > a {
		padding-left: 10px;
	}
	.about .about-content {
		padding: 25px;
	}
	.call-to-action .cta-content-wrap {
		padding: 0 0 40px 20px;
	}
	.boxed-layout .call-to-action .cta-content-wrap {
		padding: 0 20px 40px;
	}

	/*------------------------------------------
	BOXED LAYOUT
	-------------------------------------------*/
	.boxed-layout .site-branding {
	    width: 23%;
	}
	.boxed-layout .site-branding h1.site-title {
		font-size: 22px;
	}
	.boxed-layout .site-branding p.site-description {
	    font-size: 12px;
	}
	.boxed-layout nav#site-navigation {
	    width: 76%;
	}
	.boxed-layout .main-navigation .nav-menu li, 
	.boxed-layout .main-navigation .nav-menu li .sub-menu li, 
	.boxed-layout .main-navigation .nav-menu li .children li {
		font-size: 14px;
	}

	/*------------------------------------------
	FOOTER SECTION
	------------------------------------------*/
	.top-footer .widget {
		font-size: 15px;
		padding-right: 20px;
	}

	/*-----------------------------------------
	CONTACT PAGE
	------------------------------------------*/
	.left-sidebar .wpcf7-form p, .right-sidebar .wpcf7-form p {
		width: 32%;
	} 
}

@media screen and (max-width: 980px) {
	.site-branding {
	    width: 50%;
	}
	/*------------------------------------------
	MAIN NAVIGATION SECTION
	-------------------------------------------*/
	.center-align nav#site-navigation {
		text-align: left;
	}
	nav#site-navigation {
		width: 49%;
		text-align: left;
		float: right;
		padding-top: 20px;
	}
	button.menu-toggle {
		display: block;
		float: right;
		height: 50px;
		margin: 0 0 10px 0;
		width: 50px;
		position: relative;
		padding: 0; 
	}
	.toggled .menu-toggle {
		box-shadow: 0 0 0 5px #0173ac;
		background: #0173ac;
	}
	.menu-toggle .menu-bar {
		background: #fff none repeat scroll 0 0;
		display: block;
		height: 5px;
		width: 30px;
		margin: 0 auto 5px auto;
		transition: all ease 0.4s;
		-webkit-transition: all ease 0.4s;
	}
	.menu-toggle .menu-bar.menubar-first {
		margin-top: 6px;
	}
	.toggled .menu-toggle .menu-bar.menubar-first {
		transform: rotate(45deg);
		-webkit-transform: rotate(45deg);
		transform-origin: 3px 6px 0;
		-webkit-transform-origin: 3px 6px 0;
	}
	.toggled .menu-toggle .menu-bar.menubar-second {
		transform: scale(0.2);
		-webkit-transform: scale(0.2);
		opacity: 0;
		visibility: hidden;
	}
	.toggled .menu-toggle .menu-bar.menubar-third {
		transform: rotate(-45deg);
		-webkit-transform: rotate(-45deg);
		transform-origin: 3px -1px 0;
		-webkit-transform-origin: 3px -1px 0;
	}
	
	.main-navigation > ul, .main-navigation .nav-menu {
		background: #2b96cc none repeat scroll 0 0;
		height: 100%;
		left: 0;
		padding: 20px 0;
		position: fixed;
		top: 0;
		width: 75%;
		z-index: 99999;
		overflow-y: scroll; 
	}
	.admin-bar .main-navigation .nav-menu {
	    padding-top: 46px;
	}
	.main-navigation ul, .main-navigation .nav-menu {
		transform: translate(-100%);
		-webkit-transform: translate(-100%);
		transition: all ease 0.4s;
		-webkit-transition: all ease 0.4s;
	}
	.main-navigation.toggled ul, .main-navigation.toggled .nav-menu {
		transform: translate(0);
		-webkit-transform: translate(0);
	}
	.main-navigation .nav-menu li {
		display: block;
		border-bottom: 1px solid #1a85bb;
	}
	.main-navigation .nav-menu > li.menu-item-has-children::before {
		display: none;
	}
	.main-navigation .nav-menu li a, 
	.fixed .main-navigation .nav-menu li a {
		display: inline-block;
		padding: 5px 45px 5px 10px;
		width: 100%;
		color: #fff;
		line-height: inherit;
	}
	.main-navigation .nav-menu li.current-menu-item a, 
	.main-navigation .nav-menu li.current_page_item a {
		line-height: inherit;
	}
	.main-navigation .nav-menu > li.menu-item-has-children::after,
	.main-navigation .nav-menu li .sub-menu li.menu-item-has-children::after, 
	.main-navigation .nav-menu li .children li.menu-item-has-children::after, 
	.center-align .main-navigation .nav-menu > li.menu-item-has-children::after, 
	.fixed .main-navigation .nav-menu > li.menu-item-has-children::after, 
	.main-navigation .nav-menu li .sub-menu li.menu-item-has-children::after, 
	.main-navigation .nav-menu li .children li.menu-item-has-children::after {
		display: none;
	}
	.main-navigation .nav-menu li .sub-menu li.menu-item-has-children a, 
	.main-navigation .nav-menu li .children li.menu-item-has-children a {
	    padding-right: 45px;
	}
	.main-navigation .nav-menu li:hover a, 
	.main-navigation .nav-menu li.current-menu-item a, 
	.main-navigation .nav-menu li.current_page_item a,
	.main-navigation .nav-menu > li.menu-item-has-children:hover::after, 
	.main-navigation .nav-menu > li.current-menu-item.menu-item-has-children::after, 
	.main-navigation .nav-menu > li.current_page_item.menu-item-has-children::after {
		color: #81d5ff;
	}
	span.sub-click {
	    background: #016fa7 none repeat scroll 0 0;
	    color: #fff;
	    cursor: pointer;
	    font-size: 14px;
	    height: 30px;
	    right: 10px;
	    line-height: 30px;
	    position: absolute;
	    text-align: center;
	    top: 3px;
	    transition: all 0.3s ease 0s;
	    -webkit-transition: all 0.3s ease 0s;
	    width: 30px;
	}
	.rtl span.sub-click {
		right: inherit;
		left: 10px;
	}
	span.sub-click:hover {
		background: #81d5ff;
	}
	.main-navigation .nav-menu li .sub-menu, .main-navigation .nav-menu li .children {
		opacity: 1;
		filter: alpha(opacity=100);
		position: static;
		visibility: visible;
		padding: 0;
		width: 100%;
		background: #0f83bd;
		transition: none;
	}
	.main-navigation.toggled .nav-menu li .sub-menu, .main-navigation.toggled .nav-menu li .children {
		display: none;
	}
	.main-navigation .nav-menu li .sub-menu li a, .main-navigation .nav-menu li .children li a {
		padding: 10px;
	}
	.main-navigation .nav-menu li .sub-menu li:first-child a, .main-navigation .nav-menu li .children li:first-child a {
		padding-top: 10px;
	}
	.main-navigation .nav-menu li .sub-menu li:last-child a, .main-navigation .nav-menu li .children li:last-child a {
		padding-bottom: 10px;
		border-bottom: 1px solid #1576a6;
	}
	.rtl nav#site-navigation {
		text-align: right;
	}
	.rtl .main-navigation .nav-menu > li.menu-item-has-children::after, 
	.rtl .main-navigation .nav-menu li .sub-menu li.menu-item-has-children::after, 
	.rtl .main-navigation .nav-menu li .children li.menu-item-has-children::after, 
	.rtl .center-align .main-navigation .nav-menu > li.menu-item-has-children::after {
		left: 10px;
		right: inherit;
	}
	.rtl .main-navigation .nav-menu li a, .rtl .fixed .main-navigation .nav-menu li a {
	    padding-left: 45px;
	    padding-right: 10px;
	}
	.rtl .main-navigation .nav-menu li .sub-menu li.menu-item-has-children a, 
	.rtl .main-navigation .nav-menu li .children li.menu-item-has-children a {
		padding-right: 10px;
	}

	/*------------------------------------------
	BOXED LAYOUT
	-------------------------------------------*/
	.boxed-layout .site-branding {
	    width: 50%;
	}
	.boxed-layout .site-branding h1.site-title {
		font-size: 25px;
	}
	.boxed-layout .site-branding p.site-description {
	    font-size: 13px;
	}
	.boxed-layout nav#site-navigation {
	    width: 49%;
	}
	.boxed-layout .main-navigation .nav-menu li, 
	.boxed-layout .main-navigation .nav-menu li .sub-menu li, 
	.boxed-layout .main-navigation .nav-menu li .children li {
		font-size: 15px;
	}

	/*------------------------------------------
	BANNER SECTION
	-------------------------------------------*/
	.bx-wrapper .bx-pager {
		right: 50px;
	}
	.slider-caption {
		padding: 10px 20px;
		width: 65%;
	}
	.slider-title {
	    font-size: 30px;
	}
	/*--------------------------------------------
	TEAM MEMBER SECTION
	---------------------------------------------*/
	.team-slider-wrap {
		margin-bottom: 50px;
	}
	.team-slider .doctor-specialization {
	    display: none;
	}
	.our-team-member .bx-wrapper .bx-controls-direction a {
		bottom: -50px;
	}
	.team-slider-wrap .bx-wrapper a.bx-prev {
		left: 0;
	}
	.team-slider-wrap .bx-wrapper a.bx-next {
		left: inherit;
		right: 0;
	}

	/*--------------------------------------------
	FEATURE SECTION
	---------------------------------------------*/
	.featured .featured-block table tr {
		height: 25px;
	}

	/*----------------------------------------------
	ABOUT US
	-----------------------------------------------*/
	.about figure.about-img {
		height: auto;
	}
	.about .about-content {
	    height: auto;
	}
	.about h2.title.home-title {
	    line-height: 35px;
	    /*margin-bottom: 15px;*/
	}

	/*-------------------------------------------
	CALL TO ACTION SECTION
	--------------------------------------------*/
	.call-to-action figure {
		display: inline-block;
		float: none;
		width: 40%;
	}
	.call-to-action .cta-content-wrap {
		display: inline-block;
		float: none;
		width: 59%;
	}

	/*----------------------------------------------
	DOCTOR PAGE
	-----------------------------------------------*/
	.type-list .listview-img-wrap {
	    width: 45%;
	}
	.type-list .listview-desc-wrap {
	    width: 55%;
	}
}

@media screen and (max-width: 800px) {
	.custom-appointment-form {
		width: 100%;
	}
	.error-404-section {
		width: 100%;
	}
	.callto-right .cta a {
		padding-right: 10px;
		padding-left: 10px;
	}
	.callto-right .header-social.social-links .social-icons a {
		padding: 10px;
	}
	.appointment .ufbl-form-wrapper.ufbl-default-template {
		width: 55%;
	}

	/*----------------------------------------------
	MAIN SLIDER
	-----------------------------------------------*/
	.slider-title {
	    margin-bottom: 0;
	}
	.slider-caption h2 {
		display: none;
	}

	/*---------------------------------------------
	SIDEBARS
	----------------------------------------------*/
	#primary, #secondary-left, #secondary-right, #primary.right-sidebar, #primary.left-sidebar, #primary.both-sidebar {
		float: none;
		padding-left: 10px;
		padding-right: 10px;
		width: 100%;
	}
	
	/*-------------------------------------
	FEATURE SECTION
	--------------------------------------*/
	.featured-block {
		width: 50%;
	}
	.featured .featured-block table tr {
		height: 20px;
	}
	.featured-block.featured-post-3 {
	    padding-left: 20%;
	    padding-right: 20%;
	    width: 100%;
	}

	/*------------------------------------------
	ABOUT SECTION
	-------------------------------------------*/
	.about figure.about-img {
		float: none;
		height: auto;
		width: 100%;
	}
	.about .about-content {
		float: none;
		width: 100%;
		height: auto;
	}
	.about h2.title.home-title {
	    line-height: inherit;
	}

	/*-------------------------------------------
	CALL TO ACTION SECTION
	--------------------------------------------*/
	.call-to-action figure {
		width: 50%;
	}
	.call-to-action .cta-content-wrap {
		width: 49%;
	}
	
	/*--------------------------------------------
	LATEST NEWS
	--------------------------------------------*/
	.news-block {
		width: 49%;
		margin-bottom: 30px;
	}

	/*------------------------------------------
	CALL TO ACTION SMALL SECTION
	-------------------------------------------*/
	.call-to-action-small h2.title.cta-small-title.home-title {
		width: 71%;
		font-size: 25px;
	}
	.call-to-action-small .cta-link-small {
		width: 28%;
	}
	.call-to-action-small .cta-link-small a {
		font-size: 16px;
	}

	/*---------------------------------------
	FOOTER SECTION
	----------------------------------------*/
	.top-footer {
		padding-bottom: 20px;
	}
	.top-footer .widget {
		margin-bottom: 30px;
		width: 50% !important;
		font-size: 15px;
		padding-right: 30px;
		padding-left: 0;
	}

	/*---------------------------------------------
	GALLERY ITEMS
	----------------------------------------------*/
	.gallery-columns-2 .gallery-item, .gallery-columns-3 .gallery-item, .gallery-columns-4 .gallery-item, .gallery-columns-5 .gallery-item,
	.gallery-columns-6 .gallery-item, .gallery-columns-7 .gallery-item, .gallery-columns-8 .gallery-item, .gallery-columns-9 .gallery-item {
		max-width: 33.33%;
	}

	/*-------------------------------------------
	CONTACT PAGE
	-------------------------------------------*/
	.wpcf7-form p {
		width: 32%;
	}
	/*--------------------------------------
	WIDGET EDITOR PICK
	---------------------------------------*/
	#primary .widget.widget_eightmedi_pro_editor_pick .sidebar-posts-wrapper .single_post, 
	#primary .widget.widget_eightmedi_pro_stat_counter, 
	#primary .widget.widget_eightmedi_pro_icon_text {
		width: 50%;
		margin-bottom: 30px;
	}
	#primary .widget_eightmedi_pro_register_latest_posts .latest-single-post, 
	#primary .widget_eightmedi_pro_register_random_posts .rand-single-post {
	    display: inline-block;
	    float: none;
	    vertical-align: top;
	    width: 49.33%;
	    margin-bottom: 30px;
	}
	#primary .widget.widget_eightmedi_pro_editor_pick .sidebar-posts-wrapper .single_post:nth-last-of-type(1), 
	#primary .widget.widget_eightmedi_pro_editor_pick .sidebar-posts-wrapper .single_post:nth-last-of-type(2), 
	#primary .widget_eightmedi_pro_register_latest_posts .latest-single-post:nth-last-of-type(1), 
	#primary .widget_eightmedi_pro_register_latest_posts .latest-single-post:nth-last-of-type(2), 
	#primary .widget_eightmedi_pro_register_random_posts .rand-single-post:nth-last-of-type(1), 
	#primary .widget_eightmedi_pro_register_random_posts .rand-single-post:nth-last-of-type(2) {
		margin-bottom: 0;
	}

}

@media screen and (max-width: 782px) {
	.admin-bar .fixed {
		top: 46px;
	}
	.admin-bar .main-navigation .nav-menu {
	    padding-top: 60px;
	}
	#primary .widget_eightmedi_cta_video .cta-wrap-right .cta-title.main-title {
	    font-size: 20px;
	}
}

@media screen and (max-width: 640px) {
	.title, .top-footer .widget-title {
		font-size: 25px;
	}
	.google-section-wrap.em-container {
		display: none;
	}
	.call-to-action-small .cta-link-small a {
		padding-right: 10px;
		padding-left: 10px;
	}
	.error-404-section {
		background-size: 100%;
	}
	
	/*----------------------------------------
	COMMENT SECTION
	-----------------------------------------*/
	.comment-author {
		width: 100%;
	}
	.comment-metadata {
		text-align: left;
		width: 100%;
	}
	p.comment-form-author, p.comment-form-email, p.comment-form-url {
		padding-right: 0;
		width: 100%;
	}

	/*----------------------------------------
	CALL TO ACTION BOXED LAYOUT
	-----------------------------------------*/
	.boxed-layout .call-to-action-small figure {
		vertical-align: bottom;
	}
	.boxed-layout .call-to-action-small h2.title.cta-small-title.home-title {
		width: 73%;
	}
	.boxed-layout .call-to-action-small .cta-link-small {
		width: 26%;
	}

	/*-----------------------------------------
	BANNER SECTION
	------------------------------------------*/
	.caption-wrapper {
		display: none;
	}
	.bx-wrapper .bx-controls-direction a {
		top: 30%;
	}
	.bx-wrapper .bx-pager {
		right: 10px;
	}	
	div#home-slider::after {
		display: none;
	}

	/*---------------------------------------
	APPOINTMENT SECTION
	----------------------------------------*/
	/*.appointment {
		background: none !important;
	}*/
	.custom-appointment-form {
		padding-top: 0;
		width: 100%;
		background: none !important;
	}
	.appointment .ufbl-form-wrapper.ufbl-default-template {
		width: 100% !important;
	}

	/*---------------------------------------------
	TEAM SECTION
	----------------------------------------------*/
	.team-text-wrap {
		width: 48%;
	}
	.team-slider-wrap {
		width: 50%;
	}
	.team-slider .doctor-specialization {
	    display: inherit;
	}
	.our-team-member .bx-wrapper .bx-controls-direction a {
		text-indent: 60px;
	}

	/*-------------------------------------------
	CALL TO ACTION SECTION
	--------------------------------------------*/
	.call-to-action figure {
		width: inherit;
	}
	.call-to-action .cta-content-wrap {
		padding: 0 10px 40px 10px;
		width: inherit;
	}

	/*---------------------------------------------
	NEWS PAGE
	----------------------------------------------*/
	.category-news header.entry-header, .category-news .entry-content, .category-news .entry-footer {
		float: none;
		margin-top: 20px;
		padding-left: 0;
		width: 100%;
	}
	.category-news figure {
		float: none;
		width: 100%;
	}

	/*----------------------------------------------
	SERVICE PAGE
	-----------------------------------------------*/
	.category-featured article {
		float: none;
		width: 100%;
		margin-right: 0;
	}
	.category-featured figure a {
		height: auto;
	}

	/*---------------------------------------------
	GALLERY ITEMS
	----------------------------------------------*/
	.gallery-columns-2 .gallery-item, .gallery-columns-3 .gallery-item, .gallery-columns-4 .gallery-item, .gallery-columns-5 .gallery-item,
	.gallery-columns-6 .gallery-item, .gallery-columns-7 .gallery-item, .gallery-columns-8 .gallery-item, .gallery-columns-9 .gallery-item {
		max-width: 50%;
	}

	/*-----------------------------------------------
	CONTACT PAGE
	------------------------------------------------*/
	.contact-page-form {
		width: 100%;
		float: none;
		margin-bottom: 30px;
	}
	.contact-info-wrap {
	    float: none;
	    padding-left: 0px;
	    width: 100%;
	}

	/*----------------------------------------------
	DOCTOR PAGE
	-----------------------------------------------*/
	.type-grid.column-3 article, 
	.type-grid.column-4 article {
		width: 50%;
	}
	.type-grid.column-3 article:nth-child(3n+1), 
	.type-grid.column-4 article:nth-child(4n+1) {
		clear: none;
	}
	.type-grid.column-3 article:nth-child(2n+1), 
	.type-grid.column-4 article:nth-child(2n+1) {
		clear: both;
	}

	/*----------------------------------------------
	GRID SHORTCODE
	-----------------------------------------------*/
	.ed-span1, .ed-span2, .ed-span3, .ed-span4, .ed-span5, .ed-span6 {
	    margin-left: 0;
	    padding-left: 0;
	    padding-right: 0;
	    width: 100%;
	}

	/*----------------------------------------------
	WIDGET CTA VIDEO
	-----------------------------------------------*/
	#primary .widget_eightmedi_cta_video .cta-wrap-left {
	    float: none;
	    margin: 0 0 15px;
	    width: 100%;
	}
	#primary .widget_eightmedi_cta_video .cta-wrap-right {
    	float: none;
	    padding-right: 0;
	    width: 100%;
	}
	
}

@media screen and (max-width: 600px) {
	.admin-bar .fixed {
		top: 0;
	}
}

@media screen and (max-width: 540px) {
	.top-header {
		position: relative;
	}
	.top-header .header-callto .callto-left, 
	.top-header .header-callto .callto-right {
		width: 100%;
		text-align: left;
	}
	.top-header .header-callto .callto-right {
	    margin-top: 5px;
	    text-align: left;
	}
	.search-no-results input.search-field {
		width: 100%;
	}
	.search-no-results input.search-submit {
		width: 100%;
		margin-top: 10px;
	}
	.comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous,
	.comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next {
		width: 100%;
		float: none;
		margin-bottom: 5px;
	}
	.nav-links a {
		font-size: 15px;
	}
	header.site-header {
		padding-top: 15px;
	}
	nav#site-navigation {
		margin-top: 5px;
	}
	.bx-wrapper .bx-controls-direction a {
		height: 60px;
	    text-indent: 55px;
	    width: 35px;
	}
	.bx-wrapper .bx-prev::before, .bx-wrapper .bx-next::after {
		font-size: 1.5em;
		line-height: 60px;
	}
	.bx-wrapper .bx-next::after {
		margin-right: 5px;
	}
	a.home-slider-pointer.cta-btn {
	    font-size: 13px;
	    height: 35px;
	    line-height: 35px;
	    width: 190px;
	}
	.our-testimonial {
		margin-top: 50px;
	}
	.featured-block table {
		margin-top: 5px;
	}
	.nav-links .nav-previous a, 
	.nav-links .nav-next a {
		float: none;
		width: 100%;
	}

	/*---------------------------------------------
	GALLERY ITEMS
	----------------------------------------------*/
	.gallery-columns-2 .gallery-item, .gallery-columns-3 .gallery-item, .gallery-columns-4 .gallery-item, .gallery-columns-5 .gallery-item,
	.gallery-columns-6 .gallery-item, .gallery-columns-7 .gallery-item, .gallery-columns-8 .gallery-item, .gallery-columns-9 .gallery-item {
		max-width: 100%;
	}

	/*----------------------------------------
	CALL TO ACTION BOXED LAYOUT
	-----------------------------------------*/
	.boxed-layout .call-to-action-small figure {
		vertical-align: bottom;
	}
	.boxed-layout .call-to-action-small h2.title.cta-small-title.home-title {
		width: 100%;
	}
	.boxed-layout .call-to-action-small .cta-link-small {
		width: 100%;
	}

	/*-----------------------------------
	ERROR 404 
	------------------------------------*/
	.error-404-section {
		height: auto;
		margin-top: 40px;
		margin-bottom: 40px;
	}
	.error-404-contain-wrap .search-form label {
		display: inline-block;
	}
	.error-404 input.search-submit {
		display: inline-block;
	}

	/*-------------------------------------
	MAIN HEADER SECTION
	--------------------------------------*/
	.site-branding {
		padding-top: 0;
	}
	nav#site-navigation {
		padding-top: 0;
	}

	/*------------------------------------------
	APPOINTMENT SECTION
	-------------------------------------------*/
	.ufbl-default-template .ufbl-form-field-wrap {
		margin-right: 0;
		width: 100%;
	}

	/*------------------------------------
	TEAM SECTION
	-------------------------------------*/
	.team-text-wrap {
		float: none;
		padding-right: 0;
		margin-bottom: 20px;
		width: 100%;
	}
	.team-slider-wrap {
		float: none;
		width: 100%;
		margin-bottom: 50px;
	}
	.team-slider-wrap .bx-wrapper .bx-next::after {
		right: 10px;
	}
	.rtl .team-slider-wrap .bx-wrapper .bx-next::after {
	    right: 50px;
	}

	/*---------------------------------------
	CALL TO ACTION
	----------------------------------------*/
	.call-to-action {
		margin-top: 60px;
	}
	.call-to-action figure {
		float: none;
		width: 100%;
	}
	.call-to-action .cta-content-wrap {
		float: none;
		padding: 20px 10px 40px 10px;
		width: 100%;
	}

	/*--------------------------------------------
	LATEST NEWS
	---------------------------------------------*/
	.latest-news .home-description {
		width: 100%;
	}
	.news-block {
		width: 100%;
		padding: 0;
		margin-bottom: 30px;
	}
	.news-block:last-child, .latest-news .news-text:last-child {
		margin-bottom: 0;
	}

	/*------------------------------------------
	CALL TO ACTION SMALL
	-------------------------------------------*/
	.call-to-action-small figure::before {
		height: 100%;
	}
	.call-to-action-small figure {
		width: 100%;
		text-align: center;
	}
	.content-wrap {
		margin-top: 20px;
		width: 100%;
	}
	.call-to-action-small h2.title.cta-small-title.home-title {
		width: 100%;
	}
	.call-to-action-small .cta-link-small {
		margin-bottom: 30px;
		margin-top: 20px;
		width: 100%;
	}

	/*---------------------------------------
	FOOTER SECTION
	----------------------------------------*/
	.top-footer .widget {
		padding-right: 0;
		margin-bottom: 30px;
		width: 100% !important;
	}
	.top-footer .widget:last-child {
		margin-bottom: 0;
	}

	/*----------------------------------------
	BOXED LAYOUT
	-----------------------------------------*/
	.boxed-layout .team-text-wrap {
		padding-right: 0;
		width: 100%;
	}
	.boxed-layout .team-slider-wrap {
		width: auto;
	}

	/*---------------------------------------
	ERROR 404 PAGE 
	----------------------------------------*/
	.error-404-section {
		background: none;
	}
	.error-404-contain-wrap, .error-404 form.search-form {
		position: static;
		text-align: center;
		width: 100%;
	}
	.error-404 form.search-form {
		margin-top: 20px;
	}

	/*-------------------------------------------
	DOCTOR PAGE
	--------------------------------------------*/
	.category-doctors article {
		float: none;
		width: 100%;
		margin-right: 0;
	}

	/*---------------------------------------------
	FAQ SECTION
	----------------------------------------------*/
	#faqs-content {
		padding-left: 10px;
		padding-right: 10px;
	}
	.faqs-block {
		padding: 0;
		width: 100%;
	}
	.faqs-block:last-child {
		margin-bottom: 0px;
	}

	/*--------------------------------------------
	WIDGETS ON HOMEPAGE PRIMARY SECTION
	---------------------------------------------*/
	.home-widget-area {
		padding-left: 10px;
		padding-right: 10px;
	}
	#primary .widget.widget_eightmedi_pro_editor_pick .sidebar-posts-wrapper .single_post, 
	#primary .widget_eightmedi_pro_register_latest_posts .latest-single-post, 
	#primary .widget_eightmedi_pro_register_random_posts .rand-single-post {
	    float: none;
	    margin-bottom: 30px;
	    padding: 0;
	    width: 100%;
	}
	#primary .widget.widget_eightmedi_pro_editor_pick .sidebar-posts-wrapper .single_post:nth-last-of-type(2), 
	#primary .widget_eightmedi_pro_register_latest_posts .latest-single-post:nth-last-of-type(2), 
	#primary .widget_eightmedi_pro_register_random_posts .rand-single-post:nth-last-of-type(2) {
		margin-bottom: 30px;
	}
	#primary .widget.widget_eightmedi_pro_editor_pick .sidebar-posts-wrapper .single_post:last-child, 
	#primary .widget_eightmedi_pro_register_latest_posts .latest-single-post:last-child, 
	#primary .widget_eightmedi_pro_register_random_posts .rand-single-post:last-child {
		margin-bottom: 0;
	}
	#primary .latest-posts-wrapper .post-desc-wrapper, #primary .random-posts-wrapper .post-desc-wrapper {
		left: 0;
		right: 0;
	}
	.widget_eightmedi_pro_widget_slider .post-desc-wrapper {
		display: none;
	}
	#primary .widget.widget_eightmedi_pro_stat_counter, #primary .widget.widget_eightmedi_pro_icon_text {
	    margin: 0 0 40px;
	    padding: 0;
	    width: 100%;
	}

	/*----------------------------------------------
	DOCTOR PAGE
	-----------------------------------------------*/
	.type-list .listview-img-wrap {
	    float: none;
	    margin-bottom: 20px;
	    width: 100%;
	}
	.type-list .listview-desc-wrap {
	    float: none;
	    padding-left: 0;
	    width: 100%;
	}
	.type-grid article {
	    float: none;
	    padding: 0;
	}
	.type-grid.column-1 article, 
	.type-grid.column-2 article, 
	.type-grid.column-3 article, 
	.type-grid.column-4 article {
		width: 100%;
	}

	/*-------------------------------------
	SHORTCODE TEAM
	--------------------------------------*/
	.shortcode-team-block .team-image.square {
		width: 300px;
		height: 290px;
	}

	/*---------------------------------------
	SHORTCODE CTA
	----------------------------------------*/
	.ed_call_to_action .ed_call_to_action_content {
		width: 100%;
		margin-right: 0;
	}

	/*------------------------------------------
	SHORTCODE CTA VIDEO ANC CTA FORM
	-------------------------------------------*/
	.shortcode-cta-video .cta-wrap-left, .shortcode-cta-form .cta-form-desc {
	    margin-bottom: 20px;
	    width: 100%;
	    float: none;
	}
	.shortcode-cta-video .cta-wrap-right, .shortcode-cta-form .cta-form {
		width: 100%;
		float: none;
		padding-left: 0;
	}

	/*--------------------------------------------------------
	HORIZONTAL TABS GROUP
	---------------------------------------------------------*/
	.ed_tab_wrap.horizontal .ed_tab_group::before {
		border-bottom: 1px solid #fff;
		color: #fff;
		content: "Tabs";
		font-family: Droid Sans;
		font-size: 18px;
		font-weight: bold;
		padding: 5px 10px;
		width: 100%;
	}
	.ed_tab_wrap.horizontal .ed_tab_group::after {
		color: #fff;
		content: "";
		font-family: fontawesome;
		font-size: 14px;
		position: absolute;
		right: 10px;
		top: 5px;
	}
	.ed_tab_wrap.horizontal .ed_tab_group {
		background: #46bddf none repeat scroll 0 0;
		border-bottom: none;
		margin-bottom: 20px;
		position: relative;
		padding-left: 0;
	}
	.ed_tab_wrap.horizontal .ed_tab_group .tab-title::before {
		color: #fff;
		content: "";
		font-family: fontawesome;
		font-size: 16px;
		margin-right: 5px;
	}
	.ed_tab_wrap.horizontal .ed_tab_group .tab-title {
		background: transparent none repeat scroll 0 0;
		border: medium none;
		border-radius: 0;
		color: #fff;
		display: inline-block;
		width: 100%;
		border-bottom: 1px solid #4ea1c9;
		padding: 5px 15px;
		margin-right: 0;
	}
	.ed_tab_wrap.horizontal .ed_tab_group .tab-title:hover, .ed_tab_wrap.horizontal .ed_tab_group .active, 
	.ed_tab_wrap.horizontal .ed_tab_group .tab-title.active:hover {
		background: #4ea1c9 none repeat scroll 0 0;

	}
	.ed_tab_wrap.vertical .tab-title.active::before, .ed_tab_wrap.vertical .tab-title.active::after {
		display: none;
	}
	.ed_tab_wrap.vertical .ed_tab_group{
		float: none;
		margin-right: 0;
		margin-bottom: 20px;
		width: 100%;
	}
	.ed_tab_wrap.vertical .ed_tab_content {
		float: none;
		width: 100%;
	}
	.ed_tab_content {
		margin-bottom: 40px;
		padding: 0;
	}
	
}

@media screen and (max-width: 540px) and (orientation: portrait) {
	.callto-right .header-social.social-links .social-icons a {
		font-size: 16px;
		height: 40px;
		line-height: 40px;
		padding: 0;
		width: 30px;
	}
	.site-branding, .boxed-layout .site-branding {
		width: 80%;
	}
	.error-404 input.search-submit {
		display: block;
		margin: 10px auto 0;
	}
	nav#site-navigation, .boxed-layout nav#site-navigation {
		width: 20%;
		text-align: left;
	}
	.featured-block {
		float: none;
		width: 100%;
	}
	.footer-social a {
		font-size: 16px;
		height: 29px;
		line-height: 29px;
		width: 29px;
		padding: 0;
	}
	.header-search .search-form {
		width: 300px;
	}
	.header-search .search-form label {
		width: 100%;
		margin-bottom: 5px;
	}
	.header-search .search-submit {
		width: 100%;
	}
}
