/* Limited CSS reset */
/* Also see normalize.css */

html, body, button, input, select, textarea,
.pure-g [class *= "pure-u"] {
    font-family: 'Raleway', sans-serif;
    color: #333;
}


html, body {
    margin: 0;
    padding: 0;
    color: #626366;
    font-size: 15px;
}

body {
    /*font-size: 100%;*/    /* use browser default font size, usually 16px */
    height: 100%;
  
    
    background: url(../images/brushedsteel4.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

}

input {
    padding: 4px;
    color: #626366;
}

/* Layout styles ------------------------------------------*/
.clear {
    clear: both;
}

.align-l {
    text-align: left;
}

.align-r {
    text-align: right;
}

.align-c {
    text-align: center;
}

.full-width-img {
    width: 100%;
    height: auto;
    display: block;
}

#main-wrapper {
    position: relative;
    width: 1200px;
    margin: 0 auto;
    padding-top: 1px;
    text-align: left;
    height: 100%;
    background-color: #fff;
}

.constrain {
    width: 1020px;
    margin: 0 auto;
}

/* Header styles ------------------------------------------*/
header {
    padding: 0;
    background-color: #fff;
}


#desktop-header-banner {
    margin: 0 38px;
}

#desktop-header-banner__img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
}

#mobile-header {
    display: none;
}

#mobile-header__logo,
#mobile-header__open-hours {
    max-width: 325px;
    width: 100%;
    height: auto;
}

#mobile-header > .pure-g [class*="pure-u-"]:last-child {
  text-align: right;
}

#mobile-header__open-hours {
  max-width: 260px;
}

#nav-wrapper {
    position: relative;
    padding: 8px;
}

#menu-wrap {
    background-color: #03689B;
    box-shadow: 0 7px 6px 5px #333;
}

#menu {
    text-align: center;
}


.nav--ucase {
    text-transform: uppercase;
}


/* Content styles -----------------------------------------*/
#top-hero-img {
    z-index: 10;
    margin: 0;
    padding: 0;
}

#top-hero-img img {
    width: 100%;
    height: auto;
    display: block;
}

#content-wrapper {
    display: block;

    /*
    background: url(../images/brushedsteel4.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  */
}

#masthead {
    background-color: rgba(2,74,110,.75);
    /*margin-top: -10px;*/
}

#masthead__content {
    padding: 20px 40px;
    color: #fff;
    font-size: 1.5em;
    text-align: center;
    background-color: #0382BE;
}

#masthead__content p:first-child,
#masthead__content h1:first-child,
#masthead__content h2:first-child,
#masthead__content h3:first-child {
    margin-top: 0;
}

#masthead__content p:last-child,
#masthead__content h1:last-child,
#masthead__content h2:last-child,
#masthead__content h3:last-child {
    margin-bottom: 0;
}

#masthead__content > .pure-g [class *= "pure-u"] {
  font-size: 1rem;
  color: #fff;
}

#masthead__content > .pure-g h1,
#masthead__content > .pure-g h2,
#masthead__content > .pure-g h3 {
  color: #ffe200;
  margin-bottom: .2em;
}

#content {
    padding: 20px 40px 20px;
    background-color: #fff;
}

#content p:first-child,
#content h1:first-child,
#content h2:first-child,
#content h3:first-child,
#content h4:first-child {
    margin-top: 0;
}

#content img {
    max-width: 100% !important;
    height: auto !important;
}


#content-wrapper h1 {
    font-family: 'Lobster', cursive;
    margin: 0.4em 0;
    color: #0180BE;
}

#content-wrapper h2 {
    margin: 0.4em 0;
    font-family: 'Lobster', cursive;
    font-size: 1.55em;
    color: #0180BE;
}

#content-wrapper h3 {
    font-size: 1.2em;
    color: #0180BE;
}

/*
hr {
    border:none;
    border-top: 2px dotted #0382BE;
    color: #fff;
    background-color: #fff;
    height: 2px;
}
*/

hr {
  border-width: 7px 0 0 0;
  border-style: dotted;
  border-color: #0382BE;
  border-image-source: url(../images/dots_blue.svg);
  border-image-slice: 33% 33%;
  border-image-repeat: round;
}

.pad-box {
    padding: 15px;
}

#content .pure-g div:first-child .pad-box {
    padding-left: 0;
    padding-right: 15px;
}

#content .pure-g div:last-child .pad-box {
    padding-left: 15px;
    padding-right: 0;
}


#content-wrapper ul li {
    padding: 0 0 4px 20px;
    margin-left: -1rem;
    line-height: 1rem;
    list-style-type: none;
    background: url(../images/bullet.png) 0 .25rem/8px 8px no-repeat;
}

#content-wrapper a,
#content-wrapper a:visited,
#content-wrapper a:hover,
#content-wrapper a:active,
#content-wrapper a:focus {
    color: #0c8cd9;
}

#masthead h1 > a,
#masthead h1 > a:visited,
#masthead h1 > a:hover,
#masthead h1 > a:active,
#masthead h1 > a:focus {
  color: #ffe200;
  text-decoration: none;
}

#content-wrapper a:hover,
#content-wrapper a:active,
#content-wrapper a:focus {
    text-decoration: none;
}

.ce-gallery figcaption {
  padding: 5px;
  font-weight: bold;
  text-align: center;
  background-color: #0180BE;
  color: #fff;
}

