/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

html, body {
	overflow-x: hidden;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

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

::-moz-selection {
    background: #fe2560;
    text-shadow: none;
    color: #fff;
}

::selection {
	text-shadow: none;
	background-color: #fe2560;
	color: #fff;
}

/*
 * 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 and the bottom of their containers: h5bp.com/i/440
 */

/*img {
    vertical-align: middle;
}*/

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   SUPER MASSIVE DESIGN custom styles (www.supermassivedesign.com)
   ========================================================================== */

/* ===================
   global style
   =================== */
@import url(http://fonts.googleapis.com/css?family=Lato:300);

body {
	background-color: #202025;
	color: #aaa;
}

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

.nav, h2, h3, footer {
	font-family: 'BebasRegular';
	color: #fff;
	font-weight: 300;
	letter-spacing: 1px;
	word-spacing: 4px;
}

#container {
	display: block;
	min-height: 600px;
}

/* ===================
   header content
   =================== */

.nav {
	display: block;
	position: fixed;
	top: 0;
	width: 100%;
	height: 73px;
	margin: 0;
	z-index: 100;
	
	background-color: #202025;
/*	background-color: rgba(32, 32, 37, 0.9);*/
}

.nav-menu {
	margin: 0 auto;
	width: 960px;
}

h1 {
	display: block;
	background-image: url(../img/from-crescent-logo.png);
	background-repeat: no-repeat;
	background-position: top left;
	height: 57px;
	width: 208px;
	margin: 8px 20px 0 20px;
	float: left;
}

.nav-menu ul {
	color: #fff;
	font-size: 10px;
	text-shadow: #000 0px 1px 0px;
	margin: 0;
}

.nav-menu ul li {
	display: inline-block;
	margin: 30px 18px;
	line-height: 12px;
}

.nav-menu li a,
.nav-menu li a:hover,
.nav-menu li a:visited,
.nav-menu li a:active {
	padding: 28px 0;
	color: #fff;
	text-decoration: none;
}

.nav-menu li a:hover {
	border-bottom: 2px solid #d31b1b;
}

.nav-menu li a.active {
	border-bottom: 2px solid #d31b1b;
}

.nav-menu li ul {
	display: none;
}

li.has-2nd-level a:hover {
	border: none;
}

.nav-menu li ul a:hover {
/*	display: block;*/
	margin: 0;
	padding: 0;
	border-bottom: 2px solid #d31b1b;
}

.nav-menu li ul li {
	margin: 10px 0 0 0;
	padding-right: 20px;
	height: 30px;
}

.nav-menu li:hover ul {
	display: block;
	position: absolute;
}

/*.close-button {
	display: block;
	height: 23px;
	width: 23px;
	float: right;
	position: relative;
	top: -70px;
	font-size: 40px;
	background-image: url(../img/close-button.png);
	background-position: top left;
	background-repeat: no-repeat;
	border: none;
	cursor: pointer;
	color: #fff;
}*/


/* ===================
   main content
   =================== */

.content {
	background: #111;
	background: url('../img/bg-black.png');
	width: 720px;
	height: auto;
	min-height: 300px;
	margin: 100px auto 30px;
	padding: 30px;
	text-align: left;
	z-index: 100;
}

h3 {
	font-size: 30px;
	font-weight: 300;
	padding-bottom: 20px;	
}


p, dl, .profile-box, table {
	padding-bottom: 10px;
	color: #aaa;
	font: 12px "Helvetica Neue", "Helvetica", Arial, sans-serif;
	text-shadow: #000 0px 1px 0px;
}

table {
	width: 100%;
	margin-bottom: 40px;
	border-bottom: 1px groove #eee;
}

table tr td {
	line-height: 14px;
	vertical-align: top;
}

p a, dl a, strong {
	color: #eee;
	font-weight: bold;
	text-decoration: none;
}

p a:hover, dl a:hover, strong {
	border-bottom: 1px solid #d31b1b;
}

.date {
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	color: #fff;
	font-weight: 300;
	font-size: 10px;
	padding-right: 30px;
	float: left;
}

.news-text {
	-webkit-margin-start: 92px;
	   -moz-margin-start: 92px;
}

dl {
    line-height: 16px;
    padding-bottom: 10px;
    margin-bottom: 40px;
    border-bottom: 1px groove #eee;
}

dl dt {
	color:#fff;
    float:left; 
    font-weight: bold; 
    margin-right:10px;
    padding:5px;  
    width:100px;
	background-color: #202025;
	border-left: 4px solid #d31b1b;
}

.header-like {
	padding: 5px 10px;
	margin-bottom: 10px;
	color:#fff;
	font-weight: bold;
	background-color: #202025;
	border-left: 4px solid #d31b1b;
}

.expired dt {
	border-left: 4px solid #999;
}
 
dl dd {
    margin:0; 
    padding:5px 0;
    display: block;
    -webkit-margin-start: 124px;
}

.profile-box {
	display: block;
	float: left;
	width: 220px;
	margin-right: 15px;
	color: white;
}

.profile-box h4 {
	text-align: center;
	font-size: 14px;
	text-shadow: #000 0px 1px 0px;
}

.profile-description {
	clear: both;
	margin-top: 20px;
	padding-right: 20px;
}

.order-ticket, .contact-form, .harmonia-form {
	padding: 10px 20px;
	background-color: #626271;
}

.order-ticket p, .contact-form p, .harmonia-form p {
	color: #eee;
	margin-bottom: 0;
	padding-bottom: 0;
}

#harmoniaform label {
	width: 90px;
	vertical-align: top;
}

#harmoniaform input {
	width: 226px;
}

#harmoniaform textarea {
	width: 539px;
	margin-bottom: 15px;
}

#harmoniaform .btn, #harmoniaform p {
	margin-left: 104px;
}

#contactform label {
	width: 60px;
	vertical-align: top;
}

#contactform textarea {
	width: 550px;
	margin-bottom: 15px;
}

#contactform .btn, #contactform p {
	margin-left: 74px;
}


/* ===================
   footer content
   =================== */

footer {
	font-family: 'BebasRegular';
	font-size: 10px;
	display: block;
	position: relative;
	margin: 0 auto;
	bottom: 0;
	width: 100%;
	height: 800px;
	background-color: #202025;
	background-color: #202025\9;
	background-color: rgba(32, 32, 37, 0.9);
	overflow: hidden;
}

.copyright {
	clear: both;
	text-align: right;
	font-size: 10px;
	padding-top: 10px;
}

.foot-bar {
	border:1px #000000;
	width: 960px;
	margin: 0 auto;
}

.twitter-timeline-box {
	margin-right: 50px;
	float: left;
}

.omega {
	margin-right: 0;
	padding-right: 0;
	width: 100%;
}

/* ==========================================================================
   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: 100%;
}

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

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media print {
	
}

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
    .nav-menu li ul a:hover {
    	display: block;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
    
    .nav-menu li ul a:hover {
    	display: block;
    }
    
    .twitter-timeline-box {
/*    	margin-right: 0;*/
    }
}


/* -------------------------------------
*     media detection
* ------------------------------------- */

/* iPhone */
@media screen and (max-device-width: 480px) and ( {
	.nav {
		position: static;
	}
} 

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
	.nav {
		position: static;
	}
}


/* ==========================================================================
   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;
    }
}
