/* ---  SPECIFICS TO FACULTY --- */

/*article p { font-size: .8rem; }*/

/* Page Title Changes */
.page_title h1 { margin-bottom: 1rem; }

.page_title h1:before{
    content: "";
    position: absolute;
    width: 10%;
    height: 1px;
    bottom: 0;
    left: 45%;
    border-bottom: 5px solid #ce202f;
}

.page_title{
    background-image: none;
    background: none;
}

.preamble-text{
    margin-bottom: 20px;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 1.5625rem;
    font-size: 1rem;
    line-height:1.2rem;
}
p.doublespace { line-height:2.5em; }

/* Change Faculty/Staff Pages from table formatting to div */
.divTable{
    display: table;
    width: 100%;
    border: 1px solid #DDDDDD;
}
.divTableRow { display: table-row; }

.divTableRow:nth-child(even) { background: #f2f2f2; }
.divTableCell, .divTableHead {
  position: relative;
    float: left;
	display: table-cell;
	padding: 8px 8px;
}

.divTableCellRight {
    float: none;
    overflow: hidden;
    word-wrap: break-word;
    padding: 8px 8px;
}

.divTableBody {	display: table-row-group; }

.divTableCellPadded {
  position: relative;
  float: left;
	display: table-cell;
	padding: 3em;
}

/* Reseach Group Stuff */

ul.research-fac-list{
    padding-left: 0px;
    list-style-type: none;
    overflow: hidden;
}

ul.research-fac-list li{
    width: 98%;
    height: 290px;
    margin: 10px;
    border-radius: 2px;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
}

ul.research-fac-list li:hover{
    background:#f2f2f2;
    box-shadow: 0 1px 5px rgba(0,0,0,0.25), 0 3px 5px rgba(0,0,0,0.22);
}

div.research-fac-list{
    padding-left: 0px;
    width: 98%;
    min-height: 290px;
    margin: 10px;
    border-radius: 2px;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
}

div.research-fac-list .row { width: 98%;}

div.research-fac-list ul { padding-left: 1rem; }

div.research-fac-list:hover {
    background:#f2f2f2;
    box-shadow: 0 1px 5px rgba(0,0,0,0.25), 0 3px 5px rgba(0,0,0,0.22);
}

ul.research-fac-list li ul {
    margin-bottom: 1px;
    overflow: visible;
    float: left;
    line-height: 1.2rem;
    width: 65%;
    list-style-type: disc;
}

ul.research-fac-list li ul li {
    margin-bottom: 1px;
    margin-top: 1px;
    height: auto;
    box-shadow: none;
    display: list-item;
}

ul.research-fac-list li ul li:hover {
    /*pointer-events: none;*/
    background: none;
    box-shadow: none;
}

.research-fac-image {
    width:270px;
    height:278px;
    border: solid 1px #cccccc;
    float: left;
    margin-top: 5px;
    margin-right: 30px;
    margin-left: 5px;
}

.research-fac-subtitle a { border-bottom: none; }

.research-fac-subtitle {
    padding-top: 1rem;
    padding-left: 1rem;
}

.research-subheading {
    color: #000000;
    width: 50%;
    font-weight:600;
    font-size: .85rem;
    border-bottom: 2px solid #7c141d;
    padding: .5rem .5rem .5rem 0rem;
}

.research-body-text {
    padding-left: 10px;
    padding right: 10px;
}

/* Research tab images */
.researchTab {
  border: solid 4px #FFFFFF;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  display: inline-block;
  line-height: 0;
  max-width: 100%;
  transition: all 200ms ease-out; }
  .researchTab:hover, .researchTab:focus {
    box-shadow: 0 0 6px 1px rgba(0, 0, 0, 1); }
  .researchTab.radius {
    border-radius: 3px; }

a.cadence-link {
    font-size: .7em;
    text-align: center;
    margin-bottom: 0px;
    padding-bottom:0px;
    text-decoration: none;
    color: #CCC;
}

a.cadence-link:hover { color: #000; }

.cadence-row{
    margin-bottom: 0px;
    padding-bottom: 0px;
}

/* Classes for Capstone page */

.capRow { display: table-row; }

.capImg {
  position: relative;
  float: left;
	display: table-cell;
	padding: 10px 10px;
}

.capBlurb {
    float: none;
    overflow: hidden;
    word-wrap: break-word;
    padding: 10px 10px;
}

.capBlurb p { margin-bottom: 0; }

.capHeading { margin: 0 10 0 10; }

.accordionHeader {
    background-color:#333;
    color:#EEE;
    font-size: .85rem;
    font-weight:400
    font-family: Lato,Helvetica,Arial,sans-serif;
    padding: .5rem 1.25rem .5rem .7rem;
    text-align: left;
}

.redDivider {
    background-color:#be1e2d;
    color:#FFF;
    font-size: 1rem;
    font-family: Lato,Helvetica,Arial,sans-serif;
    padding: .6rem;
    text-align: center;
    letter-spacing: unset;
}

.redText {
    color:#be1e2d;
    margin-bottom: 0px;
    margin-top: 10px;
    line-height: 1;
}

.transitionRow {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 70px;
}

.transitionBox-3 {
    cursor: pointer;
    width: 33%;
    background-color:#be1e2d;
    font-size: 1rem;
    color:#FFF;
    font-weight:400;
    font-family: Lato,Helvetica,Arial,sans-serif;
    padding: .5rem .625rem .5rem;
    text-align: center;
    float: left;
    margin-right: .5%;
    transition: all 0.3s ease;
}

.transitionBox-3:nth-of-type(3n) { margin-right: 0; }

.transitionBox-3:hover { opacity: 0.85; }

.transitionBox-3.active { background: #7c141d; }

.transitionBox-4 {
    cursor: pointer;
    width: 24%;
    background-color:#be1e2d;
    font-size: 1rem;
    color:#FFF;
    font-weight:400;
    font-family: Lato,Helvetica,Arial,sans-serif;
    padding: 0.5rem .625rem .5rem;
    text-align: center;
    float: left;
    margin-right: .33333%;
    transition: all 0.3s ease;
}

.transitionBox-4:nth-of-type(4n) { margin-right: 0; }

.transitionBox-4:hover { opacity: 0.85; }

.transitionBox-4.active { background: #7c141d; }

.transitionBox-2 {
    cursor: pointer;
    width: 49%;
    background-color:#be1e2d;
    font-size: 1rem;
    color:#FFF;
    font-weight:400;
    font-family: Lato,Helvetica,Arial,sans-serif;
    padding: 0.5rem .625rem .5rem;
    text-align: center;
    float: left;
    margin-right: 2%;
    transition: all 0.3s ease;
}

.transitionBox-2:nth-of-type(2n) { margin-right: 0; }

.transitionBox-2:hover { opacity: 0.85; }

.transitionBox-2.active { background: #7c141d; }

.reqsIndent {
    margin-left: 20px;
    margin-top: 0px;
}

.iconImg {
    width: 115px;
    float: left;
    padding: 5px 16px 5px 0px;
}
.iconText {
    padding: 5px 0px 5px 0px;
    vertical-align: middle;
}

.rowTest { width: 100%; }

/* For making div a clickable link on graduate courses page Source: http://stackoverflow.com/a/22074404 */

.feature { position: relative; }

.feature {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-decoration: none; /* No underlines on the link */
    z-index: 10; /* Places the link above everything else in the div */
    background-color: #FFF; /* Fix to make div clickable in IE */
    opacity: 0; /* Fix to make div clickable in IE */
    filter: alpha(opacity=1); /* Fix to make div clickable in IE */
}

.divLink:hover { background-color: #e3e3e3; }

.feature:focus { background-color: #e3e3e3; }

/* Article has a margin only on the right to balance for the left nav layout
   Not using left nav on new ece, rebalanced article (wysiwyg input) margins */
@media only screen and (min-width:59.125em){
    article {
        margin-right: 1.2rem;
        margin-left: 1.2rem;
    }
}

/* remove underline of arrows on orbit slider*/
.orbit-container a { border-style: none; }

/* Seminar Series page */
.seminarDate {
    float: left;
    width: 23%;
    padding-right: 2%;
    padding-left: 10%;
}

.seminarDetails {
    float: left;
    width: 55%;
    padding-right: 10%;
}

.news1 h5 {
    font-size: 1rem;
    color: #333;
    font-weight: bold;
}
.faculty-logo-dept-JH {
  background: url("/_files/images/molecule-only-black.png") no-repeat left top, -webkit-linear-gradient(#292929 0%, #ffffff 80%); /* Safari 5.1-6.0 */
  background: url("/_files/images/molecule-only-black.png") no-repeat left top, -o-linear-gradient(#292929 0%, #ffffff 80%); /* For Opera 11.6-12.0 */
  background: url("/_files/images/molecule-only-black.png") no-repeat left top, -moz-linear-gradient(#292929 0%, #ffffff 80%); /* For Firefox 3.6-15 */
  background: url("/_files/images/molecule-only-black.png") no-repeat left top, linear-gradient(to right, #292929 0%, #ffffff 80%);
}
.home-title-dept-sub {
    font-size:1rem;
    font-style:italic;
    color:#CF1C29;
    text-shadow: none;
    position: relative;
    left: -1.3rem;
    padding: 0.3rem 1.5rem 0.3rem 0.3rem;
    background: rgba(255, 255, 255, 0.6);
}
h1.home-title-dept {
    font-size:2rem;
    line-height: 1em;
    padding-bottom:1em;
    text-shadow: 1px 1px #333333;
}
h1.home-title-dept a {
    border:0;
    color:white;
}
.home-block {padding-top: 1rem;}
.home-block h2, 
.home-block p {margin-bottom: 2rem;}

header .queens-logo { margin-top: 1rem; }

.top-bar { background: linear-gradient(to right, #ce202f 0%, #292929 80%); }

/* landing page hover effect */
.item-img {
    transition:.15s;
    width:100%;
    height:auto
}
.item-img:hover {
    opacity:.85;
    transform:scale(1.05)
}

/* Seminar Series page */
.seminarDate {
    float: left;
    width: 15%;
    padding-right: 2%;
    padding-left: 5px;
}

.seminarDetails {
    float: left;
    width: auto;
    padding-right: 5px;
}

.accordion .accordion-navigation.active>a,
.accordion dd.active>a,
.accordion .accordion-navigation>a:hover,
.accordion dd>a:hover {
    background: #7c141d;
    color: #fff;
    transition: all 0.3s ease;
}
.accordion .accordion-navigation>a,
.accordion dd>a {
    background:#be1e2d;
    color:#fff;
    display:block;
    text-align: left;
    font-size:1rem;
    padding:1rem .5rem 1rem .5rem;
}

.grey-accordion .grey-accordion-navigation>a,
.grey-accordion dd>a {
    background:#EFEFEF;
    color:#222222;
}

.accordion .accordion-navigation>a:before,
.accordion dd>a:before {
    content: '\002B';
    padding-right: .5rem;
    padding-left: .5rem;
    display: inline-block;
    transform-origin: center;
    transition: transform 0.3s ease-in;
}

.accordion .accordion-navigation.active>a:before,
.accordion dd.active>a:before {
    content: '\002B';
    display:inline-block;
    padding-right: .5rem;
    padding-left: .5rem;
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    transform: rotate(225deg);
    transition: transform 0.3s ease-in;
}

.accordion .accordion-navigation>.content,
.accordion dd>.content {
    display:none;
    padding:.9375rem
}
.accordion .accordion-navigation>.content.active,
.accordion dd>.content.active {
    background:#FFF;
    display:block
}

.red-statistic {
    font-size: 2rem;
    color: #be1e2d;
}

.statistic-header {
    font-size: 1.3rem;
    text-align: center;
}

.button-column {
    width: 50%;
    display: flex;
    align-items: center;
    position: relative;
    padding: 5px;
}

@media only screen and (max-width: 42.0625em){
    .button-column {
        width: 100%;
    }
}

.flex-row { width: 100%; }

.flex-row { display: block; }

@media only screen and (min-width: 42.0625em) {
  .flex-row { display: flex; }
}

div.content.active > .flex-row {
    margin-top: -0.9375rem;
    padding-top: 5px;
    padding-bottom: 5px;
}

.red-button {
    border-style: solid;
    text-align: center;
    border-color: #be1e2d;
    color: #be1e2d;
    padding: 5px;
    float: left;
    width: 20%;
    font-weight: 600;
}

.flex-column {
    width: ;
    display: flex;
    position: relative;
    padding: 5px;
}

.flex-third { width: 33%; }

.flex-quarter { width: 25%; }

.email-column {
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 5px;
}

.email-icon {
    width: 30px;
    float: left;
    padding-right: 10px;
}

.fac-image {
    margin-bottom: 5px;
    border:1px solid;
    border-color:#d3d3d3;
}

.transitionRow {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 70px;
}

a.donation-button {
    border-bottom: none;
    border-style: solid;
    text-align: center;
    border-color: #be1e2d;
    color: #be1e2d;
    padding: 10px;
    width: auto;
    font-weight: 600;
}

.donation-button:hover { background-color: #e3e3e3; }

.sub-text {
    width: 100%;
    background-color:#be1e2d;
    color:#FFF;
    font-size: 1rem;
    font-family: Lato,Helvetica,Arial,sans-serif;
    padding: .6rem;
    text-align: left;
    margin-bottom: 5px;
}

/* lab page buttons */
li.lab-button{
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-flex-pack:center;
  -webkit-justify-content:center;
  -moz-justify-content:center;
	-ms-flex-pack:center;
	justify-content:center;

  -webkit-flex-line-pack:center;
	-ms-flex-line-pack:center;
	-webkit-align-content:center;
	align-content:center;

  -webkit-flex-direction:column;
	-moz-flex-direction:column;
	-ms-flex-direction:column;
	flex-direction:column;

  text-align: center;
  font-size: .85rem;
  width:50%;
}

ul.lab-button-container {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-flex-direction:row;
  -moz-flex-direction:row;
  -ms-flex-direction:row;
  flex-direction:row;

  -webkit-flex-wrap:wrap;
  -moz-flex-wrap:wrap;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
  margin-left: 0;
}

li.lab-button a{
  border-bottom: none;
  padding: .8rem;
  color: #000;
}

li.lab-button:hover{
  -webkit-box-shadow: 0 5px 15px 0 rgba(49,49,49,.2);
  box-shadow: 0 5px 15px 0 rgba(49,49,49,.2);
  /* z-index: 10000; */
}

.calendarWrap {
  width:1000px;
  height:900px;
  padding:0;
  position:relative;
  left:0px;
  top:0px;
  overflow:hidden;
}

.calendarFrame {
  width:900px;
  height:900px;
  position:relative;
  left:0px;
  top:0px;
}
@media only screen and (min-width: 59.125em) {
  .calendarFrame {
    -ms-zoom: 0.72;
    -moz-transform: scale(0.72);
    -moz-transform-origin: 0 0;
    -o-transform: scale(0.72);
    -o-transform-origin: 0 0;
    -webkit-transform: scale(0.72);
    -webkit-transform-origin: 0 0;
  }
}

@media only screen and (min-width:40.0625em) {
  .calendarFrame {
    width:900px;
    height:900px;
    position:relative;
    left:0px;
    top:0px;
  }
}

/* fix for sets of columns */
.column + .column:last-child, .columns + .column:last-child, .column +
 .columns:last-child, .columns +
 .columns:last-child { float: left; }

.graduate-subheading{
  color: #000000;
  width: 50%;
  font-weight:600;
  font-size: .85rem;
  border-bottom: 2px solid #7c141d;
  padding: .5rem .5rem .5rem 0rem;
}

.note-text {
  font-size: .7rem;
  text-align: center;
}

/* MC2L Lab Page */
.award-paper { color: #3366ff; }
.rare-paper { color: #9d1939; }

/* RESEARCH LANDING PAGE TESTING */

/* lab image overlay */
.lab-image{
    position: relative;
    transition: all 200ms ease-out;
}

.lab-overlay p {
  font-family: 'Helvetica', sans-serif;
  width: 100%;
  font-weight: 400;
  margin: 0;
  text-align: center;
  position: absolute;
  font-size: 1.4rem;
  line-height: 1.2;
  background: rgb(0, 0, 0); /* fallback color */
  background: rgba(49,49,49,.8);
  text-shadow: #000 0px 3px 20px;
  padding: 10px;
  left: 50%;
  z-index: 99;
  transform: translate(-50%,-100%);
  transition: all 200ms ease-out;
}

.lab-overlay p a {
    color: white;
    all 200ms ease-out;
}

div.lab-image:hover{
  color:white;
  text-decoration: underline;
  opacity: 0.85;
  transform: scale(1.05);
}
nav .top-bar-section ul li > a { font-size: .85rem; }
