body.noscroll {
	overflow: hidden;
}
#compare-tray {
	position: fixed;
	bottom: -160px;
	left: 0;
	display: flex;
	width: 100%;
	height: 230px;
	background-color: #DDDDDD;
	padding: 20px 20px 0;
	z-index: 100;
	box-shadow: 0 -3px 6px rgba(0,0,0,0.16), 0 -3px 6px rgba(0,0,0,0.23);
	transition: 0.25s ease;
}
#compare-tray.empty {
	display: none;
}
#compare-tray.expanded {
	bottom: 0;
}
.traySwitch {
	cursor: pointer;
	flex: 1;
}
#compare-tray.expanded .traySwitch .caret {
	transform: scaleY(-1);
    margin-left: 5px;
}
.resourceGroupResources a,
.cancelNavigation {
	color: #00A9E0
}
.resourceGroupResources a:hover,
.cancelNavigation:hover {
	color: #1473a9;
}
.resourceGroups {
	flex: 3;
	display: none;
	position: relative;
}
.trayInfo{
	display: none;
}

#compare-tray.expanded .trayInfo {
	display: inherit;
}

#compare-tray.expanded .resourceGroups {
	display: inherit;
}
.resourceGroups > ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	height: 100%;
	width: 100%;
}
.resourceGroupContainer {
	position: relative;
	transition: 0.25s ease;
	top: 0;
}
.resourceGroupContainer .resourceRemove {
	cursor: pointer;
    background-image: url(../img/cancel.png);
    border-radius: 50%;
    background-size: 15px;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 5px;
    border: 2px solid #BBBBBB;
    right: -15px;
    height: 35px;
    width: 35px;
    background-color: #fff;
}


/* .resourceGroupContainer:not(.expanded):hover {
	box-shadow: 0 0px 8px 4px rgb(0,169,224);
} */
.resourceGroupContainer.expanded {
	top: -270px;
	box-shadow: 0 -3px 6px rgba(0,0,0,0.16), 0 -3px 6px rgba(0,0,0,0.23);
}
.resourceGroup {
	padding-right: 2vw;
	display: inline-block;
	width: 33%;
	vertical-align: top;
}
.resourceGroup + .resourceGroup {
	padding-left: 10px;
}
/* .resourceGroup:last-child {
	padding-right: 0;
} */

/* .resourceGroupCard {
	height: 250px;
	cursor: pointer;
} */
.resourceGroupCardTop {
	height: 130px;
	background-size: cover;
}
.resourceGroupCardBottom {
	/* height: 130px; */
	background-color: #eceeee;
	/*color: #002D72;*/
	font-size: 18px;
	line-height: 20px;
	text-align: center;
	padding: 10px;
	font-weight: bold;
}
.resourceGroupCardBottom .caret {
	margin: 5px auto 0;
	background-image: url(../img/caret-yellow.png);
}
.resourceGroupContainer.expanded .caret {
	transform: scaleY(1);
}
.resourceGroupResources {
	height: 270px;
	overflow: scroll;
	background-color: #FFF;
	padding: 0 17px;
}
.resourceGroupResources ul {
	margin: 0;
	list-style-type: none;
}
.resourceGroupResources li {
	text-align: center;
	padding: 10px 0;
}
.resourceGroupResources li.resourceSeparator {
	border-top: 2px solid #CCC;
	width: 80px;
	margin: 0 auto;
	padding: 0px;
}

@keyframes switch-caret {
	25% { opacity: 0; }
	75% { opacity: 1; }
}
.traySwitch .caret {
	transform: scaleY(1);
	position: relative;
}
.traySwitch .caret div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: contain;
}
.traySwitch .caret div {
  background-image: url('../img/caret-dark-blue.png');
}
.traySwitch .caret div:hover {
	background-image: url('../img/caret-yellow.png');
}

/*.caret:hover{*/
/*	background-image: url('../img/caret-yellow.png');*/
/*}*/

/*.traySwitch .caret div:first-child:hover {*/
/*  background-image: url('../img/caret-yellow.png');*/
/*  !*animation: switch-caret 3s ease infinite;*!*/
/*}*/
#compare-tray:hover .traySwitch .caret div:last-child {
	/*background-image: url(../img/caret-light-blue.png);*/
	/*animation: none;*/
}
.caret {
	width: 24px;
	height: 24px;
	display: inline-block;
	vertical-align: middle;
	transform: scaleY(-1);
	background-size: contain;
}
.trayMain{
	flex:1;
	text-align: center;
}

.compare-container{
	width: 100%;
	flex: 1;
	display: flex;
	margin: 0 auto;
    max-width: 1200px;
}

.trayInfo .controlLinks{
	display: flex;

}

.traySwitch .title {
	font-family: 'BrandonTextWeb-Bold', sans-serif;
	color: #000000;
	display: inline-block;
	margin-left: 20px;
	text-transform: uppercase;
	font-weight: 500;
	font-size: 20px;
}
/* #compare-tray:hover .traySwitch .title {
	color: #F3B91D;
} */
/* .trayInfo .controlLinks,
.trayInfo .paginationLinks {
	display: flex;
	justify-content: space-between;
} */
.paginateButton {
	position: absolute;
	top: 64px;
	height: 70px;
	width: 38px;
	/*background-color: #00a9e0;*/
	cursor: pointer;
	/* display: none; */

    background-image: url(../img/caret-right-white.png);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 14px 21px;
	-webkit-filter: invert(100%);
}
.paginateButtonRight {
	right: -0px;
}
.paginateButtonLeft {
	left: -40px;
	transform: scaleX(-1);
}
.trayInfo a{
	margin: 0px 10px;
    padding: 4px 8px;
    border-radius: 5px;
    font-family: 'BrandonTextWeb-Bold', sans-serif;
    font-size: 14px;
}

