/*
Theme Name: wp-reporter
Description: Custom theme for McGill reporter site based on wp-bootstrap-starter
Author: Erick Frappier
Author URI: http://frapweb.com
Version: 1.0
Template Version: 1.0
*/



@font-face {  font-family: 'McGill Serif Regular';  font-weight: 400;  font-style: normal;  font-display: swap;  unicode-range: U+000-5FF;  src: local('McGill Serif Regular'),       url('fonts/McGillSerif-Regular.woff2') format('woff2'),  url('fonts/McGillSerif-Regular.woff') format('woff');}
@font-face {  font-family: 'McGill Sans Regular';  font-weight: 400;  font-style: normal;  font-display: swap;  unicode-range: U+000-5FF;  src: local('McGill Sans Regular'),       url('fonts/McGillSans-Regular.woff2') format('woff2'),  url('fonts/McGillSans-Regular.woff') format('woff');}
@font-face {  font-family: 'McGill Serif Bold';  font-weight: 600;  font-style: normal;  font-display: swap;  unicode-range: U+000-5FF;  src: local('McGill Serif Bold'),       url('fonts/McGillSerif-Bold.woff2') format('woff2'),  url('fonts/McGillSerif-Bold.woff') format('woff');}
@font-face {  font-family: 'McGill Sans Bold';  font-weight: 600;  font-style: normal;  font-display: swap;  unicode-range: U+000-5FF;  src: local('McGill Sans Bold'),       url('fonts/McGillSans-Bold.woff2') format('woff2'),  url('fonts/McGillSans-Bold.woff') format('woff');}


html {
  overflow-y: scroll;
}
body {
  color:#242d39;
  font-family: "McGill Sans Regular", sans-serif;
}
body.modal-open {
    overflow: hidden;
    position:fixed;
    width: 100%;
}

#content.site-content{
  padding-top:0;
  padding-bottom:30px;
}

a {
  color:#04152f;
  text-decoration:none !important;
  transition:color 250ms;
}

a:hover {
  opacity:1 !important;
  color: #EE142B !important;

}

h1,h2{
  font-weight:500;
}

#comments input:focus, #comments textarea:focus {
  box-shadow: 0 0 5px rgba(41, 49, 60, 0.5) !important;
 outline: none;
}

#wpfront-scroll-top-container{
  background:url('img/btn-jump-to-top.png') no-repeat center !important;
}
#wpfront-scroll-top-container:hover{
  background:url('img/btn-jump-to-top-hover.png') no-repeat center !important;
}

button.btn{
  outline: none; !important;
}
button:focus,.btn,.btn:focus,button {
  outline: none; !important; box-shadow: none;
}



hr {
  margin-bottom: 1.7rem;
  border-top: 1px solid rgba(0, 0, 0, 0.8);
}



input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

@media only screen and (min-width: 1025px) {
  html {
    font-size: 100%;
  }
}


header#masthead{
  position: relative;
  background-color:rgba(255,255,255,0);
  box-shadow: none;
  padding:0;
}
#masthead .entete{
  box-shadow:
   0 0 0 2px #242D39,
   0 0 0 4px #fff,
   0 0 0 5px #242D39;
   background:#fff;
}

.modal-open {
    padding-right: 0 !important;
}

.fade-scale.show,.modal-dialog{
  transition:all 1s;
}
.modal-backdrop.show {
    opacity: .9;
}
#modalcarousel .modal-content{
  background-color:rgba(0,0,0,0);

}
.modal-dialog{
  top:-15%;
}


#masthead .navbar-brand{
  display:block;
  width:100%;
  text-align:center;
  padding:31px 0 29px 0;
  position:relative;
  margin-bottom:7px;
  height:103px;
}
#masthead .navbar-nav{
  justify-content: space-between;
  padding:5px 0 12px;
  width:100%;
  text-transform:uppercase;
}

.menu-toggler{
  display:none;
}
#masthead .dropdown-menu {
  min-width: 0;
}
#masthead  li#menu-item-112 > .dropdown-menu{
  min-width:216px;
}

#masthead .navbar-nav > li:hover  {
  z-index:11;
}



#masthead .dropdown-menu {
    display: none;
}
#masthead .dropdown-menu.show {
    display: block;
}


@media only screen and (min-width: 1024px) {
  #masthead .navbar-nav > li:hover > .dropdown-menu {
  display: block;
  }
}
#masthead .navbar-nav li > .dropdown-menu li:hover .dropdown-menu {
    left: 190px;
    top: 0;
    display: block;
}




body:not(.theme-preset-active) #masthead .navbar-nav > li > a  {
  color: #242D39;
  font-weight:600;
  font-size:0.97rem;
  transition: 300ms;
  padding: 8px 2px;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li.active > a {
  color: #4d5a69;
}
#masthead .navbar-nav > li > a:hover {

}
#masthead .navbar-nav li:hover > a {
    color: #EE142B !important;
}

#masthead .dropdown-menu {
  border:none;
  border-left:1px solid #333;
  left:-8px;
  top:0.6em;
  padding-top:25px;
  text-transform:none;
  z-index:-1;
  border-radius:0;
  box-shadow:  3px 4px 6px 0 rgba(0,0,0,.12);
}


#masthead .dropdown-menu .dropdown-item {
  padding:3px 10px;
  font-size:0.83rem;
  font-weight:300;
  min-width:12em;
}
#masthead #menu-sections > .menu-item > .nav-link:after{
  display:none;
}
#masthead ul.dropdown-menu li:hover > a.dropdown-item{
  color:#333 !important;
  text-decoration:underline !important;
  background:none;
}

#masthead button.mcgill,#masthead .reporter-search{
  position: absolute;
  font-weight:600;
  font-size: 0.78rem;
  border:1px #444 solid;
  margin-top:-1px;
  transition:200ms;
  color:#333;
  background:none;
}
#masthead button.mcgill{
  left:2px;
  top:0;
  padding: 8px 15px 7px 30px;
  background-image: url('img/header-arrow-thin-left.png');
  background-repeat: no-repeat;
  background-position: 11px 11px;
}

