:root{--mainColor:#1c3c77;--accentColor:#ca2130;--accent2Color:#fff;--textColor:#444;--headlineColor:#666;--bordersColor:#d9d9d9;--calendarLinesColor:#c2c2c2;--timeslotColor:#818FA6;--inactiveElementColor:#ccc}

html {
	font-size: 1rem;
	transition: all 0s ease 0s;
	
	height: 100%;
}

body {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;

	color: var(--textColor);

	padding: 0;
	margin: 0;
	transition: all 0s ease 0s;
	
	height: 100%;
}

* {
	box-sizing: border-box;
	
	transition: all 0.1s ease-in-out;
}

a {
	color: inherit;
}

strong {
	font-weight: 700;
}

#centerFlexWrap {
	display: flex;
	
	min-width: 100vw;
	min-height: 100vh;
}

#centerBox {
	width: 28.1rem;

	border-radius: 0.8rem;

	border: 1px solid var(--bordersColor);

	text-align: center;

	padding: 0 0 3.8rem 0;
	margin: auto;
	
	position: relative;
}

#langSwitcher {
	display: block;
	position: absolute;
	top: 0.5rem;
	right: 0.75rem;
	
	color: var(--textColor);
	
	font-size: 0.9rem;
}

#langSwitcher a {
	text-decoration: none;
}

#centerBox #logo {
	display: block;

	width: 40%;
	height: auto;

	position: relative;
	left: 50%;

	margin: 2.8rem 0 2.6rem 0;

	transform: translateX(-50%);
}

#centerBox #logo img {
	width: 100%;
	height: auto;
}

#centerBox #title {
	font-size: 160%;

	color: var(--headlineColor);

	width: 80%;

	transform:translateX(-50%);

	position: relative;
	left: 50%;
}

#centerBox #subtitle {
	width: 80%;

	transform:translateX(-50%);

	position: relative;
	left: 50%;

	font-size: 92%;
	line-height: 3ex;
	
	margin: 2.5rem 0 3rem 0;
}

#centerBox .text {
	width: 80%;

	transform:translateX(-50%);

	position: relative;
	left: 50%;

	line-height: 3ex;

	margin-top: 45px;
}

#centerBox .text.smaller {
	color: #777;
	font-size: 80%;
}

#centerBox .text.spaced {
	letter-spacing: 0.075rem;
}

#centerBox .text.bigger {
	font-size: 120%;
}

#centerBox .spacer {
	display: block;
	width: 100%;
	
	height: 1.25rem;
}

#centerBox .text.verificationCodeResend {
	margin-top: 1.8rem;
	
	font-size: 85%;
	font-weight: 500;
}

#centerBox .form {
	width: 80%;
	height: auto;

	transform: translateX(-50%);

	position: relative;
	left: 50%;
}

#centerBox .form table {
	width: 100%;

	position: relative;
}

#centerBox .form .tField {
	display: block;

	width: 100%;
	height: auto;

	position: relative;

	margin-bottom: 1.8rem;
}

#centerBox .form .tField.verificationCode {
	width: 11rem;
	
	display: inline-block;
}

#centerBox .form .tLabel {
	pointer-events: none;

	display: block;

	width: auto;
	height: auto;

	position: absolute;
	left: 1.25rem;
	top: 50%;

	transform: translateY(-50%);

	text-align: left;
}

#centerBox .form .tField .errorMessage {
	color: #f00;

	padding-top: 0;
	height: 0;

	font-size: initial;

	clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
	
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0);
	white-space: nowrap;
}

#centerBox .form input[type=text].error ~ div.errorMessage,
#centerBox .form input[type=password].error ~ div.errorMessage{
	padding-top: 0.3rem;
	height: 1.9rem;
	clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

#centerBox .form input[type=text].radio:not(.selected) + .tLabel {
	font-size: initial !important;

	left: 1.25rem !important;
	top: 50% !important;

	padding: initial !important;
}

#centerBox .form input[type=text]:focus + .tLabel,
#centerBox .form input[type=text]:-webkit-autofill + .tLabel,
#centerBox .form input[type=text]:valid + .tLabel,
#centerBox .form input[type=password]:focus + .tLabel,
#centerBox .form input[type=password]:-webkit-autofill + .tLabel,
#centerBox .form input[type=password]:valid + .tLabel,
#centerBox .form input[type=text].radio.selected + .tLabel
{
	background-color: #fff;
	
	font-size: 82%;

	left: 0.6rem;
	top: 0;
	
	white-space: nowrap;
	max-width: 90%;
	text-overflow: ellipsis;
	overflow: hidden;

	padding: 0 0.45rem 0 0.45rem;
}

