/*
Theme Name:		White Whale Craft Ales
Theme URI:		#
Description:	A single-page responsive theme based upon Jason Schuller's "Pickle" HTML template (http://jason.sc/)
Version:		1.0
Author:			1M Studios
Author URI:		http://www.1Mstudios.com/
*/


/* Setup
*********************************************************************************************/

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    font-size: 18px;
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.clear {
    clear: both;
}

.data-only,
.down-arrow,
#menu-nav,
.scroll-info {
    display: none;
}


/* Typography
*********************************************************************************************/

h1,
h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 28px;
    color: #A9113C;
}

a {
    text-decoration: none;
    -webkit-transition-duration: 0.25s;
            transition-duration: 0.25s;
    color: #A9113C;
}

p {
    margin-bottom: 20px;
    line-height: 30px;
}

p a,
strong {
    font-weight: 400;
    color: #A9113C;
}

p a {
    border-bottom: 1px solid;
}

/* Icons
*********************************************************************************************/

@font-face {
    font-family: "ionicons";
    src: url("../fonts/ionicons.eot?v=2.0.1");
    src: url("../fonts/ionicons.eot?v=2.0.1#iefix") format("embedded-opentype"),
        url("../fonts/ionicons.ttf?v=2.0.1") format("truetype"),
        url("../fonts/ionicons.woff?v=2.0.1") format("woff"),
        url("../fonts/ionicons.svg?v=2.0.1#Ionicons") format("svg");
    font-weight: normal;
    font-style: normal;
}


.icon {
    display: inline-block;
    font-family: "ionicons";
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    text-rendering: auto;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon.twitter:before {
    content: "\f243";
}

.icon.facebook:before {
    content: "\f231";
}

.icon.instagram:before {
    content: "\f350";
}

.icon.email:before {
    content: "\f10f";
}

.icon.marker:before {
    content: "\f456";
}

.icon.clock:before {
    content: "\f403";
}

.icon.phone:before {
    content: "\f4b9";
}

.icon.submit:before {
    content: "\f3fd";
}

/* Sections
*********************************************************************************************/

section {
    width: 100%;
    position: relative;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

section#welcome {
    max-width: 660px;
    margin: 0 auto;
    padding: 30px 10px;
    text-align: left;
}

section#welcome h1 {
    text-align: center;
}




/* Header
*********************************************************************************************/

header {
    width: 100%;
    height: 30%;
    max-height: 260px;
    background: #000;
    overflow: hidden;
    position: relative;
    overflow: hidden;
    background: #22bbe0 url(../images/header-interior-bg.jpg) center center no-repeat;
    background-size: cover;
}

header.home {
    height: 90%;
    max-height: 700px;
    background: #000;
}

header #logo-main {
    position: relative;
    margin: 10px auto;
    display: block;
    z-index: 20;
    height: 90%;
    max-height: 220px;
    width: auto;
}

@media (min-width: 600px) {
    header #logo-main {
        margin: 20px auto;
    }
}

header.home #logo-main {
    position: absolute;
    top: 40px;
    right: 40px;
    width: auto;
    height: auto;
}


#social-top {
    position: absolute;
    left: 40px;
    bottom: 40px;
}

.intro header #logo,
.menu header #logo {
    background-image: url('images/logo.png');
}

.about header #logo,
.locations header #logo {
    background-image: url('images/logo-dark.png');
}

header ul {
    float: right;
    margin-right: 40px;
    line-height: 70px;
}

header li,
header li a {
    float: left;
    position: relative;
}

header li {
    margin-left: 20px;
}

header li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    -webkit-transition-duration: 0.25s;
            transition-duration: 0.25s;
    font-size: 24px;
}

header li.current a::before,
header li a:hover::before {
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    width: 12px;
    height: 12px;
    top: -6px;
    left: 50%;
    margin-left: -6px;
    content: '';
}

.intro header a,
.menu header a {
    color: #ffffff;
}

.intro header li.current a::before,
.intro header li a:hover::before,
.menu header li.current a::before,
.menu header li a:hover::before {
    border-color: #ffffff;
}

