* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 1.2rem;
    color: rgb(228, 226, 226);
    background: -webkit-linear-gradient(to right, #243B55, #141E30);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #243B55, #141E30); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    text-align: center;
}

.white {
    color: rgb(65, 64, 64);
    background: white !important;
}

nav {
    background: rgba(22, 34, 53, 0.7);
}

.footer {
    position: fixed;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: center;
    padding: 0 10px 0 10px;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    color: white;
    background: rgba(22, 34, 53, 0.7);
}

h1, h2, h3 {
    margin: 50px 0 50px;
}

.reload-btn {
    margin: 60px 0px 50px;
    border: none;
    color: rgb(115, 115, 119);
    background: transparent;
    outline: none;
    cursor: pointer;
    transition: all 1s ease-in-out;
}

.reload-btn:hover {
    transform: rotate(360deg);
    color: white;
}


a {
    text-decoration: none;
    color: rgb(115, 115, 119);
    transition: all 0.3s ease-in-out;
}

a:hover {
    text-decoration: none;
    color: white;
}

.unregistered {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translate(-50%,0);
    color: rgb(119, 118, 118);
    font-size: 2.5rem;
}

.menu {
    margin: 20px;
}
.menu > a {
    padding: 20px 20px;
}

table {
    background-color: transparent !important;
}
.rel {
    position: relative;
}

.red {
    color: red;
}

.green {
    color: lightgreen;
}

.pos {
    position: fixed;
    max-width: 98%;
    min-width: 350;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 5000;
}

.dashboard-header {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-top: 4rem;
}

.dashboard-header h1 {
    margin-top: unset;
}

#add-location-btn {
    cursor: pointer;
    color: white;
}

#add-location-btn:hover, #add-location-btn:focus  {
    color: rgb(120, 119, 119);
}

.wrapper {
    min-width: 300px;
    max-width: 960px;
    margin: auto;
    padding: 10px;
    overflow: hidden;
}

.wrapper.middle {
    max-width: 600px;
}

.wrapper.flex {
    display: flex;
    flex-wrap: wrap;
}

.wrapper.login {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.login-panel {
    width: 350px;
    margin: 30px auto;
    overflow: hidden;
}

.login-panel.left {
    text-align: left;
}

li {
    line-height: 2.0rem;
    list-style: none;
    margin: 10px 0px;
}

li > i {
    color: lightgreen;
    margin-right: 10px;
}

.scroll {
    max-height: 60vh;
    overflow-y: scroll;
}


.updated {
    font-size: 0.7rem;
    color: #535353;
    transition: 0.5s ease-in-out;
}

.updated:hover {
    font-size: 0.7rem;
    color: #fcf9f9;
}

.panel {
    max-width: 960px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px auto;
}

.panel-item {
    position: relative;
    width: 220px;
    height: 100px;
    background-color: rgb(57, 57, 58, 0.3);
    border-radius: 5px;
    color: white;
    margin: 10px;
    text-align: center;
    align-items: center;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
}

.panel-item:hover { 
    background-color: rgba(98, 98, 99, 0.8);
}

.panel-text {
    position: absolute;
    font-size: 1rem;
    top: 5px;
    left: 10px;
}

.panel-value {
    position: absolute;
    font-size: 3rem;
    bottom: 5px;
    right: 10px;
}

.panel-value.el {
    font-size: 2rem;
}

.panel-text.elred {
    color: red;
}

.panel-text.elgreen {
    color: lightgreen;
}

.survey {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.survey h1 {
    margin: 2rem 0 3rem;
}

.survey.max {
    width: 100%;
}

.text {
    font-size: 2rem;
    margin: 0 0 2rem;
}

.box {
    margin: auto;
    background: url('images/emojis_resize.jpg');
    width: calc(1024px / 4);
    height: calc(768px / 3);
}

.box.angry {
    background-position: calc(256px * 3) calc(256px * 2);
}
.box.sad {
    background-position: calc(256px * 4) calc(256px * 2);
}
.box.happy {
    background-position: calc(256px * 2) calc(256px * 1);
}
.box.veryhappy {
    background-position: calc(256px * 1) calc(256px * 2);
}
.box.awesome {
    background-position: calc(256px * 3) 0;
}


.myBtn {
    font-size: 3rem;
    border: none;
    border-radius: 5px;
    padding: 7px 25px;
    margin: 2rem 0 0;
    color: white;
    background: linear-gradient(120deg,#e66465, #9198e5);;
}


.myBtn:hover {
    background: linear-gradient(120deg,#e74343, #646ee0);;
}

.logo {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: 0.7rem;
    color: rgb(43, 43, 78);
}

.element_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 10px 40px;
}

.element {
    position: relative;
    border: 1px solid rgb(197, 113, 113);
    border-radius: 5px;
    width: 250px;
    height: 90px;
    padding: 10px 20px;
    margin: 20px 20px;
    color: black;
    background: rgb(245, 191, 199);
    cursor: pointer;
    overflow: hidden;
    text-align: center;
    font-size: 1.5rem;
}

/* label:after {
	content: "👎";
}

input:checked + label:after {
	content: "👍";
} */

.check {
    position: absolute;
    top: -1000px;
}

.like {
    background: rgb(177, 231, 177);
    border: 1px solid rgb(145, 231, 145);
}


.modal-wait {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .5 ) 
                url('./images/ajax-loader.gif') 
                50% 50% 
                no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading .modal-wait {
    overflow: hidden;   
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modal-wait {
    display: block;
}


.emojis {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    margin-top: 100px;
}

.emoji-btn {
    outline: none;
    border: none;
    margin: 0;
    padding: 0;
    background: transparent;
    max-width: 200px;
}

.emoji {
    outline: none;
    border: none;
    width: 100%;
}


@media only screen and (max-width: 400px) {
    .panel-item {
      width: 90%;
    }
    .menu > a {
        display: block;
        padding: 10px 10px;
    }
    h1 {
        font-size: 90%;
    }
}