/* Estilos básicos */
html, body { height: 100%; width: 100%; }
h3 { margin: 0; }
div, h1, h2, h3, p {
    color: white;
    font-family: 'Raleway', sans-serif;
}

@media (/*min-width: 770px*/ min-width: 450px ) and (min-height: 400px){
    /* Estilos básicos */
    .parent { height: 776px; width: 646px; /*! margin: 0; */ }

    /* Estilos de identificadores */
    #main_box {
        width: 90%;
        height: 82.5%;
        margin-top: 2.5%;
        margin-left: 5%;
        border-radius: 20px;
	cursor: pointer;
    }

    #key_now_tag {
        font-size: 20px;
    }

    #key_info {
        height: 40%;
    }

    #meteo_location {
        font-size: 1em;
        font-weight: 700;
    }

    #meteo_summary {
        margin-bottom: 10%;
    }

    #rainfall_text {
        width: 160%;
        position: relative;
        top: -8px;
        display: block;
    }

    #key_temperature {
        font-size: 120px;
        margin-top: 0;
        margin-bottom: 0;
        position: relative;
        bottom: 10%;
    }

    #key_unit {
        font-size: 50px;
    }

    #key_animations {
        width: 20%;
    }

    #key_timestamp {
        height: 100%;
        width: 45%;
    }

    #city_shield {
        /*! width: 150px; */
        position: relative;
        left: -10%;
        height: 60%;
        float: right;
    }

    #updatingTime {
        bottom: 20%;
        width: 230px;
    }

    #updatedDate {
        width: 230px;
        height: 120px;
        top: 195px;
    }

    #precipitation_anim {
        margin-top: 25%;
        margin-right: 5%;
    }

    #cloud_cover_anim {
        margin-top: 5%;
        margin-right: 5%;
    }

    #time_and_date_div {
        position: relative;
        height: 100%;
    }

    #general_info {
        height: 60%;
    }

    #important_info {
        height: 100%;
        width: 33.33%;
    }

    #panel_info {
        height: 80%;
        width: 62%;
        top: 70px;
    }

    #panel_info span {
        width: 100%;
    }

    #panel_info div div h2 {
        font-size: 32px;
        width: 70%;
        margin: auto;
    }

    #panel_info div div h2 span {
        font-size: 18px;
    }


    #title_rain.panel_columns h3 {
    }


    #title_aqi.panel_columns h3 {
    }

    #title_aqi {
        top: 35%;
    }

    #panel_air_quality {
        top: 62%;
    }

    #quality_bar_image {
        position: relative;
        top: 30%;
        width: 100%;
    }

    div#quality_bar {
        width: 230px;
    }

    div#quality_bar #triangle {
        top: 20%;
        border: solid 20px;
        border-color: transparent transparent white transparent;
    }

    #logo_image_kenso_div {
        height: 10%;
        text-align: center;
    }

    #logo_image_kenso {
        height: 100%;
    }

    #copyright_kenso {
        position: relative;
        top: -2%;
        height: 5%;
        text-align: center;
        color: #d9d9d9;
        text-shadow: -1px -1px 1px rgba(255, 255, 255, .5), 1px 1px 1px rgba(0, 0, 0, 0.5);
    }
    
    #copyright_kenso a:link {
        color: white;
    }
    
    #copyright_kenso a:visited {
        color: #bfbebe;
    }

    #copyright_kenso_text {
        height: 100%;
        color: white;
        text-align: center;
    }

    /* Estilos de clases */
    .column {
        width: 33.33%;
        height: 100%;
        padding-left: 40px;
        padding-top: 20px;
    }

    .key_anim {
        position: relative;
    }

    .time_and_date {
        bottom: -30px;
        right: 0;
        font-size: 30px;
        margin-right: 10%;
        position: absolute;
    }

    .cloud_anim {
        width: 250px;
        left: 80px;
    }

    .rain_anim {
        width: 180px;
        bottom: 50px;
    }

    .row {
        height: 33.33%;
        position: relative;
        top: 5%;
        left: 5%;
    }

    .important_left {
        float: left;
        position: absolute;
        padding-left: 15%;
    }

    .important_right {
        margin-top: 5%;
        width: 70px;
        float: right;
        left: 8%;
        position: relative;
    }

    .important_tag_text {
        font-size: 14px;
    }

    .important_content_text {
        font-size: 45px;
        margin-top: 10%;
        white-space: nowrap;
    }

    .important_unit {
        font-size: 20px;
        margin-left: 10%;
    }

    .panel_columns {
        height: 15%;
        /*! top: 37%; */
        /*! right: 12%; */
    }

    .panel_columns span {
        top: 15px;
    }

    .panel_columns span h3 {
        font-size: 24px;
    }

    .panel_section h2 {
        margin: 0;
        height: 50%;
    }

    .panel_section {
        width: 100%;
        height: 35%;
    }

    .panel_content {
        position: relative;
        top: 10%;
        height: 80%;
        /*! right: -35%; */
        width: 50%;
    }

    .content_left {
        text-align: right;
        /*! margin-left: 5%; */
        /*! right: -20%; */
    }

    .content_right {
        float: right;
        text-align: left;
        /*! margin-right: 5%; */
    }

    .red_bar {
        left: 188px;
    }

    .orange_bar {
        left: 142px;
    }

    .yellow_bar {
        left: 96px;
    }

    .light_green_bar {
        left: 50px;
    }

    .dark_green_bar {
        left: 3px;
    }
}

