* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: fixed;
}

body {
  width: 100%;
  height: calc(var(--vh, 1vh) * 100);
  font-size: medium;
  line-height: normal;
}

br {
	line-height: normal;
}

a, a:link, a:visited {
	color: inherit;
	text-decoration: none;
	cursor: pointer;
	line-height: normal;
}
.touch {
  overflow: hidden !important;
  border: 10px solid #f00;
}

#wrapper {
  width: 100%;
  overflow-y: auto;
  position: absolute;
  top: calc((var(--vh, 1vh) * 8) - 0.1px);
  left: 0;
  height: calc(var(--vh, 1vh) * 84);
  display: block;
 }
#wrapper-display {
	height: 100%;
	width: 100%;
}

#wrapper.is-with-scroll {
  width: 432px;
}
#wrapper .menu-l {
  position: relative;
}

#wrapper .simple-menu {
/*	position: relative; */
	font-size: 0;
	z-index: 10;
}

.simple-menu .section-sm, .simple-menu .section-lg {
	padding: 20px;
	cursor: pointer;
	font-weight: 600;
	white-space: nowrap;
	letter-spacing: 2px;
	color: #fff;
	margin: 15px;
	border: 1px solid #b1009b;
	border-radius: 20px;
}

.simple-menu .section-sm {
	width: calc((100vw / 2) - 30px); /* 42vw; */
/*	height: 50vw; */
	display: inline-block;
	text-align: center;
}

.section-sm a {
	font-size: 14px;
	line-height: 18px;
  text-shadow: -2px 2px 2px #333;
  width: 100%;
  text-align: center;
  display: table;
}

.section-sm .fa {
	font-size: 6em;
}

.section-lg {
	width: auto;
/*	margin-top: 30px !important; */
	margin-bottom: 20px;
	display: grid;
	position: relative;
}

.ssection-lg::after {
	content: "";
	background-image: url("../img/emergency_call_white.png");
	background-size: contain;
	background-repeat: no-repeat;
	opacity: 0.15;
	top: 0;
	left: 10px;
	right: 0;
	bottom: 0;
	position: absolute;
}

.section-live-help {
	background-size: contain;
	background-position: left center;
	background-repeat: no-repeat;
	background-blend-mode: soft-light;
	background-opacity: 0.15;
}

.emergency-numbers {
	width: 65%;
	float: right;
	font-size: 12px;
	text-align: center;
}

.emergency-numbers h5 {
	font-size: 2rem;
	margin: 0;
	padding: 0;
}

.btn {
	padding: 8px;
	border-radius: 8px;
	color: #fff;
	font-size: 14px;
	font-weight: 400;
}

.btn:hover {
    color: inherit !important;
}

.btn-large {
	width: 100%;
	font-size: 14px;
	font-weight: 700;
}

.content-header {
	margin: 20px 0 10px;
	padding: 10px 20px;
	font-size: 30px;
	text-align: center;
    font-weight: 800;
  text-shadow: -2px 2px 2px #333;
  letter-spacing: 2px;
}

.content-header-inside {
	margin: 20px 0 0px;
	padding: 10px 20px;
	font-size: 30px;
	text-align: center;
    font-weight: 800;
  text-shadow: -2px 2px 2px #333;
  letter-spacing: 2px;
}



#wrapper .content-ll {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-size: 25px;
  line-height: 30px;
  -webkit-transform: rotate3d(0, 0, 0);
  -moz-transform: rotate3d(0, 0, 0);
  -ms-transform: rotate3d(0, 0, 0);
  -o-transform: rotate3d(0, 0, 0);
  transform: rotate3d(0, 0, 0);
}
.section-b {
  height: 200px;
  position: relative;
  cursor: pointer;
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
  text-shadow: -1px 2px 10px #444;
  letter-spacing: 2px;
}

.section-b:nth-child(odd) {
	color: #fff;
}

.section-b:nth-child(even) {
	color: #000;
}