.about header a,
.locations header a {
    color: rgba(0, 0, 0, 0.65);
    color: #1d3567;
}

.about header li.current a::before,
.about header li a:hover::before,
.locations header li.current a::before,
.locations header li a:hover::before {
    background-color: rgba(0, 0, 0, 0.65);
}

/* Slides
*********************************************************************************************/

#slides {
    width: 100%;
    height: 100%;
}


#slides div {
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Intro
*********************************************************************************************/

#intro {
    /*background: url('images/intro-bg.jpg') center center no-repeat;*/
    background: url('images/splash-ww.jpg') center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
    width: 100%;
    height: 100%;
    min-height: 420px;
}

#intro::after {
    background-color: rgba(56, 47, 40, 0.5);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    content: '';
    top: 0;
    left: 0;
}

#intro .intro {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    position: absolute;
    z-index: 2;
    width: 100%;
    background-image: url('images/ww-intro-bg-75.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 430px 430px;
}

#intro img {
    width: 80%;
    max-width: 400px;
    margin-left: -20px;
    vertical-align: top
}

#intro h1 {
    /*border-bottom: 2px dashed rgba(255, 255, 255, 0.2);*/
    letter-spacing: -2px;
    font-size: 34px;
    line-height: 1;
    color: #ffffff;
    padding-bottom: 0;
    margin-bottom: 0px;
    font-weight: 400 !important;
}

/*#intro h1::after {
    background-color: #1D3567;
    border-radius: 50%;
    position: absolute;
    width: 30px;
    height: 30px;
    bottom: 51px;
    left: 50%;
    margin-left: -16px;
    content: '';
}*/

#intro h3 {
    font-size: 28px;
    line-height: 1;
    color: #ffffff;
}

/* About
*********************************************************************************************/

#about .photo {
    background: url('images/about-bg.jpg') no-repeat center center;
    background-size: cover;
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#about .copy {
    background-color: #fff;
    color: rgba(0, 0, 0, 0.45);
    width: 50%;
    float: left;
    margin-left: 50%;
}

#about .content {
    float: left;
    padding: 100px;
}

#about h2 {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 68px;
    line-height: 48px;
    color: #1d3567;
    width: 100%;
    padding-bottom: 33px;
    margin-bottom: 28px;
}

#about p {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 17px;
}

#about p:first-of-type {
    font-size: 28px;
    font-weight: 400;
    line-height: 34px;
    margin-bottom: 24px;
}

#about p:last-of-type {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 36px;
    margin-bottom: 37px;
}

#about img {
    width: 150px;
}

/* Menu
*********************************************************************************************/

.update-time {
    height: 40px;
    line-height: 40px;
    margin-bottom: 40px;
    width: 100%;
    color: #fff;
    text-align: center;
    border-bottom: 1px solid rgba(200, 200, 200, 0.05);
    padding-bottom: 15px;
    font-style: italic;
    -webkit-box-sizing: content-box !important;
       -moz-box-sizing: content-box !important;
            box-sizing: content-box !important;
}


#beer-list-msg {
    -webkit-box-sizing: content-box;
       -moz-box-sizing: content-box;
            box-sizing: content-box;
    color: #fff;
    text-align: center;
    font-style: italic;
    padding-bottom: 20px;
    line-height: 1.5;
}

#beer-list-msg::before,
#beer-list-msg::after {
    -webkit-box-sizing: content-box;
       -moz-box-sizing: content-box;
            box-sizing: content-box;
}

#menu h2 {
    border-bottom: 0 !important;
    font-size: 68px !important;
    line-height: 68px !important;
    color: #fff;
    width: 100%;
    /*padding-bottom: 33px;
    margin-bottom: 30px;*/
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    text-align: center;
}

#menu {
    background-color: #1d3567;
}

#menu .content {
    padding: 60px 100px;
}

#menu .column {
    border-left: 1px solid rgba(255, 255, 255, 0.075);
    width: 33.333333333%;
    float: left;
    /*padding-top: 100px;*/
}

#menu .column:last-of-type {
    border-right: 1px solid rgba(255, 255, 255, 0.075);
}

#menu .menu {
    float: left;
    padding: 0 50px 75px;
}