#centerBox .form input[type=text],
#centerBox .form input[type=password]{
	font-size: 100%;
	font-family: 'Roboto', sans-serif;

	display: block;

	width: 100%;
	height: 3.2rem;

	position: relative;

	padding-left: 1.25rem;

	border-radius: 0.3rem;
	border: 1px solid var(--bordersColor);
}

#centerBox .form input[type=text]:-webkit-autofill,
#centerBox .form input[type=password]:-webkit-autofill{
    background-color: #fff !important;
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
}

#centerBox .form input[type=text]#fVerificationCode {
	font-size: 185%;
	letter-spacing: 0.4rem;
}

#centerBox .form input[type=text].error,
#centerBox .form input[type=password].error {
	border: 1px solid #f00;
}

#centerBox .form input[type=text].error + .tLabel,
#centerBox .form input[type=password].error + .tLabel{
	color: #f00;
}

#centerBox .form input[type=text]:focus,
#centerBox .form input[type=password]:focus,
#centerBox .form input[type=text].radio.selected
{
	border: 2px solid var(--mainColor);

	outline: none !important;
}

#centerBox .form input[type=text]:focus + .tLabel,
#centerBox .form input[type=password]:focus + .tLabel,
#centerBox .form input[type=text].radio.selected + .tLabel
{
	color: var(--mainColor);
}

#centerBox .form input[type=text]:invalid,
#centerBox .form input[type=password]:invalid{
	box-shadow: none;
}

#centerBox .form .tField input[type=radio] {
	position: absolute;
	width: 0;
	opacity: 0;
}

#centerBox .form .tField input[type=radio] + label {
	cursor: pointer;
	
	display: block;
	
	position: relative;
	
	width: 100%;
	height: 3.2rem;
	border-radius: 0.3rem;
	border: 1px solid var(--bordersColor);
	
	padding-left: 1.25rem;
	
	text-align: left;
}

#centerBox .form .tField input[type=radio] + label div {
	pointer-events: none;

	display: block;

	width: auto;
	height: auto;

	position: absolute;
	left: 1.25rem;
	top: 50%;

	transform: translateY(-50%);

	text-align: left;
}

#centerBox .form .tField input[type=radio]:checked + label {
	color: var(--mainColor);
	border: 2px solid var(--mainColor);
}

#centerBox .form #tSubmit {
	display: block;

	position: relative;

	margin-top: 1.25rem;

	text-align: right;
}

#centerBox .form #tSubmit #submitBtn {
	margin: 0;
}

#resendTimer.disabled {
	display: none;
}


.verificationCodeResend a.disabled {
	display: none;
}

#calendarFlexContainer {
	display: flex;
	width: 100vw;
	height: 100%;
	
	flex-direction: column;
	
	padding-bottom: 1.25rem;
}

#calendarFlexContainer .backBtn {
	margin-left: 10vw;
}

#header {
	display: block;
	position: relative;

	width: 100%;
	height: 50px;

	margin-bottom: 25px;

	border-bottom: 1px solid #c2c2c2;
	
	box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.15);
}

#header #headerContent {
	width: 80%;
	height: 100%;
	position: absolute;
	top: 0%;
	left: 50%;
	transform: translateX(-50%);

	white-space: nowrap;

	text-align: center;
}

#header #headerContent .logo {
	display: inline-block;
	height: 65%;
	width: auto;

	position: relative;
	margin-right: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
}

#header #headerContent .title {
	display: inline-block;
	height: auto;
	width: auto;

	position: relative;

	font-size: 140%;
	font-weight: 700;
	letter-spacing: 3px;

	color: var(--mainColor);
}

#header #langSwitcher {
	top: 25px;
	transform: translate(0, -50%);
}

#intro {
	display: inline-block;

	width: 50%;
	margin-bottom: 1.25rem;

	position: relative;
	left: 50%;
	transform: translateX(-50%);

	color: var(--headlineColor);
	text-align: center;
	
	display: none;
}

.weekSwitcher {
	padding-left: 0.8rem;
}

.weekSwitcher a {
	display: inline-block;
	
	background-color: #dfdfdf;
	
	text-align: center;
	text-decoration: none;
	border-radius: 10rem;
	
	line-height: 1.7rem;
	
	width: 1.7rem;
	height: 1.7rem;
	
	margin-top: 0.1rem;
}