.section-b img {
	height: 14vh;
	height: calc(var(--vh, 1vh) * 14);
	opacity: 0.7;
}
.section-b .fa, .section-b img {
	font-size: 250%;
	padding-top: 50px;
}

.section-b:active:after {
  width: 76px;
  height: 76px;
  margin-top: -38px;
  margin-left: -38px;
  background-size: 100% 100%;
  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  -o-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
.section-b.is-check {
  z-index: 1;
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.wrapper-notice {
	font-size: 10px;
	line-height: 13px;
	font-weight: 500;
}

.container {
	width: 100%;
	height: 100vh;
	height: calc(var(--vh, 1vh) * 100);
/*	background: url("../img/bg1.png") center center;
	background-size: cover; */
	position: relative;
	overflow: hidden;
	  -webkit-transform: scale(1);
}

#header, #footer {
	width: 100%;
	height: 8vh;
	height: calc(var(--vh, 1vh) * 8);
	position: absolute;
}

#header {
	top: 0;
/*	background: url("../img/topnavbg.png") center center;
	background-size: cover; */
}

.main-logo {
	height: 7.9vh;
	height: calc(var(--vh, 1vh) * 7.9);
	float: left;
	padding: 2px 10px 2px 5px;
}

#footer {
	top: 92vh;
	top: calc(var(--vh, 1vh) * 92);
	border-top: 1px solid #460446;
}

.canvas-e {
	opacity: 0.3;
}

.navtab-item {
	width: 25%;
	float: left;
	text-align: center;
	height: 8vh;
	height: calc(var(--vh, 1vh) * 8);
}

.navtab-item .fa {
	font-size: 4vh;
	font-size: calc(var(--vh, 1vh) * 4);
	padding-top: 2vh;
	padding-top: calc(var(--vh, 1vh) * 2);
}

.navtab-item.navtab-selected .fa {
	color: #fff;
	text-shadow: -2px 2px 3px #333;
}
.app-top-menu {
  position: absolute;
  top: calc(var(--vh, 1vh) * 2.5);
  right: 20px;
  display: block;
  cursor: pointer;
}

.app-top-menu .fa {
	font-size: 28px;
	color: #fff;
	text-shadow: 2px 2px 5px #333;
}

.support-page {
  font-size: calc(var(--vh, 1vh) * 2.2); /* 1.3rem; */
  line-height: calc(var(--vh, 1vh) * 3); /* 1.5rem; */
  padding: 0 2rem 2rem;
  font-weight: 300;
}

.support-page a {
	font-weight: 600;
}

.support-page h2 {
	margin-top: 3rem;
}

#main-menu {
  margin: 0 auto;
  width: 100%;
  position: relative;
  top: 0;
}
.menu-trigger, .close-trigger {
  position: absolute;
  top: 2.5vh;
  top: calc(var(--vh, 1vh) * 2.5);
  right: 20px;
  display: block;
  width: 5vh;
  height: 5vh;
  cursor: pointer;
  z-index: 333;
}
.menu-trigger:hover .menu-trigger-bar:before, .close-trigger:hover .menu-trigger-bar:before {
  width: 100%;
}
.menu-trigger:hover .close-trigger-bar:before, .close-trigger:hover .close-trigger-bar:before {
  width: 100%;
}

.close-trigger {
  z-index: 5;
  top: 1vh;
  top: calc(var(--vh, 1vh) * 1);
}

.menu-trigger-bar {
  display: block;
//  width: 100%;
  height: 4px;
  background-color: white;
  margin-bottom: 4px;
  transform: rotate(-45deg);
  position: relative;
}
.menu-trigger-bar:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 0%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
}
.menu-trigger-bar.top {
  width: 50%;
}
.menu-trigger-bar.middle:before {
  left: auto;
  right: 0;
}
.menu-trigger-bar.bottom {
  width: 50%;
  margin-left: 50%;
}