#masthead button.mcgill:hover{
  background-image: url('img/header-arrow-thin-left-hover.png');
  border:1px #EE142B solid;
  color:#EE142B;
}
#masthead button.mcgill.mcgill-mobile{
  position:relative;
  display:none;
}


#masthead .reporter-search{
  right:2px;
  top:0;
  background:url('img/header-search.png') no-repeat center;
  width:35px;
  height:35px;
}
#masthead .reporter-search:hover{
  background:url('img/header-search-hover.png') no-repeat center;
  border:1px #EE142B solid;
}



body {
  font-family: "McGill Sans Regular", sans-serif;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "McGill Serif Regular", serif;
  margin: 0;
}


.image{
  width:100%;
  padding-top:51.5%;
  margin-bottom:10px;
  overflow:hidden;
  position: relative;
  background-position:center;
  background-repeat:no-repeat;
  /* background-size:100%; */
  background-size:cover;
}
/*  optional - content over image*/
.imagecontent {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.entry-meta {
  font-family: "McGill Serif Regular", sans-serif;
}
.section a{
  display:inline-block;
  margin:0 7px 11px 0;
  padding:3px 0 2px 0;
  line-height:1.3em;
  font-size:0.85rem;
  font-weight:300;
  color:#555;
  text-decoration:none;
  text-transform:uppercase;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.entry .section{
  display:inline;
}

/* section colors */


.color a{
  color:#132B50;
  border-top: 1px solid;
  border-bottom: 1px solid;
  transition: border-color color 250ms ease;
  border-color:#fff;
}
.color a:hover{
  border-color:#EE142B !important;
}


/*  urgent */
.color a.urgent{
  color:#ED1C24 !important;
}
.bord a.urgent{
  border-color:#ED1C24 !important;
}

/*  headline news */
.color.sct2 a{
  color:#132B50;
}
.bord.sct2 a{
  border-color:#132B50;
}

/*  research */
.color.sct8 a{
  color:#394B38;
}
.bord.sct8 a{
  border-color: #394B38;
}

/*  Arts and Culture */
.color.sct19 a{
  color:#5A6F9A;
}
.bord.sct19 a{
  border-color:#5A6F9A;
}

/*  athletics */
.color.sct23 a{
  color:#047298;
}
.bord.sct23 a{
  border-color:#047298;
}

/*  kudos  */
.color.sct12 a{
  color:#0082AE;
}
.bord.sct12 a{
  border-color:#0082AE;
}

/*  sustainability */
.color.sct16 a{
  color:#58724F;
}
.bord.sct16 a{
  border-color:#58724F;
}

/*  french side */
.color.sct30 a{
  color:#376F75;
}
.bord.sct30 a{
  border-color:#376F75;
}

.entry-content{
  font-family: "McGill Serif Regular", serif;
  margin:0;
  font-size:0.86em;
  font-weight:400;
  margin-top:-2px;
  margin-bottom: 0;
}

h3{
  font-size:1.13rem;
  font-weight:700;
  margin-bottom:0.5rem;
  line-height:1.32em;
}

.date{
  font-size:0.86rem;
  text-transform:uppercase;
  font-weight:300;
  margin-top:0.5em;
  margin-bottom:0;
  color: #4c556b;
}
#topstory h3{
  font-size: 2.22em;
  margin-bottom:15px !important;
  font-weight:400;
  line-height:1.1em;
  letter-spacing:-0.07rem;
}
#topstory .entry-content {
  font-family: "McGill Sans Regular", sans-serif;
  font-size:0.85rem;
  font-weight:600;
  line-height:1.55em;
}

#topstory {
  border-right:1px solid #CFD6DE;
}

#topstory .topimage{
  margin-bottom:10px;
}

#topstories .row .col:first-child > article{
  border-bottom:1px solid #CFD6DE;
  margin-bottom:15px;
  padding-bottom:10px;
}

#feature{
  text-align:center;
  padding-bottom:0.5em;
  padding-top:24px;

}
#feature .image{
  margin:0 auto;
  width: 82%;
  padding-top: 82%;
  border-radius:50%;
  /* background-size:200%; */
  margin-bottom:10px;
}

#feature .section a{
  float:none;
}

#feature .feature-header{
  margin-bottom:20px;
  font-style:italic;
  font-family: "McGill Serif Regular", serif;
}

#feature h2{
  display: table;
  white-space: nowrap;
  font-size:1.26rem;
  font-style:italic;
  padding:0 15px;
  margin-bottom:3px;

}

#feature div.feat-subtitle{
  font-size:1.26em;
}

#feature .feat-title{
  font-weight:600;
}
#feature div.feat-subtitle{
  display:none;

}
#feature .feat-title {
  font-weight:700;
  padding-left:47px;
  background-image: url('img/icon-feature.png');
  background-repeat: no-repeat;
  background-position: center left;
}

#feature h2:before,#feature h2:after {
  border-top: 1px solid #0B0808;
  content: "";
  display: table-cell;
  position: relative;
  top: 0.73rem;
  width: 45%;
}
#feature h2:before {
  right: 1.5%;
}
#feature h2:after {
  left: 1.5%;
}

#newsmain .article{
  padding-bottom:10px;
}
#newsmain .sep, #newsmore .sep{
  position:absolute;
  bottom:0;
  border-bottom:1px solid #CFD6DE;
  width:100%;
}
#newsmain .article .sep{
  width: 92.5%;
}
#newsmain .article:nth-child(3) .sep,#newsmain .article:nth-child(4) .sep{
  margin: 0;
}
#newsmain .article:nth-child(3),#newsmain .article:nth-child(4){
  padding-top:16px;
}

#newsmain .article:first-child,#newsmain .article:nth-child(3){
  border-right:1px solid #CFD6DE;
}


#newsmore .article{
  margin-top:15px;
  padding-bottom:1px;
}

#newsmore .image{
  float:left;
  width:36%;
  margin:0 1em 15px 0;
  padding-top:19.8%;
  /* background-size:110%; */
  display:block;
  overflow:hidden;
}

#newsmore .entry{
  overflow:hidden;
}


.date{
  color: #4c556b;
}

