/*
 * ©2017 Manasés Jesús
 */

* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

body {
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    -webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */
    background-color: transparent;
    line-height: 1;
}

#location {
    font-family: 'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    text-shadow: 0px -1px 2px rgba(0, 0, 0, 0.7);
    color: white;
    margin-left: 15px;
    bottom: 15px;
    position: absolute;
}

#temp i {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

#temp i.spin {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
}

#weather_details {
    font-family: 'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif;
    text-shadow: 0px -1px 2px rgba(0, 0, 0, 0.7);
    font-size: 20px;
    color: white;
    width: 150px;
    position: absolute;
    left: 15px;
    top: -10px;
}

#weather_details i {
    font-family: 'weather';
    font-size: 60px;
    font-weight: normal;
    font-style: normal;
    line-height: 1.0;
    text-transform: none;
}

#weather_details sub {
    display: block;
    font-size: 7px;
}

#weather_details sup {
    font-size: 9px;
}

#camera_switch {
    color: white;
    position: absolute;
    right: 10px;
    top: 20px;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}
#camera_switch.selfie {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

#rain_switch {
    color: white;
    position: absolute;
    right: 55px;
    top: 0px;
}

#camera_shutter {
    width: 100%;
    position: absolute;
    bottom: 40px;
}
#camera_shutter div {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 5px solid rgb(230,230,230);
    background-color: rgba(255,255,255,0.8);
    margin: 0 auto;
}
#camera_shutter div.pressed {
    background-color: white;
}

.black {
    color: #000 !important;
    text-shadow: 1px 0px 3px rgba(255, 255, 255, 0.5) !important;
}

.pages, .page,
.floating-button, .floating-button.active-state,
.speed-dial-buttons a, .speed-dial-buttons a.active-state {
    background-color: transparent;
}

.toolbar-through .speed-dial {
    bottom: 5px;
    right: 5px;
}

.fill i {
    color: black;
}

.weather {
    font-family: 'weather';
}

/* Rain effect */
#rain {
    display: none;
}

.drop {
    background: -webkit-gradient(linear,0% 0%,0% 100%, from(rgba(13,52,58,1) ), to(rgba(255,255,255,0.6)));
    width: 1px;
    height: 89px;
    position: absolute;
    bottom: 200px;
    -webkit-animation: fall .63s linear infinite;
    animation: fall .63s linear infinite;
}

@-webkit-keyframes fall {
    to { margin-top: 900px; }
}
@keyframes fall {
    to { margin-top: 900px; }
}


/* Landscape layout (with min-width) */
@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) {
    #camera_shutter {
        width: 70px;
        position: absolute;
        bottom: 0;
        top: 0;
        right: 50px;
        z-index: -1;
    }
    #camera_shutter div {
        position: relative;
        top: 50%;
    }
    #camera_shutter div, #camera_shutter::after {
        display: inline-block;
        vertical-align: middle;
    }
    #camera_shutter::after {
        content: "";
        height: 100%;
    }
}
