
/*
  This CSS file describes the official Cogeco Font for the entire Website.
  TODO: Content: Glitter 10px instead of bootstrap 15px
  TODO: Links: Theming CTA Missing, because of no CTA Link in the website
  TODO: Footer: ADD Missing links
  TODO: Footer: Adding Dropdown In Mobile
*/
/*DEV*/
/*hide conxtual links on blocks*/
.contextual .trigger{
    display: none;
}

/* ************************************************************** */
/* ********************** GENERAL THEMING ************************/
/* ************************************************************** */

@font-face {
    font-family: 'CogecoSans-light';
    font-style: normal;
    font-weight: normal;
    src:  url('../fonts/cogeco-sans/cogecosans-light.eot'); /* IE9 Compat Modes */
    src:  url('../fonts/cogeco-sans/cogecosans-light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/cogeco-sans/cogecosans-light.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/cogeco-sans/cogecosans-light.woff') format('woff'), /* Pretty Modern Browsers */
    url('../fonts/cogeco-sans/cogecosans-light.ttf')  format('truetype'), /* Safari, Android, iOS */
    url('../fonts/cogeco-sans/cogecosans-light.svg#cogeco_sanslight') format('svg'); /* Legacy iOS */
}
@font-face {
    font-family: 'CogecoSans-regular';
    font-style: normal;
    font-weight: normal;
    src:  url('../fonts/cogeco-sans/cogecosans-regular.eot'); /* IE9 Compat Modes */
    src:  url('../fonts/cogeco-sans/cogecosans-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/cogeco-sans/cogecosans-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/cogeco-sans/cogecosans-regular.woff') format('woff'), /* Pretty Modern Browsers */
    url('../fonts/cogeco-sans/cogecosans-regular.ttf')  format('truetype'), /* Safari, Android, iOS */
    url('../fonts/cogeco-sans/cogecosans-regular.svg#cogeco_sansregular') format('svg'); /* Legacy iOS */
}
@font-face {
    font-family: 'CogecoSans-bold';
    font-style: normal;
    font-weight: normal;
    src:  url('../fonts/cogeco-sans/cogecosans-bold.eot'); /* IE9 Compat Modes */
    src:  url('../fonts/cogeco-sans/cogecosans-bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/cogeco-sans/cogecosans-bold.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/cogeco-sans/cogecosans-bold.woff') format('woff'), /* Pretty Modern Browsers */
    url('../fonts/cogeco-sans/cogecosans-bold.ttf')  format('truetype'), /* Safari, Android, iOS */
    url('../fonts/cogeco-sans/cogecosans-bold.svg#cogeco_sansbold') format('svg'); /* Legacy iOS */
}

aside {
    margin-top: 50px;
}
.sm-button{
    margin: 0;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-family: 'CogecoSans-bold';
    background: #fff;
    color: #E57100;
    font-size: 14px;
    text-transform: capitalize;
    padding: 2px 15px;
    display: inline-block;
}
.sm-button:hover{
    background: #fff;
    color: #077DBA;
}
.lg-button{
    margin: 0;
    padding: 2px 15px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-family: 'CogecoSans-bold';
    background: #009AD2;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    display: inline-block;
}
.lg-button:hover{
    background: #077DBA;
    color: #fff;
}

input[type="date"].form-control,
input[type="time"].form-control{
    width: 150px;
}
.form-type-textarea{
    margin-bottom: 30px;
}

select.form-control{
    height: 40px;
    background: #DDF3FD;
    font-family: 'CogecoSans-regular';
    font-size: 14px;
    color: #3F4553;
    border: none;
    box-shadow: none;
}
.panel-danger .form-control,
.error .form-control,
.has-error .form-control{
    border: 2px solid #E57100 !important;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
}
.panel-danger > .panel-heading,
.alert,
.alert-danger{
    color: #E57100;
    background-color: #fff;
    border-color: #E57100;
    margin-top:20px;
}
.radio,
.checkbox{
    display: inline-block;
}
#edit-field-communities .radio,
#edit-field-communities .checkbox{
    min-width: 270px;
}

.seo-hidden{
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
}

/* Cogeco Checkbox */
.option > span.title-element{
    font-size: 14px;
    line-height: 23px;
    margin-left:3px;
}
.cogecoCheckbox {
    width: 20px;
    height: 20px;
    position: relative;
    margin: 0 auto;
    display: inline-block;
    vertical-align: top;
}
.cogecoCheckbox label {
    width: 20px;
    height: 20px;
    cursor: pointer;
    position: absolute;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    background: #DDF3FD;
    border: 1px solid #077DBA;
    display: inline-block;
}
.cogecoCheckbox label:after {
    content: '';
    width: 11px;
    height: 7px;
    position: absolute;
    top: 4px;
    left: 4px;
    border: 3px solid #077DBA;
    border-top: none;
    border-right: none;
    background: transparent;
    opacity: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.cogecoCheckbox label:hover::after {
    opacity: 0.3;
}
.cogecoCheckbox input[type=checkbox] {
    visibility: hidden;
}
.cogecoCheckbox input[type=checkbox]:checked + label:after {
    opacity: 1;
}

/* Cogeco Radio */
.cogecoRadio {
    width: 20px;
    height: 20px;
    position: relative;
    margin: 0 auto;
    padding: 0;
    display: inline-block;
    background: #DDF3FD;
    border-radius: 50%;
}
.cogecoRadio label {
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 0;
    background: #DDF3FD;
    border-radius: 50%;
    border: 1px solid #077DBA;
}
.cogecoRadio label:after {
    content: '';
    width: 8px;
    height: 8px;
    position: absolute;
    top: 5px;
    left: 5px;
    background: #077DBA;
    opacity: 0;
    border-radius: 50%;
}
.cogecoRadio label:hover::after {
    opacity: 0.3;
}
.cogecoRadio input[type=radio] {
    visibility: hidden;
}
.cogecoRadio input[type=radio]:checked + label:after {
    opacity: 1;
}

.form-type-select .control-label{
    display: block;
}

.cogecoSelect{
    display: inline-block;
    position: relative;
    background-color: var(--gray-100);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    margin-bottom: 30px;
    width: 350px;
}
.cogecoSelect:after{
    content: "\f0d7";
    font-family: 'FontAwesome';
    font-size: 22px;
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 5;
    color: var(--primary_hover);
    pointer-events: none;
}
.form-select,
select {
    padding: 0 32px 0 15px;
    -webkit-appearance: none;
    -ms-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid var(--gray-100);
    background-color: transparent;
    position: relative;
    cursor: pointer;
    z-index: 10;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    margin: 0;
    width: 100%;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    font-weight: normal;
}
.contact-us a {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 1px;
}
.contact-us a:hover {
  text-decoration-color: var(--coral);
}
.contact-us h2 {
    margin-bottom: 40px;
}
.contact-us h3{
    margin-top: 0px;
}
.contact-us .contact-commuity {
    padding-bottom: 60px;
}
.contact-us .contact-commuity p {
    line-height: 16px;
}

/* ************************************************************** */
/* ********************** HEADER THEMING ************************/
/* ************************************************************** */


.top-header-fluid{
    background: var(--primary);
}
.top-header{
    font-family: var(--font-family-primary);
    font-weight: 600;
    color: #fff;
}
.top-header a,
.top-header a:active {
    color: #fff;
    font-weight: normal;
}
.top-header nav {
  height: 100%;
  display: flex;
  align-items: center;
}
.top-header .navbar {
  min-height: 0;
}
.top-header .navbar li {
  margin: 0;
}
.top-header .navbar li::after {
  position: absolute;
  color: #4d6291;
  line-height: 25px;
}
.top-header .navbar li a {
  line-height: normal;
  height: auto;
  opacity: .6;
  padding: 3px 10px;
  margin: 0 4px;
  font-weight: 600;
  font-size: 14px;
}
.top-header .navbar li a:hover {
  color: white;
  border-radius: 7px;
  opacity: 1;
  background-color: #4d6291;
}
.menulink-mobile{
  display: none;
}

.navbar{
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    margin:0;
    border: none;
}
.navbar-default{
    background: var(--gray-100);
}
.navbar-default .navbar-nav > li {
    padding-right:20px;
}
.navbar-default .navbar-nav > li > a {
    color: var(--primary);
    padding: 20px 15px 17px 15px;
    font-size: 18px;
    font-weight: 600;
     -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;
}
.navbar-default .navbar-nav > li:hover > a,
.navbar-default .navbar-nav > li:hover > a:hover {
    color: var(--primary);
    cursor: pointer;
    background: white;
}
.navbar-default .navbar-nav > li:hover > a:hover:after {
    background: #dadbde;
    bottom: -1px;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    width: 100%;
}
.navbar-default .navbar-nav li a.active:after{
  background: linear-gradient(270deg, #ff6d70, #001e62 75%, #001e62);
  bottom: -1px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 100%;
}
.navbar-default.open .nav {
    display: none;
}
.nav > li{
     display: inline-block;
 }
.nav > li.menulink-mobile{
    display: none;
}
.navbar-header{
    width: 100%;
}
header.container-fluid > .navbar-collapse {
    margin-right: -15px;
    margin-left: -15px;
}
.logo img{
    width: 200px;
    max-width: 100%;
}


#block-right-header ul li:first-child {
    text-indent: -4999px;
    background-image: url(../img/cogeco_header_logo.svg);
    background-repeat: no-repeat;
    width: 95px;
    background-position: 100% 50%;
}

#block-right-header ul li:first-child a:hover {;
    background-color: transparent;
}