.headerLine {
	display: flex;
	
	margin-bottom: 0.6rem;
}

#monthIndicator {
	display: inline-block;
	
	flex-grow: 1;

	color: var(--headlineColor);
	font-size: 165%;
	font-weight: 400;
	
	padding-left: 2rem;
}

#monthIndicator .weekIndicator {
	display: inline-block;
	font-size: 60%;

	margin-left: 0.3rem;

	transform: translate(0, -0.2rem);
}

#scheduleAppointmentForm {
	display: flex;
	position: relative;
	
	flex-direction: column;
	flex-grow: 1;
}

#calendarWrapper {
	display: inline-block;
	width: 80vw;
	height: 65vh;

	position: relative;
	left: 10%;
	
	overflow: hidden;
	
	flex-grow: 1;
}

#calendar {
	display: block;
	width: auto;
	height: 100%;

	position: absolute;
	left: 0%;
	
	transition: all 0.3s ease-in-out;
}

#calendar .week {
	height: 100%;
	
	display: flex;
	flex-direction: column;
	
	position: absolute;
}

table#timeslotSelectionTable {
	border-collapse: collapse;

	width: 100%;
	height: 1px;
	
	flex-grow: 1;
	
	position: relative;
}

#timeslotSelectionTable tr {
	height: 100%;
	position: relative;
}

#timeslotSelectionTable td.td_day {
	height: 100%;
	border-right: 1px solid var(--calendarLinesColor);
	
	position: relative;
}

#timeslotSelectionTable td#td_timeIndicatorTable {
	position: relative;
	width: 5%;
	height: 100%;
}

#timeIndicatorTable {
	border-collapse: collapse;
	
	position: relative;
	
	width: 100%;
	height: 100%;
}

#timeIndicatorTable td.td_timeIndicator {
	margin: 0px;
	padding: 0px 0.62rem 0px 0px;

	vertical-align: top;
}

#timeIndicatorTable .timeIndicator {
	display: block;
	position: relative;
	
	text-align: right;
	font-size: 69%;

	padding-right: 5px;

	transform: translateY(calc(-50% - 1px));
}

#timeslotSelectionTable td.td_dayIndicator {
	vertical-align: top;
	text-align: center;

	padding: 0px;
	margin: 0px;
}

#timeslotSelectionTable td.td_dayIndicator div {
	display: inline-block;
	width: auto;
	
	padding: 0.3rem 0.6rem 0.2rem 0.6rem;
}

#timeslotSelectionTable td.td_dayIndicator.today div {
	border: 1px solid var(--calendarLinesColor);
	border-radius: 0.4rem;
}

#timeslotSelectionTable td.td_dayIndicator.today span {
	font-weight: bold !important;
}

#timeslotSelectionTable td.td_dayIndicator.last {
	border-right: none !important;
}

#timeslotSelectionTable .td_dayIndicator .dow {
	display: inline-block;
	position: relative;

	background-color: #fff;

	font-size: 80%;
	font-weight: 500;

	display: block;
	position: relative;

	width: 101%;

	padding-bottom: 8px;
}

#timeslotSelectionTable .td_dayIndicator .day {
	display: inline-block;
	position: relative;

	background-color: #fff;

	font-size: 155%;
	font-weight: 300;

	width: 101%;
	height: auto;
}

.dayWrapper {
	position: relative;
	height: 100%;
}

.dayTimeslotWrapper {
	position: absolute;
	bottom: 0px;
	width: 100%;
}

table.dayTable {
	width: 100%;
	height: 100%;
	
	border-collapse: collapse;
	
	table-layout: fixed;
}

.dayTable tr {
}

.dayTable td {
	border-bottom: 1px solid var(--calendarLinesColor);

	padding: 0px;
	margin: 0px;

	text-align: left;
}

.dayTable tr:last-child td {
	border-bottom: none;
}


.dayTable td.hour {
}

.dayWrapper .l_timeslot {
	display: block;
	width: calc(100% - 3px);
	height: calc(6vh - 3px);

	position: absolute;
}

.dayWrapper .l_timeslot > input {
	visibility: hidden;
	position: absolute;
}

