/* Mobile Nav Menu */

@media (max-width: 992px) {
    #navigation #nav-main h3 {
    padding-top: 80px;
    }
	.pushy {
	bottom: 0;
	height: auto;
	}
}
/* ACCORDION */
.accordionButton a {
	color: white;
	text-decoration: none;
}
#accordion .accordionButton, .accordion .accordionButton {
    font-size: 1.5em;
}

.accordionButton:focus {
    background-color: #000;
}

.accordionButton:hover {
    background-color: #2C303C
}


.accordionContent{
	display: block !important;
}

/* Accordion + symbol */
.accordionButton::after {
    position: absolute;
    right: 1em;
    top: 1.05em;
    -webkit-transition: all .35s;
    -o-transition: all .35s;
    transition: all .35s;
    content: "";
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #FFF;
}
.expanded::after {
    transform: rotate(180deg);
}

a.skip-to-content {
	position: absolute;
    top: -50px;
    left: -200px;
}

a.skip-to-content:focus {
	color: white;
	font-weight: bold;
	left: 20px;
}

em { 
    padding-right: .15em;
}

.news {
  background: rgb(240, 210, 203);
  padding: 12px;
  border: 1px solid #d02127;
}
.news-widget {
    display: inline-block;
}
.clear_floats, .clearf {
  clear: both;
}

.floatc:after {
    content: '';
    display: block;
    clear: both;
}

@media only screen and (max-width: 639px) {
  .float-640 {
    float: none; /* add to float styles that should not float on small screens */
  }
}

.float-container>div.float-l {
    display: inline-block;
    vertical-align: top;
    margin-right: 1em;
    width: 175px;
}

p.accordion-expand-collapse {
    text-align: right;
    background-color: #f8f8f7;;
    padding-bottom: .5em;
    margin-bottom: 0;
}

