html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: top;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input:focus::-webkit-input-placeholder {
    color: transparent
}

input:focus::-moz-placeholder {
    color: transparent
}

input:focus:-moz-placeholder {
    color: transparent
}

input:focus:-ms-input-placeholder {
    color: transparent
}

@font-face {
    font-family: 'Lato', sans-serif;
    src: url('fonts/Lato-Regular.ttf'), url('fonts/Lato-Light.ttf'), url('fonts/Lato-Bold.ttf');
}

/*LOGIN*/
main.log-in {
    background-image: url("img/backgroung-login-page.png");
    background-position: center center;
    background-size: cover;
    height: 100vh;
    width: 100vw;
    text-align: center;
    text-align-last: center;
    -moz-text-align-last: center;
    margin: 0 auto;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

main.log-in .login-modal {
    position: absolute;
    width: 380px;
    height: auto;
    overflow: hidden;
    background: #ffffff;
    top: 24vh;
    left: 50%;
    margin-left: -190px;
}

main.log-in .login-modal > form {
    width: 100%;
    height: auto;
    background: none;
    outline: none;
    border: none;
}

main.log-in .login-modal > h1 {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 30px;
    font-size: 30px;
    color: #000000;
    margin: 25px auto 26px;
}

main.log-in .login-modal input[type="text"],
main.log-in .login-modal input[type="password"] {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 16px;
    font-size: 16px;
    text-indent: 4px;
    color: #000000;
    padding-bottom: 7px;
    outline: none;
    border: none;
    border-bottom: #c9c9c9 solid 1px;
    width: 310px;
    max-width: 96%;
    margin: 0 auto 15px;
    display: block;
    text-align: left;
    text-align-last: left;
    -moz-text-align-last: left;
    margin-top: 30px;
}

main.log-in .login-modal input[type="submit"] {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    line-height: 16px;
    font-size: 13px;
    text-transform: uppercase;
    color: #ffffff;
    width: 310px;
    max-width: 96%;
    height: 44px;
    max-height: 8vh;
    margin: 25px auto 38px;
    display: block;
    text-align: center;
    text-align-last: center;
    -moz-text-align-last: center;
    border-radius: 2px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #00a8ff;
}

@media screen and (max-width: 414px) {
    main.log-in .login-modal {
        top: 0;
        left: 0;
        position: relative;
        max-width: 90%;
        margin: 0 auto;
        overflow: hidden;
    }
}

/*LOGIN PAGE END*/
main {
    width: 95%;
    margin: 0 auto;
    padding: 30px 2.5%;
    overflow: hidden;
    font-size: 0;
}

section.map {
    width: 75%;
    height: 90vh;
    display: inline-block;
}

section.aside-right {
    display: inline-block;
    width: 22%;
    padding: 0;
    border: 1px solid blue;
}

#map {
    height: 100%;
    width: 100%;
}

#locations {
    width: 100%;
    display: block;
}

#locations ul > li {
    list-style: none;
}

#locations-table_date {
    float: left;
}

#directions-panel, #navig #areas {
    padding: 10px;
}

#directions-panel {
    width: 100%;
    display: block;
    font-size: 14px;
}

#device {
    width: 100%;
    height: 30px;
}

#date {
    padding-left: 30px;
    width: 100%;
    height: 30px;
    margin-top: 5px;
}

/*INDEX*/
header.map {
    width: 95%;
    margin: 0 auto;
    padding: 10px 2.5%;
    overflow: hidden;
    font-size: 0;
    background-color: #242424;
}

header.map nav {
    width: 100%;
    height: 60px;
}

header.map nav .logo img {
    height: 60px;
    width: auto;
    margin: 0;
}

header.map nav .logo {
    float: left;
}

header.map nav a.link {
    text-transform: uppercase;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 15px;
    line-height: 60px;
    float: right;
    font-weight: 400;
    cursor: pointer;
    margin-right: 30px;
}

header.map nav a.link:hover {
    text-decoration: underline;
}

footer.map {
    width: 100%;
    margin: 40px 0 auto;
    padding: 0;
    font-size: 0;
    background-color: #242424;
}

footer.map .logo {
    display: inline-block;
    height: 60px;
    width: 100%;
    background: #1e1e1e;
    padding: 20px 0;
}

footer.map .logo img {
    height: 60px;
    width: auto;
    margin-left: 2.5%;
    float: left;
}

footer.map .copyright {
    height: 60px;
    width: 100%;
    text-align: center;
    text-align-last: center;
    -moz-text-align-last: center;
}

footer.map .copyright p {
    display: inline-block;
    margin: 0 auto;
    line-height: 60px;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    text-transform: none;
    color: #777777;
}

.control {
    width: 100%;
    height: 30px;
}

#areas {
    font-size: 15px;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    padding: 5px;
}

#areas-devices {
    height: 340px;
    width: 100%;
}

.add-new-area {
    margin: 20px 0;
    padding: 15px 5px;
}

#setdevicearea {
    margin: 20px 0;
    padding: 15px 5px;
    background-color: lightblue;
}

.navigation-tab-button {
    font-size: 14px;
    display: inline-block;
    float: left;
    width: calc(50% - 1px);
    text-align: center;
    height: 30px;
    cursor: pointer;
    text-transform: uppercase;
    line-height: 30px;
}

.navigation-tab-button[data-active="false"] {
    background-color: #EEEEEE;
    border: 1px solid blue;
}

.delete-icon:hover {
    opacity: 0.5;
}

.delete-icon {
    width: 30px;
    height: 30px;
    position: absolute;
    cursor: pointer;
}

#polygon-data {
    width: 100%;
}

#areas-selector {
    padding-left: 35px;
}

.calendar-ico {
    width: 30px;
    height: 30px;
    position: absolute;
    cursor: pointer;
    line-height: 30px!important;
    display: inline-block;
    font-size: 20px!important;
    padding: 4px;
}
#info {
    font-size: 14px;
}