.dayWrapper .l_timeslot > input + div {
	cursor:pointer;
	display: block;

	position: relative;

	font-size: 80%;
	font-weight: 500;

	border: 4px solid var(--timeslotColor);
	background-color: var(--timeslotColor);
	color: #fff;

	width: 100%;
	height: 100%;

	padding: 4px;

	border-radius: 5px;
	
	overflow: hidden;

	z-index: 1000;
}

.dayWrapper .l_timeslot > input + div .fullDesc{
	display: inline;
}
.dayWrapper .l_timeslot > input + div .shortDesc{
	display: none;
}

.dayWrapper .l_timeslot > input:checked + div {
	border: 4px solid var(--mainColor);
	background-color: var(--mainColor);
}





.btn {
	cursor: pointer;
	text-decoration: none;
	
	border: 2px solid var(--inactiveElementColor);
	border-radius: 0.3rem;
	
	color: var(--inactiveElementColor);

	font-family: 'Roboto', sans-serif;
	font-size: 94%;
	font-weight: 500;
	letter-spacing: 0.06em;
	
	padding: 0.5rem 1.5rem !important;

	box-shadow: 1px 1px 6px 0px rgba(0,0,0,0);
	align-self: start;
	
	-webkit-appearance: none
}

.btn.primary {
	color: var(--accent2Color);
	border: 2px solid var(--mainColor);
	background-color: var(--mainColor);
	
	padding: 0.5rem 1.5rem;
}

.btn.transparent {
	border: 2px solid rgba(1, 1, 1, 0);
	background-color: rgba(1, 1, 1, 0);
	
	color: var(--inactiveElementColor);
	
	padding: 0.5rem 0.5rem !important;
}

.btn.invalid {
	color: var(--inactiveElementColor);
	border: 2px solid var(--inactiveElementColor);
	background-color: rgba(1, 1, 1, 0);
	
	pointer-events: none;
}

.btn.invalid:hover {
	cursor: default;
	box-shadow: none;
}

.btn.backBtn {
	position: absolute;
	
	bottom: 0px;
	left: 0px;
}



.btn.calPage {
	position: relative;
	left: 50%;
	transform: translateX(-50%);

	margin-top: 1.25rem;
}

.btn.calPage:hover {
	box-shadow: 1px 1px 6px 0px rgba(0,0,0,0.2);
}

#ppTextCenter {
	display: block;

	width: 75%;
	position: relative;
	left: 50%;
	transform: translateX(-50%);

	margin-top: 50px;
	margin-bottom: 100px;
}




.errorWrapper {
	display: inline-block;
	width: 100%;
	
	text-align: center;
	
	margin-top: 1rem;
}

.errorWrapper .errorMessage {
	display: inline-block;
	
	border: 1px solid red;
	border-radius: 0.2rem;
	
	color: red;
	
	padding: 0.5rem 1.75rem;
	
	clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}

.errorWrapper .errorMessage.error {
	clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

#fileInputs input[type=file] {
	display: none;
}

#fileInputs .fileCaptureContainer, #fileInputs .filePickContainer {
	border: 2px solid var(--mainColor);
	display: inline-block;
	
	color: var(--mainColor);
	font-weight: 500;
	
	width: auto;
	height: 5rem;
	
	padding: 0 0.1rem;
	
	text-align: center;
	
	position: relative;
	
	border-radius: 0.75rem;
}

#fileInputs .fileCaptureContainer i, #fileInputs .filePickContainer i {
	width: 100%;
	
	font-size: 1.75rem;
	
	margin-top: 10%;
	margin-bottom: 8%;
}

#fileInputs .fileCaptureContainer:hover, #fileInputs .filePickContainer:hover {
	box-shadow: 0.1rem 0.1rem 0.5rem 0 rgba(0, 0, 0, 0.4);
}

#fileInputs .fileCaptureContainer {
	display: none;
}

#fileInputs label {
	display: block;
	
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	
	cursor: pointer;
}

#thumbnailContainer {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}

#thumbnailContainer .thumbnail {
	min-width: 0;
	min-height: 0;
	overflow: hidden;
}

#thumbnailContainer .thumbnail img {
	width: 100%;
	height: auto;
	
	display: block;
}

/* MEDIUM */
@media ( max-width: 999px ) {
	#fileInputs .fileCaptureContainer {
		display: inline-block;
	}
}



/* Media Queries */

/* NORMAL */
@media ( max-width: 1200px ) {
	/*body::before{content:"NORMAL"}*/
}

