
/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #333;
	color: #ccc;
    text-shadow: none;
}

::selection {
    background: #333;
	color: #ccc;
    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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

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

   
   
/* include font */
@font-face {
  font-family: 'Haboro Serif';
  src: url('../font/321FA5_5_0.eot');
  src: url('../font/321FA5_5_0.woff2') format('woff2'),
       url('../font/321FA5_5_0.woff') format('woff'),
       url('../font/321FA5_5_0.ttf') format('truetype'),
       url('../font/321FA5_5_0.eot?#iefix') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
}  
@font-face {
  font-family: 'Haboro Serif Italic';
  src: url('../font/321FA5_4_0.eot');
  src: url('../font/321FA5_4_0.woff2') format('woff2'),
       url('../font/321FA5_4_0.woff') format('woff'),
       url('../font/321FA5_4_0.ttf') format('truetype'),
       url('../font/321FA5_4_0.eot?#iefix') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
}  


  
/* set all to border box */
* 							{ -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }
*:before, *:after			{ -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }  



/* helper for js */
#header, #main, #footer		{ visibility:hidden; }



/* basic */
HTML, BODY			{ margin:0; padding:0; height:100%; min-height:100%; width:100%; background:#000; }
BODY				{ position:relative; font-size:100%; line-height:1.5em; font-family:'Haboro Serif', Georgia, Times, Times New Roman, serif; overflow-x:hidden; overflow-y:scroll; }
BODY				{ text-rendering:optimizeLegibility; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }

A					{ color:#f6a000; text-decoration:none; }
A:hover				{ color:#fff; text-decoration:none; }
A:focus				{ outline:none; color:#fff; text-decoration:none; }

SMALL				{ font-size:0.75em; line-height:2em; vertical-align:middle; }
BIG					{ font-size:1.5em; line-height:1em; vertical-align:middle; }
EM					{ font-style:italic; }
STRONG				{ font-weight:bold; }
P					{ margin:0 0 1.5em 0; }
P:last-child		{ margin:0 0 0 0; }
UL					{ margin:0 0 1.5em 0; padding:0; }
UL:last-child		{ margin:0 0 0 0; }
LI					{ margin:0; padding:0; }
TABLE				{ width:100%; margin:0 0 1.5em 0; table-layout:fixed; }
TABLE:last-child	{ margin:0 0 0 0; }
IMG					{ max-width:100%; height:auto; display:block; }
ADDRESS			{ font-style:normal; }
CITE					{ font-size:1.5em; line-height:1em; font-style:normal; font-family:'Haboro Serif Italic', Georgia, Times, Times New Roman, serif; }
BLOCKQUOTE			{ margin:0; padding:0; }
TEXTAREA, INPUT, BUTTON	{ outline:none; }
H1,H2,H3,H4,H5,H6	{ margin:0; padding:0; font-weight:normal; }
HR					{ max-width:92%; margin:0 auto; }

.cleaner			{ content:""; display:block; height:0; clear:both; visibility:hidden; }
.center				{ text-align:center; }
.left				{ text-align:left; }
.right				{ text-align:right; }



/* main-layout */
#bg							{ position:fixed; top:0; left:-33.3333%; width:0; max-width:none; height:0; }
#header						{ z-index:1; clear:both; position:relative; width:100%; margin:0 auto; padding:0; }
#main						{ z-index:0; clear:both; position:relative; width:100%; margin:0 auto; padding:0; }
.section					{ z-index:0; clear:both; position:relative; width:100%; margin:0 auto; padding:0; }
#footer						{ z-index:0; clear:both; position:relative; width:100%; margin:0 auto; padding:0; }



/* header */
#header							{ position:fixed; top:0; left:0; }
#header .bg-header				{ z-index:-1; position:absolute; top:0; left:0; width:100%; height:100%; background:#000; }
#header #nav-pri					{ width:84%; margin:0 auto; padding:0; }
#header #nav-pri LI				{ float:left; position:relative; height:100%; padding:0; display:inline; list-style:none; vertical-align:middle; }
#header #nav-pri LI.txt			{ width:31.3333%; margin:4.5em 2% 1.5em 2%; }
#header #nav-pri LI.img			{ width:25.3334%; margin:1.5em 2%; }
#header #nav-pri LI.img.alone		{ margin:1.5em 37.3333%; display:block; }
#header #nav-pri LI.txt A			{ width:100%; height:100%; margin:0; padding:0.25em 0.5em; font-size:1.5em; line-height:1em; color:#fff; text-transform:uppercase; letter-spacing:0.125em; text-align:center; display:block; border-bottom:1px #fff solid; }
#header #nav-pri LI.txt A:hover	{ color:#f6a000; border-bottom:1px #fff solid; }
#header #nav-pri LI.txt A.active	{ border-bottom:1px #f6a000 solid; }
#header #nav-pri LI.txt A IMG		{ display:inline; margin:-0.25em 0.5em 0 0; }
#header #nav-pri LI.img A			{ }
#header #nav-pri LI.img A H1		{ font-size:1em; line-height:1.5em; color:#fff; }
#header #nav-pri LI.img A H1 IMG	{ width:auto; height:auto; margin:0 auto; }



/* footer */
#footer							{ position:fixed; bottom:0; right:0; width:12.5%; height:100%; height:100vh; background:url('../img/bg-flame.png') no-repeat bottom right; background-size:100% auto; }
#footer #nav-sec					{ position:absolute; bottom:3em; right:1.5em; text-align:right; margin:0; list-style:none; }
#footer #nav-sec LI				{ padding:0.25em 0.5em; font-size:0.75em; line-height:1.5em; color:#fff; }
#footer #nav-sec LI:nth-child(2)	{ margin:0 0 0.5em 0; }



/* main */
#main							{ position:absolute; top:66.6667%; left:0; overflow:hidden; }

#main .ctn-slider				{ position:relative; left:-100%; width:300%; height:0; margin:0; overflow:hidden; }

#main .sct-slide					{ float:left; width:25.3333%; margin:0 4%; }
#main .sct-secondary				{ width:66.6667%; margin:0 auto; }

#main .ctn-txt					{ margin:0 0 3em 0; padding:0; }
#main .sct-home .ctn-txt			{ width:66.6667%; margin:0 auto 3em auto; }

#main .ctn-txt H2				{ font-size:3em; line-height:1em; color:#f6a000; margin:0 0 0.5em 0; padding:0 0 0.25em 0; border-bottom:1px #fff solid; }
#main .ctn-txt H3				{ font-size:2em; line-height:1em; color:#fff; margin:1.5em 0 0.75em 0; }
#main .ctn-txt H4				{ font-size:2em; line-height:1em; color:#fff; margin:0 0 0.75em 0; }
#main .ctn-txt P + H4				{ margin:1.5em 0 0.75em 0; }
#main .ctn-txt > P				{ font-size:1.25em; line-height:1.2em; color:#fff; margin:0 0 1.2em 0; }
#main .ctn-txt > IMG				{ width:100%; margin:0 auto 1.5em auto; }	
#main .ctn-txt EM				{ font-style:normal; color:#f6a000; }

#main .ctn-txt UL.third						{ margin:0 0 3em 0; list-style:none; }
#main .ctn-txt UL.third > LI					{ float:left; width:31.3333%; background:rgba(0,0,0,0.75); display:inline; }
#main .ctn-txt UL.third > LI:nth-child(1)		{ margin:0em 1% 0 1%; }
#main .ctn-txt UL.third > LI:nth-child(2)		{ margin:3em 1% 0 1%; }
#main .ctn-txt UL.third > LI:nth-child(3)		{ margin:6em 1% 0 1%; }
#main .ctn-txt UL.third H3					{ margin:0 0 0 0; padding:0.5em; color:#fff; background:rgba(81,61,56,0.75); }
#main .ctn-txt UL.third H3 IMG 				{ float:left; height:1.25em; margin:-0.125em 0 0 0; display:inline; }
#main .ctn-txt UL.third H3 SPAN 				{ font-weight:bold; color:#f6a000; }

#main .ctn-txt UL.third LI > P						{ float:left; width:50%; margin:0; padding:0.5em; font-size:1.25em; line-height:1.2em; color:#fff; }
#main .ctn-txt UL.third LI > UL					{ float:left; width:50%; margin:1.5em 0; padding:0.5em; font-size:1.25em; line-height:1.2em; color:#fff; list-style:none; }
#main .ctn-txt UL.third LI > UL LI					{ margin:0 0 0.5em 0; }
#main .ctn-txt UL.third LI > UL LI:nth-child(3)		{ margin:0 0 1.5em 0; }
#main .ctn-txt UL.third LI > UL LI:nth-child(4)		{ font-size:3em; line-height:1em; text-align:center; margin:0 0 0.1667em 0; }
#main .ctn-txt UL.third LI > UL LI:nth-child(5)		{ font-size:0.8em; text-align:center; margin:0; }
#main .ctn-txt UL.third LI > IMG					{ float:left; width:50%; max-width:50%; margin:0 auto 0 auto; display:block; }

#main .ctn-txt #address							{ margin:0 0 1.5em 0; padding:1em 1em; background:rgba(81,61,56,0.75); text-align:center; list-style:none; }
#main .ctn-txt #address LI						{ font-size:2em; line-height:1.25em; color:#fff; margin:0; padding:0; }
#main .ctn-txt #address LI:nth-child(1)			{ margin:0 0 0.5em 0; }
#main .ctn-txt #address LI SPAN					{ color:#9f3a22; }
.secondary #main .ctn-txt #address				{ text-align:left; margin:0; padding:0; background:none; }
.secondary #main .ctn-txt #address LI				{ font-size:1.25em; line-height:1.2em; }
.secondary #main .ctn-txt #address LI:nth-child(2)	{ margin:0 0 0.5em 0; }



/* video window */
.ctn-video						{ position:relative; width:100%; height:380px; margin:4.5em 0 1.5em 0; }
.ctn-video .ctn-h3				{ z-index:1; position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(81,61,56,0.75); }
.ctn-video .ctn-h3 H3			{ position:relative; top:50%; left:50%; -ms-transform:translate(-50%,-50%); -webkit-transform:translate(-50%,-50%); -moz-transform:translate(-50%,-50%); -o-transform:translate(-50%,-50%); transform:translate(-50%,-50%); text-align:center; padding:1.5em; }
.ctn-video .ctn-object			{ position:absolute; top:0; left:0; width:100%; height:100%; }
.ctn-video .ctn-object OBJECT	{ font-size:1em; line-height:1.5em; color:#fff; width:100%; max-width:100%; margin:0; }



/* fieldset and messages */
.ctn-form-step1				{ width:100%; margin:0; padding:1.5em; background:rgba(81,61,56,0.75); }
.ctn-form-step2				{ width:84%; margin:1.5em auto; padding:1.5em; background:rgba(81,61,56,0.75); -khtml-border-radius:3em; -moz-border-radius:3em; -webkit-border-radius:3em; border-radius:3em; display:none; }
.ctn-form-step1 P			{ font-size:1em; line-height:1.5em; color:#fff; margin:0 0 0.5em 0; }
.ctn-form-step2 P			{ font-size:1em; line-height:1.5em; color:#fff; margin:0 0 0.5em 0; }
.ctn-form-step1 P.separated	{ margin:1.5em 0 0.5em 0; }
.ctn-form-step2 P.separated	{ margin:1.5em 0 0.5em 0; }
.ctn-form-step1 P:last-child	{ margin:0 0 0 0; }
.ctn-form-step1 P.button		{ margin:1.5em 0 0 0; }
.ctn-form-step2 P:last-child	{ margin:0 0 0 0; }

.ctn-form-step2 .fi-asterisk	{ color:#9f3a22; }
LABEL						{ float:left; margin:0 1%; padding:0.25em 0.5em; font-size:1.5em; line-height:2em; color:#fff; text-align:right; display:block; }
.ctn-form-step2 LABEL		{ font-size:1em; line-height:1.5em; }
P.price LABEL				{ line-height:1em; }
P.price LABEL SMALL			{ font-size:0.5em; line-height:1em; }

INPUT						{ float:left; margin:0 1%; padding:0.25em 0.5em; font-size:1.5em; line-height:2em; color:#000; text-align:center; border:none; -khtml-border-radius:3em; -moz-border-radius:3em; -webkit-border-radius:3em; border-radius:3em; display:block; }
.ctn-form-step2 INPUT		{ font-size:1em; line-height:1.5em; text-align:left; }
INPUT[READONLY="readonly"]	{ background:#ccc; }
.ctn-form-step2 INPUT[READONLY="readonly"]	{ text-align:center; }

BUTTON						{ float:right; margin:0 1%; padding:0.25em 0.5em; font-size:1.5em; line-height:1.5em; color:#fff; text-align:center; text-transform:uppercase; letter-spacing:0.125em; border:1px transparent solid; -khtml-border-radius:3em; -moz-border-radius:3em; -webkit-border-radius:3em; border-radius:3em; background:#9f3a22; display:block; }
BUTTON#submit				{ margin:1.5em auto; }
BUTTON:hover				{ color:#9f3a22; border:1px #9f3a22 solid; background:#fff; }
BUTTON:focus				{ color:#9f3a22; border:1px #9f3a22 solid; background:#fff; }
BUTTON.reset				{ font-size:1em; line-height:1.5em; color:#9f3a22; background:#fff; }
BUTTON.reset:hover			{ color:#fff; border:1px #fff solid; background:#9f3a22; }
BUTTON.reset:focus			{ color:#fff; border:1px #fff solid; background:#9f3a22; }

LABEL.xsmall, INPUT.xsmall, BUTTON.xsmall	{ width:14.6667%; }
LABEL.small, INPUT.small, BUTTON.small		{ width:31.3333%; }
LABEL.medium, INPUT.medium, BUTTON.medium	{ width:48%; }
LABEL.large, INPUT.large, BUTTON.large		{ width:64.6667%; }
LABEL.xlarge, INPUT.xlarge, BUTTON.xlarge	{ width:98%; }

.ctn-msg						{ width:84%; margin:0 auto 1.5em auto; padding:1.5em; -khtml-border-radius:3em; -moz-border-radius:3em; -webkit-border-radius:3em; border-radius:3em; }
.ctn-msg.ctn-error				{ background:rgba(255,0,0,0.25); }
.ctn-msg.ctn-sent				{ background:rgba(0,128,0,0.25); }
.ctn-msg.ctn-error H4			{ color:#f00; }
.ctn-msg.ctn-sent H4				{ color:#008000; }
.ctn-msg P						{ font-size:1.25em; line-height:1.2em; color:#fff; margin:0 0 1.2em 0; }
.ctn-msg UL						{ font-size:1.25em; line-height:1.2em; color:#fff; margin:0 0 1.2em 0; padding:0 0 0 1.5em; list-style:disc; }
.ctn-msg P:last-child			{ margin:0 0 0 0; }
.ctn-msg UL:last-child			{ margin:0 0 0 0; }

.error							{ background:rgba(255,0,0,0.25); color:#fff; }
INPUT#form-dummy					{ display:none; }



/* media queries */
@media only screen and (min-width:0px) and (max-width:1199px)
{
	CITE								{ font-size:1.25em; }
	#header #nav-pri					{ width:96%; }
	#footer #nav-sec					{ right:0.75em; }
}

@media only screen and (min-width:0px) and (max-width:1023px)
{
	#header							{ position:relative; top:auto; left:auto; margin:0 auto 6em auto; }
	#main							{ position:relative; top:auto; left:auto; margin:0 auto 3em auto; }
	#main .sct-slide					{ width:29.3333%; margin:0 2%; }
	#main .sct-home .ctn-txt			{ width:92%; }
	#main .sct-secondary				{ width:92%; }
	#main .ctn-txt UL.third > LI		{ float:none; width:100%; background:rgba(0,0,0,0.75); display:block; }
	.ctn-form-step2					{ width:100%; }
	.ctn-msg						{ width:100%; }
	#footer							{ position:relative; bottom:auto; right:auto; width:92%; height:auto; margin:0 auto; padding:3em 0; background:none; border-top:1px #f6a000 solid; }	
	#footer #nav-sec					{ position:relative; bottom:auto; right:auto; text-align:center; }
}

@media only screen and (min-width:0px) and (max-width:767px)
{
	CITE								{ font-size:1em; }
	#header #nav-pri LI				{ float:none; display:block; }
	#header #nav-pri LI.txt			{ width:96%; margin:1.5em 2%; }
	#header #nav-pri LI.img			{ width:96%; margin:1.5em 2%; }
	#header #nav-pri LI.img.alone		{ margin:1.5em 2%; }
	#header #nav-pri LI.img A H1 IMG	{ max-width:50%; }
	#main .ctn-txt H2				{ font-size:2em; }
	#main .ctn-txt H3				{ font-size:1.5em; }
	#main .ctn-txt H4				{ font-size:1.5em; }
	#main .ctn-txt #address LI		{ font-size:1.5em; }
}

.show-if-g479						{ display:none; }
.show-if-g479 BUTTON				{ margin:0 1% 0.5em 1%; }
@media only screen and (min-width:0px) and (max-width:479px)
{
	.hide-if-g479					{ display:none; }
	.show-if-g479					{ display:block; }
	BODY							{ word-wrap:break-word; }
	* 								{ -ms-hyphens:auto; -moz-hyphens:auto; -webkit-hyphens:auto; hyphens:auto; }
	#main .ctn-txt UL.third LI > P		{ float:none; width:100%; }
	#main .ctn-txt UL.third LI > UL	{ float:none; width:100%; }
	#main .ctn-txt UL.third LI > IMG	{ display:none; }
	LABEL							{ float:none; text-align:center; }
	.ctn-form-step2 LABEL			{ text-align:left; }
	INPUT							{ float:none; }
	INPUT+ INPUT						{ margin:0.5em 1% 0 1%; }
	LABEL.xsmall, INPUT.xsmall, BUTTON.xsmall	{ width:98%; }
	LABEL.small, INPUT.small, BUTTON.small		{ width:98%; }
	LABEL.medium, INPUT.medium, BUTTON.medium	{ width:98%; }
	LABEL.large, INPUT.large, BUTTON.large		{ width:98%; }
	LABEL.xlarge, INPUT.xlarge, BUTTON.xlarge	{ width:98%; }
}



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

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