/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2021年3月19日, 下午05:38:32
    Author     : Alex
*/
a.alt{
    text-decoration: none;
    border-bottom-width: 0;
}

a.alt4{
    display:inline-block;
    margin-top: 1em;
    text-decoration: none;
    border-bottom-width: 0;
    margin-bottom: 0.5em;
}

label {
        display: block;
        font-size: 0.9em;
        font-weight: 900;
        margin: 0.75em 0 0.25em 0;
}

div.msg{
  padding: 0.7em 1em 0.5em 1em;
  width: 100%;
  text-align: left;
  font-size: 14pt;
}

div.msg p{
    margin: 0;
}

div.msg strong{
    font-weight: 600;
    margin-right: 0.5em;
}

.msg.danger {
  background-color: #ffdddd;
  border-left: 6px solid #f44336;
}

.msg.success {
  background-color: #ddffdd;
  border-left: 6px solid #4CAF50;
}

.msg.info {
  background-color: #e7f3fe;
  border-left: 6px solid #2196F3;
}


.msg.warning {
  background-color: #ffffcc;
  border-left: 6px solid #ffeb3b;
  margin-bottom: 1em;
}

.delete{
     color:red !important;
}

.icon.delete:before{
    color:red !important;
}

label.error{
    color:red ;
    font-size: 10pt!important;
    line-height: 0.8em;
    margin-top: 0.3em;
}

.error:before{
    content: '*';
    
}

table td a{
    /*width: 100%;*/
    border-bottom-width: 0;
    display:block;
}

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
  visibility:  hidden; /* Hidden by default. Visible on click */
  min-width: 250px; /* Set a default minimum width */
  margin-left: -125px; /* Divide value of min-width by 2 */
  background-color: #00903E; /* Black background color */
  color: #fff; /* White text color */
  text-align: center; /* Centered text */
  border-radius: 2px; /* Rounded borders */
  padding: 16px; /* Padding */
  position: fixed; /* Sit on top of the screen */
  z-index: 99999; /* Add a z-index if needed */
  left: 50%; /* Center the snackbar */
  bottom: 30px; /* 30px from the bottom */
}

#snackbar.snackError {
    background-color: #333; /* Black background color */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
  visibility: visible; /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}


/*DataTables*/

.fg-toolbar, .dataTables_info, .dataTables_paginate{
    display:inline !important;
    vertical-align: middle;
}

.dataTables_paginate{
    float: right;
}


.fg-button.ui-button.previous.ui-state-disabled,
.fg-button.ui-button.next.ui-state-disabled
{
    display: none;
}

.fg-button.ui-button{
    padding:1em 2em;
    border-bottom-width: 0;
}

.fg-button.ui-button.ui-state-disabled{
    
    border-bottom: 1px solid #6cb043;
}

.paginate_button{
    border-bottom-width: 0;
    /*padding: 0 1em;*/
    margin: 0 1em;
}

.paginate_button.current{
    border-radius: 50%;
    background-color: #28a745;
    display: inline-block;
    color:#FFF;
    padding:0.5em 1em;
}

.paginate_button.current:hover{
    color:#FFF !important;
    background-color:rgba(40,167,69,0.75);
}

#dept-table_previous,#dept-table_next {
    -moz-appearance: none;
		-webkit-appearance: none;
		-ms-appearance: none;
		appearance: none;
		-moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
		-webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
		-ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
		transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
		background-color: transparent;
		border-radius: 0.375em;
		border: 0;
		box-shadow: inset 0 0 0 2px #28a745;
		color: #28a745 !important;
		cursor: pointer;
		display: inline-block;
		font-size: 0.8em;
		font-weight: bold;
		height: 3.5em;
		letter-spacing: 0.075em;
		line-height: 3.5em;
		padding: 0 2.25em;
		text-align: center;
		text-decoration: none;
		text-transform: uppercase;
		white-space: nowrap;
}

#dept-table_previous:hover,
#dept-table_next:hover {
    background-color: rgba(98, 212, 229, 0.05);
}