#newsmore .date{
  margin-bottom:11px;
}
#newsmore .sep{
  width:95.5%;
}
.more{
  text-align:center;
  margin-top:30px;
}
.btn-more{
  text-align:left;
  background:none;
  border-radius:0;
  border: 1px solid #9E0210;
  color:#9E0210;
  font-size: 1.2rem;
  font-weight:600;
  padding:5px 16px 5px 18px;
  min-width:8.11em;
}
.btn-more:hover{
  border: 1px solid #ED1C24;
  color:#ED1C24;
}
.btn-more .arrow{
  font-size:0.96rem;
  margin-left:11px;
  font-weight:400;
}
#more_articles article{
  opacity:0;
}

/* Curator.io - twitter+instagram feeds */

.crt-widget-grid.crt-grid-col1 .crt-grid-post{
  max-height:260px;
}
.crt-grid-post-v2 .crt-grid-post-image{
  max-height:260px;
}
.crt-grid-post-v2 .crt-post-hover{
  max-height:260px;
}

.crt-post-hover > div{
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#curator-feed{
  background:#EEF1F4;
}
.crt-grid-post-v2 .crt-post-hover .crt-post-content-text{
  font-family: "McGill Serif Regular", serif!important;
  font-size:0.76rem !important;
  line-height:1.4em !important;
  color:#000;
  padding-bottom: 5px !important;
}
.crt-grid-post-v2.crt-post-no-image  .crt-post-hover .crt-post-content-text a{
  text-decoration:underline;
}
.crt-post-c{
  margin-right:1px;

}
.crt-post-header{
  font-size:0.9rem;
}
.crt-icon-twitter{
  font-size:1.5em !important;
}
.crt-post-hover{
  visibility:visible !important;
  border:1px solid #EEF1F4;
  background-color: #EEF1F4 !important;
}
.crt-post-has-image .crt-post-hover{
  background-color:rgba(255,255,255,0.84) !important;
  transition: visibility 0s, opacity 0.1s linear;
}
.crt-post-has-image .crt-hitarea:hover > .crt-post-hover  {
  opacity:0 !important;
}
.crt-post-has-image .crt-hitarea:hover > .crt-post-hover > .crt-post-content-text {
  visibility:hidden !important;
}

.crt-grid-post-v2 .crt-post-hover{
  opacity: 1 !important;
}
.crt-social-icon{
  margin-bottom:5px !important;
}
.crt-post-username,.crt-post-share,.crt-post-userimage,.crt-social-icon-normal,.crt-grid-post-text{
  display:none !important;
}

.crt-post-footer{
  background:none !important;
  border:none !important;
  position:relative !important;
}

.crt-feed.crt-feed-branded {
    padding-bottom: 0 !important;
}

.crt-post-content-text{
  max-height:115px;
  overflow: hidden;
}
.crt-post-content-text{
  position:relative;
  height:100%;
}

.crt-date{
  font-size:0.9rem !important;
  font-weight:300;
  opacity:1 !important;
  position:relative;
  bottom:0;
}


.crt-feed-window{
  height:1550px !important;
}

#curator-feed .heightrick.crt-post-c{
  width:66.5% !important;
}
#curator-feed .crt-grid-post-v2 img.crt-spacer{
  height:14.24% !important;
}

.crt-grid-post-v2 .crt-post-header{
  padding-top:15px !important;
}

@media only screen and (max-width: 1280px) {
  .crt-feed-window{
    height:1550px !important;
  }
  .crt-post-header{
    padding-top:15px !important;
  }
}
@media only screen and (max-width: 1024px) {

  .crt-post-content-text{
    max-height:118px;
  }

}

@media only screen and (max-width: 990px) {
  .crt-feed-window{
    height:1240px !important;
  }
  .crt-post-header{
    padding-top:15px !important;
  }
  .crt-post-content-text{
    max-height:110px;
  }


  .crt-post-header{
    font-size:0.7rem !important;
    padding-top:10px !important;
  }
  .crt-post-fullname{
    margin-bottom:0 !important;
  }
  .crt-post-content-text{
    padding-left:5px !important;
    padding-right:5px !important;
  }
  .crt-date{
      font-size:0.7rem !important;
  }
#masthead .reporter-search{
  border:0;
}
#masthead .reporter-search:hover{
  border:0;
}

}


@media only screen and (max-width: 768px) {

  .crt-feed-window{
    height:780px !important;

  }
  .crt-post-content-text{
    max-height:115px;
    overflow: hidden;
  }
  #feed-mobile {
    margin:20px 0 10px 0;
  }
  .crt-grid-post-v2{
    padding-bottom:30px;
  }
  .crt-grid-post-v2:nth-child(odd){
    padding-right:15px;
  }
  .crt-grid-post-v2:nth-child(even){
    padding-left:15px;
  }
  .crt-social-icon{
    margin-top:25px;
  }

}

.crt-popup-text-body{
  font-family: 'McGill Serif Regular', serif!important;
  font-size:0.92em;
}
.crt-close.crt-icon-cancel:before{
  content: '';
}
.crt-close.crt-icon-cancel{
  height:40px;
  width:40px;
  background:url('img/btn-gallery-close.png') no-repeat center;
}
.crt-close.crt-icon-cancel:hover{
  background:url('img/btn-gallery-close-hover.png') no-repeat center;
}
.crt-icon-right-open:before {
  content: '' !important;
}
.crt-icon-right-open{
  background:url('img/btn-gallery-next.png') no-repeat center;
}
.crt-icon-right-open:hover{
  background:url('img/btn-gallery-next-hover.png') no-repeat center;
}

.crt-icon-left-open:before {
  content: '' !important;
}
.crt-icon-left-open{
  background:url('img/btn-gallery-prev.png') no-repeat center;
}
.crt-icon-left-open:hover{
  background:url('img/btn-gallery-prev-hover.png') no-repeat center;
}


.light-title{
  font-family: 'McGill Sans Regular', sans-serif;
  font-weight:300;
  text-transform:uppercase;
 }


