/*hover events*/
.icon-arr-left:hover:before {
    color: #de230f;
}
.icon-arr-right:hover:before {
    color: #de230f;
}
.icon-arr-right:before {
    color: #646464;
}
/* change the cursor to pointer */
.card-tagline-text:nth-child(3):hover {
    cursor: pointer;
}

#filter .search-icon:hover {
    cursor: pointer;
}

#filter input::placeholder {
    color: #121212;
}
.inner-date{
    margin-left:1.750em;}



/*fix cards input alignment*/
@media all and (min-width: 1200px) {
    .pad-fix {
        padding-bottom: 0.75rem!important;
    }
}


/* Extra small devices (phones, 600px and down) fix for search button */
@media only screen and (max-width: 600px) {
        .search-icon {
        margin-right: auto;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
        margin-left: auto;
    }
    #filter img {
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    }

/* Small devices (portrait tablets and large phones, 600px and up) fix for search button */
@media only screen and (min-width: 600px) and (max-width: 990px) {        
    .search-icon {
        margin-right: auto;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
        margin-left: auto;
    }
        #filter img {
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    
    }
/* Small devices (portrait tablets and large phones, 600px and up) fix for search button */
@media only screen and (min-width: 482px) and (max-width: 990px) {        
    .search-icon {
        margin-right: auto;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
        margin-left: auto;
    }
        #filter img {
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    
    }    
    
@media only screen and (min-width: 570px) and (max-width: 765px) {        
.news-item .news-date {
     padding-left: 0em; 
}
    
    }
    
   
/*use of important not good */    
@media only screen and (min-width: 1200px)  {      
   .podcast-div {
    padding-top: 1.7em!important;}
    .podcast-fix{
    height: 3.4em!important;
        }
        }
@media only screen and (min-width: 300px)  {      
   .podcast-div {
    padding-top: 1.7em!important;}
    .podcast-fix{
    height: 3.4em!important;
        }
        }
/*hover event on back button inner*/

#article-inner .link:hover img {
        filter: drop-shadow(1px 2px 1px rgb(0 0 0 / 0.4));
}

#article-inner .link:hover span {
    text-shadow: 1px 1px 12px rgb(0 0 0 / 60%);
    }
    
    
    
@media all and (min-width: 993px)  and (max-width: 1199px)  {        
.card-inner .card-button:before{
        margin-top: 3%;
        width: 3%;
    }  
    }     
    
.news-item .headline-image {
    height: 144px;
    width: 129px;
}    

@media only screen and (min-width: 994px) and (max-width: 1198px) {        
.news-item .news-date {
     padding-left: 0em; 
}
.newsbox .tag{
      padding-left: 6.5em;
    max-width: -webkit-fill-available;
    position: relative;
    left: 15%;
    }
#before-footer .newsbox .tag{
        left: -5%;
    }
.news-category{
    font-size: 12px;
}
.news-date{
    font-size: 11.2px;} 
    
    }

@media only screen and (min-width: 1198px) {
#filter select {
    width: 257px;
    height: 54px;
}

#filter input{
   width: 170px;
    height: 54px;}
@media (min-width: 1400px) {
    #filter input{
    width: 230px;
    }
}
#filter select {
   width: 257px;
    height: 54px;}    
@media only screen and (min-width: 994px) and (max-width: 1198px) {
    .dropdowns{
        width:100%}
    .dropdowns{
        flex-direction:column!important;}
#filter input{
    width: 100%;
}
#filter select {
    width: 100%;
}   
.search-icon {
    margin-right: auto;
    margin-left: auto;
}
    }
@media only screen   and (max-width: 371px) {
    .news-item .headline-image {
    height: 100px;
    width: 128px;
}
    .tag{
        font-size: 11px;
    }
    .caption{
        font-size: 11px;
    }
    .h3{
        font-size:13px;}
    .news-item .news-date {
     padding-left: 0em; 
    } 
    #before-footer .tag {
        padding-left: 1.8em;
        }
    .h2{font-size: 18px;}
    .p{font-size:14px;}
    .h4{font-size:13px;}
    .end-footer .p{font-size: 11px;}
    }
    
   #headlines .author-name{
           text-decoration: none;
       
       } 
   #article-inner .link-inner{
                  text-decoration: none;
color :#212529;
       
       }      
  

#article-inner .h2{
    color:#121212;
           }
       #card .card-inner{
               border-color:#121212;

           }
    #headlines .h1{
            color:#121212;

        }   
@media screen and (min-width: 996px) and (max-width: 1199px) {
.card-inner .newsletter-subscribe-button {

     width: 100%; 
    /*width: 60%;*/

}}

