/*
	Theme Name: RWNZ
	Theme URI: http://tagtheagency.com/rwnz
	Description: RWNZ 2017 rebrand
	Version: 1.0.0
	Author: Colin Matcham
	Author URI: http://tagtheagency.com

*/

/* Debug page overflow issues - uncomment below!

Add some margin to the body to add space and
see where your offending elements cross the line
body { margin: 30px; }

add a border to all other elements on the page
body * { border: 1px solid red; }

*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 11px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}

a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

#page-header {
	color: white;
	text-align: center;
	width: 80%;
	margin: auto;
	padding-top: 5%;
}
#page-header h1 {
	text-transform: uppercase;
	font-size: 1.8em;
	padding: 10px;
	letter-spacing: 0.1em;
}
.mainStory {
	/* height: 400px; */
}
.mainStory div.content {
	width: 200px;
	padding-left: 50px;
	padding-top: 100px;
}

.mainStory img#feature {
	padding-top: 50px;
	margin-bottom: -50px;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}

#main-content-wrapper{
	max-width: 1600px;
	margin: 0 auto;
}
/* header */
.header {

}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
nav {
	/*margin-bottom: 40px;
	position: fixed !important;
	background-color: white;
	z-index: 1;
	width: 100%;*/
}

.navbar {
	font-size: 15px;
	font-weight: bold;
}

.navbar-nav #search {
	margin-left: 10px;
}

.navbar-nav #search-input {
	font-size: 15px;
}

.navbar-nav #search .fa {
	color: #bdbcbc;
	font-size: 15px;
}

.navbar-nav #search label {
    position: absolute;
    left: 10px;
    top: 5px;
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    margin-right: 5px;
    font-weight: bold;
    font-size: 15px;
}

nav.navbar ul.navbar-nav li a.nav-link {
	color: #00425A;
	margin-left: 15px;
}
nav.navbar ul.navbar-nav li a.nav-link:hover {
	color: #97D7EA;
}
nav.navbar.navbar-dark ul.navbar-nav li a.nav-link {
	color: white;
	margin-left: 15px;
}

nav.navbar.navbar-dark .navbar-toggler {
	color: white;
	border-color: white;
	font-size: 20px;
}

li.current-menu-item a{
	color: #97D7EA !important;
}

#menu, #login_menu {
	cursor: pointer;

}
#menu_dropdown, #login_dropdown {
	position: absolute;
	background-color: rgba(200,200,200,.8);
	z-index: 20;
	display:none;
	color: black;
/*	font-size: 0.7em;*/
}

#login_dropdown {
	padding: 20px;
	background-color: white;
	border: 1px black solid;
	text-align: left;
	margin:auto;
	left: 0;
	right: 0;
	width: 80%;
}
.dropdown a {
	color: black;
	font-size: 15px
}
.dropdown a:hover {
	color: black;
	font-size: 15px
}
#login_dropdown a, #login_dropdown a:hover {
	color: #30C5F2;
}

.dropdown ul {
	list-style: none;
	padding: 0px;
	margin: 0 15px;
	font-weight: bold;
	text-transform: uppercase;
}
.dropdown ul li {
	padding: 10px;
	border-top: 1px grey solid;
}
.dropdown ul li:first-child {
	border-top: none;
}

body.home {
	position: relative;
}

body.home nav {
	position: absolute;
	top: 30px;
	z-index: 10;
}
body.home div.wrapper {
	width: 100%;
}
.home-page-header-menu, .main-page-header-menu {
	font-size: 18px;
}

.home-page-header-menu .dropdown ul{
	font-size: 12.6px;
}
 .home-page-header-menu i, .main-page-header-menu i {
	padding-left: 20px;
}

#loginForm i {
	padding-left: 0px;
}


article.two-column {
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
    -webkit-column-gap: 40px; /* Chrome, Safari, Opera */
    -moz-column-gap: 40px; /* Firefox */
    column-gap: 40px;
    -webkit-column-rule-style: none; /* Chrome, Safari, Opera */
    -moz-column-rule-style: none; /* Firefox */
    column-rule-style: none;
/*     -webkit-column-rule-width: 1px; Chrome, Safari, Opera
    -moz-column-rule-width: 1px; Firefox
    column-rule-width: 1px;
 */

}
article h1, article h2, article h3, article dt {
	color: #20c4f4;
}