/* MEDIUM */
@media ( max-width: 999px ) {
	/*body::before{content:"MEDIUM"}*/
	
	html{
		font-size: 2.5rem;
	}
	
	#centerFlexWrap {
		min-height: -webkit-fill-available;
		padding: 2.5vw;
	}
	
	#centerBox {
		width: 100vw;
		margin: auto;
	}
	
	#centerBox #logo {
		width: 40%;
		
		margin: 2rem 0 1.8rem 0;
	}
	
	#centerBox #subtitle {
		margin: 0.7rem 0 1.6rem 0;
	}
	
	#centerBox .form input[type="text"].radio:not(.selected) + .tLabel {
		font-size: 1rem !important;
	}
	
	#calendarFlexContainer {
		padding-bottom: 0.6rem;
	}
	
	#calendarFlexContainer .backBtn {
		margin-left: 0.8rem;
	}
	
	#header {
		height: 2.5rem;
		border-width: 2px;
		margin-bottom: 0.6rem;
	}
	
	#header #headerContent {
		width: 90%;
		text-align: left;
	}
	
	#header #headerContent .logo {
		height: 65%;
	}
	
	#header #headerContent .title {
		font-size: 115%;
	}
	
	#header #langSwitcher {
		top: 1.25rem;
	}
	
	#intro {
		width: 95%;
		font-size: 85%;
		margin-bottom: 0.6rem;
	}
	
	.weekSwitcher {
		padding-left: 0.8rem;
	}
	
	.weekSwitcher a {
		width: 1.45rem;
		height: 1.45rem;
		line-height: 1.45rem;
	}
	
	#monthIndicator {
		text-align: left;
		font-size: 130%;
		
		padding-left: 2rem;
	}
	
	#calendarWrapper {
		width: 98vw;
		height: auto;
		
		left: 1vw;
	}
	
	#header #headerContent .logo {
		margin-right: 0.75rem;
	}
	
	#timeslotSelectionTable td.td_dayIndicator div{
		padding: 0;
		border: none !important;
	}
	
	#timeslotSelectionTable .td_dayIndicator .dow {
		font-size: 70%;
		padding-bottom: 0;
	}
	
	#timeslotSelectionTable .td_dayIndicator .day {
		font-size: 115%;
	}
	
	.dayWrapper .l_timeslot > input + div {
		font-size: 78%;
	}
	
	.dayWrapper .l_timeslot > input + div .fullDesc{
		display: none;
	}
	.dayWrapper .l_timeslot > input + div .shortDesc{
		display: inline;
	}
	
	.btn.calPage {
		margin-top: 0.6rem;
	}
	
	#centerBox,
	#centerBox .form input[type=text],
	#centerBox .form input[type=text].error,
	#centerBox .form input[type=password],
	#centerBox .form input[type=password].error,
	#centerBox .form .tField input[type=radio] + label,
	#timeslotSelectionTable td.td_dayIndicator.today div,
	.errorWrapper .errorMessage
	{
		border-width: 2px;
	}
	
	#centerBox .form input[type=text]:focus,
	#centerBox .form input[type=password]:focus,
	#centerBox .form input[type=text].radio.selected,
	#centerBox .form .tField input[type=radio]:checked + label,
	.btn,
	.btn.primary,
	.btn.transparent,
	.btn.invalid
	{
		border-width: 4px;
	}
}

/* SMALL */
@media ( max-width: 699px ) {
	/*body::before{content:"SMALL"}*/
}

/* TINY */
@media ( max-width: 576px ) {
	/*body::before{content:"TINY"}*/
}#logoutHref {	
	border: 1px solid rgba(220, 220, 220, 1);
	border-radius: 99rem;
	
	display: inline-block;
	
	padding: 0.3rem 0.6rem;
	
	position: absolute;
	top: 0.7rem;
	right: 1rem;
	
	z-index: 999;
	
	color: rgba(170, 170, 170, 1);
	font-size: 0.75rem;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
}

#logoutHref:hover {
	border-color: rgba(130, 130, 130, 1);
	background-color: rgba(130, 130, 130, 1);
	color: rgba(255, 255, 255, 1);
}

#menuWrapper {
	background-color: rgba(248, 248, 248, 1);
	
	position: absolute;
	left: 0;
	top: 0;
	height: 100vh;
	width: 25rem;
}

#topMenu {
	background-color: rgba(93, 163, 93, 0.8);
	border-bottom: 1px solid rgba(255, 255, 255, 1);
	
	position: absolute;
	left: 0;
	top: 0;
	height: 3rem;
	width: 100%;
	
	margin-bottom: 0.75rem;
}