/* Edit Search Block */
.block-cgtv-search-block {
    float: right;
    width: calc(100% - 140px);
}
.block-cgtv-search-block .button {
    display: none;
}
.block-cgtv-search-block .search-section {
    float: right;
    margin-right: 15px;
}
.block-cgtv-search-block .search-section .search-icon {
    font-size: 20px;
    color: var(--primary);
    line-height: 55px !important;
    cursor: pointer;
    padding-top: 2px;
}
.block-cgtv-search-block .search-section .search-icon:hover {
  color: var(--coral);
}
.block-cgtv-search-block .search-section .search-icon.fa-times:before,
.block-cgtv-search-block .search-section .search-icon.fa-search:before {
    margin-right: 15px;
}
.cogecotv-base-search {
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    margin: 0;
    width: calc(100% - 75px);
}
.cogecotv-base-search input {
    position: relative;
    z-index: 50;
    max-height: 0;
    margin-top: 10px;
    font-size: 18px;
    color: #3F4553;
    border: none;
    width: 100%;
    -webkit-transition: max-height 0.2s ease-in-out 0.1s;
    -moz-transition: max-height 0.2s ease-in-out 0.1s;
    transition: max-height 0.2s ease-in-out 0.1s;
}

.cogeco-video-headline-link {
  position: absolute;
  bottom: 65px;
  width: 75%;
  background: rgba(60,60,60,0.8);
  padding: 15px;
  border-radius: 0px 20px 20px 0px;
}
.cogeco-video-headline-link > span > a {
  font-family: var(--font-family-primary);
  color: white;
  font-size: 22px;
  line-height: 30px;
  margin-bottom: 10px;
}

.cogeco-featured-bar {
  position: absolute;
  top: 110px;
  background: rgba(60,60,60,0.8);
  padding: 15px;
  font-family: var(--font-family-primary);
  color: white;
  font-size: 22px;
  line-height: 30px;
  margin-bottom: 10px;
  z-index: 50;
  border-radius: 0px 20px 20px 0px;
  font-weight: 600;
}

#block-cogecotvsearchblock form{
    margin-top: 0;
}
#block-cogecotvsearchblock .form-item.js-form-item.form-type-textfield.js-form-type-textfield.form-item-keywords.js-form-item-keywords.form-no-label.form-group{
    width: 98%;
}
#cogecotv-base-search input.open {
    max-height: 200px;
}
#block-header-links {
    display: block;
    text-align: right;
    font-family: var(--font-family-primary);
    z-index: 1;
}
#block-header-links .nav > li > a{
    position: relative;
    display: inline-block;
    padding: 0;
    margin: 10px 0px 0 0px;
    background: none;
    color: var(--primary);
    font-weight: 500;
    white-space: nowrap;
}
#block-header-links .nav > li > a:hover{
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--coral);
    text-underline-offset: 5px;
    background: none;
}
.weather{
    display: table;
    float: right;
    width: 100px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
}
.weather .city{
    color: var(--primary);
    padding: 0 20px;
    text-align: center;
    vertical-align: middle;
    height: 28px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.weather .info{
    background: var(--primary-gradient);
    color: #fff;
    padding: 10px 7px 6px 7px;
    font-size: 18px;
    position: relative;
    display: flex;
}
.weather .info .icon{
    font-size: 24px;
}
.weather .info i,
.weather .info p{
    display: inline-block;
    vertical-align: top;
    margin: auto;
    min-height: 26px;
}
.weather .info .temperature{
    font-family: "Helvetica Neue", "Helvetica", sans-Serif;
}
.main-container{
    margin-bottom: 0;
}
.community-selection{
    color: #3F4553;
}
.community-channel{
    font-size: 20px;
    margin-top: 3px;
}
.community-channel a {
    color: var(--primary);
    background: url(../img/lang-arrow.svg) no-repeat 100% 40%;
    background-size: 12px 7px;
    overflow-wrap: break-word;
    display: table;
    padding-right: 20px;
    font-family: var(--font-family-primary);
    font-weight: 600;
    background-position: right;
}
.community-channel a:hover {
  text-decoration: none;
}

.page-header{
    padding: 45px 0 20px;
    margin: 0;
    border: none;
}
.page-description{
    color: #3F4553;
    font-size: 20px;
    margin-bottom: 35px;
}
.navbar-collapse .container{
    position: relative;
}

.navbar-collapse #block-socialmediablock{
    float: right;
}

.navbar-collapse #block-socialmediablock a,
.navbar-collapse #block-socialmediablock a:hover,
.navbar-collapse #block-socialmediablock a:active,
.navbar-collapse #block-socialmediablock a:focus{
    color: var(--primary);
    text-decoration: none;
    margin: 0;
    padding: 0 8px;
    display: inline-block;
    height: 55px;
    line-height: 57px;
}
.navbar-collapse #block-socialmediablock a img:hover {
  filter: brightness(0) saturate(100%) invert(55%) sepia(28%) saturate(5346%) hue-rotate(320deg) brightness(105%) contrast(100%);;
}
.navbar-collapse #block-socialmediablock .fa {
    font-size: 20px;
    color: var(--primary);
    vertical-align: middle;
}
.navbar-collapse #block-socialmediablock .fa:hover {
  color: var(--coral);
}
.navbar-collapse .block-cgtv-search-block {
    display: block;
}
.top-header-fluid .block-cgtv-search-block {
    display: none;
}
#block-top-header{
    float: left;
    vertical-align:top;
}
#block-right-header{
    float: right;
    vertical-align:top;
    height: 40px;
    max-height: 40px;
}
#block-right-header .nav li:nth-child(2):after{
    content: '|';
}
#block-right-header .nav > li:nth-child(2) > a{
    display: inline-block;
    margin-right: 3px;
}
.logo-cogeco-header img {
    width: 95px;
}