.bursary {
	position: relative;
	padding-top:25px;
	margin-bottom: 40px;
	width: 75%;
}
.bursary h3 {
	font-size: 35px;
	font-weight: 700;
	color: #00425A;
}

.bursaries .attachment{
	margin-top: 20px;
}

/*.bursary .attachment a {
	display: block;
	width: 30%;
	padding-bottom: 30%;
	height: 30%;
	background-color: #efefef;
	margin-left: 70%;
}*/


dt {
	float: left;
	padding-right: 3px;
}

#search {
	position: relative;
	color: white;
}
#search #search-input, #search .hint {
    padding-left: 25px;
    padding-right: 0px;
    border-radius: 5px;
    border-width: 2px;
    border-color: white;
    width: 100px;
}
#search-input-directory {
	padding-left: 25px;
	padding-right: 0px;
	border-radius: 5px;
	border-width: 2px;
}
#directory-search {
	padding-top: 10px;
	padding-bottom: 30px;
}
@media (min-width: 1078px), (max-width: 991px) {
	#search #search-input, #search .hint {
	    padding-right: 30px;
	    width: initial;
	}
}
#search label, #directory-search label {
    position: absolute;
    left: 10px;
    top: 1px;
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 1.4em;
		color: grey;
}

.services.subbox {
    position: relative;
    width:    21.5%; /* desired width */
    display: inline-block;
    margin: 0px .9%;
}

.services.subbox:before {
    content:     "";
    display:     block;
    padding-top: 85%; /* initial ratio of 1:1*/
}

.blog_summary {
	text-align: center;
}

.blog_summary .left {
	text-align: left;
	padding-top: 20px;
}
.blog_summary .left img {
	float: left;
	padding-right: 30px;
}
.blog_summary .right{
	text-align: right;
	padding-top: 20px;
}
.blog_summary .right img{
	float: right;
	padding-left: 30px;
}

.blog_summary h1, .blog_summary h2, .blog_summary h3 {
	color: #00425A;
	font-weight: 700;
}
.blog_summary h3 {
	font-size: 1.2em;
}

.page-title-container {
	color: #00425A;
	background-color: #A2EFE9;
	width: 30%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 70px;
	text-align: center;
}
.page-title-container h1{
	font-size: 3.7em;
	font-weight: 700;
	border-bottom: 5px solid #00425A;
	padding-bottom: 20px;
	word-wrap: break-word;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(100,100,100,.2);
    top: 0;
    left: 0;
    z-index: 1000;
}

/* sidebar */
.sidebar {
}

.archive-wrapper{
	padding-right: 40px;
	margin-top: 50px;
	text-align: -webkit-center;
}

.archive-wrapper h2{
	padding-bottom: 10px;
	border-bottom: 4px solid #A2EFE9;
	width: 70%;
	transition-duration: 200ms;
}
ul.archive {
	list-style: none;
	padding: 0px;
	color: #00425A !important;
	border-radius: 7px;
	margin-top: 10px;
}
ul.archive li {
	transition-duration: 200ms;
	text-transform: uppercase;
	padding: 20px 0;
	border-bottom: 2px solid #e7f3f6;
	width: 70%;
}
ul.archive li a {
	color: #00425A;
	font-weight: 600;
	text-decoration: none;
}

ul.archive li a:hover {
	color: #97D7EA;
}

/* footer */
.footer {
	background-color: #00425A;
	color: white;
	padding-top: 60px;
	padding-bottom: 40px;
}

.footer ul {
	list-style: none;
	padding: 0px;
	border-top: 1px #ffffff2b solid;
}
.footer li {
	border-bottom: 1px #ffffff2b solid;
	padding: 8px 0px;
	font-size: 1.1em;
	transition-duration: 300ms;
}
.footer a {
	color: white;
	display: inline-block;
	padding-right: 10px;
	transition-duration: 300;
}

.footer a:hover {
	color: #A2EFE9;
	text-decoration: none;
}

.footer li a{
	width: 100%;
}

.footer h3 {
	padding-bottom: 10px;
}

.footer .fa{
	font-size: 2.5em;
    margin-right: 20px;
    margin-bottom: 50px;
    color: #A2EFE9;
	transition-duration: 200ms;
}

