/*
Theme Name: Vibrant
Version: 1.2
Author: Bonfire Themes
Author URI: http://bonfirethemes.com/
Theme URI: http://bonfirethemes.com/
Description: A minty-fresh WordPress theme.
Tags: light, one-column, fluid-layout, responsive-layout, custom-background, custom-menu, featured-images, full-width-template
License: GNU GENERAL PUBLIC LICENSE, Version 2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset, figure {
	margin: 0;
	padding: 0;
}

img, fieldset {
	border: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

img {
	max-width:100%;
	height:auto;
}


/* GENERAL STYLING
**************************************************/
.center { text-align:center; }
.right { text-align:right; }
.post-shortcode {
	padding:0;
	max-width:1000px;
	margin:0 auto;
}

body {
	background-color:#E7EDF1;
}
html, body {
	-webkit-text-size-adjust:none;
	height:100%;
}
.body-dark {
	background-color:#333;
}
.overflow-hidden {
	overflow:hidden !important;
}
body, body .search {
}

/* hide #content shadow for 404 & archive pages */
.error404 #content, .page-template-page-archive-php #content {
}

.wrapper-outer {
	-webkit-transition: all .65s ease;
	-moz-transition: all .65s ease;
	-o-transition: all .65s ease;
	-ms-transition: all .65s ease;
	transition: all .65s ease;
	
	-webkit-transform-origin:top;
	-moz-transform-origin:top;
	-ms-transform-origin:top;
	-o-transform-origin:top;
	transform-origin:top;
}
.wrapper-outer-active-scale {
	-webkit-transform: scale(0.85);
	-moz-transform: scale(0.85);
	-ms-transform: scale(0.85);
	-o-transform: scale(0.85);
	transform: scale(0.85);

	opacity:0.35;
}
.wrapper-outer-active-position {
	-webkit-transform: scale(0.85) translate(240px, 45px);
	-moz-transform: scale(0.85) translate(240px, 45px);
	-ms-transform: scale(0.85) translate(240px, 45px);
	-o-transform: scale(0.85) translate(240px, 45px);
	transform: scale(0.85) translate(240px, 45px);
}

#sitewrap {
	padding:72px 15px 0 15px;
}
#pagewrap {
	max-width:1000px;
	margin:0 auto;
}
a {
	/* remove the flickering effect of a tapped link when on a touch device */
	-webkit-tap-highlight-color:rgba(0,0,0,0);
	
	color:#6E87BA;
	text-decoration: none;
	outline:none;
	
	-webkit-transition: all .20s ease;
	-moz-transition: all .20s ease;
	-o-transition: all .20s ease;
	-ms-transition: all .20s ease;
	transition: all .20s ease;
}
a:hover {
	text-decoration: underline;
	
	-webkit-transition: all .20s ease;
	-moz-transition: all .20s ease;
	-o-transition: all .20s ease;
	-ms-transition: all .20s ease;
	transition: all .20s ease;
}
p {
	margin: 0 0 1.2em;
	padding: 0;
}
small {
	font-size: 13px;
}
blockquote {
	color:#858585;
	padding:13px 0 1px 10px;
	font-family:'Source Sans Pro';
	font-weight:300;

	font-size:18px;
}



/* custom background colors (when menu open) */
.menu-open-background, #menu-open-background { background-color:#1FB6DB !important; }

.menu-open-background {
	position:fixed;
	z-index:0;
	width:100%;
	height:100%;
	opacity:0;
	
	-webkit-transition: opacity .65s ease;
	-moz-transition: opacity .65s ease;
	-o-transition: opacity .65s ease;
	-ms-transition: opacity .65s ease;
	transition: opacity .65s ease;

}
.menu-open-background-fade {
	opacity:1 !important;
}