.close-trigger-bar {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #222222;
  position: relative;
}
.close-trigger-bar:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 0%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
}
.close-trigger-bar.left {
  transform: translateX(100px) translateY(-80px) rotate(-45deg);
}
.close-trigger-bar.right {
  transform: translateX(-100px) translateY(-80px) rotate(45deg);
  top: -3px;
}

.logo {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0%;
//  z-index: 10;
}

/*
.inner-container {
//	position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
}

.menu-container {
//	position: relative;
  margin-top: 8vh;
  width: 100%;
  height: calc(var(--vh, 1vh) * 84);
}

.inner-container {
//	z-index: 20;
//	top: calc(var(--vh, 1vh) * 8);
}
*/
.inner-container, .menu-container {
//  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}

.inner-container {
  z-index: 26;
}

.menu-container {
/*  display: flex; */
  align-items: center;
  overflow-y: scroll;
}
.menu {
  display: block;
  width: 100%;
  padding: 0 40px;
  font-size: calc(var(--vh, 1vh) * 2.2); /* 1.3rem; */
  line-height: calc(var(--vh, 1vh) * 3); /* 1.5rem; */
  color: #222222;
  margin: calc(var(--vh, 1vh) * 8) 0 20px;
}

.menu-container .menu a {
	font-size: inherit;
	font-weight: 700;
	color: #000;
	padding: 0;
	line-height: 1.3;
}
.menu li {
/*  text-align: center; */
  display: block;
  padding: 0 0 15px;
}
.menu li h2 {
	margin-bottom: 0.2em;
}
.menu a {
  text-decoration: none;
  display: inline-block;
  padding: 10px 0;
  position: relative;
  font-size: 4vh;
  font-size: calc(var(--vh, 1vh) * 4);
}
.menu a:hover:before {
  opacity: 1;
  transform: translateX(0px);
}
.menu a:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 18px;
  height: 4px;
  opacity: 0;
  background-color: #222222;
  transform: translateX(100px);
  transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
}

.menu-bg {
  position: absolute;
  display: block;
  width: 200%;
  left: -50%;
  top: -25%;
  height: 60%;
}
.menu-bg.middle {
  top: 10%;
  left: -50%;
  transform: rotate(-45deg) scaleY(0);
}
.menu-bg.top {
  left: 30%;
  top: -30%;
  transform: rotate(-45deg) translateY(-152%);
}
.menu-bg.bottom {
	top: 125%;
  transform: rotate(-45deg) translateY(25%);
  left: -40%;
}

.hidetoload {
  display: none;
}

.content {
	width: 100%;
	padding: 20px;
	color: #fff;
	font-size: 16px;
}

.btn-lg {
	width: 100%;
}

.btn-submit {
	font-size: 20px;
	font-weight: 600;
	font-variant: small-caps;
}

.checkbox_default {
	border-color: #ad0090;
	font-size: 20px;
	color: #ad0090;
}

.hide-camera {
	display: none;
}




@media screen and (min-width: 768px) and (max-width: 1023px) {
	.menu-bg.top {
		left: 20%;
	}
}

@media screen and (min-width: 1024px) and (max-width: 1365px) {
	.menu-bg.top {
		left: -40%;
	}
	.menu-bg.bottom {
		left: -30%
	}
}

/* CARD FEEDS */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}


.card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background-color: #fafafa;
  border: 0px;
  transition: all 0.3s ease-in-out;
}

.card .card-img {
  height: auto;
  width: 100%;
  background-color: #4426a8;
  position: relative;
  background-size: cover;
  background-position: center top;
}

.card:hover {
  transform: scale(1.01);
  transition: all 0.5s ease-in-out;
}

.card .card-content span {
  margin-bottom: 0.5rem;
  position: relative;
  display: block;
}

.card svg {
  position: absolute;
  top: 0;
}