.end-footer{
    color:#121212;
    background:none;
    }
 #middle   .news-item {
         /*background: #FFFFFF;*/
    -webkit-box-shadow: 0px 1px 10px rgba(0,0,0,.08);
    /*box-shadow: 0 1px 10px #00000014*/
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.08);
     }
#before-footer     .news-item {
        -webkit-box-shadow: 0px 1px 10px rgba(0,0,0,.08);
    box-shadow: 0 1px 10px #00000014;
    
    }
    
    

.card-spacing {
    gap:48px;
    }

.swiper-wrapper.disabled {
    transform: translate3d(0px, 0, 0) !important;
}
.swiper-pagination.disabled {
    display: none;
}

#filter .search-icon{
    width: 4.5em;
    color: #fff;
    background-color: var(--red);
    width: 65%;
    border-color: var(--red);
    border-style: solid;
    padding: 0.3em;
    border-radius: 0.2em;
    background: #dd230f;
    }
    #filter img{
        height: 2.65em;
        }
        
        .newsbox .news-category{
text-transform: uppercase;
            }
            
            #inner-before-footer .newsbox{
    padding-right: 0;
    background: #FFFFFF;
/* Shadow */

box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.08);
                }
                
 
@media all and (min-width: 1200px) {
.divider{
    
    width: 107%;
    right: 14px;
    color: #bebebe;
    /* margin-right: 0em; */
    /* display: block; */
        top: 3%;
    position: relative;
    }
    
#before-footer .newsbox:nth-child(-n+6) .news-item {
    border-bottom: none;
} 
.top-stories{
    max-width:428px;
    position:relative;
    padding-left:16px;
}
#middle .newsbox{
    margin-left:16px;
    }
}
#middle .top-stories {
    border-left: none;
}
 #middle .top-stories::before {
     content:'';
     position :absolute;
     border-left :2px solid #bebebe;
     width:2px;
     height:96%;
     top:41px;
left: 10px;
}   
.effect-outer:first-child {
    margin-right: 5px;
}

 .effect-outer:last-child {
    max-width:410px;

    margin-left: 5px;
}  

    }
    
@media (min-width: 930px) and (max-width: 1200px){
.tag {
    max-width: 1000px;
}

}
#mainHeader .logo {
    top: 20%;
    width: 240px;
    position: absolute;
    left: 50%;
    height: 58px;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    #mainHeader .logo {
        left: 50%;
        width: 180px;
    }
}

@media (max-width: 576px) {
    #mainHeader .logo {
        left: 50%;
        width: 140px;
    }
}

@media only screen and (min-width: 1198px) {   
.news-item .news-date {
    display:inline-block;
    padding-left: 0;
    padding-top:5px;
    padding-bottom:5px;

}}

.news-item .news-date {
  color:#bebebe
}
.newsbox h3{
    padding-top:4px!important;
    }
   #filter select:nth-child(3) {
    border-top-right-radius: 5px;
   border-bottom-right-radius: 5px;} 


.datepicker-container {
    position: relative;
    display: inline-block;
}

.datepicker-input {
    border: 1px solid #ccc;
    padding: 5px 30px 5px 5px;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

.datepicker-icon {
   position: absolute;
    left: 70%;
    top: 43%;
    transform: translateY(-50%);
    /*pointer-events: none;*/
}
.datepicker-icon {
   position: absolute;
    left: 90%;
    top: 43%;
    transform: translateY(-50%);
    /*pointer-events: none;*/
}
.datepicker-icon-from {
   position: absolute;
    left: 90%;
    top: 43%;
    transform: translateY(-50%);
    /*pointer-events: none;*/
}
/*.datepicker-input:after {*/
/*   position: absolute;*/
/*    left: 100%;*/
/*    top: 43%;*/
/*    content: url(/media/remove.svg);*/
/*    font-size: 1rem;*/
/*    top: 12px;*/
/*    right: 10px;*/
/*    color: #121212;*/
/*    left: 90%;*/
/*    top: 14%;*/
/*    transform: rotate(180deg);*/
/*    position: absolute;*/

/*}*/
.remove-icon{
    position: absolute;
    left: 80%;
    top: 43%;    
    }
/* Hide Calendar Icon In Chrome */
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
   position: relative;
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: none;
    cursor: pointer;
    opacity: 0;
}
input[type="date"]::-webkit-calendar-picker-indicator {
 
}

input[type="date"] {
    position: relative;
    width: 100%;
    padding-right: 16px; /* Adjust as needed */
    cursor: pointer;

}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    right: 0;
    width: 16px; /* Adjust as needed */
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

 .reset {
  text-decoration: none;

}

