/*Table of Contents*/
/*General*/
/*Sidebar*/
/*Calendar*/
/*Agency*/
/*Profile*/
/*Opportunity Single Page*/
/*Opportunities*/
/*Email*/
/*Volunteer History*/
/*Mobile*/

/*General*/
header#eVolHeader {
    z-index: 2;
}
#eVol-breadcrumbs li.breadcrumb-item p {
    display: inherit !important;
}
#PageControl .pagination {
    margin-bottom: 0;
}
li.NavigationApply a {
    margin: auto 0 !important;
}

/*Sidebar*/
#eVolHeader.sticky + #aside-sticky.scroll,
#eVolHeader.sticky + form #aside-sticky.scroll {
    overflow: hidden;
    overflow-y: scroll;
}
#aside-sticky::-webkit-scrollbar {
  width: 0px;
}
#aside-sticky {
    position: sticky;
    top: 20px;
}
.eVol-container py-3 .card-header h5 {
    margin: 0;
    font-weight: 600;
    font-size: 17px;
}
#eVol-sidebar .card-body label.form-label,
#eVol-sidebar .card-body label.form-check-label,
#eVol-sidebar .card-body,
#eVol-sidebar .list-group-item {
    font-size: 14px;
    line-height: 1.4;
}
#eVol-sidebar .card-body .CheckboxTable .form-check {
    flex: 100%;
    max-width: unset !important;
}
#eVol-sidebar .card-body {
    --bs-list-group-item-padding-x: 1rem;
    --bs-list-group-item-padding-y: 0.5rem;
    padding: var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);
}
#eVol-sidebar .card-body p {
    font-size: 14px;
    line-height: 1.4;
}
#eVol-sidebar #mobile-close, #eVol-sidebar #mobile-filters {
	display: none;
}
#eVol-sidebar .card-body .btn {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border: 0;
}
ul#displaySearchOptions li.list-group-item {
    cursor: pointer;
    transition: 0.25s all;
}
ul#displaySearchOptions li.list-group-item.clicked {
	color: var(--bs-primary-text);
    background: var(--bs-primary-bg-subtle);
}
#eVol-sidebar .card-body {
    --bs-list-group-border-width: var(--bs-border-width);
    --bs-list-group-border-color: var(--bs-border-color);
}
#eVol-sidebar .card-body.filtersItem {
	cursor: pointer;
    border-top: var(--bs-list-group-border-width) solid var(--bs-list-group-border-color);
}
#eVol-sidebar .card-body.filtersItem:nth-child(3) {
    border-top: 0;
}
#eVol-sidebar .filtersItem + .list-group {
    border-bottom: 0;
}
#eVol-sidebar li.list-group-item .form-check {
    margin-bottom: 0;
    min-height: unset;
}
#eVol-sidebar ul.list-group + ul.list-group {
    border-top: 0 !important;
}
#eVol-sidebar .card-body.filtersItem:not(.collapsed) {
    /*background: var(--bs-list-group-border-color);*/
}
.form-text.top {
    margin-top: 0;
    margin-bottom: .25rem;
}

/*Calendar*/
table.VolCalendarTable,
table#VolCalendarTable {
    table-layout: fixed;
}
.VolCalendarTable td div {
    min-height: 40px;
}
#VolCalendarTable thead,
.Col-CalendarEmptyCell {
    --bs-card-cap-bg: rgba(var(--bs-body-color-rgb), 0.03);
    background-color: var(--bs-card-cap-bg);
}
#VolCalendarTable td {
	padding: .25rem .25rem;
}
.OpCalTooltip {
    font-size: 14px;
    line-height: 1.3;
}
#PageLink img {
    height: 16px;
}
.btn-group[aria-label="ShareView"] div.btn {
    padding: 0 !important;
}
.btn-group[aria-label="ShareView"] div.btn a {
    padding: 6px 12px;
    display: block;
}

