/*Font Import*/
@font-face {
    font-family: 'museo_sans100';
    src: url('fonts/museosans-100.eot');
    src: url('fonts/museosans-100.eot?#iefix') format('embedded-opentype'),
         url('fonts/museosans-100.svg#museo_sans100') format('svg'),
         url('fonts/museosans-100.woff') format('woff'),
         url('fonts/museosans-100.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

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

}

/*End Font Import*/

* {
    font-size: 17px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    vertical-align: top;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    font-smoothing: antialiased;

}


img {
    max-width: 100%;
}

html,
button,
input,
select,
textarea {
    color: #000;
    font-family: 'Source Sans Pro', sans-serif;
}

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

::-moz-selection {
    background: #D49B4E;
    text-shadow: none;
}

::selection {
    background: #C77424;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
/*    vertical-align: middle;*/
    max-width: 100%;
}

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

textarea {
    resize: vertical;
}

 * a:hover {
    color: orange;
}

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

/*Standard classes other than background image*/

.wrapper {
    position: relative;
    margin: 0 auto;
    z-index: 60;
    padding: 2em 0;
}

.wrapperBG {
    padding: 0;
    margin: 0 auto;
}

.darkBackground {
    background-color: rgba(0,0,0,.5);
}

/*Set a standard font color and type for all headings*/
h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
    font-family: 'museo_sans100';
    color: #404040;
}

/*  
Set a standard width for all block level dividers
as well as a standard margin-bottom to divide
sections 
*/

header, section, footer, article {
    width: 100%;
}

/*Begin the website code*/

header {
    z-index: 900;
    width: 100%;
    background-color: #fff;
}

    header h1 {
        display: inline-block;
    }

    header h1 a {
        text-decoration: none;
        color: #404040;
        font-size: 2.5em;
        text-transform: uppercase;
    }

/*Begin the website code*/
.bannerImage {
    width: 100%;
    height: 150px;
    background: url('../../images/bannerimage.jpg');
    margin-top: -5em;
}

.bannerImage h2 {
        color: #fff;
        font-size: 2.5em;
        padding-top: 1em;
        text-shadow: 1px 1px 1px #000;
        text-transform: uppercase;
        word-spacing: -2px;
    }

/*This is the main navigation*/

    header nav {
        display: inline-block;
        margin-top: 1em;
        float: right;
    }

    header nav ul {
        
    }

    header nav li {
        display: inline-block;
        padding: 0 5px;
    }

    header nav li a {
        color: #404040;
        text-decoration: none;
    }

/*This is the hidden city navigation.*/

.cityList {
    position: absolute;
    top: -34em;
    left: 0;
    width: 100%;
    color: #fff;
    padding: 1em;
    z-index: 1000;
    background: url('../images/iebg.png');
    background-color: rgba(0,0,0,.9);
}

.cityList h2 {
        color: #fff;
        font-size: 2.00em;
        word-spacing: -2px;
    }

.cityList a {
    color: #fff;
    width: 100%;
    text-decoration: none;
}

.cityList a:hover {
    color: orange;
}
    .cityListingCol {
        width: 32%;
        display: inline-block;
    }

.closeMe {
    position: absolute;
    top: -15px;
    right: 0;
    color: #fff;
    background-color: #000;
    border: 1px solid #000;
    border-radius: 50%;
    width: 35px;
    text-indent: 8px;
    cursor: pointer;
}

.closeMe p {
    font-size: 1.5em;
    text-decoration: none;
}
/*Begin main index body content*/

section.subPage {
    position: relative;
    color: #404040;
    z-index: 50;
}

    section.subPage h2 {
        font-size: 2.25em;
        color: #404040;
        text-transform: uppercase;
        margin-bottom: .5em;
    }

    section.subPage p {
    margin-bottom: 1.4em;
    }

    section.subPage figure {
        float: right;
        width: 300px;
        background-color: orange;
        padding: 5px;
        box-shadow: 2px 3px 3px #ccc;
        text-align: center;
    }

    section.subPage figcaption {
        text-align: center;
        color: #000;
        padding: 5px;
    }


.leftBorder h3 {
    font-size: 1.3em;
}

    .address {
        display: block;
    }

    .phone {
        color: #404040;
        text-decoration: none;
    }

.bar {
    width: 20%;
    height: 150px;
    background-color: #000;
    float: left;
    margin: 0;
    padding: 0;
}

