* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
body {
    line-height: 1.7em;
    color: #7f8c8d;
    font-size: 13px;
}

h1,
h2,
h3,
h4,
h5,
h6,
label {
    color: #34495e;
}

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

/*
 * -- LAYOUT STYLES --
 * These are some useful classes which I will need
 */
.l-box {
    padding: 1em;
}

.l-box-lrg {
    padding: 2em;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.is-center {
    text-align: center;
}



/*
 * -- PURE FORM STYLES --
 * Style the form inputs and labels
 */
.pure-form label {
    margin: 1em 0 0;
    font-weight: bold;
    font-size: 100%;
}

.pure-form input[type] {
    border: 2px solid #ddd;
    box-shadow: none;
    font-size: 100%;
    width: 100%;
    margin-bottom: 1em;
}

.pure-menu-link {
    padding: .5em .5em;
}

/*
 * -- PURE BUTTON STYLES --
 * I want my pure-button elements to look a little different
 */
.pure-button {
    background-color: #1f8dd6;
    color: white;
    padding: 0.5em 0.5em;
    border-radius: 5px;
}

a.pure-button-primary {
    background: transparent;
    color: black;
    border-radius: 15px;
    font-size: 150%;
    border: 4px solid dodgerblue;
    font-weight: 600;
    color: dodgerblue;
}

a.pure-button-primary:hover,.pure-button-primary:focus {
    background: dodgerblue;
    color: white;
}


.alternative a {
    color: white !important;
    font-weight: bold;
}

.alternative a:hover {
    color: black !important;
    font-weight: bold;
}

.alternative .pure-menu-selected a {
    color: black !important;
    font-weight: bold;
    text-decoration: underline;
}

.alternative .pure-menu-children {
    /* text-align: center; */
    font-size: medium;
    background: #eee;
    border-left: solid 5px #fbaf3f;
    width: 385px;
}

.alternative .pure-menu-children a {
    color: black !important;
    font-weight: normal;
    text-decoration: none;
}

.alternative .pure-menu-children a:hover {
    color: black !important;
    font-weight: bold;
}

/*
 * -- MENU STYLES --
 * I want to customize how my .pure-menu looks at the top of the page
 */

.home-menu {
    padding-left: 0.5em;
    text-align: center;
    box-shadow: 0 1px 1px rgba(0,0,0, 0.10);
    background-color: white;
    font-size: 20px;
}

.pure-menu.pure-menu-fixed {
    /* Fixed menus normally have a border at the bottom. */
    border-bottom: none;
    /* I need a higher z-index here because of the scroll-over effect. */
    z-index: 4;
}

.home-menu .pure-menu-heading {
    color: white;
    font-weight: 400;
    font-size: 120%;
}

.home-menu .pure-menu-selected a {
    color: white;
}

.home-menu a {
    color: #6FBEF3;
    font-weight: bold;
}
.home-menu li a:hover,
.home-menu li a:focus {
    background: none;
    border: none;
    color: #AECFE5;
}


/*
 * -- SPLASH STYLES --
 * This is the blue top section that appears on the page.
 */
.splash-container {
    background: url(../../img/background.png) no-repeat fixed;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed !important;
    background-size: cover;
    background-position: center -100px;
}

.splash {
    /* absolute center .splash within .splash-container */
    /* width: 100%; */
    height: 50%;
    margin: 0px auto;
    position: absolute;
    top: 100px; left: 0; bottom: 0; right: 0;
    text-align: center;
    text-transform: uppercase;
}

/* This is the main heading that appears on the blue section */
.splash-head {
    font-size: 20px;
    font-weight: bold;
    color: black;
    padding: 0.5em;
    font-weight: 100;
    border-radius: 5px;
    line-height: 1em;
    text-align: center;
}

/* This is the subheading that appears on the blue section */
.splash-subhead {
    color: white;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/*
 * -- CONTENT STYLES --
 * This represents the content area (everything below the blue section)
 */
.content-wrapper {
    /* These styles are required for the "scroll-over" effect */
    position: absolute;
    top: 93%;
    width: 100%;
    min-height: 12%;
    z-index: 2;
    background: white;

}

/* We want to give the content area some more padding */
.content {
    padding: 0em 1em 3em;
}

/* This is the class used for the main content headers (<h2>) */
.content-head {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    color: white;
    margin-top: 0.5em;
    /* margin: 0.5em 0 1em; */
}

.content-bar {
    display: inline-flex;
    margin: 0.5em 0 1em;

}

/* This is a modifier class used when the content-head is inside a ribbon */
.content-head-ribbon {
    color: white;
}

/* This is the class used for the content sub-headers (<h3>) */
.content-subhead {
    color: #1f8dd6;
}
    .content-subhead i {
        margin-right: 7px;
    }

/* This is the class used for the dark-background areas. */
.ribbon {
    background: #2d3e50;
    color: white;
}

/* This is the class used for the footer */
.footer {
    background: darkgray;
    position: fixed;
    bottom: 0;
    width: 100%;
    color: #ffffffc8;
    box-shadow: 0px -1px 1px rgba(0,0,0, 0.10);
}

.icon {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900;
}

.cars {
    max-width: 980px;
    margin: 70px auto 50px auto;
    letter-spacing: 0.1em;
}

.cars .l-box {
    padding: 1em;
    margin: 1em;
    background: white;
    box-shadow: 0 1px 1px rgba(0,0,0, 0.10);
}


.pure-table {
    width: 100%;
    line-height: 1em;
    border-collapse: collapse;
    border-spacing: 0;
    empty-cells: show;
    border: none;
}

.pure-table td {
    border: none;
}

.contact {
    margin: 100px auto;
    background: white;
    max-width: 800px;
    justify-content: center;
    padding-top: 30px;
    box-shadow: 0 1px 1px rgba(0,0,0, 0.10);
}

.justify {
    text-align: justify;
}

.main-color {
    color: #34495e;
}

.show {
    display:block;
}

.submenu.pure-menu-children {
    font-size: medium;
    margin: 3px 0 0 0;
    -moz-box-shadow-bottom: 1px 1px 1px grey;
    -webkit-box-shadow-bottom: 1px 1px 1px grey;
    box-shadow: 1px 1px 1px grey;
}

.pure-menu-children hr{
    border: none;
    height: 1px;
    color: #6fbef3;
    background-color: #6fbef3;
    margin: 0 10px;
}

.pure-menu-children .pure-menu-link{
    font-weight: normal;
    padding: 2px 10px;
}

.pure-menu-has-children>.pure-menu-link:after {
    padding-left: 1px;
    font-size: large;
    font-weight: bolder;
    display: inline-block;
}


/* GALLERY */
/* The grid: Four equal columns that floats next to each other */
.column {
    float: left;
    width: 25%;
    padding: 10px;
  }
  
  /* Style the images inside the grid */
  .column img {
    opacity: 0.8;
    cursor: pointer;
  }
  
  .column img:hover {
    opacity: 1;
  }
  
  /* Clear floats after the columns */
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* The expanding image container (positioning is needed to position the close button and the text) */
  .container {
    position: relative;
    display: none;
  }
  
  /* Expanding image text */
  #imgtext {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-size: 20px;
  }
  
  /* Closable button inside the image */
  .closebtn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    font-size: 35px;
    cursor: pointer;
  }


/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 * On tablets and other medium-sized devices, we want to customize some
 * of the mobile styles.
 */
@media (min-width: 48em) {

    /* We increase the body font size */
    body {
        font-size: 16px;
    }

    /* We can align the menu header to the left, but float the
    menu items to the right. */
    .home-menu {
        text-align: left;
    }
    
    .home-menu ul {
        /* float: right; */
    }

    /* We decrease the width of the .splash, since we have more width
    to work with */
    .splash {
        width: 50%;
        height: 50%;
    }

    .splash-head {
        font-size: 250%;
    }


    /* We remove the border-separator assigned to .l-box-lrg */
    .l-box-lrg {
        border: none;
    }
}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 * On desktops and other large devices, we want to over-ride some
 * of the mobile and tablet styles.
 */
@media (min-width: 78em) {
    /* We increase the header font size even more */
    .splash-head {
        font-size: 300%;
    }
}

@media (max-width: 48em) {
    .pure-menu-horizontal .pure-menu-list
    {
        display: block !important;
    }

    .cars {
        margin: 100px auto 50px auto !important;
    }

    .submenu.pure-menu-children {
        position: fixed;
        left: 50%;
        transform: translate(-50%, 0);
        margin: 0;
    }
}