/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.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
   ========================================================================== */
nav,header,footer,article,section{
	display:block;
	width:100%;
}
html {
    color: #222;
    font-size: 16px;
    line-height: 1.2;
    font-family: "adobe-text-pro", serif;
}
h1,
h2,
h3,
h4,
h5,
h6{
	font-weight:normal;
	color:#fff;
	font-family: "fontin_sans_rgregular", serif;
}
h1, h2, h3 {
	font-size: 20px;
}
.container{
	width:100%;
}
body{
	background:#050524;
	color:#fff;
}
a, img{
	border: 0;
	outline: 0;
	outline: none;
	border: none;
}
a,a:visited{
	color:#b0b0da;
}
a:hover{
	color:#d2d2e5;
}
.backwards {unicode-bidi:bidi-override; direction: rtl;color:#fff;}
.white {color:#fff;}
.ir{
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}
.no-overflow{
	overflow:hidden;
}
/* apply a natural box layout model to all elements, but allowing components to change */
html {
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;
}
*, *:before, *:after {
  -webkit-box-sizing: inherit; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: inherit;    /* Firefox, other Gecko */
  box-sizing: inherit;
  
}

img{
	width:100%;
	height:auto!important;
}
nav{
	display:block;
}

/*
 * 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: #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 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
   ========================================================================== */

/*
 * Structure
 */
.wrapper{
	max-width:1400px;
	padding: 0px 15px 0px 15px; /* this line is entirely new */
	margin:0 auto;
}
.container{
	margin-top:12px;
}
.row{
	margin:0 0 0 -32px; /* was -20px, then -27px */
}
.col{
	padding:0 0 0 32px; /* was 20px, then 27px */
	margin:0 auto 32px; /* was 20px, then 27px */
}
.toolbar-row .col{
	float:none;
}
.col-25-sm{
	width:25%;
	*width:24%;
	float:left;
}
figure{
	margin:0;
	position:relative;
}
p{
	color:#fff;
	margin:0 0 16px;
}
/*
 * header
 */
.main-header{
	position:relative;
	z-index:999;
	margin-bottom:20px;
}
.logo-container{
	display:block;
	float:left;
	font-size:36px;
	text-indent:-9999px;
	width:248px;
	height:74px;
	margin-bottom:6px;
	background:url('../img/samfogg-logo.png') no-repeat center left;
	background-size:66%;
}

/*
 * footer
 */
.main-footer{
	margin:40px 0;
	text-align:center;
	width:100%;
}
.main-footer address p{
	color:#b0b0da;
}
.footer-menu{
	list-style:none;
	display:inline-block;
	margin:0;
	padding:0;
}
.footer-menu li{
	float:left;
	width:100%;
}
.footer-menu li a{
	text-decoration:none;
	color:#666690;
	font-size:12px;
}
.footer-menu li a:hover{
	text-decoration:underline;
}
.link-separator{
	padding:0 12px;
	color:#666690;
}
.chroma-link{
	color:#9797ba;
}
address{
	font-style:normal;
	font-size:12px;
}

/*
 * gallery
 */
.display-selector{
	padding:20px 0 0;
}
.display-selector select{
	padding:3px;
	color:#fff;
	background:#131339;
	border:1px solid #fff;
	border-radius:6px;
}
.toolbar .active{
	color:#fff;
	text-decoration:none;
	cursor:default;
}
.arr{
	text-decoration:none;
	font-size:24px;
	line-height:1;
}
.toolbar{
	text-align:center;
}
.toolbar ul{
	list-style:none;
	padding:0;
	margin:0;
	display:inline-block;
}
.toolbar ul li{
	float:left;
}
.gmaps{
	width:100%;
	height:600px;
}
.center-text{
	text-align:center;
}
.toolbar ul li a{
	padding:6px;
	margin: 0 6px;
}
.back-btn-container a{
	display:block;
	text-align:center;
	padding:0 0 12px;
}
.no-caption .gallery-caption{
	display:none;
}
.hover-caption .gallery-caption{
	display:none;
}
.hover-caption .gallery-item:hover .gallery-caption{
	display:block;
}
.gallery-caption{
	position:absolute;
	bottom:0;
	left:0;
	width:100%;
	background:#000;
	background:rgba(0,0,0,0.6);
	color:#fff;
	padding:12px 12px 0;
	text-align:center;
}
.gallery-caption h2{
	font-size:18px;
	line-height:1.2;
	margin:0;
}
.gallery-caption p{
	font-size:14px;
	line-height:1.2;
	margin:0 0 12px;
	font-style:italic;
}
.span-style{
	font-style:normal;
	display:block;
	font-size:12px;
}
/*
 * product page
 */
.main-image{
	margin:0 0 20px;
}
.main-image.portrait-img{
	max-width:700px;
	margin:0 auto 40px;
}
.additional-images{
	margin:0 0 20px;
}



.main-nav ul, .main-nav li{
	padding:0;
	margin:0;
	list-style:none;
}
.main-nav li a{
	font-family: "fontin_sans_rgregular", serif;
}
.down-arrow{
	background:url(../img/down-arrow.png) no-repeat transparent center center;
	display:inline-block;
	float:right;
	width:24px;
	height:21px;
	padding-left:24px;
}
@media only screen and (max-width:767px){
	.main-menu{
		width:100%;
	}
	.main-nav ul a{
		text-decoration:none;
		padding:6px;
		display:block;
	}
	.main-nav ul li{
		padding:0 0 0 12px;
		background:#0A0A2F;
		border-top:1px solid #1c1c48;
	}
	.main-nav ul li:hover{
		background:#15153b;
	}
	.main-nav ul li.right-menu{
		padding-left:0;
	}
}

@media only screen and (min-width:345px){
	.logo-container{
		background:url('../img/samfogg-logo.png') no-repeat auto left;
		background-size:100%;
	}
}

@media screen and (min-width:650px){
	.toolbar ul li{
		
	}
	.toolbar ul li a{
		display:block;
		padding:8px;
		margin:0 8px;
	}
	.col{
		float:left;
	}
	.col.col-nofloat{
		float:none;
	}
	.css-cols{
		-webkit-column-count: 2; /* Chrome, Safari, Opera */
	    -moz-column-count: 2; /* Firefox */
	    column-count: 2;
	    -webkit-column-gap: 30px; /* Chrome, Safari, Opera */
	    -moz-column-gap: 30px; /* Firefox */
	    column-gap: 30px;   
	}
	.main-image{
		margin:0 0 30px;
	}
	.col-3{
		width:33.33333333333333333333%;
		*width:30%;
	}
	.col-2{
		width:50%;
		*width:47%;
	}
	.col-66{
		width:66.66666666666666666666%;
		*width:60%;
	}
	.col-4{
		width:25%;
		*width:24%;
	}
	.footer-menu li{
		float:left;
		width:auto;
	}
}
@media screen and (min-width:950px){
	.main-header{
		margin-bottom:12px;
	}
	.row{
		margin:0 0 0 -40px; /* was -30px */
	}
	.col{
		padding:0 0 0 40px; /* was 30px */
		margin:0 auto 40px; /* was 30px */
	}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden, .mobile-visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.mobile-dropdown{
	display:block;
	position:absolute;
	top:26px;
	right:20px;
}

@media only screen and (min-width:768px){
	.mobile-dropdown{
		display:none;
	}
	
	.mobile-visuallyhidden {
	    border: auto;
	    clip: auto;
	    height: auto;
	    margin: auto;
	    overflow: visible;
	    padding: 0;
	    position: static;
	    width: auto;
	}
	.main-menu{
		width:auto;
	}
	.main-menu li{
		border: auto;
	    clip: auto;
	    height: auto;
	    margin: auto;
	    overflow: visible;
	    padding: 0;
	    position: static;
	    width: auto;
		float:left;
		position:relative;
	}
	.main-menu li a{
		padding:0 24px 12px 0;
		display:inline-block;
		position:relative;
		width:auto;
		text-transform:uppercase;
		text-decoration:none;
	}
	.main-menu li a:hover{
		text-decoration:underline;
	}
	.main-nav .dropdown-menu{
		position:absolute;
		top:26px;
		left:0;
		background:#0a0a2f;
		border:1px solid #131339;
		box-shadow:0 0 5px #000;
		overflow:hidden;
		height:auto;
		display:inline-block;
		min-width:160px;
		padding:18px;
	}
	.main-nav .dropdown-menu li{
		display:inline-block;
		float:none;
		width:100%;
		
	}
	.main-nav .dropdown-menu li a{
		padding:6px;
		display:block;
		white-space:nowrap;
	}
	ul li.right-menu{
		float:right;
	}
	.main-menu li.right-menu a{
		padding-right:0px;
		padding-left:24px;
	}
}

@media only screen and (max-width:1000px) and (min-width:768px){
	ul li.right-menu{
		float:none;
		position:absolute;
		top:20px;
		right:20px;
		font-size:14px;
	}
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */
.mobile-visuallyhidden:active,
.mobile-visuallyhidden:focusable,
.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;
}

@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 the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        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;
    }
}

/* 
 * 	Core Owl Carousel CSS File
 *	v1.3.3
 */

/* clearfix */
.owl-carousel .owl-wrapper:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
.max-w-500{
	max-width:500px;
	display:inline-block;
}
.inline-center{
	text-align:center;
}
/* display none until init */
.owl-carousel{
	display: none;
	position: relative;
	width: 100%;
	-ms-touch-action: pan-y;
}
.owl-carousel .owl-wrapper{
	display: none;
	position: relative;
	-webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-wrapper-outer{
	overflow: hidden;
	position: relative;
	width: 100%;
}
.owl-carousel .owl-wrapper-outer.autoHeight{
	-webkit-transition: height 500ms ease-in-out;
	-moz-transition: height 500ms ease-in-out;
	-ms-transition: height 500ms ease-in-out;
	-o-transition: height 500ms ease-in-out;
	transition: height 500ms ease-in-out;
}
	
.owl-carousel .owl-item{
	float: left;
}
.owl-controls .owl-page,
.owl-controls .owl-buttons div{
	cursor: pointer;
}
.owl-controls {
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* mouse grab icon */
.grabbing { 
    cursor:url(grabbing.png) 8 8, move;
}

/* fix */
.owl-carousel  .owl-wrapper,
.owl-carousel  .owl-item{
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility:    hidden;
	-ms-backface-visibility:     hidden;
  -webkit-transform: translate3d(0,0,0);
  -moz-transform: translate3d(0,0,0);
  -ms-transform: translate3d(0,0,0);
}


