/*
Theme Name: Tahuna Medical Centre 2015
Description: Tahuna Medical Centre 2015 theme
Version: 1.0
Author: Andy
*/



/* General styles                                   */
/* ------------------------------------------------ */
body {
	margin: 0;
	background: #ffffff;
}

html, body, p, li, dd, td {
	color: #3a2d1c;
	font-family: 'Cabin', sans-serif;
	font-size: 1.05em;
}

img a, a img {
	border: 0;
}

td {
	vertical-align: top;
}

a {
	color: #0254c4;
	text-decoration: underline;
	outline: none;
}

a:hover {
	color: #028ddd;
}

ul {
	margin: 8px 0 18px 18px;
	padding: 0;
}

li {
	padding-left: 4px;
	line-height: 150%;
	padding-bottom: 6px;
}

h1, h1 a, h2, h2 a, h3, h3 a {
	line-height: 120%;
	font-weight: 400;
}

h1 {
	font-size: 2.4em;
	margin-top: 0;
}

h2 {
	font-size: 2.2em;
}

h3 {
	font-size: 1.8em;
}

hr {
	height: 1px;
	border: 0;
	width: 100%;
	background: #d7caa8;
	color: #d7caa9;
	margin: 5px 0 15px 0;
}

#wrapper {
	width: 950px;
	margin: 0 auto;
}

/* Header                                           */
/* ------------------------------------------------ */
#header {
	text-align: center;
	background: #3a2d1c;
}

#header img {
	width: 100%;
	height: auto;
	max-width: 580px;
}

#headerpic img {
	width: 100%;
	height: auto;
	display: block;
}

/* Navbar                                           */
/* ------------------------------------------------ */
#navbar {
	background: #d7caa8;
	height: 40px;
	margin: 0 auto;
	position: relative;
}

#navbar ul {
	margin: 0 auto;
	list-style-type: none;
	text-align: center;
}

#navbar ul li {
	display: inline-block; /* for all other browsers */
	zoom: 1;
	*display: inline; /* for IE7 */
	padding: 0 15px;
	background: none;
	font-size: 18px;
	font-weight: 700;
}

#navbar ul li a {
	color: #3a2d1c;
	text-decoration: none;
	line-height: 44px;
}

#navbar ul li a:hover, #navbar li.current_page_item a {
	color: #fff;
}

a.anchor-link {
	display: none;
	float: left;
	height: 40px;
	padding: 0 25px;
	color: #3a2d1c;
	text-decoration: none;
	line-height: 40px;
	font-size: 20px;
	text-transform: uppercase;
}


/* Content                                          */
/* ------------------------------------------------ */
#content {
	padding: 25px;
	overflow: hidden;
}

#content, #content p {
	line-height: 150%;
}


#content img {
	max-width: 100%;
	height: auto;
}

#header-lower {
	font-size: 60px;
	font-weight: 700;
	text-align: center;
	padding: 15px 20px;
	background: url(images/footer-bg.jpg);
}

#header-lower span {
	font-size: 30px;
	font-style: italic;
	display: block;
}

#homepageintro {
    font-size: 25px;
    font-weight: bold;
    overflow: hidden;
    padding-bottom: 25px;
}

.homepagebox {
    float: left;
    margin: 25px 2% 0 2%;
    padding: 70px 1% 10px 1%;
    width: 19%;
    font-size: 20px;
    border-radius: 8px;
    background-color: #fff;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.homepagebox:hover {
    background-color: #559cbe;
    color: #fff;
}

.appointment {
    background: #fff url(images/appointment.png) top center no-repeat;
}

.prescription {
    background: #fff url(images/prescription.png) top center no-repeat;
}

.results {
    background: #fff url(images/results.png) top center no-repeat;
}

.enrolments {
    background: #fff url(images/enrolments.png) top center no-repeat;
}

#newsitems {
	border-top: 2px solid #d7caa8;
	clear: both;
	margin-top: 40px;
}

#newsitems h3 a {
	color: #3a2d1c;
	text-decoration: none;
}

#newsitems h3 {
	margin-bottom: 0;
}

#newsitems hr:last-child {
	display: none;
}

#newsitems .date {
	font-size: 14px;
	color: #d7caa8;
}

a.more-link {
	text-transform: uppercase;
}

.twocolumn {
	width: 48%;
	margin-right: 2%;
	padding-bottom: 40px;
	float: left;
}

.clearfix {
	clear: both;
}

/* Footer                                           */
/* ------------------------------------------------ */
.footer {
	padding: 15px 20px;
	background: #d7caa8;
	text-align: center;
	font-size: 28px;
}

.footer a, .footer, .footer p {
	color: #3a2d1c;
}

#footer-above {
	font-size: 42px;
	font-weight: 700;
	text-align: center;
	padding: 15px 20px;
	background: url(images/footer-bg.jpg);
}

#footer-above span {
	font-size: 48px;
	text-transform: uppercase;
	display: block;
}

#pho {
	font-size: 14px;
	display: block;
	margin: 20px 0 10px 0;
	text-transform: uppercase;
}

