/*! 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, body {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

div#container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}


/*
 * 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
   ========================================================================== */


/*FONT IMPORT*/
@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700|Merriweather:300,400,700');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@font-face {
    font-family: selima;
    src: url(../fonts/Selima.otf);
}

body{
    font-family: 'Lato', sans-serif;
    color: white;
}

h3{
    text-shadow: 0 0 5px #333;
}

input[type=search] {
    -webkit-appearance: none;
    appearance: none;
}

.hide{
    transform: scale(.9);
    opacity: 0 !important;
    -webkit-transition: opacity 1s ease;
    transition: opacity 1s ease;
    height: 0 !important;
    overflow: hidden;
}

.blur{
    filter:blur(5px);
    transform: scale(1.04);
    -webkit-transition: all 1s ease;
    transition: all .2s ease;
}

/* src = https://www.facebook.com/sporesportshub/photos/a.163332007066309.42475.163330500399793/983348311731337/?type=3&theater*/

.bg {
    /*background: url("../img/DJI_0007.jpg") no-repeat center fixed;*/
    background: url("https://static.pexels.com/photos/4827/nature-forest-trees-fog.jpeg") no-repeat center fixed;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    height: 100%;
    width: 100%;
    position: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
    -webkit-transition: all 1s ease;
    transition: all .2s ease;
}


hr{
    width: 10%;
    border-top: 3px solid #2489CE;
    margin: auto;
}

.clickable {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
    -o-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);

}

.clickable:hover {
    transition: box-shadow .2s ease;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
    -o-box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
    -webkit-box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

header {
    text-align: center;
    width: 100%;
    position: fixed;
    z-index: 999;
}

header>img {
    margin-top: 10px;
}

input.search-box {
    width: 90%;
    padding: 10px;
    color: #1f1f1f;
    margin: auto;
    border-radius: 3px;
    border: 0px;
    font-size: 20px;
}

.closebtn{
    position: fixed;
    bottom: 40px;
    margin: auto;
    width: 40px;
    transform: translate(-50%);
}

.backbtn{
    position: fixed;
    top: 47px;
    left: 20px;
    color: #666;
}
i.fa.fa-home.homebtn {
    position: fixed;
    top: 20px;
    left: 12px;
    color: #2489CE;
    font-size: 2em;
}
.filterbtn{
  position: fixed;
  top: 47px;
  right: 20px;
  color: #666;
}

.explorehome{
    margin-top:130px;
    text-align: center;
}

.search{
    margin-top: 10px;
}

.search-box.active{
    width: 85%;
    padding-left: 30px;
}

.animate-closebtn>{

}
/*recent*/
.recent-search{
    opacity: 1;
    transform: scale(1);
    -webkit-transition: opacity 1s ease;
    transition: opacity 1s ease;
}


ul.recent-list{
    list-style: none;
    margin: 0;
    padding:0 ;
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    height: 170px;
    white-space: nowrap;
  }

ul.recent-list>li{
    vertical-align: top;
    background: white;
    color: #1f1f1f;
    padding: 5px;
    margin: 5px auto;
    width: 100px;
    height: 150px;
    display: inline-block;
    white-space:normal;
}

.recent-list-img{
    width: 100%;
    height: 100px;
    overflow:hidden;

}
/* nearby */
.nearby-search{
    opacity: 1;
    transform: scale(1);
    -webkit-transition: opacity 1s ease;
    transition: opacity 1s ease;
}


ul.nearby-list{
    list-style: none;
    margin: 0;
    padding:0 ;
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    height: 170px;
    white-space: nowrap;
  }

ul.nearby-list>li{
    vertical-align: top;
    background: white;
    color: #1f1f1f;
    padding: 5px;
    margin: 5px auto;
    width: 100px;
    height: 150px;
    display: inline-block;
    white-space:normal;
}

.nearby-list-img{
    width: 100%;
    height: 100px;
    overflow:hidden;
}

.recent-nearby-search {
    font-weight: bold;

}

label.recent-nearby-label {
    padding: 15px;
    color: black;
    width: 35%;
    margin: auto;
    display: inline-block;
    border-bottom: 3px solid transparent;

}

input.recent-nearby-radio{
    display: none;
}

.recent-nearby-search input[type="radio"]:checked + .recent-nearby-label {
    border-bottom: 3px solid #2489CE;
}

.mainnav {
    opacity: 1;
    position: fixed;
    margin: 0 auto;
    margin-top: 110px;
    left: 50%;
    transform: translateX(-50%) scale(1);
    transform-origin: center left;
}

.mainnav>div {
    width: 100px;
    height: 100px;
    background: white;
    color: black;
    margin: 4vh auto;
    text-align: center;
    vertical-align: middle;
    line-height: 100px;
    border-radius: 50%;
    font-family: selima, sans-serif;
    font-size: 1.5em;
}

.cards {
    opacity: 1;
    overflow-y: auto;
    min-width: 100%;
    text-align: center;
    align-content: center;
    align-items: center;
    align-self: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 130%;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;

}

.card {
    text-align: left;
    min-height: 100px;
    max-width: 90%;
    background: white;
    color: black;
    margin: 7px auto;
    padding: 15px;
    border-radius: 3px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);

}

.card.dark {
    background: #1f1f1f;
    color: white;
}

.card.blue {
    background: #03A9F4;
    color: white;
}

.card.weather {
    min-height: 45px;
    display: block;
}

.card.weather>.text {
    display: inline-block;
    padding-left: 10px;
}

.weather-icon {
    display: inline-block;
    vertical-align: top;
}

.weather-icon>svg {
    width: 40px;
}

/* ==========================================================================
   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: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

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