.card .card-content {
  width: 100%;
  overflow-x: hidden;
  padding: 10px 20px 30px 20px;
  position: relative;
  overflow-y: hidden;
}

.card .card-content .bttn {
  display: inline-block;
  padding: 7px 8px;
  text-align: center;
  border-radius: 3px;
  background-color: #39454b;
  text-decoration: none;
  color: #fff;
  transition: 300ms all;
}

.card .card-content .bttn:hover {
  background-color: #3e4c53;
  color: #fff;
}

.card .card-content p:first-of-type {
  margin-top: 0px;
  text-align: left;
}


/* CHECKBOXES */
.check-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.check-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
}

/* Create the checkmark/indicator (hidden when not checked) */
.check-container .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.check-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.check-container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}



/* CAMERA CAPTURE STYLE	*/
#camera_capture {
	position: fixed;
	top: 8vh;
	top: calc(var(--vh, 1vh) * 8);
	height:	92vh;
	height: calc(var(--vh, 1vh) * 84);
	z-index: 1;
	width: 100%;
}

#vid_container {
/*    position: absolute; */
    top: 0;
    left: 0;
}      

#camera--view, #camera--sensor{
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 1;
}

#camera--view, #camera--sensor, #incident_photo1 {
    transform: scaleX(-1);
    filter: FlipH;
}

#video{
    width: 100%; 
    height: 100%;
    object-fit: cover; 
    z-index: 0; 
} 

#gui_controls {
    position: fixed;
/*    background-color: #111; rgba(255, 0, 0, 0.5);*/
    z-index: 2;
    bottom:8vh;
}      

#video_overlay {
    position: fixed; 
    display: none; 
    width: 100%; 
    height: 100%; 
    top: 0; 
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 10;
    background-color:#111;
}

/*  Button style from: 
    https://googlesamples.github.io/web-fundamentals/fundamentals/media/mobile-web-video-playback.html */

.camera-button {
    outline: none;
    position: absolute;
    color: white;
    display: block;
    opacity: 1;
    background: transparent;
    border: solid 2px #fff;
    padding: 0;
    text-shadow: 0px 0px 4px black;
    background-position: center center;
    background-repeat: no-repeat;
    pointer-events: auto;
    z-index: 2;
}

#takePhotoButton {
    left: calc(50% - 40px);
    top: calc(50% - 40px);
    width: 80px;
    height: 80px;
    background-image: url('/img/camera/ic_photo_camera.png');
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
}

#takePhotoButton:active {
    background-color: #fff;
}

#toggleFullScreenButton {
    display: none;
    width: 64px;
    height: 64px;
    background-image: url('/img/camera/ic_fullscreen.png');
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
}

#toggleFullScreenButton[aria-pressed="true"] {
    background-image: url('/img/camera/ic_fullscreen_exit.png');
}

#closeCameraButton {
    display: none;
    width: 64px;
    height: 64px;
    background-image: url('/img/camera/ic_camera_exit.png');
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
}

#switchCameraButton {
    display: none;
    width: 64px;
    height: 64px;
    background-image: url('/img/camera/ic_camera_flip.png');
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
}

#switchCameraButton[aria-pressed="true"] {
    background-image: url('/img/camera/ic_camera_flip.png');
}

#startVideoButton {
	left: calc(50% - 40px);
    top: calc(50% - 40px);
    width: 80px;
    height: 80px;
    background-image: url('/img/camera/ic_video_camera.png');
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
}

#stopVideoButton {
	left: calc(50% - 40px);
    top: calc(50% - 40px);
    width: 80px;
    height: 80px;
    background-image: url(/img/progress.gif);
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
}


