/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

/* Variables */

:root {
	--bodyclr:        #252F43;
	--primary:        #001E62;
	--primary_hover:  #002d97;
	--secondary:      #5A58A3;
	--coral:          #ff6d70;
	--dark-blue:      #000c38;
	--gray-100:       #f2f3f7;
	--gray-200:       #dadbde;
	--gray-300:       #dadada;
	--gray-400:       #f9f9f9;
	--pagi-focus:     #009BA8;
	--primary-gradient: linear-gradient(225deg, #ff6d70, #001e62 75%, #001e62);;
	--secondary-gradient: linear-gradient(90deg, rgba(34, 44, 87, 1) 3.63%, rgba(236, 103, 108, 1) 100%);
	--secondary-gradient-reverse: linear-gradient(-190deg, rgba(34, 44, 87, 1) 3.63%, rgba(236, 103, 108, 1) 100%);
	--font-family-primary: 'Quicksand', serif;
}

/* Main body */

html, body {
	height: 100%;
}

body{
	color: var(--bodyclr);
	font-family: var(--font-family-primary);
	text-rendering: optimizeLegibility;
	line-height: 24px;
	font-size: 16px;
	font-optical-sizing: auto;
}

.path-community-selection .dialog-off-canvas-main-canvas {
	height: 100%;
}
.off-canvas-container {
	min-height: 100%;
	display: grid;
	grid-template-rows: 1fr auto;
}

/* Headings */

h1{
	font-size: 42px;
	line-height: 50px;
}

h2 {
	font-size: 30px;
	line-height: 30px;
}
h3 {
	font-size: 20px;
	line-height: 26px;
}
h4 {
	font-size: 18px;
	line-height: 22px;
}
h5 {
	font-size: 16px;
	line-height: 20px;
}

h6 {
	font-size: 14px;
	line-height: 20px;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	margin-bottom: 15px;
	margin-top: 0px;
	font-weight: 600;
}

h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: var(--primary);
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
	text-decoration: none;
}

label h4 {
  color: var(--primary) !important;
}

p {
	line-height: 24px;
}

p a {
	word-wrap: break-word;
}

p:last-child {
	margin-bottom: 10px;
}

/* Links */
a {
	background-color: transparent;
	font-weight: 600;
	color: var(--primary);
	transition: all 0.2s linear 0s;
	word-wrap: break-word;
}
a em u {
	text-decoration-color: var(--primary);
	text-underline-offset: 5px;
	text-decoration: none;
}
a em u:hover {
	color: var(--primary_hover);
	text-decoration-color: var(--coral);
	text-underline-offset: 5px;
}
a:active,
a:hover {
	outline: 0;
	cursor: pointer;
	color: var(--primary_hover);
	text-decoration-color: var(--coral);
	text-underline-offset: 5px;
}

a:focus {
	text-decoration: none;
	outline: none;
	outline-offset: 0;
}

iframe {
  border-radius: 15px;
}

/* Spaces */

.mt-2 {
	margin-top: 15px;
}
.mb-2 {
	margin-bottom: 15px;
}

/* Buttons */

