#pdf{

}

.dust_info  {
    font-size: 100%;
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) { 
    .dust_info  {
        font-size: 15px;
    }
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
    .dust_info  {
        font-size: 15px;
    }
}
a.info {
    font-size: 55px;
    cursor: pointer;
}
.fan_container{
   float: left;
    display: block;
    height: 89%;
    width: 25%;
}
#button2{

}
button{
    height: max-content;
    width: max-content;
}
#fan{
    height: 70%;
    left: 15%;
}
.slider_buttons{
    margin-top: 0%;
    height: 10%;
    position: relative;
    display: inline-grid;
}
/*toggle button */
.toggler {
    width: 500px;
    height: 200px;
  }
  #button #button2 {
    border: 2px solid #ccc;
    border-radius: 15px;
    padding: 5px 10px;
    background-color: #f2f2f2;
    color: #000;
    margin-right: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
  }
  #effect {
    position: relative;
    width: 240px;
    height: 170px;
    padding: 0.4em;
  }
  #effect h3 {
    margin: 0;
    padding: 0.4em;
    text-align: center;
  }
/* The switch - the box around the slider */  
.ui-slider .ui-slider-pip-initial-1 .ui-slider-label {
    color: #E80949; 
    position: relative;
}  

.ui-slider .ui-slider-pip-initial-2 .ui-slider-label {
  color: #920AFF; 
}

.slider-time{
    left: 5%;
    width: 90%;
}

.ui-slider-vertical.ui-slider-pips {
    background-color: green;
}

a{
    font-size: 15px;
}

p{
    margin: auto;
    display: flex;
    font-size: 15px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
  

#left-panel {
    width: 49%;
    height: 100%;
    margin-left: 0.5%;
    display: flex;
    flex-direction: column;
}

#toolbar {
    width: 96%;
    margin: 1%;
    height: 50px;
    display: flex;
    line-height: 50px;
    background-color: #fff;
}

.overview-list {
    padding: 0;
    margin: 0;
    list-style: none;
    width: 70%;
    display: flex;
    flex-wrap: nowrap;
}

.overview-item {
    padding: 0;
}

#oxygen.active-overview {
    color: rgb(250, 226, 12);
    background-color: #fff;
}

#humidity.active-overview {
    color: rgb(11, 166, 255);
    background-color: #fff;
}

#dust.active-overview {
    color: rgb(138, 78, 0);
    background-color: #fff;
}

#oxygen, #PM03 {
    margin-left: 10px;
    border: 2px solid #ccc;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}
#PM03,#AQI {
    width: auto;
}

#humidity, #PM25 {
    border-top: 2px solid #ccc;
    border-bottom: 2px solid #ccc; 
}

#dust, #AQI {
    border-top-right-radius: 15px;
    border: 2px solid #ccc;
    border-bottom-right-radius: 15px;
}

.overview-btn {
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    width: 85px;
    border: 0;
    background-color: #f2f2f2;
}

.toolbar-actions {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dashboard-link-to-report, #report_2, #report_polar,#export {
    border: 2px solid #ccc;
    border-radius: 15px;
    padding: 5px 10px;
    background-color: #f2f2f2;
    color: #000;
    margin-right: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
}

.datepicker-btn {
    background-color: #fff;
    
}

.overview-btn:focus {
    outline: 0;
}

.datepicker-container {
    padding: 0;
    margin: 0;
    list-style: none;
    width: 50%;
    display: flex;
    justify-content: flex-end;
    padding-right: 10px;
}

.datepicker-item {
    display: inline;
}

#datepicker {
    background-color: #fff;
    border-radius: 0;
    border: 0;
    font-size: 18px;
    outline: 0;
    text-align: center; 
    cursor: pointer;
    padding: 8px 0;
    width: 170px;
    padding-bottom: 6px;
    margin: 0;
    margin-top: 5px;
    -webkit-appearance: none;
    border-top: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    background-color: #f2f2f2;
}

.datepicker-prev-btn {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.datepicker-next-btn {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    margin-right: 15px;
}

.datepicker-prev-btn, .datepicker-next-btn {
    background-color: transparent;
    border: 0;
    cursor: pointer;
    padding: 1px 10px;
    margin: 5px 0;
    font-size: 28px;
    outline: 0;
    background-color: #f2f2f2f2;
    border: 2px solid #ccc;
}

.polar-chart-container {
    width: 96%;
    height: 90%;
    margin: 1%;
    background-color: #fff;
    padding-top: 20px;
}

.avgspike {
    font-size: 50px;
}

.avgspike2 {
    font-size: 50px;
}

.avgsurface {
    font-size: 50px;
}

.what {
    font-size: 32px;
}

.clock {
    font-size: 70px;
}

.spikeline {
    stroke-width: 5px;
    border-radius: 5px;
}

.data-type-text {
    font-size: 32px;
}

#right-panel {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.lin-chart-container {
    height: 29%;
    width: 100%;
    margin: 1%;
    background-color: #fff;
}

.big-container {
    height: 90%;
    width: 100%;
}

.lin-chart-container-left {
    margin: 1%;
    background-color: #fff;
    font-size: 20px;
    display: none;
}

.lin-chart-container-right {
    width: 96%;
    height: 96%;
    margin: 1%;
    background-color: #fff;
    font-size: 20px;
    display: none;
}

.chart-text {
    font-size: 24px;
    font-weight: 700;
}

.chart-total-text {
    font-size: 24px;
}

.axis {
    font-family: inherit;
    font-size: 24px;
    font-weight: 600;
    fill: #B0B3B7;
}

.highlight {
    opacity: 0;
    font-size: 26px;
    font-weight: 600;
}

.hidden {
    opacity: 0;
}

rect {
    fill: transparent;
}

.active {
    opacity: 1;
}