.wp-pagenavi{
  margin-top:2em;
  text-align:center;
}
.wp-pagenavi span{
  border:0;

}
.wp-pagenavi a,.wp-pagenavi span.current{
  border:1px solid #ccc;
  padding:8px 14px;
}
.wp-pagenavi a:hover{
  color: red;  border:1px solid red;
}
.wp-pagenavi span.current{
  border:1px solid red;
  color: red;
}

 /* search results */
 .search-results article{
   max-width:930px;
   padding-top:1em;
   overflow:hidden;
   border-bottom:1px solid #CFD6DE;
 }

 .search-results .entry{
   overflow:hidden;
 }

 .search-results .image{
   float:left;
   width:36%;
   margin:0 1em 15px 0;
   padding-top:19.8%;
   /* background-size:110%; */
   display:block;
   overflow:hidden;
 }

 .search-results .date{
   padding-bottom:15px;
 }



/* pages - post - archive */

article.reporter{
  line-height:1.4em;
}
article.reporter a{
  text-decoration:underline !important;
}

.single article .entry > .row{
  padding-bottom:0.5em;
  margin-bottom:0;

}

.single .entry-content p {
  margin-bottom: 1.4em;
}

.page-header,.single .entry-header{
  text-align:center;
  overflow:hidden;
}
h1, h1.entry-title {
  font-size:2.24em;
  letter-spacing: -0.02em;
  padding:0 8px;
  margin-bottom:0;
  padding-bottom:15px;
  background:#fff;
  margin:0 auto;
  display:inline-block;
}

.strike{
  width:100%;
  background:none;
  position:relative;
  text-align:center;

}
 .stri99 .image{
  border:1px solid red;
  }
.strike h2{
  font-size:1.26rem;
  font-style:italic;
  font-weight:500;
}


.related .date{
  text-align:center;
  margin-bottom:1em;
}
.related .image{
  padding-top: 84%;
  /* background-size: 165%; */
}



.strike h2{
  font-size:1.34rem;
  letter-spacing: -0.02em;
  padding:0 8px;
  margin-bottom:0;
  padding-bottom:15px;
  background:#fff;
  margin:0 auto;
  margin-bottom:10px;
  display:inline-block;  border-bottom:0;
}


.strike h2:before {
  right: 1%;
  border-top: 1px solid #0B0808;
  content: "";
  display: table-cell;
  position: absolute;
  z-index: -1;  /* to be below the parent element */
  top: 0.64em;
  left:1.45%;
  width: 97.2%;
  padding:0 80px;
}
.strike h2:after {
  left: 1%;
}



h1.entry-title {
  border-bottom:0;
}

h1.entry-title:before,h1.page-title:before {
  border-top: 1px solid #0B0808;
  content: "";
  display: table-cell;
  position: absolute;
  z-index: -1;  /* to be below the parent element */
  top: 0.64em;
  left:1.45%;
  width: 97.2%;
  padding:0 80px;right: 1%;

}

h1.entry-title:after,h1.page-title:after {
  left: 1%; right: 1%;
}

.entry-excerpt{

  font-size:1.3em;
  display:block;
  font-style:italic;
  font-family: 'McGill Serif Regular', serif;
  line-height:1.35em;
  padding-bottom:15px;
  margin:0 auto;
}

.container .entry{
    max-width:960px;
}
.single .entry-content{
    padding-bottom:1em;
}
h1.entry-title{
    max-width:676px;
}
.entry-excerpt{
    max-width:730px;
}
.single .wp-caption{
  margin-bottom:1.5em !important;
}
.single .carousel .wp-caption{
  margin-bottom:0 !important;
}

  .single .entry-content h3{
    font-size:1.5em;
    font-weight:600;
    font-family: 'McGill Sans Regular', sans-serif;
  }
  .single .entry-content h4{
    font-size:1.2em;
    font-weight:600;
    font-family: 'McGill Sans Regular', sans-serif;
    margin-bottom: 1.4em;
  }

  .alignleft, .alignright{
      max-width:445px !important;
  }

@media only screen and (min-width: 990px) {
  .single .entry-content p{
      margin:0 96px 1em;
  }


  .single .entry-content li{
      margin:0 96px 0.5em;
  }
  .single .entry-content h1,
  .single .entry-content h2,
  .single .entry-content h3,
  .single .entry-content h4{
      margin:1.5rem 96px 1rem;
      padding:0;
  }
  .single .reporter-comments{
    padding:0 96px;
  }


}

.wp-caption.alignnone, .wp-caption.aligncenter{
  margin:0 auto;
  padding:0.5em 0 0.5em;
}

@media only screen and (max-width: 990px) {
  .alignleft, .alignright{
      max-width:300px !important;
  }
}
@media only screen and (max-width: 576px) {
  .alignleft, .alignright{
      max-width:100% !important;
      width:100% !important;
      margin: 3px 0 1.25rem 0 !important;
  }
  .wp-caption.alignleft img, .wp-caption.alignright img{
      width:100%;
  }
}

.wp-caption.alignleft{
  margin: 15px 30px 1.25rem 0;
  padding:0;
}
.wp-caption.alignright{
  margin: 15px 0 1.25rem  30px;
  padding:0;
}

.wp-caption{
  background:none;
  border:0;
  overflow:hidden;
  max-width:100%;
}
.wp-caption .wp-caption-text{
  text-align:left;
  font-family: 'McGill Sans Regular', sans-serif;
  font-size:0.82rem;
  font-weight:500;
  padding:0.5em 2px;

}


.wp-caption-text .caption-text{
  max-width:700px;
  display:block;
  float:left;
}

.wp-caption-text .caption-details{
  font-weight:400;
  clear:left;
}



.wp-caption-text .photo-credit{
  float:right;display:block;
  margin-left:20px;
  margin-top:1px;
  font-weight:300;
  font-size:0.9em;
}

.entry-meta{
    font-family: 'McGill Sans Regular', sans-serif;
    font-weight:500;
    font-size:0.9em;
    letter-spacing: -0.018em;
    line-height:1.4em;
}

.entry-meta .share{
  font-size:1.24em;
  margin-top:15px;
}
.entry-meta .share .fa-envelope{
 transform: scale(1.25,1);
 font-size:0.90em;
}
.entry-meta .share a{
  margin:0 3px;
  padding:5px;
}

blockquote{
  font-size:1.4em;
  line-height:1.4em;
  padding:10px 0;
  font-style:italic;
  text-align:center;
  margin-bottom:0;
}