.region-header-first .navbar-btn{
    margin: 0;
}

/* Modal - Community selector */
.modal-header{
    border-bottom: 0;
    padding: 30px 20px;
}
.modal-header h1 {
    color: #3F4553;
    font-size: 24px;
    line-height: 30px;
}
.modal-body {
    padding: 0 20px 20px;
}
.modal-communities {
    display: inline-block;
    vertical-align: top;
    width: 49%;
}
.modal-communities h2 {
    font-size: 18px;
    margin-top: 0;
    line-height: 30px;
}
.modal-communities a {
    font-size: 14px;
    display: block;
    line-height: 30px
}
.modal-communities a:hover{
    text-decoration: underline;
}
.modal-content {
    border-radius: 0;
    border: solid 5px var(--primary);
    box-shadow: none;
}
.modal-content .close {
    position: absolute;
    top: 22px;
    right: 20px;
    opacity: 1;
}
.modal-content .close .fa {
    color: var(--primary);
}
.ui-widget-overlay {
    opacity: 0.5;
    background-color: #000;
}
section#block-communityblock{
    margin-top: 10px;
    margin-left: 20px;
}


/* ************************************************************** */
/* ********************** PAGE LAYOUT THEMING *********************/
/* ************************************************************** */
.modal-content{
    margin: 0 auto;
}
.cs-page{
    margin-top: 0px;
}
.cs-page-viewport {
    min-height: calc(85vh - 64px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.cs-content{
    display: -webkit-flex;
    display: flex;
    width: 100%;
}
.quebec,
.ontario-right {
  margin:0px 10px 10px 10px;
  max-width: 330px;
  display: inline-block;
  flex-grow: 1;
  margin-right: auto;
}
.quebec a,
.ontario-right a{
    text-align: right;
    display: block;
    margin-bottom: 18px;
}
.quebec .cs-title,
.ontario-right .cs-title{
    text-align: right;
}
.ontario{
    margin:0px 10px 10px 10px;
    max-width: 330px;
    display: inline-block;
    flex-grow: 1;
    margin-left: auto;
}
.ontario a {
    text-align: left;
    display: block;
    margin-bottom: 18px;
}
.ontario a:focus {
    text-decoration-color: var(--coral);
    text-underline-offset: 5px;
    text-decoration: underline;
}
.cs-subtitle{
  font-size: 22px;
  margin-bottom: 0;
  margin-top: 50px;
}
.quebec .cs-subtitle,
.ontario-right .cs-subtitle{
    text-align: right;
}
.cs-logos{
    padding-left: 0;
    padding-right: 0;
}
.cs-logos .col-md-12,
.cs-logos .col-xs-12{
  padding-left: 0;
  padding-right: 0;
}
.cs-logos img{
    max-width: 230px;
}
.cs-logos.cogeco-logo {
  margin-top: 0px;
}
.community-svg{
    padding-top: 0;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}
.community-svg img{
    max-width: 420px;
    width: 250px;
}
.community-svg.mobile {
    display: none;
}

.back-to-top {
    margin-top: 30px;
}
.back-to-top a{
    text-decoration: none;
    display: flex;
    align-items: center;
    place-self: flex-start;
    gap: 5px;
}
.back-to-top a p{
    color: #3F4553;
    display: inline-block;
    vertical-align: middle;
    font-family: var(--font-family-primary);
    font-size: 14px;
    margin-left: 5px;
    font-weight: 600;
    margin-bottom: 0;
}
.back-to-top a .fa{
    color: var(--primary);
    font-size: 36px;
    display: inline-block;
    vertical-align: middle;
    font-weight: 600;
    transition: all 0.2s linear 0s;
}
.back-to-top a:hover .fa {
    color: var(--coral) !important;
}
.back-to-top a:hover .fa{
    color: var(--primary_hover);
}
.back-to-top p:hover {
    color: var(--primary_hover);
}


/* ************************************************************** */
/* ********************** CONTENT THEMING ************************/
/* ************************************************************** */

/**
* Headline Component - Home page
*/
.headline {
    position: relative;
    min-height: 500px;
    background: var(--primary-gradient);
    margin: 0 auto;
}
.headline h1,
.headline h3 {
    color: white;
}
.headline h3 {
    font-weight: 500;
}
.headline .bg-image {
    position: absolute;
    height: 100%;
    width: 60%;
    background-size: cover;
    background-position: top;
    clip-path: polygon(0 0, 100% 0, 89% 100%, 0% 100%);
    background-repeat: no-repeat;
}
.headline .bg-blue {
    position: absolute;
    right: 0;
    height: 100%;
    width: 40%;
}
.headline .triangle-desktop {
    position: absolute;
    top: 0;
    right: 40%;
    width: 50%;
    height: 100%;
    margin-right: -1px;
    display: none !important;
}
.headline .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    min-height: 500px;
}
.headline .container .image {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 75%;
    flex: 1 1 75%;
}
.headline .image .wrapper-white {
    position: absolute;
    bottom: 20px;
    width: 75%;
    background: rgba(255,255,255,0.75);
    padding: 15px;
    border-radius: 20px;
}
.headline .image .wrapper-white p {
    line-height: 30px;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 24px;
}
.headline .whatson {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 40%;
    flex: 1 1 40%;
}
.headline .whatson-list {
    display: inline-block;
    color: #fff;
    padding: 60px 0 60px 30px;
}
.headline .whatson-list dl {
    margin: 40px 0;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-gap: 20px 60px;
    text-align: left;
    font-weight: 600;
}
.headline .whatson .list a:visited,
.headline .whatson .list a:link {
    color: #fff;
}
.headline .whatson-list .button-schedule{
    margin-top: 20px;
}
.headline .whatson-list .button-schedule{
    margin-top: 20px;
}

.cta-content h3 {
    margin: 0;
}

.cta-content {
    background-repeat: no-repeat;
    background-position: center;
    background-color: lightgrey;
    background-size: cover;
    padding: 10px;
    height: 150px;
}

.cta-link {
    position: absolute;
    bottom: 0;
    padding-bottom: 10px;
}
.cta .description{
    margin-bottom: 25px;
}

span.inline-collapse.in {
    display: inline;
}
.paragraph{
    margin-top: 15px;
    margin-bottom: 20px;
    display: table;
}
.paragraph .image{
    padding-bottom:10px;
    padding-left: 0 !important;
}
.dropbutton-widget ul {
    list-style-type: none;
}
.dropbutton-widget li {
    padding-bottom: 15px;
}

#edit-field-communities-wrapper{
    margin-top: 20px;
}
.highlight-image{
    padding: 0 15px;
    margin-bottom:35px;
}
.schedule-wrapper{
    position: relative;
    margin-top: 15px;
}
.page-node-type-tv-show .tune-in {
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 32px;
}
.page-node-type-tv-show #block-tunein .episode {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 15px;
}
.page-node-type-tv-show #block-tunein .link a {
    color: #fff;
    font-weight: 700;
}
.page-node-type-tv-show #block-tunein p.time-fr::first-letter{
    text-transform: uppercase;
}
.page-node-type-tv-show #block-tunein p.time-fr{
    text-transform: lowercase;
}
.tv_show_page .view-content {
    text-align: center;
}
.tv_show_page .tv-show-view-summary {
    overflow: hidden;
    -webkit-transition: max-height 2s ease-in-out;
    -moz-transition: max-height 2s ease-in-out;
    transition: max-height 2s ease-in-out;
}
.tv_show_page .tv-show-view-summary p {
    display: inline-block;
    vertical-align: top;
}
.tv_show_page .tv-show-view-summary .full-text {
    display: none;
}
.tv_show_page .tv-show-view-summary.open {
    max-height: 5000px;
}
.tv_show_page .tv-show-view-summary.open .full-text {
    display: inline;
}
.tv_show_page .tv-show-view-summary.open .tv-show-view-summary-expand {
    display: none;
}
.tv_show_page .tv-show-view-summary-expand {
    display: inline-block;
    vertical-align: top;
    margin-left: 5px;
    font-weight: 700;
}
.tv_show_schedule .error-ws {
    text-align: center;
    color: #e57100;
    font-weight: 700;
    font-size: 24px;
    padding: 20px;
    border: solid 1px #e57100;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    margin-bottom: 30px;
}
.tv_show_schedule .show_title {
    color: #3f4553;
    font-size: 30px;
    margin-bottom: 30px;
}
.tv_show_schedule .item {
    border-bottom: 1px solid black;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.tv_show_schedule .weekday {
    background-color: #077dba;
    padding: 12px;
    color: white;
    font-weight: 700;
}
.tv_show_schedule .time {
    background-color: #BBE8FB;
    width: 15%;
    min-width: 55px;
    padding: 30px 12px 12px;
    font-size: 18px;
    text-align: right;
}
.tv_show_schedule .description {
    padding: 30px 12px;
    width: 85%;
}

/**
* Community Forms
**/
fieldset {
    margin-bottom: 50px;
}
fieldset legend {
    border-bottom: none;
    font-size: 30px;
}
fieldset .description {
    margin-bottom: 10px;
}
fieldset fieldset {
    margin-bottom: 20px;
}
.form-group > .form-item {
    margin-top: 20px;
}
.form-item.js-form-item.form-type-select.js-form-type-select.form-no-label.form-group {
    margin: 0;
}
.form-group > .form-item .form-type-checkbox {
    margin-top: 0;
}
.fieldgroup legend,
.form-item-message label,
.form-group > .form-item label,
.form-group > .form-item .field-label,
.form-group .table-striped .control-label,
.form-group .control-label {
    font-size: 18px;
    margin-bottom: 10px;
}
.fieldgroup legend,
.form-item-message label,
.form-group > .form-item .field-label,
.form-group .table-striped .control-label,
.form-group .control-label {
    margin-top: 10px;
}
.form-group table {
    margin-bottom: 0;
}
.form-group .table-striped > thead > tr > th {
    border: none;
}
.form-group .table-striped > tbody > tr {
    display: block;
    margin-bottom: 10px;
}

.form-group .table-striped > tbody > tr.draggable {
    display: flex;
    align-items: center;
}

.tabledrag-handle {
    float: none;
}

tr.draggable td:has(.input-group) {
    flex-grow: 1;
}

span.tabledrag-changed {
    margin-right: 12px;
}

.form-group .table-striped > tbody > tr:hover {
    background-color: transparent;
}
.form-group .table-striped > tbody > tr.odd{
    background-color: transparent;
}
.form-group .table-striped > tbody > tr > td {
    padding: 0;
    border: none;
    display: block;
}
.form-group .datetime {
    display: inline-block;
    margin-right: 30px;
}
.form-group#edit-field-posting-date-wrapper .datetime .form-type-date,
.form-group#edit-field-posting-date-wrapper .datetime input {
    width: 100%;
}
.form-group .form-item .form-tel {
    display: block;
}
.field--type-telephone,
.field--name-field-ext {
    display: inline-block;
    vertical-align: top;
}
.form-required::after {
    margin-left: 5px;
}
.form-group .field-add-more-submit,
.form-actions .btn-group .btn {
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
    padding: 5px 15px;
    background-color: #009AD2;
    border-radius: 0;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.form-group .field-add-more-submit:hover,
.form-group .field-add-more-submit:focus,
.form-actions .btn-group .btn:hover,
.form-actions .btn-group .btn:focus {
    background-color: #077DBA;
}
.form-group {
    vertical-align: top;
}
.field-group-title{
    font-size: 30px;
    line-height: 30px;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-left: 0;
    font-weight: bold;
}
.field-group-description{
    margin-bottom: 20px;
}
.help-block{
    font-weight: normal;
}
.node-community-event-edit-form .form-group > .form-item,
.node-community-event-form .form-group > .form-item{
    border-bottom: none;
}
.field--name-field-posting-date{
    margin-top: 20px;
}
.captcha{
    margin-top: 20px;
    margin-bottom: 20px;
}
.captcha .help-block,
.captcha .g-recaptcha {
    padding: 10px 15px;
}
.toggle-online-posting{
    margin-top: 50px;
    font-size: 21px;
}
.toggle-online-posting a {
    font-size: 21px;
}


/**
* Videos
**/
.video-date-share {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 10px;
}
.video-date-share p {
    margin: 0;
}
.search-result-display .video{
    margin-top: 0;
}

.video .views-field-field-video-link a,
.video .field--name-field-video-link a {
    display: table;
    position: relative
}
.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.9;
}

