﻿/*************************
        Global Styles
*************************/
* {
    outline: none;
}

:root {
    --color-paradise-pink: #F53D6B;
    --color-choral: #FF7D52;
    --color-mango: #FFC233;
    --color-emerald: #2DCA72;
    --color-blue-jeans: #00ACFF;
    --color-majorelle-blue: #7047EB;
    --color-purple-pizzazz: #F75FDE;
    --fixed-containers-width: 140px;
    --max-alert-container-height: 650px;
    --nav-bg-color: rgba(0, 0, 0, 0.85);
    --nav-container-height: 51px;
    --nav-container-width: 120px;
}

::-webkit-scrollbar {
    width: 12px;
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
    background: dodgerblue;
    min-height: 30px;
}

/*html, body {
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}*/

body {
    background: rgb(11 11 11 / 93%);
    color: white;
    font-family: 'Noto Sans JP', 'Helvetica', Arial, sans-serif;
}

#alertContainer, .alertContainer {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 30%;
	padding: 1%;
	text-align: center;
	font-size: 2em;
	border: 1px solid #000;
	border-radius: 5px;
	box-shadow: 1px 1px 4px #000;
	background: #333;
	color: white;
	background: #2b2b2bba;
	backdrop-filter: blur(10px);
	word-break: break-word;
	max-height: var(--max-alert-container-height);
	overflow-y: auto;
	z-index: 1000;
}

.alertContainer input, .alertContainer select, .alertContainer textarea {
	padding: 3px;
	font-size: 16px;
	color: black;
}

.alertContainer a, .alertContainer a:visited, .alertContainer a:hover {
	color: dodgerblue;
}

.alertContainer select {
	max-width: 100%;
}

#msgContainer, .msgContainer {
    background: #2b2b2bf2;
    backdrop-filter: blur(10px);
    border-radius: 0;
    padding: 0;
    overflow-y: initial;
    z-index: 999;
}

.msgContainer .globalfn-custom-text-characters-remaining-container {
	position: absolute;
	bottom: 25px;
	font-size: 0.5em;
}

.msgContainer .row {
	margin-left: 0;
	margin-right: 0;
}

.msgContainer hr {
	border-top: 1px solid white;
}

#msgContainer section, .msgContainer section {
	margin-top: 20px;
}

#msgContainer .window-top, .msgContainer .window-top {
	position: absolute;
	top: -45px;
	cursor: move;
	width: 100%;
	height: 25px;
	border-bottom: 1px solid rgba(0,0,0,0.5);
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	padding: 5px;
	background-color: #ddd;
}

#msgContainer .round, .msgContainer .round {
	height: 16px;
	width: 16px;
	border-radius: 50%;
	border: none;
	margin-right: 6px;
	box-shadow: 1px 1px 2px #000;
	position: absolute;
	right: 5px;
	top: 5px;
}

#msgContainer .round.red, .msgContainer .round.red {
	background-color: red;
}

#msgContainer .content, .msgContainer .content {
	max-height: calc(var(--max-alert-container-height) - 30px);
	overflow-y: auto;
}

#msgContainer .content .msg-content, .msgContainer .content .msg-content {
	padding: 1%;
}

#msgContainer .content .btn-content, .msgContainer .content .btn-content {
	position: relative;
	bottom: 35px;
	padding-top: 20px;
}

.msgContainer textarea.apa-getText {
	width: 100%;
	height: 250px;
	padding: 5px;
	font-size: 1.1em;
}

.msgContainer input.apa-getText {
	width: 100%;
	padding: 5px;
	font-size: 1.1em;
}

.msgContainer .apa-buttonArea .apa-btn[data-type="ok"] {
	margin-right: 20px;
}

#backgroundBlackout {
    display: none;
    position: fixed;
    top: var(--nav-container-height);
    height: 95vh;
    background: rgb(0 0 0 / 90%);
    z-index: 888;
}

.login-bg {
    background-image: url(/img/login_bg.jpg);
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
}

.login-bg-dampen {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgb(0 0 0 / 60%);
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield !important;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Noto Sans JP', 'Helvetica', Arial, sans-serif;
}

.emoji {
    font-family: apple color emoji, segoe ui emoji, noto color emoji, android emoji, emojisymbols, emojione mozilla, twemoji mozilla, segoe ui symbol;
    font-weight: 100;
}

.flatpickr-current-month .numInputWrapper {
    width: 4ch !important;
    display: inline-block;
}

