@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300,300i,400,400i,700,700i');

html {
    color: #000;
	font-family: 'Roboto Condensed', sans-serif;
    font-size: 1em;
    line-height: 1.4;
}
body {

}

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

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


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


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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}
h1, .h1 {
    margin: .25em 0;
    font-size: 1.75em;
}
a {
    color: #000;
    text-decoration: none;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}
a:hover, a:focus {
    color: #000;
}
a:hover, a:active {
    outline: 0;
}
/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
#header {
	position: relative;
    z-index: 1000;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100px;
    background-color: none;
}
#nav-deco {
    position: relative;
    z-index: 1000;
    height: 4px;
    background: #e20512;
}
#navigation {
    position: fixed;
    display: table;
    z-index: 1000;
    opacity: 1;
    overflow: hidden;
    margin: 0 auto -90px;
    padding: 90px 0 0 0;
    width: 100%;
    height: 0;
    transform: translateY(-400px);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
    -ms-transition: all .5s linear;
    -o-transition: all .5s linear;
    transition: all .5s linear;
}
#navigation.show {
    position: fixed;
    opacity: 1;
    top: 0;
    height: 100%;
    transform: translateY(0);
    clear: both;
}
@media only screen and (min-width: 600px){
	#navigation .menu {
	}
}
#navigation .menu {
  display: table-cell;
  vertical-align: middle;
  color: #fff;
}
#navigation .menu header,
#navigation .menu section {
	text-align: center;
	list-style-type: none;
}
#navigation .menu a {
    font-size: 1rem;
    display: block;
	position: relative;
    padding: 0 .5em 0 0;
    color: #fff;
    text-decoration: none;
    font-weight: 300;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#navigation .menu li.active a {
	color: #000000;
}
#inner-header {
    margin: 0 auto 0;
    padding: 0;
    vertical-align: middle;
}

#logo {
    display: block;
    z-index: 1001;
    margin: 33px auto 0 auto;
    padding: 0;
    width: 278px;
    height: 182px;
    line-height: 1;
}
#logo a {
    background: url("../../views/img/logo.png") no-repeat top left;
	background-size: cover;
	display: block;
    width: 278px;
    height: 182px;
	text-indent: -9999px;
	transition: background 0.5s linear;
}

#logo.active a {
    background: url("../../views/img/logo.png") no-repeat top left;
	background-size: cover;
}
@media only screen and (min-width: 639px){
	#logo {
		top: 56px;
		width: 278px;
		height: 182px;
	}
	#logo a {	
		width: 278px;
		height: 182px;
	}
}

#link-to-navigation {
    position: absolute;
    display: block;
    opacity: 1;
    z-index: 1001;
    float: right;
    top: 38px;
    right: 5%;
    margin: 0;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
#link-to-navigation span:nth-child(1) {
    top: 4px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}
#link-to-navigation span:nth-child(2) {
    top: 14px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}
#link-to-navigation span:nth-child(3) {
    top: 24px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}
#link-to-navigation span {
    position: absolute;
    display: block;
    height: 2px;
    width: 100%;
    background: #000;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg),scale(1);
    -moz-transform: rotate(0deg),scale(1);
    -o-transform: rotate(0deg),scale(1);
    transform: rotate(0deg),scale(1);
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
#link-to-navigation:hover {
    color: #404040;
}

#link-to-navigation.active {
    position: fixed;
}
#link-to-navigation.active span:nth-child(1) {
    -webkit-transform: rotate(45deg) scaleX(1.4);
    -moz-transform: rotate(45deg) scaleX(1.4);
    -o-transform: rotate(45deg) scaleX(1.4);
    transform: rotate(45deg) scaleX(1.4);
    top: -1px;
    left: 3px;
}
#link-to-navigation.active span:nth-child(2) {
    width: 0;
    opacity: 0;
}
#link-to-navigation.active span:nth-child(3) {
    -webkit-transform: rotate(-45deg) scaleX(1.4);
    -moz-transform: rotate(-45deg) scaleX(1.4);
    -o-transform: rotate(-45deg) scaleX(1.4);
    transform: rotate(-45deg) scaleX(1.4);
    top: 29px;
    left: 3px;
}

#link-to-navigation.active span {
    background: #fff;
}
@media only screen and (min-width: 639px){
	#link-to-navigation {
		top: 60px;
	}
}

