/*
Theme Name: University of Otago 2016
Author: Web Services, University of Otago
Author URI: http://www.otago.ac.nz/webservices/
Version: 6.5
Tags: three-columns, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-header, custom-menu, editor-style, featured-image-header, featured-images, microformats, post-formats, sticky-post, theme-options, translation-ready
Text Domain: otago
*/

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 300;
	src: local('Open Sans Light'), local('OpenSans-Light'), url(http://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTSYtBUPDK3WL7KRKS_3q7OE.woff2) format('woff2'), url(http://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTeY5mlVXtdNkpsMpKkrDXP4.woff) format('woff');
}
@font-face {
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: 300;
	src: local('Open Sans Light Italic'), local('OpenSansLight-Italic'), url(http://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxrIoAo9wAeLGDYpbspX6MZU.woff2) format('woff2'), url(http://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxnZ4362_PV5aPD5jU0S2ELI.woff) format('woff');
}
#content .whitespace_normal {
	white-space: normal;
}


/* Begin Footer Responsive Styles */

@media only screen and (max-width: 700px) {

	/*--------

	Footer

	--------*/

	div#footer_bg {
		width: 100%;
	}
	footer.wrapper, div.footer_wrapper {
		width: 100%;
		padding: 4% 0px 2% 0%;
		margin: 0;
		font-size: 11px;
		background-size: 50%;
	}
	nav.global_footer { 
		width: 90%;
		padding-left: 4%;
	}
	nav.global_footer ul:nth-child(1) {
    	margin-bottom: 19px;
	}
	section.footer_address {
		width: 96%;
		margin-right: 0px;
		margin-top: 14px;
		margin-bottom: 21px;
		padding-left: 4%;
	}
	section.footer_address p {
		margin-bottom: 10px;
	}
	section.footer_address a {
		border-bottom: none;
		text-decoration: none;
	}
	section.footer_top {
		padding: 0;
	}
	section.footer_top p {
		font-size: 11px;
	}
	ul.footer_contact, ul.footer_contact li, ul.footer_social_lang li {
		float: left;
		font-size: 11px;
		padding-left: 4%;
	}
	ul.footer_contact li span, ul.footer_social_lang li span {
		font-size: 11px;
	}
	ul.footer_contact li {
		padding-right: 4%;
	}
	ul.footer_contact li:nth-child(-n+2) {
		border-right: 1px solid rgb(88, 124, 180);
	}
	ul.footer_social_lang {
		float: left;
		padding-left: 4%;
	}
	
	/* Removes Accessibility link from blue strip */
	.footer_social_lang li:first-child {
		display: none;
	}
	ul.footer_social_lang li span {
		font-size: 11px;
	}
	div.footer_slide {
		bottom: 0px;
	}
	div.share_page {
    	right: auto;
    	left: 2%;
	}
	section.footer_top ul li {
		padding: 0px 6px 0px 4px;
		margin-bottom: 7px;
	}
	img#back_to_top {
		display: none;
	}
	nav.global_footer ul {
		width: 100%;
	}
	nav.global_footer ul li:first-child {
		width: auto;
		font-size: 13px;
		display: inline-block;
	}
	nav.global_footer ul {
		width: 45%;
		float: left;
		clear: none;
		margin-right: 2%;
	}
	nav.global_footer ul:nth-of-type(4n+4) {
    	margin-right: 2%;
	}
	nav.global_footer ul li {
		float: none;
		width: auto;
		display: none;
		word-break: break-word;
		-webkit-hyphens: auto;
   		-moz-hyphens: auto;
        hyphens: auto;
        padding: 0px 0px 3px 0px;
        line-height: 16px;
	}
	nav.global_footer ul#social_media {
		width: 100%;
	}
	nav.global_footer ul#social_media li {
		display: block;
	}
	nav.global_footer ul li:first-child,
	nav.global_footer ul li.first-child-title {
		background: none;
	}
	nav.global_footer .clearFix {
		display: inline-block;
	}
	footer ul {
		font-size: 12px;
	}
	section.footer_bottom ul {
		margin-bottom: 14px;
	}
	section.footer_bottom ul li {
		padding: 0px 1.5%;
		border-right: 1px solid #cccccc;
		margin: 3px 0%;
		display: inline-block;
	}
	section.footer_top ul li {
		background: none;	
	}
	/* Removes top of page link from blue footer strip */
	#footer_top {
		display: none;
	}
	/* Positions social icons at the bottom of the page */
	#social_media li {
		float: left;
		width: 30%;
	}
	#social_media li:first-child {
		width: 100%;
	}
	/* Space between the social links and the white strip */
	nav.global_footer ul:last-child {
    	margin-bottom: 14px;
	}
	/* White strip at the bottom */
	section.footer_bottom {
		padding-top: 14px;
		border-top: 1px solid #e4e4e4;
		width: 100%;
	}
	/* Emergency banner styles */
	#emergency {
        width: 100%;
        z-index: 99;
    }
    #emergency_left {
    	margin-right: 0px;
    	float: none;
    }
    #emergency #emergency_inner,
	#emergency.critical #emergency_inner {
        width: 100%;
        padding: 0px 0px;
    }
    #emergency #emergency_left,
    #emergency.critical #emergency_left {
        width: 70%;
        padding-left: 80px;
        padding-top: 2px;
        line-height: 1.0;
    }
    #emergency #emergency_left a,
    #emergency.critical #emergency_left a {
        font-size: 11px;
        font-weight: normal;
    }
}