blockquote .quote-author{
  display:block;
  clear:left;
  font-family: 'McGill Sans Regular', sans-serif;
  font-style:normal;
  text-transform:uppercase;
  font-size:0.75em;
  font-weight:300;
  margin-top:1em;
}
blockquote .quote-author:before{
   content: "— ";
}


.entry-author{
  font-family: 'McGill Serif Regular', serif;
  margin:0;
  border-top:1px solid #CFD6DE;
  padding:10px 0 7px;
}
.author-name{
  font-weight:600;

}
.author-photo{
  font-size:1.26em;
  text-align:center;
  margin-bottom:0.8em;
  padding-top:12px;
}
.author-photo img{
  border-radius:50%;
  height:130px;
  width:130px;
  margin:0 0 10px;
}
.author-bio p{
  padding:0 !important;
  margin-bottom:0.5em;
}
.author-bio{
    font-size:0.86em;
}
ul.author-links{
  list-style-position:outside;
  list-style-type:none;
  margin-left:1.5em;
  padding-left:1em;
  text-indent:-1.1em;
  margin-top:5px;
}
ul.author-links li{
  padding:3px 0;
 }
ul.author-links li:before {
  content: '\2014\00a0';
 }
ul.author-links .pt_splitter{
   padding-left:1em;
 }

.imagecount{
  display:block;
  float:left;
  font-size:0.88em;
}

.carousel .wp-caption-text{
  min-height:60px;
}

.carousel h3{
  margin-bottom:0.2em;
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
  display: block !important;
}

.imagecount {
  opacity:0;
  margin-bottom:3px;
}
.carousel-item.active .imagecount {
  opacity:1;
  transition: 300ms opacity;
}

.carousel-icon{
  opacity:1;
  height:34px;
  width:34px;
  border:0;
}
.carousel-icon:hover{
  opacity:1;
}
.carousel-icon.open{
  background:url('img/btn-gallery-expand.png') no-repeat center;
  position:absolute;right:0;z-index:444;

}
.carousel-icon.open:hover{
    background:url('img/btn-gallery-expand-hover.png') no-repeat center;
}
.carousel-icon.close{
  background:url('img/btn-gallery-close.png') no-repeat center;
  position:absolute;right:0;z-index:9999;
}
.carousel-icon.close:hover{
  background:url('img/btn-gallery-close-hover.png') no-repeat center;
}


.carousel-control-prev,.carousel-control-next{
  top:8%;
  bottom:15%;
  opacity:1 !important;
  background-repeat:no-repeat;

}
.carousel-control-prev{
  background-image:url('img/btn-gallery-prev.png');
  background-position:10% 45%;
}
.carousel-control-prev:hover {
  background-image:url('img/btn-gallery-prev-hover.png');
}
.carousel-control-next{
  background-image:url('img/btn-gallery-next.png');
    background-position:90% 45%;
}

.carousel-control-next:hover {
  background-image:url('img/btn-gallery-next-hover.png');
}


#reporter-carousel-normal .carousel-control-prev .carousel-icon{
  left:0 !important;
}

.modal .container-fluid .row{
    padding:0 2em;

}
.modal .container-fluid .row #reporter-carousel-modal{
  max-width:1720px;margin:0 auto;
}
#reporter-carousel-modal .carousel-inner,
#reporter-carousel-modal .carouseltitle{
  max-width:1280px;
}
#modalcarousel, #modalcarousel .caption-text{
  color:#bbb;
}
#modalcarousel a{
  color:#ddd;
}

#modalcarousel h3{
  margin:2px 0 !important;
}

#modalsearch .modal-dialog{
  margin-top:300px;
  border:0;
  text-align:center;
}
#modalsearch .modal-content{
  border:0;
}


#modalsearch .search-form .form-control{
  background-color:rgba(0,0,0,0) !important;
  border:0;
  border-bottom:1px solid #444;
  border-radius:0;
  padding:3px 0;
  font-size:0.92em;
}
#modalsearch .search-form .form-control:focus{
  border-color:#EE142B;
  box-shadow: none;
}
#modalsearch .search-form label{
  width:69%;
  margin-right:4%;
}
#modalsearch .search-submit{
  background:url('img/btn-search.png') no-repeat center;
  border-radius:0;
  height:50px;
  width: 50px;
  margin-bottom:11px;
}
#modalsearch .search-submit:hover{
  background:url('img/btn-search-hover.png') no-repeat center;
}

.search-modal-active{
  background:#fff;
  top: 111px;
  opacity:1 !important;
}
.admin-bar .search-modal-active{
  top: 156px;
}


  @media only screen and (min-width: 1280px) {
  #reporter-carousel-normal .carousel-control-prev{
    left:-72px;
  }
  #reporter-carousel-normal .carousel-control-next{
    right:-72px;
  }
  #reporter-carousel-modal .carousel-control-prev {
    left:1%;
  }
  #reporter-carousel-modal .carousel-control-next{
    right:1%;
  }
}

@media only screen and (min-width: 1480px) {
  #reporter-carousel-modal .carousel-control-prev {
    left:6%;
  }
  #reporter-carousel-modal .carousel-control-next{
    right:6%;
  }

}


@media only screen and (max-width: 1280px) {

  #reporter-carousel-modal .carousel-control-prev,
  #reporter-carousel-modal .carousel-control-next{
    width:6%;
  }

  #reporter-carousel-modal .carousel-control-prev {
    left:0;
  }
  #reporter-carousel-modal .carousel-control-next{
    right:0;
  }

  #reporter-carousel-normal .carousel-control-prev {
    left:1%;
  }
  #reporter-carousel-normal .carousel-control-next{
    right:1%;
  }
  #reporter-carousel-normal .carousel-control-prev,
  #reporter-carousel-normal .carousel-control-next{
    width:80px;
  }

}


.carouseltitle {
  margin:0 auto;
  position:relative;
  min-height:25px;
}

.carousel-inner{
  margin:0 auto;
}
.carousel .img {
  clear:both;
}

#reporter-carousel-normal .carousel-inner,
#reporter-carousel-normal .carouseltitle{
  max-width:960px;
}



#reporter-carousel-normal img {
  max-height:620px;
}

