@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700,900);

/* ==========================================================================
   Base styles
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
    font-family: 'Lato', sans-serif;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

h2.home-title {
	text-align: center;
	font-size: 48px;
	font-weight: 100;
	text-transform: uppercase;
	padding: 30px 0;
	width: 95%;
	margin: 0 auto;
}

/* ==========================================================================
   Feature graphic
   ========================================================================== */
section.feature {
    height: calc(100vh - 4.75em); /* Calculate full height without #wrapper padding-top */
    width: 100%;
    text-align: center;
	position: relative;
}
section.feature video {
    position:absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
	width: auto;
    min-width: 100%;
	z-index: -100;
    background: url('../images/homepage/feature.jpg') #222 no-repeat center;
	background-size: cover;
}
section.feature h1 {
    display: block;
    margin: 0;
    padding: 20vh 0 0;
    color: #fff;
    text-transform: uppercase;
    font-weight: 200;
    font-size: 25px;
}
section.feature h2 {
    display: block;
    margin: 0;
    padding: 20px 0;
    color: #fff;
    font-size: 54px;
    font-weight: 400;
    text-transform: uppercase;
}
section.feature .search-feature {
    display: inline-block;
    padding-top: 5px;
    width: 50%;
}
section.feature .search-feature input {
	display: block;
	box-sizing: border-box;
	padding: 15px;
	border: none;
	background: rgba(255,255,255,0.8);
	color: #000;
	float: left;
    outline: none;
}
section.feature .search-feature input[type=search] {
	width: 90%;
}
section.feature .search-feature input[type=submit] {
	width: 10%;
	border-left: 1px solid #ccc;
    background: rgba(134,12,23,0.9);
    color: #fff;
    text-transform: uppercase;
}

/* ==========================================================================
   Markers
   ========================================================================== */

section.markers {
    height: auto;
    width: 100%;
    background: rgba(66,66,66,1);
    text-align: center;
    color: #fff;
}
section.markers hr {
    display: inline-block;
    width: 10%;
	vertical-align: middle;
}
section.markers h2 {
    margin: 0;
    padding: 20px 10px 0;
    display: inline-block;
    font-weight: 400;
    text-transform: uppercase;
}
section.markers .pager {
    text-align: center;
    width: 90%;
    margin: 0 auto;
    padding: 0 0 20px;
}
section.markers .pager h3 {
    list-style: none;
    display: inline-block;
    padding: 0 40px;
    margin: 0;
    text-transform: uppercase;
    font-weight: 100;
    outline: none;
	font-size: 16px;
}
section.markers .pager a {
    display: inline-block;
    padding: 15px 25px;
    color: rgba(241,242,66,1);
    text-decoration: none;
	border-radius: 5px;
}
section.markers .pager a:hover {
    background: #3c3c3c;
	border-radius: 5px;
}
section.markers .pager a.active, section.markers .pager a:active {
    background: #373737;
	box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
	outline: none;
}
section.markers .pager a img {
    height: 40px;
}
section.markers .pager a span {
    display: block;
	padding-top: 5px;
}
section.markers .slider img {
	width: 100%;
}
section.markers .bx-wrapper {
    position: relative;
}
section.markers .bx-prev, section.markers .bx-next {
    position: absolute;
    top: 50%;
    margin-top: -16px;
    outline: 0;
    width: 0;
    height: 0;
    text-indent: -9999px;
    z-index: 9999;
}
section.markers .bx-prev {
    left: 10px;
    border-top: 32px solid transparent;
    border-bottom: 32px solid transparent;
    border-right: 32px solid white;
}
section.markers .bx-next {
    right: 10px;
    border-top: 32px solid transparent;
    border-bottom: 32px solid transparent;
    border-left: 32px solid white;
}
/* ==========================================================================
   Explore
   ========================================================================== */
section.explore {
    height: auto;
    width: 100%;
    background: rgba(255,255,255,1);
    text-align: center;
	text-transform: uppercase;
	padding: 40px 0;
}
section.explore h2 {
    margin: 0;
    padding: 0 10px 40px;
    display: block;
    font-weight: 100;
}
section.explore h2 a {
	font-size: 20px;
	padding: 20px 25px;
	background-color: #a90329;
	color: #FFF;
	text-decoration: none;
	border-radius: 5px;
	display: inline-block;
}
section.explore h2 a:hover {
	background-color: #C90329;
}
section.explore h2 span {
    vertical-align: middle;
	padding: 0 20px;
	height: 100%;
	font-size: 16px;
	display: inline-block;
}
section.explore h3 {
	display: block;
	width: 95%;
	margin: 0 auto;
	padding: 20px;
	border-top: solid 1px #CCC;
	border-bottom: solid 1px #CCC;
	text-transform: uppercase;
	font-weight: 100;
	font-size: 20px;
	text-align: left;
}
section.explore ul {
	display: -webkit-flex; /* Safari */
    -webkit-flex-wrap: wrap; /* Safari 6.1+ */
    display: flex;   
    flex-wrap: wrap;
	list-style: none;
	width: 95%;
	margin: 0 auto;
	padding: 20px 20px 40px;
}
section.explore ul li {
	width: 19.2%;
	padding: 0 0.9% 0.9% 0;
	display: inline-block;
}
section.explore ul li:nth-child(5n+0) {
	padding-right: 0;
}
section.explore ul li a {
	display: block;
	position: relative;
	color: #FFF;
}
section.explore ul li a:hover {
	opacity: 0.8;
}
section.explore ul li a h4 {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 10px;
	margin: 0;
	font-weight: 100;
	text-align: left;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
	font-size: 14px;
	width: calc(100% - 20px);
}
section.explore ul li a img {
	width: 100%;
	height: auto;
}
section.explore ul.featured li {
	width: 14%;
	padding-right: 3.15%;
}
section.explore ul.featured li:last-child {
	padding-right: 0;
}
section.explore ul.featured li a h4 {
	visibility: hidden;
}
/* ==========================================================================
   Photo
   ========================================================================== */