.form-switch {
	position: relative;
	display: block;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.form-switch i {
	position: relative;
	display: inline-block;
	margin-right: .5rem;
	width: 46px;
	height: 26px;
	background-color: #e6e6e6;
	border-radius: 23px;
	vertical-align: text-bottom;
	transition: all 0.3s linear;
    box-shadow: 1px 1px 4px rgb(0 0 0 / 7%);
}

.form-switch i::before {
	content: "";
	position: absolute;
	left: 0;
	width: 42px;
	height: 22px;
	background-color: #fff;
	border-radius: 11px;
	transform: translate3d(2px, 2px, 0) scale3d(1, 1, 1);
	transition: all 0.25s linear;
}

.form-switch i::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 22px;
    background-color: #fff;
    border-radius: 11px;
    box-shadow: 0 2px 2px rgb(0 0 0 / 40%);
    transform: translate3d(2px, 2px, 0);
    transition: all 0.2s ease-in-out;
}

.form-switch:active i::after {
	width: 28px;
	transform: translate3d(2px, 2px, 0);
}

.form-switch:active input:checked + i::after { 
	transform: translate3d(16px, 2px, 0); 
}

.form-switch input { 
	display: none; 	
}

.form-switch input:checked + i { 
	background-color: #4BD763; 
}

.form-switch input:checked + i::before { 
	transform: translate3d(18px, 2px, 0) scale3d(0, 0, 0); 
}

.form-switch input:checked + i::after { 
	transform: translate3d(22px, 2px, 0); 
}

.form-switch span {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

/*.form-switch input:checked ~ span {
	color: green;
	font-weight: bold;
}*/


/* Ordering of highlights is important for CSS Specificity */
.purp-drank-highlight {
    background: rgb(147,112,219) !important;
    color: white !important;
}

.gray-highlight {
    background: lightgrey !important;
    color: black;
}

.purp-drank-color {
    color: rgb(147,112,219) !important;
}

.purple-color {
    color: rgb(225, 119, 251) !important;
}

.steelblue-color {
    color: steelblue !important;
}

.red-color {
    color: red !important;
}

.maroon-color {
    color: maroon !important;
}

.lightred-color {
    color: #ff5a5a !important;
}

.orangered-color {
    color: orangered !important;
}


.lightgreen-color {
    color: lightgreen !important;
}

.limegreen-color {
    color: limegreen !important;
}

.green-color {
    color: green !important;
}

.darkgreen-color {
    color: darkgreen !important;
}

.blue-color {
    color: blue !important;
}

.lightblue-color {
    color: lightblue !important;
}

.lightskyblue-color {
    color: lightskyblue !important;
}

.dodgerblue-color {
    color: dodgerblue !important;
}

.white-color {
    color: white !important;
}

.dodgerblue-highlight {
    background: dodgerblue !important;
    color: white !important;
}

.green-highlight {
    background: green !important;
    color: white !important;
}

.lightgreen-highlight {
    background: lightgreen !important;
    color: black !important;
}

.yellow-highlight {
    background-color: yellow !important;
    color: black !important;
}

.white-highlight {
    background-color: white !important;
    color: black !important;
}

.yellow-highlight-ni {
    background: yellow !important;
    color: black !important;
}

.red-highlight-ni {
    background: firebrick !important;
    color: white !important;
}

    .red-highlight-ni a:not(.btn) {
        color: #05c6ff !important;
    }

.red-highlight {
    background: firebrick !important;
    color: white !important;
}

.cream-highlight {
    background: #fffdd0 !important;
}

.red-shadow {
    box-shadow: 1px 1px 4px red, -1px 1px 4px red;
}

.blue-highlight {
    background-color: lightblue !important;
    color: black !important;
}

.lightskyblue-highlight {
    background-color: lightskyblue !important;
    color: black !important;
}

.pastelred-highlight {
    background: #ffb5b5 !important;
    color: black !important;
}

.lightteal-highlight {
    background: #02b8b8 !important;
    color: white !important;
}

.blue-highlight:hover {
    color: black !important;
}

.link-like {
    cursor: pointer;
    color: blue;
}

.link-like:hover {
    color: darkblue;
}

.link-like.edit-customer-note-link, .link-like.edit-customer-note-link:hover {
    color: lightskyblue;
}

.bold-text {
    font-weight: bold;
}

@media screen and (max-width: 1376px) {
    .login-bg {
        background-position: top;
    }

    #alertContainer, .alertContainer {
        width: 80%;
    }

    .msgContainer .content .btn-content .btn {
        font-size: 1.2rem;
    }

    #msgContainer .round, .msgContainer .round {
        display: none;
    }
}