
/*
==========================================================================================
fonts.css
==========================================================================================
*/

/* Proxima Nova */
@font-face {
	font-family: 'proxima-nova';
	src: url('https://www.bklynlibrary.org/themes/custom/bklyn/fonts/proxima-nova/ProximaNova-RegularWeb.eot?kl9lam');
	src: url('https://www.bklynlibrary.org/themes/custom/bklyn/fonts/proxima-nova/ProximaNova-RegularWeb.eot?kl9lam#iefix') format('embedded-opentype'),
		 url('https://www.bklynlibrary.org/themes/custom/bklyn/fonts/proxima-nova/ProximaNova-RegularWeb.woff?kl9lam') format('woff');
	font-weight: normal;
	font-style: normal;
	}
@font-face {
	font-family: 'proxima-nova';
	src: url('https://www.bklynlibrary.org/themes/custom/bklyn/fonts/proxima-nova/ProximaNova-RegularItWeb.eot?kl9lam');
	src: url('https://www.bklynlibrary.org/themes/custom/bklyn/fonts/proxima-nova/ProximaNova-RegularItWeb.eot?kl9lam#iefix') format('embedded-opentype'),
		 url('https://www.bklynlibrary.org/themes/custom/bklyn/fonts/proxima-nova/ProximaNova-RegularItWeb.woff?kl9lam') format('woff');
	font-weight: normal;
	font-style: italic;
	}

/*  BOLD * BOLD ITALIC */
@font-face {
	font-family: 'proxima-nova';
	src: url('https://www.bklynlibrary.org/themes/custom/bklyn/fonts/proxima-nova/ProximaNova-BoldWeb.eot?kl9lam');
	src: url('https://www.bklynlibrary.org/themes/custom/bklyn/fonts/proxima-nova/ProximaNova-BoldWeb.eot?kl9lam#iefix') format('embedded-opentype'),
		 url('https://www.bklynlibrary.org/themes/custom/bklyn/fonts/proxima-nova/ProximaNova-BoldWeb.woff?kl9lam') format('woff');
	font-weight: 700;
	font-style: normal;
	}
@font-face {
	font-family: 'proxima-nova';
	src: url('https://www.bklynlibrary.org/themes/custom/bklyn/fonts/proxima-nova/ProximaNova-BoldItWeb.eot?kl9lam');
	src: url('https://www.bklynlibrary.org/themes/custom/bklyn/fonts/proxima-nova/ProximaNova-BoldItWeb.eot?kl9lam#iefix') format('embedded-opentype'),
		 url('https://www.bklynlibrary.org/themes/custom/bklyn/fonts/proxima-nova/ProximaNova-BoldItWeb.woff?kl9lam') format('woff');
	font-weight: 700;
	font-style: italic;
	}


* {
    margin: 0;
    padding: 0;
    border-spacing: border-box;
}

body {
    font: 16px "proxima-nova", Helvetica, "Helvetica Neue", "Lucida Grande", Verdana, Arial, sans-serif;
    background-color: #fefefe;
    padding-bottom: 0px;
    padding-top: 0px;
}

h1, h2, h3, h4, h5, h6, p a , .item-list a {
	font-family: "proxima-nova";
	font-weight: 700;
}

#globalnav {
    background: #484E80 !important;
    width: 100%;
    height: 48px;
    text-align: center;
    color: #fff;
    border-bottom: 1px solid #484E80;
}

#globalnav div {
    margin: 0 auto;
    width: 100%;
    /* font: 14px/16px Futura, Arial, Helvetica, sans-serif !important; */
    font-size: 15px !important;
    padding: 7px 0 0;
}

#globalnav div span.left {
    float: left;
    text-align: left;
    width: 30%;
    margin: 0;
}

/* .container-fluid {
    border-bottom: 1px solid #7496F7;
    margin: 0 15px 0 15px;
    padding: 0;
} */

#logo {
    float: left;
    color: #231f20;
    font-size: 20pt;
    width: 590px;
    padding-left: 20px;
    margin: 5px 0 0 0;
}

#logo-text {
    float: left;
    color: #484E80;
    margin: 12px 0 0 0;
}

#logo-text a {color: #484E80 !important}

a,
a:visited {
    color: #006295;
}