.button, .btn-primary, .btn-info, .btn-info:active, .btn-primary-link a {
	text-transform: uppercase;
	-webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
	transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
	color: #fff;
	box-shadow: 0px 2px 4px 0px rgba(0, 30, 98, 0.10);
	box-shadow: none;
	border-radius: 44px;
	font-size: 14px;
	font-weight: 700;
	line-height: 2.4rem;
	padding: 10px 24px;
	text-transform: none;
	background-image: linear-gradient(225deg, #FF6D70 0%, #001E62 75%, #001E62 100%);
	position: relative;
	z-index: 1;
	border: 0;
}
.button::before,
.btn-primary::before,
.btn-info:active:focus::before,
.btn-primary-link a::before {
	background-image: linear-gradient(135deg, #FF6D70 0%, #001E62 75%, #001E62 100%);
	border-radius: 44px;
	bottom: 0;
	content: " ";
	left: 0;
	opacity: 0;
	position: absolute;
	right: 0;
	top: 0;
	-webkit-transition: opacity 0.5s linear;
	transition: opacity 0.5s linear;
	z-index: -1;
}
.button:hover::before,
.btn-primary:hover::before,
.btn-primary-link a:hover::before   {
  opacity: 1;
}
.btn-primary-link {
	padding: 0;
}
.btn-primary-link a {
	color: white;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}
.btn a:hover {
	text-decoration: none;
}
.btn:active, .btn.active {
	box-shadow: none;
}
.btn-info:focus, .btn-info.focus,
.btn-info:active:hover,
.btn-info.active:hover,
.open > .dropdown-toggle.btn-info:hover,
.btn-info:active:focus,
.btn-info.active:focus,
.open > .dropdown-toggle.btn-info:focus,
.btn-info:active.focus,
.btn-info.active.focus,
.open > .dropdown-toggle.btn-info.focus {
	outline: 0;
}
.btn-secondary {
	background-color: white;
	border-radius: 44px;
	font-size: 14px;
	font-weight: 700;
	line-height: 2.4rem;
	padding: 10px 24px;
}
.btn-secondary:hover {
	background-color: var(--coral);
	color: white;
}

.filters {
	margin-left: 0;
	margin-right: 2px;
	background-color: var(--gray-100);
	padding: 10px;
	border-radius: 10px;
	margin-bottom: 20px;
}
.filters .btn-group {
	gap: 10px;
}
.filters .caret {
	border: 0;
	width: 18px;
	background: var(--gray-100);
	border: 1px solid var(--gray-200);
	height: 18px;
	border-radius: 5px;
}

.filters .open .caret {
	background: var(--coral);
}
.filters .caret::before {
	content: "\f107";
	font: normal normal normal 14px / 1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
	transform: rotate(0deg);
	-webkit-transition: -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
	transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.filters .open .caret::before {
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
	color: white;
}

.filters .filter-content {
  width: auto;
  position: relative;
  margin-right: 2px;
  padding: 0 1px 0;
}
.filters .filter-parameters .dropdown {
  float: none;
  z-index: 100;
  position: absolute;
  width: 100%;
  height: 0;
  overflow: hidden;
  -webkit-transition: height 700ms;
  -moz-transition: height 700ms;
}
.filters .dropdown-menu,
.filters .open > .dropdown {
	left: 72px;
	width: 42%;
	margin: 0;
	padding: 0;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--gray-200);
	background-color: white;
	font-size: 14px;
	overflow-y: auto;
	max-height: 300px;
}
.filters .open > .dropdown {
	left: 0;
	width: 100%;
}
.filters .btn-default {
  border-radius: 8px;
  color: var(--primary);
  border: none;
  margin-right: 2px;
  text-transform: uppercase;
  font-weight: 700;
  background-color: transform;
  float: none;
  text-align: left;
  width: 100%;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.filters .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  color: var(--primary);
  background-color: white;
  text-align: center;
	width: auto;
}
.filters .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle):hover {
  border: 1px solid var(--coral);
}
.filters .btn-group > .btn:last-child:not(:first-child) {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}
.filters .btn-default {
  border-radius: 8px;
  color: var(--primary);
  border: none;
  margin-right: 2px;
  text-transform: capitalize;
  font-weight: 600;
  background-color: transform;
  float: none;
  text-align: left;
  width: 100%;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.filters .open > .dropdown-menu > li > a,
.filters .open > .dropdown li a {
  color: var(--primary);
  display: block;
  width: 100%;
  text-decoration: none;
  padding: 6px;
  transition: all 0s linear 0s;
  line-height: normal;
  font-weight: 600;
}
.filters .open > .dropdown-menu > li.active > a {
	background-color: var(--primary);
	color: white;
}
.filters .open > .dropdown-menu > li > a:hover,
.filters .open > .dropdown li a:hover {
  background-color: var(--primary);
	color: white;
}
.filters .open > .dropdown-menu > li:hover a {
  color: white;
}
.filters .btn-group > .events-filter > .btn-default.dropdown {
  width: 52px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.filters .btn-group > .events-filter > .btn-default {
	width: calc(100% - 52px);
}
.filters .btn-default.active {
  box-shadow: none;
  background-color: white;
	border: 1px solid var(--primary);
  color: var(--primary);
}
.video h3 {
  text-align: left;
}
.video .views-field-body {
  text-align: left;
}
.video .field--name-field-video-link,
.video .views-field-field-video-link {
  border-radius: 15px;
  overflow: hidden;
}
.videos .field p {
  text-align: left;
}
.video .views-field-field-video-link a:after,
.video .field--name-field-video-link a:after {
	background: url("../img/play.png") no-repeat center;
	background-size: auto 100%;
	width: auto;
	height: 41.66%;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	content: "";
	opacity: 0.7;
	transition: opacity .2s ease;
}
.video:hover .views-field-field-video-link a:after,
.video:hover .field--name-field-video-link a:after {
  filter: brightness(0) saturate(100%) invert(47%) sepia(33%) saturate(1322%) hue-rotate(313deg) brightness(123%) contrast(113%);
  background-size: auto 100%;
  opacity: 1;
  transition: opacity .5s ease;
}
.videos h3,
.video h3,
.partners .partners-tiles h3,
.view-shows .shows-flex h3 {
	text-align: left;
	margin-top: 15px;
}

.view-shows .shows-flex h3 {
	margin-top: 15px;
	margin-bottom: 0;
}

/* Pagination */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  margin-top: 30px;
  margin-bottom: 0;
}
.pagination li:first-letter{
    text-transform: uppercase;
}
.pagination > li {
	display: inline-block;
	padding: 0;
	margin: 0;
	font-size: 14px;
	text-transform: capitalize;
}
.pagination > li {
  font-weight: 600;
  padding: 0px 5px;
}
.pagination > li.pager__item--first,
.pagination > li.pager__item--next,
.pagination > li.pager__item--previous,
.pagination > li.pager__item--last{
	width: auto;
	margin: 0 14px;
	position: relative;
}
.pager-nav span{
	display: inline-block;
}
.pagination > li > a::first-letter,
.pagination > li > span::first-letter{
	text-transform: uppercase;
}
.pagination > li.pager__item--previous a:before{
	font-size: 16px;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	content: "‹";
	display: inline-block;
	padding-left:3px;
	color: var(--primary);
}
.pagination > li.pager__item--next a:after{
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	content: "›";
	display: inline-block;
	padding-left:3px;
	color: var(--primary);
}
.pagination > li.pager__item--previous a:hover,
.pagination > li.pager__item--next a:hover,
.pagination > li.pager__item--previous a:hover:before,
.pagination > li.pager__item--next a:hover:after{
	color: var(--primary_hover);
}
.pagination > li > a,
.pagination > li > span{
	position: relative;
	float: none;
	color: var(--primary);
	text-decoration: none;
	background-color: transparent;
	border: none;
	margin: 0;
	padding: 0;
	display: block;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span{
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	margin: 0;
	padding: 0;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span{
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	margin: 0;
	padding: 0;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus{
	z-index: 3;
	color: var(--primary);
	cursor: default;
	background-color: transparent;
	margin: 0;
	padding: 0;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	position: relative;
	bottom: 3px;
}
.pagination > .active > a {
  outline: none;
}
.pagination > li > a:focus {
	outline: 2px solid var(--pagi-focus);
	outline-offset: 2px;
	border-radius: 5px;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus{
	z-index: 2;
	color: var(--primary_hover);
	background-color: transparent;
}

/* Forms */

.views-exposed-form .form-inline .form-group {
	display: block;
}
.views-exposed-form .form-inline .form-control {
	width: 100%;
}
.form-control {
	border-radius: 6px; /* Override Boostrap. */
}
.form-control:focus {
	box-shadow: none;
  border-color: var(--primary);
}
.form-group .form-control {
	margin-bottom: 18px;
}
.form-group .control-label,
.form-inline .form-group {
	font-weight: 600;
	color: var(--primary);
}
.form-inline .control-label {
	margin-bottom: 8px;
	display: block;
}

input[type="date"].form-control,
input[type="time"].form-control,
input[type="datetime-local"].form-control,
input[type="month"].form-control,
input.form-control{
	height: 40px;
	line-height: 40px;
	border: 1px solid var(--gray-200);
	background: white;
	padding: 0 10px;
	box-shadow: none;
	font-size: 14px;
}
input[type="date"].form-control,
input[type="time"].form-control{
	width: 150px;
}
textarea.form-control{
	line-height: 26px;
	border: 1px solid var(--gray-200);
	background: white;
	padding: 15px 20px;
	box-shadow: none;
	font-size: 14px;
}
.form-type-textarea{
	margin-bottom: 30px;
}
input[type="date"].form-control:hover,
input[type="time"].form-control:hover,
input[type="datetime-local"].form-control:hover,
input[type="month"].form-control:hover,
input.form-control:hover,
textarea.form-control:hover,
input[type="date"].form-control:active,
input[type="time"].form-control:active,
input[type="datetime-local"].form-control:active,
input[type="month"].form-control:active,
input.form-control:active,
textarea.form-control:active{
	border: 1px solid var(--primary_hover);
}
textarea.form-control:hover,
textarea.form-control:active{
	border: 1px solid var(--primary_hover);
}

select.form-control{
	height: 40px;
	background: var(--gray-100);
	font-family: var(--font-family-primary);
	font-size: 14px;
	border: none;
	box-shadow: none;
}

/* Partners */
.partners.flex-parent,
.homepage-videos .video-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-gap: 30px;
}
.homepage-videos .video-list {
	grid-gap: 50px 30px;
}
.homepage-videos .video-list h6 a {
	line-height: 26px;
	color: var(--bodyclr);
}

.modal.in .modal-dialog {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	margin: 0 auto;
}

.modal-content {
	width: 100%;
}

@media (max-width: 992px) {
	body {
		font-size: 14px;
	}
	h1 {
		font-size: 32px;
		line-height: 36px;
	}
	h2 {
		font-size: 26px;
		line-height: 32px;
	}
	h3 {
		font-size: 18px;
	}
	h4 {
		font-size: 14px;
	}
	.filters .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
		margin: 0;
	}
	.filters .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
		border-radius: 0;
    margin: 2px 0 2px 0;
	}
	.filters .filter-parameters .dropdown {
		position: relative;
		margin: 0;
	}
	.filters .caret::before {
		color: var(--primary);
	}
}

@media (max-width: 767px) {
  .filters .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle):hover {
    border: 0;
  }
}
