/*--------------------------------------------------------------
# Special
--------------------------------------------------------------*/

p.char-counter {
    margin: 5px 0 5px 0 !important;
    padding: 0  !important;
    font-size: 90%;
    text-align: right;
}

#attendee-register-sendbutton:hover {
    background-color: #ddd !important;
}

/*  this line works on Bootstrap inputs that are assigned the class-name 'form-check-input' */
/*
input[type="checkbox"]:checked {
    background-color: red !important;
}

 */

.flex-container {
    display: flex;
    align-items: center;
}

.flex-item {
    width: auto;
    height: auto;
    text-align: center;
    line-height: 30px;
    margin: 0;
    padding: 0;
    font-size: 90%;
}

.flex-item.labelDiv {
    margin: 0 20px 0 5px;
}

.checkbox-item {
    width: 20px;
    height: 20px;
    border: 1px solid #bbb;
    text-align: center;
    line-height: 20px;
    user-select: none; /* prevent text selection */
    cursor: pointer; /* indicate clickable */
    color: black;
    font-weight: bold;
}

.checkbox-item:hover {
    background-color: #f0f0f0; /* background color on hover */
}



/*--------------------------------------------------------------
# modal and overlay
--------------------------------------------------------------*/

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Black with opacity */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Make sure it sits on top of everything else */
}

.myModal {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    z-index: 1100; /* Make sure it sits on top of everything else */
}


/*--------------------------------------------------------------
# Custom checkmark
--------------------------------------------------------------*/

.checkbox label:after {
    content: '';
    display: table;
    clear: both;
}

.checkbox .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
}

.checkbox .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 50%;
    left: 15%;
}

.checkbox label input[type="checkbox"] {
    display: none;
}

.checkbox label input[type="checkbox"]+.cr>.cr-icon {
    opacity: 0;
}

.checkbox label input[type="checkbox"]:checked+.cr>.cr-icon {
    opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled+.cr {
    opacity: .5;
}


/*--------------------------------------------------------------
# Attendee list
--------------------------------------------------------------*/
.speakers table td, th {
    vertical-align: top;
    padding-right: 1rem;
}

table.venuesTable td {
    padding: 0;
    padding-right: 20px;
    padding-bottom: 0px;
    padding-top: 8px;
    vertical-align: top;
}

table.attendeeRegistration td {
    padding: 0;
    padding-right: 20px;
    padding-bottom: 10px;
    vertical-align: top;
}

table.attendeesTable td {
    padding-right: 10px;
}

table.attendeesTable td.topRow p {
    margin: 0 0 5px 0;
    font-weight: bold;
}

ul.angleBulletList {
    /*margin: 0 0 5px 20px;*/
    /*padding: 0;*/
}

ul.angleBulletList li {
    list-style-type: square;
    list-style-image: url(/assets/img/angle_bullet.png);
}

ul.angleBulletList li::marker {
    color: #47b2e4;
}


/*--------------------------------------------------------------
# Programme table
--------------------------------------------------------------*/

table.programmeTable th, table.programmeTable td {
    vertical-align: top;
    padding-right: 1rem;
    font-size: 90%;
}

table.programmeTable th.slimPadding, table.programmeTable td.slimPadding {
    padding-right: 5px;
}

table.programmeTable:focus {
    outline: none;
    /* Or set a custom style that fits your design */
}

[contenteditable] {
    caret-color: transparent;
}


/*--------------------------------------------------------------
# venues
--------------------------------------------------------------*/

#myCheckbox {
    background-color: pink;
}
#myCheckbox.isChecked {
    background-color: yellow;
}


/*--------------------------------------------------------------
# venues
--------------------------------------------------------------*/
.venues .venue {
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 5px;
    background: #fff;
}

.venues .venue .pic {
    text-align: center; /* Center the image */
    margin-bottom: 20px; /* Add some space between the image and the text */
}

.venues .venue .pic img {
    /*width: 80px;*/
    width: 200px;
    height: auto;
    /*padding: 30px 80px;*/
    filter: grayscale(100);
    align: right;
    margin: 0;
}

.venues .venue .pic img:hover {
    filter: grayscale(0);
    transition: 0.5s;
}


.venue-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;  /* Align items to the top */
}

.venue-info {
    text-align: left; /* Optional */
}

.venues .venue:hover {
    /*transform: translateY(-10px);*/
}

.venues .venue:hover .pic img {
    filter: grayscale(0);
}

.venues .venue .member-info {
    padding-left: 30px;
}

.venues .venue h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 20px;
    color: #37517e;
}

.venues .venue span {
    display: block;
    font-size: 15px;
    padding-bottom: 10px;
    position: relative;
    font-weight: 500;
}

.venues .venue span::after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 1px;
    background: #cbd6e9;
    bottom: 0;
    left: 0;
}

.venues .venue p {
    margin: 10px 0 0 0;
    font-size: 14px;
}



/* Bootstrap tooltips */

.tooltip .tooltip-inner {
    background-color: white;
    color: gray;
    border: 1px solid gray;
}

/* Targeting all tooltips */
.tooltip > .tooltip-arrow {
    --bs-tooltip-bg: transparent;
}


/*--------------------------------------------------------------
# Venue lightbox items
--------------------------------------------------------------*/
.venue-highlight {
    /*display: flex;*/
    align-items: start; /* Align to the top */
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 5px;
    background: #fff;
    transition: 0.5s;
}

.venue-highlight:hover {
    transform: translateY(-10px);
}



/* For WebKit Browsers */
::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
    background-color: #f5f5f5; /* Color of the track */
}

::-webkit-scrollbar-thumb {
    background-color: #bdbdbd; /* Color of the thumb */
    border-radius: 4px; /* Radius of the thumb */
}

/* For Firefox */
* {
    scrollbar-width: thin; /* "auto" or "thin" */
    scrollbar-color: #bdbdbd #f5f5f5; /* thumb and track color */
}