.carousel .wp-caption.aligncenter{
  padding-top:0;
}

#wpfront-scroll-top-container {
  z-index:500;
}

#modalcarousel .modal-dialog {
  max-width:1580px;
  padding:0;
}
#modalcarousel .modal-body{
  padding:0;
  padding-left:10px;
}


.modal-dialog {
  top: 0;
}

.carousel .image{
  margin:0;
}





#reporter-carousel-modal .image{
width: 100%;
padding-top: 78vh;
height:auto;

}


#reporter-carousel-normal .image{
width: 100%;
padding-top: 66%;
height:auto;

}



.navsections{
  float:right;
  position:relative;
  left:-50%;
  text-align:center;
}
.navsections ul {
  list-style:none;
  position:relative;
  left:50%;
  padding:0;
  margin:0;
}
.navsections ul li{
  display:inline;
  margin:0 1em;
  padding:3px;
}

.archive #content > .container{
  min-height: 400px;
}

#section-articles:before {
 border-right:15px white solid;
 position:absolute;
 left:0;
 top:10px;
 content:'';
 height:100%;
 z-index:5;
}

#section-articles:after {
 border-right:15px white solid;
 position:absolute;
 right:0;
  top:10px;
 content:'';
 height:100%;
 z-index:5;
}

#section-articles .col{
  /* display: flex; */
  border-bottom:1px solid #CFD6DE;

}
#section-articles .col > article{
  padding-right:15px;
  margin:15px -15px 15px 0;
  border-right:1px #CFD6DE solid;
  /* display: flex; flex-wrap: wrap; */
}

#section-articles .col > article > div{
  /* display: flex;
 flex-direction: column; */
}


#section-articles #more_articles .article{
    border-bottom: 1px solid #CFD6DE;


}
 #section-articles #more_articles .article article{
  border-right:1px #CFD6DE solid;
    margin: 15px -15px 15px 0;

}

footer#colophon{
  background:#242D39 !important;
  color:#ddd !important;
  padding:12px 0 26px 0;
}
footer#colophon ul{
    list-style-type: none;
    margin: 8px 0 8px 0;
    padding: 0;
    font-weight:300;
    font-size: 0.82rem;
}
footer#colophon ul li{
  margin: 1px 0;
}
footer#colophon h5{
  font-weight:400 !important;
  font-size: 1.06rem;
  line-height:1.36em;
  padding: 0;
  margin:0;
  border-bottom:1px solid #CFD6DE;
  display:inline;
}
footer#colophon .soc{
  font-size:0.88em;
}

footer#colophon .soc .fa-facebook-f{
  position:absolute;
  bottom:15px;
    left:4.5em;
}

footer#colophon .soc .fa-twitter{
  position:absolute;
  bottom:15px;
}
footer#colophon .soc .fa-instagram{
  position:absolute;
  bottom:15px;
  left:2.5em;
}

footer#colophon a{
text-decoration:none;
}
footer#colophon a:hover{
color:#fff;
}
footer#colophon a.logo{
  opacity:0.9;
  margin-bottom:2em;
  display:block;
}
footer#colophon a.logo:hover{
  opacity:1;
}
footer .socialmobile{
  float:right;
  margin-left:11px;
  margin-top:4px;
  padding:4px;
  font-size:1.25em;
}
footer .footer-content{

}

@media only screen and (min-width: 768px) {
footer .footer-text{
  position: absolute;
  bottom:29px;
}
}
footer .footer-text{
  font-family: 'McGill Serif Regular', serif;
  font-size: 0.9em;
  line-height:1.3em;
}
footer .footer-text a{
  text-decoration:underline !important;
}
footer .footer-text hr{
  border-top:1px solid #999;
  margin:12px 8px 12px 0;
}
footer .footer-text p{
  margin:0;
}
#comments{
  font-family: 'McGill Serif Regular', serif!important;
  margin-bottom:2em;
  width:100%;
  max-width:930px;
  border-top:1px solid #CFD6DE;

}
#comments .comments-area{
  max-width:740px;
  margin:0 auto;
  padding-top:1em;

}

#comments .card-header,#comments .card-header h5{
    font-family: 'McGill Sans Regular', sans-serif;
    margin-bottom:3px;
}

#comments p{
  font-size:0.82em;
  margin-bottom:1em;
}
#comments .media-body-wrap,
#comments .card-header,
#comments .card-footer{
  background:none;
  border:none;
  padding:0;
}

#comments .comment-content.card-block{
  padding:0;
}

#comments h2{
  font-size:1.27em;
  padding:8px 0 25px;
}
#comments h3{
  font-size:1.13em;
  font-weight:600;
}

#comments .btn-primary{
  border-radius:0;
  border:1px solid #9D0917;
  font-size:0.92em;
  background:#9D0917;
  padding:4px 10px 4px 10px;
  font-family: 'McGill Sans Regular', sans-serif;
  font-weight:600;
  line-height:1.4em;
  margin-top:3px;
}

#comments .btn-primary:hover{
  border:1px solid #EE142B ;
  background-color: #EE142B ;
}
#comments footer{
  margin-bottom:0.6em;
}
#comments .comment-reply-link{
  font-size:0.78em;
  border-radius:0;
  color:#9D0917;
  padding:3px 32px 3px 8px;
  background:url('img/reply.png') no-repeat right;
}

#comments .comment-reply-link:hover{
  background-color:#fff;
}
#comments .avatar{
  border-radius:50%;
}

#comments #comment{
  border:1px solid #333;
  border-radius:0;
  padding:5px 8px;
  font-size:1em;
  margin-bottom:1.6em;
}

#comments .acf-field input[type="text"]{
  font-size:0.84em;
  padding:2px;
  line-height:1.3em;
  width:240px;
  border:1px solid #333;
  margin:3px 0 19px 3px;
  background:#fff;
}
#author, #email, #url{
  border:1px solid #333;
  padding:2px;
  background:#fff;
   width:240px;
}

#comments .acf-input-wrap{
  overflow:visible;
  margin-top:-2px;
  display:inline-block;
}