/* CUSTOM PLACEHOLDER TEXT COLOR
**************************************************/
::-webkit-input-placeholder { color:#93989B !important; opacity:1; }
:-moz-placeholder { color:#93989B !important; opacity:1; }
::-moz-placeholder { color:#93989B !important; opacity:1; }
:-ms-input-placeholder { color:#93989B !important; opacity:1; }


/*
STRUCTURE
**************************************************/
.pagewidth {
	max-width:100%;
	position:relative;
	margin:0 auto;
}

#content {
	width:100%;
	margin:0 auto;
	position:relative;
	z-index:5;
	top:0;
}


/*
HEADER
**************************************************/
#header {
	position: relative;
}


/* CONTACT FORM
**************************************************/
#contactform-wrapper {
	border-top:1px solid #E3E6EB;
	background-color:#FBFBFB !important;
	max-width:1000px !important;
}
.formstatusok {
	height:45px;
	font-size:16px;
	font-family:'Source Sans Pro';
	font-weight:300;
	text-transform:uppercase;
	color:#fff;
	background:#34AE20;
	padding:20px 7px 20px 7px !important;
	text-align:center;
}
.formstatuserror {
	font-size:16px;
	font-family:'Source Sans Pro';
	font-weight:300;
	color:#F8ECEE;
	background:#B83E4F;
	padding:12px 12px 15px 15px !important;
}

#subject, #name, #mail {
	font-size:14px;
	height:30px;
	border:none;
	border-bottom:1px solid #D0D6DA;
	background:none;
	color:#93989B;
	border-radius:0;
	font-family:'Source Sans Pro';
	font-weight:300;
	
	-webkit-transition: all .2s ease;
	-moz-transition: all .2s ease;
	-o-transition: all .2s ease;
	-ms-transition: all .2s ease;
	transition: all .2s ease;
}
#name:hover, #mail:hover, #name:focus, #mail:focus {
	border-bottom:1px solid #C4C5C8;
}
}
#subject:hover, #name:hover, #mail:hover, #subject:focus, #name:focus, #mail:focus {
	border-bottom:1px solid #5;
}

#subject-wrapper, #name-wrapper, #mail-wrapper {
	margin:0 22px 0 12px;
}
#subject, #name, #mail {
	width:100%;
	padding: 8px 5px 0 5px;
	margin: 1px 0 0 0;
}

#message-wrapper {
	padding:15px 17px 0 14px;
}
#message {
	width:100%;
	height:55px;
	border:none;
	background:none;
	font-size:16px;
	line-height:20px;
	color:#93989B;
	font-family:'Source Sans Pro';
	font-weight:300;
	resize:none;
}
/* send message button */
#contact-submit {
	padding:7px 29px 8px 29px;
	margin:17px 8px 15px 15px;
	cursor:pointer;
	border:none;
	font-family:'Source Sans Pro';
	font-weight:700;
	font-size:13px;
	color:#FEFEFE;
	text-decoration:none;
	background-color:#62A5C8 !important;
	
	-webkit-border-radius:1px;
	-moz-border-radius:1px;
	border-radius:1px;
	
	-webkit-appearance: none;

}

/* cancel message button */
#cancel-message {
	float:right;
	margin:22px 18px 0 0;
	width:25px;
	height:25px;
	cursor:pointer;
	z-index:4;
	background: url(../images/close-icon.png) no-repeat center center;
}
/* Retina display #contact-submit */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 240dpi)
{
#cancel-message { background-size: 16px 16px !important; background: url(../images/close-icon@2x.png) no-repeat center center; }
}

/* contact form placeholder */
#message input::-webkit-input-placeholder { color:#3C3F40 !important; }
#message input:-moz-placeholder { color:#3C3F40 !important; }
#message input::-moz-placeholder { color:#3C3F40 !important; }
#message input:-ms-input-placeholder { color:#3C3F40 !important; }



/* LOGO + TAGLINE
**************************************************/
#header-bar {
	width:100%;
	position:absolute;
}
.site-logo-wrapper {
	width:100%;
	height:57px;
	background-color:#1FB6DB;
}
.site-logo, .site-logo a {
	font-size:11px;
	line-height:11px;
	letter-spacing:0.16em;
	font-family:'Montserrat';
	text-transform:uppercase;
	font-weight:400;
	color:rgba(255,255,255,0.85);
	padding:24px 20px 20px 24px;
}
.site-logo {
	padding-left:0;
	position:absolute;
	z-index:10;
}
.site-logo a:hover {
	text-decoration:none;
	color:rgba(255,255,255,.9);
	letter-spacing:0em;
}



/* MAIN MENU
**************************************************/
.menu-wrapper {
	width:100%;
}

.menu-button {
	-webkit-tap-highlight-color:rgba(0,0,0,0);

	position:relative;
	cursor:pointer;
	float:right;
	top:0;
	right:0;
	width:68px;
	height:58px;
	text-decoration:none !important;
	z-index:8;
}