/*This is the list of bars. It displays the image of the bar in the associated div*/
    
    .bernicestavern {
        background: url('../images/bernicestavern.jpg');
    }

    .mariaspackagedgoodsandcommunitybar {
        background: url('../images/mariaspackagedgoodsandcommunitybar.jpg');
    }
    
    .mitchellstap {
        background: url('../images/mitchellstap.jpg');
    }

    .rockys {
        background: url('../images/rockys.jpg');
    }

    .corkandkerryatthepark {
        background: url('../images/corkandkerryatthepark.jpg');
    }

    .schallerspump {
        background: url('../images/schallerspump.jpg');
    }

    .firstbase {
        background: url('../images/firstbase.jpg');
    }

    .richardsbar {
        background: url('../images/richardsbar.jpg');
    }

    .skylark {
        background: url('../images/skylark.jpg');
    }

    .turtlebarandgrille {
        background: url('../images/turtlebarandgrille.jpg');
    }

    .briskusbistroandbar {
        background: url('../images/briskusbistroandbar.jpg');
    }

    .bobinn {
        background: url('../images/bobinn.jpg');
    }

    .zaytune {
        background: url('../images/zaytune.jpg');
    }

    .shinnickspub {
        background: url('../images/shinnickspub.jpg');
    }

    .buffalowingsandrings {
        background: url('../images/buffalowingsandrings.jpg');
    }

    .barList .bar {
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
      text-align: left;
      padding: 5px;
    }

    .barList .bar:hover {
        filter:alpha(opacity=75); 
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
        -moz-opacity:0.75; 
        opacity: .75;
    }
    .barList .bar a {
      display: block;
      color: orange;
      width: 100%;
      height: 100%;
      text-transform: uppercase;
      text-decoration: none;
      font-size: 1em;
          text-shadow: 1px 0 1px #000, -1px 0 1px #000, 0 1px 1px #000, 0 -1px 1px #000,
	 2px 0 2px #000, -2px 0 2px #000, 0 2px 2px #000, 0 -2px 2px #000;
    }

    .barList .bar:hover a {

    }

    #bernicestavern .bernicestavern, #mariaspackagedgoodsandcommunitybar .mariaspackagedgoodsandcommunitybar, #mitchellstap .mitchellstap, #rockys .rockys, #corkandkerryatthepark .corkandkerryatthepark, #schallerspump .schallerspump, #firstbase .firstbase, #richardsbar .richardsbar, #skylark .skylark, #turtlebarandgrille .turtlebarandgrille, #briskusbistroandbar .briskusbistroandbar, #bobinn .bobinn, #zaytune .zaytune, #shinnickspub .shinnickspub, #buffalowingsandrings .buffalowingsandrings {
        filter:alpha(opacity=75); 
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
        -moz-opacity:0.75; 
        opacity: .75;
    }

/*Footer begins*/

footer.subPageFooter {
    width: 100%;
    text-align: center;
    background-color: #000;
    color: #fff;
    padding: 0;
}

    footer.subPageFooter a {
        color: #fff;
        text-decoration: none;
    }

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 1024px) {
     .wrapper, .wrapperBG {
        width: 968px;
    }
}

@media only screen and (max-width: 960px) {
    .wrapper, .wrapperBG {
        width: 768px;
    }
}

@media only screen and (max-width: 768px) {
    .wrapper, .wrapperBG {
        width: 560px;
    }

    header nav {
        margin-top: -.5em;
    }

    .cityList {
        top: -60em;
    }

    .right {
        float: left;
    }

    .cityListingCol {
        width: 100%;
        display: block;
    }

    section.indexSubPage {
        width: 100%;
        display: block;
    }
}

@media only screen and (max-width: 480px) {
    .wrapper, .wrapperBG {
        width: 100%;
    }
    .bar {
        float: none;
        width: 100%;
    }
    header nav li {
        display: inline-block;
        padding: 0;
    }

    header nav li:first-child {
        display: inline-block;
        padding: 0 .5em 0 0;
    }

    section.indexSubPage {
        width: 100%;
        display: block;
    }
}

@media only screen and (max-width: 320px) {
    .wrapper, .wrapperBG {
        width: 100%;
    }

    header {
        margin-top: -1em;
        margin-bottom: 1.5em;
    }

    header h1 {
        font-size: 1em;
    }

    .bannerImage h2 {
        font-size: 1.75em;
    }

    .cityList {
        top: -70em;
        width: 100%;
    }

    section.indexSubPage {
        width: 100%;
        display: block;
    }

    section.subPage h2 {
        font-size: 1.5em;
    }
}

@media print {
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.left {
    float: left;
}

.right {
    float: right;
}

.shadow {
  -moz-box-shadow:    3px 3px 5px 6px #000;
  -webkit-box-shadow: 3px 3px 5px 6px #000;
  box-shadow:         3px 3px 5px 6px #000;
}


/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

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

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