#comments .acf-label{
  float:left;
  min-width:64px;
  margin: 0 0 5px;
}
#comments .acf-field .acf-label label{
  font-weight:normal;
}
#comments label{
  font-size:0.96rem;
  font-family: 'McGill Sans Regular', sans-serif;
  min-width:64px;
}

#comments .acf-input-wrap input {
  height:auto;
}

#comments .acf-fields.-clear > .acf-field{
  margin:0;
}

#comments a.comment-edit-link{
  color:#9D0917;
  font-size: 0.8em;
}
.comment-form-cookies-consent label{
padding-left:5px;
}


@media only screen and (min-width: 768px) {

  #comments .acf-comment-fields{
    width:50%;
    float:right;
    font-weight:400;
  }
  .comment-form-author,
  .comment-form-email,
  .comment-form-url{
    width:50%;
  }
  .comment-form-email{
    float:left;
  }
  .comment-form-url{
    float:right;
  }
  .comment-form-url,.acf-field{
    padding-left:22px !important;
  }

  #comments .comment-meta{
    float:right;
    margin-top:-1.34em;
    width:30%;
    text-align:right;
  }
  #comments h5{
    width:68%;
  }
}



#masthead #menu-sections > .menu-item.show > a.menu-toggler:before{
  content:'-';
}
#masthead #menu-sections > .menu-item.show{
  color:#EE142B !important ;
}



/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Notebook
--------------------------------------------------------------*/
@media only screen and (max-width: 1280px) {
  html {
    font-size: 100%;
  }
  #newsmore .image {
      width: 32%;
      padding-top: 24%;
      /* background-size: 190%; */
    }
}
/*--------------------------------------------------------------
## Netbook
--------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
  html {
    font-size: 100%;
  }
  #newsmore .image {
     width: 28%;
     padding-top: 24%;
     /* background-size: 190%; */
   }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 990px) {

  html {
    font-size: 96%;
  }
  header#masthead{
    margin-bottom:28px;
  }
  #masthead .navbar-brand{
    text-align:left;
    padding-top:31px;
  }
  #newsmain .article .sep {
      width: 90%;
  }
  #masthead .navbar-toggler{
    position:absolute;
    top:-77px;
    right:0;
    border-radius:0;
    width:45px;
    height:39px;
    background:url('img/btn-header-menu.png') no-repeat center;
    margin-right:0 !important;
  }
  #masthead .navbar-toggler:hover{
    background-image: url('img/btn-header-menu-hover.png');
  }
  #masthead .reporter-search{
    right:60px;
    top:34px;
    width:45px;
    height:38px;
    background:url('img/btn-search.png') no-repeat center;
  }
  #masthead .reporter-search:hover{
    background:url('img/btn-search-hover.png') no-repeat center;
  }
  #masthead button.mcgill{
    display:none;
  }
  .navbar-collapse.show + button.mcgill-mobile{
    display:block !important;
    top:-30px !important;
    left:18px !important;
  }
   #masthead .navbar-nav  {
    margin-left:15px;
    margin-bottom:3em;
    margin-top:12px;
  }
  #masthead .navbar-nav > li > a{
    padding:4px 2px;
  }
  #masthead #menu-sections > .menu-item > a{
    font-size:1.1em;
  }
  #masthead ul#menu-sections {
    max-width: 580px;
    flex-wrap: wrap;
    flex-direction:row;
  }
  #masthead ul#menu-sections >li{
    width:40%;
  }
  #masthead #menu-sections > .menu-item.show > a{
    color:#EE142B;
  }
  #masthead .dropdown-menu{
    position:relative;
    left:3px;
    top:-7px;
    padding:0;
    margin-bottom:15px;
    font-size:1.1rem !important;
    display:inline-block;
    margin-left:0;
    z-index:0;
  }
  #masthead .dropdown-menu .dropdown-item{
    margin:0;
    padding:0;
    padding-bottom: 7px;
    padding-left:10px;
    font-size:16px;
    line-height:1em;
  }
  #masthead ul.dropdown-menu li:hover > a.dropdown-item{
    color:#333 !important;
    text-decoration:underline !important;
  }
  #masthead .dropdown-menu li:last-child > a{
    padding-bottom: 0;
  }
  h1.entry-title{
      max-width:550px;
  }
  #masthead .dropdown-menu {
    box-shadow: none;
  }
  #masthead #menu-sections > .menu-item.show > a{
    color:#EE142B;
  }
  footer#colophon .soc{
      font-size:1.25em;
    }
  footer#colophon .soc .fa-instagram,footer#colophon .soc .fa-twitter{
    bottom:18px;
  }
  footer#colophon .soc .fa-instagram{
    left:2em;
  }
  #topstory {
    border-right:0;
  }
  #topstory .entry-content {
    margin-bottom:15px;
    padding-bottom:15px;
    border-bottom:1px solid #CFD6DE;
  }
  #topstories .row .col:first-child > article{
    border-bottom:none;
    margin-bottom:0;
    padding-bottom:0;
  }
  #feature .image{
    width: 100%;
    padding-top: 100%;
  }
  #newsmore .entry-content{
    display:none;
  }


}

