html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

#map {
    height: 100%;
}

#pac-input {
    background-color: #fff;
    font-family: Roboto;
    font-size: 15px;
    font-weight: 300;
    margin-left: 12px;
    padding: 0 11px 0 13px;
    text-overflow: ellipsis;
    width: 400px;
    position: absolute;
    top: 0;
    left: 115px;
    z-index: 9;
    margin-top: 10px;
    border: 1px solid transparent;
    border-radius: 2px 0 0 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    height: 32px;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#pac-input:focus {
    border-color: #4d90fe;
}

.pac-container {
    font-family: Roboto;
}

#loading-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 10;
    width: 60px;
    height: 60px;
    background-color: rgba(0,0,0,0.15);
    border-radius: 15px;
    margin-left: -30px;
    margin-top: -30px;
}

#loading {
    display: table;
    width: 100%;
    height: 20px;
    margin-top: -11px;
    position: absolute;
    top: 0;
}

.folding-cube {
    width: 22px;
    height: 22px;
    position: relative;
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
    margin-top: 30px;
    margin-left: 19px;
}

.folding-cube .cube {
    float: left;
    width: 50%;
    height: 50%;
    position: relative;
    -webkit-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
}

.folding-cube .cube:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #676979;
    -webkit-animation: foldCubeAngle 2.4s infinite linear both;
    animation: foldCubeAngle 2.4s infinite linear both;
    -webkit-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

.folding-cube .cube2 {
    -webkit-transform: scale(1.02) rotateZ(90deg);
    transform: scale(1.02) rotateZ(90deg);
}

.folding-cube .cube3 {
    -webkit-transform: scale(1.02) rotateZ(180deg);
    transform: scale(1.02) rotateZ(180deg);
}

.folding-cube .cube4 {
    -webkit-transform: scale(1.02) rotateZ(270deg);
    transform: scale(1.02) rotateZ(270deg);
}

.folding-cube .cube2:before {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
    background-color: #4f515e;
}

.folding-cube .cube3:before {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

.folding-cube .cube4:before {
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s;
    background-color: #4f515e;
}

@-webkit-keyframes foldCubeAngle {
    0%, 10% {
        -webkit-transform: perspective(88px) rotateX(-180deg);
        transform: perspective(88px) rotateX(-180deg);
        opacity: 0;
    }

    25%, 75% {
        -webkit-transform: perspective(88px) rotateX(0deg);
        transform: perspective(88px) rotateX(0deg);
        opacity: 1;
    }
    90%, 100% {
        -webkit-transform: perspective(88px) rotateY(180deg);
        transform: perspective(88px) rotateY(180deg);
        opacity: 0;
    }
}

@keyframes foldCubeAngle {
    0%, 10% {
        -webkit-transform: perspective(88px) rotateX(-180deg);
        transform: perspective(88px) rotateX(-180deg);
        opacity: 0;
    }
  
    25%, 75% {
        -webkit-transform: perspective(88px) rotateX(0deg);
        transform: perspective(88px) rotateX(0deg);
        opacity: 1;
    }

    90%, 100% {
        -webkit-transform: perspective(88px) rotateY(180deg);
        transform: perspective(88px) rotateY(180deg);
        opacity: 0;
    }
}
