/*
 * 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,
textarea {
    color: #000;
}

body {
	color: #000;
	font-size:18px;
	font-weight:400;
    line-height: 1.4;
  font-family: 'Josefin Sans', sans-serif;
}

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

/* ==========================================================================
   Milkman's custom styles
   ========================================================================== */

#siteIntro { background-color:#000; min-height:700px; position:relative; }
#siteIntro h1 { background:url(../i/smalls-logo.png) no-repeat 0 0; display:block; height:200px; margin:-100px 0 0 -100px; position:absolute; top:50%; left:50%; width:200px; z-index:10; }
.backgroundsize #siteIntro h1 { background-image:url(../i/smalls-logo.png); background-size:contain; }
#siteIntro ul { list-style:none; height:100%; margin:0; padding:0; position:relative; width:100%; z-index:1; }
#siteIntro ul li { background-position:center center; background-size:cover; height:100%; width:100%; }

#siteIntro .nextSection { background-color:#000; border:2px solid #000; border-radius:50%; color:#fff; display:block; font-size:1.75em; height:40px; line-height:44px; margin-left:-20px; position:absolute; bottom:30px; left:50%; text-align:center; width:40px; z-index:10; }
#siteIntro .nextSection:hover { background-color:#fff; border-color:#fff; color:#000; }

#about { }
#about p:first-child { font-size:1.125em; }
.mailingList { background-color:#f5f5f5; padding:15px; margin-top:30px; }
.mailingList h3 { margin-top:0; }

.menuBtns { margin-top:1.5em; text-align:left; }
.menuBtns .btn { margin:0; }

#imageBanner { }
#imageBanner img { display:block; float:left; height:auto; width:100%; }

#contact p,
.gform_confirmation_wrapper { font-size:1.125em; }

#socialLinks { margin-top:2em; }
#socialLinks .socialLink { border-bottom:none; color:#000; display:block; height:40px; line-height:42px; margin-bottom:1em; padding-left:50px; position:relative; font-size:1.25em; }
#socialLinks .socialLink i { background-color:#000; border:2px solid #000; color:#fff; display:block; font-size:1em; height:40px; line-height:38px; position:absolute; top:0; left:0; text-align:center; width:40px;
  border-radius: 50%;
  background-clip: border-box;
  -webkit-transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out;
     -moz-transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out;
       -o-transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out;
          transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out;
}
#socialLinks .socialLink:hover i { background-color:#fff; color:#000; }

#locationMap { height:320px; }

