/* 
Theme Name: East Elgin Family Health Team
Author: Andrew Oldroyd
Author URI:
Version: 1.0
Description: East Elgin Family Health Team
*/

@import 'css/style.css';


a {
	 text-decoration: none;
	}
	 a:hover {
		 text-decoration: underline;
	}
	 .nav-wrap {
		 width: 100% !important;
		 margin: 1em auto 0;
		 font-size: 14px;
	}
	 @media (min-width: 992px) {
		 .nav-wrap {
			 width: 50%;
		}
	}
	 [hidden] {
		 display: none;
		 visibility: hidden;
	}
	 .acnav {
		 width: 100%;
	}
	 .acnav__list {
		 padding: 0;
		 margin: 0;
		 list-style: none;
	}
	 .acnav__list--level1 {
		 border: 1px solid #fcfcfc;
	}
	 .has-children > .acnav__label::before {
		 content: "\f067";
		 display: inline-block;
		 font: normal normal normal 14px/1 FontAwesome;
		 font-size: inherit;
		 text-rendering: auto;
		 margin-right: 1em;
		 transition: transform 0.3s;
	}
	 .has-children.is-open > .acnav__label::before {
		 transform: rotate(405deg);
	}
	 .acnav__link, .acnav__label {
		 display: block;
		 font-size: 15px;
		 padding: 1em;
		 margin: 0;
		 cursor: pointer;
		 color: #fcfcfc;
		 background: #018CCE;
		 box-shadow: inset 0 -1px #3988a0;
		 transition: color 0.25s ease-in, background-color 0.25s ease-in;
	}
	 .acnav__link:focus, .acnav__label:focus, .acnav__link:hover, .acnav__label:hover {
		 color: #ffffff;
		 background: #0b77ab;
	}
	 .acnav__link--level2, .acnav__label--level2 {
		 padding-left: 3em;
		 background: #018CCE;
	}
	 .acnav__link--level2:focus, .acnav__label--level2:focus, .acnav__link--level2:hover, .acnav__label--level2:hover {
		 background: #055982;
	}
	 .acnav__link--level3, .acnav__label--level3 {
		 padding-left: 5em;
		 background: #018CCE;
	}
	 .acnav__link--level3:focus, .acnav__label--level3:focus, .acnav__link--level3:hover, .acnav__label--level3:hover {
		 background: #055982;
	}
	 .acnav__link--level4, .acnav__label--level4 {
		 padding-left: 7em;
		 background: #018CCE;
	}
	 .acnav__link--level4:focus, .acnav__label--level4:focus, .acnav__link--level4:hover, .acnav__label--level4:hover {
		 background: #055982;
	}
	 .acnav__list--level2, .acnav__list--level3, .acnav__list--level4 {
		 display: none;
	}
	 .is-open > .acnav__list--level2, .is-open > .acnav__list--level3, .is-open > .acnav__list--level4 {
		 display: block;
	}
	.is-open .acnav__label{
		background: #0077af;
	}


	form.post-password-form p {
	    display: flex;
	}

	form.post-password-form p label {
	    display: flex;
	    align-items: center;
	}
	


section.referral-area{
    padding-top: 60px;
    padding-bottom: 60px;
}

section.referral-area .referral-area-wrapper .title-wrapper{
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

section.referral-area .referral-area-wrapper .title-wrapper img{
    width: 380px;
}

section.referral-area .referral-area-wrapper .title-wrapper h2{
    color: #000;
    font-size: 190%;
    font-weight: normal;
}

section.referral-area .referral-area-wrapper .title-wrapper hr{
    margin-bottom: 45px;
    margin-top: 5px;
    color: #f38520;
    background-color: #f38520;
    height: 3px;
    width: 60px;
    display: inline-block;
}

section.referral-area .referral-area-wrapper .refferal-content h2, section.referral-area .referral-area-wrapper .refferal-content h3, section.referral-area .referral-area-wrapper .refferal-content h4, section.referral-area .referral-area-wrapper .refferal-content h5, section.referral-area .referral-area-wrapper .refferal-content h6, section.referral-area .referral-area-wrapper .refferal-content p{
    color: #000;
}

section.referral-area .referral-area-wrapper .refferal-content p.contact-info b{
    margin-right: 10px;
}

section.referral-area .contact-form .eefht-form-title{
    margin-top: 45px;
}
section.referral-area .contact-form .eefht-form-title h5{
    font-size: 18px;
    color: #000000;
}


section.referral-area .contact-form .eefht-checkbox .gfield_checkbox .gchoice {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

section.referral-area .contact-form .eefht-checkbox .gfield_checkbox .gchoice input {
    flex-basis: 25px;
    margin-right: 20px;
    box-shadow: none;
}

section.referral-area .contact-form .gfield_label{
    color: #000000;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

section.referral-area .contact-form .eefht-radio-btn .ginput_container_radio .gfield_radio .gchoice {
    display: flex;
    align-items: center;
}

section.referral-area .contact-form .eefht-radio-btn .ginput_container_radio .gfield_radio .gchoice .gfield-choice-input {
    flex-basis: 25px;
    margin-right: 10px;
    box-shadow: none;
}

section.referral-area .contact-form input[type='submit'] {
    padding: 10px 20px !important;
}

.birth-and-beyond-form input[type='submit'] {
    padding: 10px 20px !important;
    background: #f38520 !important;
}


@media only screen and (max-width: 767px){
    section.referral-area .referral-area-wrapper .title-wrapper{
        flex-direction: column-reverse;
        align-items: flex-start;
        margin-bottom: 30px;
    }
}


