/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   @import url('https://fonts.googleapis.com/css?family=Forum|Italiana');
*{
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
}
body {
    font-family: 'Forum', cursive;
    height: auto;
    width: 100%;
    font-size: 16px;
    margin: auto;
    color: #081B33;
    -webkit-font-smoothing: antialiased;
    background-color: #F2F2F2;
}

a {
    text-decoration: none;
}
h1, h2, h4 {
    font-family: 'Italiana', serif;
}


h3 {
    color: #E54A35;
    margin: 2em 0 1.5em 0;
}

button {
    color: rgba(8,27,51,1);
    height: 70px;
    width: 150px;
    border-width: medium;
    border-color: rgba(8,27,51,1);
    background: transparent;
    margin-top: 2em;
    text-transform: uppercase;


}

button a {
    text-decoration: none;
    color: inherit;
}

button:hover {
    background: rgba(8,27,51,1);
    color: white;
}

#wrapper {
    height: 100%;
    width: 100%;
    margin: auto;
}
header {
    display: none;
}

.mobile-header {
    width: 100%;
    height: 100px;
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 2em 0;
    padding: 1.5em;
}

.mobile-header h2 a {
    color: inherit;
}
.mobile-header nav {
    display: block;
    width:100%;
    position:absolute;
    top:0;
    left:0;
    padding: 1em;
    padding-top:0;
    padding-bottom:0;
    display:none;
    text-align:center;
    border-bottom: 1px solid #081B33;
    font-size: 85%;
    background-color: #F2F2F2;
}
.mobile-header nav div {
    width: 100%;
    text-transform: uppercase;
    text-align:center;
    position: relative;
}
.mobile-header nav div a {
    padding: 1.2em;
    text-transform:uppercase;
    color: inherit;
    text-decoration: none;
    letter-spacing: .07em;
    width: 100%;
    height: 100%;
    display: block;
}
.mobile-header nav div:last-of-type {
    border-bottom: 0;
}
.mobile-header nav .menu-close {
    text-transform: uppercase;
    letter-spacing: .07em;
    font-size: .8em;
    padding: 2em 0;
    cursor: pointer;
}
.mobile-header .header-symbol {
    position: absolute;
    height: 107px;
    width: 90px; /*107px*/
    left: -10px; /*0*/
    top: 0;
    /*margin-left: 2.5%;*/
}
.mobile-header .header-symbol .material-icons {
    position: relative;
    top: 35%;
    -webkit-transform:translateY(-50%) ;
       -moz-transform:translateY(-50%) ;
        -ms-transform:translateY(-50%) ;
         -o-transform:translateY(-50%) ;
            transform:translateY(-50%) ;
}
.mobile-header .btn-menu {
    cursor: pointer;
}
.mobile-header h2 {
    margin-left: 5.5%;
}

.mobile-nav h2 {
    color: white;
}

.mobile-nav div a.active {
        color: #E54A35 ;
    }
}

nav, #snav {
    text-transform: lowercase;
}

ul a {
    text-decoration: none; 
    color: #081B33;
}

main {
    line-height: 1.5em;
}

section, .rates, #gallery, footer {
    margin: 2em;
}

.banner { 
    width: 100%;
    height: 190px;
    margin: 0;
 }
.banner img {
    height: 98%;
    width: 100%;
}

.banner h1, .banner h3 {
    text-align: center;
}

.banner h3 {
    padding-top: 1em;
}

.banner h1 {
    font-size: 2.6em;
    line-height: 1em;
    margin-top: 0;
}

#hban {
    background-color: rgba(8,27,51,1);
    background: url('../img/img-1.png');
    background-position: center;
    background-size: cover;
}

#hban h1 {
    font-size: 2em; 
}

#hban h1 {
    color: white;
}

.half-width {
    margin-bottom: 2em;
}

.half-width h2 {
    margin: 2em 0 1.5em 0;
}

.llc h3, .tlp h3, .rates h3 {
    margin: 2em 0 .5em 0;
}

.llc p, .tlp p {
    font-size: 1.3em;
    line-height: 1.4em;
}

#quote {
    text-align: center;
    border-top: 1.5px solid #ccc;
    padding: 3em 0;
    font-size: 1.5em;
}

.cform {
    border-top: 1.5px solid #ccc;
}

.cform h2 {
    text-align: center;
    margin: 1.5em 0;
}