/*Agency*/
.Page-AgencySearch form .card-header {
    line-height: 1.2;
}
address.contact-address:nth-last-of-type(1) {
    margin-bottom: 0;
}
address.contact-address p {
    display: flex;
    flex-wrap: wrap;
}
address.contact-address h4 {
    font-size: 15px;
    line-height: 1.2;
    padding: .375rem 0;
    margin: 0;
}
address.contact-address p label.contact-label {
    flex: 100%;
    font-weight: 600;
    display: block;
    margin-bottom: .375rem;
}
address.contact-address p.form-control-plaintext {
    padding-top: 0;
}
address.contact-address p.form-control-plaintext:nth-last-of-type(1) {
    padding: 0;
}
address.contact-address .contact-icon {
    margin-right: 0.375rem;
}
.agency-logo {
	display: flex;
	align-items: center;
	justify-content: center;
    height: 80px;
}
.agency-logo img {
    max-height: 80px;
    max-width: 100%;
}
.agency-logo .initials-wrap {
    max-height: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 200%;
    opacity: 0.5;
    font-weight: 300;
    background-color: var(--bs-card-cap-bg);
    margin: auto;
    width: fit-content;
    min-width: 80px;
    padding: 0.25em;
    color: #fff;
    text-transform: uppercase;
}
.eVol-container py-3 nav.SearchNavigationButtons ol li {
    display: inline-block;
}

/*Opportunity Single*/
.Page-VolOpInfo #eVolHeader,
.Page-ReleaseInfo #eVolHeader {
    transition: 0.25s all;
    border-top: 3px solid transparent;
}
#eVolHeader {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: -1px;
    border-bottom: 1px solid #eee;
}
#eVolHeader.sticky {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
}
#eVolHeader.sticky #eVol-breadcrumbs {
	/*display: none;*/
}
#eVolHeader.sticky h1 {
	margin-bottom: 1rem;
}

/*Profile*/
.VolHeader .accordion-button {
    font-weight: 600;
}
.VolNote {
    padding: var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x);
    margin: 0 !important;
}
.VolNote + .VolNote {
    padding-top: 0 !important;
}
.Row-Availability .datepick-trigger {
    border-radius: 0;
}
.Row-Availability .input-group .input-group {
    flex-grow: 1;
    width: unset;
}
.Row-Availability #specificDateFrom {
    border-radius: 0;
    border-right: 0;
}
.Row-Availability .form-check-label {
    font-weight: 600;
}

/*Opportunity Single Page*/
#TimeSlotsTable .badge {
    min-width: 60px;
}
#VolOpInfo-Btn ol,
#VolOpInfo-Btn li.NavigationLogin a {
    margin: 0 !important;
    padding: 5px 7px !important;
}
.row.VolInterestsDetails .col.VolOpInfo {
    flex: 50%;
    max-width: 50%;
}
.eVol-container py-3 .card-body p:last-child {
	margin-bottom:  0;
}

/*Release Info Page*/
#ReleaseInfoTable .form-control-plaintext {
    cursor: not-allowed;
    padding: 6px 12px;
    border-radius: var(--bs-border-radius);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border: var(--bs-border-width) solid var(--bs-border-color);
}
#ReleaseInfoTable .input-group .input-group-text:nth-child(2) {
    min-width: 150px;
}
.Col-PhoneCheckBox #PhoneArea {
    /*max-width: 25%;*/
}
#ReleaseInfoTable .AddressData {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}
#ReleaseInfoTable .AddressData input,
#ReleaseInfoTable .AddressData select {
    border-radius: 0;
    margin-top: -1px;
}
#ReleaseInfoTable .AddressData input#Street1 {
    margin-top: 0 !important;
}

/*Opportunities*/
#RangeEndAfter.d-flex.align-items-center .form-check,
#RangeEndByDate.d-flex.align-items-center .form-check {
    margin: 0;
}
.ANDARRadioButton.form-check label.col-form-label {
    padding: 0;
    font-weight: normal;
}
#PatternDaily .DAILYDAYS,
#PatternWeekly .WEEKLYDAYS,
#PatternMonthly input[type="number"],
#PatternMonthly input#MONTHLYEVERYMONTHS,
#PatternYearly input#YEARLYEVERYYEARS,
#PatternYearly input#YEARLYDAYOFMONTH,
#RangeEndAfter .RANGEOCCUR {
	max-width: 60px;
}
#PatternMonthly select#MONTHLYDAYOFMONTH,
#PatternYearly select#YEARLYNUMBEROFWEEK,
#PatternYearly select#YEARLYDAYOFWEEK {
    max-width: 100px;
}
#PatternMonthly select#MONTHLYDAYOFWEEK,
#PatternYearly select#YEARLYONMONTH,
#PatternYearly select#YEARLYMONTH {
    max-width: 150px;
}
label.col-form-label.form-check-label {
    font-weight: normal !important;
}
.card.Row-VolDescription {
    flex: 100%;
    max-width: unset !important;
}
table#VolListUpdateTable tr>:nth-child(odd) {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
    color: var(--bs-table-striped-color);
}
#opportunity-list > .col-sm {
    flex: 50%;
    max-width: 50%;
}
.accordion-body .card-title {
	--bs-card-title-spacer-y: 0.5rem;
}
hr.card-divider {
    border-top: 1px solid #ccc;
    margin: 1.5rem 0;
}
#eVol-col .tox-tinymce {
    min-height: 300px;
}
.eVol-container py-3 nav ol {
    margin: 0 !important;
}
#AgOpList-icons .btn {
    padding: 0 !important;
}
#AgOpList-icons .btn a {
    padding: 0.375rem 0.75rem;
}
#TimeSlotsTable,
.Page-VolHistory .card-group {
    flex-wrap: wrap;
}
#TimeSlotsTable .card,
.Page-VolHistory .card-group .card {
    flex: 50%;
    max-width: 50%;
    margin-top: -1px;
}
#TimeSlotsTable.card-group>.card:not(:last-child),
#TimeSlotsTable.card-group>.card:not(:first-child),
.Page-VolHistory .card-group>.card:not(:last-child),
.Page-VolHistory .card-group>.card:not(:first-child) {
    border-radius: 0;
}
#TimeSlotsTable .card:nth-child(odd),
.Page-VolHistory .card-group .card:nth-child(odd) {
    border-left: 1px solid var(--bs-card-border-color);
}