#menu h2 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    font-size: 24px;
    line-height: 24px;
    margin-bottom: 25px;
    padding-bottom: 26px;
    color: rgba(255, 255, 255, 0.95);
}

#menu .item {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.075);
    color: rgba(255, 255, 255, 0.5);
    width: 100%;
    float: left;
    padding-bottom: 20px;
    margin-bottom: 15px;
    padding-left: 45px;
    position: relative;
}

#menu .item:last-of-type {
    border: none;
    /*padding: 0;*/
    margin-bottom: 23px;
}

#menu .item h3 {
    font-size: 16px;
    line-height: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

#menu .item p {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 16px;
}

#menu .item span {
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.95);
    font-size: 24px;
    line-height: 36px;
    color: #1d3567;
    height: 36px;
    width: 36px;
    padding: 0 3px 0 0;
    display: inline-block;
    margin-right: 10px;
    text-align: center;
    font-weight: 400;
    letter-spacing: -2px;
    position: absolute;
    left: 0;
    top: -8px;
}

/* Locations
*********************************************************************************************/


#locations {
    text-align: center;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

#locations div {
    width: 200px;
    height: 200px;
    padding-top: 65px;
    margin: 0 10px 20px;
    display: inline-block;
    background: #eee;
    border-radius: 50%;
    color: #a9113c;
    line-height: 1.5;
}

/*#locations div:hover {
background: #a9113c;
opacity: 0.5;
transition-duration: 0.25s;
color: #fff !important;
}

#locations div:hover * {
color: #fff !important;
}*/


#locations div a {
    text-decoration: none;
    -webkit-transition-duration: 0.25s;
            transition-duration: 0.25s;
}

#locations div a:hover {
    text-decoration: underline;
}



#locations .map {
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#locations #map {
    width: 100%;
    height: 100%;
}

#locations .copy {
    background-color: #eaf0f2;
    color: rgba(0, 0, 0, 0.45);
    width: 50%;
    float: left;
    margin-left: 50%;
}

#locations .content {
    float: left;
    padding: 100px;
}

#locations h2 {
    font-size: 18px;
    line-height: 24px;
    color: #a9113c;
    margin-bottom: 5px;
}

#locations h3 {
    font-size: 28px;
    line-height: 28px;
    font-weight: 400;
    margin-bottom: 30px;
}

#locations .location {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    float: left;
    padding-bottom: 36px;
    margin-bottom: 30px;
}

#locations .location li {
    font-size: 16px;
    line-height: 22px;
}

#locations .location li .icon {
    border-radius: 3px;
    background-color: #1d3567;
    font-size: 12px;
    color: #eaf0f2;
    text-align: center;
    line-height: 18px;
    width: 18px;
    height: 18px;
    float: left;
    margin: 3px 10px 0 0;
    -webkit-transition-duration: 0.25s;
            transition-duration: 0.25s;
}

#locations .location li:nth-child(1) {
    margin-bottom: 10px;
    cursor: pointer;
    -webkit-transition-duration: 0.25s;
            transition-duration: 0.25s;
}

#locations .location li:nth-child(1):hover {
    color: rgba(0, 0, 0, 0.25);
}

#locations .location li:nth-child(1):hover .icon {
    background-color: rgba(0, 0, 0, 0.25);
}

#locations .location li:nth-child(5) {
    margin-top: 10px;
}

#locations .social {
    width: 100%;
    float: left;
    margin-top: 10px;
}

.social .icon {
    border-radius: 50%;
    font-size: 30px;
    color: #fff;
    text-align: center;
    line-height: 60px;
    width: 60px;
    height: 60px;
    float: left;
    margin-right: 10px;
}

.social .icon:nth-child(1) {
    background-color: #A9113C;
}

.social .icon:nth-child(2) {
    background-color: #A9113C;
}

.social .icon:nth-child(3) {
    background-color: #A9113C
}

.social .icon:nth-child(4) {
    background-color: #A9113C;
}


.social .icon:hover {
    width: 66px;
    height: 66px;
    line-height: 66px;
}

.social .icon:nth-child(1):hover {
    background-color: #990033;
}

