/*! HTML5 Boilerplate v4.3.0 | MIT License | https://h5bp.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: h5bp.com/i
 * 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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
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;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles

   1. #header
   2. #zoomControl
   3. #toolbar
   ========================================================================== */

body
{
    background-color: #222;
    color: #fff;
    font-family: 'Arial';
    overflow: hidden;
    font-size: 14px;
}

.gradient {
   filter: none;
}

.floatLeft
{
    float: left;
}

.floatRight
{
    float: right;
}

.shiftLeft40
{
    margin-left: 40px;
}

.nagetiveRing.whiteFont
{
    color: #ffffff;
}

.qCardBlackFont
{
    color: #000000;
}


#header
{
    padding-top: 10px;
    padding-bottom: 10px;

    overflow: auto;
    clear: both;

    border-bottom: 1px solid #444;
    background-color: #131313;

    box-sizing: border-box;
}

    #header .leftLogo
    {

        float: left;
        margin-left: 10px;
    }

    #header .rightLogo
    {
        float: right;
        margin-right: 20px;
        margin-top: 10px;
    }

    #header .rightLogo .fa
    {
        margin-right: 5px;
    }

    #header .btn
    {
        cursor: pointer;
        display: inline-block;
        margin-left: 8px;
    }

    #header .btn:hover
    {
        color: #6dd0f7;
    }


    #header .searchBox,
    #header .searchBtn,
    #header .clearSearchBtn
    {
        display: inline-block;
    }

    #header .searchBox
    {
        padding-left: 10px;
    }


    #header .searchBtn.btn,
    #header .clearSearchBtn.btn
    {
        margin-left: 0px;
        padding: 2px 6px;
/*        border: 1px solid #888;
        border-radius: 2px;
        background-color: #121212;*/
    }



