/*  
Theme Name: Mackay Family Medical Practice
Version: 1.0
Author: Cloud Three
Author URI: https://cloudthree.com.au/
*/

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* ninja forms preset */

.ninja-forms-form-wrap .ninja-forms-error-msg {
	color: #ff0000;
	margin-bottom: 5px;
}

.ninja-forms-form-wrap .ninja-forms-required-items {
	margin-bottom: 5px;
	font-weight: bold;
}

.ninja-forms-form .text-wrap input,
.ninja-forms-form .textarea-wrap textarea,
.ninja-forms-form .list-dropdown-wrap select {
	font-size: 14px;
	padding: 10px 10px;
	border: 1px solid #cccccc;
	-webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    background-color: #ffffff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
}

.ninja-forms-form .submit-wrap input {
	line-height: 41px;
	text-align: center;
	background-color: #ffffff;
	padding: 0 32px;
	border: 2px solid #cccccc;
	-webkit-transition: background-color 0.3s, color 0.3s;
	-moz-transition: background-color 0.3s, color 0.3s;
	transition: background-color 0.3s, color 0.3s;
	cursor: pointer;
	font-size: 14px;
}

.ninja-forms-form .submit-wrap input:hover {
	color: #ffffff;
	background-color: #cccccc;
}

#content .size-mfmpContentSquareImage {
	width: 30%;
	height: auto;
}

.page-template-page-services #intro .right .options li a {
	display: block;
	height: auto;
	padding: 10px;
}

.page-template-page-services #intro .right .options li.current_page_item a {
	font-weight: bold;
}

@media only screen and (max-width: 767px) {
	#content .size-mfmpContentSquareImage {
		width: 50%;
	}
}

@media only screen and (max-width: 500px) {
	#content .size-mfmpContentSquareImage {
		width: 100%;
		display: block;
	}
}