.mdl-layout__drawer hr {
    margin: 0.5em 0;
}

.mdl-layout__drawer .mdl-layout-title {
    line-height: 42px;
    display: inline-block;
}

.mdl-layout__drawer > details > summary {
    padding-left: 15px;
    cursor: pointer;
    outline: none;
}

.mdl-layout__drawer .mdl-layout-title:first-of-type {
    line-height: 60px;
}

.plots-buttons {
    text-align: center;
    margin: 0 auto;
}

.plots-buttons button {
    margin: 1em 1em;
}

#time_series svg {
    cursor: crosshair;
}

#time_series .help {
    position: absolute;
    text-align: center;
    font-size: 0.9em;
    font-style: italic;
    color: darkgrey;
    display: none;
}

#time_series:hover .help {
    display: block;
}

#time_series svg .brush .selection {
    fill: #efa02c;
    fill-opacity: 0.382;
}

.axis path, .axis line {
    fill: none;
    /*{#      stroke: #f4f4f4;#}*/
    shape-rendering: crispEdges;
    stroke-width: 1px;
}

path.line {
    fill: none;
    stroke: steelblue;
    stroke-width: 1px;
}

path.predictive-line {
    fill: none;
    stroke: #ff4081;
    stroke-width: 2px;
}

circle.cursor-circle {
    fill: black;
    stroke: rgba(20, 20, 20, 0.48);
}

text.cursor-text {
    /*{#      font-family: 'Ubuntu', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', sans-serif;#}*/
    /*{#      font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;#}*/
    font-family: "Ubuntu Mono", 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
    text-align: right;
}

text.cursor-text-shadow {
    stroke: white;
    stroke-width: 5px;
    opacity: 0.777
}

path.orbit.orbit_section {
    fill: none;
    stroke: steelblue;
    stroke-width: 1.5px;
}

ellipse.orbit.orbit_ellipse {
    fill: none;
    stroke: #a3a3a3;
    stroke-width: 1px;
    stroke-dasharray: 5px;
}

#form_time_interval {
    padding-left: 30px;
}

#form_time_interval .mdl-textfield {
    padding-top: 0;
}

#started_at, #stopped_at {
    width: 85%;
}

.section-drawer {
    padding-left: 3em;
}

.targets-filters {
    padding-left: 17px;
}

.targets-filters .target {
    float: left;
    cursor: pointer;
    position: relative;
}

.targets-filters .target:not(.active) {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    /*{#          -ms-filter: grayscale(100%);#}*/
    filter: grayscale(100%);
}

.targets-filters .target.locked {
    cursor: not-allowed;
}

.targets-filters .target.loading {
    -webkit-animation-name: keyframes_rotate;
    -webkit-animation-duration: 4000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: keyframes_rotate;
    -moz-animation-duration: 4000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: keyframes_rotate;
    -ms-animation-duration: 4000ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
    animation-name: keyframes_rotate;
    animation-duration: 4000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.targets-filters .target .decorator {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.targets-filters .target.empty .decorator.empty {
    display: block;
}

.targets-filters .target.error .decorator.error {
    display: block;
}

.targets-filters .target .decorator.loading {
    top: 19px;
    left: 19px;
}

.targets-filters .target.loading .decorator.loading {
    display: block;
}

#parameters .parameter {
    outline: 0;
    padding-top: 7px;
    padding-bottom: 7px;

}

#parameters .parameter.active {
    background-color: #c8d3e1;
}

.option-layer-campaign.loading {
    background: #00acc1;
}


/* Preview Box */

#time_series_cursor_morebox {
    margin-top: 1em;
    padding-left: 7%;
    padding-right: 7%;
}
#time_series_cursor_image_link:focus {
    outline: none;
}
#time_series_cursor_image {
    width: 100%;
}
#time_series_cursor_link {
    display: block;
}
#time_series_cursor_image_extra {
    text-align: center;
    padding-top: 1em;
}
#time_series_cursor_image_comment {
    /*text-align: center;*/
}
#time_series_cursor_image_comment *[title]{
    text-decoration: dotted lightskyblue;
}