#conversationCount {
	display: inline-block;
	
	max-width: calc(100% - 3.75rem);
	height: 1.5rem;

	position: absolute;
	left: 0.75rem;
	top: 0.75rem;
	
	color: #fff;
	line-height: 1.5rem;
	font-size: 1.25rem;
}

#mainConversationsButton{
	cursor: pointer;
}

.myNumber {
	display: inline-block;
	
	color: rgba(255, 255, 255, 0.75);
	
	font-size: 75%;
	line-height: 75%;
	
	position: relative;
	top: -0.08rem;
}

#newMessage {
	width: 1.5rem;
	height: 1.5rem;
	
	position: absolute;
	right: 0.75rem;
	top: 0.75rem;
}

#newMessage i {
	color: #fff;
	font-size: 1.5rem;
}

#conversationList {
	display: flex;
	
	position: absolute;
	left: 0;
	top: 3rem;
	height: calc(100% - 3rem);
	width: 100%;
	
	flex-direction: column;
	
	overflow-x: hidden;
	overflow-y: scroll;
}

.cli_href{
	padding: 0.5rem;
} 

.conversationListItem {	
	display: block;
	
	position: relative;
	
	padding: 0.25rem;
	
	border-radius: 0.5rem;
	
	font-size: 0.85rem;
}

.conversationListItem.hasUnreadMessages {
	font-weight: 700 !important;
}

.conversationListItem.open {	
	background-color: rgba(220,220,220,1);
}

.cli_href:hover .conversationListItem {
	background-color: rgba(220, 220, 220, 1);
}

.cli_avatar {
	display: inline-block;
	
	position: relative;
	
	height: 3rem;
	width: 3rem;
}

.cli_avatar i {
	font-size: 3rem;
}

.cli_avatar .cli_unreadMessageCount {
	display: block;
	
	border: 1px solid rgba(248, 248, 248, 1);
	border-radius: 5rem;
	
	background-color: rgba(93, 163, 93, 1);
	color: #fff;
	
	width: 1.35rem;
	height: 1.35rem;
	
	position: absolute;
	top: -0.175rem;
	right: -0.175rem;
	
	padding: 0.2rem;
	
	font-size: 85%;
	font-weight: 700;
	
	text-align: center;
}

.cli_number, .cli_name {
	display: none;
	
	position: absolute;
	top: 0.45rem;
	left: 4rem;
	
	font-size: 1rem;
	letter-spacing: 0.075rem;
	
	max-width: 14.5rem;

	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}
.cli_number.shown, .cli_name.shown {
	display: inline-block;
}

.cli_numberUnformatted {
	display: none;
}

.cli_message {
	display: inline-block;

	position: absolute;
	bottom: 0.6rem;
	left: 4rem;
	
	max-width: 18.5rem;
	
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.cli_message span {
	font-weight: bold;
	margin-right: 0.3rem;
}

.cli_time {
	display: block;
	position: absolute;
	
	right: 0.5rem;
	top: 0.5rem;
	
	font-size: 0.8rem;
}

#conversation {
	display: block;
	width: calc(100vw - 25rem);
	height: 100vh;
	
	position: absolute;
	top: 0;
	left: 25rem;
	
	overflow: hidden;
}

#recipientBar, #existingRecipientBar {
	display: flex;
	border-bottom: 1px solid rgba(200, 200, 200, 1);
	
	background-color: rgba(255,255,255,1);
	
	width: calc(100% - 3rem);
	height: 3rem;
	
	position: absolute;
	top: 0;
	left: 1rem;
	
	align-items: center;
}

#recipientBar.hidden, #existingRecipientBar.hidden {
	display: none;
}

#recipientBar input[type=text] {
	border: none;
	
	width: calc(100% - 1rem);
	height: 2rem;
	
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	
	line-height: 2rem;
}

#recipientBar input[type=text]:focus{
	outline: none !important;
}

#recipientBar input.hidden{
	display: none;
}

#recipientBar span {
	display: inline-block;
	
	margin-right: 1rem;
}

#recipientBar .recipient {
	display: inline-block;
	padding: 0.35rem 0.65rem;
	
	background-color: rgba(230, 230, 230, 1);
	border-radius: 5rem;
	
	font-size: 0.9rem;
}