#globalnav #logo a {
    background: url(../img/bpl_logo_white.svg) no-repeat;
    text-indent: -9999px;
    display: block;
    width: 85px;
    height: 30px;
    margin-top: 3px;
}

#globalnav a:visited,
#globalnav a:active {
    color: #fff;
    text-decoration: none;
}

#globalnav a:link {
    color: #fff;
    text-decoration: none;
    transition: color .3s linear;
    -webkit-transition: color .3s linear;
    -moz-transition: color .3s linear;
}

#globalnav div span.right {
    float: right;
    text-align: right;
    width: 60%;
    margin: 2px 31px 0 0;
}

.navbar-right {
    float: right !important;
    margin-right: 0px;
}

.navbar-header {padding: 0 10px 0 20px;}

#bklyn-messages {
    padding: 22px 0px 25px 7px;
    margin-left: auto;
    margin-right: auto;
    /* margin-bottom: 3em; */
}

#page-login {
    padding-top: 0;
}

#login-box label{
    display: block;
}

#login-box .form-control{
    margin-top: 8px;
}

#page-login .default-box {
    background-color: #f8f8f8;
    border: solid 1px #ccc;
}

#page-login #announcements .announcement {
    margin: 10px auto 20px auto;
    padding: 14px;
    background-color: #eaf3fb;
    color: red;
    font-weight: bold;
    font-size: 16px;
    display: block;
    box-shadow: none;
    border: solid 1px #b1c8db;
}

form.login,
form.forgot,
form.register,
#reservationForm,
form.box-form,
#activation-body {
    margin: 0 0 0 8px;
    padding: 20px 16px 48px 16px;
    font-weight: normal;
    -moz-border-radius: 11px;
    -khtml-border-radius: 11px;
    -webkit-border-radius: 11px;
    border-radius: 11px;
    background: #fff;
    border: 1px solid #e5e5e5;
    -moz-box-shadow: rgba(200, 200, 200, 1) 0 4px 18px;
    -webkit-box-shadow: rgba(200, 200, 200, 1) 0 4px 18px;
    -khtml-box-shadow: rgba(200, 200, 200, 1) 0 4px 18px;
    box-shadow: rgba(200, 200, 200, 1) 0 4px 18px;
}

.button {
    display: inline;
    margin: 0 7px 0 0;
    background-color: #f0f0f0;
    border: 1px solid #bbb;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size: 12px;
    line-height: 130%;
    text-decoration: none;
    font-weight: bold;
    color: #565656;
    cursor: pointer;
    padding: 5px 10px 6px 7px;
    float: right;
}

.ui-datepicker {
	display: block;
}

#EndRepeat {
    min-width: 120px;
}

.button:hover {
    background-color: #e0e0e0;
}

#login-links {
    padding: 24px 0 0 0;
    text-align: center;
}

.reservations  .event {
    border: 0;
    font-size: 16px;
    padding: 4px 8px;
}

.past {
    opacity: 1;
}

.unreservable,
.reservations div.unreservable,
.reservations td.restricted,
.reservations div.restricted {
    background-color: #bdbdbd !important;
    color: #333 !important;
    padding: 4px 8px;
    border: 0;
    font-size: 16px;
}


.ui-datepicker .ui-datepicker-buttonpane button {
    font-size: 16px;
    padding: .2em .6em;

}

.reservationDate {
    width: auto;
    display: inline-block;
}

label.timeto {
    padding: 0 5px;
    min-width: auto !important;
}

#scheduleListDropdown,
#calendar_toggle,
#individualDates
.schedule-dates .btn-link {
    display: none
}

.reservationHeader h3 {border-bottom: 1px solid #ccc; margin-bottom: 14px;}

.ui-datepicker {width: auto}

.ui-widget { font-family: "proxima-nova", Helvetica, "Helvetica Neue", "Lucida Grande", Verdana, Arial, sans-serif; }
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: "proxima-nova", Helvetica, "Helvetica Neue", "Lucida Grande", Verdana, Arial, sans-serif;}

nav.navbar.navbar-default {border: 0;}
nav.navbar .container-fluid {padding:0}

#reservations-left {
    padding: 0;
    border: 0;
}