.highlight-text-surface {
    fill: #fff;
    opacity: 1 !important;
}


.polardata {
    stroke: transparent;
    stroke-width: 5px;
}
  
.polardata.active {
    stroke: #B0B3B7;
    stroke-width: 3px;
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {    /*     iPad landscape   */
    #toolbar {
        width: 96%;
        margin: 1%;
        display: flex;
        line-height: 40px;
        background-color: #fff;

    }
    .lin-chart-container {
        margin: 1%;
        background-color: #fff;
    }
    #datepicker {
        background-color: #fff;
        border-radius: 0;
        border: 0;
        font-size: 18px;
        outline: 0;
        text-align: center;
        cursor: pointer;
        width: 110px;
        height: 12px;
        padding-bottom: 7px;
        padding-top: 7px;
        margin: 0;
        margin-top: 5px;
        -webkit-appearance: none;
        border-top: 2px solid #ccc;
        border-bottom: 2px solid #ccc;
        background-color: #f2f2f2;
    }
    .dashboard-link-to-report {
        border: 2px solid #ccc;
        border-radius: 15px;
        /* padding: 5px 10px; */
        background-color: #f2f2f2;
        color: #000;
        margin-right: 0px;
        text-decoration: none;
        font-weight: 600;
        font-size: 12px;
    }
    .overview-btn {
        font-size: 12px;
    }

    .datepicker-container {

    }

    .datepicker-item {
        flex-direction: row;
        text-align: center;
    }

    .datepicker-btn {
        font-size: 12px !important;
        padding: 2px 10px;
        height: 28px;
    }

    .datepicker-prev-btn, .datepicker-next-btn {
        font-size: 12px;
        height: 30px;
        border-top: 2px solid #ccc;
        border-bottom: 2px solid #ccc;
    }
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {          /*     iPad portrait   */

    .logo-container {
        width: 30%;
    }

    .logo {
        width: 100%;
    }

    #polar-chart {
        margin: 0 2%;
        padding: 2% 0;
    }

    #left-panel {
        width: 94%;
        height: auto;
        margin: 0 auto;
    }

    #toolbar {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 90px;
        margin: 3% 0 2% 0;
    }

    .toolbar-fixed {
        top: 0;
        position: fixed;
        margin: 2% 2% !important;
        width: 90% !important;
        -webkit-box-shadow: 0px 0px 5px 1px rgba(153,153,153,1);
        -moz-box-shadow: 0px 0px 5px 1px rgba(153,153,153,1);
        box-shadow: 0px 0px 5px 1px rgba(153,153,153,1);
    }

    .overview-list {
        display: flex;
        justify-content: center;
        line-height: 40px;
        width: 100%;
    }

    .overview-item {
        flex-direction: row;
        text-align: center;
    }

    .datepicker-container {
        display: flex;
        width: 100%;
        line-height: 50px;
        margin: 0 auto;
        justify-content: center;
        margin-bottom: 5px;
    }

    .datepicker-next-btn, .datepicker-prev-btn {
        padding: 3px 10px;
    }

    #oxygen {
        margin-left: 0;
    }

    .datepicker-item {
        text-align: center;
    }

    .polar-chart-container {
        width: 100%;
        margin: 2% 0;
        height: auto;
    }

    .fixed-toolbar {
        margin-top: calc(2% + 75px);
    }

    #right-panel {
        width: 94%;
        margin: 2% auto 0 auto;
        height: auto;
    }

    .lin-chart-container {
        margin: 2% auto;
    }

    #lin-bot-container {
        margin-bottom: 4%;
    }

    .lin-chart-container-left {
        margin: 1%;
        height: 190px;
        display: none;
    }

    #lin-bot-container-left {
        margin-bottom: 4%;
        width: 96%;
        display: none;
    }

    #lin-bot-container-right {
        margin-bottom: 4%;
        width: 96%;
        height: 96%;
        display: none;
    }

    #datepicker {
        font-size: 16px;
    }

    .datepicker-prev-btn, .datepicker-next-btn {
        font-size: 20px;
    }
}

@media only screen and (max-device-width: 480px) {
    #toolbar {
        width: 100%;
        height: auto;
        margin: 1%;
        display: block;
        line-height: 40px;
        background-color: #fff;

    }

    #left-panel {
        width: 100%;
        height: 100%;
        margin-left: 0.5%;
        display: flex;
        flex-direction: column;
    }

    #right-panel {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .lin-chart-container {
        margin: 1%;
        background-color: #fff;
    }
    #datepicker {
        background-color: #fff;
        border-radius: 0;
        border: 0;
        font-size: 18px;
        outline: 0;
        text-align: center;
        cursor: pointer;
        width: 110px;
        height: 12px;
        padding-bottom: 7px;
        padding-top: 7px;
        margin: 0;
        margin-top: 5px;
        -webkit-appearance: none;
        border-top: 2px solid #ccc;
        border-bottom: 2px solid #ccc;
        background-color: #f2f2f2;
    }
    .dashboard-link-to-report {
        border: 2px solid #ccc;
        border-radius: 15px;
        /* padding: 5px 10px; */
        background-color: #f2f2f2;
        color: #000;
        margin-right: 0px;
        text-decoration: none;
        font-weight: 600;
        font-size: 12px;
    }
    .overview-btn {
        font-size: 12px;
    }

    .datepicker-container {

    }

    .datepicker-item {
        flex-direction: row;
        text-align: center;
    }

    .datepicker-btn {
        font-size: 12px !important;
        padding: 2px 10px;
        height: 28px;
    }

    .datepicker-prev-btn, .datepicker-next-btn {
        font-size: 12px;
        height: 30px;
        border-top: 2px solid #ccc;
        border-bottom: 2px solid #ccc;
    }
}