/* End Footer Responsive Styles */

/* Begin New Styles */
body {
	background-color: #fcfcfc;
}
.post {
	padding: 56px;
	background-color: #fff;
	box-shadow: 0px 0px 4px 0px rgba(50, 50, 50, 0.3);
	margin-bottom: 35px;
}
h2 a {
	font-family: 'Open sans', Helvetica, Arial, sans-serif;
	font-size: 32px;
	font-weight: 300;
	letter-spacing: -0.5px;
}
.post h2 {
	margin: 0;
	margin-bottom: 0px;
}
#right {
	background: none;
}
p {
	color: #595959;
	font-size: 15px;
}
#content a {
	border-bottom: none;
}
#content {
	color: #595959;
}
#content h2 {
	margin-top: 0px;
	border-bottom: none;
}
#content h2 a:hover {
	border-bottom: none;
}
#content p img {
	border: none;
	margin: 0;
}
#content a:hover {
	border: none;
}
#content li {
	margin-bottom: 14px;
}
#title h1 {
	font-family: 'Open sans', Helvetica, Arial, sans-serif;
	margin-top: 14px;
	font-weight: 300;
}
#comments h2 {
	font-family: 'Open sans', Helvetica, Arial, sans-serif;
	font-size: 21px;
	line-height: 1.5;
}
.wp-caption {
	border-bottom: none !important;
	margin: 0 !important;
}
.wp-caption img {
	padding: 0px !important;
}
#footer_share {
	color: #ffffff !important;
}
.wp-caption-text {
	font-style: italic;
	margin-top: -21px;
	margin-bottom: 0 !important;
}
a img {
	border-bottom: none;
}
.titleinner {
	margin-bottom: 21px;
}
.postfooter {
	display: none;
}
.nav-next {
	float: right;
}
#content img {
	max-width: 100%;
	height: 100%;
	padding-bottom: 14px !important;
}
p a img {
	overflow: auto;
}
#right fieldset {
	background-color: none;
}
#slb_viewer_wrap .slb_theme_slb_default .slb_data_title, #slb_viewer_wrap .slb_theme_slb_default .slb_group_status {
	font-family: inherit;
}
.sp-poll {
	box-shadow: none;
	line-height: 10px;
}
iframe {
	width: 100%;
}
.essb_links_list a[href*="facebook.com"] {
	background: none;
}

/*social sharing formatting*/
img.sfcm.sfsi_wicon{
width:40px !important;
}

div.norm_row.sfsi_wDiv{
width: inherit !important;
}
/* End New Styles */

#right select {
	width: 100%;
}

#content .ai1ec_event table tr,
#content .ai1ec-container table tr {
	border-bottom: none;
}