.ccform {
        width: 90%;
        margin-top: 2em;
    }

    .ccfield-prepend {
        margin-bottom: 1.5em;
        width: 85%;
    }

    .ccformfield {
        background:white;
        border: 1px solid #ccc;
        padding: 15.5px;
        width: 100%;
        display: block;
        font-size: 14px;
        height: 50px;
    }


    #message {
        height: auto;
    }

    .ccbtn{
        display:block;
        background: transparent;
        color: rgba(8,27,51,1);
        height: 50px;
        width: 150px;
        border-width: medium;
        border-color: rgba(8,27,51,1);
        cursor:pointer;
        text-decoration:none;
        text-transform: uppercase;
    }

    .ccbtn:hover{
        background: rgba(8,27,51,1);
        color: white;

    }


.rates p:last-of-type {
        line-height: 5em;
    }

.rates {
    border-top: 1.5px solid #ccc;
}

.half-width p, #about p {
   margin-bottom: 1.5em;
}

.ccfield-prepend p {
        margin-bottom: 0;
    }

#about p:last-of-type {
    float:right
}

.gallery {
    width: 80%;
}

.rsv {
    border-bottom: 1px solid #ccc;
    margin: 2em 0;
    text-align: center;
    padding: 1em;
}

.rsv:last-of-type {
    border-bottom: none;
}

.rsv-one h2 {
    margin-bottom: 1.5em;
}
footer {
    clear: both;
    line-height: 1.5em;
    border-top: 1.5px solid #ccc;
}

#snav {
    margin-top: 1.5em;
}

footer ul a {
    color: #E54A35;
}

#snav {
    margin-bottom: 1em;
}

.rsv form {
    margin-top: 10%;
}


















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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 768px) {
    /* Style adjustments for viewports that meet the condition */
    .banner {
        clear: both;
        margin: 0;
        height: 300px;
    }

    #hban h1 {
       font-size: 2.6em;
    }

    /*#hban {
        height: 300px;
    }*/

    section, footer {
        margin: 2em;
    }

    .half-width {
        width: 48%; 
        float: left;
        padding: 2em;
    }

     #half-width-one {
        width: 55%;
    }

    #half-width-two {
        width: 40%;
        margin-left: 2.2em;

    }

    #quote {
        clear: both;
        margin: 0 10em;
        padding: 2em;
        font-size: 1.3em;
        line-height: 1.5em;

    }

    .cform {
       /* margin: 0 15em;*/
        padding: 5em;
    }

    .rates, #gallery {
        padding: 2em;
        float: left;
    }

    .rates {
        width: 35%;
    }

    #gallery {
        width: 45%;

    }

    .rsv {
        display: inline-block;
        width: 100%;
        text-align: left;
        padding: 0;
    }

    .rsv img, .rsv-one {
        float: left;
    }

    .rsv img {
        width: 40%;
    }

    .rsv-one {
        width: 40%;
        margin: 2em 0 2em 9em;
    }

    footer {
        padding: 2em;
    }

    #snav {
        margin-bottom: 1.5em;
    }
}

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

    .mobile-header {
        display: none;
    }

    header {
        width: 100%;
        height: 200px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin: 20px;
        padding: 10px;
    }

    header a {
        color: #E54A35;
        text-decoration: none;
    }

    header h2 {
        font-size: 2.5em;
        text-transform: uppercase;
    }

    nav, #snav {
        text-transform: lowercase;
    }

    nav a.active {
        color: #E54A35 ;
    }

    ul a {
        text-decoration: none; 
        color: #081B33;
    }

    nav ul a {
        padding: .5em;
    }

    .banner h1 {
        font-size: 4em;
        padding: 0 3em;
    }

    #hban h1 {
        font-size: 4em;
    }

    #half-width {
        margin-right: 1em;
    }

    #half-width-one, #half-width-two {
        margin-right: 0;
    }

    #half-width-two {
        margin-left: 2.5em;
    }

    #quote {
        margin: 0 10em;
        padding: 2.5em;
        font-size: 1.5em;
        line-height: 1.5em;
    }

    .cform {
         margin: 0 15em;
    }


    .rsv-one form {
    margin-top: 10%;
    }

}

@media only screen and (min-width: 1200px) {
    #half-width-two {
        margin-left: 3.5em;
    }

    #quote {
        font-size: 1.5em;
        margin: 0 15em;
        padding: 5em;
        line-height: 1.5em;
    }

    .rsv-one {
        margin-left: 10em;
    }
}


@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
