/*
 * Copyright 2018 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

body {
    background-color: #f8f9fa;
    height: 100%;
}

.mdl-grid {
    max-width:1200px;
}

p {
    font-size: 18px;
}

main {
    padding-left: 60px;
    padding-right: 60px;
}

.code {
    font-family: monospace;
    background-color: #e1e1e1;
    font-size: 14px;
    padding: 2px;
}

header.mdl-layout__header {
    background-color: black;
}

.back {
    color: white;
    margin-right: 30px;
}

.thumbnail {
    margin: 2px;
}

/* Connect with Google Photos page*/
#intro {
    width: 800px;
    margin: 0 auto;
    position: relative;
    top: 200px;
}

#intro > img {
    float: right;
}

.connect-btn {
    background-color:white;
    padding: 16px 16px 16px 8px;
    border-radius:5px;
    box-shadow: #d3d3d3 2px 2px 2px;
    color: black;
    text-decoration: none;
    height: 40px;
    position: relative;
    top: 40px;
}

#intro, #intro li {
    font-size: 18px;
    line-height: 1.5;
}

.connect-btn img {
    width:24px;
    padding-right: 16px;
}

/* Photo 1UP */
#photo {
    text-align: center;
}

#metadata {
    width: 680px;
    margin: 40px auto;
}

#metadata table {
    width: 100%;
}

#metadata td {
    word-wrap: break-word;
    word-break: break-all;
    white-space: normal;
}

/* Album grid partial */

.album-cover img {
    border-radius: 10px;
    width: 100%;
    margin-bottom: 5px;
}

.album-cover h5 {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    overflow:hidden;
    text-overflow: ellipsis;
    height: 24px;
    width: 100%;
    white-space: nowrap;
}

.album-cover p {
    font-weight: lighter;
    font-size: 12px;
}

.album-cover a {
    text-decoration: none;
    color: rgba(0,0,0,0.87);
}

.album-cover a:hover h5 {
    text-decoration: underline;
}

.columns {
    column-count: 3;
}

.columns div {
    padding: 5px;
}

.switch {
    margin: 5px;
}

