#legend {
    height: 410px !important;
    margin-top: -230px !important;
}

#legend-wrapper {
    height: 400px !important;
}

#legend-content img {
    height: 400px !important;
}

#map-viewer {
    height: 470px;
    width: 100%;
}

.separator {
    visibility: hidden !important;
}

#player {
    min-width: 570px !important;
    margin-left: -285px !important;
    bottom: 0 !important
}

/* Landscape phones and down */
@media (max-width: 480px) {
    .content .weather_block_city .top_row .nav > li > .back {
        width: 20px !important;
    }

    .content .weather_block_city .top_row .nav > li > a {
        font-size: 14px !important;
        padding: 0 !important;
    }

    .content .weather_block_city .weather_info.type_1 .left,
    .content .weather_block_city .weather_info.type_1 .right {
        float: none !important;
        padding: 10px !important;
        width: 100% !important;
    }

    .content .weather_block_city .top_row .search .form-control {
        width: 120px !important;
    }

    .content .weather_block_city .slider > div a {
        padding: 20px 4px 0 !important;
    }

    .content .weather_block_city .slider > div .col .txt {
        font-size: 10px !important;
    }

    .ic.medium {
        height: 30px !important;
        width: 30px !important;
    }

    .content .weather_block_city .slider > div .col {
        text-align: center !important;
    }

    .content .weather_block_city .slider > div .col .small {
        font-size: 10px !important;
    }
}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
    .aui .btn {
        margin-top: 0 !important;
    }

    .aui body {
        padding: 0 !important;
    }

    .wrapper {
        padding: 0 10px !important;
    }

    .header #logo {
        margin: 10px 0 0 !important;
    }

    .header .search {
        float: none !important;
    }

    .header .search .form-control {
        width: 100% !important;
    }

    .content .weather_block .toggle_box {
        width: 110px !important;
    }

    .content .weather_block .slider .day {
        line-height: 25px !important;
    }

    .content .weather_block .town_list a {
        font-size: 18px !important;
        padding: 10px 0 0 10px !important;
    }

    .content .weather_block .forecast {
        padding: 4px !important;
        text-align: center !important;
    }

    .content .map_block .tabs_nav li {
        display: inline !important;
    }

    .content .map_block.size_1 {
        height: auto !important;
    }

    .citypage .map_block {
        margin: 20px 0 0 !important;
    }

    .content .hourly_weather td:first-child {
        padding-left: 10px !important;
    }

    .content .hourly_weather td.title {
        font-size: 12px !important;
    }

    .portlet-image-gallery-display .image-icon {
        width: 50% !important;
    }

    .footer {
        text-align: center !important;
    }

    .footer .icons {
        margin: 0 !important;
    }
}

/* Portrait tablet to landscape and desktop */
@media (max-width: 979px) {
    .aui #navigation {
        display: block !important;
    }
}

/* Large desktop */
@media (max-width: 1200px) {
    .aui .navigation .nav > li > a {
        padding: 16px 10px 0 !important;
    }

    #player .separator {
        display: none !important;
    }

    #player #speed-one-button,
    #player #speed-two-button {
        width: 50px !important;
    }

    #player {
        bottom: 0 !important;
        margin-left: -140px !important;
        min-width: 280px !important;
    }
}

@media (max-width: 766px) {
    .col-xs-12 #player #time-slider {
        display: none !important;
    }
}

@media (min-width: 767px) {
    .col-xs-12 #player {
        min-width: 530px !important;
        margin-left: -245px !important;
        bottom: 0 !important
    }
}

@media (min-width: 767px) and (max-width: 1200px) {
    .col-xs-6 #player #time-slider {
        display: none !important;
    }

    #player #time-label {
        margin: 0 0 0 0 !important;
        max-width: 96px !important;
    }

    #player {
        bottom: 0 !important;
        margin-left: -140px !important;
        min-width: 280px !important;
    }
}

@media (min-width: 606px) and (max-width: 767px) {
    .col-xs-6 #player {
        min-width: 530px !important;
        margin-left: -245px !important;
        bottom: 0 !important
    }

    .col-xs-6 #player #time-slider {
        height: 32px !important;
        width: 240px !important;
        display: block !important;
        float: left !important;
        margin: 6px 0 0 0 !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    #player #time-label {
        margin: 0 0 0 0 !important;
        max-width: 96px !important;
    }
}

@media (max-width: 606px) {
    .col-xs-6 #player #time-slider {
        display: none !important;
    }

    .col-xs-6 #player {
        bottom: 0 !important;
        margin-left: -140px !important;
        min-width: 280px !important;
    }

    #player #time-label {
        margin: 0 0 0 0 !important;
        max-width: 96px !important;
    }
}