.addtoany_list .share-word {
    margin-right: 15px;
    font-weight: 600;
}
.addtoany_list a {
    padding: 0 10px;
    vertical-align: top;
    font-size: 18px;
}
.addtoany_list .fa {
    color: #3F4553;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
}
.addtoany_list a:hover .fa-facebook,
.addtoany_list a:focus .fa-facebook {
    color: #8b9dc3;
}

.addtoany_list a:hover .fa-twitter,
.addtoany_list a:focus .fa-twitter {
    color: #1da1f2;
}
.page-field-tv-show {
    margin-top: 50px;
    font-size: 18px;
}
.page-field-tv-show a {
    color: #3f4553;
}
.page-field-tv-show + .page-header {
    padding-top: 5px;
}
.article .content .addtoany_list {
    text-align: right;
    display: block;
    margin-top: -25px;
    margin-bottom: 10px;
}
.article .author {
    margin-top: 20px;
}
.article .author .separator {
    margin: 0 10px;
}
.article .field--item,
.volunteers .field--item {
    margin-bottom: 30px;
}
.article .highlight-image,
.volunteers .highlight-image {
    padding: 0;
}
.article .paragraph,
.volunteers .paragraph {
    display: block;
}
.article .paragraph:before,
.article .paragraph:after,
.volunteers .paragraph:before,
.volunteers .paragraph:after {
    content: "";
    display: table;
}
.article .paragraph:after,
.volunteers .paragraph:after {
    clear: both;
}
.article .paragraph .image.pull-right,
.volunteers .paragraph .image.pull-right{
    padding-right: 0;
}
.article .paragraph .image.pull-left,
.volunteers .paragraph .image.pull-left {
    padding-left: 0;
}
.article .paragraph .text,
.volunteers .paragraph .text {
    padding: 0;
}
.article .field--name-field-caption,
.volunteers .field--name-field-caption {
    margin-top: 20px;
    text-align: center;
}
.view-empty,
.page-not-created{
    margin: 35px 0 35px 0;
}


.search-result-images {
    display: inline-block;
    vertical-align: top;
    width: 220px;
    height:125px;
}
.search-result-images img {
    width: 220px;
    height:125px;
}
.search-result-bloc-text {
    display: inline-block;
    vertical-align: top;
    max-width: 600px;
    margin-left:20px;
}
.search-result-images .highlight-image{
    padding:0;
}
.node--view-mode-search-result{
    margin-bottom: 20px;
}
.search-result-display{
    padding-left:0 !important;
    margin-top: 25px;
}


/* Partners */
.partners .flex-child {
    margin: 0;
}
.bloc-links{
    padding: 20px 20px 20px 0;
}

.block-thumbs{
    min-height: 320px;
}

