/*
 Theme Name:   AI - Dawson College Theme
 Description:  AI theme of Dawson College Theme
 Author:       Dawson College - Chris Georgieff
 Author URI:   http://dawsoncollege.qc.ca
 Template:     dawson-college-2022
 Version:      1.0.0
 Text Domain:  dawson-college-child
*/

@media screen and (max-width: 499px) {

}

@media screen and (min-width: 500px) {

}

@media screen and (min-width: 740px) {

}

@media screen and (max-width : 979px) {

    .item article {
       /* background: #062038;*/
        overflow: hidden;
        margin: 20px;
        padding: 21px!important;
    }

    .news article{
       /* background: #062038;*/
    }

    .event-wrap .event-item {
        /*background: #062038 !important;*/
    }

}

@media screen and (min-width: 980px) {



   /* .home .all-nav {
        position: absolute;
        width: 100%;
        z-index: 999;
    }

    .home .all-nav .page-header {
        background: transparent !important;
    }

    .home .menupane {
        background: transparent !important;
    }

    .home .menupane a {
        color: #fff;
    }

    .home .menupane .menu .current-menu-item, .menupane .menu .current-menu-item > a {
        background: #353333 !important;
    }*/

}

@media screen and (min-width: 1920px) {

}

@media screen and (max-width: 499px) {

    .entry-content {
        padding: 20px;
    }

    .excerpt{
        display: none;
    }

}
.home .content li a, .home .content p a, dd a{
   /* color: #86ffff;*/
}
.content p, .content li{
    line-height: 2rem;
    font-size: 1.3rem;
}

.menupane .sidebar-menu-title-bar{
    background-color: #0d3050;
}


.home .content h2, .home .content h3 {
    /*color: white;*/
}

.home .entry-content {
    /*background-color: #0d3050;
    color: white!important;*/
    /*font-family: "Lato", sans-serif;*/
    border: none;
}

.breadcrumbs{ display: none; }
.mid_nav {
    background-color: #0d3050;
}

.page main {
    /*background-image:url("https://www.dawsoncollege.qc.ca/ai/wp-content/uploads/sites/147/abstract-astronomy-dark-924824-compressed-more.jpg");*/
    /*background-color: #183c5d!important;*/
}
.entry-title > a {
    /*color: white;*/
}


.event-item-time {
    margin: 7px;
    font-style: italic;
    font-size: 13px;
}

a.event-item-read-more {
    font-size: 14px;
    line-height: 1.2!important;
    /*color: #fbfbfb;*/
    display: block;
}

.img-pop{
    margin-bottom: 20px;
}

.event-item{
    background: transparent!important;
}

.news-item{
    background-color: transparent!important;
    border: none!important;
}

.news .entry-header h2 a{
    /*color: #fff;*/
}

.news .post-date{
   /* color: #fff;*/
}

.team-members .department{
    font-style: italic;
}
.team-members .entry-title{
    margin: 0;
    font-weight: normal;
}
.team-members .entry-title a {
    font-size: 1.8rem!important;
    font-size: 18px!important;
}

.clip{
    max-height: 0!important;
}

/** JONATHON SUMNER EDITS START **/

.header-full.clip {
    padding-bottom: 26%;
}
.home #coursenfo h1 {
    /*background-color: rgba(13, 48, 80, 0.8);
    text-shadow: 2px 4px 1px rgba(0, 0, 0, 0.25);*/
    padding-top: 4px;
    padding-bottom: 10px;
    padding-left: 18px;
    padding-right: 18px;
    width: fit-content;
    padding: 5px 15px;
    /*opacity: 0;*/
    display: inline-block;
}
#coursenfo .dc_child_logo {
    /*display: none;*/
}

.news .post-img a{
    overflow: hidden;
    display: block;
    /*background: #fff;*/
}

.news article{
    /*background: #183c5d;*/
}

.home .main-sidebar{
    /*display: none;*/
}
.header-full img {
    filter: grayscale(1);
}
.content h2, .content h3 {
    
    font-family: 'Oswald', sans-serif;
/*    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
*/    text-transform: uppercase;
    margin-top:30px;
    font-weight: normal;
}
.content h2 {
    font-size: 2.4rem;
    border-bottom: 1px solid #b1b0b0;
}
.content h4{
/*    color: #fff;
*/}
.content p {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 2rem;
}
.home .content p{
    /*background: #183c5d;*/
    padding: 10px;
}
.home .content ol, .home .content ul{
    padding: 2rem 3.5rem;
    /*background:#183c5d;*/
    margin-left: 0;
}
.department {
    font-weight: 600;
    font-size: 1.2rem;
   /* color: aliceblue;*/
    padding: 0 0 20px 0;
}
.entry-header .post-img img{
    width: 100%;
}

