/*
 Theme Name:     Medical Centre 2000
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Medical Together
 Author URI:     https://www.medicaltogether.com.au
 Template:       Divi
 Version:        1.0.0
*/

/******* MEDICAL TOGETHER STYLES *******/
/* -----------------------------------------------------------------------------------------------------FOOTER AREA CSS */

.footer-map .gmnoprint,
.footer-map .gm-control-active, .he_book_container a img, .hidden {
	display: none;
}

#footer-map > .et_pb_code_inner,
#footer-map > .et_pb_code_inner > iframe {
	height: 100%;
	width: 100%;
}
@media (min-width: 1231px) {
	#footer-map::before {
		position: absolute;
		content: "";
		width: 60%;
		height: 100%;
		background: linear-gradient(90deg,transparent,#F5F7FA 30%);
		z-index: 9;
		right: 0;
		pointer-events: none;
	}
}
@media (max-width: 1230px) {
	#footer-map {
		height: 25em;
	}
}

/* -----------------------------------------------------------------------------------------------------MEDICAL TOGETHER ICON API CSS */

.mt-icon .mt-icon-color {
/*	Sets the SVG fill colour of icons pulled from the MT Icon API. */
	fill: #02546E;
}

#mt-home .mt-icon-color, #mt-services .mt-icon-color {
	fill: white;
}

/* -----------------------------------------------------------------------------------------------------MEDICAL TOGETHER SPONSORSHIP CSS */

/* ----------
Home Page Sponsorship
   ---------- */
.mt-home-sponsor:hover .home-spons-icon svg {
    top: -5px;
    filter: drop-shadow(0px 5px 3px rgba(0,0,0,0.3));
}
.home-spons-icon svg {
    transition: .8s ease;
    top: 0px;
    position: relative;
    filter: drop-shadow(0px 0px 0px rgba(0,0,0,0.3));
}
#mt-home .mt-icon-color {
	fill: #5F6977;
}
.home-spons-icon:before {
    position: absolute;
    content: " ";
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/2020/12/sqaurecle-white.svg);
    background-size: contain;
	filter: drop-shadow(0px 3px 6px rgba(0 0 0 / 4%));
	transition: .3s ease-in-out;
	z-index: -1;
}
.home-spons-icon {
	background: none;
    transition: .3s ease-in-out;
    top: 0;
    position: relative;
}
/* .mt-home-sponsor:hover .home-spons-icon {
    top: -5px;
    filter: drop-shadow(0px 5px 8px rgba(0 0 0 / 4%));
} */
.home-spons-dist{font-weight: 300;}
.home-spons-cat,
.home-spons-dist {
	color: #212121;
	letter-spacing: -.5px;
}
.home-spons-cat{font-weight: 500;}
/* ----------
Services Page Sponsorship
   ---------- */