/* Begin New Styles */
@media only screen and (max-width: 768px) {
	#right .relatedinfo {
		width: 100%;
	}
	#right .relatedinfo ul li {
		float: none;
		width: 100%;
	}
	#right .rightwidget {
		min-height: initial;
	}
}
@media only screen and (max-width: 700px) { /* 100% Mobile Styles for lowest resolution */
	#contentwrapper {
		width: 100%;
	}
	.grid5 {
		width: 100%;
	}
	.grid3 {
		width: 100%;
	}
	#content {
		width: 92% !important;
		margin-left: 4%;
		margin-right: 4%;
	}
	.titleinner {
		width: 100%;
	}
	#right {
		width: 92% !important;
		margin-left: 4%;
		margin-right: 4% !important;
	}
	#left-widgets {
		width: 92% !important;
		margin-left: 4%;
		margin-right: 4% !important;
		position: initial;
		float: left;
		padding: 0 !important;
	}
	section.footer_bottom {
		padding: 0;
	}
}
/* End New Styles */

@media only screen and (min-width: 769px) and (max-width: 1024px) {
	#content img {
		max-width: 39%;
	}
}

/* Begin Responsive Styles */
@media only screen and (max-width: 700px) {
	#content img {
		width: 100%;
	}
	#content .grid4, #content .grid3, #content .grid2, #content .grid1 {
		width: 100%;
	}
	#content .grid4 .grid_third {
		width: 100%;
		margin-right: 0;
		float: none;
		overflow: hidden;
	}
	#wrapper {
		width: 100%;
	}
	/* Bookmark menu link */
	#menu-link {
		width: 52px;
		height: 58px;
		display: block;
		z-index: 50;
		left: 4%;
		margin-left: 0%;
		position: absolute;
		background-image: url(http://www.otago.ac.nz/_assets/_gfx/menu-button.png);
		background-repeat: no-repeat;
		padding: 0.4em 0;
		text-indent: -9999px;	
	}
	.open {
		left: 0px !important;
		top: -39px !important;
		z-index: 101 !important;
	}
	.closed {
		left: -45em !important;
	}
	#close_mobile_nav {
		background-image: url(http://www.otago.ac.nz/_assets/_gfx/close-mobile.png);
		background-repeat: no-repeat;
		background-position: right -10px;
		width: 52px;
		height: 52px;
		position: absolute;
		right: 5%;
		display: block;
		text-indent: -9999px;
		-webkit-transition: all 0.2s ease-out;  
		-moz-transition: all 0.2s ease-out;
		-ms-transition: all 0.2s ease-out;
		-o-transition: all 0.2s ease-out;
		transition: all 0.2s ease-out;
	}
	#close_mobile_nav:active {
		opacity: 0;
	}
	div#nav_holder {
		width: 75%;
		max-width: 300px;
		position: absolute;
		top: -39px !important;
		left: -45em;
		-webkit-transition: all 0.4s ease-out;  
		-moz-transition: all 0.4s ease-out;
		-ms-transition: all 0.4s ease-out;
		-o-transition: all 0.4s ease-out;
		transition: all 0.4s ease-out;
	}
	div#nav_holder:active {
		left: 0;
	}
	div#nav_wrapper {
		width: 100%;
	}
	nav#global_nav {
		width: 100%;	
		background: #15376b;
		background: -moz-linear-gradient(top, #14366a 0%, #0e274c 64%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#14366a), color-stop(64%,#0e274c));
		background: -webkit-linear-gradient(top, #14366a 0%,#0e274c 64%);
		background: -o-linear-gradient(top, #14366a 0%,#0e274c 64%);
		background: -ms-linear-gradient(top, #14366a 0%,#0e274c 64%);
		background: linear-gradient(to bottom, #14366a 0%,#0e274c 64%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#14366a', endColorstr='#0e274c',GradientType=0 );
	}
	#global_nav_sub {
		border-bottom: none;
	}
	div#uni_logo.expanded {
		background: none;
	}
	#global_nav_sub ul:first-of-type {
		width: 100% !important;	
	}
	#uni_logo.expanded #global_nav_sub {
		background: none;
	}
	div#uni_logo {
		width: 100%;
		border-left: 2px solid #14366a;
		border-right: 2px solid #14366a;
	}
	div#uni_logo img {
		padding-bottom: 0px;
	}
	/*div#uni_logo.expanded img {
		padding-bottom: 10px;
	}*/
	/* Spacing of naviation list elements */
	#global_nav_sub ul li a, #global_nav_sub_home ul li a {
		padding: 14px 0;
		background: none;
	}
	#global_nav_sub ul:first-of-type {
	}
	#global_nav_sub ul.secondary_global_nav li a {
		padding: 14px 0;
	}
	#global_nav_sub.javascript ul li a, #global_nav_sub_home.javascript ul li a {
		background-position: 90% 12px;
		-webkit-transition: all 0.2s ease-out;  
		-moz-transition: all 0.2s ease-out;
		-ms-transition: all 0.2s ease-out;
		-o-transition: all 0.2s ease-out;
		transition: all 0.2s ease-out;
	}
	#global_nav_sub.javascript ul li a:hover, #global_nav_sub_home.javascript ul li a:hover {
		background-position: 90% 12px;
	}
	#global_nav_sub.javascript ul li:first-child a, #global_nav_sub_home.javascript ul li:first-child a {
		background-position: 90% 12px;
	}
	#global_nav_sub.javascript ul li:first-child a:hover, #global_nav_sub_home.javascript ul li:first-child a:hover {
		background-position: 90% 12px;
	}
	header#global_intro {
		margin: 21px 0;
	}
	header#global_intro h1 {
		font-size: 24px;
	}
	div.global_nav_main ul {
		font-size: 15px;
		margin-top: 21px;
		margin-bottom: 21px;
	}
	div.global_nav_main ul li {
		margin-bottom: 18px;
	}
	div.global_nav_footer {	
		height: 76px;
		position: absolute;
		bottom: -120px;
		left: 0%;
		z-index: 5;
		background-image: url(http://www.otago.ac.nz/_assets/_gfx/bookmark-flyout-mobile-tail.png); background-size: contain; background-position: 0 0;
		background-repeat: no-repeat;
		top: initial;
		width: 100%;
	}
	#topnav {
		margin-top: 0px;	
	}
	.topnavinner {
		width: 95%;
		margin: 0 0 0 0px;
		padding: 0 0% 0 0px;
	}
	.titleinner {
		margin: 0px;
    }
    #content {
    	margin-left: 4%;
    }
	/* Search box styles */
	#globalsearch {
		float: none;
		width: auto;
		padding-top: 3px;
		margin-left: 80px;
	}
	#globalsearch form input.searchinput {
		height: 24px;
		width: 80%;
	}
	
	#globalsearch form fieldset {
		height: 24px;
	}
	#globalsearch form button {
		height: 30px;
		width: 10%;
		border: none;
		background-position: 0px -56px;
		float: right;
	}
	#globalsearch form button:active {
		background-position: -17px -25px;	
	}
	input[placeholder] {
		color: #444444; font-style: italic;
	}
}