@media screen and (orientation:portrait) {
    /* portrait-specific styles */

    /* video_container (video) doesn't respect height... 
       so we will fill it in completely in portrait mode
    */
    #vid_container {
        width:100%;
        height: 100%;
        /*max-height:80%;*/
    }  

    #gui_controls {
        width: 100%;
        height: 160px;
        left:0;
    }

    #switchCameraButton { 
        left: calc(20% - 32px);
        top: calc(50% - 32px);
    }

    #toggleFullScreenButton { 
        left: calc(80% - 32px);
        top: calc(50% - 32px);
    }

    #closeCameraButton { 
        left: calc(80% - 32px);
        top: calc(50% - 32px);
    }
}

@media screen and (orientation:landscape) {

    #vid_container {
        width:80%;
        height:100%;
    }  

    #vid_container.left {
        left:20%;
    }

    /* we default to right */
    #gui_controls {
        width: 20%; 
        height:100%;
        right:0;
    }  

    /* for the lefties */
    #gui_controls.left {
        left:0;
    }

    #switchCameraButton { 
        left: calc(50% - 32px);
        top: calc(18% - 32px);
    }

    #toggleFullScreenButton {
        left: calc(50% - 32px);
        top: calc(82% - 32px);
    }

    #closeCameraButton {
        left: calc(50% - 32px);
        top: calc(82% - 32px);
    }

} 



/* STYLE FOR AUDIO CAPTURE */
.hidden {
  display: none;
}

.highlight {
  background-color: #eee;
  font-size: 1.2em;
  margin: 0 0 30px 0;
  padding: 0.2em 1.5em;
}

.warning {
  color: #ffa2a2;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
}

audio {
  width: 100%;
}

path {
	stroke-linecap: square;
	stroke: white;
	stroke-width: 0.5px;
}

#formats svg {
	display: block;
	width: 100%;
	height: 100px;
	padding: 0;
	margin: 0;
//	position:absolute;
}




/* ADDED BY CJ */
.system_message {
	width: auto;
	padding: 10px;
	color: black;
	border: 1px solid #3f7700;
	border-radius: 10px;
	margin: 20px 20px 0;
	background-color: #b8fbaf;
}

.system_message.system_error {
	border: 1px solid #FFCC80;
	background-color: #ff9800;	
}

button[disabled], input[type=button][disabled] {
    border: 1px solid rgb(187, 181, 181);
    color: #afafaf;
    text-shadow: none;
}

#recButtonAnim {
	width: 70px;
	height: 70px;
	border: 0;
	border-radius: 35px;
	margin: auto;
}

.notRec{
	background-color: darkred;
}

.Rec{
	animation-name: pulse;
	animation-duration: 1.5s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
	background-color: red;
}

@keyframes pulse{
	0%{
		box-shadow: 0px 0px 5px 0px rgba(173,0,0,.7);
	}
	65%{
		box-shadow: 0px 0px 5px 13px rgba(173,0,0,.7);
	}
	90%{
		box-shadow: 0px 0px 5px 13px rgba(173,0,0,3);
	}
}

/* https://css-tricks.com/custom-list-number-styling/ */
ol {
  list-style: none;
  counter-reset: my-awesome-counter;
  padding-left: 0px;
}
ol li {
  counter-increment: my-awesome-counter;
  padding-left: 35px;
  margin-bottom: 12px;
}
ol li::before {
  content: counter(my-awesome-counter) ". ";
  font-weight: bold;
  font-size: 24px;
  line-height: 50px;
  position: absolute;
  left: 20px;
}

.koowi-hidden-var {
	display: none;
	visibility: hidden;
}




/* helium modal styles */
.helium-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0,0,0,0.6);
/*  z-index: 2000; */
  display: none;
  color:#000;
}

.helium-modal .modal {
  position: absolute;
  left: -9999px;
}

/* === customizable styles === */
.helium-modal .modal {
  background-color: #fff;
  padding: 20px;
/*  box-shadow: 0 4px 4px rgba(0,0,0,0.2); */
	display: block;
	width: 90%;
	height: auto;
}

.helium-modal .modal a.x-button {
  position: absolute;
  top: 3px;
  right: 6px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
  color: #000;
}