/*Email*/
label.input-group-text input[type="checkbox"] {
    margin: 0;
}
nav.NavigationSaveTemplate ol {
    margin: 0 !important;
    display: flex;
}
nav.NavigationSaveTemplate ol li a {
    margin: 0 !important;
    margin-right: 10px !important;
}

/*Volunteer History*/

/*Mobile*/
@media screen and (max-width: 920px) {
	#ReleaseInfoTable .input-group input:not(#PhoneNumber) {
	    width: 100%;
	    max-width: unset;
	}
	#ReleaseInfoTable .input-group label {
	    flex-grow: 1;
	}
	#ReleaseInfoTable .AddressData {
	    width: 100% !important;
	}
	#eVolHeader.sticky {
		position: relative;
	}
	.Page-VolOpInfo #eVolHeader.sticky + .eVol-container py-3 #aside-sticky {
		padding-top: 0px !important;
	}
	.eVol-container py-3 #eVol-sidebar {
	   width: 100%;
	}
	.eVol-container py-3 {
	    position: relative;
	}
	aside#eVol-sidebar {
	    position: fixed;
	    z-index: 100;
	    left: -100vw;
	    top: 0;
	    background: #f1f1f1;
	    transition: 0.25s all;
	    z-index: 555555555;
	    max-height: 100vh;
	    height: 100vh;
	    width: 100vw;
	    overflow-y: scroll;
	    padding-top: 12px;
	}
	aside#eVol-sidebar.open {
	    left: 0;
	}
	aside#eVol-sidebar.open #mobile-close {
	    top: 5px;
	    right: 5px;
	    padding: 5px;
	    width: 30px;
	    height: 30px;
	    font-size: 20px;
	}
	aside#eVol-sidebar #mobile-close,
	aside#eVol-sidebar #mobile-filters {
		background: #fff;
	    z-index: 55555;
	    line-height: 1;
	    text-align: center;
	    border-radius: 5px;
	    border: 1px solid #ccc;
	    box-shadow: 1px 1px 3px #999;
	    cursor: pointer;
	    user-select: none;
	    display: block !important;
	    position: fixed;
	}
	#aside-sticky.scroll {
		top: unset !important;
		max-height: unset !important;
	}
#mobile-filters {
    padding: 5px 10px;
}
.SidebarMobileFilter {
    float: left;
    margin-right: 10px;
}
.SidebarMobileFilter p {
    margin: 0;
}
	#mobile-filters {
	    bottom: 15px;
	    right: 15px;
	    padding: 5px;
	    border-radius: 15px;
	    font-size: 12px;
	}
	.Area-Volunteer .col-sm-9 {
	    width: 100%;
	}
	#TimeSlotsTable .card,
	.Page-VolHistory .card-group .card {
	    flex: 100%;
	    max-width: 100%;
	}
	#TimeSlotsTable .card:nth-child(even),
	.Page-VolHistory .card-group .card:nth-child(even) {
	    border-left: 1px solid var(--bs-card-border-color);
	}
	.Page-VolOpInfo .col-sm:not(:last-child) {
	    margin-bottom: 1rem!important;
	}
}