.mt-services-sponsor >.mt-spons-inner {
	width: 100%;
	padding: 0 10px;
}
.mt-spons-meta-r{padding: 20px 10px;}
.mt-spons-cta {
	background: linear-gradient(40deg,#967936 0%,#CFAD67 65%);
	box-shadow: 0px 5px 10px 0px rgba(207,173,103,0.3);
	border-radius: 10px 0;
	padding: 5px 15px;
	line-height: 1.5;
	transition: .2s ease;
}
.mt-spons-cta:after {
    content: "5";
    position: absolute;
    color: white;
    margin-left: -22px;
    font-family: 'ETModules';
	font-size: 30px;
	margin-top: -12px;
    transition: .2s ease;
    opacity: 0;
}
.mt-spons-cta:hover:after {
    opacity: 1;
    margin-left: -6px;
}
.mt-spons-cta:hover {
    padding-right: 25px;
}
.mt-spons-meta{margin-top: 20px;}
.mt-spons-phone{font-weight: 400;}
.mt-spons-phone a, .mt-spons-hours p, .mt-spons-meta, .mt-spons-desc{color: #4B4F54}
.mt-spons-inner {
	width: 80%;
	max-width: 1325px;
}
.mt-spons-info h1, .mt-spons-hours h5{margin-bottom: 20px}
.mt-spons-hours p{padding-bottom: 6px;}
.mt-spons-hours p strong, .mt-spons-info h1{
	font-weight: 400;
	width: auto;
    margin-right: 10px;
}
.mt-spons-info h1{
	font-weight: 600;
	letter-spacing: -1px;
}
.mt-spons-hours h5{font-weight: 500;}
.mt-spons-phone::before, .mt-spons-addr::before, .mt-spons-info h1, .mt-spons-hours h5{
	color: #CFAD67;
}
.mt-spons-phone::before, .mt-spons-addr::before {
    content: "";
    margin-right: 5px;
    font-family: ETModules;
}
.mt-spons-addr::before {
    content: "";
}
/*	Alternating Row Colour Settings */
.mt-services-sponsor:nth-child(even) {
	background-color: transparent;
}
.mt-services-sponsor:nth-child(odd) {
	background-color: #FFFFFF;
}

/******* CUSTOM CSS *******/


h1,h2,h3,h4,h5,h6{padding-bottom: 0}
#main-content .padded_left{padding-left: calc(50vw - 50.7em);}
#main-content .padded_right, footer .padded_right{padding-right: calc(50vw - 50.7em);}
.s_bold {
    font-weight: 600!important;
}
.accent, footer .ft_contact a.accent{color:#CFAD67!important}
.rounded_btn{border-radius: 10px 0!important;}
#page-container #et-boc .rounded_btn:active{ box-shadow: 0px 5px 20px 0px RGBA(207,173,103,0.35);}
#page-container #et-boc .rounded_btn.dark:active{ box-shadow: 0px 5px 20px 0px rgba(118,134,145,0.37)}

/*HEADER*/
header .et_pb_menu__logo-wrap img{
	width: 25rem;
}
.menu_row > .et_pb_column {
    display: grid;
    grid-gap: 5px;
    grid-template-columns: auto 21em;
	align-items: center;
}
.menu_row > .et_pb_column .et_pb_menu_inner_container{
	align-items: center;
}
body #page-container header .dsm_button.book_btn_container .et_pb_button.et_pb_button_two{
	border-radius: 10px 0;
	margin-left: 10px;
}
body #page-container header .dsm_button.book_btn_container .et_pb_button.et_pb_button_one{
	top: 2px;
}
.et_pb_column.extra_btn_container, #extra-btn, #extra-btn > div.et_pb_module_inner, #extra-btn .dsm_button_0_wrapper {
    width: fit-content!important;
}
header nav li a:before{
	content: "◦";
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 10px;
    text-align: center;
	font-size: 0;
	transition: .5s ease;
}
header nav li:hover a:before, header nav li.current-menu-item a:before{
	font-size: 2.3em;
}
header .book_btn_container .et_pb_button_two:hover {
    transform: scale(1.03);
}
header .book_btn_container .et_pb_button_two:active {
    transform: scale(1);
    box-shadow: 0px 10px 25px 0px rgba(228,63,47,0.35);
}
.he_book_container a:before {
    content: "BOOK NOW";
    padding: 8px 20px;
    background: linear-gradient(40deg,#967936 0%,#CFAD67 65%);
    font-size: 17PX;
    font-weight: 600;
    color: WHITE;
    border-radius: 10PX 0;
    box-shadow: 0px 15px 30px 0px RGBA(207,173,103,0.3);
}
.menu_row > .et_pb_column {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: auto 9.2em;
	/*-----------HAS BOOK BUTTON-----------
    grid-template-columns: auto 9.2em 10em;*/
    align-items: center;
}


/*FOOTER*/
footer .ft_info_col {
    grid-gap: 15px 20px;
    display: grid;
	grid-template-columns: 45% 25em;
}
footer .ft_after_hours_container h5{
	border-bottom: 1px solid #EAEAEA;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.ft_contact_container ul li, .ft_after_hours_container p {
    font-weight: 400;
}
.ft_contact_container .ft_hours li span {
    width: 6em;
    color: #939393;
    display: inline-block;
}
footer .map_container > .et_pb_code_inner{height: 100%;}

/*INNER PAGES*/
body:not(.home) .banner_container .cs_image_container{
	height: calc(100% - 2em);
}
body:not(.home) .banner_container .cs_image_container > .et_pb_column, body:not(.home) .banner_container .cs_image_container .cs_bg_image, body:not(.home) .banner_container .cs_image_container img{
	height: 100%;
}

/*HOME PAGE*/
.home .banner_section > .et_pb_row{
	padding-left: calc(50vw - 50.7em);
	padding-right: 50px;
}
.home .banner_section{
	margin-right: calc(50vw - 50.7em);
}
.home .banner_section div, .home .banner_section{
	overflow: visible!important;
}
.home .services_col {
	display: grid;
	height: fit-content;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-gap: 2em 10px;
}
.home .services_col .et_pb_blurb span.et_pb_image_wrap{
	width: 8em;
	max-width: none;
    height: 8em;
    background: url(/wp-content/uploads/2020/12/blurb-bg.svg) no-repeat;
    background-size: contain;
    object-fit: contain;
    padding: 22px;
}
.home .services_col .et_pb_blurb .et_pb_image_wrap img{
	width: 100%;
    max-width: none;
    height: 100%;
    object-fit: contain;
}
.home .services_col .et_pb_blurb:last-of-type .et_pb_image_wrap{
	background-image: url(/wp-content/uploads/2020/12/sqaurecle-white.svg);
    filter: drop-shadow(0px 0px 1px #CDD2DB);
}
.header_deco_container:before {
    position: absolute;
    content: " ";
    width: calc(50vw - 52em);
    height: 1px;
    background: #D0D5DD;
    left: 0;
    top: 50%;
}
.gtk_col .et_pb_button_module_wrapper, .header_deco_container h2, .et_pb_row.header_deco_container{
	width: fit-content!important;
}
.home .our_team .et_pb_team_member_image {
    max-width: 100%;
}
.home .et_pb_row.our_team .et_pb_team_member_image.et-svg{width: 100%;}
.home .our_team .et_pb_team_member_image img {
    width: 100%;
	height: 35rem;
    object-fit: cover;
}
.home .our_team .et_pb_team_member_description{
	display: block;
}
.home .our_team .et_pb_team_member_image {
    transition: .2s linear;
    box-shadow: 0 0px 0px rgba(0,0,0,0);
    top: 0;
}
.home .our_team .et_pb_team_member:hover .et_pb_team_member_image {
    top: -7px;
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.2);
}
.home .our_team .et_pb_module_header {
	min-width: 13em;
	width: 60%;
    margin: -30px auto 20px;
    background: white;
    padding: 10px 0;
    border-radius: 10px 0;
	box-shadow: 0 10px 25px #E7EAEF;
}
.gtk_col .et_pb_button.rounded_btn:active {
    box-shadow: 0px 5px 20px 0px rgba(118,134,145,0.37);
}

.gtk_col .et_pb_button.rounded_btn, .services_col .et_pb_blurb .et_pb_main_blurb_image span {
    transition: .3s ease;
}
.services_col .et_pb_blurb .et_pb_main_blurb_image img {
    transition: .8s ease;
}
.services_col .et_pb_blurb:hover .et_pb_main_blurb_image span {
    transform: scale(1.1);
}
.services_col .et_pb_blurb:hover .et_pb_main_blurb_image img {
    transform: scale(0.9);
}

/*SERVICES PAGE*/
#main-content .cs_bg_image > span, .cs_bg_image img {
    height: inherit;
    width: 100%!important;
    object-fit: cover;
}
.featured_services > .et_pb_column{
	margin: 0 10px;
}
.featured_services .service_icon {
    width: fit-content;
    margin: -70px auto 20px!important;
    filter: drop-shadow(0px 3px 20px rgba(0,0,0,0.16));
}
.featured_services .service_icon img {
    background: url(/wp-content/uploads/2020/12/sqaurecle-white.svg) no-repeat;
    background-size: contain;
    width: 7em;
    height: 7em;
    padding: 17px;
}
.featured_services .service_image img {
    height: 13em;
    object-fit: cover;
}
.featured_services .et_pb_column > .et_pb_module.et_pb_text h4 {
    margin-top: 5px;
    font-weight: 400;
}