.cort-white p.accordion-expand-collapse, .accordionContent p.accordion-expand-collapse {background-color: #FFF;}

.accordionButton {clear: both;}

.accordionButton > h2 {
    margin: 0;
    font-size: 1.4em;
}

.accordionContent .accordion .accordionContent:last-child { /* Nested Accordion */
  padding-bottom: 0px; 
  }
/* ============= Main style overrides ================ */
.colBoxedBor a, .r-tabs a {
  text-decoration: underline;
}
a.btn.btn-default {
    text-decoration: none;
}
.breadcrumb>.active {
    color: #525252;
}

/* For photoshelter */
[data-ps-embed-type=slideshow] > iframe {position: absolute;top: 0;left: 0;}

h6 {
  font-size:1em;
  font-family: 'Roboto Condensed',sans-serif;
}

/* ============= A-Z Faculty Listing ================ */
.az-listing {margin:20px auto;}
.az-listing ul {margin:auto; width:95%; border:solid 1px #CCC; border-right:none; border-left:none;}
.az-listing li {display:inline; list-style:none; text-transform:uppercase; margin: 0 1px;}
.az-listing li:first-child {margin-left:8px}
.az-listing li a {text-decoration:none; line-height:25px; padding:0 4px; color:#666;}
.az-listing li a:hover {color:#fff; background:red;}
.az-listing li.active a {font-weight:bold; color:#fff; background:#B91000;}
table.table .odd td {background-color: #F7F0E3;}
table.table .even td {background-color: #FEFCEE;}
.az-listing .pdfExport {width: 95%;height: 16px;margin: 0 auto 10px;}
.az-listing .pdfExport span {float: right;}

@media screen and (max-width: 700px) {
  .az-listing li a {
    line-height: 2.5em;
    padding: 0 1em;
}
}


.img-caption {
  margin: 0;
  display: inline-block;
  padding: 4px;
  margin-bottom: 22px;
  line-height: 1.42857143;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 0;
}

.figfloatr {
  background: #fff;
  display: table;
  padding: .35em;
  box-shadow: 0px 0px 5px #999;
  margin: 0 0 10px 10px;
  float: right;
}
.figfloatl {
  background: #fff;
  display: table;
  padding: .35em;
  box-shadow: 0px 0px 5px #999;
  margin: 0 10px 10px 0;
  float: left;
}

figcaption {
  font-weight: 500;
  padding-top: 10px;
}
.cort-frame figcaption {
    font-size: .95em;
}
.cort-frame figcaption.cort-frame-summary {
    height: auto;
    overflow: visible;
}
.colBoxedBor figure {
    max-width: 300px;
    background: #fff;
    padding: 6px;
    border: 1px solid #e5e5e5;
}

.colBoxedBor figure img {
    width: 100%;
    height: unset;
}

.table-striped>tbody>tr:nth-of-type(odd) {
  background-color: #F4F4F2;
}
/* ============= Accessible color overrides ================ */
.table caption {
    color: #B00B00;
}

.h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small, .h3 small, .h4 .small, .h4 small, .h5 .small, .h5 small, .h6 .small, .h6 small, h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small, h4 .small, h4 small, h5 .small, h5 small, h6 .small, h6 small {
    color: #525252;
}
/* ============= Accessible color overrides ================ */

.btn {
  padding: 10px 12px;
}
.btn-default {
  display: inline-block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  cursor: pointer;
  margin: 10px 0 0;
  padding: 0 10px;
  border: 1px solid #b91000;
  font: normal 1.22em/3em "Roboto Condensed", Helvetica, sans-serif;
  color: rgb(255, 255, 255);
  background: -webkit-linear-gradient(-90deg, rgba(237,16,16,1) 0, #b91000 100%), #b91000;
  background: -moz-linear-gradient(180deg, rgba(237,16,16,1) 0, #b91000 100%), #b91000;
  background: linear-gradient(180deg, rgba(237,16,16,1) 0, #b91000 100%), #b91000;
  -webkit-background-origin: padding-box;
  background-origin: padding-box;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-background-size: auto auto;
  background-size: auto auto;
  -webkit-box-shadow: 0 2px 1px 0 rgba(0,0,0,0.3) ;
  box-shadow: 0 2px 1px 0 rgba(0,0,0,0.3) ;
  text-shadow: 0 1px 2px rgba(145,13,1,1) ;
}

.btn-default.active, .btn-default.focus, .btn-default:active, .btn-default:focus, .open>.dropdown-toggle.btn-default {
  border: 1px solid rgba(180,180,180,0.2);
  background: #a30d00;
  -webkit-box-shadow: 0 3px 0 0 rgba(0,0,0,0.1) inset;
  box-shadow: 0 3px 0 0 rgba(0,0,0,0.1) inset;
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
  color: rgb(255, 255, 255);
}

.btn-default:hover, .btn-default.hover {
  border: 1px solid #b91000;
  background: #b91000;
  -webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,0.11) ;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.11) ;
  -webkit-transition: all 150ms cubic-bezier(0.42, 0, 0.58, 1);
  -moz-transition: all 150ms cubic-bezier(0.42, 0, 0.58, 1);
  -o-transition: all 150ms cubic-bezier(0.42, 0, 0.58, 1);
  transition: all 150ms cubic-bezier(0.42, 0, 0.58, 1);
  color: rgb(255, 255, 255);
}


/* ======== Text over images ========== */

  .wrap {
    /* force the div to properly contain the floated images: */
    position:relative;
    float:left;
    clear:none;
    overflow:hidden;
  }
  .wrap img {
    position:relative;
    z-index:1;
  }
  .wrap .desc {
  display: block;
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  z-index: 2;
  text-align: center;
    font-size: 150%;
    background-color: rgba(16, 8, 8, 0.78);
    line-height: .9em;
    padding: .5em;
}

.wrap a {
    color: #fff;
    text-decoration: none;
}


/* ======== Accepted Students Why Cortland blocks ========== */

.block3 {
  width: 30%; 
  background-color: #fff; 
  border: thin #ccc solid; 
  padding: 6px;
  }
.block2 {
    background-color: #fff;
    border: thin #ccc solid;
    padding: 6px;
    width: 45%;
  }

@media screen and (max-width: 700px) {
  .block3, .block2 {
     width: 100%; 
   }
}

/* ======== Simple 2 column blocks ========== */
@media screen and (min-width: 451px) {
.col2 {
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
}
.col3 {
    -webkit-column-count: 3; /* Chrome, Safari, Opera */
    -moz-column-count: 3; /* Firefox */
    column-count: 3;
}
}
@media screen and (max-width: 450px) {
  .col2, col3 {
    -webkit-column-count: 1; /* Chrome, Safari, Opera */
    -moz-column-count: 1; /* Firefox */
    column-count: 1;
   }
}
.callout {
padding: 10px;
background: #fff;
border: thin solid #ccc;
box-shadow: 3px 3px 3px #ccc;
clear: both;
margin: 10px 20px 10px 0;
max-width: 500px;
float: left;
font-size: 1.25em;
}
 
.callout img {
display: block;
width: 100%;
max-width: 100%;
height: auto;
}


/* ======== Future Students ========== */

.fs-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  }
.fs-list li {
    border-bottom: 1px solid #ccc;
    padding: 6px;
}
/* ======== Flex for staff listings ========== */
.flex-container {
    display: -webkit-flex;
    display: flex;
}

.flex-tmb {
    width: 120px;
    margin: 10px;
}
.flex-text {
    border-left: 1px solid #999;
    padding-left: 10px;
    width: 100%;
    margin: 10px;
}
/* ======== Flex for custom wrapping ========== */
.flex-wrap {
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.flex-no-wrap {
    display: -webkit-flex;
    -webkit-flex-wrap: nowrap;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
}


/* ======== For tel: protocol in links (puts little phone icon before) ========== */

/* ===== Hiding Phone ======

a[href^="tel:"]:before {
    content: "\260E";
    margin-right: 0.25em;
}
======== */

 a[href^="tel:"] {
    font-weight: inherit;
    white-space: nowrap;
    border-bottom: 1px dashed #b00b00;
    padding-bottom: 0;
   }
   
 a[href^="tel:"]:hover {
    text-decoration: none;
   }
   
.cort-gray a[href^="tel:"] {
    text-decoration:  none;
    color: #000
   }
.cort-gray p > a {
    font-weight: 400;
}

/* ============ Tame Headings and Legends ================= */
.lil-header, .lil-legend {
  font-size: 1em;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: bold;
  margin: 0;
  line-height: 1.5;
  border: 0;
}
.cort-event-title.lil-header {
  line-height: 2rem;
  margin: .95rem 0 .5rem 0;
  font-size: .9em;
}
.lil-legend {margin-bottom: 5px;} /* matches margin of bootstrap <input> */

/* ============ Headings instead of divs as Accordion Buttons ================= */
h2.accordionButton, h3.accordionButton, h4.accordionButton, h5.accordionButton, h6.accordionButton {
  margin-top: 0;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.3125em; /* standard h4 size */
  font-weight: 300;
  line-height: 1.45em;
  padding-right: 36px !important;
  }

/* ============ Prevent images and videos from overflowing colBoxedBor ================= */
.colBoxedBor img, .colBoxedBor iframe {
  max-width: 100%;
}

/* ============ Keep images in content at native aspect ratio ============ */
.colBoxedBor img { 
  height: auto;
}
/* ============ No wrap ================= */
.nowrap {
    white-space: nowrap;
}
/* ============ Spaced List ================= */
.spaced-list li {
  margin-bottom: .5em;
}
/* ============ black background in footer ================= */
.cort-footer {
    /*background-color: #000;*/
    /* Overwrite background image */
    background: #000 !important;
	padding-top: 0;
	height: 475px;
}
/* ============ mobile footer bottom spacing fix ================= */
@media only screen and (max-width: 450px) {
	.cort-footer {height: 520px !important;}
	.social img {max-width: 25px !important;}
	.social li {margin-left: 0 !important;}
}
/* ============ Print Styles ================= */
@media print {
	footer.cort-footer, #navigation, .cort-header, .breadcrumb, .cort-logo, #nav-secondary {display: none; height: 0px;}
    .img-responsive {width: 600px;}
    .accordionButton[aria-expanded="true"] {
      border-left: 4px solid red;
      font-weight: bold;
    }
    a[role=button] {
      font-size:small;
      overflow:visible;
    }
    .col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9 {
      float:none;
      width:100%;
    }
    .img-thumbnail {width:100px;}
    .container {width:100%;} /* Prevent safari from overflowing right margin */
}
/* ============ black background audience tabs on homepage ================= */
@media (min-width: 993px) {
    .cort-accordion {
       background-color: #000;
    }
}

/*  ============ Person divs used with auto columns ================= */
.person {
    display: inline-block;
    min-width: 150px;
}
.no-break {
    page-break-inside: avoid; 
    break-inside: avoid;
}


/*  ============ Whole Pica Modular Scale, with added classes for discretionary adjustments ================= */
h1, .h1 {font-size: 2.625em;} /* 42px */

h2, .h2 {font-size: 2.125em;} /* 34px */

h3, .h3 {font-size: 1.625em;} /* 26px */

h4, .h4 {font-size: 1.3125em;} /* 21px */

h5, .h5 {font-size: 1em;} /* 16px */

h6, .h6 {font-size: 1em;}

/*  ============ Remove bold from labels after radio buttons ================= */
input[type="radio"] + label {font-weight: 300;}
input[type="checkbox"] + label {font-weight: 300;}

/*  ============ Interior page carousel slide controls no longer overlapping text ================= */
.cort-slide {
    margin-bottom: 25px;
}
abbr {
    text-decoration: none;
}

/*  ============ Fix .sr-only positioning on safari ================= */
_::-webkit-full-page-media, _:future, :root .sr-only {
  position: fixed;
}

/*  ============ Edit mode - show sr-only links ================= */
#tinymce .sr-only {
    position: relative;
    background: yellow;
    color: #f71134;
    border: 1px dotted red;
    padding: 2px;
}

/*  ============ Edit mode - make large banners more workable ================= */
.cort-carousel-slides-edit-mode {
	height: auto;
} /* make the slides main container larger to accommodate all slides */

.cort-slide-edit-mode {
	height: 80px;
} /* smaller slides are easier to drag around */

/*  ============ Edit mode - make small banners more workable ================= */

.cort-carousel-slides-edit-mode article.cort-slide {
  position: relative !important; 
  opacity: 1 !important;
  margin-bottom: 0 !important;
  height: 80px;
  overflow: hidden;}

/*  ============ Musical Theatre Profiles ================= */
@media (max-width: 445px) {
 .mtBio {
    clear: both;
    padding-top: 1em;
 }
}

/*  ============ Box-model correction for event listings ================= */
.cort-event-short {
    height: 170px !important;
}

/*  ============ Comma separated lists ================= */
.comma-separated-list {
  display: inline;
  list-style: none;
  padding-left: 0;
  line-height: 1.8em;
}

.comma-separated-list li {
  display: inline;
  padding-right: .25em;
}

.comma-separated-list li:after {
  content: ", ";
}

.comma-separated-list li:last-child:after {
    content: "";
}
/*  ============ Formatting for big lists ================= */
.big-list {
	column-count: auto;
	column-width: 20em;
}

.big-list > :first-child {margin-top:0;}

.big-list h2, .big-list h3 {
    border-top: 1px solid #E5E5E5;
    padding-top: .5em;
}

.big-list ul {
	padding-left: 0;
    margin-right: .5em;
}

.big-list ul ul{
	padding-left: 0;
    margin-right: .0;
    padding-bottom: .5em;
    border-bottom: none;
}

.big-list li {
	margin-bottom: .375em;
	list-style-type: none;
}
.big-list li li {
	margin-left: 20px;
    list-style-type: disc;
    margin-bottom: 0;
}
.big-list a {
    text-decoration: dotted;
    text-decoration-line: underline;
    text-underline-offset: 1px;
    text-decoration-thickness: .5px;
    text-decoration-color: #d77d75;
}

/* ============ Mobile Carousel Adjustments ============ */
@media (max-width: 480px) {
#cort-carousel {
    height: 180px;
	padding-bottom: 0;
	background-color: #222;
}

#cort-carousel article.cort-slide .cort-slide-content img {
    height: 134px;
    width: auto;
}

.cort-container {
    padding-top: 20px;
}
}

/* ============ General Mobile Adjustments ============ */
@media screen and (max-width: 450px) {
.full-width-mobile {width: 100%;}
}

/* ============ Embed Responsively CSS ============ */
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } 
.embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ============ Small size adjust in nav to make it color contrast compliant ============ */
#navigation #nav-main > .container > ul > li > a {
  font-size: 19px;
}
/* ============ 21 day challenge new items ============ */
.newItem {
    font-weight: bold;
}

.newItem::before {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f005";
    color: #b91000;
    padding-right: 5px;
}
/* ============ Majors pages columns ============ */
ul.majors-list {
  list-style-type: square;
  color: #555;
  line-height: 2em;
}

.dropdown-menu {
    position: absolute;
    top: auto;
    left: auto;
    }
    
    #twocolproglist {
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
    padding-top:10px;
    }

@media only screen and (max-width: 600px) {
    #twocolproglist {
    -webkit-column-count: 1; /* Chrome, Safari, Opera */
    -moz-column-count: 1; /* Firefox */
    column-count: 1;
    }
    .floatr, .floatl {
		float: none;
		display: block;
	}
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}


/*  ============ Div container for contact staff bio with left-floating photo ================= */
.photo-bio {
    overflow: auto;
    border-bottom: 1px solid #ccc;
    column-count: 3; 
    column-width: 13em; 
    margin-top: 1em;
}
	
.bio-photo, .bio {
  page-break-inside: avoid;
  break-inside: avoid;
  min-height: 180px;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    line-height: 1.5;
}