/* Footer styles ------------------------------------------*/
#content-wrapper footer {
    min-height: 50px;
    padding: 15px 40px;
    font-size: .85em;
    line-height: 1.5em;
    background-color: rgba(65,65,65,.70);
    color: #fff;
}

#content-wrapper footer .pure-g [class *= "pure-u"] {
    color: #fff;
}

#content-wrapper footer .pure-g div:first-child .pad-box {
    padding-left: 0;
    padding-right: 15px;
}

#content-wrapper footer .pure-g div:last-child .pad-box {
    padding-left: 15px;
    padding-right: 0;
}

#content-wrapper footer h1,
#content-wrapper footer h2,
#content-wrapper footer h3 {
    color: #fff;
}

h3 {
    font-size: 1.3em;
}

#content-wrapper footer a,
#content-wrapper footer a:visited,
#content-wrapper footer a:hover,
#content-wrapper footer a:active,
#content-wrapper footer a:focus {
    color: #88DEFF;
    text-decoration: none;
}

#content-wrapper footer a:hover,
#content-wrapper footer a:active,
#content-wrapper footer a:focus {
    text-decoration: underline;
}


/* Google map styling fix */
#content .cbQuickGoogleMap img {
  max-width: none !important;
}


/* GIG GUIDE STYLING --------*/
/*.page-41 #content > .pure-g .pad-box > div[id*="c"]:not(.page-41 #content > .pure-g .pad-box > div:first-child) {*/
/*.page-41 #content > .pure-g .pad-box > div[id*="c"]:not(:first-child) {*/
.page-41 #content > .pure-g > .pure-u-1 > div[id^="c"]:not(:first-child) {
  display: inline-block;
  width: 370px;
}

/*.page-41 #content > .pure-g .pad-box > div[id*="c"]:not(:first-child) h4 {*/
.page-41 #content > .pure-g > .pure-u-1 > div[id^="c"]:not(:first-child) h4 {
   margin-bottom: 0;
   font-weight: bold;
}

/*.page-41 #content > .pure-g .pad-box > div[id*="c"]:not(:first-child) p:nth-child(2) {*/
.page-41 #content > .pure-g > .pure-u-1 > div[id^="c"]:not(:first-child) p:nth-child(2) {
  margin-top: 5px;
}

/*.page-41 #content > .pure-g .pad-box > div[id*="c"]:not(:first-child) img {*/
.page-41 #content > .pure-g > .pure-u-1 > div[id^="c"]:not(:first-child) img {
   width: 120px;
   height: auto;
}


/* TYPO3 Overrides ----------------------------------------------*/
div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image {
    margin-bottom: 0;
}

#top-hero-img .ce-above .ce-gallery,
#top-hero-img .ce-intext.ce-right .ce-gallery,
#top-hero-img .ce-intext.ce-left .ce-gallery,
#top-hero-img .ce-below .ce-gallery {
  margin: 0;
}

#top-hero-img .ce-outer,
#top-hero-img .ce-inner,
#top-hero-img .ce-column {
  width: 100%;
}

.ce-gallery .ce-column {
  margin-bottom: 0;
}

#content .ce-gallery .ce-outer,
#content .ce-gallery .ce-inner,
#content .ce-gallery .ce-column {
  /* float: none; */
}

/* Typo3 overrides */
.ce-gallery,
.ce-column {
  max-width: 100%;
}

.ce-gallery img {
  max-width: 100%;
  height: auto;
}


/* --------------------------------------------------------------
 * Media Queries ------------------------------------------------
 * --------------------------------------------------------------*/
@media (max-width: 1100px) {
    .constrain {
        width: auto;
    }
}

@media (max-width: 1000px) {
    #desktop-header-banner {
        display: none;
    }

    #mobile-header {
        display: block;
    }
}

@media (max-width: 850px) {
/*
    #desktop-header-banner {
        display: none;
    }

    #mobile-header {
        display: block;
    }
*/
    #masthead__content {
        padding: 20px 20px;
        font-size: 1em;
    }

    #content {
        padding: 10px 20px 20px;
    }

    #content-wrapper {
        display: block;
    }

    #content .pure-g div:first-child .pad-box,
    #content .pure-g div:last-child .pad-box,
    .pad-box {
        padding-left: 0;
        padding-right: 0;
    }

    #content-wrapper footer {
        padding: 15px 20px;
    }

    #content-wrapper footer .pure-g div:first-child .pad-box,
    #content-wrapper footer .pure-g div:last-child .pad-box,
    .pad-box {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 800px) {
  .page-41 #content > .pure-g > .pure-u-1 > div[id^="c"]:not(:first-child) {
     width: 100%;
     border-bottom: 1px solid #ddd;
  }

  .page-41 #content > .pure-g > .pure-u-1 > div[id^="c"] .ce-gallery {
     margin-bottom: 0;
  }
}

@media (max-width: 400px) {
  #content {
    padding: 10px 15px 20px;
  }

#c109 {
  display: none;
  }

  /*.page-41 #content > .pure-g .pad-box > div[id^="c"]:not(:first-child) {*/
  /*
  .page-41 #content > .pure-g > .pure-u-1 > div[id^="c"]:not(:first-child) {
    width: 280px;
  }
  */

  /*.page-41 #content > .pure-g .pad-box > div[id^="c"]:not(:first-child) img {*/
  .page-41 #content > .pure-g > .pure-u-1 > div[id^="c"]:not(:first-child) img {
    width: 100px;
    height: auto;
  }

  #footer__content .ce-gallery img {
     max-width: 120px;
     height: auto;
  }
}