#admin-messages {
	height: calc((var(--vh, 1vh) * 84) - 155px);
	padding-top: 20px;
	padding-bottom: 20px;
	position: relative;
}

#message-list {
    width: 100%;
	height: calc((var(--vh, 1vh) * 84) - 190px);
    display: flex;
    flex-direction: column;
    padding: 0 10px;
	overflow-y: scroll;
	border-radius: 5px;
}

#message-list p, #message-list .from-them, #message-list .from-me {
    max-width: 90%;
    word-wrap: break-word;
    margin: 5px 0 15px 0;
    font-size: 16px;
    line-height: 1.25;
    position: relative;
    padding: 10px 20px;
    border-radius: 25px;
}

#message-list p:before, #message-list p:after, #message-list .from-them:before, #message-list .from-them:after, #message-list .from-me:before, #message-list .from-me:after  {
    content: "";
    position: absolute;
    bottom: -2px;
    height: 20px;
}
.from-me {
    color: #000973;
    align-self: flex-end;
}

.from-them {
    color: #333;
}
.from-them:before {
    left: -7px;
    border-left: 20px solid #E5E5EA;
    border-bottom-right-radius: 16px 14px;
    -webkit-transform: translate(0, -2px);
    transform: translate(0, -2px);
}
.from-them:after {
	left: 20px;
    width: 10px;
    border-bottom-right-radius: 10px;
    -webkit-transform: translate(-30px, -2px);
    transform: translate(-30px, -2px);
}
.from-me:before {
    right: -7px;
    border-bottom-left-radius: 16px 14px;
    -webkit-transform: translate(0, -2px);
    transform: translate(0, -2px);
}
.from-me:after {
    right: -40px;
    width: 10px;
    border-bottom-left-radius: 10px;
    -webkit-transform: translate(-30px, -2px);
    transform: translate(-30px, -2px);
}

.sender-info {
	position: relative;
	top: -12px;
	font-size: 10px;
	color: #ffffffa3;
}

.sender-from-me {
	text-align: right;
	color: #000000a6;
}

#message-input {
    height: 80px;
    padding-left: 15px;
    padding-right: 15px;
    display: grid;
    padding-top: 10px;
    position: relative;
    bottom: 0;
}

.chat-input {
    float: left;
    width: calc(100% - 50px);
}

.chat-input textarea {
    height: 60px;
    padding: .375rem .375rem;
    display: block;
    width: 100%;
    color: #495057;
    border-color: #eee;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    overflow: auto;
    margin: 0;
    overflow: auto;
    resize: vertical;
}

.chat-submit {
	padding-top: 13px;
    float: right;
    width: 40px;
    text-align: center;
    height: 60px;
    border-radius: .25rem;
}

.chat-submit-button {
	font-size: 30px;
	color: #fff;
}


/* LOCK SCREEN ORIENTATION PORTRAIT */
/*
@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: landscape) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
}
*/




.section_title {
    text-align: center;
    padding: 5px;
    font-weight: 200;
    white-space: nowrap;
    color: #ffc3fa;
    margin-bottom: 12px;
    border: 1px solid #b1009b;
    border-radius: 10px;
}

.select-css {
    display: block;
    font-size: 16px;
    font-family: sans-serif;
    /* font-weight: 700; */
    color: #ffc3fa;
    line-height: 1.3;
    padding: .6em 1.4em .5em .8em;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
    border-radius: .5em;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url('../img/select_dropdown_arrow.png');
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
}

input[type="radio"] {
	display: block;
    font-size: 16px;
    font-family: sans-serif;
    /* font-weight: 700; */
    /* color: #444; */
    line-height: 1.3;
    padding: .6em 1.4em .5em .8em;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #ced4da;
    box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
    border-radius: .5em;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #f8e1ff;
}

