* {
border-radius: 0 !important; }

body {
background-color: #ddd;
font-size: 0.9em;
font-family: 'arial', sans-serif;
background-image: url('../img/bg.jpg');
background-position: center 100%;
background-attachment: fixed;
background-size: cover; }

:root:after {
font-family: 'arial', sans-serif;
opacity: 0.6;
white-space: nowrap;
transform: rotate(90deg);
transform-origin: top left;
color: #000;
position: fixed;
top: 70px;
left: 60px;
z-index: -1;
font-weight: bold;
font-size: 3.0em;
padding: 0;
line-height: 1.0em; }

.no-border {
border: 0 !important;
box-shadow: none; }


/* LOGIN, RESET PASSWORD */
#login_layer {
height: 100vh; }

#login {
max-width: 390px; }

.lang {
display: inline-block;
margin-left: 0.5em; }

.lang:hover {
text-decoration: none; }

.lang_selected {
font-weight: bold;
text-decoration: none;
color: black; }

.w150 {
width: 150px; }

/* main menu */
.navbar {
z-index: 300;
position: sticky;
top: 0;
background-color: rgba(0,0,0,0.7); }

.navbar-nav > li {
padding-right: 1.5em; }

.navbar-nav  li  a {
color: white;
text-transform: uppercase;
font-size: 1.1em;
color: white; }

.navbar-nav  li a:hover,
.dropdown.open  {
color: white; }

.navbar-nav  li a i {
color: #aaa;
margin-right: 0.3em; }

.navbar-nav > li > a i {
color: #ddd;
margin-right: 0.3em; }

.navbar-toggler {
color: white; }

.navbar-toggler-icon {
display: inline;
font-size: 1.5em; }

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
outline: none;
box-shadow: none; }

/* content */
.content {
padding: 1em;
background-color: rgba(255,255,255,0.95);
box-sizing: border-box;
margin: 0 auto 10px auto; }

.content a {
text-decoration: none; }

.sort_active {
color: red !important; }

.help {
border-bottom: 1px dotted blue; }

/* filter */
.filter {
background-color: rgba(255,212,59,0.5); }


/* actions */
.action {
display: inline-block;
text-align: center;
width: 25px !important; }

.action_edit {
display: inline-block;
width: 30px;
color: green; }

.action_delete {
color: red; }

.action_add {
color: blue; }

/* calendar */
.slot {
background-color: white; }

td.min {
width: 1%;
padding-right: 2em;
white-space: nowrap; }


.required label {
color: black;
font-weight: bold; }

.required label::after {
content: ' *'; }

label {
color: #888;
white-space: nowrap;
overflow: hidden; }

.half {
width: 50%;
float: left;
box-sizing: border-box; }

.clear {
clear: both; }

/* visit */
.visit_full {
display: none; }

.yw_tooltip {
color: orange;
font-weight: bold; }

::placeholder {
color: red;
opacity: 1; }

:-ms-input-placeholder {
color: red; }

::-ms-input-placeholder {
color: red; }

.navbar-nav li a {
text-transform: none;
font-size: 1.0em;}

.navbar-nav > li > a {
font-size: 1.2em; }

.gray {
color: gray; }

.readonly {
background-color: yellow; }

#last_records span {
display: inline-block;
background-color: #ddd;
padding: 2px 5px;
margin: 0 10px 10px 0; }

/* detail list of herbs */
table.herbs {
margin-top: 1em;
width: 100%;
border-collapse: collapse; }

table.herbs th {
padding: 0 2px;
border: 1px solid white;
background-color: #dfdfdf; }

table.herbs td {
padding: 0 2px;
border: 1px solid white;
background-color: #efefef; }

table .text-right {
text-align: right !important; }

/* spinner */
.yw_spinner {
text-align: center;
align-items: center;
position: fixed;
top: 0;
left: 0;
z-index: 9999;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.7);
transition: opacity 0.2s;
display: none; }

.yw_spinner_animation {
display: inline-block;
margin: 0 auto;
width: 80px
height: 80px; }

.yw_spinner_animation:after {
content: " ";
display: block;
width: 64px;
height: 64px;
margin: 8px;
border-radius: 50%;
border: 6px solid #fff;
border-color: #fff transparent #fff transparent;
animation: yw_spinner 1.2s linear infinite; }

.bg-yellow {
background-color: lightyellow; }

.error {
background-color: pink !important; }

.tooltip-inner {
text-align: left; }

.disabled {
opacity: 0.5; }

.disabled:hover {
cursor: pointer; }

#myModal .thumb {
display: inline-block;
overflow: hidden;
border: 1px solid white;
aspect-ratio: 1/1;
width: 80px; 
height: 80px; }

#myModal .thumb img {
max-width: 100%;
max-height: 100%;
min-width: 100%;
min-height: 100%;
object-fit: cover; }

.new {
background-color: white;
height: 300px;
overflow: hidden; }

.new_important {
background-color: #fbde87; }

h3 {
font-size: 1.3em;
font-weight: bold;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2; /* number of lines to show */
line-clamp: 2;
-webkit-box-orient: vertical; }

.date {
max-width: 110px;
position: relative; top: 2px;
display: inline-block; }

.w150 {
min-width: 150px; }

.nowrap {
white-space: nowrap; }

#wtitle {
display: none; }

#window {
color: #0b5ed7; }

#window:hover {
cursor: pointer; }

#cancel-search {
border: 1px solid orange;
background-color: orange; }

#top_button {
background-color: rgba(255,212,59,0.5);
color: black;
font-size: 1.4em;
width: 50px;
height: 50px;
line-height: 50px;
text-align: center;
position: fixed;
bottom: 20px;
right: 20px;
display: none; }

.yw-table-fixed {
table-layout: fixed; }

.yw-table-fixed .yw-min {
width: 70px;
overflow: visible; }

.yw-table-fixed td {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis; }

/* faq */

.faq-question {
border-top: 1px solid #DEEAF4;
padding: 1em 0;
font-weight: bold; }

.faq-question:hover {
cursor: pointer; }

.faq-question:first-child {
border-top: none; }

.faq-answer {
font-weight: 400;
padding: 1em 0 1em 20px;
color: #5A5A5A; }

#top_button:hover {
cursor: pointer; }

@keyframes yw_spinner {
0% {
    transform: rotate(0deg);
  }
100% {
    transform: rotate(360deg);
  }
}


/* hide cols on small devices */
@media (max-width: 576px) {
    .low { display: none; }
    .med { display: none; }
}

@media (min-width: 577px) {
    .low { display: none; }
    .med { display: table-cell; }
}

@media (min-width: 992px) {
    .low { display: table-cell; }
    .med { display: table-cell; }
}


.modal-open {

  padding-right: 0 !important;

}

html {

  overflow-y: scroll !important;

}