/* Host page */
.host {
    margin-top: 15px;
}

.host .content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.host .content .field--name-field-image {
    width: calc(25% - 20px);
    margin-bottom: 30px;
    margin-right: 20px;
}
.host .content .field--name-body {
    width: 75%;
}
.flatpickr-clear {
    padding-left: 10px;
}
.field-multiple-table tr:nth-child(n+2) .datetime label{
    display: none;
}
/**
 * Tags on content page
 */

article .field--name-field-tags {
    padding: 0;
}

article .field--name-field-tags .field--item {
    display: inline-block;
    padding: 0 2em 0 0;
}
.user-logged-in .label{
    color: #000;
}
.thankyou-page{
    margin-top: 25px;
}

.maintenance-page .wrapper {
    margin-top: 6px;
}
.maintenance-page .content {
    padding: 10px;
    text-align: center;
}
.maintenance-page p{
    color: #444;
    font: 26px 'Trebuchet MS', Verdana, Tahoma;
    font-weight: bold;
    padding: 15PX;
}
.maintenance-page img {
    max-width: 255px;
}

/* ************************************************************** */
/* ********************** VIEWS THEMING ***************************/
/* ************************************************************** */
.hide{
    display: none;
}
.view-headlines{
    padding: 0;
}
.host-details {
    margin-top: 40px;
}
.host-details .host-image{
    margin: 0 20px 10px 0;
}
.host-details .author-profile .host-by,
.host-details .author-profile .author-name a{
    color: #3f4553;
    font-size: 24px;
    line-height: 30px;
}
.host-details .author-profile .description {
    margin-top: 10px;
}
.host-details .author-profile .link {
    color: var(--primary_hover);
    font-weight: 700;
}
.host-details .views-field-field-image {
    display: inline-block;
    width: 33%;
}
.host-details .views-field-nothing {
    display: inline-block;
    width: 67%;
    vertical-align: top;
}
.tv_show_page .view-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 30px;
}
.view-shows .row-list,
.videos .video-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-gap: 30px 20px;
}
.view-shows .row-list .views-row .views-field-field-image,
.videos .video-list .video .field--type-video-embed-field,
.partners .flex-child .views-field-field-image,
.video .views-field-field-video-link {
	border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    max-height: 207px;
}
.view-shows .shows-flex .views-field img,
.homepage-videos .video-flex .field--name-field-video-link {
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s linear 0s;
  width: 100%;
}
.homepage-videos {
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: var(--gray-100);
}
.video-list .video-text .field--name-body p {
    margin-bottom: 0;
}
.homepage-videos .video h3 {
	margin-bottom: 0;
    margin-top: 0;
}
.homepage-videos .video h6 {
	margin-top: 5px;
    margin-bottom: 0;
}
.view-hosts{
    display: table;
}
.pager-nav{
    display: block;
    clear: both;
    background-color: var(--gray-100);
}
.shows-flex .views-field-title{
    text-align: center;
}

/* ************************************************************** */
/* ********************** FOOTER THEMING ***************************/
/* ************************************************************** */

.footer{
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    color: white;
    position: relative;
    padding: 35px 0 0 0;
    font-family: var(--font-family-primary);
}
.footer li {
    display: block;
    float: none;
}

.footer .block-title {
    color: #fff;
}

.footer .footer-links a{
    color: #fff;
    line-height: 27px;
}
.footer .footer-links a:hover{
    color: var(--primary);
}
.footer a{
    color: #fff;
}

.footer #block-socialmediablock-footer a img {
  margin-right: 5px;
  filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(20deg) brightness(116%) contrast(101%);
}
.footer #block-socialmediablock-footer a img:hover {
  filter: brightness(0) saturate(100%) invert(55%) sepia(28%) saturate(5346%) hue-rotate(320deg) brightness(105%) contrast(100%);
}

.footer #block-socialmediablock-footer a .fa {
    font-size: 22px;
    color: #fff;
    margin-right: 5px;

}
.footer #block-socialmediablock-footer a:hover .fa {
    color: var(--coral);
}
.footer-social-media [class^="ti-"],
.footer-social-media [class*=" ti-"]{
    font-size: 22px;
    margin-right:5px
}
.footer-image img{
    width: 100%;
}
.footer-section {
    padding-bottom: 20px;
}
.footer-section:before,
.footer-section:after {
    content: "";
    display: table;
}
.footer-section:after {
    clear: both;
}

.footer .nav > li > a {
    padding: 0;
    line-height: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: normal;
    font-size: 14px;
}
.footer .nav > li > a:hover {
    background-color: transparent;
    text-decoration: underline;
    text-decoration: underline;
    text-decoration-color: var(--coral);
    text-underline-offset: 5px;
}
.footer .nav > li > a:focus {
  background-color: transparent;
}

.copyright{
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    font-family: var(--font-family-primary);
    margin-top: auto;
}
.copyright .footer-copyright{
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.7);
    font-size: 14px;
}
.path-community-selection .copyright .footer-copyright{
    border: none;
    padding-top: 20px;
    padding-bottom: 20px;
}
/* ************************************************************** */
/* ********************** DEV THEMING ***************************/
/* ************************************************************** */
.tabs--primary{
    margin-top: 25px;
}
.tabs--primary li.active a,
.tabs--primary li.active a:active,
.tabs--primary li.active a:hover,
.tabs--primary li.active a:focus,
.tabs--primary > li > a:hover{
    color: #fff;
    background-color: #0c97ed;
}

#edit-field-status > div:nth-child(1) {
    display: none;
}
#user-login-form input{
    margin-bottom: 15px;
}
#user-login-form .form-actions{
    margin-top: 26px;
}

li.ui-menu-item .ui-state-active {
    color: #ffffff;
    text-decoration: none;
}

#block-community-navigation{
    position: absolute;
}
#block-header-links{
    float: left;
}
#user-login-form input{
    margin-bottom: 15px;
}
#user-login-form .form-actions{
    margin-top: 26px;
}

.top-header-fluid a{
    height: 40px;
    line-height: 42px;
    padding: 0 15px;
    position: relative;
}
.top-header-fluid a:hover{
    color: #525764;
}
.header-container {
    padding-top: 45px;
    padding-bottom: 40px;
}

.field--label-above {
    margin-bottom: 10px;
}