/* This code is shakey - test it */
@media only screen and (max-width: 768px) {
	#right {
		border-top: none !important;
		width: 100%;
	}
	#right .rightwidget {
		border-top: none !important;
		padding: 13px 0px 0px 0px;
	}
	#right .relatedinfo {
		border-top: none !important;
	}
	#right ul {
		border-bottom: none;
	}
}
/* This code is shakey - test it */



#content .wp-playlist-current-item {
height:inherit !important;
}

/*calendar formatting*/
.ai1ec-event-title{
color: #000000;
}
/*end of calendar formatting*/


img.alignright{
float: right;
margin-left:5px !important;
margin-right:-5px !important;
margin-bottom: 5px !important;
}
img.alignleft{
float: left;
margin-left:-5px !important;
margin-right:5px !important;
margin-bottom: 5px !important;
}

img.aligncenter{
display:block;
margin-left:auto !important;
margin-right:auto !important;

}

/*Formatting for Simply Poll*/

div.textwidget .sp-poll{
width:inherit;
box-shadow:none !important;
}

div.textwidget .sp-poll dl.sp-results{
padding:5px;
}

div.textwidget .sp-poll .sp-question{
padding:5px !important;
}

#content .sp-poll fieldset{
width:inherit;
margin: 0;
padding: inherit;
border: none;
background-color: inherit;
}

#content .sp-poll dt{
	padding-right: inherit;
	padding-bottom:inherit;
border-top: none;
}

#content .sp-poll .sp-answer{
	font-weight:inherit;
	margin:0;
}

#content .sp-poll .sp-results{
	line-height: inherit;
	font-size: inherit;
}