.badge1 {
   position:relative;
}
.badge1[data-badge]:after {
   content:attr(data-badge);
   position:absolute;
   top:-20px;
   right:-10px;
   font-size:.6em;
   font-weight: 800;
   background:#fff;
   color: black;
   width:18px;height:18px;
   text-align:center;
   line-height:18px;
   border-radius:50%;
   box-shadow:0 0 1px #333;
}

/* stylized file input */
.file-input {
  display: inline-block;
  text-align: left;
  background: #fff;
  padding: 0px;
  width: 100%;
  position: relative;
  border-radius: 5px;
}

.file-input > [type='file'] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 10;
  cursor: pointer;
}

.file-input > .button {
  display: inline-block;
  cursor: pointer;
  background: #a100a1;
  padding: 8px 16px;
  border-radius: 5px;
  margin-right: 8px;
}

.file-input:hover > .button {
  background: grey;
  color: white;
}

.file-input > .label {
  color: #333;
  white-space: nowrap;
  opacity: .3;
}

.file-input.-chosen > .label {
  opacity: 1;
}


/* UPLOAD ANIMATION */
#upload-animation {
	width: 100%;
    overflow-y: auto;
    position: absolute;
    top: calc(var(--vh, 1vh) * 8);
    left: 0;
    height: calc(var(--vh, 1vh) * 84);
    display: none;
    background-color: #430744;
}

.upwrapper {
    width:200px;
    height:60px;
    position: absolute;
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);
    text-align: center;
/*    z-index: 1; */
}
.upwrapper .circle{
    width:20px;
    height:20px;
    position: absolute;
    border-radius: 50%;
    background-color: #fff;
    left:15%;
    transform-origin: 50%;
    animation: circle .5s alternate infinite ease;
}

@keyframes circle{
    0%{
        top:60px;
        height:5px;
        border-radius: 50px 50px 25px 25px;
        transform: scaleX(1.7);
    }
    40%{
        height:20px;
        border-radius: 50%;
        transform: scaleX(1);
    }
    100%{
        top:0%;
    }
}
.upwrapper .circle:nth-child(2){
    left:45%;
    animation-delay: .2s;
}
.upwrapper .circle:nth-child(3){
    left:auto;
    right:15%;
    animation-delay: .3s;
}
.upwrapper .shadow{
    width:20px;
    height:4px;
    border-radius: 50%;
    background-color: rgba(0,0,0,.5);
    position: absolute;
    top:62px;
    transform-origin: 50%;
    z-index: -1;
    left:15%;
    filter: blur(1px);
    animation: shadow .5s alternate infinite ease;
}

@keyframes shadow{
    0%{
        transform: scaleX(1.5);
    }
    40%{
        transform: scaleX(1);
        opacity: .7;
    }
    100%{
        transform: scaleX(.2);
        opacity: .4;
    }
}
.upwrapper .shadow:nth-child(4){
    left: 45%;
    animation-delay: .2s
}
.upwrapper .shadow:nth-child(5){
    left:auto;
    right:15%;
    animation-delay: .3s;
}
.upwrapper span{
    position: relative;
    top:75px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 8px;
    color: #fff;
}




/* ADD TO HOMESCREEN */
.ath-container {
	background-color: #ffffffe8;
	max-width: 480px;
}
.ath-banner {
	display: block !important;
	padding: 0 12px;	
}

.ath-guidance {
	padding: 0 !important;
}

.ath-banner-cell {
	float: left;
}

.ath-prompt-logo {
	width: 80px;
}

.ath-banner-cell-right {
	float: right;
	margin-top: 10px;	
}

.ath-banner-cell-margin-right {
	margin-right: 20px;
}

.btn-install, .btn-cancel {
	font-weight: 700;
	font-size: 18px;
}

.ath-banner-footer {
	width: 100%;
    margin-top: 30px;
    padding: 5px;
    font-size: 10px;
    line-height: initial;
    color: #333;
    border-top: 2px dotted #80808080;
}

.ath-banner-footer span {
	font-size: 8px;
	line-height: 10px;
	color: #999;
}