/*DOCTORS PAGE*/
.doctors_row .et_pb_team_member .et_pb_member_position {
    margin: 5px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #D0D5DD;
}
.doctors_row .et_pb_team_member .et_pb_team_member_image {
	margin: 0 auto 20px;
    max-width: 25em;
}
.doctors_row .et_pb_team_member .et_pb_team_member_image img {
    border-radius: 30px 0;
	height: 23em;
    width: 100%;
    object-fit: cover;
}

/*ADDITIONAL PAGES*/
.add_pages_texts ul:not(.inner_ul) {
    margin-top: -15px;
    margin-left: 20px;
}
.add_pages_texts .m_head {
    font-weight: 700;
}

@media (min-width: 2100px){
	.home .banner_section > .et_pb_row{
		width: 55%;
	}
	footer .fl_footer {
		max-width: none;
		width: calc(70vw - 10em);
	}
	/* .cs_bg_image > span, .cs_bg_image img {
		object-position: 0em -5em;
	} */
}
@media (min-width: 981px){
	.home .our_team > .et_pb_column:not(.last-of-type) {
		margin-right: 2px;
	}

	footer .fl_footer.et_pb_row > .et_pb_column_1_tb_footer{
		width: 30%;
	}
}
@media (max-width: 1750px){
	.header_deco_container:before{width: 9vw;}
	header .et_pb_section_0_tb_header:after {
		width: 28vw;
	}
	.home .banner_section {
		margin-right: 10vw;
	}
	#main-content .padded_right, footer .padded_right{padding-right: 10vw;}
	.home .banner_section > .et_pb_row, #main-content .padded_left {
		padding-left: 10vw;
		padding-right: 10vw;
	}
}
@media (max-width: 1400px){
	.et_pb_section.all_services h3 {
		font-size: 12px;
	}
}
@media (max-width: 1300px){
	.menu_row .et_pb_module.et_pb_menu {
		grid-column-start: 1;
		/*-----------HAS BOOK BUTTON-----------
		grid-column-end: 4;*/
		grid-column-end: 3;
		grid-row: 2;
	}	
	.menu_row .et_pb_module.et_pb_button_module_wrapper {
		/*-----------HAS BOOK BUTTON-----------
		grid-column: 2;*/
		grid-column: 2;
	}
}
@media(max-width: 1235px){
/* 	.menu_row > .et_pb_column > .et_pb_menu_0_tb_header{
		grid-column: 1;
		grid-column-end: 3;
	} */
	.menu_row > .et_pb_column > .et_pb_module.dsm_button{
		margin-top: 0!important;
		grid-row: 1;
		grid-column: 2;
	}
}
@media(max-width: 1230px){
	.home .et_pb_section_1 > .header_deco_container {
		width: 61%!important;
	}
	.services_col .et_pb_blurb h4.et_pb_module_header span {
		font-size: 13px;
	}
	.home .services_col .et_pb_blurb span.et_pb_image_wrap {
		height: 6.5em;
		width: 6.5em;
	}
	.menu_row > .et_pb_column{
		grid-gap: 0;
	}
	.menu_row .et_pb_menu .et_pb_menu__logo-wrap {
		top: -20px;
		position: relative;
	}
	footer .footer_section{
		display: flex; 
		flex-direction: column-reverse;
	}
	#page-container #et-boc footer .footer_section .fl_footer{
		position: relative!important;
		top: 0;
		transform: unset;
		padding-right: 10vw;
	}
	footer .footer_section .fl_footer .ft_info_col{
		grid-template-columns: 51% 25em;
	}
	footer .footer_section .fl_footer .ft_logo{
		left: 2em;
	}
	footer .footer_section .map_container{
		height: 25em;
	}
	footer .footer_section .et_pb_row_0_tb_footer:before{
		display: none;
	}
	footer .footer_section .fl_footer, footer .footer_section .fl_footer:before{
		width: 100%;
		border-radius: unset;
	}
}
@media(max-width: 1100px) and (min-width: 981px){
	#main-content .et_pb_row.featured_services{
		display: grid;
		grid-template-columns: 48.9% 48.9%;
		grid-gap: 2%;
		margin: 50px auto!important
	}
	#main-content .et_pb_row.featured_services > .et_pb_column{width:100%}
	#main-content .et_pb_row.featured_services > .et_pb_column:first-of-type{
		grid-column: 1;
	}
}
@media(max-width: 980px){
	header ul#mobile_menu1{margin-top: 15px}
	footer .footer_section .fl_footer{
		padding-left: 10vw;
	}
	footer .footer_section .fl_footer:before{
		left:0;
		transform: scaleX(-1);
	}
	footer .footer_section .fl_footer .ft_logo{
		width: fit-content;
		left: 0;
		margin: -5em auto 0 0;
		position: relative!important;
		transform: unset;
	}
	footer .fl_footer .ft_contact_container, footer .fl_footer .ft_after_hours_container {
		grid-column-start: 1;
		grid-column-end: 3;
	}
	footer .footer_section .fl_footer .ft_info_col{grid-template-columns: auto auto;}
	.home .et_pb_column.services_col{
		margin-bottom: 7em
	}
	.services_col .et_pb_blurb h4.et_pb_module_header span {
		font-size: 16px;
	}
	.home .banner_section {
		margin-right: 0;
	}
	.hide_mobile{
		display: none;
	}
	.home .et_pb_section_1 > .header_deco_container {
		width: unset!important;
	}
	#main-content .et_pb_row.featured_services > .et_pb_column{
		width: 100%;
		margin: 15px auto!important;
	}
	.other_services_container .et_pb_row_5col > .et_pb_column.et_pb_with_border{
		width: 90.25%;
	}
	.cs_image_container, .cs_image_container > .et_pb_column, .cs_image_container .cs_bg_image, .cs_image_container img {
		height: 100%!important;
	}
	#main-content .doctors_row .et_pb_team_member{
		padding:0!important
	}
}
@media(max-width: 760px){
	footer .footer_section .fl_footer .ft_info_col{grid-template-columns: auto;}
	footer .fl_footer .ft_contact_container, footer .fl_footer .ft_after_hours_container {
		grid-column: unset;
	}
	footer .fl_footer:before{
		background-size: cover;
		opacity: .2;
	}
	.menu_row .et_pb_menu .et_pb_menu__logo-wrap {
		top: 0px;
	}
	.menu_row > .et_pb_column{
		grid-template-columns: auto;
	}
	body #page-container header .dsm_button.book_btn_container .et_pb_button.et_pb_button_two{
		margin: 0 auto 20px;
	}
	.menu_row > .et_pb_column > .et_pb_module.dsm_button#extra-btn > div{
		margin: auto;
	}
	.menu_row > .et_pb_column > .et_pb_menu_0_tb_header, .menu_row > .et_pb_column > .et_pb_module.dsm_button#extra-btn{
		grid-column: unset;
		width: 100%!important;	   
		text-align: center;
	}
	.menu_row > .et_pb_column > .et_pb_menu_0_tb_header{grid-row: 2;}
	.menu_row > .et_pb_column > .et_pb_module.dsm_button{grid-row: 1;}

	.page-id-475 span.qgo_logo_h:before{
		top: 5px;
	}
}