#content .sp-poll dd{
	width:inherit;
	padding-bottom: inherit;
	border-top: inherit;	
}

#content .sp-poll dt{
	font-weight: bold !important;	
}

#content .sp-poll .sp-answer-response{
margin: 0px 0px 0.5em;
display: block;
border-top: 2px solid rgb(204, 0, 153);
}

/*end of formatting for simply poll*/
/*Formatting for Google Search plugin*/

.cse form.gsc-search-box, form.gsc-search-box {
padding: 0px 4px 2px 6px !important;

}

#right input.gsc-search-button, .gsc-clear-button{
display:none;
}
#left input.gsc-search-button, .gsc-clear-button{
display:none;
}
#globalsearch td.gsc-input{
padding-right:0px !important;
}
#globalsearch table.gsc-search-box{
margin-top:3px !important;
}
#globalsearch .gsc-input input{
background-color: #fceebd !important;
	width: 186px !important;
	height: 30px !important;
	padding: 0px 5px !important;
	border: none !important;
	font-size: 14px !important;
    font-family: Georgia, "Times New Roman", Times, serif !important;
background-image:none !important;

}

#globalsearch .gsc-search-button input{
height: 30px !important;
width: 36px !important;
max-width: 36px !important;
min-width: 36px !important;
border: medium none !important;
background-color: rgb(252, 238, 189) !important;
background-image: url("../otago-bookmark/gfx/sprite-search.png")   !important;
background-repeat: no-repeat   !important;
background-attachment: scroll   !important;
background-position: 14px -54px   !important;
background-clip: border-box   !important;
background-origin: padding-box   !important;
background-size: auto auto   !important;
color:transparent !important;
margin-left:-12px;
}

#globalsearch .gsc-clear-button{
display:none;
}
#content form.gsc-search-box{
width: 600px !important;
margin: 10px 0px 30px -23px !important;
padding: 10px 23px !important;
border-top: 1px solid rgb(213, 216, 219) !important;
background-color: rgb(241, 244, 248) !important;
}

#content input.gsc-search-button{
font-family: Georgia,"Times New Roman",Times,serif  !important;
width: 186px !important;
color: rgb(51, 51, 51) !important;
text-align: left !important;
padding: 5px 10px !important;
margin: 0px 23px 23px 0px !important;
border: 2px solid rgb(223, 160, 0) !important;
cursor: pointer !important;
border-radius: 17px !important;
background: linear-gradient(rgb(255, 205, 35), rgb(230, 173, 0)) repeat scroll 0% 0% transparent !important;
font-size: 13px !important;
display: inline-block !important;
    vertical-align: middle !important;
    white-space: normal !important;
}

#content a.gs-title{
font-size: 26px !important;
line-height: 28px !important;
padding: 0px !important;
margin: 14px 0px !important;
border-bottom: 1px solid rgb(232, 232, 232) !important;
font-family: 'Minion Pro',Georgia,serif !important;
font-weight: normal !important;
font-style: normal !important;
color: rgb(65, 110, 191) !important;
text-decoration: none !important;
}

#content div.gs-bidi-start-align{
font-size: 14px !important;
line-height: 21px !important;
margin-bottom: 14px !important;
margin: 0px !important;
padding: 0px !important;
font-family: Helvetica,Arial,Geneva,sans-serif !important;
color: rgb(51, 51, 51) !important;
}

#content .gsc-above-wrapper-area, table.gsc-resultsHeader{
display: none !important;
}

/*end of google search formatting*/

div#wp-auth-check{
margin: 0 0 0 -290px;
width:650px;
}

a.rsswidget img {
   width: 14px !important;
    margin: 0 !important;

}

#rss-feed-links img {
max-width: 186px !important;
width:auto !important;
}

#rss-feed-links a[href*="itpc"]{
background:none;
padding: 0;
}

#right a[href*="/rss/"]{
background:none;
padding: 0;
}

#left-widgets a[href*="/rss/"]{
background:none;
padding: 0;
}

.no-right-column #content { width: 100%; }

.home #title h1 #desc { color: #163568 !important; font-size: 14px; padding: 0; }