section.popular {
    background: #f0f0f0;
    text-align: center;
    width: 100%;
    height: auto;
}
section.popular hr {
    display: inline-block;
    width: 20%;
}
section.popular h1 {
    margin: 0;
    padding: 20px 10px 0;
    color: rgba(66,66,66,1);
    display: inline-block;
    font-weight: 400;
    text-transform: uppercase;
}
section.popular .searches {
    text-align: center;
    width: 90%;
    margin: 0 auto;
    padding: 0;
}
section.popular .searches a {
    list-style: none;
    display: inline-block;
    margin: 20px;
    width: 180px;
    height: 180px;
    position: relative;
}
section.popular .searches a img {
    width: 100%;
    height: 100%;
}
section.popular .searches a span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(40, 40, 40, 0.5);
    color: #fff;
}

/* ==========================================================================
   Register
   ========================================================================== */
section.register {
    background: #fff;
    color: #000;
    text-align: center;
    width: 100%;
    height: auto;
}
section.register:after {
	clear: both;
}
section.register hr {
    display: inline-block;
    width: 20%;
	vertical-align: middle;
}
section.register h2 {
    margin: 0;
    padding: 20px 10px 0;
    color: rgba(66,66,66,1);
    display: inline-block;
    font-weight: 400;
    text-transform: uppercase;
}
section.register h3 {
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    font-weight: 200;
    color: rgba(66,66,66,1);
}
section.register h3.features {
    text-align: left;
}
section.register .half {
    width: 45%;
    min-width: 350px;
    display: inline-block;
    vertical-align: top;
    margin: 20px 0;
	padding: 2em 2%;
}
section.register .half article {
	float: right;
}
section.register .half:last-child article {
	float: left;
}
section.register .signup {
    padding: 15px 0;
}
section.register .form {
	display: inline-block;
}
section.register .signup input {
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 330px;
    padding: 15px;
}
section.register input:not([type=submit]):not([type=file]) {
    border: none;
    background: rgba(245,245,245,1);
    color: #000;
    margin-bottom: 10px;
}
section.register ul {
    text-align: left;
    font-size: 18px;
	list-style: inherit;
	padding-left: 35px;
	max-width: 350px;
	list-style-image: url(../images/homepage/bullet_check.jpg);
}
section.register ul li {
    padding: 15px 0;
}
section.register ul li h4 {
    font-size: 16px;
	font-weight: 100;
	display: inline;
	vertical-align: text-top;
}
section.register form + h3 {
	padding: 20px 0;
}

section.register input[type=submit] {
	color: #fff;
	background-color: #a90329;
	text-transform: uppercase;
	width: 100%;
}
section.register input[type=submit]:hover {
	background-color: #C90329;
}

/* ==========================================================================
   Footer
   ========================================================================== */
section.sponsors {
    text-align: center;
    background: #f0f0f0;
}
section.sponsors hr {
    display: inline-block;
    width: 20%;
}
section.sponsors h1 {
    margin: 0;
    padding: 20px 10px 0;
    color: rgba(66,66,66,1);
    display: inline-block;
    font-weight: 400;
    text-transform: uppercase;
}
section.sponsors h2 {
	text-transform: uppercase;
	font-weight: 300;
    max-width: 100%;
	font-size: 1.5em;
}
section.sponsors ul {
    margin: 0;
    padding: 0;
}
section.sponsors .half {
    min-width: 350px;
    display: inline-block;
    vertical-align: top;
	padding: 2em;
}
section.sponsors .full {
    width: 90%;
    margin: 0 auto;
	padding: 0 0 2em 0;
}
section.sponsors ul h1 {
	display: block;
	padding: 20px 0;
}
section.sponsors ul li {
    list-style: none;
    display: inline-block;
    vertical-align: top;
    margin: 5px;
    background: #fcfcfc;
    -webkit-box-shadow: 3px 3px 10px 0px rgba(66,66,66,0.1);
	-moz-box-shadow: 3px 3px 10px 0px rgba(66,66,66,0.1);
	box-shadow: 3px 3px 10px 0px rgba(66,66,66,0.1);
}
section.sponsors li.title {
    width: auto;
	float: none;
}
section.sponsors li.prime {
	float: none;
	width: auto;
}
section.sponsors ul li img {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: #333;
    color: #fff;
}
footer .center {
    text-align: center;
}
footer .column {
    width: 200px;
    height: 100%;
    float: left;
    border-right: 1px solid #ccc;
    padding: 0 20px;
    margin: 10px 0;
}
footer .right {
    float: right;
    padding: 0 20px;
    margin: 10px 0;
}
footer ul {
    margin: 0;
    padding: 0;
}
footer ul li {
    list-style: none;
}
footer ul li a {
    color: #fff;
    text-decoration: none;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}


/* ==========================================================================
   Media Queries for Responsive Design.
   ========================================================================== */

@media only screen and (max-width: 920px) {
    /* Style adjustments for viewports that meet the condition */
    header .search {
    	display: none;
    }

    header nav li a {
    	padding: 20px 10px;
    }

    section.feature .search-feature {
    	width: 80%;
    }
    section.feature .search-feature input[type=search] {
		width: 80%;
	}
	section.feature .search-feature input[type=submit] {
		width: 20%;
		border-left: 1px solid #ccc;
	}

    section.markers hr, section.popular hr {
        display: none;
    }
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .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; /* h5bp.com/t */
    }

    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;
    }
}