/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 768px) {

  #masthead button.mcgill,#masthead .reporter-search{
    margin-top:0px;
  }
  html {
    font-size: 100%;
  }
  #curator-feed{
    margin-top:2em;
  }
  #masthead #logo_mcgill, #masthead #logo_reporter{
    height:41px;
  }
  header#masthead{
    margin-bottom:20px;
  }
  #masthead .navbar-brand{
    padding-top:33px;
  }
  #masthead .navbar-toggler{
    top:-100px;
    right:0px;
  }
  #masthead .reporter-search{
    top:56px;
    right:1px;
  }
  #masthead .navbar-nav  {
   margin-top:18px;
 }
  #masthead ul#menu-sections {
    max-width: 330px;
    flex-direction:column;
  }
  #masthead ul#menu-sections >li{
    width:100%;
  }
  .menu-toggler{
    display:block;
    float:left;
    position:relative;
    top:-6px;
  }
   #masthead .dropdown-menu{
     margin-left:50px;
     display:none;
     clear:left;
   }
    #masthead #menu-sections > .menu-item > a.menu-toggler:before{
    content:'+';
    position:relative;
    text-align:center;
    height:38px;
    width:38px;
    margin-right:10px;
    border:1px solid #333;
    color:#333;
    line-height:35px;
    display:inline-block;
    font-size:21px;
    font-weight:500;
  }
  body:not(.theme-preset-active) #masthead .navbar-nav > li > a  {
    padding: 4px 2px;
  }

  #feature .feat-title {
    background-image: none;
    padding-left:0;
  }
  #feature .feat-title:before,#feature .feat-title:after{
    display: inline-block;
    content:'';
    height:20px;
    width:18px;
    background-repeat: no-repeat;
    top: 2px;
    position:relative;
  }
  #feature .feat-title:before {
    background-image: url('img/icon-feature-mobile-L.png');
    background-position: center left;
    left:0;
  }
  #feature .feat-title:after{
    background-image: url('img/icon-feature-mobile-R.png');
    background-position: center right;
    right:0px;
  }
  #feature h2:before {
    right: 2.5%;
  }
  #feature h2:after {
    left: 2.5%;
  }
  #feature span.feat-subtitle{
    display:none;
  }
  #feature div.feat-subtitle{
    display:block;
    padding:0 13%;
    line-height:1.3em;
  }
  #newsmore .section {
    padding-top: 10px;
  }
  h1.entry-title{
      max-width:440px;
  }
  .entry-header{
    font-size:0.86em;
  }
  article.reporter .container{
    padding:0;
  }

}


/*--------------------------------------------------------------
## ipad
--------------------------------------------------------------*/
@media only screen and (min-width: 768px) {
  body > .container{
    padding-left:0;
    padding-right:0;
  }
}

@media only screen and (max-width: 525px)  {
  #masthead .navbar-brand{
    padding-top:17px;
    height:110px;
  }
  #masthead #logo_mcgill{
    display:block;
  }
  #masthead #logo_mcgill, #masthead #logo_reporter{
    height:37px;
  }
  #masthead #logo_mcgill{
      margin-bottom:2px;
  }
  #masthead .navbar-toggler{
    top:-105px;
  }
  #masthead .reporter-search{
    top:59px;
  }


}


/*--------------------------------------------------------------
## ipad
--------------------------------------------------------------*/
@media only screen and (max-width: 480px) {
  body > .container{
    padding-left:15px;
    padding-right:15px;
  }
  h1.entry-title{
      max-width:320px;
  }
  .entry-header{
    font-size:0.8em;
  }
  #masthead .header-buttons{
    height:100px;
    display:block;
    width:50px;
    position:absolute;
    right:0;
    border:1px solid red;
  }
  #topstories .row .col:first-child > article{
    border-bottom:1px solid #CFD6DE;
    margin-bottom:15px;
    padding-bottom:10px;
  }
  #newsmore .entry-content{
    display:block;
  }
  .fsection{
    padding:0 20px;
  }
  #feature{
    padding-bottom:0;
  }
  #feature article{
    padding-bottom:1em;
  }
  #feature .image{
    width: 91%;
    padding-top: 91%;
  }
  #newsmore .image{
    float:none;
    width:100%;
    padding-top:60%;
    /* background-size:115%; */
  }
  #newsmore .section {
    padding-top: 0;
  }
  #feed-mobile{
    display:none;
  }
  hr {
    margin-bottom: 1rem;
  }
  .more{
    text-align:left;
  }

}

@media (max-width: 330px) {
  #masthead #logo_mcgill, #masthead #logo_reporter{
    height:29px;
  }
  #masthead .navbar-brand{
    padding-top:21px;
  }
}





@media (min-width: 1200px) {
  body > .container {
/*--    max-width: 1170px;--*/
  }
}

/*--------------------------------------------------------------
## feature hide last on md
--------------------------------------------------------------*/
@media only screen and (max-width: 991px) and (min-width:576px) {
#feature .row .col-6:nth-child(4){
     display:none;
   }
  }






@media (min-width: 990px) {

  .sticky-content{
    position:relative;
    top:170px;
    margin-bottom:170px;
  }
  #masthead.sticky-masthead{
    position:fixed !important;
    top:0px;
    margin:auto;
    width:100%;
    z-index:1000;
  }
  #masthead.sticky-masthead .entete {
    padding:0 !important;
    margin:0 !important;
    margin-bottom:-1px;
  }
  #masthead.sticky-masthead #logo_mcgill, #masthead.sticky-masthead #logo_reporter{
    height:40px;transition:width 1s;
  }
  #masthead.sticky-masthead .navbar{
  }
  #masthead.sticky-masthead .navbar-brand{
    height:58px;
    padding:10px 0 0 0;  transition:height 0.350s;
  }
  .admin-bar #masthead.sticky-masthead{
    top:30px;
  }
  #masthead.sticky-masthead .navbar-collapse{
  background:#fff;
    position:relative;
    margin-top:-2px;
  }
  #masthead.sticky-masthead .navbar-collapse.collapse {
    display: none !important;
    opacity:0;
  }
  #masthead.sticky-masthead .navbar-collapse.collapse.show,#masthead.sticky-masthead .navbar-collapse.collapsing {
    display: block !important;
    opacity:1;
  }
  #masthead.sticky-masthead .navbar-header .collapse, .navbar-toggle {
    display:block !important;
    }
  #masthead.sticky-masthead  .navbar-header {
    float:none;
  }
  #masthead.sticky-masthead  .navbar-nav {
    padding:0;
  }
  #masthead.sticky-masthead button.mcgill{
    top:13px;
    padding: 9px 15px 7px 30px;
  }
  #masthead.sticky-masthead button.reporter-search,
  #masthead.sticky-masthead button.navbar-toggler{
    width:45px;
    height:40px;
    padding:0;margin:0;
    border:0;
    border-radius:0;
  }
  #masthead.sticky-masthead button.navbar-toggler{
    display:block;
    position:absolute;
    top:-55px;
    right:0;
    background:url('img/btn-header-menu.png') no-repeat center;
  }
  #masthead.sticky-masthead button.reporter-search{
    right:55px;
    top:10px;
    background:url('img/btn-header-search.png') no-repeat center;
    border:0;
  }

}


/*
.slb_viewer_layout{
  top:50px !important;
} */