li.current-menu-item a { color: #ffcd23; }
li.current-menu-item li a { color: #fff; }

div.global_nav_main ul ul { display: none; }
div.global_nav_main li.current-menu-item ul,
div.global_nav_main li.current-menu-ancestor ul  { display: block; margin: 6px 0 14px 14px; }

/* =accordion third tier
----------------------------*/
div.global_nav_main li.current-menu-item ul ul { display: none; }

div.global_nav_main li.current-menu-ancestor ul li.current-menu-item ul,
div.global_nav_main li.current-menu-ancestor ul li.current-menu-ancestor ul { display: block; margin: 6px 0 7px 0px; }

div.global_nav_main ul ul ul li { background: transparent url(./gfx/sprite-ul-li.png) no-repeat -7px -14px; padding-left: 14px; }

#content div.gallery div.grid1:nth-of-type(3n) { margin-right: 0; margin-bottom: 21px; }

/* Left widgets */
#left-widgets { padding: 0 18px 0; width: 157px; font-family: Helvetica, Arial, Geneva, sans-serif; font-size: 12px; line-height: 18px; }

#left-widgets img { width: 186px; margin: 0 0 10px 0; border: none; }

#left-widgets a { color: #426fbf; text-decoration: none; -moz-transition: color .35s; -webkit-transition: color .35s; transition: color .35s; }
#left-widgets a:hover { color: #163669; }

#left-widgets h2 { color: #888; text-transform: uppercase; font-weight: 100; font-size: 13px; line-height: 16px; margin: 0; padding: 7px 30px 0 0; font-family: 'Open Sans', Helvetica, Arial, Helvetica, sans-serif; }
#left-widgets h2 strong { font-weight: 600; }

#left-widgets h3 { font-family: Helvetica, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16px; margin: 0; font-weight: bold; color: #888; }
#left-widgets p { font-size: 12px; color: #666; margin: 0; padding: 0 0 10px 0; border-bottom: 1px solid #ededed; }
#left-widgets p a:hover { border-bottom: 1px solid #416EBF; }

#left-widgets p.smalltag { border: none; font-size: 11px; }
#left-widgets p.disclaimer { color: #cc6600; }

#left-widgets ul { margin: 0 0 0 14px !important; padding: 2px 0 10px 0; border-bottom: 1px solid #ededed; }
#left-widgets li { font-size: 12px; line-height: 16px; color: #666; margin: 0; padding: 0 0 5px 0; list-style-position: outside;  }


/* New Styles */
#left-widgets div.textwidget .sp-poll ul { width: 90px; }
#right div.textwidget .sp-poll ul { width: 150px; }
#right div.textwidget .sp-poll fieldset { width: 150px; }
#right div.textwidget .sp-poll p input { width: 160px !important; }
#right div.textwidget .sp-poll p { border-bottom: none; }
div.global_nav_main a { background: none; }


#left-widgets li a:hover { border-bottom: 1px solid #416EBF; }
#left-widgets ul li { list-style-type: circle; }

#left-widgets form { border: none; margin: 5px 0 10px 0; }
#left-widgets fieldset { border: none; padding: 5px; background-color: #F1F4F8; border-top: 1px solid #ccc; }
#left-widgets legend {  font-family: 'Gill sans', 'Gill Sans MT', Helvetica, Arial, Helvetica, sans-serif; text-transform: uppercase; font-weight: 100; font-size: 14px; padding: 0; }
#left-widgets legend span {}
#left-widgets label, #left-widgets input, #left-widgets textarea { font-size: 12px; width: 128px; }
#left-widgets input { background-color: #fff; border: 1px solid #ccc; margin-bottom: 7px; margin-top: 4px; }
#left-widgets textarea { background-color: #fff; border: 1px solid #ccc; margin-bottom: 7px; }
#left-widgets select { width: 168px; margin-bottom: 7px; }
#left-widgets input[type=submit], #left-widgets input[type=button], #left-widgets button { background-color: #ddd; border: 1px solid #bbb; padding: 2px 10px; min-width: 90px; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; color: #333; }
#left-widgets input[type=submit]:hover, #left-widgets input[type=button]:hover, #left-widgets button:hover { background-color: #ccc; border: 1px solid #aaa; color: #000; }

#left-widgets table { clear: both; font-size: 12px; line-height: 16px; margin-bottom: 7px; width: 157px; }
#left-widgets table tr { border-bottom: 1px solid #ededed; }
#left-widgets table th { padding: 3px; font-weight: bold; }
#left-widgets table td { padding: 3px; }

/*** relatedinfo ***/
#left-widgets .relatedinfo h2 { margin-top: 5px; padding-bottom: 4px; background-image: url(./gfx/sprite-widget.png); background-repeat: no-repeat; background-position: 50px -112px; }
#left-widgets .relatedinfo:hover h2 { background-image: url(./gfx/sprite-widget-hover.png); background-repeat: no-repeat; background-position: 50px -112px; }


/* Content Extras */
#content img { max-width: 69%; }
#content .format-image p img {
    border: none;
    margin: 0;
    padding: 0;
}

#content .avatar { float: right; }

/* New styles 23/07/15 */
#content img {
	max-width: 100%;
}
#content .wp-caption {
	max-width: 100%;
}
.post {
	overflow: hidden;
}
.aligncenter {
	margin: 0px auto !important;
}