.social .icon:nth-child(2):hover {
    background-color: #990033;
}

.social .icon:nth-child(3):hover {
    background-color: #990033;
}

.social .icon:nth-child(4):hover {
    background-color: #990033;
}

/* News
*********************************************************************************************/

#news {
    background: url('images/news-ww.jpg') 50% -80px no-repeat;
    background-size: cover;
    color: #ffffff;
    text-align: center;
    height: 440px;
}

#news::after {
    background-color: rgba(51, 43, 40, 0.7);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    content: '';
    top: 0;
    left: 0;

}

#news .subscribe {
    text-align: center;
    position: absolute;
    z-index: 2;
    width: 100%;
    top: 0;
}

#news .subscribe p a {
    color: #fff;
}

#news h2 {
    font-size: 48px;
    line-height: 48px;
    margin-bottom: 28px;
}

#news p {
    border-bottom: 2px dashed rgba(255, 255, 255, 0.2);
    font-size: 18px;
    line-height: 18px;
    margin-bottom: 40px;
    padding-bottom: 38px;
}

#news form {
    width: 240px;
    margin: 0px auto;
    position: relative;
}

#news input[type="text"],
#news input[type="email"] {
    background: none;
    outline: none;
    border: 1px solid #ffffff;
    border-radius: 20px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #ffffff;
    line-height: 38px;
    text-align: center;
    width: 240px;
    height: 38px;
    padding: 0 20px;
    -webkit-appearance: none;
}

#news .button {
    background-color: #ffffff;
    outline: none;
    border: none;
    border-radius: 50%;
    font-size: 30px;
    line-height: 19px;
    color: rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 34px;
    height: 34px;
    padding: 0;
    position: absolute;
    top: 30px;
    left: 50%;
    margin-left: -17px;
    cursor: pointer;
    -webkit-transition-duration: 0.25s;
            transition-duration: 0.25s;
}


footer {
    width: 100%;
    height: 60px;
    margin-top: 60px;
    color: #a9113c;
    font-size: 16px;
    line-height: 60px;
    text-align: center;
}


#handbook {
    background: #A9113C;
    color: #fff;
    position: absolute;
    z-index: 300;
    top: 0;
    left: 0;
    font-size: 20px;
    height: 60px;
    line-height: 50px;
    margin-right: 10px;
    text-align: left;
    width: 100%;
    padding-left: 2%;
    padding-top: 10px;
}

#handbook a {
    color: #fff !important;
}

#handbook a:hover {
    color: #fc0 !important;
}

#handbook .icon:before {
    content: "\f472";
}

#handbook .icon {
    font-size: 25px;
    padding-left: 5px;
}

/*---- Navigation ----*/

nav.navigation {
    background-color: #A9113C;
}

nav.navigation ul,
nav.navigation li {
    margin: 0;
}

nav.navigation ul {
    padding-left: 0;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    -ms-grid-rows: 1fr;
    grid-template-rows: 50px;
}

nav.navigation ul > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

nav.navigation ul > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

nav.navigation ul > *:nth-child(3) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}

nav.navigation ul > *:nth-child(4) {
    -ms-grid-row: 1;
    -ms-grid-column: 4;
}

nav.navigation ul > *:nth-child(5) {
    -ms-grid-row: 1;
    -ms-grid-column: 5;
}

nav.navigation li {
    list-style: none;
    text-align: center;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    -ms-grid-column-align: center;
    justify-self: center;
    font-size: 14px;
    line-height: 1;
}

nav.navigation a {
    display: -ms-grid;
    display: grid;
    -ms-flex-item-align: stretch;
    -ms-grid-row-align: stretch;
    align-self: stretch;
    -ms-grid-column-align: stretch;
    justify-self: stretch;
}

nav.navigation a, nav.navigation a:visited, nav.navigation a:link {
    color: #ffffff;
    font-weight: bold;
}

@media screen and (min-width: 600px) {
    nav.navigation a li {
        font-size: 18px;
    }
}

