html, body {
    height: calc(100% - 285px);
    margin: 0;
    padding: 0;
    font-family: "Arial";
}
#map {
    height: 300px;
    max-height:100%;
}

.mb10 {
    margin-bottom:10px;
}

.customMarker {
    position: absolute;
    cursor: pointer;
    background: transparent;
    width: 60px;
    height: 71px;
    margin-left: -30px;
    margin-top: -71px;
}

.customMarker div.marker-container {
    background: #865af2;
    width:60px;
    height:60px;
}

.customMarker div.marker-container:after {
    border-style: solid;
    border-width: 10px 7px 0 7px;
    border-color: #855af2 transparent transparent transparent;
    content: "";
    position: absolute;
    bottom: 3px;
    left: 23px;
    display: block;
}

.customMarker div.marker-center {
    position: absolute;
    width: 22px;
    height: 22px;
    background: #865af2;
    border: 3px solid white;
    top: 60px;
    left: 19px;
}

.customMarker div.marker-center-large {
    position: absolute;
    width: 94px;
    height: 94px;
    opacity: 0.2;
    background: linear-gradient(135deg, #9670f4, #bb67f3);
    left: -17px;
    top: 26px;
}

.customMarker img.marker-image {
    width:72px;
    height:96px;
    margin:5px;
    border-radius:2px;
}

.customMarker img.marker-avatar {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 48px;
    height: 48px;
    border: 2px solid white;
}

.customMarker div.name-label {
    position: absolute;
    bottom: -35px;
    font-size:14px;
    font-weight: bold;
    text-align: center;
    text-shadow:
            -1px -1px 0 #fff,
            0px -1px 0 #fff,
            1px -1px 0 #fff,
            -1px 1px 0 #fff,
            0px 1px 0 #fff,
            1px 1px 0 #fff;
    width: 400px;
    margin-left: -170px;
}

.customMarker .status {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position:absolute;
    left:-110px;
    top:-50px;
}

.customMarker .status.safe {
    background: rgba(0, 200, 231, 0.2);
}
.customMarker .status.unsafe {
    background: rgba(134, 89, 242, 0.3);
}

.fix-layer {
    position: fixed;width: 100%;height: 100%;top: 0;
}

.fix-layer .disable-back {
    width: 100%;
    height: 380px;
    background-image: linear-gradient(148deg, #9670f4, #bb67f3);
}

.disable-back .header-row {
    padding: 7px 8px;
    display: inline-block;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.3);

}
.disable-back .roar-logo-big {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
    padding-top: 2px;
}

.disable-back .top-roar-label {
    padding-top: 5px;
}

.disable-back .top-roar-label a {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    color: #ffffff;
}

.btn-get-the-app {
    height: 24px;
    border-radius: 2.5px;
    background-image: linear-gradient(107deg, #69ddd8, #6ade9e);
    border: solid 1.5px #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 0.92;
    text-align: center;
    color: #ffffff;
    margin-left:20px;
}
.btn-get-the-app:hover {color: #ffffff;}

.disable-back .user-avatar-big {
    width:70px;
    height:70px;
    border-radius: 50%;
    border:3px solid white;
    margin:0 auto;
    display: flex;
}
.disable-back .name-label {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    margin:10px;
}

.disable-back .status-bar {
    margin-bottom: 10px;
    text-align: center;
}

.disable-back .status-bar .status {
    font-size: 15px;
    font-weight: 600;
    color: #6ade9e;
}

.disable-back .status-bar .status-toggle {
    background: #6ade9e;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin: 2px;
    display: inline-block;
}

.disable-back .status-bar .status-update-time {
    font-size: 13px;
    font-weight: 400;
    color: #ffffff;
}

.disable-box {
    padding:20px 15px;
}

.disable-box .disable-text {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.32;
    text-align: center;
    color: #24292f;
}

.disable-box .disable-comment {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.47;
    text-align: center;
    color: #868e99;
    padding:40px 20px;
}

.disable-box .btn-call-long {
    border-radius: 4px;
    background-color: #6ade9e;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-top:20px;
}

.currentLocationLabel {
    padding: 0 10px;
    height: 24px;
    border-radius: 2.5px;
    background-color: rgb(255, 255, 255);
    position: absolute;
    top: 10px;
    right: 10px;
}

.currentLocationLabel.mode_1{
    top:10px !important;
}

.currentLocationLabel label {
    line-height: 24px;
    font-size: 15px;
    font-weight: 400;
    color: #24292f;
    padding-left: 20px;
    max-width: 250px;
}

.logoLabel {
    padding: 0 10px;
    height: 24px;
    border-radius: 2.5px;
    background-color: rgb(255, 255, 255);
    position: absolute;
    top: 10px;
    left: 10px;
}

.logoLabel label {
    line-height: 24px;
    font-size: 15px;
    font-weight: 800;
    color: #24292f;
}

.no-page{
    text-align: center;
    padding: 50px;
    font-size: 48px;
}

img.avatar {
    width:60px;
    height:60px;
    margin-right:20px;
}

/* dead code?
#user-avatar {
    width: 75px;
    height: 75px;
    border-radius: 5px;
    border: 2px solid purple;
    cursor:pointer;
}
*/

#page-content {
    width: 100%;
    /*height: 100%;*/
    /* background: white; */
    margin-top: 295px;
    position:relative;
    /*overflow:hidden;*/
}

/*#page-content .content-scroll{
    width:100%;
    height:100%;
    overflow:auto;
}*/

.sub-content{
	width:100%;
    /*margin-top:245px;*/
}

#page-content2 {
    width: 100%;
    height: 100%;
    background: white;
    padding-top: 360px !important;
}

.box-layer {
    /*height: 100%;*/
    border-radius: 8px;
    /* border: none; */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: #ffffff;
    box-shadow: 0 -1px 3px 0 rgba(0, 0, 0, 0.15);
    border-top: solid 0.5px #c5c5c5;
    position: relative;
    height:300px;
    /*overflow:hidden;*/
}

.box-layer .handle-bar {
    width: 36px;
    height: 5px;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 7px auto;
    margin-bottom: 4px;
}
.box-layer .content {padding:0 15px;z-index: 1;position: relative;}
.box-layer .fullname-label {
    font-size: 22px;
    font-weight: 700;
    color: #24292f;
}

.box-layer .status-bar {
    margin-bottom: 10px;
}

.box-layer .status-bar .status-unsafe {
    font-size: 15px;
    font-weight: 600;
    color: #865af2;
}

.box-layer .status-bar .status-unsafe-toggle {
    background: #865af2;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin: 2px;
    display: inline-block;
}

.box-layer .status-bar .status-safe {
    font-size: 15px;
    font-weight: 600;
    color: #6ade9e;
}

.box-layer .status-bar .status-safe-toggle {
    background: #6ade9e;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin: 2px;
    display: inline-block;
}

.box-layer .status-bar .status-update-time {
    font-size: 13px;
    font-weight: 400;
    color: #707a87;
}

.btn-ask-for-update {
    height: 52px;
    border-radius: 8px;
    background: white;
    border: solid 1px #865af2;
    font-size: 15px;
    font-weight: 600;
    color: #865af2;
    margin:0;
    padding:0;
    line-height:52px;
}
.btn-ask-for-update:hover {
    color: #865af2;
}

.btn-ask-for-update-waiting {
    height: 52px;
    border-radius: 8px;
    background-color: #e5e6ea;
    font-size: 15px;
    font-weight: 600;
    line-height:52px;
    color: #868e99;
    margin: 0 !important;
    padding: 0 !important;
}

.btn-ask-for-update-waiting:hover {
    color: #868e99;
}

.btn-call {
    height: 52px;
    border-radius: 8px;
    background-color: #6ade9e;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin:0;
    padding:0 20px 0 10px;
    line-height:52px;

}

.btn-call:hover {
    color: #ffffff;
}

.message-box {
    position: absolute;
    /* height: 100%; */
    padding-top: 150px;
    top: 0;
    overflow: hidden;
    padding-bottom: 80px;
    width:100%;
}

.message-box .time-label {
    font-size: 12px;
    font-weight: 500;
    color: #acb4bf;
    text-align: center;
    margin:10px 0;
}

.message-box .message-row {
    border: 1px solid;
    padding: 0 44px 0 44px;
    color: white;
    position: relative;
    width: 100%;
    display:inline-block;
}

.message-box .message-row img.avatar-left {
    position: absolute;
    left:0;
    bottom: 0;
    width:34px;
    height:34px;
}
.message-box .message-row img.avatar-right {
    position: absolute;
    right:0;
    bottom: 0;
    width:34px;
    height:34px;
}

.message-box .message-row .message-user {
    border-radius: 8px;
    background-image: linear-gradient(258deg, #9670f4, #bb67f3);
    padding:7px 10px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.18;
    color: #ffffff;
    display:inline-block;
}

.message-box .message-row .message-user {
    border-radius: 8px;
    background-image: linear-gradient(258deg, #9670f4, #bb67f3);
    padding:7px 10px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.18;
    color: #ffffff;
    display:inline-block;
}

.message-box .message-row .message-alarm-end {
    border-radius: 8px;
    background-image: linear-gradient(102deg, #69ddd8, #6ade9e);
    padding:7px 10px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.18;
    color: #ffffff;
    display:inline-block;
}

.message-box .message-row .message-user-comment {
    font-size: 13px;
    font-weight: 400;
    color: #865af2;
    padding:3px 5px;
}

.message-box .message-row .message-me {
    border-radius: 8px;
    background-color: #3396ff;
    padding:7px 10px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.2px;
    color: #ffffff;
    float: right;
    display:inline-block;
}

.message-box .message-row .message-contact {
    border-radius: 8.8px;
    background-color: #e5e6ea;
    padding:7px 10px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.2px;
    color: #000000;
    float: right;
    display: inline-block;
}
#send-message-box {
border: 1px solid #865af2;
/* width: 100%; */
color: #865af2;
}

input#send-message-button{
  border: 1px solid #865af2;
background: transparent;
color: #865af2;
/* height:30px; */
}

.message-box-row .form-control {
  font-size: 16px;
}

#call-button,#update-button {
    display: block;
    /*width: 100%;*/
    /*height: 48px;*/
    font-size: 24px;
    margin: 10px 10px 10px 10px;
}

.user-info-panel {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 80px;
    background: #f7f7f7;
    padding: 10px 20px 10px 50px;
    font-size: 20px;
}

.main-info-label {
    width:30%;
    max-width:120px;
}

.main-info-text {
    width:70%;
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#message-list {
    padding: 5px 10px;
    font-size: 18px;
}

.message-item {
    border: 1px solid;
    padding: 0 10px 10px 80px;
    color: white;
    position: relative;
    width: 100%;
    display:inline-block;
}
.message-item-right {
    padding: 0 40px 5px 10px;
    color: #624c98;
    position: relative;
    width: 100%;
    display:inline-block;
}

.message-item:after, .message-item-right:after {
    clear:both;
}

.alarm-end-msg {
    color:#624c98;
    font-size: 16px;
    text-align: center;
    padding-bottom:30px;
}

#alarm-location, #alarm-time{
    color:gray;
}

