/* EVENTS CALENDAR FRONTEND */
/* display fields inline */
/* checkout gateway colours */
.waitlist_invite{
  font-weight:bold;
  cursor:pointer;
}

.wpem-theme-button-small{
	background: var(--wpem-primary-color);
    color: var(--wpem-white-color);
    padding: 2px 6px;
    font-weight: 600;
    border-radius: 4px;
    font-size: 14px;
    margin: 5px 0;
    cursor: pointer;
    vertical-align: middle;
}

.LinkButton {
    background-color: lightgrey;
    padding: 4px 6px;
    border-radius: 5px;
	cursor: pointer;
}

.enlarge-label{
	border: 1px solid lightgrey;
    padding: 4px;
    background: white;
    border-radius: 3px;
}
.wpem-organizer-logo img{
	width: 150px !important;
}
.dt-button.xselected {
    color:blue !important;
    border: 1px blue solid !important;
	background:lightblue !important;
}

#payment ul.payment_methods>li.wc_payment_method {
    border: 1px solid grey !important;
    background: #FBFBFB;
}

.fundraiser_heading{
	background: mediumorchid;
	width: 100%;
	display: grid;
	height: 30px;
	text-align: center;
	align-items: center;
	color: white;
	font-size: 16px;
	font-weight: bold;
}

.slider.round{
	width:auto;
}
.inline div label {
    display: inline !important; 
	margin-right: 10px;
}
.waitlist_del{
	text-align:center;
	color:red;
	font-size:16px;
}
.waitlist_bought{
	text-align:center;
	color:orange;
  font-weight: bold;
}
.waitlist_trash{
	cursor:pointer;
}

/* make sure dropdown menu z-index works */
.wpem-dashboard-event-list{
    overflow:visible !important;
}

.faq_a{
	padding: 10px 30px;
    background: wheat;
    height: auto;
}
.faq_q{
	padding: 10px;
    background: beige;
    height: auto;
}
.dropbtn.expand_faq{
	float: right;
    top: -10px;
    position: relative;
}

.inline .health-guidelines-switches{
	display:flex;
}
.health-guidelines-switches .form-field {
    margin-right: 30px;
}

.groupsetting{
	border: 1px solid lightgrey;
    border-radius: 5px;
    padding: 5px 20px;
	margin: 20px 0;
}

/* Add '*' to lable field if required */
label[required]:after {
    content: ' *';
    color: red;
}

table, th, td{
	border-color:lightgray !important;
}
div.tooltip-inner{
    white-space:nowrap;
    min-width:fit-content;
}

.registration-checkin-hidden{
	display:none;
}

td:has( :not(.registration-checkin-hidden) .tickets_uncheckin){
	background:lightblue !important;
}

.remaining-tickets-counter{
	white-space: nowrap;
}

/* Dropdown Button */
.dropbtn {
	background-color: var(--wpem-primary-color);
	color: white !important;
	padding: 4px;
	font-size: 16px;
	border: none;
	border-radius:3px;
}