#dept-table_previous{
    margin-right: 1em;
    color:#3847A6 !important;
    box-shadow: inset 0 0 0 2px #3847A6;
}

#dept-table_next{
    margin-left: 1em;
    color:#B50021 !important;
    box-shadow: inset 0 0 0 2px #B50021;
}

table.common-table{
    table-layout: fixed;
}

table.small-table tr td{
    line-height: normal !important;
    
}

td.td-action{
    text-align: center;
    width: 8em;
    font-size: 1.5em;
}

td.td-action.hor, .action-bar{
    display: flex;
    justify-content: center;
    align-items: center;

}



td.small{
    line-height: normal !important;
}

table.dataTable tbody th, table.dataTable tbody td{
    padding: 0em 0.25em 0em 0.25em !important;
}

.dataTables_wrapper .dataTables_filter {
    width: 100%;
    float: none;
    text-align: left;
}

table.dataTable thead th, table.dataTable tfoot th{
    
}

.action-bar{
    font-size: 1.5em;
}

@media screen and (max-width: 980px) {
    .action-bar{
        margin-top: 1em;
    }
}

.action-bar a{
    margin-left: 0.5em;
}

div.table-row{
    line-height: normal;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-left: 1em;
}

span.required{
    color:red !important;
}

span.required.alt{
    font-weight: bolder;
    font-size: 36pt;
    margin-left: 0em;
    margin-top: 0.5em;
}

.textarea.raw{
    display: none;
}

.images-container{
    position: relative;
}

.images-container p.image-caption {
    background: #232626;
    background: rgba(65, 117, 5, 0.8);
    border-radius: 0 0 6px 6px;
    bottom: 0;
    color: #fff;
    font-size: 0.9em;
    font-weight: bold;
    left: 0;
    line-height: 1.5em;
    margin: 0;
    padding: 0.75em;
    position: absolute;
    width: 100%;
    z-index: 1;
}

.image-ref{
    width: 100%;
    font-size: 0.9em;
    text-align: justify; /* For Edge */
    text-align-last: center;
    font-style: italic;
}

iframe.youtube{
    width: 100% !important;
}

iframe.youtube.width_100{
    height:650px;
}

iframe.youtube.width_50{
    height:350px;
}

iframe.youtube.width_33{
    height:250px;
}

iframe.youtube.width_25{
    height:175px;
}

iframe.youtube.width_16{
    height:115px;
}

div.header-config span{
    margin-left: 1em;
}