/*** WORDPRESS MEDIA EMBEDDER ORVERRIDES ***/
#content .mejs-controls .mejs-button button {
    cursor: pointer;
    display: block;
    font-size: 0;
    line-height: 0;
    text-decoration: none;
    margin: 7px 5px;
    padding: 0;
    position: absolute;
    height: 16px;
    width: 16px !important;
    border: 0;
    background: transparent url(images/mediaelement/controls.svg) no-repeat;
}

.no-svg #content .mejs-controls .mejs-button button {
    background-image: url(images/mediaelement/controls.png);
}

#content .mejs-controls .mejs-play button { background-position: 0 0; }
#content .mejs-controls .mejs-pause button { background-position: 0 -16px; }
#content .mejs-controls .mejs-stop button { background-position: -112px 0; }
#content .mejs-controls .mejs-fullscreen-button button { background-position: -32px 0; }
#content .mejs-controls .mejs-unfullscreen button { background-position: -32px -16px; }
#content .mejs-controls .mejs-mute button { background-position: -16px -16px; }
#content .mejs-controls .mejs-unmute button { background-position: -16px 0; }
/*** END WORDPRESS MEDIA EMBEDDER ORVERRIDES ***/


.wp-caption {
	display: block;
	margin: 0 0 14px 35px;
	overflow: hidden;
	font-size: 12px;
	line-height: 16px;
	color: #666666;
	padding-bottom: 15px;
	border-bottom: 1px solid #e4e4e4;
	font-family: Georgia, 'Times New Roman', Times, serif;
}
.wp-caption img {
	clear: both;
	margin: 0px 25px 10px 0px;
	padding: 2px;
	background-color: #ffffff;
}

.wp-caption.alignleft { float: left; margin-right: 14px !important;}
.wp-caption.alignright { float: right; margin-left: 14px !important;}



.widget_pages ul ul { display: none; border-bottom: none !important; padding-bottom: 0 !important; }
.widget_pages li.current_page_item ul,
.widget_pages li.current_page_ancestor ul  { display: block; margin: 6px 0 14px 14px; }

/* =accordion third tier
----------------------------*/
.widget_pages li.current_page_item ul ul { display: none; }

.widget_pages li.current_page_ancestor ul li.current_page_item ul,
.widget_pages li.current_page_ancestor ul li.current_page_ancestor ul { display: block; margin: 6px 0 7px 0px; }


.widget_calendar h2 { display: none; }
.widget_calendar caption {
	background: url(./gfx/sprite-widget.png) no-repeat 50px -112px;
	color: #888;
	text-transform: uppercase;
	font-weight: 100;
	font-size: 13px;
	line-height: 16px;
	margin: 0;
	padding: 7px 30px 0 0;
	font-family: Helvetica, Arial, Helvetica, sans-serif;
}

.widget_calendar:hover caption { background-image: url(./gfx/sprite-widget-hover.png); background-position: 50px -112px; background-repeat: no-repeat; }


/***** COMMENTS *****/
#comments h2 { margin-top: 2.0em; }
#comments img { float: right; }
#comments .comment-author { font-weight: bold; }
#comments #reply-title { display: none; }




/***** FOOTER *****/
footer p.disclaimer { font-family: Helvetica,Arial,Geneva,sans-serif; line-height: 21px; margin: 1.0em 0 2.0em; }