.row-no-padding > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#to-top, .social .fa{
	cursor: pointer;
	transition-duration: 200ms;
}

#to-top:hover, .social .fa:hover{
	opacity: 0.4;
}

.btt-button{
	text-align: right;
	font-size: 1.4em;
}

.btt-button .fa{
	font-size: 1.2em;
	margin-right: 5px;
}

.btn-secondary{
	background-color: #97D7EA !important;
	border: none !important;
	font-weight: 700 !important;
}

.btn-secondary:hover{
	background-color: #00425A !important;
}


/*------------------------------------*\
    PAGES
\*------------------------------------*/

.page-header-wrapper{
	text-align: left;
	margin-bottom: 50px;
	color: #111111;
}

.page-header-wrapper h1{
	font-size: 3em;
	color: #00425A;
	font-weight: 700;

}

.post-content-wrapper{
	background-color: #97D7EA;
	position: relative;
	margin-bottom: 40px;
	display: flex;
	height: 200px;
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
	transition-duration: 300ms;
}

.post-content-wrapper:hover{
	box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.2);
	margin-left: 10px;
	margin-right: -10px;
}

.post-image-thumb{
	width: 30%;
	display: flex;
	justify-content: center;
/*    align-items: center; */
    overflow: hidden
}

.post-image-thumb img{
	flex-shrink: 0;
    min-width: 300px;
    min-height: 225px;
    max-width: initial;
}

.post-image-thumb .landscape img{
    max-height: 210px;
}
.post-image-thumb .portrait img{
    max-width: 300px;
}



.post-list-info{
	width: 70%;
	padding: 20px 40px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	text-align: left;
}

.post-list-info *{
	width: 100%;
	color: white !important;
}

.post-list-info h2{
	font-size: 2em;
	font-weight: 700;
}

.post-hover{
	opacity: 0.7;
}

.single-post-container{
	display: flex;
	flex-wrap: none;
}

.single-post-content{
	width: 65%;
	padding-right: 80px;
}

.single-post-thumbnail{
	width: 35%;
}

.single-post-thumbnail img{
	min-width: 100%;
}

.single-post-title a{
	font-size: 2em;
	font-weight: 700;
	color: #00425A !important;
}

.post .date{
	font-size: 1.4em;
	font-weight: 700;
	color: #97D7EA;
}

.post-content{
	margin-top: 20px;
	font-size: 16px;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/


.header-image-wrapper {
	display: none;
}

.homepage_nav {
	height: 150px;
}
.home-page-header-menu {
	padding: 20px;
	background-color: rgba(200,200,200,0.5);
}
.home-logo-col {
	text-align: center;
	padding-top: 100px;
}

.row.homepage-row.member-row {
	border-bottom: 1px grey solid;
	padding-bottom: 20px;
}

.homepage-link-aftersocks {
	width: 100%;
}

.row.homepage-row > div.dynamic {
	padding:40px;
}
.row.homepage-row  h1 {
	font-weight: bolder;
	font-size: 30px;
}
.homepage-link h1 {
	padding: 30px 0 0 30px;
	color: white;
}

.row.homepage-row .text {
	font-size: 20px;
}
.homepage-link {
	height: 300px;
	-webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    margin-bottom: 3px;
    background-size: cover;
    background-position: center;
	-webkit-filter: grayscale(0%);
	filter: grayscale(0%);
	position:relative;
}
.homepage-link:hover {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

.homepage-link-national-conference {
	background-image:linear-gradient(rgba(95,204,245,0.4),rgba(95,204,245,0.4)),url(img/homepage_nationalconference_link.png);
	height: 150px;
	margin-bottom: 30px;
}

.homepage-link-annual-summit {
	background-image:linear-gradient(rgba(95,204,245,0.4),rgba(95,204,245,0.4)),url(img/homepage_annualsummit_link.png);
	height: 150px;
}

.homepage-link-erwa {
	background-image:/*linear-gradient(rgba(192,215,47,0.4),rgba(192,215,47,0.4)),*/url(img/NZI_RWBANZ_Colour.png);
}
.homepage-link-aftersocks {
	background-image:linear-gradient(rgba(0,171,160,0.4),rgba(0,171,160,0.4)),url(img/homepage_aftersocks_link.jpeg);
}
.homepage-link-memberzone {
	background-image:linear-gradient(rgba(0,171,160,0.4),rgba(0,171,160,0.4)),url(img/homepage_members_link.jpeg);
}
a span.link {
	display:block;
	width:100%;
	height: 100%;
	position:absolute;
}

.homepage-links {
		display:block;
	}
.split {
	width: 100%;
	/*flex: 0 0 100%;*/
	max-width: 100%;
}

.homepage-story {
	padding: 20px 0px;

}
.image-box {
	height: 200px;
	background-size: cover;
}

/*.image-box-square {
	margin-bottom: 100%;
}
.image-box-1-in-2 {
	margin-bottom: 50%;
}*/
h1.homepage-section {
	text-transform: uppercase;
	color: #414141;
	font-size: 20px;
	padding-bottom: 20px;
}

.homepage-services-bursaries {
	background-image: url(img/homepage_services_bursaries.jpeg);
}
.homepage-services-directory {
	background-image: url(img/homepage_services_directory.jpeg);
}
.homepage-services-womeninfarming {
	background-image: url(img/homepage_services_womeninfarming.jpeg);
}

.fb-column iframe {
	width: 100%;
}

.homepage-partners img {
	height: 100px;
	display:block;
	margin: auto;
	padding: 15px 0px;
}


@media (min-width: 575px) and (max-width: 991px) {
.homepage-links {
	display: flex;
}

.split {
	flex: 0 0 50%;
	max-width: 50%;
}

}

body.home #navbarSupportedContent {
	background-color: grey;
	padding: 10px;
}

@media (min-width: 992px) {
	.homepage-story {
		height: 300px;
		padding: 0px;
	}
	.homepage-row.homepage-services, .homepage-row.homepage-partners, .homepage-row.homepage-social {
		padding: 22px;
	}
	body.home #navbarSupportedContent {
		background-color: initial;
		padding: inherit;
	}

}
@media (min-width: 768px) {
	.homepage-partners img {
		height: 80px;
	}

}