#copyright {
	font-size: 0.9em;
	padding: 10px 0;
	text-align: center;
}

#copyright, #copyright a {
	color: #d7caa8;
}

a.scrollup {
	width: 53px;
	height: 53px;
	position: fixed;
	bottom: 50px;
	right: 20px;
	display: none;
	text-indent: -9999px;
	background: url('images/top.gif') no-repeat;
	opacity: 0.7;
}



/* Menu                                             */
/* ------------------------------------------------ */
a.anchor-link {
    display: none;
    float: right;
    height: 40px;
    line-height: 40px;
    padding: 0 25px 0 0;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
}

#navbar ul.menu, #navbar ul.menu ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    margin: 0 auto;
    display: block;
    text-align: center;
}

#navbar ul.menu ul:after {
    content: ""; clear: both; display: block;
}

#navbar ul.menu li {
    padding: 0;
    background: none;
    display: block;
}

#navbar ul.menu > li {
    display: inline-block;
    *display: inline;
    zoom: 1;
    margin-right: -4px; /* remove the 4px gap inline elements have */
}

#navbar ul.menu {
    padding: 0;
    margin: 0;
    list-style-type: none;
    margin: 0 auto;
}

#navbar ul.menu li a {
    color: #382d1e;
    text-decoration: none;
    line-height: 20px;
    padding: 10px 15px;
    font-size: 18px;
    font-weight: 300;
    display: block;
    -webkit-transition: background-color 0.3s ease-out;
    -moz-transition: background-color 0.3s ease-out;
    -ms-transition: background-color 0.3s ease-out;
    -o-transition: background-color 0.3s ease-out;
    transition: background-color 0.3s ease-out;
}

#navbar ul.menu li a:hover {
    color: #fff;
}

#navbar ul.menu li.current-menu-item > a, #navbar ul.menu li.current-menu-parent > a, #navbar ul.menu li.current-menu-ancestor > a {
    font-weight: bold;
    color: #fff;
}

#navbar ul.menu li.menu-item-has-children, #navbar ul.menu li.menu-item-has-children > a, #navbar ul.menu ul.sub-menu li.menu-item-has-children > a {
    position: relative;
}

#navbar ul.menu li.menu-item-has-children > a, #navbar ul.menu ul.sub-menu li.menu-item-has-children > a {
    padding-right: 24px;
}

/* give the dropdowns a plus indicator */
#navbar ul.menu li.menu-item-has-children > a:after {
    width: 30px;
    height: 20px;
    line-height: 20px;
    content: '\25BC'; /* plus: \002B      down arrow: \25BC  */
    vertical-align: middle;
    text-align: center;
    right: 0;
    position: absolute;
    font-size: 10px;
    font-family: verdana;
    font-weight: normal;
}

#navbar ul.menu li.menu-item-has-children > a.close:after {
    content: '\25B2'; /* minus: \2012      up arrow: \25B2 */
}

/* dropdowns */
#navbar ul.menu ul.sub-menu {
    display: none;
    position: absolute;
    top: 40px;
    min-width: 200px;
    z-index: 9999;
}

#navbar ul.menu ul.sub-menu > li {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    margin-bottom: 1px;
    text-align: left;
    float: none;
}

/* the last dropdown */
#navbar ul.menu li.menu-item-has-children:last-child ul.sub-menu li {
    min-width: 250px;
}

#navbar ul.menu li.menu-item-has-children:last-child ul.sub-menu {
    right: 0;
}

#navbar ul.menu ul.sub-menu > li a:after {
    height: 22px;
    line-height: 22px;
}

#navbar ul.menu li > ul {
    -moz-box-shadow: 1px 0 8px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 1px 0 8px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 0 8px rgba(0, 0, 0, 0.2);
}

#navbar ul.menu ul.sub-menu > li a {
    background: none;
    color: #333;
    font-size: 16px;
    text-shadow: none;
    padding: 15px 20px;
    display: block;
    line-height: 25px;
    text-decoration: none;
}

#navbar ul.menu ul.sub-menu > li.current-menu-item > a {
    font-weight: bold;
    color: #000;
}

#navbar ul.menu ul.sub-menu > li.current-menu-item > a, #navbar ul.menu ul.sub-menu > li.current-menu-parent > a, #navbar ul.menu ul.sub-menu > li.current-menu-ancestor > a {
    background: #559cbe;
    color: #fff;
}

#navbar ul.menu ul.sub-menu > li a:hover {
    background: #382d1e;
    color: #fff;
}

#navbar ul.menu ul.sub-menu > li:last-child {
    border-bottom: 0;
}


/*sub submenus  */
#navbar ul.menu ul.sub-menu ul.sub-menu {
    top: 0;
    left: 100%;
}

#navbar ul.menu ul.sub-menu ul.sub-menu > li a {
    min-width: 160px;
}

@media screen and (min-width: 971px) {
    #navbar ul.menu {
        display: block !important;
    }
}

