@font-face {
    font-family: 'kingthings_trypewriter_2Rg';
    src: url('../fonts/Kingthings_Trypewriter_2-webfont.eot');
    src: url('../fonts/Kingthings_Trypewriter_2-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Kingthings_Trypewriter_2-webfont.woff') format('woff'),
    url('../fonts/Kingthings_Trypewriter_2-webfont.ttf') format('truetype'),
    url('../fonts/Kingthings_Trypewriter_2-webfont.svg#kingthings_trypewriter_2Rg') format('svg');
    font-weight: normal;
    font-style: normal;

}

/*
      ___           ___          _____
     /  /\         /__/\        /  /::\
    /  /::\       _\_ \:\      /  /:/\:\
   /  /:/\:\     /__/\ \:\    /  /:/  \:\
  /  /:/~/:/    _\_ \:\ \:\  /__/:/ \__\:|
 /__/:/ /:/___ /__/\ \:\ \:\ \  \:\ /  /:/
 \  \:\/:::::/ \  \:\ \:\/:/  \  \:\  /:/
  \  \::/~~~~   \  \:\ \::/    \  \:\/:/
   \  \:\        \  \:\/:/      \  \::/
    \  \:\        \  \::/        \__\/
     \__\/         \__\/
           jack@rightwebdesign.co.uk
*/

/* ======================================================================== Global Styles === */

html, body {
    background-image: url("../img/pattern.png");
    background-repeat: repeat;
    background-attachment: fixed;
}

.content {
    text-align: center;
    background-image: url("../img/white-wash.jpg");
    background-repeat: repeat;
    background-attachment: fixed;
    border-left: 1px solid #f6efe7;
    border-right: 1px solid #f6efe7;
    position: relative;
}

.box.text {
    width: 500px;
    margin: 0px auto;
    float: none;
    padding: 10px;
}

.box p {
    line-height: 1.45em;
    font-style: italic;
    color: #333;
    margin-bottom: 15px;
}

.text img {
    margin-bottom: 30px;
}

.offers {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    float: none;
    padding: 10px;

    p {
        font-family: 'kingthings_trypewriter_2Rg', helvetica, arial, sans-serif;
        font-size: 14px;
        font-style: normal;
        line-height: 19px;
        color: #333;
        margin-bottom: 20px;

        a {
            font-family: 'kingthings_trypewriter_2Rg', helvetica, arial, sans-serif;
            text-decoration: none;
            font-weight: bold;
            color: #333;
            font-size: 14px;
            line-height: 19px;

            &:hover {
                color: #666;
                text-decoration: underline;
            }
        }
    }

    .small {
        p {
            font-size: 10px;
            line-height: 14px;
        }
    }
}

.arrow {
    display: block;
    position: absolute;
    width: 70px;
    text-align: center;
    bottom: 30px;
    left: 50%;
    margin-left: -35px;
    z-index: 100000;
    cursor: pointer;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    display: none;
}

.arrow span {
    font-size: 1.3em;
    font-family: 'kingthings_trypewriter_2Rg', helvetica, arial, sans-serif;
}

.arrow:hover {
    bottom: 40px;
}

a.book {
    display: block;
    position: absolute;
    right: 10px;
    top: 190px;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

a.book:hover {
    margin-top: -10px;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.mobile-button {
    display: none;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

nav ul {
    margin: 20px 0px 0px 0px;
    text-align: center;
}

nav ul li {
    display: inline-block;
    margin: 0px 5px;
}

nav ul li a {
    font-family: josefin-sans, helvetica, arial, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    color: #333;
    padding: 10px;
    display: block;
}

nav ul li a.active {
    text-decoration: underline;
}

nav ul li a:hover {
    color: #666;
    text-decoration: underline;
}

.desktop-only {
    display: block;

    @media only screen and (max-width: 849px) {
        display: none;
    }
}

.mobile-only {
    display: none;

    @media only screen and (max-width: 849px) {
        display: block;
    }
}

/* ======================================================================== Home === */

#home {
    padding-top: 180px;
    position: relative;
}

#home .box p {
    margin-bottom: 40px;
}

ul.address li {
    padding: 20px 0px;
    border-bottom: 2px dotted #999;
    line-height: 1.3em;
}

ul.address li:first-child {
    padding-top: 0px;
}

ul.address li:last-child {
    border-bottom: 0px;
}

ul.address li.add {
    font-size: 1.6em;
    font-family: 'kingthings_trypewriter_2Rg', helvetica, arial, sans-serif;
}

ul.address li.add span {
    font-family: 'kingthings_trypewriter_2Rg', helvetica, arial, sans-serif;
}

li.phone {
    font-size: 1.3em;
}

li.phone span.small {
    font-size: 0.8em;
    color: #666;
}

li.phone a {
    color: #000;
    text-decoration: none;
}

li.phone a:hover {
    color: #555;
}

#home li.social a {
    display: inline-block;
    color: #000;
    text-decoration: none;
}