.trayInfo a.compareButton {
	background-color: #F3B91C;
    color: #000;
}

.trayInfo a.exitButton{
	background-color:#797979;
    color: #fff;
}

.paginationDisplay {
	font-family: 'BrandonTextWeb-Bold', sans-serif;
	padding: 20px 0px;
	color: #000;
	text-align: center;
}

.trayInfo .paginationLinks.showingAll {
	display: none;
}
.trayInfo .paginationLinks.firstPage .previousLink,
.trayInfo .paginationLinks.lastPage .nextLink {
	color: #999;
	cursor: default;
}
.resourceGroupResources .icon {
	display: inline-block;
	background-size: cover;
	margin-right: 6px;
}
.resourceGroupResources .icon.icon-pdf {
	background-image: url(../img/icon-pdf.png);
	width: 12px;
	height: 16px;
}
.resourceGroupResources .icon.icon-video {
	background-image: url(../img/icon-video.png);
	width: 16px;
	height: 12px;
}

.compare-modal {
	border: 2px solid #F3B91C;
	padding: 60px 0;
}

.compare-modal h3 {
	color: #F3B91C;
	text-align: center;
	font-weight: 900;
}

.compare-modal p {
	text-align: center;
	margin: 20px auto 40px;
}

.compare-modal .button-row {
	display: flex;
	justify-content: center;
	align-items: center;
}
.compare-modal .button-row button {
	height: 40px;
	border-radius: 20px;
	padding: 0 20px;
	text-transform: uppercase;
	font-weight: 900;
	margin: 0 10px;
	cursor: pointer;
	transition: all .25s ease-in-out;
	color: #fff;
}
.compare-modal .button-row button:hover {
	background-color: #031736;
	color: #fff;
	border-color: #031736;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.compare-modal .button-row .primary-button {
	background-color: #F3B91C;
}
.compare-modal .button-row .compare-close-button {
	border: 2px solid #F3B91C;
	color: #031736;
}

.compare-start-over.compare-modal p {
	max-width: 380px;
}
.compare-exit.compare-modal p {
	max-width: 500px;
}
.compare-exit.compare-modal .caret {
	background-image: url(../img/caret-yellow.png);
	transform: scaleY(-1);
	margin: 0 4px;
}
#compare-video-modal {
	width: 605px;
	height: 400px;
	padding: 50px 20px 20px;
}
.traySwitch {
	height: 60px;
	text-align: left;
}

/*.resourceGroupCardBottom .community{*/
/*	margin-top: 8px;*/
/*}*/

.resourceGroupContainer a{
	color: black;
}

@media (min-width: 1200px) {
	.compare-container{
		padding-left: 64px;
		padding-right: 64px;
	}
}

/* Desktop only */
@media (min-width: 1024px) {
	.paginateButton {
		display: inline-block;
	}
	.trayInfo .controlLinks{
		
		justify-content: start;
		padding-left: 35px;
	}
	


	
}
/* Tablet and mobile */
@media (max-width: 1023px) {

	.trayInfo .controlLinks{
		display: flex;
		justify-content: center;
		
	}
	
	#compare-tray {
		transition: initial;
		flex-direction: column;
		align-items: center;
		overflow-y: auto;
	}
	.traySwitch {
		text-align: center;
		flex: none;
	}

	.compare-container{
		flex: none;
		display: block;
	}
	.paginateButtonRight {
		right: -20px;
	}

	.trayInfo {
		position: static;
		/* width: 250px; */
		margin: 0 auto;
		display: none;
	}
	#compare-tray.expanded {
		/* top: 98px; */
		height: auto;
	}
	#compare-tray.expanded .trayInfo {
		display: block;
	}
	.resourceGroup {
		display: inherit;
		width: initial;
		margin: 10px 40px 10px 30px;
		padding: 0;
	}
	.resourceGroup .resourceGroupResources {
		display: none;
		height: auto;
	}
	.resourceGroup .resourceGroupCardTop {
		display: none;
	}
	.resourceGroupContainer {
		position: static;
	}
	.resourceGroupContainer.expanded .resourceGroupResources {
		display: inherit;
	}
	.resourceGroupCard {
		height: inherit;
	}
	.resourceGroup + .resourceGroup {
		padding-left: 0px;
	}
	.resourceGroupCardBottom {
		height: auto;
		display: flex;
		align-items: center;
	}
	.resourceGroupCardBottom .title {
		order: 2;
		text-align: left;
		font-size: 16px;
	}
	.resourceGroupCardBottom .caret {
		order: 1;
		margin: 0 10px 0 0;
		flex: none;
	}
	.resourceGroups {
		flex: none;
		width: 100%;
		min-height: 160px;
	}
	.compare-modal {
		padding: 20px;
	}
	.compare-modal p {
		margin-bottom: 20px;
	}
	.compare-modal .button-row {
		flex-direction: column;
	}
	.compare-modal .button-row .compare-close-button {
		margin-top: 20px;
	}
	.resourceGroupContainer .resourceRemove {
		right: 25px;
		top: unset;
	}

	.paginateButtonLeft {
		left: -20px !important;
	}

	.traySwitch {
		text-align: left;
	}
}

@media (min-width: 640px) {


}
/* Phone only */
@media (max-width: 639px) {
	/* #compare-tray.expanded {
		top: 58px;
	} */
	html.is-reveal-open, html.is-reveal-open body {
		min-width: 100%;
	}
	#compare-video-modal {
		width: auto;
	}
	.iframeWrapper {
		position: relative;
		padding-bottom: 56.25%;
	}
	iframe#compare-video-iframe {
		position: absolute;
		top: 0px;
		left: 0px;
		width: 100%;
		height: 100%;
		max-width: 560px;
		max-height: 315px;
	}
}