#recipientBar #recipientConfirmation {
	border: 1px solid rgba(200, 200, 200, 1);
	
	display: flex;
	
	position: absolute;
	left: 1rem;
	top: 3.5rem;
	
	width: 15rem;
	height: 3rem;
	
	box-shadow: 1rem 1rem 2rem 0 rgba(0, 0, 0, 0.2);
	
	align-items: center;
}

#recipientBar #recipientConfirmation.hidden {
	display: none;
}

#recipientBar #recipientConfirmation i {
	font-size: 2rem;
	
	margin-left: 0.5rem;
	margin-right: 1rem;
}

#recipientBar #recipientConfirmation a {
	text-decoration: none;
}

#erb_content {
	border: none;
	
	height: 2rem;

	line-height: 2rem;
	
	flex-grow: 10;
}

#erb_deleteConversation {
	width: 4.5rem;
	height: 1.2rem;
	
	flex-grow: 0;
}

#erb_deleteConversation i {
	color: rgba(220, 220, 220, 1);
	font-size: 1.2rem;
	line-height: 1.2rem;
}

#erb_deleteConversation:hover i {
	color: #444;
}

#messageList {
	display: flex;
	
	width: 100%;
	height: calc(100% - 7rem);
	max-height: calc(100% - 7rem);
	
	padding: 0 1rem 0 1rem;
	
	flex-direction: column-reverse;
	
	overflow: auto;
	
	position: absolute;
	top: 3rem;
}

#messageList .message {
	margin-top: 0.3rem;
	margin-bottom: 0.3rem;
}

#messageList .message.myMessage {
	text-align: right;
}

#messageList .message .msg_wrapper {
	display: inline-flex;
	
	width: auto;
	max-width: 90%;
	height: auto;
	
	background-color: rgba(230, 230, 230, 1);
	border-radius: 1.1rem;
	
	padding: 0.6rem 0.85rem;
	
	text-align: left;
}



#messageList .message .msg_wrapper.mms.single {
	width: 12rem;
	height: 12rem;
	padding: 0;
	
	position: relative;
	
	overflow: hidden;
	
	margin-right: 0.3rem;
}

#messageList .message.myMessage .msg_wrapper {
	background-color: rgba(93, 163, 93, 0.8);
	
	color: #fff;
}

#messageList .message .msg_content {
	display: inline-block;
	
	font-size: 0.95rem;
}

#messageList .message .msg_content.mms.single {
	display: block;
	position: relative;
	
	width: 100%;
	height: 100%;
}

#messageList .message .msg_content.mms.single img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#messageList .message .msg_time {
	display: inline-flex;
	
	padding-left: 0.75rem;
	
	flex-direction: column;
	justify-content: flex-end;
	
	white-space: nowrap;
}

#messageList .message .msg_wrapper.mms .msg_time {
	color: gray;
	mix-blend-mode: difference;

	font-weight: 600;

	position: absolute;
	bottom: 0.32rem;
	right: 0.37rem;
}

#messageList .message .msg_time span {
	display: inline-block;
	
	color: rgba(160, 160, 160, 1);
	font-size: 0.7rem;
}

#messageList .message.myMessage .msg_time span{
	color: rgba(235, 235, 235, 1);
}

#messageList .separator {
	color: rgba(180, 180, 180, 1);
	text-align: center;
	
	position: relative;
}

#messageList .separator span {
	background-color: #fff;
	
	display: inline-block;
	
	padding-left: 2rem;
	padding-right: 2rem;
	
	font-size: 0.85rem;
	font-weight: 300;
}

#messageList .separator::before{
	content: '';
	display: block;
	width: 100%;
	position: absolute;
	border-bottom: 1px solid rgba(230, 230, 230, 1);
	
	margin-top: 0.5rem;
	
	z-index: -1;
}

#messageList .separator.unreadSeparator {
	color: rgba(100, 100, 100, 1) !important;
	
	margin-top: 1rem;
	margin-bottom: 1rem;
}

#messageList .separator.unreadSeparator span {
	font-weight: 700;
}

#messageList .separator.unreadSeparator::before {
	border-bottom: 2px solid rgba(100, 100, 100, 1);

	margin-top: 0.5rem;

	z-index: -1;
}

.unreadSeparator {
	line-height: 100%;
	clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%);
}

#composeBar {
	display: flex;
	
	background-color: #fff;
	
	position: absolute;
	left: 0;
	bottom: 0;
	
	width: 100%;
	min-height: 4rem;
	
	padding: 0rem 1rem;
	
	align-items: center;
	justify-content: center;
}