/* MENU BUTTON
******************/
.menu-button {
	background: url(../images/icon-menu.png) no-repeat center center;
	background-size:22px 15px !important;
	opacity:.85;

	-webkit-transition: all .2s ease;
	-moz-transition: all .2s ease;
	-o-transition: all .2s ease;
	-ms-transition: all .2s ease;
	transition: all .2s ease;
}
/* Retina display .menu-button */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 240dpi)
{
.menu-button { background-size:22px 15px !important; background: url(../images/icon-menu@2x.png) no-repeat center center; }
}


/* ACCORDION MENU
**************************************************/
#menu-open-overlay {
	width:35%;
	height:100%;
	right:0;
	top:0;
	position:fixed;
	z-index:7;
	display:none;
}
.menu-open-overlay-active {
	display:block !important;
}

#menu {
	margin:0;
	position:fixed;
	z-index:6;
	width:110%;
	top:90px;
	bottom:0;
	
	overflow:auto;
	
	-webkit-transform: translateX(-100%) scale(0.9);
	-moz-transform: translateX(-100%) scale(0.9);
	-ms-transform: translateX(-100%) scale(0.9);
	-o-transform: translateX(-100%) scale(0.9);
	transform: translateX(-100%) scale(0.9);

	-webkit-transition: all .75s ease;
	-moz-transition: all .75s ease;
	-o-transition: all .75s ease;
	-ms-transition: all .75s ease;
	transition: all .75s ease;
	
	-webkit-overflow-scrolling: touch;
}
.menu-active {
	-webkit-transform: translateX(0px) !important;
	-moz-transform: translateX(0px) !important;
	-ms-transform: translateX(0px) !important;
	-o-transform: translateX(0px) !important;
	transform: translateX(0px) !important;
}

.menu {
	text-align:left;
	position:relative;
	padding:16px 0 20px 5px;
	margin:0 20px 0 0;
	background:none;
}
.menu a {
	color:#fff;
	padding:10px 20px 12px 10px;
	margin:0 13px 0 3px;
	display:inline-block;
	font-family:'Montserrat',arial,tahoma,verdana;
	font-weight:400;
	cursor:pointer;
}
.menu a:hover, .menu a:active {
	color:#fff;
	text-decoration:none;
}
.sub-menu a {
	border-bottom:none;
	line-height:22px;
}
.sub-menu a:hover, .sub-menu a:active {
	text-decoration:none;
}
.menu ul {
	list-style:none;
}
.menu li {
	list-style:none;
	padding:0 0 0 5px;
	margin:0 0 2px 0;
	z-index:-1;
}
.menu li a {
	font-size:12px;
	letter-spacing:2px;
}
.sub-menu {
	padding:0 0 8px 0;
}
.sub-menu ul {
	list-style: none;
}
.sub-menu li {
	list-style:none;
	margin:0;
	padding:0;
	float:none;
	border-top:none !important;
}
.sub-menu li a {
	color:rgba(255,255,255,0.65);
	margin:0;
	padding:1px 13px 7px 13px;
	border-top:none !important;
}
.menu li.sub a {
	background: url(../images/menu-expandable.png);
	background-position:right 15px;
	background-repeat:no-repeat;
}
/* Retina display .menu li.sub a */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 240dpi)
{
.menu li.sub a { 
	background: url(../images/menu-expandable@2x.png);
	background-position:right 15px;
	background-repeat:no-repeat;
	background-size:10px 6px !important;
}
}
.menu li.sub a:hover {
}
.menu li.sub > ul a {
	background-image: none;
	font-size:11px;
	letter-spacing:1px;
}
.menu li.sub > ul a:hover {
	margin-left:3px !important;
}
.sub-menu li.text a {
	color:#555 !important;
	font-size:13px;
	line-height:18px;
	padding: 0 10px 3px 0;
	display:block;
	cursor:default;
}
.sub-menu li.text a:hover {
	color:#555 !important;
}