.btn-purple {
    background: #865AF2;
    color:#fff;
}

.btn-purple:hover, .btn-purple:active, .btn-purple:focus {
    background: #5432a9;
    color:#fff;
}

.btn-black {
    background: #4a4a4a;
    color:#fff;
}
.btn-black:hover, .btn-black:active, .btn-black:focus {
    background: #313131;
    color:#fff;
}

#message-list ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.commentInfo, .commentDateStamp {
    display: inline-block;
    vertical-align: top;
    margin: 0;
    padding: 0;
    line-height: 18px;
}

.commentInfo {
    width: 34%;
    padding-right: 10px;
    box-sizing: border-box;
    word-break: break-word;
}

.message-item .timestamp {
    color: #414141;
    position: absolute;
    bottom: -22px;
    right: 0px;
    font-size: 14px;
    white-space: nowrap;
}

.message-item-right .timestamp {
    color: #414141;
    font-size: 14px;
    white-space: nowrap;
}

.comment {
    position: relative;
    display: inline-block;
    vertical-align: top;
    padding: 3px 10px;
    background: #865af2;
    margin-bottom: 15px;
    box-sizing: border-box;
    border-radius: 4px;
    min-width: 40px;
    min-height: 38px;
}

.comment:after {
    content: "";
    position: absolute;
    top: 10px;
    left: -10px;
    border-style: solid;
    border-width: 8px 10px 10px 0px;
    border-color: transparent #865af2;
    display: block;
    width: 0;
    z-index: 1;
}

