﻿

.roadstate-detaildlegend, .road-legend {
    margin-top: 10px;
}


.roadstate-detailedlegend-close, .spreaders-detailedlegend-close {
    cursor: pointer;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: red;
    border-radius: 10px;
    color: white;
    font-size: 12px;
    position: absolute;
    right: 10px;
    margin-top: -10px;
}



.legend-spreader-img {
    width: 40px;
    height: 40px;
    margin-bottom: -15px;
    margin-top: 5px;
}

@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('/fonts/glyphicons-halflings-regular.eot') format('eot');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('/fonts/glyphicons-halflings-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.glyphicon-road:before {
    content: "\e024";
}

.glyphicon-refresh:before {
    content: "\e031";
}

.spreader-overlap-road {
    color: #1567d7 !important;
    /*-ms-transform: rotate(-85deg) translateY(-80%) translateX(-20%)  !important;
    -webkit-transform: rotate(-85deg) translateY(-80%) translateX(-20%)  !important;*/
    /*transform: rotate(-85deg) translateY(-80%) translateX(-20%)  !important;*/
}

.weatherblock-message-chrome {
    display: block;
    display: -webkit-box;
    margin: 0 auto;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


#SpreaderDetailsNonSelectedInfo {
    margin-left: 5px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 50; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 50%; /* Could be more or less, depending on screen size */
}

.modal-content-mobile {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.modal-weatherarticle-close {
    cursor: pointer;
    float: right;
    font-size: xx-large;
    color: #1262db;
}

#iconLoading {
    margin-left: 10px;
}

.spin-loading {
    -moz-animation: spin 1s infinite linear;
    -o-animation: spin 1s infinite linear;
    -webkit-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
}

/*.text-spinner-h1 {
    height: 41px;
    overflow: hidden;
}

    .text-spinner-h1 div, .text-spinner-h1 div h1 {
        margin: 0;
        padding: 0;
    }

    .text-spinner-h1 div {
        animation: textspinshow 40s 4s infinite;
    }


    .text-spinner-h1-1020 {
    height: 33px;
    overflow: hidden;
}

    .text-spinner-h1-1020 div, .text-spinner-h1-1020 div h1 {
        margin: 0;
        padding: 0;
    }

    .text-spinner-h1-1020 div {
        animation: textspinshow-1020 40s 4s infinite;
    }

    .text-spinner-h1-768 {
    height: 27px;
    overflow: hidden;
}

    .text-spinner-h1-768 div, .text-spinner-h1-768 div h1 {
        margin: 0;
        padding: 0;
    }

    .text-spinner-h1-768 div {
        animation: textspinshow-768 40s 4s infinite;
    }

@keyframes textspinshow {
    0% {
        margin-top: 0;
    }

    6.25% {
        margin-top: -41px;
    }

    12.5% {
        margin-top: -41px;
    }

    18.75% {
        margin-top: -82px;
    }

    25% {
        margin-top: -82px;
    }

    31.25% {
        margin-top: -123px;
    }

    37.5% {
        margin-top: -123px;
    }

    43.75% {
        margin-top: -164px;
    }

    50% {
        margin-top: -164px;
    }

    56.25% {
        margin-top: -123px;
    }

    62.5% {
        margin-top: -123px;
    }

    68.75% {
        margin-top: -82px;
    }

    75% {
        margin-top: -82px;
    }

    81.25% {
        margin-top: -41px;
    }

    93.75% {
        margin-top: -41px;
    }

    100% {
        margin-top: 0;
    }
}

@keyframes textspinshow-1020 {
    0% {
        margin-top: 0;
    }

    6.25% {
        margin-top: -33px;
    }

    12.5% {
        margin-top: -33px;
    }

    18.75% {
        margin-top: -66px;
    }

    25% {
        margin-top: -66px;
    }

    31.25% {
        margin-top: -99px;
    }

    37.5% {
        margin-top: -99px;
    }

    43.75% {
        margin-top: -132px;
    }

    50% {
        margin-top: -132px;
    }

    56.25% {
        margin-top: -99px;
    }

    62.5% {
        margin-top: -99px;
    }

    68.75% {
        margin-top: -66px;
    }

    75% {
        margin-top: -66px;
    }

    81.25% {
        margin-top: -33px;
    }

    93.75% {
        margin-top: -33px;
    }

    100% {
        margin-top: 0;
    }
}

@keyframes textspinshow-768 {
    0% {
        margin-top: 0;
    }

    6.25% {
        margin-top: -27px;
    }

    12.5% {
        margin-top: -27px;
    }

    18.75% {
        margin-top: -54px;
    }

    25% {
        margin-top: -54px;
    }

    31.25% {
        margin-top: -81px;
    }

    37.5% {
        margin-top: -81px;
    }

    43.75% {
        margin-top: -108px;
    }

    50% {
        margin-top: -108px;
    }

    56.25% {
        margin-top: -81px;
    }

    62.5% {
        margin-top: -81px;
    }

    68.75% {
        margin-top: -54px;
    }

    75% {
        margin-top: -54px;
    }

    81.25% {
        margin-top: -27px;
    }

    93.75% {
        margin-top: -27px;
    }

    100% {
        margin-top: 0;
    }
}*/



@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(359deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
    }
}

@-o-keyframes spin {
    0% {
        -o-transform: rotate(0deg);
    }

    100% {
        -o-transform: rotate(359deg);
    }
}

@-ms-keyframes spin {
    0% {
        -ms-transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(359deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(359deg);
    }
}