.menu li.red a { color:#F0004C; }
.menu li.red a:hover { color:#fff; }
.sub-menu li.red a { color:#F0004C !important; }
.sub-menu li.red a:hover { color:#fff !important; }

.menu li.blue a { color:#0990CA; }
.menu li.blue a:hover { color:#fff; }
.sub-menu li.blue a { color:#0990CA !important; }
.sub-menu li.blue a:hover { color:#fff !important; }

.menu li.green a { color:#74814D; }
.menu li.green a:hover { color:#fff; }
.sub-menu li.green a { color:#74814D !important; }
.sub-menu li.green a:hover { color:#fff !important; }

.menu li.magenta a { color:#D4456E; }
.menu li.magenta a:hover { color:#fff; }
.sub-menu li.magenta a { color:#D4456E !important; }
.sub-menu li.magenta a:hover { color:#fff !important; }

.menu li.teal a { color:#007F33; }
.menu li.teal a:hover { color:#fff; }
.sub-menu li.teal a { color:#007F33 !important; }
.sub-menu li.teal a:hover { color:#fff !important; }

.menu li.purple a { color:#A844A8; }
.menu li.purple a:hover { color:#fff; }
.sub-menu li.purple a { color:#A844A8 !important; }
.sub-menu li.purple a:hover { color:#fff !important; }

.menu li.orange a { color:#DB7006; }
.menu li.orange a:hover { color:#fff; }
.sub-menu li.orange a { color:#DB7006 !important; }
.sub-menu li.orange a:hover { color:#fff !important; }

.menu li.pink a { color:#C94346; }
.menu li.pink a:hover { color:#fff; }
.sub-menu li.pink a { color:#C94346 !important; }
.sub-menu li.pink a:hover { color:#fff !important; }


/* VIDEO CONTAINER
**************************************************/
.video-container {
	position: relative;
	padding-bottom: 54%;
	padding-top: 10px;
	height: 0;
	overflow: hidden;
	margin: 0 0 0 0;
}
.video-container iframe, .video-container object, .video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border:0;
}
.video-container:empty {
	display: none;
}

iframe {
	width: 100%;
	height: 159px;
}


/* MAP CONTAINER
**************************************************/
.map-container {
	position:relative;
	padding-bottom:60%;
	height:0;
	overflow:hidden;
	margin:0 0 0 0;
}
.map-container iframe, .map-container object, .map-container embed {
	position:absolute;
	top:0;
	left:0;
	right:0;
	width:100%;
	height:100%;
	border:0;
}



/* LISTS
**************************************************/
ul, ol {
	margin-bottom:15px;
}
li {
	margin: 0 0 0 0;
	padding: 0;
}

.entry-content ul li {
	margin:0 12px 0 18px;
	text-align:left;
}

.entry-content ol li {
	margin: 0 12px 0 21px;
	text-align:left;
}


/* HEADINGS
**************************************************/
h1, h2, h3, h4, h5, h6 {
	color:#454545;
	padding:0 0 10px 0;
	font-family:'Source Sans Pro';
	font-weight:600;
}
h1 { font-size: 35px; line-height: 40px; }
h2 { font-size: 32px; line-height: 36px; }
h3 { font-size: 1.6em; line-height: 33px; }
h4 { font-size: 1.4em; line-height: 29px; }
h5 { font-size: 1.2em; line-height: 27px; }
h6 { font-size: 1em; line-height: 25px; }


/* DISPLAY NONE
**************************************************/
.display-none {
	display:none;
}


/* POSTS, PAGES
**************************************************/
.content-wrapper {
	max-width:1000px;
	margin:0 auto 30px auto;
	padding:0;
	background-color:#fff;
}
.content-wrapper-hide {
	opacity:0 !important;
}

.post {
	margin:0 0 0 0;
	padding:0 0 0 0;
}
.contact-page-wrapper {
	margin:0 0 0 0;
	padding:20px 0 0 0;
}
.entry-content {
	font-family:'Source Sans Pro';
	font-weight:300;
	font-size:18px;
	line-height:22px;
	color:#818587;
	text-align:left;
	padding:20px 20px 20px 24px;
	
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	-ms-transition: all .5s ease;
	transition: all .5s ease;
}
.entry-content-toggle {
	opacity:0 !important;
}
.entry-content p {
	margin:0 0 20px 0;
	padding:0;	
}
.entry-content span p {
	padding:0;
	margin:0;
}

.entry-content a {
	color:#6E87BA;
	text-decoration:underline;
}
.entry-content a:hover {
	color:#E9826F;
	text-decoration:none;
}
.entry-content img, .excerpt img {
	width:auto;
	padding:0;
	
	-webkit-border-radius: 1px;
	-moz-border-radius: 1px;
	border-radius: 1px;
}
.entry-content img a {
}
.entry-content a img:hover {
}

/* mini divider */
.mini-divider {
	border-bottom:2px solid #252525;
	width:45px;
	margin:20px 0 28px 0;
}

/* page wrapper */
.page-wrapper {
	max-width:1000px;
	margin:0 auto -20px auto;
	padding:25px 0 30px 0;
}
.page-end-spacer {
	height:5px;
	display:block;
}
/* post, page titles */
.post-title, .post-title a {
	font-family:'Source Sans Pro', arial, tahoma;
	font-weight:600;
	font-size:23px;
	line-height:22px;
	color:#44414C;
	text-align:left;
	display:block;
	padding:0;

	-webkit-transition: all .25s ease;
	-moz-transition: all .25s ease;
	-o-transition: all .25s ease;
	-ms-transition: all .25s ease;
	transition: all .25s ease;
}
.post-title {
	padding:25px 20px 0 23px;
}
.post-title a:hover {
	text-decoration:none;
	color:#999;
}
.page-title-centered {
	text-align:left;
}

/* read more link */
.more-button {
	text-align:center;
	padding:0 0 35px 0;
}
.more-button a {	
	color:#fff;
	padding:12px 27px 11px 27px;
	display:inline-block;
	font-family:'Montserrat', arial, tahoma;
	font-weight:700;
	font-size:12px;
	text-transform:uppercase;
	background-color:#13C9E7;
	
	-webkit-border-radius:1px;
	-moz-border-radius:1px;
	border-radius:1px;
}
/* post navigation */
.link-pages {
	margin:0 25px;
	max-width:100%;
	
	font-family:'Source Sans Pro';
	font-weight:300;
	font-size:16px;
	color:#818587;
}
.link-pages a {
	text-decoration:underline;
}


/* TAGS
**************************************************/
.post-tag {
	font-family:'Source Sans Pro';
	font-weight:300;
	font-size:16px;
	line-height:22px;
	color:#C0C6CA;
	margin:0;
}
.post-tag a {
	color:#63B7D6;
	text-decoration:none;
}
.post-tag a:hover {
	color:orange;
	text-decoration:underline;
}



/* BACK BUTTON
**************************************************/
.back-button {
	margin:0 auto;
	padding:0 0 20px 0;
	width:40px;
	height:40px;
	cursor: pointer;
	background: url(../images/nav-next-icon.png) no-repeat 11px center;
}
/* Retina display .back-button  */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 240dpi)
{
.back-button { background-size: 9px 16px !important; background: url(../images/nav-next-icon@2x.png) no-repeat 11px center; }
}



/* POST AUTHOR + DATE
**************************************************/
.post-meta-author-date {
	padding:22px 0 0 26px;
	margin-bottom:-20px;
}
.post-meta-author-date {
	font-family:'Source Sans Pro';
	font-weight:400;
	font-size:14px;
	color:#C0C6CA;
	
	-webkit-transition: all .20s ease;
	-moz-transition: all .20s ease;
	-o-transition: all .20s ease;
	-ms-transition: all .20s ease;
	transition: all .20s ease;
}
.post-meta-author-date a:hover {
	color:#ECAC12;
	text-decoration:none;
}



/* ARCHIVE PAGES
**************************************************/
.archive-title {
	color:#E5E5E3;
	font-size:20px;
	font-family:'Source Sans Pro';
	font-weight:300;
	display:block;
	margin-bottom:8px;
}
.archive-content {
	line-height:20px;
	font-size:20px;
	font-family:'Source Sans Pro';
	font-weight:300;
	padding:20px 10px 40px 10px;
}
.archive-content a {
	color:#9EACAE;
	text-decoration:none;
}
.archive-content a:hover {
	color:#FAFAFA;
}
.archive-content li {
	list-style-type:none;
	display:inline-block;
	margin:0 5px 8px 0;
	color:#8C999B;
}
.archive-full {
	padding:0 0 5px 0;
}


/* NEXT PAGE, PREV PAGE (BLOG INDEX)
**************************************************/
/* wrapper */
.post-nav {
	max-width:980px;
	margin:-10px auto 20px auto;
	height:40px;
	
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	-ms-transition: all .5s ease;
	transition: all .5s ease;
}

/* previous posts */
.post-nav .prev {
	opacity:.25;
	display:block;
	float:left;
	width:75px;
	height:40px;
	
	-webkit-transition: all .15s ease;
	-moz-transition: all .15s ease;
	-o-transition: all .15s ease;
	-ms-transition: all .15s ease;
	transition: all .15s ease;
	
	background: url(../images/prev-page.png) no-repeat center center;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 240dpi)
{
.post-nav .prev { background-size: 35px 10px !important; background: url(../images/prev-page@2x.png) no-repeat center center;}
}

/* next posts */
.post-nav .next {
	opacity:.25;
	display:block;
	float:right;
	width:75px;
	height:40px;
	background: url(../images/next-page.png) no-repeat center center;
	
	-webkit-transition: all .25s ease;
	-moz-transition: all .25s ease;
	-o-transition: all .25s ease;
	-ms-transition: all .25s ease;
	transition: all .25s ease;
}
/* Retina display .post-nav .next */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 240dpi)
{
.post-nav .next { background-size: 35px 10px !important; background: url(../images/next-page@2x.png) no-repeat center center;}
}

.post-nav .prev:hover, .post-nav .next:hover {
	opacity:0.45;
}



/* POST FORMATTING
**************************************************/
img.alignleft, img.aligncenter, img.alignright, img.alignnone {
	padding:0;margin:0;
}
img.aligncenter {
	margin:0 auto;
	text-align:center;
}
.alignleft {
	float: left;
	margin-right: 30px;
}
.alignright {
	float: right;
	margin-left: 30px;
}
.aligncenter {
	margin: 0 auto;
	display: block;
}
.wp-caption {
	max-width:100%;
	margin:0;
	padding:0;
}

.wp-caption aligncenter {
	margin: 0 auto;
}
.wp-caption img {
	margin: 0;
	padding:0;
}
.wp-caption-text {
	font-size: 14px;
	line-height:16px;
	text-align: center;
	color:#999;
	margin: 5px 0 20px 0;
	min-width:100%;
}


/*
CLEAR & ALIGNMENT
**************************************************/
.clear {
	clear: both;
}
.left {
	float: left;
}
.right {
	float: right;
}
.textleft {
	text-align: left;
}
.textright {
	text-align: right;
}
.textcenter {
	text-align: center;
}

/* clearfix */
.clearfix:after, #body:after, #footer:after, footer:after, .pagenav:after, #main-nav:after, .menu:after, .gallery:after, #content:after
{ visibility: hidden; display: block; font-size: 0; clear: both; height: 0; }
.clearfix, #body, #footer, footer, .pagenav, #main-nav, .menu, #content
{ display: inline-block; }
/* clearfix for ie7 */
.clearfix, #body, #footer, footer, .pagenav, #main-nav, .menu, .gallery, #content
{ display: block; }


/* GALLERY LAYOUT, COLUMNS
**************************************************/
div.gallery { padding:0 !important;}

.entry-content .gallery {
	margin: 0 0 -13px 0 !important;
}

#content .gallery-item img {
	border:0;
}

.gallery-caption {
	color: #615D5D;
}

#content .gallery-columns-1 .gallery-item {
		width: 100%;
}
#content .gallery-columns-1 .gallery-item img {
		width: 100%;
		height: auto;
}
#content .gallery-columns-2 .gallery-item {
	width: 48.8%;
	padding: 0.5%;
	margin:0;
}
#content .gallery-columns-2 .gallery-item img {
	width: 100%;
	height: auto;
}
#content .gallery-columns-3 .gallery-item {
	width: 32.3%;
	padding: 0.5%;
	margin:0;
}
#content .gallery-columns-3 .gallery-item img {
	width: 100%;
	height: auto;
}
#content .gallery-columns-4 .gallery-item {
	width: 24%;
	padding: 0.5%;
	margin:0;
}
#content .gallery-columns-4 .gallery-item img {
	width: 100%;
	height: auto;
}
#content .gallery-columns-5 .gallery-item {
	width: 19%;
	padding: 0.5%;
	margin:0;
}
#content .gallery-columns-5 .gallery-item img {
	width: 100%;
	height: auto;
}
#content .gallery-columns-6 .gallery-item {
	width: 15.65%;
	padding: 0.5%;
	margin:0;
}
#content .gallery-columns-6 .gallery-item img {
	width: 100%;
	height: auto;
}	
#content .gallery-columns-7 .gallery-item {
	width: 13.25%;
	padding: 0.5%;
	margin:0;
}
#content .gallery-columns-7 .gallery-item img {
	width: 100%;
	height: auto;
}
#content .gallery-columns-8 .gallery-item {
	width: 11.5%;
	padding: 0.5%;
	margin:0;
}
#content .gallery-columns-8 .gallery-item img {
	width: 100%;
	height: auto;
}
#content .gallery-columns-9 .gallery-item {
	width: 10.1%;
	padding: 0.5%;
	margin:0;
}
#content .gallery-columns-9 .gallery-item img {
	width: 100%;
	height: auto;
}


/* PHOTOSWIPE
**************************************************/
.opacity-full { opacity:1 !important; }

.gallery-icon a img {
	margin:0 0 -5px 0;
	opacity:.9;
	
	-webkit-transition: all .25s ease;
	-moz-transition: all .25s ease;
	-o-transition: all .25s ease;
	-ms-transition: all .25s ease;
	transition: all .25s ease;
	
	filter:url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
	filter:gray;
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	-o-filter: grayscale(100%);
}
.gallery-icon a img:hover {
	opacity:1;
	z-index:1000;

	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1);
	
	filter:none;
	-webkit-filter: grayscale(0%);
	-moz-filter: grayscale(0%);
	-ms-filter: grayscale(0%);
	-o-filter: grayscale(0%);
}

/* hide the image description */
.ps-caption { display:none !important; }
/* navigation always visible */
.ps-toolbar { opacity:0.8 !important; }

/* load nav icons from theme */
div.ps-toolbar div div.ps-toolbar-content {
	width:44px;
	height:44px;
	margin:0 auto 0;
	background-image:url(../images/icons.png);
	background-repeat:no-repeat;
}
/* adjust toolbar */
div.ps-toolbar { 
	background: #0B0B0B;
	height:58px !important;
	padding-top:8px;
	display: table;
	table-layout: fixed;
}
div.ps-toolbar-previous div.ps-toolbar-content { background-position: -48px 0; }
div.ps-toolbar-previous-disabled div.ps-toolbar-content { background-position: -48px -44px; }
div.ps-toolbar-next div.ps-toolbar-content { background-position: -95px 0; }
div.ps-toolbar-next-disabled div.ps-toolbar-content { background-position: -95px -44px; }
div.ps-toolbar-play div.ps-toolbar-content { background-position: -88px 0; }

/* Hi-res display */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 240dpi)
{
div.ps-toolbar div div.ps-toolbar-content {
	-moz-background-size: 176px 88px;
	-o-background-size: 176px 88px;
	-webkit-background-size: 176px 88px;
	background-size: 176px 88px;
	background-image: url(../images/icons@2x.png);
}
}
/* remove border from toolbar */
div.ps-toolbar, div.ps-toolbar-top {
	border: none !important;
}

/* close button width */
div.ps-toolbar-close {
	width:65px;
}
/* prevbutton width */
div.ps-toolbar-previous {
	width:47px;
}
/* next button width */
div.ps-toolbar-next {
	width:55px;
}
/* hide play button */
div.ps-toolbar-play {
	visibility:hidden;
}



/* SHORTCODE CUSTOMIZATIONS
**************************************************/
/* button font */
.button, .buttonsilver, .buttongreen, .buttonblue, .buttonsalmon, .buttonred, .buttonorange, .buttonpink {
	font-family:'Source Sans Pro';
	font-weight:600;
	padding-top:14px;
	padding-bottom:14px;
}
/* button margin */
.button-wrapper {
	margin:30px 0;
}
/* custom button colors */
.buttonsilver {
	background-color:#AFB8BD;
}
.buttongreen {
	background-color:#3CC682;
}
.buttonblue {
	background-color:#1FB6DB;
}
.buttonsalmon {
	background-color:#E58073;
}
.buttonred {
	background-color:#D64957;
}
.buttonorange {
	background-color:#E1985F;
}
.buttonpink {
	background-color:#D238A4;
}