/* ZOOM CONTROL PANEL */
#zoomControl
{
    background: #e1ffff;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2UxZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjclIiBzdG9wLWNvbG9yPSIjZTFmZmZmIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTIlIiBzdG9wLWNvbG9yPSIjZTFmZmZmIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTIlIiBzdG9wLWNvbG9yPSIjZmRmZmZmIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMzAlIiBzdG9wLWNvbG9yPSIjZTZmOGZkIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNTQlIiBzdG9wLWNvbG9yPSIjYzhlZWZiIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNzUlIiBzdG9wLWNvbG9yPSIjYmVlNGY4IiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2IxZDhmNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
    background: -moz-linear-gradient(left,  #e1ffff 0%, #e1ffff 7%, #e1ffff 12%, #fdffff 12%, #e6f8fd 30%, #c8eefb 54%, #bee4f8 75%, #b1d8f5 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#e1ffff), color-stop(7%,#e1ffff), color-stop(12%,#e1ffff), color-stop(12%,#fdffff), color-stop(30%,#e6f8fd), color-stop(54%,#c8eefb), color-stop(75%,#bee4f8), color-stop(100%,#b1d8f5));
    background: -webkit-linear-gradient(left,  #e1ffff 0%,#e1ffff 7%,#e1ffff 12%,#fdffff 12%,#e6f8fd 30%,#c8eefb 54%,#bee4f8 75%,#b1d8f5 100%);
    background: -o-linear-gradient(left,  #e1ffff 0%,#e1ffff 7%,#e1ffff 12%,#fdffff 12%,#e6f8fd 30%,#c8eefb 54%,#bee4f8 75%,#b1d8f5 100%);
    background: -ms-linear-gradient(left,  #e1ffff 0%,#e1ffff 7%,#e1ffff 12%,#fdffff 12%,#e6f8fd 30%,#c8eefb 54%,#bee4f8 75%,#b1d8f5 100%);
    background: linear-gradient(to right,  #e1ffff 0%,#e1ffff 7%,#e1ffff 12%,#fdffff 12%,#e6f8fd 30%,#c8eefb 54%,#bee4f8 75%,#b1d8f5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e1ffff', endColorstr='#b1d8f5',GradientType=1 );

    position: absolute;
    right: 0;

    border-radius: 4px 0 0 4px;
    box-shadow: 0 0 3px 3px rgba(0,0,0,0.9);
    color: #222;

    top:50%;
    margin-top: -100px;

    padding: 0 5px;
}

    #zoomControl > div
    {
        text-align: center;
        padding: 5px 0;

        cursor: pointer;
    }

    #zoomControl > div:hover
    {
        color: #0072bc;
    }

    .refresh
    {
        border-bottom: 1px solid #555;
    }

    .reCenter
    {
        border-top: 1px solid #555;
    }




/* #toolbar css */
#toolbar,
#heatmapToolbar
{
    position: absolute;
    top: 56px;
    right: 15px;
    left: 315px;
    border: 1px solid #111;
    border-top: none;
    border-radius: 0 0 4px 4px;

    background-color: rgba(30,30,30,0.9);
    box-shadow: 0 0 4px 0 rgba(0,0,0,0.5) inset;

    padding: 4px;
}

#heatmapToolbar
{
    font-size: 13px;
    right: 5px;
    left: 305px;
}

    #toolbar .floatLeft > div
    {
        float: left;
        margin-right: 10px;
    }

    #heatmapToolbar .floatLeft  div
    {
        float:left;
    }

        #toolbar .floatLeft .fa,
        #heatmapToolbar .floatLeft .fa,
        #heatmapToolbar .floatRight .fa
        {
            padding-right: 5px;
        }


    #toolbar .floatRight > div,
    #heatmapToolbar .floatRight > *
    {
        float: left;
        margin-right: 10px;
    }

    #heatmapToolbar .floatRight
    {
        margin-top: 4px;
    }

    #heatmapToolbar .floatRight select
    {
        width: 100px;
    }

    #heatmapToolbar .mapCompareDetail
    {
        margin-left: 5px;
        overflow: auto;
    }



    #toolbar label
    {
        margin-right: 8px;
        margin-top: -2px;
    }

    #toolbar label input
    {
        vertical-align: middle;
        margin-right: 3px;
        margin-left: 3px;
    }


    #toolbar .btn,
    #heatmapToolbar .btn
    {
        cursor: pointer;
    }

    #toolbar .btn:hover,
    #heatmapToolbar .btn:hover
    {
        color: #6dcff6;
    }

        #heatmapToolbar .btn.disableBtn
        {
            cursor: default;
            opacity: 0.5;

            pointer-events: none;
        }

        #heatmapToolbar .btn.disableBtn:hover
        {
            color: #ffffff;
        }


    #toolbar .dividor,
    #heatmapToolbar .dividor
    {
        margin: 0 5px 0 0;
        border-left: 1px solid #fff;
        width: 1px;
        height: 16px;
    }


    #heatmapToolbar .dividor
    {
        display: inline-block;
        height: 20px;
    }


    #heatmapToolbar select
    {
        width: 46px;
        margin-right: 5px;
        color: #333;

        font-size: 11px;
        padding: 1px 0;
    }

        #heatmapToolbar select option
        {
            line-height: 20px;
        }


        #heatmapToolbar input[type=checkbox],
        #heatmapToolbar input[type=radio]
        {
            vertical-align: middle;
            margin-right: 3px;
            margin-left: 3px;
        }


        #heatmapToolbar input[type=number]
        {
            color: #000;
            text-align: center;
            width: 40px;
        }


    #heatmapToolbar label
    {
        margin-right: 8px;
        direction: inline-block;
        float: left;

        padding: 2px 0;
    }


    #heatmapToolbar .labelSection,
    #heatmapToolbar .displaySection
    {
        margin-left: 5px;
    }

    #heatmapToolbar .floatLeft .btn
    {
        padding: 2px 4px;
        background-color: #222;
        border: 1px solid #777;
        box-shadow: 0 0 2px 0 rgba(255,255,255,0.5);
    }


    #heatmapToolbar .displayOption,
    #heatmapToolbar .mapCompareBtn.btn,
    #heatmapToolbar .exitCompareBtn.btn
    {
        margin-left: 10px;
        color: #fff9b7;
    }


    #heatmapToolbar .labelOption.btn,
    #heatmapToolbar .displayOption.btn
    {
        color: #fff9b7;
    }


    #heatmapToolbar .labelOption.btn:hover,
    #heatmapToolbar .displayOption.btn:hover,
    #heatmapToolbar .mapCompareBtn.btn:hover,
    #heatmapToolbar .exitCompareBtn.btn:hover
    {
        color: #6dcff6;
    }

    #heatmapToolbar .valueRange
    {
        padding-right: 8px;
        padding-top: 2px;
    }



    /* time lapse window holder */
    .timeLapseHolder
    {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background-color: rgba(0,0,0,0.95);

        z-index: 5002;
    }

    .timeLapseHolder .closeWindow
    {
        position: absolute;
        top: 10px;
        right: 10px;

        cursor: pointer;
    }

    .timeLapseHolder .closeWindow:hover
    {
        color: #6dcff6;
    }

    .timeLapseHolder .silderHolder
    {
        float: right;
        width: 120px;
        height: 100%;

        box-sizing: border-box;
        padding: 50px 10px 10px;
    }

    .timeLapseHolder .heatmapHolders
    {
        overflow: auto;
        /*padding: 10px;*/
        height: 100%;
    }

    .timeLapseHolder .brand
    {
        width: 50%;
        height: 50%;
        box-sizing: border-box;
        float: left;

        position: relative;
    }

    .timeLapseHolder select
    {
        width: 200px;
        color: #333;
        margin: 10px 0 0 10px;
    }

    .timeLapseHolder .timeMap
    {
        border: 1px solid #fff;
        position: absolute;
        left: 10px;
        right: 10px;
        top: 40px;
        bottom: 10px;
    }

    .timeLapseHolder .timeMap img
    {
        position: absolute;
    }


    .timeLapseHolder #slider-vertical
    {
        margin-left: 22px;
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .timeLapseHolder .startDate,
    .timeLapseHolder .endDate
    {
        text-align: center;
    }

    .timeLapseHolder .startDate
    {
        margin-top: 20px;
    }

    .timeLapseHolder .detailDate
    {
        position: absolute;
        font-size: 11px;
        font-weight: bold;
        margin-left: 38px;
    }

        .timeLapseHolder .detailDate>div
        {
            position: absolute;
            width: 80px;
        }

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers: h5bp.com/u
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers: h5bp.com/v
 */

.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: h5bp.com/p
 */

.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,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