/* The Modal (background) */
.modal-container {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-container .modal-content {
  background-color: #fefefe;
  margin: 5% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
 
}

/* The Close Button */
.modal-container .modal-close {
  color: #28a745;
  float: right;
  font-size: 36px;
  font-weight: bold;
  padding-right: 0.4em;
}

.modal-container .modal-close:hover,
.modal-container .modal-close:focus {
  color: #aaa;
  text-decoration: none;
  cursor: pointer;
}

.modal-container .modal-content-div{
    display: block;
     min-height: 20em;
}

@media screen and (max-width: 736px) {
    .modal-container .modal-content {
        width: 90%; /* Could be more or less, depending on screen size */

    }

    .modal-container .modal-close {

        padding-right: 0em;
        padding-left: 0;
        padding-right: 0;
    }
}

article.card{
    width: 100%;
    background-color: #FFF;
    /*box-shadow: 0 1rem 4rem 0.125rem rgba(161, 177, 204, 0.325);*/
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    padding:0;
    margin: 0;
    margin-bottom: 2em;
}

article.card:hover{
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

article.card h3{
    width: 100%;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    color:#703516;
    margin-bottom: 0.5em;
}

article.card div.card-content-container{
    min-height: 5em;
    padding: 1em 2em;
}

article.card div.card-content-container p{
    margin-bottom: 0;
}


article.card div.card-footer-container a{
    width: 100%;
    border-bottom-width: 0;
    color:#FFF;
    font-weight: bold;
    text-align: center;
     display: inline;
     padding: 0.5em 1em;
	 display: inline-block;
}

article.card div.card-footer-container.alt a{
    width: 50%;
    display: inline-block;
    margin: 0;
}

article.card div.card-footer-container.alt a:last-child{
    margin-left: -5px;
}

article.card div.card-footer-container a:first-child{
    background-color: #c69b64;
    /*background-image: url(../../images/overlay.png), linear-gradient(90deg, rgba(49, 215, 155, 0), #4b76eb 90%);*/
    background-size: auto, auto;
    background-repeat: repeat, no-repeat;
}

article.card div.card-footer-container a:first-child:hover{
    background-color: #e5dbd3;
}

article.card div.card-footer-container a.delete{
    color:#FFF;
    background-color: red;
}

article.card div.card-footer-container a.delete:hover{
   
    background-color: rgba(255,0,0,0.6);
}

article.card div.card-footer-container a.ready{
    color:#FFF;
    background-color: #97C779;
}

article.card div.card-footer-container a.ready:hover{
   
    background-color: rgba(151,199,121,0.6);
}

article.card div.card-footer-container a.empty{
    color:#FFF;
    background-color: #529DC7;
}

article.card div.card-footer-container a.empty:hover{
   
    background-color: rgba(82,157,199,0.6);
}


article.card div.cover-container{
    height: 250px;
    width: 100%;
    overflow: hidden;
}

article.card div.cover-container .cover{
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
     -moz-transition: -moz-transform 0.2s ease-in-out;
    -webkit-transition: -webkit-transform 0.2s ease-in-out;
    -ms-transition: -ms-transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out;
}

article.card div.cover-container .cover:hover{
    -moz-transform: scale(1.075);
    -webkit-transform: scale(1.075);
    -ms-transform: scale(1.075);
    transform: scale(1.075);
}

article.card p.center{
    text-align: center;
}


.currency-logo{
    color:#118C4F;
    font-weight: bolder;
}

article.album{
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative; /* Needed to position the cutout text in the middle of the image */
    margin-bottom: 1em;
}

article.album .cover{
    width: 100%;
    height: 100%;
     background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
     -moz-transition: -moz-transform 0.2s ease-in-out;
    -webkit-transition: -webkit-transform 0.2s ease-in-out;
    -ms-transition: -ms-transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out;
    
    /* Add the blur effect */
  /*filter: blur(4px);
  -webkit-filter: blur(4px);*/
}

article.album .cover:hover{
    -moz-transform: scale(1.075);
    -webkit-transform: scale(1.075);
    -ms-transform: scale(1.075);
    transform: scale(1.075);
}

article.album .text {
    background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0, 0.4); /* Black w/opacity/see-through */
  color: white;
  font-weight: bold;
  border: 3px solid #f1f1f1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 80%;
  padding: 20px;
  text-align: center;
  font-size: 3em;
}

article.album .text-w {
  background-color: white;
  color: black;
  font-size: 5vw; /* Responsive font size */
  font-weight: bold;
  margin: 0 auto; /* Center the text container */
  padding: 0 0.5em;
  width: 80%;
  text-align: center; /* Center text */
  position: absolute; /* Position text */
  top: 50%; /* Position text in the middle */
  left: 50%; /* Position text in the middle */
  transform: translate(-50%, -50%); /* Position text in the middle */
  mix-blend-mode: screen; /* This makes the cutout text possible */
  opacity: 1;
}

.icon{
    margin-right: 0em;
    
}

.icon.right{
    margin-left: 0.5em;
    margin-right: 0em;
}

.icon.red{
    color:red;
}

.icon.green{
    color:green;
}


.text-center{
    text-align: center;
}

header.config-header{
    display: inline-flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
    width: 100%;
    border-bottom: 5px solid #1c447c ;
    margin-bottom: 1.5rem;
}

header.config-header h3, 
header.config-header h1, 
header.config-header h2{
    margin-bottom: 0.5rem;
}


header.config-header div.config{
    justify-content: flex-end;
    font-size: 1.5em;
    font-weight: bold;
}

header.config-header + div.footer, div.footer.path{
    display:block;
    margin-top: -1.5em;
    margin-bottom: 1em;
    font-size: 12pt;
}

header.config-header + div.footer span,
div.footer.path span{
    margin-right: 1em;
}

header.config-header + div.footer a, 
div.footer.path a
{
    text-decoration: none;
    border-bottom-width: 0;
}

.config a{
    margin-left: 0.2em;
    padding:0.2em;
}

@media screen and (max-width: 780px) {
.config a{
    margin-left: 0.5em;
    padding:0.2em;
    font-size: 1.2em;
}
}


th.record-setting-header{
    width:6em;
}

td.record-setting{
    display: inline-flex;
    flex-direction: row;
    align-items: center;
   
}

thead.hidden, 
div.hidden{
    display:none;
}

a.del{
    color:red;
}

ul.actions{
    margin-top: 1.5em;
}

span.tab{
    width:1em;display: inline-block
}

@media screen and (max-width: 980px) {
    span.tab{
        display: none;
    }
}

/* Contact */

ul.contact {
    list-style: none;
    padding: 0;
}

ul.contact li {
    padding: 0.65em 0 0 2em;
}

ul.contact li:before {
    float: left;
    line-height: inherit;
    margin-left: -2em;
}

ul.contact li:first-child {
    padding-top: 0;
}

a.login-google{
    text-decoration: none;
    border-bottom-width: 0;
}

a.login-google img{
    margin-top: 2em;
    width: 75px;
    border-radius: 100%;
    border: 1px solid #dbdbdb;
    box-shadow: 2px 3px #888888;
    /*text-shadow: 2px 2px #888888;*/
}

div.center{
    text-align: center;
}

.text-primary .dot:after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    content: "";
    height: 24px;
    width: 24px;
    margin: -12px 0 0 -12px;
    -webkit-animation: pulsate 2s linear;
    animation: pulsate 2s linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    background-color: #09F;
    border-radius: 100%;
}
    