footer { background-color:#000; color:#999; padding:40px 0; text-align:center; }
footer a { border-bottom:1px dotted #999; color:#999; }
footer a:hover { border-bottom:none; color:#fff; }

.contentArea { padding-bottom:2.5em; padding-top:2.5em; }

p:first-child { margin-top:0; }


/* ==========================================================================
   Links
   ========================================================================== */
a { border-bottom:1px dotted #000; color:#000; text-decoration:none;
  -webkit-transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out;
     -moz-transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out;
       -o-transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out;
          transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out;
}
a:hover,
a:focus { border-bottom:none; color:#000; text-decoration:none; }

.btn { border:2px solid #000; color:#000; display:inline-block; font-size:1.125em; font-weight:600; line-height:1; padding:20px 25px 17px; text-transform:uppercase; }
.btn:hover,
.btn:focus { background-color:#000; border:2px solid #000; color:#fff; }

/* ==========================================================================
   Forms
   ========================================================================== */

input, textarea, select, button.button, input.button { background-color:#fff; border:2px solid #000; color:#000; cursor:pointer; margin:0; padding:15px; outline:none; text-shadow:none; width:100%;
  -webkit-transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out;
     -moz-transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out;
       -o-transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out;
          transition: color 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out;
-webkit-appearance: none;
    border-radius: 0;
}
textarea { height:130px; }
input:focus, textarea:focus { background-color:#000; color:#fff; outline:none; }

select { padding-right:30px;
	background:#fff url(../i/select-arrow.png) no-repeat center right;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
}

input[type="checkbox"], input[type="radio"] { height:20px; margin-bottom:-4px; margin-right:5px; width:20px;
-webkit-appearance:none;
    -moz-appearance:none;
    appearance:none; }
input[type="radio"] {
 -webkit-border-radius:50%;
    -moz-border-radius:50%;
         border-radius:50%;
}
input:checked { background-color:#ed1e53; background-clip:content-box; border-color:#ed1e53; outline:none; padding:3px; }

::-webkit-input-placeholder { color: #000; }
:-moz-placeholder { color: #000; }
::-moz-placeholder { color: #000; }
:-ms-input-placeholder { color: #000; }

label { text-transform:uppercase; font-weight:700; }
.placeholder-support .gform_body label { display:none; }

.gform_footer { text-align:left; }
input.gform_button,
button.button,
input.button,
a.button { display:inline-block; font-size:1.125em; font-weight:600; line-height:1; padding:20px 25px 17px; text-transform:uppercase; width:auto; }
input.gform_button:hover,
button.button:hover,
input.button:hover,
a.button:hover { background-color:#000; color:#fff; }

.gform_wrapper ul { list-style:none; margin:0; padding:0; }
.gform_wrapper ul li { margin-bottom:10px; }
.gf_clear { clear:both; }

.input_left,
.input_right,
.name_first,
.name_last,
.input_mid { display:block; width:50%; }
.input_left,
.name_first { float:left; padding-right:5px; }
.input_right,
.name_last { float:right; padding-left:5px; }

.input_left.third,
.input_right.third,
.input_mid.third { float:left; display:block; width:33.33%; }

.gfield_html { clear:both; margin-bottom:0; }
.gfield_html h2 { font-size:1.5em !important; padding-top:30px; }
#field_2_1.gfield_html h2 { padding-top:0; }

/** Warnings **/
.validation_error { display:none; }
.validation_message { border:2px solid; display:none !important; font-weight:400; margin-top:10px; padding:15px; text-shadow:none; }
.validation_message { background-color:#FBE3E4; border-color:#FBC2C4; color:#8A1F11 !important; }
.gfield_contains_required.gfield_error input,
.gfield_contains_required.gfield_error textarea { border-color:red !important; }
.gfield_contains_required.gfield_error label { color:red !important; }

/** Warnings **/
.validation_error { }
.validation_message { border:2px solid; display:block; font-weight:400; margin-top:10px; padding:15px; text-shadow:none; }
.validation_message { background-color:#FBE3E4; border-color:#FBC2C4; color:#8A1F11 !important; }

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (min-width: 768px) {
	#siteIntro h1 { height:260px; margin:-130px 0 0 -130px; width:260px; }
	.menuBtns { margin-top:1em; }
	#imageBanner img { width:50%; }
	.contentArea { padding-bottom:4em; padding-top:4em; }
	#locationMap { height:460px; }
	.mailingList { margin-top:-30px; padding:30px; }
}
@media (min-width: 992px) {
	#siteIntro h1 { height:300px; margin:-150px 0 0 -150px; width:300px; }
	.contentArea { padding-bottom:5em; padding-top:5em; }
	#locationMap { height:600px; }
}
@media (min-width: 1200px) {
	#imageBanner img { width:33.33%; }
	.contentArea { padding-bottom:6em; padding-top:6em; }
}

/** Slider Controls **/
.flex-direction-nav { height:0; list-style:none; margin:0; padding:0; width:100%; }
.flex-direction-nav li { height:0; width:100%; }
.flex-direction-nav li a { background-color:transparent; border:1px solid #000; color:#000; display:block; height:100%; position:absolute; top:0; overflow:hidden; width:51px; text-align:center; z-index:50;
  -webkit-transition: background-color 0.25s ease-out, width 0.25s ease-out;
     -moz-transition: background-color 0.25s ease-out, width 0.25s ease-out;
       -o-transition: background-color 0.25s ease-out, width 0.25s ease-out;
          transition: background-color 0.25s ease-out, width 0.25s ease-out;
}
.flex-direction-nav li a i { margin-top:-0.5em; position:absolute; top:50%; }
.flex-direction-nav li a.flex-next { border-right:none; right:-50px; }
.flex-direction-nav li a.flex-prev { border-left:none; left:-50px; }
.flex-direction-nav li a.flex-disabled { color:#999; cursor:not-allowed; }

.flex-direction-nav li a:hover { background-color:#000; color:#fff; }
.flex-direction-nav li a.flex-disabled:hover { background-color:transparent; color:#999; }

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}

/* Clearfix for the .slides element */
.slides:after {content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}

/*!--------------------------------------------------------------------
STYLES "Outdated Browser"
Version:    1.1.0 - 2014
author:     Burocratik
website:    http://www.burocratik.com
* @preserve
-----------------------------------------------------------------------*/
#outdated{
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 170px;
    text-align: center; text-transform: uppercase; z-index:1500;
    background-color: #f25648; color: #ffffff;
}
* html #outdated{position: absolute;}
#outdated h6{font-size: 25px; line-height: 25px; margin: 30px 0 10px;}
#outdated p{font-size: 12px; line-height: 12px; margin: 0;}
#outdated #btnUpdateBrowser{
    display: block; position: relative; padding: 10px 20px; margin: 30px auto 0; width: 230px; /*need for IE*/
    color: #ffffff; text-decoration: none; border: 2px solid #ffffff; cursor: pointer;
}
#outdated #btnUpdateBrowser:hover{color: #f25648; background-color:#ffffff;}
#outdated .last{position: absolute; top: 10px; right: 25px; width: 20px; height: 20px;}
#outdated #btnCloseUpdateBrowser{ border-bottom:none;
    display: block; position: relative; width: 100%; height: 100%;
    text-decoration: none; color: #ffffff; font-size: 36px; line-height: 36px;
}

/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #000;
	color: #000;
	text-shadow: none;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading {
	background-image: url('../img/fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('../img/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close { background-color:#fff; border:1px solid #000 !important; line-height:48px; text-align:center;
	position: absolute;
	top: 0;
	right: 0;
	width: 50px;
	height: 50px;
	cursor: pointer;
	z-index: 8040;
  -webkit-transition: color 0.25s ease-out, background-color 0.25s ease-out;
     -moz-transition: color 0.25s ease-out, background-color 0.25s ease-out;
       -o-transition: color 0.25s ease-out, background-color 0.25s ease-out;
          transition: color 0.25s ease-out, background-color 0.25s ease-out;
}
.fancybox-close:hover { background-color:#000; color:#fff; }
.generatedcontent.csstransforms .fancybox-close i { display:none; }
.generatedcontent.csstransforms .fancybox-close:before,
.generatedcontent.csstransforms .fancybox-close:after { background-color:#000; content:''; display:block; height:1px; margin-left:-11px; position:absolute; left:50%; top:50%; width:22px;
  -webkit-transition: background-color 0.25s ease-out;
     -moz-transition: background-color 0.25s ease-out;
       -o-transition: background-color 0.25s ease-out;
          transition: background-color 0.25s ease-out;
}
.generatedcontent.csstransforms .fancybox-close:hover:before,
.generatedcontent.csstransforms .fancybox-close:hover:after { background-color:#fff; }
.generatedcontent.csstransforms .fancybox-close:before {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}
.generatedcontent.csstransforms .fancybox-close:after {
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('../img/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span { background-image:none; background-color:#fff; border:1px solid #000 !important; line-height:48px; text-align:center;
	position: absolute;
	top: 50%;
	width: 50px;
	height: 50px;
	margin-top: -25px;
	cursor: pointer;
	z-index: 8040;
  -webkit-transition: color 0.25s ease-out, background-color 0.25s ease-out;
     -moz-transition: color 0.25s ease-out, background-color 0.25s ease-out;
       -o-transition: color 0.25s ease-out, background-color 0.25s ease-out;
          transition: color 0.25s ease-out, background-color 0.25s ease-out;
}

.fancybox-prev span {
	left: -1px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: -1px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span { background-color:#000; color:#fff; }

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: hidden !important;
    width: auto;
}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background-color:#fff;
	background-color:rgba(255,255,255,0.9);
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title { background-color:#fff; border:1px solid #000; padding: 15px;
	visibility: visible;
}
.fancybox-title h4,
.fancybox-title p { margin:0; }

.fancybox-title-float-wrap {
	position: absolute;
	bottom:0;
	left:0;
	z-index: 8050;
	width:100%;
}

.fancybox-title-float-wrap .child {
	display: block;

}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading {
		background-image: url('../img/fancybox_sprite@2x.png');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url('../img/fancybox_loading@2x.gif');
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}


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

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses 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,
       (-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;
    }
}

/* SmallsBar Style
.header-img {
  margin-bottom: 30px;
  position: relative;
}
.center {
  display: block;
  margin: 0 auto;
  text-align: center;
}
.sb-btn {
  width: 180px;
  border: 2px solid #000;
  padding: 10px;
  float: left;
  margin: 30px 0;
  display: block;
  color: #000;
  text-align: center;
}
input[type=text] {
  border: 2px solid #000;
  border-radius: 0;
  float: left;
  padding: 20px;
  margin: 20px 0;

  -webkit-appearance: none;
}
input[type=email] {
  border: 2px solid #000;
  border-radius: 0;
  float: left;
  padding: 20px;
  margin: 20px 0;

  -webkit-appearance: none;
}
.sb-textarea {
  display: block;
  border: 2px solid #000;
  width: 50%;
  padding: 10px;
  margin-top: 20px;

}
.x1
{
    float:left;
    width:100%;
    position: absolute;
    margin-top: -60%;
    margin-left: 40%;
    width: 20%;
}
 */