@media (max-width: 451px), (max-height: 401px){

    /* Estilos básicos */
    h2, h4, p {margin: 0}
    .parent { height: 101%; width: 101%; /*! margin: 0; */ }

    /* Estilos de identificadores */
    #main_box {
        width: 101%;
        height: 101%;
	cursor: pointer;
    }

    #key_now_tag {
        width: 0;
        position: absolute;
        visibility: hidden;
    }

    #key_info {
        height: 30%;
    }

    #meteo_loc_and_summary {
        box-sizing: border-box;
        float: left;
        padding: 10px;
        position: relative;
        top: 5px;
        width: 50%;
    }

    #meteo_location {
        font-size: 1.1em;
        font-weight: 700;
        height: 16px;
    }

    #meteo_summary {
        margin-bottom: 5%;
    }

    #rainfall_text {
        font-size: 0.75em;
        position: relative;
        top: 8px;
        width: 95%;
        display: block;
    }

    #extra_meteo_location {
        visibility: hidden;
    }

    #key_summary {
        width: 100%;
    }

    #key_temperature {
        font-size: 70px;
        margin-top: 0;
        margin-bottom: 0;
        float: right;
        width: 50%;
        position: relative;
        top: -10px;
        left: -10px;
    }

    #key_unit {
        font-size: 30px;
    }

    #key_animations {
        width: 0;
        height: 0;
        visibility: hidden;
        position: absolute;
    }

    #key_timestamp {
        width: 0;
        height: 0;
        visibility: hidden;
        position: absolute;
    }

    #general_info {
        height: 70%;
    }

    #important_info {
        height: 100%;
        width: 50%;
        position: relative;
        top: 7px;
    }

    #panel_info {
        height: 100%;
        width: 50%;
        right: 4%;
    }

    #panel_info div span {
        width: 100%;
    }

    #panel_info div div h2 {
        font-size: 15px;
        width: 100%;
        height: 25px;
        text-align: center;
    }

    #panel_info div div h2 span {
        font-size: 10px;
    }

    #title_aqi {
        top: 38%;
    }

    #panel_air_quality {
        top: 60%;
    }

    #quality_bar_image {
        position: relative;
        top: 30%;
    }

    #copyright_kenso {
        font-size: 11px;
        width: 200px;
        height: 20px;
        visibility: visible;
        position: fixed;
        bottom: -2px;
        right: -75px;
        color: #bfbebe;
    }
    
    #copyright_kenso a:link {
        color: #bfbebe;
    }
    
    #copyright_kenso a:visited {
        color: #bfbebe;
    }
    
    #all_rights_reserved {
        visibility: hidden;
    }

    /* Estilos de clases */
    .column {
        width: 33.33%;
        height: 100%;
        padding-left: 6px;
        padding-top: 3px;
    }

    .row {
        height: 33.33%;
    }

    .important_left {
        float: left;
        width: 60px;
        padding-left: 10%;
    }

    .important_right {
        width: 30px;
        position: relative;
        top: 10px;
        float: left;
    }

    .important_tag_text {
        font-size: 10px;
    }

    .important_content_text {
        font-size: 25px;

        white-space: nowrap;
    }

    .important_unit {
        font-size: 12px;
        margin-left: 10%;
    }

    .panel_columns {
        height: 15%;
        top: 10px;
    }

    .panel_columns h3 {
        position: relative;
        top: 2px;
    }

    .panel_section {
        top: 20%;
        width: 96%;
        height: 30%;
        left: 0;
        right: 0px;
        display: block;
    }

    .panel_section h2 {
        margin: 0;
        height: 25%;
    }

    .panel_section div h2 span {
        font-size: 10px;
    }

    .panel_content {
        width: 50%;
        height: 100%;
    }

    .content_left {

    }

    .content_right {
        float: right;
    }

    .red_bar {
        left: 98px;
    }

    .orange_bar {
        left: 74px;
    }

    .yellow_bar {
        left: 50px;
    }

    .light_green_bar {
        left: 26px;
    }

    .dark_green_bar {
        left: 2px;
    }
}

@media (max-width: 250px) {
    #main_box {
        width: 250px;
	cursor: pointer;
    }
}

@media (max-height: 250px) {
    #main_box {
        height: 250px;
	cursor: pointer;
    }
}

/* Estilos de identificadores */
#sky_background {
    position: absolute;
    z-index: -1;
    top: 0;
    height: 100%;
    width: 100%;
}

#main_box {
    /*noinspection CssInvalidFunction*/
    background: rgb(0, 26, 51, 0.7);
    cursor: pointer;
}

#meteo_summary {
    color: #cacaca;
}

#important_info {
    float: left;
}

#panel_info {
    position: relative;
    float: right;
}

#panel_info span {
    position: relative;
    text-align: center;
}

#panel_columns {
    display: flex;
    align-items: center;
    position: relative;
}

#panel_columns h3 {
    font-style: normal;
    font-weight: normal
}

#panel_rain {
    visibility: visible;
}

#panel_forecast {
    visibility: hidden;
}

#panel_particles {
    visibility: hidden;
}

#quality_bar {
    position: relative;
    margin: auto;
    width: 110px;
}

#city_hall_image {
    z-index: -1;
    position: fixed;
    bottom: 0;
    left: 0;
    height: 50%;
}

#quality_bar #triangle {
    width: 0;
    height: 0px;
    border: solid 10px;
    border-color: transparent transparent white transparent;
    display: block;
    top: 30%;
    position: absolute;
}

/* Estilos de clases */
.column {
    color: white;
    float: left;
    box-sizing: border-box;
}

.important_left {
}

.important_right {
}

.important_content_text {
    float: left;
}

.panel_columns {
    display: flex;
    align-items: center;
    position: relative;
}

.panel_columns h3 {
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
}

.panel_section {
    position: absolute;
}

.panel_content {
    position: relative;
}

.content_left {
    float: left;
}

.clear {
    clear: both;
}

.hidden {
    visibility: hidden;
}