#reservations-left h4 {
    margin: 14px 0 4px;
    font-size: 15px;
    font-weight: bold;
}

#reservations-left h4:first-of-type {
    margin: 0 0 4px;
}

#reservations-left .select2 {
    font-size: 16px;
}


.reservations-left-content {
    padding: 0;
}

.reservationButtons .btn-group.btnMore, .reservationButtons .btn-success {
    margin-bottom: 10px;
}

#bpl-schedules ul {
    list-style: none;
    height: 200px;
    overflow-y: scroll;
    border: 1px solid #ccc;
    padding: 5px 4px 5px 8px;
    padding: 0;
}

#bpl-schedules ul.staff {
    height: 300px;
}

#bpl-schedules ul li {
    padding: 3px;
    padding: 5px 4px 5px 8px;
    font-size: 16px;
}

#bpl-schedules ul li a {
    display: block;
}

#bpl-schedules ul li:hover {
    background: #C6DAF2;
}

#bpl-schedules ul li:hover a {
    color: #333;
}

table.reservations {
    width: auto;
}

table.reservations tbody:first-of-type tr:hover td:first-child {
    background-color: #C6DAF2 !important;
    font-weight: bold;
}

table.reservations td {
    border: solid #ddd 1px;
    font-size: 16px;
    padding: 4px 8px !important;
}

table.reservations thead td.resdate {
    padding: 6px 8px;
    text-align: center;
}

table.reservations thead {
    position: sticky;
    top: 0;
    z-index: 100;
}

table.reservations thead td {
  background-clip: unset;
  position: unset;
}

/* .slots td {width:10%;} */
.slots td:nth-child(1) {width:10%}



.reservations-left-header,
#advancedFilter,
#navHelpDropdown_patron,
#individualDates,
.schedule-dates,
#schedule-actions,
.legend.reserved.participating,
.legend.restricted,
.legend.pending,
.legend.pasttime {
    display: none;
}

#page-manage-schedules .concurrentContainer {display:none}

td.reslabel {
    background-color: #f1f1f1;
    color: #333333 !important;
    padding-left: 5px;
    white-space: nowrap;
    position: sticky;
    left: 0;
}

td.resourcename {
    padding: 4px;
}

.reservable.hilite,
#reservations .ui-selecting,
.reserved.hilite {
    color: #fff !important;
    background-color: #336EA7 !important;
}

.reserved.mine {
    background-color: #FE685C !important;
}

.reserved.mine.hilite {
    background-color: rgb(253, 87, 75) !important;
    color: #ffffff !important;
}

tr.today td.resdate, td.resdate, td.today {
    color: #484e80 !important;
    background-color: #FFF !important;
    font-weight: bold;
    font-size: 16px;
    padding: 5px;
}



#schedule-title {
    margin: 0 0 6px 0;
}

#schedule-title h2 {
    font-weight: normal;
    margin: 0 0 10px 0;
}