.homepage_grid {
	width: 90%;
	margin: auto;
	height: 100px;
	position: relative;
}
.homepage_grid.bg{
    background-repeat:no-repeat;
    background-size:cover;
    color:#fff;
}
.homepage_grid .content {
	position: absolute;
	bottom: 10%;
	left: 10%;
	font-size: 1.6em;
}
.homepage_grid_row {
	width: 80%;
	margin: auto;
}
.homepage_grid.square {
    width: 50%;
    padding-bottom: 50%; /* = width for a square aspect ratio */
}
.homepage_grid.rectangle {
    width: 100%;
    padding-bottom: 50%; /* = width for a square aspect ratio */
}
.homepage_grid {
	float: left;
	position: relative;
}
.fullscreen-image {
	height: 300px;
}
.main-page-header-menu {
	position: absolute;
	right: 15px;
}
.feature-image {
	display: none;
}
.page-logo {
	width:210px;
}
.page-logo.home {
	width:300px;
}
@media only screen and (max-width:400px) {
	.page-logo.home {
		width: 200px;
	}
}

.header-row {
	padding-top: 20px;
	padding-bottom: 20px;
}
.mainStory {
	min-height: 200px;
}

a.carousel-control-dark, a.carousel-control-dark:focus, a.carousel-control-dark:hover {
	color: black;
}
.slick .slick-prev:before, .slick .slick-next:before {
    color: black;
}

div.event {
	text-align: center;
}
div.event p {
	margin: 20px auto;
}

article .form-control {
	font-size: 1.6rem;
}

article select.form-control:not([size]):not([multiple]) {
    height: calc(2.25rem + 12px);
}

article img {
	width: auto;
	height: auto;
}

#eventForm {
	font-size: 1.6rem;
}

#eventForm .form-control, #eventForm .btn  {
	font-size: 1.6rem;
}

.pum-theme-lightbox {
	z-index: 100 !important;
}
 /* puts the google places autocomplete dropdown results above the bootstrap modal 1050 zindex. */
.pac-container {
    z-index: 1051 !important;
}

.modal, .modal input, .modal button {
	font-size: 18px;
}
.modal button {
	padding-top: 5px;
	padding-bottom: 5px;
}

/****
SHOP
****/
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
	width: 68%;
}

.woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images {
	width: 100%;
}