a{
    color:#0958a7;
}
h2{font-size:20px;color:#0958a7;}
h3{font-size:18px;color:#0258a7;line-height:0;padding-left:15px;}
p{font-size:17px;}

.btntop{
    color:#fff;
    border-radius:50px;
    border:2px solid #000;
    padding:10px;
}
.btntop i{
    padding-left:2px;
    padding-right:2px;
}
.btntop:hover{
    color:#cccccc;
    border:2px solid #cccccc;
}

.icons li {
    list-style: none;
    display:inline;
    padding:5px;
}

.icons li a{
    min-width:25px;
    text-align: center;
    display:inline-block;
}

.mdl-layout-title{
    display:inline;
    padding-right:50px;
}


footer{
    bottom:0;
    height:68px;
    text-align: center;
}

a.gmail{
    position: relative;
}
.button__badge {
    display:none;
    background-color: #fa3e3e;
    border-radius: 2px;
    color: white;

    padding: 1px 3px;
    font-size: 10px;

    position: absolute; /* Position the badge within the relatively positioned button */
    top: 0;
    right: 0;
}








.radio-container {
    margin: auto;
}
.radio-container .radio-header {
    text-align: center;
    padding: 10px 0;
}
.radio-container .radio-header .radio-name {
    font-size: 7em;
    font-weight: 100;
    color: #ffffff;
    max-height:360px;
}
.radio-container .radio-header .current-presenter {
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
}
.radio-container .radio-body {
    background: #164c8c;
    /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(left top, #156472, #0e2f79);
    /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(top left, #156472, #0e2f79);
    /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(top left, #156472, #0e2f79);
    /* For Firefox 3.6 to 15 */
    background: linear-gradient(to bottom right, #156472, #0e2f79);
    /* Standard syntax */
    background-size: 100% 200%;
    animation: background-scroll 7s alternate ease-in-out infinite;
    height: 68px;
    position: relative;
    overflow: hidden;
}
.radio-container .radio-body .current-song {
    font-size: 20px;
    font-weight: 100;
    text-align: center;
    padding: 110px 0;
    position: absolute;
    z-index: 2;
    width: 350px;
}
.radio-container .radio-body .radio-buttons {
    position: absolute;
    bottom: 6px;
    left: 15px;
    height: 50px;
    width: 320px;
    z-index: 2;
}
.radio-container .radio-body .radio-buttons .button {
    color: rgba(255, 255, 255, 0.6);
    float: left;
}
.radio-container .radio-body .radio-buttons .button:hover {
    color: rgba(255, 255, 255, 0.8);
}
.radio-container .radio-body .radio-buttons .button-play {
    font-size: 2em;
    width: 25px;
}
.radio-container .radio-body .radio-buttons .button-stop {
    font-size: 2em;
    margin-left: 12px;
}

.radio-container .radio-body .shine {
    position: absolute;
    top: -50px;
    left: -90px;
    height: 120px;
    width: 300px;
    background: linear-gradient(360deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0.05));
    transform: rotate(-45deg);
}
.radio-container .radio-body .wave-bars {
    position: relative;
    z-index: 1;
    height: 100%;
}
.radio-container .radio-body .wave-bars .wave {
    margin-top: 33px;
    transform: translateY(-50%);
    height: 3px;
    width: 4px;
    background: rgba(255, 255, 255, .2);
    float: left;
    margin-right: 3px;
    animation-delay: 2s;
}
.radio-container .radio-body .wave-bars .wave:first-child {
    margin-left: 300px;
}
.radio-container .radio-body .wave-bars .wave:last-child {
    margin-right: 0;
}
.radio-container .radio-body .wave-bars .wave.wave-1 {
    animation: wave1 0.5s linear alternate infinite;
}
.radio-container .radio-body .wave-bars .wave.wave-2 {
    animation: wave2 0.7s linear alternate infinite;
}
.radio-container .radio-body .wave-bars .wave.wave-3 {
    animation: wave3 0.6s linear alternate infinite;
}
.radio-container .radio-body .wave-bars .wave.wave-4 {
    animation: wave4 0.5s linear alternate infinite;
}
.radio-container .radio-body .wave-bars .wave.wave-5 {
    animation: wave5 0.6s linear alternate infinite;
}
.radio-container .radio-body .wave-bars .wave.no-animation {
    animation: stopwaves 1s linear;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
.radio-container .radio-message {
    color:#ffffff;
    padding: 15px;
    text-align: center;
}
.radio-container .radio-message .message-header {
    font-weight: 600;
}
.radio-container .radio-volume {
    background: #fff;
    padding: 10px 15px;
    height: 60px;
}
.radio-container .radio-volume .button-sound {
    float: left;
    font-size: 2em;
    color: #ddd;
    width: 60px;
}
.radio-container .radio-volume .button-sound:hover {
    color: #bbb;
}
.radio-container .radio-volume input[type="range"] {
    position: relative;
    top: 8px;
    width: 260px;
    height: 9px;
    margin: 10px 12px;
    display: inline;
    -webkit-appearance: none;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #fff;
}
.radio-container .radio-volume input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    background-color: #fff;
    border: 1px solid #ccc;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    cursor: pointer;
}
.radio-container .radio-volume input[type="range"]::-moz-range-track {
    border-radius: 8px;
    width: 260px;
    height: 7px;
    border: 1px solid #ddd;
    background-color: #fff;
}
.radio-container .radio-volume input[type="range"]::-moz-range-thumb {
    background: #fff;
    border: 1px solid #ccc;
    width: 18px;
    height: 18px;
    border-radius: 9px;
    cursor: pointer;
}
.radio-container .radio-volume input[type="range"]::-ms-track {
    width: 164px;
    height: 7px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}
.radio-container .radio-volume input[type="range"]:focus {
    outline: 0;
}
.radio-container .button {
    cursor: pointer;
}
@-webkit-keyframes background-scroll {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 100%;
    }
}
@-moz-keyframes background-scroll {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 100%;
    }
}
@keyframes background-scroll {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 100%;
    }
}
@-webkit-keyframes wave1 {
    0% {
        height: 10%;
    }
    33% {
        height: 30%;
    }
    66% {
        height: 15%;
    }
    100% {
        height: 35%;
    }
}
@-moz-keyframes wave1 {
    0% {
        height: 10%;
    }
    33% {
        height: 30%;
    }
    66% {
        height: 15%;
    }
    100% {
        height: 35%;
    }
}
@keyframes wave1 {
    0% {
        height: 10%;
    }
    33% {
        height: 30%;
    }
    66% {
        height: 15%;
    }
    100% {
        height: 35%;
    }
}
@-webkit-keyframes wave2 {
    0% {
        height: 40%;
    }
    33% {
        height: 20%;
    }
    66% {
        height: 40%;
    }
    100% {
        height: 20%;
    }
}
@-moz-keyframes wave2 {
    0% {
        height: 40%;
    }
    33% {
        height: 20%;
    }
    66% {
        height: 40%;
    }
    100% {
        height: 20%;
    }
}
@keyframes wave2 {
    0% {
        height: 40%;
    }
    33% {
        height: 20%;
    }
    66% {
        height: 40%;
    }
    100% {
        height: 20%;
    }
}
@-webkit-keyframes wave3 {
    0% {
        height: 30%;
    }
    33% {
        height: 45%;
    }
    66% {
        height: 30%;
    }
    100% {
        height: 15%;
    }
}
@-moz-keyframes wave3 {
    0% {
        height: 30%;
    }
    33% {
        height: 45%;
    }
    66% {
        height: 30%;
    }
    100% {
        height: 15%;
    }
}
@keyframes wave3 {
    0% {
        height: 45%;
    }
    33% {
        height: 20%;
    }
    66% {
        height: 30%;
    }
    100% {
        height: 15%;
    }
}
@-webkit-keyframes wave4 {
    0% {
        height: 30%;
    }
    33% {
        height: 25%;
    }
    66% {
        height: 45%;
    }
    100% {
        height: 25%;
    }
}
@-moz-keyframes wave4 {
    0% {
        height: 30%;
    }
    33% {
        height: 25%;
    }
    66% {
        height: 45%;
    }
    100% {
        height: 25%;
    }
}
@keyframes wave4 {
    0% {
        height: 30%;
    }
    33% {
        height: 25%;
    }
    66% {
        height: 45%;
    }
    100% {
        height: 25%;
    }
}
@-webkit-keyframes wave5 {
    0% {
        height: 20%;
    }
    33% {
        height: 35%;
    }
    66% {
        height: 15%;
    }
    100% {
        height: 35%;
    }
}
@-moz-keyframes wave5 {
    0% {
        height: 20%;
    }
    33% {
        height: 35%;
    }
    66% {
        height: 15%;
    }
    100% {
        height: 35%;
    }
}
@keyframes wave5 {
    0% {
        height: 20%;
    }
    33% {
        height: 35%;
    }
    66% {
        height: 15%;
    }
    100% {
        height: 35%;
    }
}
@keyframes stopwaves {
    100% {
        height: 3px;
    }
}

.black{
    background: #000000;
}
.clock-table td, .center{
    text-align: center;
}
#player{display:none;}
.modal-header .close {
    margin-top: -40px;
}
.no-bullet{
    list-style: none;
}
.alarm-row{
    cursor: pointer;
}
#changeRadio{
    width:200px;
    margin-bottom:10px;
}
#clock{
    font-size:1.8em;
}
.custom-select{
    font-size:1.5em;
    padding:5px;
}
.modal-title{
    color:#0958a7;
}
.container {width:100%;}
.no-bullet{
    font-size:1em;
}

@media screen and (max-width: 1024px) {
	.mdl-layout__header {
		display: initial;
	}
	.mdl-layout__header-row {
		padding: 0 16px 0 0px;
	}
	.myimg{
	    width: 400px;
	}
}