@media screen and (max-width: 970px) {
    a.anchor-link {
        display: block;
    }

    #navbar .wrapper {
        padding: 0;
    }

    #navbar ul.menu {
        display: none;
        position: absolute;
        top: 40px;
        width: 100%;
        z-index: 1000;
        -moz-box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
        -webkit-box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
        box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
    }

    #navbar ul.menu li {
        float: none;
        display: block;
        list-style: none;
        text-align: left;
        padding: 0;
        border-bottom: 1px solid #ccc;
        background-color: #fff;
        line-height: 60px;
    }

    #navbar ul.menu > li {
        margin-right: 0; /* clear the 4px negative margin set above */
    }

    #navbar ul.menu li a {
        text-shadow: none;
    }

    #navbar ul.menu li.menu-item-has-children, #navbar ul.menu li.menu-item-has-children > a, #navbar ul.menu ul.sub-menu li.menu-item-has-children > a {
        padding-right: 0;
    }

    #navbar ul.menu > li.current_page_item a, #navbar ul.menu > li.current-menu-parent > a {
        background: #559cbe;
        color: #fff;
        text-decoration: none;
    }

    /* plus and minus when in responsive mode */
    #navbar ul.menu li.menu-item-has-children > a:after {
        content: '\002B';
    }

    #navbar ul.menu li.menu-item-has-children > a.close:after {
        content: '\2012';
    }

    #navbar ul.menu li a {
        color: #666;
        display: block;
        padding-left: 25px;
    }

    #navbar ul.menu li a:hover, #navbar ul.menu ul.sub-menu > li a:hover {
        color: #fff;
        background: #559cbe;
        text-decoration: none;
    }

    #navbar ul.menu li:last-child {
        border-bottom: none;
    }

     /*submenu items */
    #navbar ul.menu ul.sub-menu, #navbar ul.menu ul.sub-menu ul.sub-menu {
        position: relative;
        left: auto;
        top: auto;
    }

    #navbar ul.menu li:hover > ul {
        display: none;
    }


    #navbar ul.menu ul.sub-menu > li {
        padding: 0;
        text-align: left;
        margin-bottom: 0;
    }

    #navbar ul.menu ul.sub-menu > li a {
        font-size: 15px;
        padding: 12px 40px;
    }

    #navbar ul.menu li > ul {
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    #navbar ul.menu ul.sub-menu > li:last-child, #navbar ul.menu ul.sub-menu > li:first-child {
        padding: 0;
    }

    #navbar ul.menu ul > li:first-child {
        border-top: 1px solid #cccccc;
    }

    /*sub sub menus */
    #navbar ul.menu ul.sub-menu ul.sub-menu > li a {
        padding-left: 60px;
    }
}










/* WP Common Styles */

ol.commentlist {
	margin:0;
	padding:0;
	}

.commentlist li {
	list-style:none;
	margin-bottom:14px;
	}

.commentlist cite {
	padding: 7px;
	display:block;
	font-style:normal;
	background:url(http://www.yoursite.com/images/bg_comments2_cite.gif);
	border-top:1px solid #d6e4c1;
	border-bottom:1px solid #779d42;
	color:#596e3b;
	}

.commentlist a:link, .commentlist a:visited {
	color:#596e3b;
	}

.commentlist a:hover, .commentlist a:active {
	color:#8ec343;
	}

.commentlist cite img {
	padding:1px;
	border:1px solid #aab59a;
	float:left;
	margin-right:9px;
	}

.commentlist .author {
	font: small-caps bold 1.2em Georgia, "Times New Roman", Times, serif;
	text-decoration:underline;
	}

.commentlist .time {
	background: url(http://www.yoursite.com/images/bg_clock.gif) no-repeat 1px;
	padding-left:13px;
	}

.commenttext {
	background: #9bc561 url(http://www.yoursite.com/images/bg_comments2_text.jpg) repeat-x bottom;
	border-top:1px solid #c5f386;
	padding: 0 20px 10px 20px;
	color:#fafcf6;
	}

.editLink {
   margin-top: 30px;
   text-align: center;
   padding: 5px 0 15px 0;
}
.editLink a, a.editLink {
   background: #777;
   color: #fff;
   font-size: 18px;
   text-decoration: none;
   padding: 8px 15px;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius: 5px;
}
.editLink a:hover, a.editLink:hover {
   background: #444;
   text-decoration: none !important;
}
.postmetadata {
   color: #999;
   font-size: 10px;
   margin: 2px 0;
}

img.aligncenter {
   display: block;
   text-align: center;
   margin: 0 auto;
}
img.alignright {
   text-align: right;
   display: block;
   float: right;
   margin: 10px 0px 5px 15px;
}
img.alignleft {
   text-align: left;
   display: block;
   float: left;
   margin: 10px 20px 5px 0px;
}
.wp-caption-text,.wp-caption-dd {
   margin: 0;
   font-weight: bold;
   font-size: smaller;
   text-align: center;
}
.wp-caption {
   margin-right: 5px;
}
.more-link {
   display:block;
}
.linklove {
   display:none;
}
.aligncenter,
dl.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}