.dd-none {
	display: none !important;
}

.dd-flex {
	display: block !important;
}

.my_menu_box {
	position: absolute;
	height: calc(var(--vh, 1vh) * 84);
	overflow-y: scroll;
}

.poppy-popup-content {
	font-size: 15px;
	line-height: 1.5;
}
.poppy-popup > .poppy-popup-container > .poppy-popup-buttons {
    padding: 5px 10px !important;
}

.mask-app {
	position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 999;
    display: none;
    color: #000;
}

.text-color-on-background1 {
	color: #caaec6;
	font-size: 0.9em;
}

.long-form-text {
	font-size: 1rem;
	line-height: 1.2;
}

.terms-of-use {
	font-size: 10px;
	line-height: 1.2;
}

.feed-single-element {
	padding: 0 1rem 3rem 1rem;
}
@media screen and (min-width: 800px) {
	.feed-single-element {
		padding: 0 3rem 6rem 3rem;
	}
}


/* DEVELOPER MENU */
.devmenu {
  font-weight: 100;
  width: 240px;
  height: 160px;
  position: fixed;
  top: calc(var(--vh, 1vh) * 8); /*40px;*/
  z-index: 100;
  -webkit-box-shadow: -3px 0px 5px 0px rgba(0, 0, 0, 0.2);
  box-shadow: -3px 0px 5px 0px rgba(0, 0, 0, 0.2);
  right: -240px;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  color: #222;
}
/*.devmenu:hover, .devmenu:focus {*/
.devmenu-toggle {
  transform: translate3d(-220px, 0, 0);
  animation-timing-function: ease-in-out;
}
.devmenu .devtitle {
  position: absolute;
  top: 62px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  transform: rotate(270deg);
  left: -80px;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  width: 160px;
  text-align: right;
  color: #999; 
  z-index: 101;
}
.devmenu .devnav {
  background: #fff;
  position: absolute;
  top: 50%;
  height: 100%;
  padding-top: 20px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 100;
  width: 100%;
}
.devmenu .devnav li {
  padding-bottom: 10px;
  list-style-type: none;
  font-size: 14px;
}
.devmenu .devnav li strong {
	font-weight: 800;
}

/* Community Safety Score */
.safety-score {
	margin-bottom: 60px;
	backdrop-filter: saturate(800%) hue-rotate(290deg);
	width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.safety-score figure {
  position: relative;
  display: flex;
  align-self: center;
  justify-content: center;
/*  width: 100%; /* 340px; */
  height: 190px;
  margin: 0 auto;
  font-family: 'Lato', sans-serif;
  color: #fff;
  margin: 30px 10px 20px;
  max-width: 350px;
}

.safety-score figure svg {
  position: absolute;
  left: 0;
  top: 0;
}

.safety-score figure svg path {
  transition: all 1s;
}

.safety-score figure svg .pie-chart-bg {
	stroke: rgba(0,0,0,.5);
	stroke-width: 40;
	stroke-linecap: round;
}

.safety-score figure .svg-pie-chart-bg {
	width: 100%;
	height: 190px;
	max-width: 340px;
}

.safety-score figure svg .pie-chart-line {
	stroke: #ff0000;
	stroke-width: 40;
	stroke-linecap:	round;
}

.safety-score figure .svg-pie-chart-line {
	width: 100%;
	height: 190px;
	max-width: 340px;
}

.safety-score figure .text {
  align-self: flex-end;
  text-align: center;
  z-index: 1;
}

.safety-score figure .percent {
  font-size: 80px;
  font-weight: bold;
  line-height: 80px;
  text-shadow: -3px 3px 5px #000;
}

.safety-score figure .symbol {
  font-size: 36px;
  margin-left: -8px;
}

.safety-score figure .complete {
  font-size: 18px;
  line-height: 20px;
}

.valign-parent {
/*	position: relative; */
}
.valign-child {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