.comment p {
    margin: 5px 0;
    font-size: 16px;
}

.contact-form {
    padding: 20px;
    font-weight: bold;
    font-size: 14px;
}

.contact-form .main-text {
    font-size: 18px;
}

.contact-form .btn {
    font-size: 18px;
    width: 100%;
    line-height: 30px;
    margin: 5px 0 15px;
}

.thankyou-form {
    padding: 20px;
    width:100%;
    height:100%;
    overflow:hidden;
}

.thankyou-form .thankyou-text {
    width: 200px;
    height: 50px;
    margin: 150px auto;
    font-size: 30px;
    font-weight: bold;
    color: #414141;
    text-align: center;
}
div#send-message-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(255,255,255,.8);
    border-top: 1px solid #e4e4e4;

    -webkit-backdrop-filter: blur(5px); /* Safari 9+ */
    backdrop-filter: blur(5px); /* Chrome and Opera */
}

.message-box-row {
  padding-top: 20px;
  margin-bottom: 10px;
}

.learn-more {
  margin-bottom: 10px;
  text-align: center;
  color: darkgray;
  padding-top: 10px;
}

.learn-more a {
  color: darkgray;
}

/* input#send-message-box {
    margin: 0 10pt 20pt;
    width: 60%;
    padding: 3pt;
} */

@media only screen and (max-width: 480px) {
    .user-info-panel {
        font-size: 16px;
        line-height:26px;
        padding: 10px 20px 10px 30px;
    }

    .main-info-label {
        max-width:80px;
    }
}

.loading-panel {
	width:100%;height:100%;background:#865af2;position:absolute;top:0;left:0;z-index:10000;
}

@keyframes loading {
	from { max-width: 0; }
}

.loading-text {
	margin:200px 0;
	text-align:center;
	font-size:68px;
	font-weight:900;
  font-family: "Arial Black", "Arial Bold", "Arial-BoldMT", Gadget, Arial, sans-serif;
	/* font-family: "Arial Black", Arial; */
}

.loading-text:before {
	content: attr(data-content);
	position: absolute;
	overflow: hidden;
	max-width: 4em;
	color: white;
	animation: loading 4s linear infinite;
}