.header-container .header-second .navbar {
  display: grid;
  grid-auto-flow: column;
  gap: 30px;
}
.header-container .header-second .region-header-second {
  display: flex;
  justify-content: right;
}
.btn-wrapper {
    display: flex;
}
.field--name-field-description .field--name-field-image {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
}
.ui-widget.ui-widget-content {
    border: solid 5px var(--gray-300);
    box-shadow: none;
    border-radius: 15px;
    max-width: 600px;
    width: 100% !important;
    font-family: var(--font-family-primary);
}
.ui-widget-header {
    background-color: transparent;
    border: 0;
}
.ui-dialog .ui-dialog-title {
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
}
.ui-dialog .ui-dialog-content {
    padding-top: 0;
}
.ui-dialog .ui-dialog-titlebar {
    padding: 30px 20px;
}
.ui-widget.ui-widget-content .modal-communities {
    column-count: 2;
    width: 100%;
}
.ui-widget.ui-widget-content a {
    background-color: transparent;
    font-weight: 600;
    color: var(--primary);
    transition: all 0.2s linear 0s;
    word-wrap: break-word;
}
.ui-widget.ui-widget-content a:hover {
    text-decoration: underline;
    text-decoration-color: var(--coral);
    text-underline-offset: 5px;
    color: var(--primary_hover);
}
.ui-widget.ui-widget-content .ui-dialog-titlebar-close {
    background-color: transparent;
    border: 0;
}
.ui-widget.ui-widget-content .ui-dialog-titlebar-close:after {
    position: absolute;
    content: "×";
    font-size: 21px;
    top: -20px;
    left: 0;
    right: 15px;
    font-family: var(--font-family-primary);
}
.ui-widget.ui-widget-content .ui-dialog-titlebar-close:hover:after {
    color: var(--coral);
}
/* ************************************************************** */
/* ********************** RESPONSIVE DESIGN ***********************/
/* ************************************************************** */
@media screen and (max-width:1199px) {
    #views_slideshow_cycle_main_-community_page_carousel_block .img-responsive {
      width: 613px;
      height: 460px;
    }
    .headline .whatson {
      position: relative;
      -webkit-box-flex: 1;
      -ms-flex: 1 1 40%;
      flex: 1 0 30%;
      margin-left: 0;
      padding-left: 20px;
    }
    .headline .container .image {
        flex: 1 1 50%;
    }
    #block-header-links {
        text-align: left;
    }
    #block-header-links .nav > li > a{
        margin: 0 0 10px 0;
    }
    .navbar-default .navbar-nav > li{
        padding-right: 0;
    }
    .partners,
	.homepage-videos .video-list,
    .partners.flex-parent {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-gap: 30px 20px;
	}
    .filters .btn-group {
        gap: 2px;
    }
    /* .cs-page-viewport {
        height: calc(100vh - 134px);
    } */
}

