/* Former Avada-Child styles */







/* === GENERAL === */

.blue_button {
    background: #61A8DE;
    padding: 5px 20px;
    color: white;
}

.blue_button:hover {
    background: #4282b3;
    color: white;
}

.white_button {
    background: #ffffff;
    padding: 10px 20px;
}

.white_button:hover {
    background: #61A8DE;
    padding: 10px 20px;
    color: white;
}

h1, h2, h3, h4, h5, h6 {
	margin:  0 !important;
}



/* === HEADER === */


.fusion-header>.fusion-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

nav.fusion-main-menu {
    width: 60%;
    padding: 0;
}

.avada-menu-highlight-style-bottombar.fusion-top-header:not(.fusion-header-layout-v6) .fusion-main-menu>ul>li>.fusion-bottombar-highlight:after {
    border-top: 3px solid #61A8DE !important;
}

.pi_header_socials a {
    padding: 0 10px;
}

.pi_header_socials {
    justify-content: center;
    display: flex;    
}

.fusion-logo {
    width: 25%;
}

.pi_header_desctop_widget {
    width: 15%;
}

ul#menu-main-menu {
    justify-content: center;
}





/* === FOOTER === */

footer .textwidget.custom-html-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fusion-footer-widget-column {
    margin-bottom: 20px !important;
}

.textwidget.custom-html-widget span {
    padding-bottom: 10px;
    color: white;
}



/* === HOMEPAGE === */

.home_top-section h1,
.home_top-section p {
    color: white !important;
}

.home_top-section {
    padding: 12% 0 !important;
    margin-bottom: 50px !important;
}


.home_conditions,
.home_staff,
.home_conditions2,
.home_associations {
    padding: 50px 20px !important;
}

.home_staff-title,
.home_conditions2-title,
.home_associations-title {
    padding-bottom: 50px !important;
}

.home_conditions-item h3 {
    color: #494949 ! important;
}

.home_conditions-item span {
    font-family: monospace;
    color: #61a8de;
}

.home_conditions-title h2 {
    padding-bottom: 30px;
}

.home_staff-itemleft>div {
    margin: 0 !important;
}

.home_staff-itemleft-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home_staff-itemright {
    padding: 0 20px;
}


.home_staff-itemright .blue_button {
    padding: 10px 40px;
    margin-top: 20px !important;
    display: inline-block;
}

.home_conditions-items .fusion-builder-row {
    display: flex !important;
}

.fusion-body .fusion-layout-column.home_conditions-item {
    width: 33% !important;
}

.fusion-body .fusion-layout-column.home_conditions-item>div {
    align-items: center;
}

.home_conditions-item p {
    margin: 0 !important;
    color: #61a8de;
}


.home_conditions2-items>div>div {
    display: flex;
}

.fusion-builder-row>.fusion-layout-column.home_conditions2-item {
    width: 25% !important;
}

.home_conditions2-item>div {
    display: flex;
    align-items: center;
}

.home_conditions2-item p {
    color: #494949;
    margin: 0;
    border: 1px solid #F2F2F2;
    padding: 0 30px;
    margin: -10px 0 0 0 !important;
    z-index: 1;
    background: white;
}

.home_conditions2-item>div>div:nth-child(1) {
    border: 1px solid #F2F2F2;
    padding: 20px;
}

.home_associations-items>div>div {
    width: 25%;
    align-items: center;
    justify-content: center;
    display: flex;
}

.testimonials_title {
    text-align: center;
    color: #61A8DE;
    font-size: 24px;
}

.testimonials_txt-name {
    color: #61A8DE;
    font-size: 18px;
    line-height: 1;
}


.testimonials_author {
    display: flex;
    align-items: center;
}

.testimonials_txt {
    padding-left: 20px;
}

.testimonials_item {
    padding:  20px;
    border: 1px solid #f0f0f0;
    box-shadow: 0px 3px 10px 3px #e7e7e7;
}

.testimonials_description {
    line-height: 1.6;
    padding: 20px 0;
}


.home_testimonials-slider>div>.white {
    overflow: visible !important;
}

.showcase_nav .owl-prev {
    left: -20px !important;
}

.showcase_nav .owl-next {
    right: -20px !important;
}

.home_staff-itemright h3 {
    padding-bottom: 20px;
}

.home_staff-itemright p {
    margin-bottom: 0 !important;
}

.home_top-section2 .owl-item>div {
    display: flex;
}