#composeBar.hidden {
	display: none;
}

#composeBar textarea {
	display: block;
	
	border: none;
	
	flex-grow: 10;
	
	min-height: 2rem !important;
	
	background-color: rgba(230, 230, 230, 1);
	border-radius: 1.1rem;
	
	padding: 0.4rem 0.85rem;
	
	font-size: 0.95rem;
	font-family: inherit !important;
	
	resize: none;
	
	transition: none;
}

#composeBar textarea:focus{
	border: none;
	outline: none;
}

#composeBar button[type=submit]{
	background-color: rgba(93, 163, 93, 1);
	
	border: none;
	
	height: 3rem;
	width: 3rem;
	
	margin-left: 1rem;
	
	border-radius: 3rem;
	
	color: #fff;
	font-size: 1.25rem;
	
	position: relative;
	
	display: flex;
	justify-content: center;
	align-items: center;
}

#composeBar button[type=submit] i{
	display: inline-block;
	margin-left: -0.2rem;
}

#composeBar button[type=submit]:hover{
	cursor: pointer;
	
	box-shadow: 0.1rem 0.1rem 0.25rem 0 rgba(0,0,0,0.35);
}

#openMenuBtn {
	display: none;
}

/* MEDIUM */
@media ( max-width: 999px ) {
	/*body::before{content:"MEDIUM"}*/
	#menuWrapper {
		left: 0;
		width: 100vw;
		
		z-index: 9999;
	}
	
	#menuWrapper.closed {
		left: -25rem;
	}
	
	#conversation {
		left: 0;
		width: 100vw;
	}
	
	#existingRecipientBar {
		position: fixed;
		left: 3rem;
	}
	
	#recipientBar {
		position: fixed;
		left: 3rem;
	}
	
	#recipientBar input[type=text] {
		font-size: 1rem;
	}
	
	#composeBar {
		position: fixed;
	}
	
	#openMenuBtn {
		display: block;
		
		position: fixed;
		top: 0.75rem;
		left: 0.75rem;
		width: 1.5rem;
		height: 1.5rem;
	}
	
	#openMenuBtn i {
		width: 100%;
		height: 100%;
		font-size: 1.5rem;
	}
	
	#erb_deleteConversation {
		width: 7rem;
	}
	
	#logoutHref {
		position: fixed;
	}
}.upb_wrapper {
	display: block;
	
	background-color: rgba(0, 0, 0, 0.25);
	
	position: absolute;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	
	opacity: 0;
	
	pointer-events: none;
	
	z-index: 10000;
}

.upb_box {
	display: inline-flex;
	
	background-color: rgba(255, 255, 255, 1);
	
	width: 35vh;
	height: auto;
	
	position: absolute;
	left: 50%;
	top: 50%;
	
	transform: translate(-50%, -50%) scale(0.8);
	
	flex-direction: column;
	
	border-radius: 1rem;
	padding: 1rem;
}

.upb.shown .upb_wrapper {
	opacity: 1;
	
	pointer-events: auto;
}

.upb.shown .upb_box {
	transform: translate(-50%, -50%) scale(1);
}

.upb_title {
	display: block;
	
	color: rgba(93, 163, 93, 0.8);
	font-size: 1rem;
	font-weight: bold;
}

.upb_message {
	display: block;

	color: rgba(130, 130, 130, 1);
	font-size: 0.9rem;
	font-weight: normal;
	
	margin-top: 1rem;
	padding-bottom: 3rem;
	
	flex-grow: 10;
}

.upb_buttons {
	display: inline-block;
	
	text-align: right;
}

.upb_btn {
	display: inline-block;
	
	background-color: rgba(220, 220, 220, 0);
	border: 2px solid rgba(220, 220, 220, 1);
	border-radius: 0.5rem;
	
	padding: 0.6rem 0.8rem;
	
	color: rgba(220, 220, 220, 1);
	font-size: 0.8rem;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
	
	margin-left: 1rem;
}

.upb_btn:hover {
	background-color: rgba(220, 220, 220, 1);
	color: rgba(255, 255, 255, 1);
}

.upb_btn_main {
	border-color: rgba(93, 163, 93, 1);
	background-color: rgba(93, 163, 93, 1);
	color: rgba(255, 255, 255, 1);
}

.upb_btn_main:hover {
	border-color: rgba(113, 183, 113, 1);
	background-color: rgba(113, 183, 113, 1);
	color: rgba(255, 255, 255, 1);
}