.woocommerce #content div.product .woocommerce-tabs, .woocommerce div.product .woocommerce-tabs, .woocommerce-page #content div.product .woocommerce-tabs, .woocommerce-page div.product .woocommerce-tabs {
	clear: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: none;
}
.woocommerce .single-post-content {
	width:90%;
}

@media only screen and (min-width:320px) and (max-width:767px) {

	.post-content-wrapper {
		height: 150px;
		margin-bottom: 20px;
	}
	.post-list-info p {
		display: none;
	}
	.post-list-info h2 {
		font-size: 2em;
	}
	.page-title-container {
	    width: 100%;
		margin-bottom: 40px;
	}
	.page-title-container h1 {
	    font-size: 3.7em;
	}
	.page-header-wrapper{
		display: none;
	}
	.archive-wrapper{
		padding-right: 0;
	}

	.single-post-container{
		flex-wrap: wrap;
		flex-direction: column-reverse;
		padding: 10px 50px;
	}

	.single-post-title{
		font-size: 2em;
	}

	.single-post-content{
		width: 100%;
		padding: 0;
	}

	.single-post-thumbnail{
		width: 100%;
		margin-bottom: 30px;
	}

}
@media only screen and (min-width:480px) {
	.fullscreen-image {
		height: 600px;
	}

	.homepage_grid_row {
		width: 85%;
		margin: auto;
	}
	.homepage_grid {
		float: left;
		position: relative;
	}
	.homepage_grid.square {
	    width: 25%;
	    padding-bottom: 25%; /* = width for a square aspect ratio */
	}
	.homepage_grid.rectangle {
	    width: 50%;
	    padding-bottom: 25%; /* = width for a square aspect ratio */
	}
	#login_dropdown {
		right: 150px;
		left: inherit;
		width: 300px;
	}

}
@media only screen and (min-width:768px) {
	article {
		padding: 20px 40px;
		margin: 50px 5%;
		font-size: 1.4em;
	}

	#page-header {
		position: absolute;
		padding-left: 60%;
		top:8%;
		width: 90%;
		padding-top: 0%;
	}
	section.mainStory {
		overflow: auto;
	}

	.header-image-wrapper {
		padding-top:60%;
		height:0;
		position:relative;
		width:45%;
		overflow: hidden;
		margin-left: 5%;
		margin-top: 2%;
		display: block;
	}

	.header-image-inner img {
	    position: absolute;
	    margin: auto;
	    min-height: 100%;
	    max-width: none;
	    display:block;

	    left: -100%;
	    right: -100%;
	    top: -100%;
	    bottom: -100%;
	}
	.main-page-header-menu {
		position: relative;
		top: inherit;
		right: inherit;
	}
	.header-row {
		padding-top: 60px;
	}
	.feature-image {
		display: inline;
	}
}
@media only screen and (min-width:768px) {

	.woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images {
		width: 28%;
	}
	.woocommerce-tabs.wc-tabs-wrapper {
		padding-left: 32%;
	}
	.homepage_nav {
		height: 200px;
	}
	.home-nav-row {
		padding-top: 60px;
		padding-bottom: 40px;
	}
	.home-page-header-menu {
		padding: 0px 40px 0px 0px;
		background-color: inherit;
	}
	.home-logo-col {
		text-align: left;
		padding-top: 0px;
	}
	.homepage_grid_row {
		width: 75%;
	}
	.homepage_grid .content {
		position: absolute;
		bottom: 10%;
		left: 10%;
		font-size: 2em;
	}
	.footer {
		min-height: 200px;
		margin-top: 150px;
	}
	#page-header {
		padding-left: 70%;
	}
	.header-content-wrapper {
		display: flex;
	}
	.header-image-wrapper {
		padding-top:inherit;
		height:inherit;
		position:relative;
		overflow: hidden;
		margin-top: 0%;
	    width: 70%;
	    margin-left: 0%;
		max-height: 400px;
	}

	.header-image-inner img {
	    position: relative;
	    margin: auto;
	    max-height: none;
	    min-width: 100%;
	    display:inline;
	    left: inherit;
	    right: inherit;
	    top: inherit;
	    bottom: inherit;
	    margin-bottom: -2%;

	}
	section.mainStory {
		overflow: visible;
	}

}
@media only screen and (min-width:1024px) {
	.homepage_nav {
		height: 250px;
	}
}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.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%;
	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 .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