#home li.social a.fb {
    background-image: url("../img/facebook.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto 60%;
    padding: 10px 10px 10px 20px;
    margin-right: 10px;
}

#home li.social a.tw {
    background-image: url("../img/twitter.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto 60%;
    padding: 10px 10px 10px 35px;
}

#home li.social a:hover {
    color: #555;
}

/* ======================================================================== About === */

#opening-hours {
    padding: 160px 0px 165px;
}

h1, h2 {
    font-family: 'kingthings_trypewriter_2Rg', helvetica, arial, sans-serif;
    text-transform: uppercase;
    font-size: 2em;
    margin-bottom: 15px;
}

h3 {
    font-family: 'kingthings_trypewriter_2Rg', helvetica, arial, sans-serif;
    text-transform: uppercase;
    font-size: 1.5em;
    margin-bottom: 15px;
}

h4 {
    font-family: 'kingthings_trypewriter_2Rg', helvetica, arial, sans-serif;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-size: 1.375em;
}

h5 {
    font-family: 'kingthings_trypewriter_2Rg', helvetica, arial, sans-serif;
    font-size: 17px;
    text-decoration: underline;
}

#opening-hours h1 {
    font-size: 3.2em;
}

#opening-hours ul {
    margin-bottom: 25px;
}

#opening-hours ul li {
    margin-bottom: 5px;
}

#opening-hours ul li span {
    font-weight: bold;
}

.box.gallery {
    width: 700px;
    margin: 0px auto;
    float: none;
    margin-top: 30px;
}

.gallery a {
    display: inline-block;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.gallery a:hover {
    opacity: 0.6;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

/* ======================================================================== Menus === */

#menus {
    padding: 250px 0px 210px
}

#menus h1 {
    font-size: 3.2em;
}

#menus ul {
    margin-bottom: 25px;
}

#menus ul li {
    margin-bottom: 5px;
}

#menus ul li span {
    font-weight: bold;
}

#menus h3:first-of-type {
    margin-top: 30px;
}

#menus h3 a {
    font-family: 'kingthings_trypewriter_2Rg', helvetica, arial, sans-serif;
    text-transform: uppercase;
    font-size: 0.9em;
    color: #000;
    display: block;
    padding: 10px;
    text-decoration: none;
}

#menus h3 a:hover {
    color: #555;
    text-decoration: underline;
}

/* ======================================================================== News & Offers === */

#news-offers {
    padding: 150px 0px 188px;
}

/* ======================================================================== Private Hire === */

#private-hire {
    padding: 230px 0px 430px;
}

/* ======================================================================== Find Us === */

#find-us {
    padding: 140px 0px 188px;
}

/* ======================================================================== Book Table === */

#book h2 {
    margin-bottom: 40px;
}

.book-table {
    margin-bottom: 200px;
}

.book-table form {
    max-width: 450px;
    margin: 0 auto;
}

.book-table select {
    width: 160px;
    height: 30px;
    border: solid 1px #ccc;
    font-family: inherit;
    font-size: 14px;
    width: 70%;
    float: left;
    display: block;
    padding: 0;
}

.book-table small {
    font-size: 14px;
    color: #666;
    display: block;
}

.book-table p {
    margin-bottom: 20px;
    width: 100%;
    float: left;
}

.book-table label {
    margin-right: 10px;
    width: calc(30% - 10px);
    text-align: right;
    display: block;
    float: left;
    box-sizing: border-box;
    padding-right: 10px;
    vertical-align: middle;
    padding-top: 5px;
}

.book-table label.alt {
    padding-top: 55px;
}