.loggedinuser {padding:16px 10px 15px; color: #888; font-size: 16px}

.res_popup_details {
    font-size: 16px;
}
.res_popup_details .user {
    font-weight: normal;
}

.res_popup_details .title, .res_popup_details .resources {margin-bottom: 6px}
.res_popup_details [class^="icon-"] {color:#408AD2}

.res_popup_details label.customAttribute {
    display: inline-block;
    font-weight: normal;
}
.res_popup_details label.customAttribute:after {content: ': ';}

#resourceDetailsPopup .attributes div:nth-child(3) {display:none} /* kensington request - hide "Reservations do not require approval" */

/* reservations accessories filter */
.filter-table .quick { margin-left: 0.5em; font-size: 0.8em; text-decoration: none; border: 1px solid #ccc; border-radius: 3px; padding: 3px 8px; background: #f5f5f5;}
.filter-table .quick:last-child { background: #fff; border:0; padding: 3px}
.fitler-table .quick:hover { text-decoration: underline; }


.ui-datepicker-header {margin: -0.2em;}
.ui-datepicker .ui-datepicker-buttonpane {border-color:#ddd}

.ui-widget-header {
    border: 0;
    background: #ddd;
    color: #444;
    border-radius: 4px 4px 0 0;
}

.customAttribute {margin-top: 5px}


.customAttributes .bplattr-psiattribute5,
.customAttributes .bplattr-psiattribute2,
.customAttributes .row:nth-child(5) {
    display:none;
}
/*.removed from above group due to issue with number of attendees being hidden for patrons
customAttributes .row:nth-child(2) */

/* This replaces the above */
.customAttribute .form-group .checkbox {
    display: none;
}

.reservationButtons .btnCreate {width: 100%; margin-bottom: 10px;}

.site-alert {
    padding: 10px;
    font-weight: bold;
    margin-bottom: 10px;
}

.site-alert.alert-message {
    background-color: #eaf3fb;
}

.site-alert p {
    margin: 0;
}

.site-alert .icon-close {
    display: none;
}

.notification-row .btn-default.active,
.notification-row .btn-default:hover,
.notification-row .btn-default:focus,
.notification-row .btn-default:active {
    color: #333;
    background-color: #a6bcfa91 !important;
    font-weight: bold !important;
  }


.reminderLabel {
    font-size: inherit;
}

.reservationReminders {
    margin-top: 10px;
    padding-top: 0px;
}

.reminderInterval {
    width: auto;
    padding-left: 10px;
}

.form-control.dateinput {
    width: 120px;
}

/*   PAGE-SCHEDULE 10/31/25 */
.btn-success {
    background-color: #484E80 !important;
    border-color: #484E80 !important;
    color: #fff !important;
}
span.select2-selection.select2-selection--single {
    border-color: #DDDDDD !important;
    border-radius: 10px !important;
}
.ui-datepicker-inline.ui-datepicker.ui-widget.ui-widget-content.ui-helper-clearfix.ui-corner-all {
    border-radius: 10px !important;
    border-color: #DDDDDD;
}
.schedule-legend {
    border-color: black;
    border-style: solid;
    border-radius: 10px;
    border-color: #DDDDDD;
    border-width: 1px;
    margin-left: auto;
    padding: 10px;
}
h4.color-legend{
    margin-top: 20px !important;
    text-align: left !important;
}
div.legend {
    line-height: 20px;
    width: 85px;
    border: solid #ddd 0.75px;
    text-align: center;
    display: inline-block;
    *display: inline;
    margin: 2px 4px 2px 0;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    float: left;
    font-size: 11px;
    padding: 2px 4px;;
}
div.legend{
    width:48.1% !important;
    border-radius: 5px !important;
}


.daterange{
    color: #484e80 !important;
    display: inline-block ;
}
table.reservations {
    border-collapse: separate !important;
}
/*
.today .resdate {
    padding: 0px !important;
    border: solid #808080;
    border-radius: 10px 10px 0px 0px;
    border-width: 0.8px 0.8px 0.8px 0.8px;
} */

td.schedule-header {
    border-top-color: #808080 !important;
    border-right-style: none !important;
}
table.reservations td.resourcename {
    background-color: #f8f8f8 !important;
}
table.reservations td.reslabel {
    background-color: #f8f8f8 !important;
}
.my-account-link-container a {
    color: #484e80 !important;
}


/* need more specificity to override booked default */
table.reservations tr td:first-child {
    border-left-style: none !important;
}
table.reservations tr td:last-child {
    border-right-style: none !important;
}
table.reservations:first-of-type {
    border-style: solid !important;
    border-radius: 10px 10px 0px 0px !important;
    overflow: clip;

}
table:nth-of-type(n+2) {
    /* border-radius: 0 0 10px 10px !important;*/
    border-style: solid !important;
}
table.reservations:last-of-type {
    border-radius: 0 0 10px 10px !important;
    border-style: solid !important;
    overflow: clip;
}
div#reservations table.reservations-tall {
    border-color: #808080 !important;
}
table.reservations .today .resdate {
    border-style: none !important;
}
td.resdate:nth-(n+2) {
    border-style: none !important;
}
#overlay-datepicker {
    /* display: none; */
}

#overlay-datepicker.active{
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 200;
    cursor: pointer;
}
#datepicker.datepicker-overlay.active{
    position: relative;
    top:35%;
}
#resourceDetailsDiv, #userDetailsDiv, #customize-columns {
    filter: drop-shadow(rgba(0, 0, 0, 0.25) 1px 1px 8px) !important;
    border: solid 1px #DDDDDD !important;
    border-radius: 5px !important;
}

