/*
	Theme Name: CVB
	Theme URI: http://stjomo.com
	Description: St. Joseph Convention and Visitors Bureau
	Version: 1.4.3
	Author: Todd Motto (@teamsandlot)
	Author URI: http://sandlot.co
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/
/*
	colors
	============================
	dark blue - #133267
	blue - #1a438b
	text - #373b3c
	red - #b91b20
	gray - #f1f0f0
*/
/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	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: 100%;
}

body {
	color: #373b3c;

	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

body.scrollIsDisabled {
	overflow: hidden;
}

/* clear */
.clear:before,
.clear:after {
    display:table;

    content:' ';
}

.clear:after { clear:both; }
.clear { *zoom:1; }

.sr {
	position: absolute;
	top: -9999px;

	visibility: hidden;
}

img {
	max-width: 100%;

	vertical-align: bottom;
}

a {
	-webkit-transition: opacity 200ms linear;
	transition: opacity 200ms linear;
	text-decoration: none;

	color: #b91b20;
}

a:hover { opacity: .7; }

a:focus { outline: 0; }

a:hover,
a:active { outline: 0; }

input:focus {
	border: 1px solid #04A4CC;
	outline: 0;
}

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

h1, h2, h3, h4 {
	margin: 0 0 25px;
	padding: 0;

	letter-spacing: 2px;

	color: #2a2d2e;

	font-family: 'Lato', sans-serif;
	font-weight: 700;
}

h2 {
	text-transform: uppercase;

	font-size: 34px;
	line-height: 42px;
}

h3 {
	font-size: 24px;
	line-height: 24px;
}

.txtRight { text-align: right; }
.txtCenter { text-align: center; }
.txtThin { font-weight: 300; }
.txtNarrow { width: 360px; }
.txtNarrow_right { float: right; }
.txtNoMarginTop { margin-top: 0; }

strong { font-weight: 700 }

.inlineLinks { list-style: none; }

.inlineLinks > * {
	display: inline-block;

	margin: 0 5px;
}


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

/* wrapper */
.wrapper {
	position: relative;

	width: 92%;
	max-width: 1040px;
	margin: 0 auto;
}

.wrapper_narrow {
	max-width: 520px;
}

.headerImg {
	position: absolute;
	z-index: 2;
	top: 30px;
	left: 0;

	width: 120px;
	height: auto;

	cursor: pointer;
}

/* nav */
.navBtn {
	position: absolute;
	z-index: 10;
	top: 30px;
	right: 0;

	cursor: pointer;

	color: #ffffff;
}

.nav {
	position: fixed;
	z-index: 9;
	top: 0;
	right: 0;
	bottom: 0;
	left: auto;

	overflow: scroll;

	box-sizing: border-box;
	width: 340px;
	padding: 100px 90px 100px 10px;

	-webkit-transition: transform 200ms linear;
	-webkit-transition:-webkit-transform 200ms linear;
	transition:-webkit-transform 200ms linear;
	transition:transform 200ms linear;
	transition: transform 200ms linear, -webkit-transform 200ms linear;
	-webkit-transform: translate(340px, 0);
	transform: translate(340px, 0);
	text-align: right;

	color: #0D2151;
	background-color: #1a438b;
}

.nav-active {
	-webkit-transition: transform 200ms linear;
	-webkit-transition:-webkit-transform 200ms linear;
	transition:-webkit-transform 200ms linear;
	transition:transform 200ms linear;
	transition: transform 200ms linear, -webkit-transform 200ms linear;
	-webkit-transform: translate(0, 0);
	transform: translate(0, 0);
}

.nav a {
	color: #ccc;
}

.nav-heading {
	text-transform: uppercase;

	font-size: 18px;
	font-weight: 700;
}

.nav-heading a {
	color: #ffffff;
}

.nav ul {
	margin: 0 0 16px;
	padding: 0;

	list-style: none;
}


/* search */
.search {
	display: block;

	padding-bottom: 25px;
}

.search-input {
	padding-bottom: 5px;

	color: white;
	border: 0;
	border-bottom: 1px solid #ffffff;
	background-color: transparent;
}

.search-input:focus {
	border: 0;
	border-bottom: 1px solid #ffffff;
	outline: 0;
}

.search-submit {
	color: white;
	border: 0;
	background-color: transparent;
}


/* pill */
.pill {
  padding: 5px 10px;

  vertical-align: text-bottom;
  text-transform: capitalize;

  color: #ffffff;
  border-radius: 21px;
  background-color: #1a438b;

  font-size: 11px;
  line-height: 1;
}


/* overlays */
.navOverlay,
.videoOverlay {
	position: fixed;
	z-index: 8;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;

	display: none;

	background-color: rgba(0, 0, 0, 0.6);
}

.videoOverlay {
	z-index: 12;

	background-color: rgba(0, 0, 0, 0.9);
}

.overlay-active {
	display: block;
}


/* hero */
.hero {
	position: relative;

	overflow: hidden;

	width: 100vw;
	height: 628px;

	background-color: transparent;
}

@media (min-width: 1400px) {
	.hero {
		height: 748px;
	}
}

.hero_color {
	height: 288px;

	background-color: #133267;
	background-image: url('img/map-blue.jpg');
	background-position: center center;
	background-size: cover;
}

.hero-hd {
	position: absolute;
	top: 50%;
	left: 50%;

	width: 266px;
	height: 266px;
	padding: 80px 30px;

	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
	letter-spacing: 2px;
	text-transform: uppercase;

	color: #ffffff;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.7);

	font-size: 25px;
	line-height: 36px;
}

.hero-hd_pad {
	padding: 120px 30px;
}

.hero-title {
	padding-top: 140px;

	text-align: center;
	letter-spacing: 2px;
	text-transform: uppercase;

	color: #ffffff;

	font-size: 25px;
	line-height: 36px;
}

.hero:before, .hero:after {
  position: absolute;
  bottom: -1px;

  width: 50%;
  padding-bottom:3%;

  content:'';

  background-color: #ffffff;

  -webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.hero:before {
  right: 50%;

  -webkit-transform: skewX(55deg);
  transform: skewX(55deg);
  -webkit-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
}

.hero:after {
  left: 50%;

  -webkit-transform: skewX(-55deg);
  transform: skewX(-55deg);
  -webkit-transform-origin: 0 100%;
  transform-origin: 0 100%;
}


/* section */
.section {
	padding: 50px 0;

	background-color: #ffffff;
}

.section_pad {
	padding: 75px 0;
}

.section_gray {
	background-color: #f1f0f0;
}

.grid_2up > * + * {
	margin: 25px 0 0 0;
}

.grid_img img {
	width: 100%;
}

.grid-sidebar {
	display: none;

	padding-top: 50px;
	padding-bottom: 50px;
}

.grid-main {
	padding-top: 50px;
	padding-bottom: 50px;
}

/* grid */
@media (min-width: 800px) {
	.grid { overflow: hidden; }

	.grid > * {
		float: left;

		box-sizing: border-box;
	}

	.grid > * + * {
		margin: 0 0 0 8%;
	}

	.grid_2up > * {
		width: 46%;
	}

	.grid-main {
		width: 66%;
	}

	.grid-sidebar {
		display: block;

		width: 26%;
	}
}

.sidebar-widgets > * {
	display: block;

	margin-bottom: 50px;
}

.sidebar-widgets ul {
  padding: 15px;

  list-style-type: none;

	background: #ececed;
}

.sidebar-widgets a {
  display: block;

	margin-bottom: 5px;
}

.sidebar-widgets .current-menu-item a {
	font-weight: 700;
}

.ctct-custom-form {
	min-width: 100% !important;
}


/* single */
.featured-image > img,
.contact-map {
	display: block;

	box-sizing: border-box;
	width: 100%;
	padding: 6px;

	background-color: #edecec;
}

.contact-map {
	margin-bottom: 15px;
}

.grid-main img {
	padding: 6px;

	background-color: #edecec;
}

.date {
	display: block;

	padding-bottom: 10px;

	text-align: right;
	text-transform: uppercase;

	font-weight: 700;
}


/* category */
.category-image {
	width: 100%;
	margin-bottom: 15px;
}

@media (min-width: 800px) {
	.category-image {
		float: left;

		width: 120px;
		margin-right: 15px;
	}
}

.category-date {
	font-size: 13px;
	font-style: italic;
}

.view-article {
	display: inline-block;
}


/* directory */
.directory {
	display: block;
	overflow: hidden;

	margin-bottom: 25px;
	padding-bottom: 25px;

	border-bottom: 1px solid #ececed;
}

.directory-title {
	margin-bottom: 5px;

	font-size: 19px;
}

.directory-bd {
	overflow: hidden;
}

.directory p {
	margin-top: 0;
	padding-top: 0;
}

.directory-content {
	padding: 15px;

	background-color: #ececed;
}


/* map */
.map {
	position: relative;

	padding: 50px 0;
}

.map-data {
	position: absolute;
	top: 36%;
	right: 4%;

	width: 30%;

	text-align: center;

	color: white;

	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
}

@media (min-width: 500px) {
	.map-data {
		top: 42%;
	}
}

@media (min-width: 800px) {
	.map-data {
		top: 40%;

		width: 29%;
	}
}

.map-data-value {
	font-size: 16px;
	font-weight: 700;
}


/* photoNav */
.photoNav {
	overflow: hidden;
}

.photoNav > * {
	position: relative;

	display: block;

	width: 100%;
	height: 0;
	padding-bottom: 100%;

	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

@media (min-width: 600px) {
	.photoNav > * {
		float: left;

		width: 50%;
		height: 0;
		padding-bottom: 50%;
	}
}

@media (min-width: 800px) {
	.photoNav > * {
		float: left;

		width: 25%;
		height: 0;
		padding-bottom: 25%;
	}
}

.photoNav-link-hd {
	position: absolute;
	top: 50%;
	left: 50%;

	width: 180px;
	height: 180px;
	padding: 70px 0;

	-webkit-transition: all 200ms linear;
	transition: all 200ms linear;
	-webkit-transform: translate(-50%, -50%) rotate(0);
	transform: translate(-50%, -50%) rotate(0);
	text-align: center;
	letter-spacing: 2px;

	color: #ffffff;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.7);

	font-size: 25px;
	line-height: 36px;
}

.photoNav-link-hd-arrow {
	display: block;

	-webkit-transition: all 200ms linear;
	transition: all 200ms linear;

	opacity: 0;
}

.photoNav > *:hover {
	opacity: 1;
}

.photoNav > *:hover .photoNav-link-hd {
	padding: 60px 0;
}

.photoNav > *:hover .photoNav-link-hd-arrow {
	opacity: 1;
}

.photoNav-hd-arrow { display: block; }


/* video */
.video {
	position: relative;

	overflow: hidden;

	width: 100vw;
	height: 428px;

	background-color: transparent;
}

.video-hd {
	position: absolute;
	top: 50%;
	left: 50%;

	width: 266px;
	height: 266px;
	padding: 105px 30px;

	cursor: pointer;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
	letter-spacing: 2px;

	color: #ffffff;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.7);

	font-size: 25px;
	line-height: 36px;
}


/* video modal */
.videoModal {
	position: fixed;
	z-index: 13;
	top: 50%;
	right: 10%;
	bottom: auto;
	left: 10%;

	width: 80%;
	height: auto;

	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
	text-align: center;
}

.videoModal-close {
	display: inline-block;

	padding: 25px 0;

	cursor: pointer;

	color: white;
}


/* calendar */
.calendar {
	overflow: hidden;

	padding: 50px 0 0;

	list-style: none;
}

@media (min-width: 800px) {
	.calendar {
		font-size: 0;
	}

	.calendar > * {
		font-size: initial;
		display: inline-block;
		vertical-align: top;

		box-sizing: border-box;
		width: 46%;
		margin-bottom: 50px;
	}

	.calendar > *:nth-child(even) {
		margin-left: 8%;
	}
}

.calendar-event-date {
	float: left;

	width: 70px;
	height: auto;
	margin-right: 5px;
	padding: 28px 0;

	text-align: center;

	background-color: #ffffff;

	font-weight: 700;
}

.calendar-event-date > * {
	display: block;
}

.calendar-event-date-day {
	margin-bottom: 5px;

	color: #b91b20;

	font-size: 34px;
}

.calendar-event-date-month {
	text-transform: uppercase;

	font-size: 16px;
}

.calendar-event-bd {
	overflow: hidden;

	padding: 25px;

	background-color: #f1f0f0;
}

.calendar-event-bd > * { display: block; }

.calendar-event-bd-hd {
	margin-bottom: 5px;

	font-size: 18px;
	font-weight: 700;
	line-height: 24px;
}

.calendar-event-bd-loc {
	margin-bottom: 5px;

	text-transform: uppercase;

	opacity: 0.6;

	font-weight: 300;
	line-height: 20px;
}

.calendar-event-bd-bd {
	margin-bottom: 12.5px;
}


/* btn */
.btn,
.pushbutton-wide {
	display: inline-block;

	padding: 15px 25px;

	text-transform: uppercase;

	color: #ffffff;
	border: 0;
	background-color: #b91b20;

	font-size: 20px;
	font-weight: 300;
	line-height: 1;
}

.btn_small {
	padding: 15px 25px;

	font-size: 15px;
}

.btnPad {
	padding-top: 15px;
}

/* callout */
.callout {
	display: block;

	margin: 0 auto 25px;

	text-align: center;
	letter-spacing: 1px;

	font-size: 34px;
	font-weight: 300;
	line-height: 40px;
}

/* footer */
.footer {
	padding: 50px;

	text-align: center;
}

.logos {
	display: inline-block;
}

.logos > a {
	display: inline-block;

	margin: 25px 25px 50px;
}

.logos > a > img {
	width: auto;
	height: 90px;
}


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



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

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

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

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

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

}
@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
\*------------------------------------*/

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

::selection {
	color:#FFF;
	background:#04A4CC;
	text-shadow:none;
}
::-webkit-selection {
	color:#FFF;
	background:#04A4CC;
	text-shadow:none;
}
::-moz-selection {
	color:#FFF;
	background:#04A4CC;
	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-right:auto;
	margin-left:auto;
}
.wp-caption {
	max-width:96%;
	padding:5px 3px 10px;

	text-align:center;

	border:1px solid #F0F0F0;
	background:#FFF;
}
.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 {
	width:auto;
	max-width:98.5%;
	height:auto;
	margin:0;
	padding:0;

	border:0 none;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	margin:0;
	padding:0 4px 5px;

	font-size:11px;
	line-height:17px;
}
.sticky {

}
.bypostauthor {

}

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

@media print {
	* {
		color:#000 !important;
		background:transparent !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;
	}
}