@media screen and (max-width: 992px) and (min-width: 576px) {
  .news-item .news-date {
    padding-left: 0;
    padding-bottom: 0px;
  }
  .reset {
    text-decoration: none;
  }
}

.news-item .news-date {
  padding-left: 0em; 
  /*color: var(--gray-dark);*/
}
 .remove-text{
       /*display:none;*/
      position: absolute;
    left: 80%;
    top: 29%;}
 .remove-text-from{
       /*display:none;*/
      position: absolute;
    left: 80%;
    top: 29%;}
@media screen and (max-width: 768px) {
  .datepicker-icon {
    left: 93%;
    position: absolute;
    top: 43%;
  }
    .datepicker-icon-from {
    left: 93%;
    position: absolute;
    top: 43%;
  }
.remove-text {
    /* display: none; */
    position: absolute;
    left: 85%;
    top: 25%;
}
}

@media screen and (max-width: 990px) and (min-width: 768px) {
  .datepicker-icon {
    position: absolute;
    left: 97%;
    top: 38%;
    margin-left: 0;
  }
    .datepicker-icon-from {
    position: absolute;
    left: 97%;
    top: 38%;
    margin-left: 0;
  }
  .remove-text {
    /* display: none; */
    position: absolute;
    left: 93%;
    top: 25%;
}

}

@media (min-width: 1000px) and (max-width: 1200px) {
  .reset {
    margin-top: 0;
    text-decoration: none;
  }
}

@media screen and (min-width: 1200px) {
  .reset {
    text-decoration: none;
      margin-left: 20px;
  margin-top: 1%;
  }
}

.type-select-wrapper {
  position: relative;
  display: inline-block;
}
.type-date-wrapper {
  position: relative;
  display: inline-block;
}
.type-select-wrapper::after {
    content: "^";
    font-size: 1rem;
    top: 12px;
    right: 10px;
    color: #121212;
    left: 90%;
    top: 14%;
    transform: rotate(180deg);
    position: absolute;
    pointer-events: none;/* to disable click events on the arrow */
}

select[name="Type"] {
  -webkit-appearance: none;
  appearance: none;
    border-bottom-left-radius:5px;
  border-top-left-radius:5px;
  width: 100%; /* you might need to adjust this based on your needs */
}
select[name="Province"] {
 border-bottom-right-radius:5px;
  border-top-right-radius:5px;
 
  -webkit-appearance: none;
  appearance: none;
  width: 100%; /* you might need to adjust this based on your needs */
}
/*#filter select:first-child {*/
/*    border-top-left-radius: 0px;*/
/*    border-bottom-left-radius: 0px;*/
/*}*/


input:invalid +  .remove-text {

    display:block;
  content: "✖";
}

/*input:valid + .remove-text {*/
/*    display:block;*/
/*  content: "✓";*/
/*}*/
input:active + .remove-text {
    display:block;
  content: "✓";
}
input[type='text'] + .remove-text {
  display: none;
}

input:invalid +  .remove-text-from {

    display:block;
  content: "✖";
}

/*input:valid + .remove-text {*/
/*    display:block;*/
/*  content: "✓";*/
/*}*/
input:active + .remove-text-from {
    display:block;
  content: "✓";
}
input[type='text'] + .remove-text-from {
  display: none;
}
@media and (max-width: 750px){
    .remove-text {
    /*display: none;*/
    position: absolute;
    left: 85%;
    top: 26%;
}
    }
    @media and (max-width: 438px){
    .remove-text {
    /*display: none;*/
    position: absolute;
    left: 95%;
    top: 26%;
}
    }
    @media and (max-width: 750px){
    .remove-text-from {
    /*display: none;*/
    position: absolute;
    left: 85%;
    top: 26%;
}
    }
    @media and (max-width: 438px){
    .remove-text-from {
    /*display: none;*/
    position: absolute;
    left: 95%;
    top: 26%;
}
    }
    
.border{
    border-top-left-radius: 0px!important;
    border-bottom-left-radius: 0px!important;
    /*border-color:rgb(190, 190, 190)!important;*/
        }
        
        #filter .search-icon {
    width: 4.5em;
    color: #fff;
    background-color: var(--red);
    width: 65%;
    border-color: var(--red);
    border-style: solid;
    padding: 0.3em;
    padding-left: 0.5em;
    border-radius: 0.2em;
    background: #dd230f;
    width: auto;
}
.pagination-item{
    padding-right:31px;
    /*padding-left:31px;*/
    }
    .pagination .h4 {
     padding-right: 0; 
   
}