﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/*SNACKBAR*/

#snackbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    border-radius: 5px;
    padding: 12px;
    z-index: 10000;
    visibility: hidden;
}

#snackbar-message {
    flex-grow: 1;
    margin-right: 8px;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

/*@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}*/

#snackbar .dismiss-btn {
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
    position: absolute;
    right: 7%;

}
}

#snackbar .dismiss-btn:hover {
    color: #ccc;
}

/*****************************/

#snackbar.good-speed {
    background-color: #4CAF50;
}

#snackbar.medium-speed {
    background-color: #FFC107;
}

#snackbar.bad-speed {
    background-color: #F44336;
}


#snackbar-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}


.good-signal {
    background-image: url('../img/signal-good-signal-icon.png');
}

.medium-signal {
    background-image: url('../img/signal-medium-signal-icon.png');
 
}

.poor-signal {
    background-image: url('../img/signal-poor-signal-icon.png');
    
}