hr.my-account {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #d1d1d0;
}

.right .hamburger-menu {
    display: none;
}

a.login.loggedin {
    margin-right: 0px !important;
}

button.close-overlay {
    border: none !important;
    position: relative;
    top: 4px;
}


/* accessibility improvments */

.checkbox label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 22px;
    height: 22px;
    left: 0;
    margin-left: -21px;
    border: 1px solid #aaa;
}

.checkbox label::after {
    display: inline-block;
    position: absolute;
    width: 34px;
    height: 34px;
    left: 0;
    top: 0;
    margin-left: -22px;
    padding-left: 3px;
    padding-top: 1px;
    font-size: 20px;
    color: #555;
}


.form-control {
    color: #555;
    border: 1px solid #aaa;
    font-size: 16px;
}

.checkbox label {padding-left: 10px;}
input[type=checkbox] {width: 20px;}

.select2-container .select2-search__field:not([placeholder=""]) {
	 margin-right: 0px !important; /* BPL CUSTOM -- prevent horizontal scrollbar creation when opening location select box */
}

.adjust-nav-bar-static {
  margin-top: -0px !important;
}

.dashboard {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.dashboardContents ul {
    margin: 0 20px;
}

.checkbox input[type="checkbox"]:checked + label::after,
.checkbox input[type="radio"]:checked + label::after {
    content: "\f00c" !important;
    font-family: "Font Awesome 7 Pro" !important;
    --_fa-family: var(--fa-family,var(--fa-style-family,"Font Awesome 7 Pro"));
    font-family: var(--_fa-family);
}
input[type="checkbox"].styled:checked + label:after,
input[type="radio"].styled:checked + label:after {
    content: "\f00c" !important;
    font-family: "Font Awesome 7 Pro" !important;
    --_fa-family: var(--fa-family,var(--fa-style-family,"Font Awesome 7 Pro"));
    font-family: var(--_fa-family);
}


/* accessibility improvments */

@media only screen and (max-width: 1060px) {
    .slots td:nth-child(1) {width:14%}
}

/* BREAKPOINT 1000 needed for menu */
@media only screen and (max-width: 1000px) {

    .right .hamburger-menu {
        display: flex;
    }

    #globalnav div span.right{
        margin-right: 15px  !important;
    }

    a.login.loggedin {
        margin-right: 15px !important;
    }
    a.login.loggedout {
        margin-right: 15px !important;
    }
    div.navbar-header{
        display: none !important;
    }
}

@media only screen and (max-width: 768px) {
    #logo {
        padding-left: 10px;
    }

    table.reservations thead td.resdate {
        padding: 6px 8px;
        text-align: left;
        padding-left: 90px;
    }

    .slots td:nth-child(1) {width:14%}

    #logo-text {margin: 12px 0 0 14px;}

    .navbar-header {padding: 0 10px 0 10px;}

    #bpl-schedules ul {
        height: 120px !important;
    }

    #globalnav .right.opt  {
        display: none;
    }
    /*
    #datepicker{
        display:block;

    } */
    #overlay-datepicker{
        display: none;
    }
    .daterange{
        display:none;
    }

    .schedule-dates {
        display: block;
    }
    .schedule-dates .btn-link {
        display: none;
    }

    #reservations {
        padding: 0;
    }

    #terms_agree {
        height: 20px;
        flex: none;
    }
    div#reservations {
    overflow-x: auto; /*enable horizontal scrolling only for table on small screens */
    }
    a.login.loggedin{
        max-width: 100px; /* changed to max-width, revert to width if issues */
        white-space: nowrap;
        overflow: clip;
        text-overflow: ellipsis;
    }




}

@media only screen and (max-width: 580px) {
    .slots td:nth-child(1) {width:24%}

    #terms_agree {
        height: 20px;
        flex: none;
    }
    .daterange{
        display:none;
    }
    div.legend{
        width:85px !important;
        border-radius: 6px !important;
    }
    .schedule-legend{
        margin-right:auto !important;
        border: none !important;
    }
    h4.mobile.color-legend{
        margin-top: 0px !important;
        margin-bottom: 0px !important;
    }

}