.home .team-members p{
    background: none;
    padding: 0;
}
.home .team-members .excerpt p{
    padding: 0;
}
section.team-members .entry-meta{
    background: #efefef;
}
section.team-members + p {
    background: none!important;
}
.entry-content h2:first-child {
    margin-top: -12px;
}
.home .entry-content {
    /*background-color: #0D3050;
    box-shadow: 0px 10px 16px rgba(0,0,0,0.13);    */
    /*font-family: "Lato", sans-serif;*/
    border: none;
    padding: 30px;
}
@media screen and (min-width: 980px){
    .home .entry-content {
        padding: 60px;
    }

    .team-members .entry-meta{
        /*background: #0d3050;*/
        padding: 20px;
    }
    
}

@media screen and (min-width: 1200px){
    .home .entry-content {
         margin-top: -200px;
    }
    
}

.entry-meta p {
    font-size: 1.3rem;
    line-height: 1.8rem;
}
.entry-title > a {
    color: white;
}
.ai_team_member img {
/*    border: 2px solid aliceblue;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);*/
}
.team-members {
    margin-bottom: -12px;
}

.pre-foot {
    background: #0f3150;
}

.ai_portfolio .post-entry .post-content{ width: 100%!important; }
 #content.items .ai_portfolio {
     padding: 10px;
 }

 #content.items .ai_portfolio {
        width: 100%;
        margin: 2% 0;
    }

@media screen and (min-width: 768px){

    #content.items .ai_portfolio {
        width: 48%;
        margin: 0 1%;
    }


}

@media screen and (min-width: 979px){

    #content.items .ai_portfolio {
        width: 31%;
        margin:0 1%;
    }


}
@media screen and (min-width: 1300px){

    #content.items .ai_portfolio {
        width: 23%;
        margin: 1%;
    }


}

/* Animation on load? */
/*.entry-content {*/
    /*animation-delay: 0.5s;*/
    /*animation-duration: 2s;*/
    /*animation-fill-mode: forwards;*/
    /*animation-name: slideup;*/
    /*animation-timing-function: ease-out;*/
/*}*/

/*#coursenfo h1 {*/
    /*animation-delay: 0.5s;*/
    /*animation-duration: 2s;*/
    /*animation-fill-mode: forwards;*/
    /*animation-name: fadein;*/
    /*animation-timing-function: ease-in;*/
/*}*/

/*@keyframes slideup {*/
    /*from {*/
        /*margin-top: 500px;*/
    /*}*/
    /*to {*/
        /*margin-top: -200px;*/
    /*}*/
/*}*/

/*@keyframes fadein {*/
    /*from {*/
        /*opacity: 0;*/
    /*}*/
    /*to {*/
        /*opacity: 100;*/
    /*}*/
/*}*/

/** JONATHON SUMNER EDITS END **/


.ai_portfolio .post-entry{
    padding: 0;
}
.ai_portfolio .post-content{
    width: 100%;
}

.grid-item.ai_portfolio h2{
    font-size: 1.6rem;
    font-weight: normal!important;
}


.ai-grant-list-ele {font-weight: 500; font-size: 1.4rem; padding: 0 0 10px 0; line-height: 1.8;}
.ai-grant-sort-box {text-align: right; padding:10px;}
.ai-grant-sort-box-select {
	border: 1px solid;
	border-color: #17436B;
	border-radius: 3px;
	background: #fff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	/*-webkit-appearance: button;*//* Corrects inability to style clickable 'input' types in iOS */
	font-size: 16px;
	/*font-family: Oswald,Verdana;*/
	line-height: 2.2;
	padding: .7em 1em .5em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.ai-grant-sort-box-submit {
    background: #17436B;
    color: #fff;
    text-transform: uppercase;
    font-family: Oswald,Verdana;
    letter-spacing: 0.8px;
    padding: 8px;
    font-size: 16px;
}

.main-section{
    clear: both;
}

  .blurb p {

    margin-top: 3px;
  }

  /* .grid-item h2 a{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;


    @supports (-webkit-line-clamp: 2) {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: initial;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }
  } */