@media screen and (max-width:992px) {
    .headline .container,
    .headline {
        min-height: auto;
    }
    #views_slideshow_cycle_main_-community_page_carousel_block .img-responsive {
      width: 800px;
      height: 460px;
    }
    #block-socialmediablock a {
      width: 20px;
    }
    .headline .whatson-list {
        padding: 40px 0;
    }
    .navbar-default .navbar-nav > li > a {
        padding-left: 10px;
        font-size: 15px;
        text-align: center;
    }
    .pushy-open-right .search-section, .pushy-open-right .search-section{
        /* display: none; */
    }
    .footer-section{
        display: flex;
    }
    .footer-image img{
        width: 30%;
        margin: 20px auto;
        display: block;
    }
    .headline-svg{
        display: none;
    }
    .error-ws{
        text-align: center;
    }
    .article .paragraph .image.pull-right,
    .volunteers .paragraph .image.pull-right {
        padding-left: 0;
    }
    .article .paragraph .image.pull-left,
    .volunteers .paragraph .image.pull-left {
        padding-right: 0;
    }
    .page-node-type-tv-show #block-tunein .error-ws {
        text-align: left;
    }
    .host-details .views-field-field-image {
        width: 25%;
    }
    .host-details .views-field-nothing {
        width: 75%;
    }
    .homepage-videos .video-flex{
        flex: 0 1 calc(100% / 2);
        -webkit-box-flex: 0;
        -ms-flex: 0 1 calc(100% / 2);
    }
    .headline .bg-image {
        width: 100%;
        height: 320px;
        position: relative;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        background-size: 100%;
    }
    .headline .bg-blue {
        width: 100%;
        height: 65%;
        bottom: 0;
    }
    .headline .triangle-mobile {
        fill: var(--primary);
        position: absolute;
        bottom: 65%;
        width: 100%;
        margin-bottom: -1px;
    }
    .headline .container {
        display: block;
    }
    .headline .image {
        min-height: auto;
    }
    #views_slideshow_cycle_main_-community_page_carousel_block .img-responsive {
      width: 100%;
      height: auto;
    }
    .headline .image .wrapper-white {
        bottom: 20px;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        transform: translateX(-50%);
    }
    .headline .whatson-list {
        padding-top: 30px;
        margin-left: 0;
        text-align: center;
        width: 100%;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        transform: translateX(0);
    }
    .headline .whatson{
        margin-top: 5%;
    }
    .logo img {
        width: 110px;
    }
    .headline .whatson {
        margin-left: 0;
        padding-left: 0px;
    }
    .widget-title {
        margin-bottom: 20px;
    }
    section#block-communityblock {
        font-size: 12px;
        margin: 0;
    }
    .community-channel {
        font-size: 16px;
    }
    .copyright .footer-copyright {
        padding: 20px 0;
    }
    .btn-wrapper {
        flex-direction: row;
    }
    .cs-content {
        display: flex;
        width: 100%;
        justify-content: center;
        gap: 50px;
    }
    .ontario, .ontario-right {
        max-width: 100%;
        display: block;
        margin: 0;
        flex: 1;
    }
    .cs-subtitle {
        margin: 0;
    }
    .community-svg {
        align-items: center;
        justify-content: space-evenly;
        gap: 0;
    }
    .community-svg img {
        max-width: 100%;
        width: 200px;
    }
    .header-container .header-second .navbar {
        gap: 15px;
    }
    .widget-container .horizontal .field-widget .widget-bulletin-boardP {
        margin-top: 20px;
    }
    .search-result-images .highlight-image {
        margin-bottom: 0;
    }
    .block-thumbs {
        min-height: 0;
        padding-bottom: 30px;
    }
    .header-container .header-second .region-header-second {
        justify-content: flex-end;
    }
    .widget-bulletin-board {
        margin-bottom: 15px;
    }
    .widget-bulletin-board {
        margin: 20px 0;
    }
    .community-channel a {
        font-size: 14px;
    }
    #drupal-modal--body {
        overflow: auto !important;
    }
    .headline .whatson-list dl {
        grid-template-columns: 1fr 1fr;
        text-align: center;
        white-space: nowrap;
    }
    .paragraph .image {
        padding-right: 0;
    }
    .paragraph .image img {
        width: 100%;
    }
}
@media screen and (max-width:767px) {
    html {
        min-width: 320px;
    }
    .sticky-header {
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        background-color: white;
        z-index: 55;
    }
    .headline .image .wrapper-white {
        width: 100%;
        bottom: 0;
    }
    .headline .whatson-list {
        margin-left: 0;
        -webkit-transform: translateX(0%);
        -moz-transform: translateX(0%);
        transform: translateX(0%);
    }
    .footer-section.region-content {
	    padding-top: 0px;
    }
    .no-stikcy-header .region-content {
        padding: 0;
    }
    #views_slideshow_cycle_main_-community_page_carousel_block .img-responsive {
      width: 613px;
      height: 460px;
    }
    .footer-copyright{
        text-align: center;
    }
    .footer-image img{
        width: 30%;
        margin: 20px auto;
        display: block;
    }
    #block-socialmediablock {
        display: none;
    }
    #block-socialmediablock-footer a{
        margin: 0 10px;
    }
    .headline-svg{
        display: none;
    }
    .page-header{
        padding: 24px 0px 20px 0;
        margin: 0;
    }
    .page-subtitle{
        padding: 10px 0;
        margin: 0;
    }
    .footer-section{
        position: relative;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
    .footer-section .section{
        margin-bottom: 30px;
    }
    .footer-section .section-smedias{
        position: absolute;
        bottom: -30px;
        left: 0;
        right: 0;
        padding: 0;
        margin: 0;
    }
    .footer-section .section-smedias .footer-title{
        display: none;
    }
    .thumbnail > img,
    .thumbnail a > img,
    .carousel-inner > .item > img,
    .carousel-inner > .item > a > img{
        width: 100%;
    }

    /* Mobile Navbar */
    .header-container {
        padding: 0;
    }
    .top-header-fluid .top-header {
        padding-top: 0;
        display: flex;
        justify-content: center;
    }
    .region-header-first .navbar-btn {
        margin: 15px 0;
    }
    .header-third {
        margin-top: 0;
        border-top: solid 2px var(--gray-300);
        -webkit-transition: border-top 0.1s linear 0s;
        -moz-transition: border-top 0.1s linear 0s;
        transition: border-top 0.1s linear 0s;
        border-bottom: 1px solid var(--gray-200);
    }
    .headline .whatson {
        margin: 0;
        padding-left: 0;
    }
    .headline .image {
        min-height: auto;
    }
    .headline .whatson-list {
        margin: 0;
        text-align: center;
        -webkit-transform: translateX(0%);
        -moz-transform: translateX(0%);
        transform: translateX(0%);
    }
    .headline .whatson-list p {
        margin-bottom: 0;
    }
    .headline .whatson-list  h3 {
        margin-bottom: 0px;
    }
    .cogeco-featured-bar,
    .cogeco-video-headline-link {
        font-size: 18px;
        font-weight: 600;
        padding: 8px 12px;
    }
    .cogeco-video-headline-link {
        width: 80%;
    }
    .cogeco-featured-bar,
    .cogeco-video-headline-link {
        border-radius: 0px 10px 10px 0px;
    }
    .cogeco-video-headline-link span a {
        font-size: 18px;
    }
    .cogeco-featured-bar {
        top: 100px;
    }
    .cogeco-video-headline-link {
        bottom: 20px;
    }
    section#block-communityblock {
        margin: 0;
    }
    .header-third.open {
        border-top: solid 54px white;
        box-shadow: 0px 0px 0px 2px var(--gray-200);
    }
    .header-third .region-header-third {
        padding: 15px 0;
    }
    .top-header-fluid + .container {
        padding-top: 15px;
    }
    header.navbar {
        min-height: inherit;
        border-bottom: 0;
        min-height: 0;
        position: absolute;
        position: absolute;
        right: 0;
        top: 176px;
    }
    .navbar-toggle {
        position: fixed;
        top: 63px;
        right: 8px;
        z-index: 60;
    }
    .navbar-toggle.cogecotv-base-search .open{
        top: -159px;
    }
    .navbar-default .navbar-toggle {
        border-color: transparent;
    }
    .navbar-default .navbar-toggle .icon-bar,
    .navbar-default .navbar-toggle.collapsed .icon-bar{
        background-color: var(--primary);
    }
    .navbar-toggle[aria-expanded="true"] .icon-bar  {
        background-color: white;
    }
    .navbar-default .navbar-toggle:hover,
    .navbar-default .navbar-toggle:focus {
        background-color: rgba(255,255,255, 0);
    }
    .navbar-default.open .nav {
        display: block;
    }
    .navbar-collapse .block-cgtv-search-block {
        display: none;
    }
    .top-header-fluid .block-cgtv-search-block {
        display: block;
    }

    .block-cgtv-search-block {
        position: absolute;
        top: 67px;
        float: none;
        width: calc(100% - 30px);
    }
    .block-cgtv-search-block .search-section {
        margin-right: 50px;
    }
    .block-cgtv-search-block .search-section .search-icon {
        position: relative;
        z-index: 1;
        line-height: normal !important;
    }
    .block-cgtv-search-block .search-section .search-icon.fa-times:before,
    .block-cgtv-search-block .search-section .search-icon.fa-search:before {
        color: var(--primary_hover);
        border: none;
        padding: 0;
        margin: 0;
    }
    .cogecotv-base-search {
        width: 100%;
        position: absolute;
        top: 60px;
    }
    .user-logged-in .top-header.container section.block-cgtv-search-block {
        top: 89px;
    }
    .user-logged-in .block-cgtv-search-block .search-section .search-icon {
        line-height: 40px !important;
    }
    .user-logged-in .cogecotv-base-search input {
        margin: 25px auto 0;
    }
    .cogecotv-base-search input.open{
        float: left;
        width: 100%;
        margin: 0;
        border: 1px solid var(--gray-200);
        -webkit-transition: max-height 0.1s linear 0s;
        -moz-transition: max-height 0.1s linear 0s;
        transition: max-height 0.1s linear 0s;
    }
    .third-header.open
    .cogecotv-base-search .form-group .form-control {
        margin-bottom: 0;
    }
    #block-right-header ul li:first-child{
        width: 60px;
        margin-right: 5px;
    }
    .top-header .navbar li a {
        font-size: 12px;
        padding: 3px 8px;
    }
    .community-channel {
        margin-top: 0;
        float: right;
    }
    .community-channel a {
        padding-right: 18px;
        margin-top: 0;
        font-size: 14px;
    }
    .community-selection {
        float: left;
        font-size: 14px;
    }

    .logo img {
        width: 120px;
        max-width: 100%;
    }

    .header-second {
        display: none;
    }

    header .collapsing {
        overflow-x: hidden;
        border: none;
        position: absolute;
        top: 0;
        right: 0;
        bottom: -420px;
        left: 40%;
        padding-top: 80px;
    }
    .collapsing .block-cgtv-search-block {
        display: none;
    }

    .collapsing .container {
        position: absolute;
        top: 0;
        right: 0;
        bottom: -45px;
        left: 100%;
        padding-top: 80px;
        background-color: var(--primary_hover);
        overflow: visible;
    }

    .navbar-default .navbar-collapse,
    .navbar-default .navbar-form {
        border-color: transparent;
    }
    #block-community-navigation{
        position: relative;
        margin: 0;
    }
    #block-community-navigation .navbar-nav{
        margin: 0;
        margin-top: 0;
        display: flex;
        flex-direction: column;
    }
    /* .navbar-default .navbar-nav > li:hover > a,
    .navbar-default .navbar-nav > li:hover > a:hover{
        padding: 12px 0;
    } */
    header.container-fluid > .navbar-collapse {
        margin: 0;
    }
    .navbar-default .navbar-nav li a {
        padding: 16px;
        text-align: left;
        display: flex;
        align-items: center;
        border-radius: 10px;
        background: url('../img/navbar-arrow.svg') no-repeat 95% !important;
        background-size: 12px !important;
    }
    .navbar-default .navbar-nav li a:hover,
    .navbar-default .navbar-nav li a:focus,
    .navbar-default .navbar-nav li a.active {
        background: url('../img/navbar-arrow.svg') no-repeat 95% var(--gray-100) !important;
        background-size: 12px !important;
    }
    .navbar-default .navbar-nav li a::after,
    .navbar-default .navbar-nav li a.active:after,
    .navbar-default .navbar-nav > li:hover > a:hover:after {
        display: none;
    }
    .menulink-mobile{
        display: block;
    }
    #navbar .in{
        height: 100vh;
        min-height: 100%;
        background-color: var(--primary_hover);
        padding: 80px 0 50px 0;
        transition: 0.7s;
    }
    #navbar .in .container{
        padding-right: 0;
        padding-left: 0;
    }
    #navbar .in .navbar-nav > li > a {
        color: #fff;
        padding: 20px 30px 15px 30px;
        text-align: center;
        font-size: 16px;
    }
    .navbar-default .navbar-toggle{
        border: none;
        margin: 0;
    }
    .navbar-default .navbar-nav > li:hover > a:hover:after {
        display: none;
    }
    .navbar-collapse.collapse.in .fa-times::before,
    .navbar-collapse.collapse.in .fa-search::before{
        border: none !important;
    }
    .navbar-collapse.pushy .container .nav > li {
        display: block;
        border-top: rgba(255,255,255, 0.5) 1px solid;
    }
    .navbar-collapse.pushy .container .nav > li:last-child{
        border-bottom: rgba(255,255,255, 0.5) 1px solid;
    }

    /* Mobile footer */
    .footer sectio h3 a {
        border-bottom: 1px solid hsla(0,0%,100%,.1);
        display: flex;
        justify-content: space-between;
        padding: 16px 0;
    }

    .footer section a:after {
        float: right;
        font-family: FontAwesome;
    }

    .footer section ul {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 16px;
        margin-bottom: 0;
    }

    .footer-section #block-socialmediablock-footer {
        position: absolute;
        bottom: -85px;
        left: 50%;
        border: none;
        text-align: center;
        margin-bottom: 60px;
        width: auto;
        white-space: nowrap;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }

    .footer-section #block-socialmediablock-footer h3 {
        display: none;
    }
    .footer .block-title {
        margin: 0;
    }
    .footer .block-title a {
        margin: 0;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin: 16px 0 0 0;
        display: flex;
        justify-content: space-between;
    }
    .footer .block-title a[aria-expanded="true"] {
        border-bottom: 1px solid var(--coral);
    }
    .footer section a[aria-expanded=false]:after {
        content: '\f067';
        padding-right: 2px;
    }
    .footer section a[aria-expanded=true]:after {
        content: '\f068';
    }
    .footer .block-title a[aria-expanded="true"]:after,
    .footer .block-title a:focus::after {
        color: var(--coral);
    }
    .footer .block-title a:focus {
        border-bottom: 1px solid var(--coral);
    }
    .footer .nav > li > a {
        font-size: 14px;
        padding-top: 16px;
        line-height: normal;
    }
    .copyright .footer-copyright {
        border: none;
        padding: 15px 0;
        font-size: 12px;
    }
    .community-svg{
        padding-top: 30px;
        max-width: 350px;
    }
    .community-svg img{
        max-width: 150px;
    }
    .search-result-bloc-text {
        display: block;
        max-width: 100%;
        margin-left: 0;
        padding-top: 10px;
    }
    .search-result-images {
        display: block;
        width:100%;
        height: auto;
        margin-bottom: 0px;
    }
    .search-result-images img {
        width:100%;
        height: auto;
    }
    .search-result-images .highlight-image {
        padding: 0;
        margin: 0;
    }

    input#edit-keys {
        margin-bottom: 20px;
    }
    #edit-submit-search{
        min-width: 30%;
        display: block;
        margin: 0 auto;
    }
    .tv_show_schedule .show_title {
        font-size: 24px;
    }
    .tv_show_schedule .time {
        width: 25%;
        font-size: 14px;
    }
    .tv_show_schedule .description {
        width: 75%;
    }
    .view-id-taxonomy_term .video .field--name-field-video-link a,
    .view-id-search .video .views-field-field-video-link a,
    .view-id-search .video .field--name-field-video-link a {
        width: 100%;
    }
    .node-community-event-edit-form .panel-body,
    .node-public-announcement-edit-form .panel-body,
    .node-community-event-form .panel-body,
    .node-public-announcement-form .panel-body {
        padding: 15px 0;
    }
    .navbar-default .navbar-nav > li{
        padding-right: 0;
    }
    .contact-us{
        margin-top: 0;
    }
    .contact-us h3{
        margin-top: 20px;
    }
    .bloc-links {
        padding: 0;
    }
    /* .cs-page-viewport {
        height: 100%;
        flex-direction: column;
        justify-content: center;
    } */
    .community-svg {
      gap: 0;
    }
    .cs-logos.cogeco-logo {
      margin-top: 0;
      margin-bottom: 30px;
    }
    .footer-section{
        display: block;
    }
    .partners,
	.homepage-videos .video-list,
	.view-shows .row-list,
	.videos .video-list,
    .partners.flex-parent,
	.homepage-videos .video-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
    .pagination > li.pager__item--first span,
    .pagination > li.pager__item--next span,
    .pagination > li.pager__item--previous span,
    .pagination > li.pager__item--last span,
    .pagination > li .page-link,
    .pagination > li.pager__item--last,
    .pagination > li.pager__item--first,
    .pagination > li[role="presentation"] {
        display: none;
    }
    .pagination {
        padding: 15px;
        margin-top: 20px;
        gap: 5px;
    }
    .pagination > li {
        padding: 0;
    }
    .pagination > li.pager__item {
        margin: 0;
        padding: 0;
    }
    .pagination > li > a,
    .pagination > .active > a {
        width: 22px;
        height: 22px;
        font-size: 11px;
        background-color: var(--primary);
        padding: 0;
        margin: 0;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .pagination > .active > a {
        bottom: 0;
    }
    .pagination > .active > a,
    .pagination > .active > a:hover,
    .pagination li > a:hover {
        border-radius: 0;
        background: var(--coral);
        color: white;
    }
    .pagination > li > a:focus {
        outline: 0;
        outline-offset: 0;
        border-radius: 0;
    }
    .pagination > li.pager__item--next a:after,
    .pagination > li.pager__item--previous a:before,
    .pagination > li.pager__item--previous a:hover,
    .pagination > li.pager__item--next a:hover:after,
    .pagination > li.pager__item--previous a:hover:before,
    .pagination > li.pager__item--next a:hover:after {
        color: white;
        padding: 0;
    }
    .pagination > li:first-child > a, .pagination > li:first-child > span {
        border-radius: 0;
    }
    .page-description {
        margin-bottom: 15px;
    }
    .tv_show_page .view-content {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .videos h3, .partners .partners-tiles h3, .view-shows .shows-flex h3, .homepage-videos .video h3 {
        margin-bottom: 0px;
        margin-top: 5px;
    }
    .partners .flex-child .views-field-body p:last-child {
        margin-bottom: 0;
    }
    .partners .partners-tiles .views-field-body {
        display: none;
    }
    .contact-us .contact-commuity {
        padding-bottom: 30px;
    }
    .contact-us h2 {
        margin-bottom: 30px;
    }
    .block-thumbs {
        min-height: auto;
    }
    .community-svg {
        display: none;
    }
    .community-svg.mobile {
        display: grid;
        grid-auto-flow: row;
        justify-items: center;
        gap: 15px;
        padding-top: 0;
        margin-top: 40px;
    }
    .cs-subtitle {
        margin: 30px 0;
    }
    .article .author {
        margin-top: 0;
    }
    .widget-bulletin-board {
        margin: 20px 0;
    }
    .widget-list-dynamic .field-content:last-child {
        margin-bottom: 0;
    }
    .grid-content-wrap .views-view-responsive-grid__item-inner,
    .grid-content-wrap .views-view-responsive-grid__item:last-child .views-view-responsive-grid__item-inner {
        flex-direction: column;
    }
    .grid-content-wrap .views-view-responsive-grid__item .views-view-responsive-grid__item-inner .views-field .views-label {
        display: block;
    }
    .microsite-header {
        grid-template-columns: 1fr;
    }
    .page-node-type-microsite .micro-site-logo img {
        width: 120px;
    }
    .paragraph.paragraph--type--video {
        width: 100%;
    }
}

@media (max-width: 430px) {
    /* .off-canvas-container {
        min-height: calc(100vh - 8vh);
    } */
	.partners,
	.homepage-videos .video-list,
	.view-shows .row-list,
	.videos .video-list,
    .partners.flex-parent,
	.homepage-videos .video-list,
    .page-node-type-microsite .field--name-field-video-and-description {
		display: grid;
		grid-template-columns: repeat(1, minmax(0, 1fr));
		grid-gap: 30px 20px;
	}
    .btn-wrapper {
        display: flex;
        gap: 15px;
        flex-direction: column;
    }
    /* .cs-page-viewport {
        height: calc(100vh - 16vh);
        margin: 0;
    } */
}
/* Fix boostrap theme bug of modal when selecting region */
#drupal-modal {
    z-index: 2000!important;
}
