/*------------------------------------*\
	#1. Concertina
\*------------------------------------*/

.pod--concertina{
	border:2px solid #0072bc;
	padding:10px 20px;
	margin-bottom: 20px;
}

.concertina {
	margin:20px 0 0 0;
}

.mce-content-body .concertina {
	background:#e1e1e1;
}

	.concertina__title {
		display:block;
		margin: 0;
		font-size: 20px;
		line-height: 26px;
	}

	.concertina__link {
		display:block;
		position:relative;
		padding-right: 30px;
	}

		.expanded.concertina__link{
			
		}


    .concertina__link i.i--avac{
			right:0.2em;
		}

		.concertina__link:hover{
			text-decoration: none;
		}

/*------------------------------------*\
	#2. JavaScript Select Box
\*------------------------------------*/

.js-select,
.js-select__option,
.js-select__options,
.js-select-optgroup{
	display:block;
	margin:0;
	padding:0;
	list-style: none;
	border:none;
	background-image:none;
}


.js-select,
.js-select-optgroup{
	width:auto;
	background:#fff;
	height:54px;
	padding: 10px;
	display:inline-block;
	position:relative;
	vertical-align: top;
	cursor:pointer;
	overflow:visible;
	color: #0a4839;
}

.form--course-filter .js-select,
.form--course-filter .js-select-optgroup{
	width:100%;
}