@media (max-width: 760px){
	/*--NO BOOK BTN--*/
	header .menu_row > .et_pb_column{
		display: flex;
		flex-direction: column-reverse;
	}
	header .menu_row > .et_pb_column a.et_pb_custom_button_icon{margin-bottom: 1.3em;}
	/* .menu_row > .et_pb_column > .et_pb_menu_0_tb_header {
		grid-row: 2;
		grid-column-start: 1;
		grid-column-end: 3;
	}
	.header_container .et_pb_module.et_pb_button_module_wrapper {
		text-align: right;
		grid-column: 1;
	} */
}

@media (max-width: 585px){
	.home .services_col {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	header .et_pb_menu__logo img{
		height: 7em;
	}
	header .he_book_container a:before{
		font-size: 12px;
	}
}

/* Home In House */

.service-home-icon {
	width: 8em;
    max-width: none;
    height: 8em;
    background: url(/wp-content/uploads/2020/12/blurb-bg.svg) no-repeat;
    background-size: contain;
    object-fit: contain;
    padding: 22px;
	transition: .3s ease;
    display: block;
    margin: auto;
}

.service-home-icon .mt-icon-color {
	fill: #5e6a77;
}

.service-home svg {
	transition: .8s ease;
}

.service-home span {
	padding-top: 25px;
	display: block;
	font-size: 16px;
	color: #212121;
}

.service-home {
	max-width: 550px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    display: table;
    width: 100%;
}

.service-home:hover .service-home-icon {
    transform: scale(1.1);
}
.service-home:hover svg {
    transform: scale(0.9);
}

@media screen and (max-width: 1230px) {
	.service-home-icon {
		height: 6.5em;
		width: 6.5em;
	}

	.service-home span {
		font-size: 13px;
	}
}

@media screen and (max-width: 980px) {
	.service-home span {
		font-size: 16px;
	}
}

/* Services In House */

.service-services-icon {
    background: url(/wp-content/uploads/2020/12/sqaurecle-white.svg) no-repeat;
    background-size: contain;
    width: 7em;
    height: 7em;
    padding: 17px;
	transition: .3s ease;
    margin: 0px auto 20px;
    filter: drop-shadow(0px 3px 20px rgba(0,0,0,0.16));
}

.service-services-icon .mt-icon-color {
	fill: #5e6a77;
}