/* The container <div> - needed to position the dropdown content */
.dash_actions {
	position: relative;
	display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown_content {
	display: none;
	position: absolute;
	background-color: #f1f1f1;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
	right: 0;
}

/* Links inside the dropdown */
.dropdown_content a {
	color: black;
	padding: 6px 16px;
	text-decoration: none;
	display: block;
}

/* Change color of dropdown links on hover */
.dropdown_content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dash_actions:hover .dropdown_content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dash_actions:hover .dropbtn {filter: brightness(120%);}


.dynamic-shortcodes-modal {
	z-index: 100 !important;
}

a.showhide{
	cursor:pointer;
	text-decoration: none !important;
	color: var(--wpem-primary-color);
}
button.remove_ticket,
button.remove_ticket:hover{
	float:right;
	background: transparent;
	color: red;
	cursor:pointer;
}

.wpem-to-date.grid{
	position: relative;
    top: -8px;
    zoom: 0.7;
}

.ct-cart-content {
    width: max-content !important;
}
.ticket-header-name{
	float: left;
	margin: 0 15px;
	display:inline;
	width:30%;
}
.ticket-header-price{
	display:inline;
}
.ticket-header-id{
	float: right;
	margin: 0 15px;
	display:inline;
}


.wpem-event-category-list span{
    padding: 5px 10px;
    border-radius: 5px;
	margin-right: 5px;
}
.wpem-event-category-list{
	margin-top: 10px;
}

.tiered-pricing-table tbody td {
    padding-left: 15px !important;
}
.woocommerce-product-gallery img {
    max-width: 50% !important;
	object-fit: contain !important;
}

.CreditContainer{
	display: contents;
}
.CreditContainer span{
	margin:5px;
}

input[type=text].donation{
	width:20%;
	margin:10px;
	background-color:lightblue !important;
}
input[type=range].donation{
	width:60%;
	margin:10px;
}

.wpem-tabs-wrapper .wpem-tabs-wrap .wpem-tab-link {
	background: var(--wpem-gray-border-color) !important;
}
.wpem-tabs-wrapper .wpem-tabs-wrap .wpem-tab-link.active {
	background: var(--wpem-gray-bg-color) !important;
}
.ui-widget-content .ui-state-default.ui-state-active {
    background: var(--wpem-primary-color) !important;
    color: var(--wpem-white-color) !important;
}

.CodeMirror {
    font-size: 14px !important;
	resize: vertical;
	height: fit-content !important;
	line-height: 1.5em;
}

/* DataTables elements */
.dt-buttons{
	position:sticky !important;
	left:0;
}
.dataTables_filter{
	position: sticky;
	right: 010px;
}
.req_error{
    border: solid red 1px !important;
    border-radius: 5px;
}
.form-render{
	width: 80%;
    background-color: #fff;
    box-shadow: 0 0 0 1px #ccc;
    padding: 16px;
    border-radius: 5px;
}

.wpem-event-listing-list-view .wpem-event-banner-img {
	width:150px !important;
	height:150px !important;
}
.wpem-form-wrapper {
    background: whitesmoke;
    padding: 20px;
}

.ticket-style{
	margin: 15px auto;
    border: solid 1px;
    padding: 11px;
    background-color: whitesmoke;
    border-radius: 5px;
}

.ticket-style input,
.ticket-style select{
	background-color:white !important;;
}

.ticket-style select,
.ticket-style .datefield{
    width:100% !important;
}

.page-content a, .comments-area a {
    text-decoration: auto !important;
}

.wpem-dashboard-event-name small.wpem-event-status-active {
  background: #E2F0CB;
  color: green;
}
.wpem-dashboard-event-name small.wpem-event-status-preview {
  background: lightblue;
  color: black;
}


.ticket_count{
	margin: 3px 0 3px 10px;
}

.reg_hidden,
.tickets_hidden{
	width:50%;	
}

.bootbox-body select,
.bootbox-body .datefield{
    width:100% !important;
}

.edit_reg .modal-dialog{
	max-width:70% !important;
}


/* ticket meta */
div.ticket_meta{
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #DDD;
	background: #FBFBFB;
	font-size:smaller;
	white-space: break-spaces;
}

body .wpem-info{
  background-color: #fef5be;
  border: 2px solid #fdd425;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  padding: 5px 10px;
  margin: 0 0 10px 0;
  font-size: 13px;
}

body .wpem-success {
	background-color: #dff0d8;
	border: 1px solid #d6e9c6;
	color: #3c763d;
	padding: 10px;
	margin: 10px 0 20px 0;
	font-size: 13px;
  }

/* Fluent forms update settings message */
.ff-message-success {
  background-color: lightgreen;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
.ff-message-success p{
	margin:0;
}

.RegTable,
.RegTable td{
	border:none;
	padding: 0;
}

.ff-column-container{
	border: 1px solid lightgrey;
	padding: 10px;
	border-radius: 10px;
	margin: 20px 0;
}


/* Create columns that floats next to each other */
.column {
  float: left;
  padding-left: 4px; 
  padding-right: 4px;
}

.width25{
  width: 25%;
}

.width50 {
  width: 50%;
}

.width75 {
  width: 75%;
}

.width100 {
	width: 100%;
  }

.width30 {
  width: 30%;
}
.form-width30{
  width: 30%;	
  display: inline-block;
  margin: 10px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
  height:80px;	
}
.row{
  align-items: center;	
  flex-wrap: nowrap !important;
}

input[readonly],
select[readonly]{
	background-color:beige !important;
}
select[readonly] option, select[readonly] optgroup {
    display: none;
}

.event-countdown {
	padding: 0 !important;
	background: lightgreen;
}

.wpem-earlybird{
    background: red;
    color: var(--wpem-white-color);
    padding: 5px 7px;
    display: inline-block;
    line-height: 15px;
    font-weight: 400;
    font-size: 14px;
    border-radius: 4px;
}

.twrapper{
	width: 100%;
	display: flex;
}

.twrapper table{
	width: 50%;
	float: left;
	margin-bottom: 30px;
	white-space: nowrap;
}

.wpem_splash {
	position:absolute;
	top:50%;
	left:50%;
	width:80%;
	color: white;
	transform: translate(-50%,-60%) rotate(-30deg);
	font-size:2.5vw;
	line-height: 1;
	text-shadow: 2px 2px 5px black;
	text-align:center;
	z-index: 10;
}
.wpem-event-single-image .wpem_splash {
	font-size:5vw;
}
.wpem-event-single-image img{
	width:100%;
}

.wpem-event-earlybird-label{
	top: 80%;
    left: 5%;
    display: block;
    position: relative;
}
.wpem-event-password-label{
	top: 80%;
    left: 86%;
    display: block;
    position: relative;
}
.wpem-event-register-label-text{
	color: white;
	border-radius: 4px;
	padding: 3px 6px;
	background:red;
	font-size:14px;
}

p.note, div.note
{
     -moz-border-radius: 6px;
     -webkit-border-radius: 6px;
     background-color: #f0f7fb;
     background-image: url(https://f1.madcapsoftware.com/blogImages/2017/08/css-box-icon-3.png);
     background-position: 9px 0px;
     background-repeat: no-repeat;
     border: solid 1px #3498db;
     border-radius: 6px;
     line-height: 18px;
     overflow: hidden;
     padding: 15px 60px !important;
	 width: fit-content;
}
.note_warning{
	 background-color: lightpink !important;
	 border: solid 1px crimson !important;
}
.note_good{
	 background-color: lightgreen !important;
	 border: solid 1px green !important;
}

/* Checkin page specific rules */
/* change the lolibox data background colors */
.lobibox .lobibox-body {
  color: white;
}
.lobibox .lobibox-header,.lobibox .lobibox-footer {
  position: sticky;
  left:0;
}
.lobibox.lobibox-success .lobibox-body {
  background-color: #40d498;
}
.lobibox.lobibox-confirm .lobibox-body {
  background-color: #594343;
}
.lobibox.lobibox-error .lobibox-body {
  background-color: #e03e3e;
}
.lobibox.lobibox-warning .lobibox-body {
  background-color: #d99a56;
}
.lobibox.lobibox-prompt .lobibox-body {
  background-color: #594343;
}
.lobibox.lobibox-window .lobibox-body {
  background-color: #8ab0e9;
}
.lobibox.lobibox-info .lobibox-body {
  background-color: #4593d0;
}
.lobibox-body td {
    padding-bottom: 0;
    padding-top: 0;
}
.lobibox.lobibox-info{
    overflow : scroll;
	height: auto;
    max-height: 70%;
	white-space: nowrap;
}

.checkin #qr-menu-header{
    overflow: hidden;
    /*background-color: #333;*/
    /*position: fixed;*/
    top: 0;
	left:0;
    width: 100%;
	z-index:10;
	}
.checkin #qr-menu-header .dt-button,
#qr-menu-header-scan .dt-button,
form .dt-button{
	background-color:orangered !important;
	color:white;
	margin: 3px;
    padding: 6px 12px;
    border-radius: 3px;
	cursor: pointer;
}

.checkin #qr-menu-header-right{
    overflow: hidden;
    background-color: beige;
    position: fixed;
	padding:10px;
    top: 0;
	right:0;
	z-index:10000;
	text-align:center;
	}


.checkin #qr-menu-footer{
    overflow: hidden;
    background-color: #333;
    position: fixed;
    bottom: 0;
	left:0;
    width: 100%;
	z-index:10;
}

.checkin a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.checkin a:hover {
  background: #f1f1f1;
  color: black;
}

.checkin a.active {
  background-color: #04AA6D;
  color: white;
}

.checkin {
    display: contents;
    min-height:100vh;
	min-width:100vw;
}

form.checkin_password{
	margin: 10% !important;
    border: 1px solid;
    padding: 25px;
    background: whitesmoke;
    border-radius: 5px;
}

/* Hide event creation date */
.entry-meta .meta-date {
    display: none;
}