.js-select__title {
	color:#0a4839;
	position: absolute;
	top: 50%;
	left:20px;

	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	max-width:calc(100% - 55px);
	overflow:hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

	.js-select.selected .js-select__options,
  .js-select-optgroup.selected .js-select__options{
		display:block;
	}

	.js-select.selected,
	.js-select-optgroup.selected{
		border-bottom:0;
	}

	.js-select.selected .js-select-title,
  .js-select-optgroup.selected .js-select-title{
		visibility: hidden;
	}

		.js-select::before,
    .js-select-optgroup:before{
			content: '';
			display: block;
			position: absolute;
			top:21px;
			right:15px;
			background: transparent url('/getfile/design/icons/bcbc-sprite.png') 0px 0px no-repeat; 
			background-position:-250px -150px;
			height:15px;
			width:22px;
			z-index: 0;
		}	

		.js-select__options {
			position:absolute;
			background-color:#fff;
			border:1px solid #000;
			border-top:0px;
			margin:0;
			padding:0;
			left: 0;
			top:100%;
			display:none;
			z-index: 501;
			max-height:150px;
			overflow:auto;
			width: 100%;
		}


			.js-select__options.optgroup{
				overflow:visible;
			}

			.js-select__option {
				padding:5px 10px;
				cursor:pointer;
				color:#0a4839;
				font-size: 13px;
				line-height: 26px;
			}

				.js-select__option.disabled {
					background:#ccc;
					cursor:not-allowed;
				}

				.js-select__option:hover {
					background:#e1e1e1;
				}

/*------------------------------------*\
	#2.5 Select with OptGroups
\*------------------------------------*/

.js-select-optgroup:before{
  
}

.js-select__options--wrap:before,
.js-select__option:before{
  display:none;
	content: '';	
}

.js-select__optgroup .js-select__option:before{
	content:'\003e';
	display: block;
	position: relative;
	top: -1px;
	left: -4px;
}


.js-select__options--wrap{
	padding:0;
}

		.js-select__options--wrap:after{
			content:'+';
			display:block;
			float:right;
			padding:0 20px;
			position: absolute;
			top: 0px;
			right: 0;
		}

		.js-select__options--wrap:hover:after{
			content:'-';
		}



.js-select__options--wrap:hover .js-select__optgroup{
	display:block;
}

.js-select__options--title{
	list-style: none;
}



@media screen and (max-width:720px){
	.js-select__optgroup{
		padding:0;
		margin:0;
		position:relative;
		left:0;
		top:0;
		background:#fff;
		width:100%;
		display:none;
		margin-top:10px;
		padding-left: 30px;
	}
	
	.js-select__options.optgroup{
		max-height:none;
	}
	
	.js-select__options--title{
		margin:20px;
	}
	
	.js-select__options--wrap{
		margin:15px 0;
	}
}

@media screen and (min-width:721px) and (max-width:960px){
	.js-select__optgroup{
		padding:0;
		margin:0;
		position:relative;
		left:0;
		top:0;
		background:#fff;
		width:100%;
		display:none;
	}
	
	.js-select__options.optgroup{
		max-height:none;
	}
}

@media screen and (min-width:961px) and (max-width:1280px){
	.js-select__optgroup{
		padding:0;
		margin:0;
		position:absolute;
		left:100%;
		top:0;
		background:#fff;
		width:100%;
		display:none;
		border: 1px solid #e1e1e1;
	}
}

@media screen and (min-width:1281px){
	.js-select__optgroup{
		padding:0;
		margin:0;
		position:absolute;
		left:100%;
		top:0;
		background:#fff;
		width:100%;
		display:none;
		border: 1px solid #e1e1e1;
	}
}

/*------------------------------------*\
	#3 Sticky Region
\*------------------------------------*/

.js--sticky--fixed {
	position:fixed!important;
	top:0!important;
	z-index: 9999!important;
	overflow:hidden!important;
}				

/*------------------------------------*\
	#4 Loading Gif
\*------------------------------------*/

.loading--page {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(255,255,255,0.9);
	z-index: 10000;
}

	.loading--page__image {
		position:fixed;
		top:calc(50% - 50px);
		left:calc(50% - 50px);
	}

/*------------------------------------*\
	5# Tooltip
\*------------------------------------*/

.ui-tooltip {
	padding: 8px;
	position: absolute;
	max-width: 300px;
	background:#000;
	color:#fff;
	text-align:center;
	padding:15px 20px;
	z-index: 250;
	font-size:14px;
	line-height:16px;
}

	.ui-tooltip::before {
		content:'';
		position:absolute;
		left:calc(50% - 10px);
		bottom:0;
		margin-bottom:-11px;
		width:20px;
		height:20px;
		background:#000;
		-webkit-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		-o-transform: rotate(-45deg);
		transform: rotate(-45deg);
	  	z-index: -1;
		border:2px solid #444;
		border-right:none;
		border-top:none;
	}

/*------------------------------------*\
	#6 JSSelect2
\*------------------------------------*/

.select2-container {
	max-width:100%;
}

/*------------------------------------*\
	#7. JavaScript Checkbox
\*------------------------------------*/

.js-checkbox {
	display: inline-block;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0px 3px 3px #aaa;
	background: #fff;
	border: 1px solid #000;
	width: 1em;
	height: 1em;
}

	.js-checkbox.selected {
		-webkit-transform: translateY(1px);
		-moz-transform: translateY(1px);
		-ms-transform: translateY(1px);
		-o-transform: translateY(1px);
		transform: translateY(1px);

		box-shadow: 0px 2px 3px #666;	
		background-color: #444;
	}

/*------------------------------------*\
	#8. JavaScript Image Select Box
\*------------------------------------*/

.js-image {
	min-height:200px;
	border-radius: 8px;
	border:1px solid #000;
	padding:5px;
	position:relative;
	overflow:hidden;
}

.js-image--full .js-image,
.js-image.js-image--full {
	width:100%;
}

	.js-image__overlay {
		position:absolute;
		border-bottom-left-radius: 8px;
		border-bottom-right-radius: 8px;
		left:0;
		bottom:0;
		background:#fff;
		padding:5px 10px;
		width:100%;
		display:none;
		z-index: 20;
	}

	.js-image__remove,
	.js-image__replace {
		font-size:14px;
		line-height:16px;
		font-weight:400;
	}

		.js-image__remove {
			color:red;
			float:right;
		}

		.js-image__replace {
			color:green;
			float:left;
		}

		.js-image__add {
			color:#000;
			width:80%;
			text-align: center;
			position: absolute;
			top: 50%;
			left: 50%;
			-webkit-transform: translate(-50%, -50%);	
			-moz-transform: translate(-50%, -50%);	
			-o-transform: translate(-50%, -50%);	
			transform: translate(-50%, -50%);	
			z-index: 10;
		}

			.js-image__add:hover {
				text-decoration: none;
				color:#444;
			}

			.js-image .js-checkbox {
				position:absolute;
				top:10px;
				right:10px;
				display:none;
			}

		.js-image .js-image__preview {
			position:absolute;
			top:0;
			left:0;
			width:100%;
			height:100%;
			z-index:5;
			padding-bottom:30px;
			overflow:hidden;
		}

			.js-image .js-image__preview__image {

				margin:auto;
				display:block;
				position: absolute;
				max-width:none;
				left:50%;
				top:50%;

				-moz-transform: translate(-50%, -50%);
				-webkit-transform: translate(-50%, -50%);
				-ms-transform: translate(-50%, -50%);
				-o-transform: translate(-50%, -50%);
			 	transform: translate(-50%, -50%);
				padding-bottom:30px;
			}

		.js-image.selected .js-checkbox {
			display:block;
			z-index: 30;
		}

		.js-image.selected .js-image__add {
			display:none;
		}

		.js-image.selected .js-image__overlay {
			display:block;
		}

@media screen and (max-width:500px){
	.js-image {
		display:block;
		margin:0 auto 20px auto;
		max-width:300px;
		min-height:200px;
	}
}

@media screen and (min-width:501px) and (max-width:720px){
	.js-image {
		float:left;
		width:calc((100% - 20px) /2);
		margin: 0 20px 20px 0;
		min-height:200px;
	}
	
	.js-image:nth-of-type(2n + 2){
		margin-right:0;
	}
	
	.js-image:nth-of-type(2n + 3){
   		clear:left;
	}
}

@media screen and (min-width:721px) and (max-width:960px){
	.js-image {
		float:left;
		width:calc((100% - 40px) / 3 - 1px);
		margin: 0 20px 20px 0;
		min-height:170px;
	}
	
	.js-image:nth-of-type(3n + 3){
		margin-right:0;
	}
	
	.js-image:nth-of-type(3n + 4){
   		clear:left;
	}
}

@media screen and (min-width:961px) and (max-width:1280px){
	.js-image {
		float:left;
		width:calc((100% - 40px) / 3 - 1px);
		margin: 0 20px 20px 0;
		min-height:200px;
	}
	
	.js-image:nth-of-type(3n + 3){
		margin-right:0;
	}
	
	.js-image:nth-of-type(3n + 4){
   		clear:left;
	}
}

@media screen and (min-width:1281px), print {
	.js-image {
		float:left;
		width:calc((100% - 60px) / 4);
		margin: 0 20px 20px 0;
	}
	
	.js-image:nth-of-type(4n + 4){
		margin-right:0;
	}
	
	.js-image:nth-of-type(4n + 5){
   		clear:left;
	}
}	

/*------------------------------------*\
	#11. Fancy Label
\*------------------------------------*/

.row--fancylabel,
.row.row--fancylabel {
	position:relative;
	/* Prevent scrollbars on IE/Edge - not sure of cause */
	overflow: hidden;
}

.row--fancylabel [type=text],
.row--fancylabel [type=email],
.row--fancylabel [type=password],
.row--fancylabel textarea {
	display: block;
	width: 100%;
	position: relative;
	z-index: 20;
	background: transparent;
	padding:15px 0;
}

.row--fancylabel--icon [type=text],
.row--fancylabel--icon [type=email],
.row--fancylabel--icon [type=password],
.row--fancylabel--icon textarea {
	padding-top:20px;
	padding-bottom:20px;
}

.row--fancylabel label {
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 15px 10px;
	z-index: 10;
	background: white;
	transition: 0.25s all ease-in-out;
	color: #000;

	position: absolute;
	top: 50%;
	line-height:100%;
	-moz-transform: translateY(-50%);	
	-webkit-transform: translateY(-50%);	
	-ms-transform: translateY(-50%);	
	-o-transform: translateY(-50%);	
	transform: translateY(-50%);	
	text-align: left;
}


	.row--fancylabel.focussed label {
		font-size: 10px;
		padding: 0 0 0 6px;
		color: #aaa;
		line-height: 20px;
	}

	.row--fancylabel span {
		padding:0 5px;
	}

		.row--fancylabel.focussed span,
		.row--fancylabel.focussed i {
			display:none;
		}

/*------------------------------------*\
	#12. JQuery Datepicker
\*------------------------------------*/

.ui-datepicker {
	background:#fff;
	border-radius: 8px;
	border:1px solid #000;
	padding:10px 40px;
	z-index: 999!important;
	position:relative;
	display:none;
}

	.ui-datepicker-calendar {
		 margin:0;
	}

		.ui-datepicker-title {
			color:#000;
			text-align: center;
			font-size:20px;
			line-height:24px;
			font-weight: 700;
			margin-bottom:10px;
		}

		.ui-datepicker-calendar td {
			border:none;
		}

		.ui-datepicker-calendar th {
			color:#000;
			background:#fff;
			border:none;
		}

		.ui-datepicker-calendar th,
		.ui-datepicker-calendar td {
			padding: 0.2em 0.35em;
		}

		.ui-datepicker-prev,
		.ui-datepicker-next {
			position:absolute;
			left:15px;
			top:50%;
			-webkit-transform: translateY(-50%);
			-ms-transform: translateY(-50%);
			-moz--ms-transform: translateY(-50%);
			-o-transform: translateY(-50%);
			transform: translateY(-50%);
			cursor:pointer;
			z-index: 1000;
		}

		.ui-datepicker-next {
			left:auto;
			right:15px;
		}

			.ui-datepicker-prev span,
			.ui-datepicker-next span {
				display:none;
			}

				.ui-datepicker-prev::before,
				.ui-datepicker-next::before {
					content:'';
					display:block;
					background: transparent url('/getfile/design/icons/bcbc-sprite.png') 0px 0px no-repeat; 
					background-position: 0 0;
					width: 10px;
					height: 15px;
					margin-top: 4px;
				}

				.ui-datepicker-next::before {
					-webkit-transform:rotate(-180deg);
					-moz-transform:rotate(-180deg);
					-ms-transform:rotate(-180deg);
					-o-transform:rotate(-180deg);
					transform:rotate(-180deg);
				}

@media screen and (max-width:400px){
	.ui-datepicker-calendar th,
	.ui-datepicker-calendar td {
		padding: 0.2em 0.25em;
	}
}

@media screen and (max-width:768px){
	.lo--home .ui-datepicker,
	.ui-datepicker {
		margin-top:0;
  }
}		

/*------------------------------------*\
	#13. Tabs
\*------------------------------------*/

.js-tabs,
.tab,
.tab-nav,
.tab-nav__item,
.tab-nav__item__link {
	display:block;
	margin:0;
	padding:0;
	list-style: none;
	border:none;
}

	.js-tabs {
		display:block;
		margin:20px 0;
	}

	.tab-nav {

	}

	.tab,
  	.container--tabs {
		display:block;
		width:100%;
		border:#000 2px solid;
		padding:20px;
		overflow-wrap:break-word;
	}

	.tab-nav__item {
		position:relative;
		display: inline-block;
		vertical-align: bottom;
		font-weight: 700;
		border: none;
		cursor: pointer;
		border:#000 2px solid;
		border-bottom:none;
		margin-right:10px;

		-webkit-transition: 0.35s all ease;
		-moz-transition: 0.35s all ease;
		-ms-transition: 0.35s all ease;
		-o-transition: 0.35s all ease;
		transition: 0.35s all ease;
	}

		.tab-selected,
		.tab-nav__item:hover{
			border-color:#000;
			padding-top:5px;
		}


		.tab-nav__item__link {
			color:#444;
			padding: 0.75em 1em;
			-webkit-transition: 0.35s all ease;
			-moz-transition: 0.35s all ease;
			-ms-transition: 0.35s all ease;
			-o-transition: 0.35s all ease;
			transition: 0.35s all ease;
		}

			.tab-selected .tab-nav__item__link,
			.tab-nav__item__link:hover {
				color:#666;
				text-decoration: none;
			}

			.tab-selected .tab-nav__item__link::after,
			.tab-nav__item__link:hover::after {
				margin-top:10px;
				content:'';
				margin-left:25%;
				display:block;
				width:50%;
				height:1px;
				top:100%;
				left:0;
				background-color:#666;
			}

@media screen and (max-width:500px){
	.tab-nav__item {
		display:block;
		margin:0;
	}
	
	.tab-nav__item .tab-nav__item__link::after {
		display:none;
	}
}