@media screen and (min-width: 900px) {
    nav.navigation a li {
        font-size: 22px;
    }

    nav.navigation a:hover, nav.navigation a:focus, nav.navigation a:active {
        color: #ffffff;
        text-shadow: 3px 2px 2px #500b1f;
        font-weight: bold;
        background-color: #890e31;
    }
}



/*---- Pages ----*/

.table-wrap {
    display: block;
    margin: 20px auto;
    max-width: 600px;
    overflow-x: auto;
}

table {
    min-width: 500px;
    border: solid 1px #eee;
}

th {
    font-weight: 700;
}

td,
th {
    padding: 10px;
}

tr.even {
    background: #eee;
}

.page-content {
    padding: 40px;
    max-width: 900px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    margin: 0 auto;
}

.page-content h1,
.page-content h2 {
    text-align: center;
}

.page-content h2:last-child {
    margin-top: 30px;
}

.page-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 10px !important;
    font-size: 22px;
    color: #666;
}

.page-content .button-row {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    -ms-grid-rows: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    margin: 30px 0;
}

.page-content .button-row a.button,
.page-content .button-row a.button:visited,
.page-content .button-row a.button:link {
    background-color: #1435AD;
    width: 80%;
    min-width: 250px;
    height: 50px;
    text-align: center;
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 14px;
    border-radius: 10px;
    line-height: 50px;
    -ms-grid-column-align: center;
        justify-self: center;
}

.page-content .button-row a.button:last-child,
.page-content .button-row a.button:last-child:visited,
.page-content .button-row a.button:last-child:link {
    background-color: #4CAF00;
}

.page-content .contact-info {
    margin-bottom: 30px;
}

.page-content .contact-info h2,
.page-content .addresses h2 {
    padding-bottom: 10px;
}

.page-content .contact-info p {
    margin: 0;
}

.page-content .addresses p {
    line-height: 1.2;
    padding-bottom: 10px;
}

.page-content .addresses iframe {
    margin-bottom: 40px;
    background-color: #eeeeee;
}

.page-content .contact-info a {
    color: #000000;
    font-weight: normal;
    font-weight: 300; 
}

@media screen and (min-width: 600px) {

    .page-content .button-row {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
        -ms-grid-rows: 50px;
        grid-template-rows: 50px;
        margin: 45px 0;
    }

    .page-content .button-row a.button {
        width: 90%;
        height: 60px;
        line-height: 60px;
        font-size: 24px;
        -ms-flex-item-align: center;
            -ms-grid-row-align: center;
            align-self: center;
            -ms-grid-column-align: center;
                justify-self: center;
    }

    .page-content .button-row a.button:hover,
    .page-content .button-row a.button:focus,
    .page-content .button-row a.button:active {
        background-color: #112c8d;
        text-shadow: 2px 1px 1px #000000;
    }

    .page-content .button-row a.button:last-child:hover,
    .page-content .button-row a.button:last-child:focus,
    .page-content .button-row a.buttonlast-child:active {
        background-color: #46a002;
        text-shadow: 2px 1px 1px #265701;
    }

    .page-content .button-row > *:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }

    .page-content .button-row > *:nth-child(2) {
        -ms-grid-row: 1;
        -ms-grid-column: 2;
    }

}

ul.no-icon {
    list-style-type: none !important;
}

ul,
ol {
    padding-left: 40px;
    list-style-type: disc;
    margin-bottom: 20px;
    margin-top: 10px;
}

ol {
    list-style-type: decimal;
}

ol.lower-alpha {
    list-style-type: lower-alpha;
}

ol.lower-roman {
    list-style-type: lower-roman;
}

ul li,
ol li {
    margin-bottom: 15px;
    line-height: 1.4;
}

/* From Mobile CSS */

@media (max-width: 600px) {
	
	#social-top {
	left: 0;
	width: 100%;
	text-align: center;	
	}
	
	.social .icon {
	float: none;
	display: inline-block;
	margin: 0 5px;
    }
    
    header.home #logo-main {
	    position: absolute;
	    right: auto;
	    left: 50%;
	    margin-left: -100px;
		width: 200px;
	    height: auto;
	}
	
}

@media (max-width: 500px) {

	.scroll-info {
	display: block;
	text-align: center;	
	}
	
}