.book-table input {
    height: 30px;
    padding: 0;
    display: block;
    float: left;
    box-sizing: border-box;
    border: solid 1px #ccc;
    width: 70%;
    text-indent: 10px;
    vertical-align: middle;
    font-family: inherit;
}

.book-table textarea {
    height: 150px;
    width: 70%;
    float: left;
    display: block;
    text-indent: 10px;
    font-family: inherit;
    border: solid 1px #ccc;
    box-sizing: border-box;
    padding-top: 5px;
}

.book-table input[type=submit] {
    background-color: transparent;
    border: solid 1px #333;
    padding: 10px;
    display: block;
    margin: 0 auto 20px;
    height: auto;
    cursor: pointer;
    transition: all 0.6s;
    text-indent: 0;
    width: 100%;
}

.book-table input[type=submit]:hover {
    background-color: #333;
    color: #fff;
}

.book-table iframe {
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
    height: 70vh;
}

#book {
    padding-top: 10vh;
}

#book p {
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 600;
}

.book-message {
    margin: 20px;
}

/* ==================================== Notifications === */

.notify-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 80000;
    display: flex;
    padding: 60px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.notify-box {
    background: #fff;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.notify-box .title {
    display: block;
    color: #2a333a;
    font-size: 1.85em;
    font-weight: 400;
    line-height: 1.2em;
    margin-bottom: 0.4em;
}

.notify-box button {
    background-color: transparent;
    border: solid 1px #333;
    padding: 10px;
    display: block;
    margin: 10px auto 20px;
    height: auto;
    cursor: pointer;
    transition: all 0.6s;
    text-indent: 0;
    width: 100%;
}

.notify-box button:hover {
    background-color: #333;
    color: #fff;
}

/* ========================================================================================== */
/* ======================================================================= Media Queries ==== */
/* ========================================================================================== */

@media only screen and (max-width: 1199px) {
    .arrow {
        display: none;
    }
}


@media only screen and (min-width: 850px) and (max-width: 1024px) and (orientation: landscape) {
    .content {
        height: auto !important;
        padding: 70px 0px 0px 0px !important;
    }
}


@media only screen and (min-width: 850px) and (max-width: 1024px) and (orientation: portrait) {
    .content {
        height: auto !important;
        padding: 70px 0px 0px 0px !important;
    }
}


@media only screen and (max-width: 849px) {
    #find-us iframe {
        height: 400px;
    }

    #home {
        padding: 100px 0px 0px;
        height: auto;
    }

    #opening-hours {
        padding: 85px 0px 0px;
    }

    #menus {
        padding: 100px 0px 0px;
    }

    #news-offers {
        padding: 80px 0px 0px;
    }

    #private-hire {
        padding: 100px 0px 0px;
    }

    #find-us {
        padding: 100px 0px 0px;
    }

    .box.text {
        width: 100%;
        padding: 0px 100px;
    }

    .box.gallery {
        width: 100%;
    }

    a.book {
        display: block;
        position: relative;
        right: 0;
        top: 0;
    }

    a.book:hover {
        margin-top: 0px;
    }
}


@media only screen and (max-width: 767px) {
    #find-us iframe {
        height: 300px;
    }

    .box.text img {
        max-width: 100%;
    }

    .box.text {
        padding: 0px 10px;
    }

    .mobile-button {
        display: block;
        font-family: josefin-sans, helvetica, arial, sans-serif;
        text-decoration: none;
        font-weight: 400;
        color: #333;
        padding: 5px 20px;
        display: block;
        background: url("../img/white-wash.jpg");
        font-size: 3em;
        cursor: pointer;
        text-transform: uppercase;
        line-height: 1em;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10000;
    }

    nav ul {
        margin: 0px;
        text-align: center;
        border-bottom: 1px solid #ccc;
    }

    nav ul li {
        display: block;
        margin: 0px;
        border-top: 1px solid #ccc;
    }

    nav ul li a {
        font-family: josefin-sans, helvetica, arial, sans-serif;
        text-transform: uppercase;
        text-decoration: none;
        font-weight: bold;
        color: #333;
        padding: 15px;
        display: block;
        background: url("../img/white-wash.jpg");
    }

    nav ul li a:hover {
        color: #666;
        text-decoration: underline;
    }

    #find-us {
        padding-bottom: 150px;
    }
}