/*{# CSS Spinners #}*/

#download_spinner {
    display: none;
    top: 2px;
    left: 4px;
    width: 14px;
    height: 14px;
}

#plots_loader {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
}

#plots_loader .loader-text {
    width: 200px;
    height: 30px;
    position: absolute;
    top: -240px;
    left: -32px;
    bottom: 0;
    right: 0;
    margin: auto;
    text-align: center;
    font-size: 1.0em;
    font-style: italic;
    color: darkgrey;
}

#plots_loader .img {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    position: absolute;
    border: 1px solid #6978ff;
    animation: keyframes_rotate 1s;
    animation-iteration-count: infinite;
    transition: 2s;
    border-bottom: none;
    border-right: none;
    animation-timing-function: linear;
    margin-left: -70px;
    margin-top: -70px;
    left: 50%;
    top: 50%;
}

#plots_loader #plots_loader_img2 {
    width: 90px;
    height: 90px;
    left: 50.35%;
    top: 50.7%;
    animation-delay: .2s;
}

#plots_loader #plots_loader_img3 {
    width: 80px;
    height: 80px;
    left: 50.70%;
    top: 51.4%;
    animation-delay: .4s;
}

#plots_loader #plots_loader_img4 {
    width: 70px;
    height: 70px;
    left: 51.05%;
    top: 52.1%;
    animation-delay: .6s;
}

#plots_loader #plots_loader_img5 {
    width: 60px;
    height: 60px;
    left: 51.40%;
    top: 52.8%;
    animation-delay: .8s;
}

@keyframes keyframes_rotate {
    from {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.small-loader-container {
    width: 27px;
    margin: 0 auto;
    background: none;
    pointer-events: none;
}

.small-loader-circle-1 {
    height: 27px;
    width: 27px;
    background: rgba(255, 238, 195, 0.72);
}

.small-loader-circle-2 {
    height: 22px;
    width: 22px;
    background: none;
}

.small-loader-circle-3 {
    height: 18px;
    width: 18px;
    background: rgba(29, 65, 255, 0.9);
}

.small-loader-circle-4 {
    height: 13px;
    width: 13px;
    background: none;
}

.small-loader-circle-5 {
    height: 9px;
    width: 9px;
    background: rgba(238, 238, 238, 0.8);
}

.small-loader-circle-6 {
    height: 4px;
    width: 4px;
    background: none;
}

.small-loader-circle-7 {
    height: 2px;
    width: 2px;
    background: rgb(110, 102, 255);
}

.small-loader-circle-1,
.small-loader-circle-2,
.small-loader-circle-3,
.small-loader-circle-4,
.small-loader-circle-5,
.small-loader-circle-6,
.small-loader-circle-7 {
    border-bottom: none;
    border-radius: 50%;
    -o-border-radius: 50%;
    -ms-border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1);
    -o-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1);
    animation-name: small-loader-spin;
    -o-animation-name: small-loader-spin;
    -ms-animation-name: small-loader-spin;
    -webkit-animation-name: small-loader-spin;
    -moz-animation-name: small-loader-spin;
    animation-duration: 4600ms;
    -o-animation-duration: 4600ms;
    -ms-animation-duration: 4600ms;
    -webkit-animation-duration: 4600ms;
    -moz-animation-duration: 4600ms;
    animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
    -ms-animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-timing-function: linear;
    -o-animation-timing-function: linear;
    -ms-animation-timing-function: linear;
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function: linear;
}

@keyframes small-loader-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@-o-keyframes small-loader-spin {
    from {
        -o-transform: rotate(0deg);
    }
    to {
        -o-transform: rotate(360deg);
    }
}

@-ms-keyframes small-loader-spin {
    from {
        -ms-transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
    }
}

@-webkit-keyframes small-loader-spin {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes small-loader-spin {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(360deg);
    }
}