/* HOME PAGE */
#featured {
	background: rgba(255,153,0,1);
	background: -moz-linear-gradient(-45deg, rgba(255,153,0,1) 0%, rgba(255,0,102,1) 100%);
	background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(255,153,0,1)), color-stop(100%, rgba(255,0,102,1)));
	background: -webkit-linear-gradient(-45deg, rgba(255,153,0,1) 0%, rgba(255,0,102,1) 100%);
	background: -o-linear-gradient(-45deg, rgba(255,153,0,1) 0%, rgba(255,0,102,1) 100%);
	background: -ms-linear-gradient(-45deg, rgba(255,153,0,1) 0%, rgba(255,0,102,1) 100%);
	background: linear-gradient(135deg, rgba(255,153,0,1) 0%, rgba(255,0,102,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff9900', endColorstr='#ff0066', GradientType=1 );
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#main-featured {
    position: relative;
    height: 100%;
}
#main-featured article {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
#main-featured article.grow .bg {
    transform: scale(1.1);
}
#main-featured article .bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transform: scale(1);
    -webkit-transition: all 6.5s ease-out;
    -moz-transition: all 6.5s ease-out;
    -ms-transition: all 6.5s ease-out;
    -o-transition: all 6.5s ease-out;
    transition: all 6.5s ease-out;
}

#main-featured article .page_content {
 //   position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    padding: 0;
    border-top: solid 1px #dbdbdb;
    background-color: rgba(255,255,255,0.9);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
@media only screen and (min-width: 992px) {
	#main-featured article .page_content {
		height: 200px;
	}
}
@media only screen and (min-width: 600px) {
	#main-featured article .page_content {
		height: 150px;
	}
}

#main-featured article .page_content header {
    float: left;
    display: block;
    padding-left: 5%;
    width: 66.6666666666667%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
@media only screen and (min-width: 992px) {
	#main-featured article .page_content header {
		width: 33.33333333333333%;
	}
}
@media only screen and (min-width: 992px) {
	#main-featured article .page_content header, #main-featured article .page_content section {
		padding-top: 1.5em;
	}
}
#main-featured article .page_content header h1 {
    margin-top: .625em;
}

#main-featured article .page_content section {
    float: left;
    display: none;
    width: 33.33333333333333%;
}
@media only screen and (min-width: 992px){
	#main-featured article .page_content section {
		display: block;
	}
}
@media only screen and (min-width: 992px) {
	#main-featured article .page_content header, #main-featured article .page_content section {
		padding-top: 1.5em;
	}
}

#main-featured article .page_content footer {
    background-color: #8b8b8b;
    display: block;
    position: relative;
    width: 33.33333333333333%;
    max-width: 100px;
    height: 100px;
    float: right;
}
@media only screen and (min-width: 992px) {
	#main-featured article .page_content footer {
		max-width: 200px;
		height: 200px;
	}
}
@media only screen and (min-width: 600px) {
	#main-featured article .page_content footer {
		max-width: 150px;
		height: 150px;
	}
}

#main-featured article .page_content footer a {
    display: block;
    position: relative;
    width: 100%;
    height: 100px;
	font-size: 10rem;
    color: #fff;
}
@media only screen and (min-width: 992px) {
	#main-featured article .page_content footer a {
		height: 200px;
	}
}
@media only screen and (min-width: 600px) {
	#main-featured article .page_content footer a {
		height: 150px;
	}
}
#main-featured article .page_content footer img {
    position: absolute;
    display: block;
    top: 50%;
    bottom: 50%;
    left: 50%;
    margin: -20px 0 0 -20px;
    padding: 0;
    width: 40px;
    height: 40px;
    color: #fff;
}
nav ul, nav ol {
    list-style: none;
    list-style-image: none;
}
.clearfix, .nav .menu ul {
    zoom: 1;
}
.clearfix:after, .nav .menu ul:after {
    clear: both;
}

.clearfix:before, .clearfix:after, .nav .menu ul:before, .nav .menu ul:after {
    content: "";
    display: table;
}
.wrap {
    width: 90%;
    max-width: 1782px;
}













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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, 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;
}
a:link {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
svg:not(:root) {
    overflow: hidden;
}

svg {
    display: inline-block;
    fill: currentColor!important;
    vertical-align: middle;
}
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

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

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