#sortable{
    
    
}

.sortable{
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0 !important;
    margin-bottom: 0.5em;
}

.row.alt{
    margin-left: 0em;
}

.row > *.trim{
    padding: 0 !important;
}

.row > *.trim.alt{
    padding-right: 1em !important;
}



img.fit{
    width: 100%;
}

li.alt{
    padding-left: 1em !important;
}

.tag-container{
    display: flex;
    flex-direction: row;
    flex-wrap:  wrap;
    align-items: center;
    justify-content: flex-start;
    margin-top: 0em;
    min-height: 3em;
}

.tag-container a{
    text-decoration: none;
    border-bottom-width: 0;
    margin-right: 0.5em;
    background-color: #DEF3FC;
    border: #4672B8 3px solid;
    color: #4672B8;
    padding-left: 1em;
    padding-right: 1em;
    border-radius: 3em;
    margin-bottom: 0.5em;
}

.tag-container a.alt{
    padding:0.25em 1em;
    margin-bottom: 0.5em;
}

.tag-container a.alt2{
     padding:0.25em 2em;
    margin-bottom: 1em;
}

.tag-container a.alt3{
    font-size: 12pt;
}

@media screen and (max-width: 1080px) {
    .tag-container a.alt3{
        font-size: 10pt;
    }
}

.filter-hidden{
    display: none;
}

.icon.cover:before{
    display: block;
    width: 100%;
    font-size: 10em;
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion span{
  font-size: 0.9em;
  color:#1c447c;
}

.accordion-panel{
  max-height: 3.5em;
  padding: 0 18px;
  display: block;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

@media screen and (max-width: 1680px) {
    .accordion-panel{
        max-height: 4.5em;
    }
}

@media screen and (max-width: 780px) {
    .accordion-panel{
        max-height: 5em;
    }
}

.accordion span.open{
    display: inline-block;
}

.accordion span.close{
    display: none;
}

.accordion.open span.open{
    display: none;
}

.accordion.open span.close{
    display: inline-block;
}

.model-form-container{
    padding:2em 1em;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #1c447c;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
  
  font-size: 10pt;
}

.tooltip .tooltiptext.delete {
    background-color: red !important;
    color:#FFF !important;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #1c447c transparent transparent transparent;
}

.tooltip .tooltiptext.delete::after {
    border-color: red transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