.hp_sld_top {
    width: 100%;
    justify-content: center;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

/*.home_top-section2 h1, .home_top-section2 p {
    color: white !important;
}*/




/* === INNER PAGES === */

.ourstaff_top-section h1 {
    padding-bottom: 30px;
}

.ourstaff_top-section {
    padding: 17% 0 !important;
}

.fusion-body .fusion-layout-column.ourstaff_item {
    width: 30% !important;
}

.ourstaff_team {
    margin: 7% 0 5% !important;
}

.ourstaff_testimonials {
    padding-bottom: 5% !important;
}

/*.white > .showcase_nav.owl-nav .owl-prev {
    background: rgb(143 193 231 / 30%) url(../images/icon_prev.png) no-repeat center center !important;
}

.white > .showcase_nav.owl-nav .owl-next {
    background: rgba(143 193 231 / 30%) url(../images/icon_next.png) no-repeat center center !important;
}*/

.ourstaff_item h3 {
    padding-top: 10px;
}

.ourstaff_item p {
    line-height: 1.4;
}

.inner_top-section h1 {
    color: white !important;
    padding-bottom: 30px;
}

.inner_top-section {
    padding: 7% 0 !important;
}

.contact_items .blue_button {
    margin-top: 20px !important;
    display: inline-block;
}

.pi_mobile_menu_items {
    display: none;
}







/* === MOBILE OPTIMISATION === */


@media only screen and (max-width: 1300px) {
.home_staff>div {
    flex-direction: column;
}

.fusion-body .fusion-layout-column.home_staff-itemleft,
.fusion-body .fusion-layout-column.home_staff-itemright {
    width: 100% !important;
}

.home_staff-itemleft-wrap {
    justify-content: center;
}

.home_staff-itemleft-wrap img {
    margin: 0 20px;
}

.home_staff-itemright .fusion-text {
    display: flex;
    flex-direction: column;
}

.home_staff-itemright .fusion-text>p:last-child {
    text-align: center;
}

.showcase_nav .owl-next,
.showcase_nav .owl-prev {
    right: 50px !important;
}

ul#menu-main-menu {
    justify-content: center;
}


}


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

.fusion-main-menu>ul>li {
    padding-right: 15px !important;
}

nav.fusion-main-menu {
    padding: 0 20px !important;
}

.fusion-main-menu>ul>li>a {
    font-size: 14px !important;
}

.owl-item>div {
    min-height: auto !important;
}

}




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

}


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

.home_conditions-item {
    text-align: center;
}


.fusion-header>.fusion-row {
    display: block;
}

.pi_header_desctop_widget, .fusion-logo {
    width: auto;
}

.pi_header_socials {
    padding: 10px 0 0;
}

.pi_header_desctop_widget {
    display: none;
}

.fusion-mobile-menu-icons>a {
    margin-top: 20px;
}

.pi_mobile_menu_items {
    display: block;
}

.pi_mobile_menu_items {
    display: flex;
    justify-content: center;
}

.fusion-mobile-nav-item i {
    color: #61a8de;
}

.home_staff-itemleft-wrap {
    flex-direction: column;
}

.home_staff-itemleft-wrap img {
    margin: 20px;
}

.fusion-body .fusion-layout-column.home_conditions-item {
    width: 100% !important;
}

.fusion-builder-row>.fusion-layout-column.home_conditions2-item {
    width: 100% !important;
}

.home_associations-items>div>div {
    width: 100%;
    margin: 20px;
}

footer ul#menu-footer-menu {
    display: flex;
    flex-direction: column;
    padding: 20px 0 !important;
}

footer .pi_mobile_menu_items {
    padding: 10px 0;
    justify-content: center;
}

ul#menu-footer-menu>li>a:after {
    display: none;
}

.fusion-body .fusion-layout-column.ourstaff_item {
    width: 100% !important;
}

.ourstaff_item>div {
    align-items: center;
}

.home_staff-title, .home_conditions2-title, .home_associations-title {
    padding-bottom: 0px !important;
}

.home_conditions, .home_staff, .home_conditions2, .home_associations {
    padding: 20px 20px !important;
}

.pi_mobile_menu_item a:after {
    display: none;
}

.pi_mobile_menu_item a {
    padding: 0 10px !important;
}

}
/* ---- Readability (light redesign) ---- */
:root{--body_typography-color:#4a5160;--checklist_text_color:#4a5160;--post_titles_extras_typography-color:#5b6270}
body,#main p,#main li{color:#4a5160}
/* the second homepage slide's heading is no longer an H1 but should look the same */
.nw-slide-title{font-family:var(--h1_typography-font-family);font-weight:var(--h1_typography-font-weight);
  font-size:var(--h1_typography-font-size);line-height:var(--h1_typography-line-height);
  letter-spacing:var(--h1_typography-letter-spacing);text-transform:var(--h1_typography-text-transform);margin:0}
#main #slider_252 h1,#main #slider_252 .nw-slide-title{font-size:clamp(30px,8.5vw,40px) !important;line-height:1.16 !important}
/* headings were desktop-sized on phones (the hero title ran off the screen) */
@media (max-width:640px){
  #main h1{font-size:min(var(--h1_typography-font-size),32px) !important;line-height:1.2 !important}
  #main h2{font-size:min(var(--h2_typography-font-size),27px) !important;line-height:1.25 !important}
}
/* Our Staff: a card without a photo sits level with the names of the cards beside it */
.ourstaff_item.nw-no-photo{align-self:flex-end}
/* rebuilt pages: images and dividers that came from the old builder code */
.nw-rebuilt-img{display:block;max-width:100%;height:auto;margin:24px auto;border-radius:6px}
.nw-rebuilt-sep{border:0;border-top:1px solid #e0e4ea;margin:36px 0}
