/**
 * @file
 * Location and Descriptive Named Styles
 * EX: .header
 */

/**
 *
 * Layout
 *
*/

html {
  font-size: 62.5%;
}

body {
  font-size: @font-size;
  line-height: @line-height;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

#page {
  height: 100%;
  margin: 0;
  padding: 0;
  position:relative;
}

.upper-wrapper {
  height: auto;
  min-height: 100%;
}

#header {
  background-color: @color-bg-header;
  padding-bottom: 18px;
  padding-right: 25px;
  padding-top: 25px;
  position: relative;
  z-index: 12;
  -webkit-box-shadow: 1px -1px 17px -6px rgba(0,0,0,0.6);
  -moz-box-shadow: 1px -1px 17px -6px rgba(0,0,0,0.6);
  box-shadow: 1px -1px 17px -6px rgba(0,0,0,0.6);
}

form {
  label {
    text-align: left;
  }
}

#navigation {
}

#highlighted {
  .block {
    margin-bottom: 0;
  }
}

// BC Add some space between banner and main content and sidebar
.front #highlighted {
    padding-bottom: 5.9rem;
}

#main {
  padding-bottom: 225px;
}

#navbar-administration.navbar-oriented #navbar-bar {
  z-index: 10000;
}

body.navbar-fixed #navbar-administration .navbar-tray-horizontal {
  z-index: 9999;
}

.main-content-wrapper {
  .not-front & {
    .clearfix;
    background: url("../images/bkg-header-interiors.jpg") repeat-x center top transparent;
    padding-bottom: 6.5rem;
    padding-top: 13.3rem;

    @media (max-width: 767px) {
      padding-top: 9.5rem;
    }
  }

  .page-views & {
    background: none;
  }
  .page-views.section-courses & {
    background: url("../images/bkg-header-interiors.jpg") repeat-x center top transparent;
  }

  .not-front.page-events-archive & {
    .clearfix;
    background: url("../images/bkg-header-interiors.jpg") repeat-x center top transparent !important;
    padding-bottom: 6.5rem;
    padding-top: 13.3rem;
  }

  .not-front.page-news-center & {
    background: url("../images/bkg-news-center.jpg") repeat-x center top transparent !important;
    padding-top: 5.3rem;
    overflow: hidden;
  }

  .not-front.page-events-center & {
    background: url("../images/bkg-events-center.jpg") repeat-x center top transparent !important;
    padding-top: 5.3rem;
  }

  .page-events-center.page-events-center-month &,
  .page-events-center.page-events-center-week &,
  .page-events-center.page-events-center-day &,
  .page-events-center.page-events-center-year &,
  .not-front.page-events-center.page-events-center-events-archive & {
    background: none;
  }

  .one-sidebar & {
    @media (min-width: 768px) {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }

  .not-front.subsite & {
    padding-top: 4.5rem;
  }

  .not-front.header-bg-brown & {
     background: url("../images/bkg-header-interiors-brown.png") repeat-x center top transparent;
  }
  .not-front.header-bg-dark-green & {
     background: url("../images/bkg-header-interiors-dark-green.png") repeat-x center top transparent;
  }
  .not-front.header-bg-light-green & {
     background: url("../images/bkg-header-interiors-light-green.png") repeat-x center top transparent;
  }
  .not-front.header-bg-yellow & {
     background: url("../images/bkg-header-interiors-yellow.png") repeat-x center top transparent;
  }
  .not-front.header-bg-orange & {
     background: url("../images/bkg-header-interiors-orange.png") repeat-x center top transparent;
  }
  .not-front.header-bg-red & {
     background: url("../images/bkg-header-interiors-red.png") repeat-x center top transparent;
  }
  .not-front.header-bg-dark-red & {
     background: url("../images/bkg-header-interiors-dark-red.png") repeat-x center top transparent;
  }
  .not-front.header-bg-silver & {
     background: url("../images/bkg-header-interiors-silver.png") repeat-x center top transparent;
  }
}

.sidebar-first {
  #content {
    margin-left: 32%;
    padding: 0;
    width: 68%;

    @media (max-width: 767px) {
      margin-left: 0;
      padding-left: 2rem;
      padding-right: 2rem;
      width: 100%;
    }
  }

  .region-sidebar-first {
    margin-right: -28%;
    padding: 0;
    width: 28%;

    @media (max-width: 767px) {
      margin-right: 0;
      padding: 2rem;
      width: 100%;
    }
  }
}

.region-sub-content {
  clear: both;
}

.footer-outer-wrapper {
  background: url("../images/bkg-footer-pattern.png") repeat-x center top transparent;
  box-sizing: border-box;
  clear: both;
  height: 225px;
  margin-top: -225px;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 30px;
  position: absolute;
  width: 100%;
  @media (max-width: 959px) {
    height: 242px;
  }
  @media (max-width: 638px) {
    background: url("../images/bkg-footer-pattern-mobile.png") center top transparent;
    background-size: cover;
    height: auto;
  }

  .node-type-department &,
  .node-type-landing-page & {
    background-color: @color-footer-outer-wrapper-bg;
  }
}

#footer {
  margin-left: auto;
  margin-right: auto;
  max-width: @width-page;
}

/**
 *
 * Elements
 *
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  color: @color-header;
  font-family: @family-header-font;
  font-weight: normal;
  line-height: 1.2em;
  margin: 0.625em 0;
  a:link {
    color: @color-header;
  }
}
h1 {
  font-size:3.52rem;
  &#page-title,
  &.title {
    font-size: 5rem;
    color: @color-page-title;
    line-height: 1.2em;

    @media @mobile {
      font-size: 3.5rem;
    }
    .front & {
      display: none;
    }
  }

  &#page-title {
    font-family: @family-header-alternate-font;
    margin-bottom: 20px;
  }
}
h2 {
  font-size:3.02rem;
  // BC Added for faculty staff profile
  .professional-title {
    font-size: 2rem;
    line-height: 1em;
  }
}
h3 {font-size:2.52rem;}
h4 {font-size:2.02rem;}
h5 {font-size:1.646rem;}
h6 {
  font-size:1.646rem;
  font-family: @family-light-font;
  margin-block-start: 1.67em;
  margin-block-end: 1.67em;
}

.header-1 {
  font-family: @family-header-font;
}

p {
  &#skip-link {
    margin-bottom: 0;
    position: relative;
    z-index: 999;

    a {
// BC change background color for accessibility
//      background-color: #C7D8D8;
      background-color: #143B87;
      color: #fff;
      display: inline-block;
      padding: 2.5rem;
    }
  }
}

a {
  //background transition
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 0.1rem rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: color, background-color;
  transition-property: color, background-color;

  &:hover,
  &:focus {
    text-decoration: underline;
  }
  &:hover,
  &:focus,
  &:active {
    outline: none;
  }
}

div {
  outline: none;
}
.right-quote {
  float: right;
}

.pull-quote,
blockquote {
  background-color: #ECEBE1;
  font-style: italic;
  margin: 0;
  padding: 20px 25px 5px 50px;
  position: relative;

  &::before {
    background: url("../images/bkg-quote.png") no-repeat 0 0 transparent;
    content: "";
    display: inline-block;
    height: 24px;
    left: 12px;
    position: absolute;
    top: 13px;
    width: 34px;
  }
}

.form-submit,
a.button:visited,
a.button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
.button-style {
  background-color: @color-button-bkg;
  border: 2px solid #ABCAE9;
  border-radius: @radius-button-border;
  color: #fff;
  display: inline-block;
  font-family: @family-header-font;
  font-weight: normal;
  padding: 0.6rem 4rem;
  vertical-align: top;
  -webkit-appearance: none;

  &:hover,
  &:focus,
  &:active {
    background-color: @color-button-bkg-hover;
    border-color: @color-button-bkg-hover;
    text-decoration: none;
  }
}

// Transparent Button Style
a.button-style-trans {
  background-color: transparent;
  border: 2px solid @color-green-link;
  border-radius: 32px;
  color: @color-green-link;
  display: inline-block;
  font-family: @family-header-font;
  font-weight: normal;
  padding: 0.6rem 4rem;
  vertical-align: top;
  -webkit-appearance: none;

  &:hover,
  &:focus,
  &:active {
    background-color: @color-button-bkg-hover;
    border-color: #ABCAE9;
    color: #fff;
    text-decoration: none;
  }
}

hr {
}

html input[type="button"],
input[type="reset"],
input[type="submit"],
button,
.button {
  &.extra-small {
    font-size: 11px;
    padding: 6px 13px;
  }
  &.small {
    font-size: 13px;
    padding: 5px 23px;
  }
  &.regular {
    font-size: 15px;
    padding: 14px 24px;
  }
  &.large {
    font-size: 17px;
    padding: 12px 36px;
  }
  &.extra-large {
    font-size: 20px;
    padding: 16px 25px;
  }

  &:hover {

  }
  &.disabled {
    background: @color-button-disabled-bkg;
  }
  &.success {
    background: @color-button-success-bkg;
  }
  &.error {
    background: @color-button-error-bkg;
  }
  &.warning {
    background: @color-button-warning-bkg;
  }
  &.secondary {
    background: @color-button-secondary-bkg;
  }
}

form {
  input[type='search'],
  input[type='text'],
  input[type='email'],
  .form-textarea,
  textarea,
  .form-text {
    border: 2px solid @color-input-border;
    .no-border-radius;
    box-sizing: border-box;
    color: @color-input-text;
    max-width: 100%;
    padding: .5em;
  }

  .form-item {
    margin: 0.25em 0 2rem;

    label {
      color: @color-input-label;
      font-family: @family-header-alternate-font;
      font-size: 1.5rem;
      font-weight: normal;
      margin-bottom: 0.4rem;
      line-height: 1.2em;
      padding: 0.7rem 0;

      &.option {
        font-weight: @weight-text;
      }
    }

    .form-textarea,
    .form-text {
      border-radius: 0;
    }
  }

  .form-type-checkbox,
  .form-radios {
    label {
      bottom: 3px;
      line-height: 1em;
      margin: 0;
      padding: 0;
      position: relative;
    }
  }
}

input[type="checkbox"],
input[type="radio"] {
  vertical-align: top;
  margin-top: .2em;
  margin-right: .5em;
}

.tabs.primary {
  a {
    color: @color-link-text;
    font-weight: @weight-regular;
    .border-radius(.25em, 0, 0, .25em);

    &.is-active {
      background-color: @color-link-bkg;
    }
  }
}

// Tabs
.ui-tabs {
  border: 0;
  margin-bottom: 2.5rem;
  padding: 0;

  .ui-tabs-nav {
    background: none;
    border: 0;
    border-radius: 0;
    margin-bottom: 0.2rem;
    padding: 0 !important;

    li {
      background: #eeeeee;
      border: 0;
      border-right: 3px solid #ffffff;
      border-radius: 0;
      height: auto !important;
      margin: 0 !important;
      padding: 0;

      a {
        color: #444444;
        font-size: 2rem;
        line-height: 1.2em;
        padding: 1.2rem 5rem;

        &:hover,
        &:focus {
          opacity: 0.7;
        }
      }

      &.ui-tabs-active {
        margin: 0;
        padding-bottom: 0;

        a {
          background: @color-tabbed-paragraph-tab-active;
          color: #ffffff;
          font-family: @family-header-font;
        }
      }
    }
  }

  .ui-tabs-panel {
    margin-top: -2px;
    border: 1px solid #979797;
    border-radius: 0;
    font-size: 1.6rem;
    line-height: 21px;
    padding: 14px 23px 0;

    p {
      color: #535353;
    }

    .ui-tabs-paging {
      display: none;
    }
  }
}

ul.primary li {
  margin-bottom: -1px;
  background: white;

  a,
  a:active,
  a:visited,
  a:link {
    border: 1px solid #BBB;
    border-bottom: 0;
  }
}

.messages {
  font-size: 1.25em;

  h2 {
    margin: 0;
    font-size: 1.5em;
  }
  //error / warning messages
  &.error {

  }
  &.warning {

  }
  &.status {

  }
}

.lead-text {
  font-size: 1.2em;
  line-height: 26px;
}

.nav-quicklinks-sidebar-block {
  width: 100%;

  .quick-link-item,
  ul li,
  nav a {
    &:hover {
      background: @color-link-hover;
    }
    display:block;
    border-bottom:1px solid #dddddd;
    color: @color-font;
    padding:13px 4px;
    width: 100%;
  }
  .fa-chevron-right:before{
    margin-right:10px;
    color: @color-font;
  }
}

/*bullet points*/
/* generic styling for content lists */
/*bullet points*/
/* generic styling for content lists */

//special case for horizontal tabs
.horizontal-tabs ul.horizontal-tabs-list li {
  min-width: 3em;
  list-style: none;
  margin-bottom:0;
  line-height: @line-height;
}

// unordered
ul {
  outline: none;
  &:focus,
  &:active,
  &::-moz-focus-inner {
    outline: none;
  }
  .node.view-mode-full & {
    padding-left: 4rem; // BC changed from 2rem

    li {
      font-size: @font-size;
      line-height:1.45em;  // ACP changed from 1.2em 190419 to be closer to the ol default
      //list-style: disc; // ACP old forced style: leaving comment incase we find it was overwriting
      margin-bottom: .75em; // ACP changed from 0.625em (see above)
     // position: relative;

      // second level
      ul {
        //list-style: disc; // ACP old forced style: leaving comment incase we find it was overwriting
        padding-left: 2.6rem;
        padding-top: 1.4rem;
      }
    }
  }
}

// ordered
ol {
  .node.view-mode-full & {
    padding-left: 1.6rem;
    > li {
      margin-bottom: 1.2rem;
      padding-left: 9px;
    }

    li ul,
    li ol {
      padding-left: 2.6rem;
      padding-top: 1.4rem;
    }
  }
  .node.view-mode-full #toc & {
    padding-left: 2.25rem;
  }
}

.node.view-mode-full #toc ol {
  > li {
    line-height: 1.4rem;
    font-size: 1.4rem;}
}





//custom ul li
ul.tags-field{
  position: relative;
  left: -40px;
  li {
    display: inline-block;
    list-style: none;
    font-size: 0.800em;

    &:before {
      content: "" !important;
    }

    a {
      border-right: 1px solid @color-link;
      padding-right: 3px;
    }
    &:last-child{
      a {
        border:none;
      }
    }
  }
}

.ul-tabs-nav {
  .ui-tabs{
    margin: 0;
    padding: 0px;
    border-radius: 0px;
  }
  ul{
    border: none;
    background: none;
    border-radius: 0px;
    padding: 0 !important;

      li.ui-state-default {
        border-radius: 0px;
        background: #eeeeee;
        border: none;
        font-size: 1.2em;
        font-weight: bold;
      &.ui-state-active {
        background: #485b69;
        color: #ffffff;

        a {
          color: #ffffff;
        }
      }
    }
  }
}

.ui-accordion {
  &.ui-widget .ui-accordion-header, &.ui-widget .ui-accordion-header.ui-state-default{
    &:focus, &:hover {
      background-color: #003075;
      a {
        text-decoration: underline;
      }
    }
    &:focus::after, &:hover::after {
      background-color: rgba(0,0,0,0.2);
    }
  }
  .ui-accordion-header{
    background: #eeeeee;
    border: none;
    border-radius: 0;
    .ui-icon{
      display: none;
    }
    .ui-accordion-header-icon {
      width:20px;
      height:20px;
    }
    .fa-chevron-down {
      display: none;
    }
    .fa-chevron-up {
      display: inline-block;
      position: relative;
      right: 15px;
    }
  }
  .ui-accordion-header-active {
    background: @color-header-accordion;
    border: none;
    border-radius: 0;
    .fa-chevron-up {
      display:none;
    }
    .fa-chevron-down {
      display:inline-block;
      position: relative;
      right: 15px;
    }
    a {
      color: #ffffff;
    }
    .ui-icon {
      display: none;
    }
  }
  .ui-accordion-content-active {
    border-radius : 0;
    border-color: #dddddd;
  }
}

//sidebar ul li reset
ul.menu {
  .clearfix;
  li {
    list-style: none;
    float: left;
  }
}

.item-list ul li {
  margin: 0;
  padding: 0;
}


//tables
table {
  border: 1px solid @color-tables-border;
  tr {
    &.odd,
    &.even {
      border-bottom: 0px none;
    }
    &:nth-child(odd) {
      background: @color-tables-bkg-odd;
    }
    &:nth-child(even) {
      background: @color-tables-bkg-even;
    }
    th {
      background: @color-tables-header-bkg;
      border-bottom: 0px none;
      border-right: 2px solid @color-tables-border;
      padding: 7px 15px;
    }
    td {
      border-right: 2px solid @color-tables-border;
      padding: 7px 15px;
    }
  }
}

//pagination
ul.pagination {
  margin-top: 60px;
  li {
    list-style-type:  none;
    display: inline-block;
    vertical-align: top;

    &:before {
      content: "" !important;
    }

    a {
      background: @color-pagination-bkg;
      border: 2px solid #E8E8E8;
      border-radius: 50%;
      color: @color-pagination-text;
      display: block;
      font-weight: normal;
      line-height: 15px;
      min-width: 40px;
      min-width: 15px;
      padding: 12px;
      text-align: center;

      &:hover {
        background: @color-pagination-bkg-hover;
        border: 2px solid @color-pagination-bkg-hover;
        color: @color-pagination-text-hover;
        font-family: @family-header-alternate-font;
        text-decoration: none;
      }
    }

    &.pagination-current {
      background: @color-pagination-bkg;
      border: 2px solid @color-pagination-bkg-hover;
      border-radius: 50%;
      color: @color-pagination-bkg-hover;
      font-family: @family-header-alternate-font;
      font-weight: normal;
      line-height: 15px;
      min-width: 40px;
      min-width: 15px;
      padding: 12px;
      text-align: center;
    }
  }
}

.breadcrumb {
  margin-bottom: 0.8rem;

  li {
    display: inline-block;
    line-height: 1.2em;
    padding-left: 1rem;

    &:first-child {
      padding-left: 0;
    }
  }

  a {
    color: @color-button-bkg;
    display: inline-block;
    font-size: 1.4rem;
    margin-right: 0.6rem;
    vertical-align: bottom;
  }
}

// Style Guide
.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-justify {
  text-align: justify;
}

.text-nowrap {
  white-space: nowrap;
}

.text-lowercase {
  text-transform: lowercase;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-capitalize {
  text-transform: capitalize;
}

.codeblock {
  margin-bottom: 3rem;
}

pre {
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  color: #333;
  display: block;
  font-size: 13px;
  line-height: 1.42857;
  margin: 0 0 16px;
  padding: 9.5px;
  word-break: break-all;
  word-wrap: break-word;

  code {
    background-color: transparent;
    border-radius: 0;
    color: inherit;
    font-family: monospace,monospace;
    font-size: 0.9em;
    padding: 0;
    white-space: pre-wrap;
  }

  .hljs {
    background: white none repeat scroll 0 0;
    color: black;
    display: block;
    overflow-x: auto;
    padding: 0.5em;
  }
}

img {
  height: auto;
  max-width: 100%;
}

.img-right {
  float: right;
  margin: 0 0 2.5rem 2.5rem;

  @media (max-width: 525px) {
    float: none;
    margin-left: 0;
  }
}

.img-left {
  float: left;
  margin: 0 2.5rem 2.5rem 0;

  @media (max-width: 525px) {
    float: none;
    margin-right: 0;
  }
}

/**
  * WYSIWYG Templates
**/
.pull-quote {
  float: left;
  font-style: normal;
  margin: 0 3rem 3rem 0;
  max-width: 319px;
  padding: 20px 25px 25px 50px;
  width: 319px;

  @media (max-width: 550px) {
    box-sizing: border-box;
    float: none;
    margin-right: 0;
    max-width: 100%;
    width: 100%;
  }
}

.pull-quote.right {
  float: right;
  margin: 0 0 3rem 3rem;

  @media (max-width: 550px) {
    box-sizing: border-box;
    float: none;
    margin-left: 0;
    max-width: 100%;
    width: 100%;
  }
}

.image-caption {
  background: @color-text-bkg;
  display: table;
  float: right;
  margin-left: 1rem;

  img {
    height: auto;
    max-width: 100%;
  }

  @media @mobile {
    float: none;
    margin-left: 0;
  }

  p {
    background: @color-text-bkg;
    display: table-caption;
    caption-side: bottom;
    font-size: 1.3rem;
    padding: 1.5rem;
  }
}
//images with default captions instead
figure.image {
  background: @color-text-bkg;

  figcaption {
    background: @color-text-bkg;
    font-size: 1.3rem;
    padding: 1.5rem;
  }
}

a.back-button,
.back-button-style {
  border-radius: 30px;
  border: 2px solid @color-green-link;
  color: @color-green-link;
  display: block;
  font-family: @family-header-font;
  padding: 0.6rem 1rem;
  text-align: center;

  &:before {
    content: "<";
    padding-right: 5px;
  }

  &:hover,
  &:focus {
    background-color: @color-green-link;
    color: #fff;
    text-decoration: none;

    &:before {
      color: #fff;
    }
  }
}

.content-cta {
  background-color: @color-content-cta-bg;
  color: @color-content-cta-text;
  display: inline-block;

  h3 {
    background-color: @color-content-cta-bg-title;
    border-bottom: 2px solid @color-content-cta-bg-title-border;
    color: @color-content-cta-title;
    margin: 0;
    padding: 1rem 1rem 1.4rem;
    text-align: center;
  }

  p {
    font-size: 1.4rem;
    padding: 1.5rem 2rem;

    &:last-child {
      margin-bottom: 0;
    }
  }
}

.media-youtube-video {
  height: 0;
  margin-bottom: 2.5rem;
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;

	iframe {
  	position: absolute;
  	top: 0;
  	left: 0;
  	width: 100%;
  	height: 100%;
  }
}

@media @tablet {
  .node-landing-page.view-mode-full .container-inline-block {
    &.column-2 > div {
      display: block;
      padding-right: 0;
      width: 100%;
    }
  }
}

@media @mobile {
  .node-landing-page.view-mode-full.container-inline-block {
    &.column-2 > div {
      .content-cta {
        margin-left: 0;
      }
    }
  }
}

/**
 *
 *
 *
*/

.date-field {
  font-size: 0.800em;
  line-height: 16px;
  color: @color-date-field;
  font-style: oblique;
}

.read-more-link {
  &.first {
    float:left;
    span {
      margin-left:7px;
      position: relative;
      top:1px;
    }
  }
  &.second {
    float:right;
    span {
      margin-left:7px;
      position: relative;
      top:1px;
    }
  }
}

.search-results {
  padding-left: 0;

  .search-snippet-info {
    padding-left: 0;
  }
}

// Comments
.comment-form {
  .form-item label {
    font-weight: bold;
    text-align: left;
  }
}

// Slick Styles
/*
.slick img {
  height: auto;
  width: 100%;
}
*/

.slick__arrow {
  .slick-arrow {
    background-color: transparent;
    border: 4px solid #fff;
    border-radius: 50%;
    font-size: 0;
    height: 66px;
    position: absolute;
    top: 22%;
    width: 66px;

    &::after {
      color: #fff;
      content: "\f104";
      display: block;
      font-family: @font-awesome;
      font-size: 57px;
      line-height: 43px;
      margin-bottom: 4px;
      margin-right: 4px;
      text-align: center;
    }

    &:hover,
    &:focus {
      opacity: 0.7;
    }
  }
  .slick-prev {
    left: 0;
    z-index: 9992;
  }
  .slick-next {
    right: 0;
    z-index: 9992;

    &::after {
      content: "\f105";
      margin-right: -6px;
    }
  }
}

.slick-dots {
  bottom: 70px;
  margin: 0;
  padding: 0;
  position: absolute;
  text-align: center;
  width: 100%;
  z-index: 1000;

  li {
    display: inline-block;
    list-style: none;
    margin: 0 4px;
    vertical-align: top;

    &.slick-active button {
      background-color: transparent;
      border: 2px solid #fff;
    }

    button {
      background-color: #fff;
      border: 0px none;
      border-radius: 50%;
      display: block;
      font-size: 0;
      height: 14px;
      width: 15px;
    }
  }
}
// BC fix embedded slideshow heights // mod by ACP for auto height after module update change, we may remove this stuff
.slideshow-embed  {
  .slick--optionset--news-gallery {
    //height: 420px;
    height: auto;
  }
  .slide--0 {
    //height: 420px;
    height: auto;
  }
  .slick--skin--boxed-carousel {
    height: 84px; }
}
// added fix to remove unused margins in p tags
.slick__colorbox p, .slick--colorbox p {
  margin: 0;
}
.slick__colorbox > br:first-of-type {display:none;}


// Flexslider reset
.flexslider {
  border: none;
  box-shadow: none;
  margin: 0;
  padding: 0;

  .flex-direction-nav {
    .flex-next,
    .flex-prev {
      color: #ddd;
      &.flex-disabled {
        opacity: 0;
      }
    }
  }

  &:hover {
    .flex-direction-nav {
      .flex-next,
      .flex-prev {
        opacity: 1;
      }
    }
  }
}

.flex-direction-nav a {
  background-color: transparent;
  border: 4px solid #fff;
  border-radius: 50%;
  font-size: 0;
  height: 66px;
  margin: 0;
  opacity: 1;
  position: absolute;
  top: 45%;
  width: 66px;

  &::before {
    color: #fff;
    content: "\f104";
    display: block;
    font-family: @font-awesome;
    font-size: 57px;
    line-height: 60px;
    margin-bottom: 4px;
    margin-right: 4px;
    text-align: center;
  }

  &:hover,
  &:focus {
    opacity: 0.7;
    text-decoration: none;
  }

  &.flex-prev {
    left: 0;
    z-index: 9992;
  }
  &.flex-next {
    right: 0;
    z-index: 9992;

    &::before {
      content: "\f105";
      margin-right: -6px;
    }
  }
}

//flex slider custom
.flex-control-nav {
  bottom: 70px;
  margin: 0;
  padding: 0;
  position: absolute;
  text-align: center;
  width: 100%;
  z-index: 1000;

  @media @mobile {
    padding-left: 4rem;
  }

  li {
    display: inline-block;
    list-style: none;
    margin: 0 4px;
    vertical-align: top;

    a {
      background-color: #fff;
      border: 0px none;
      border-radius: 50%;
      color: transparent;
      display: block;
      font-size: 0;
      height: 14px;
      width: 15px;
    }
    a:hover,
    a:focus,
    a.flex-active {
      background-color: transparent;
      border: 2px solid #fff;
      height: 11px;
      width: 11px;
    }
  }
}

.flex-pauseplay {
  a {
    bottom: 24px;
    color: #fff;
    margin-left: 5rem;

    @media @mobile {
      margin-left: 1.5rem;
    }

    &::before {
      font-size: 1.4rem;
    }
  }
}


/* IE and EDGE fix for text on multiple slides */
.node-type-landing-page .flexslider .slides li:not(.flex-active-slide) {
  visibility:hidden;
}

.page-news-center {
  #content {
    padding-left: 0;
    padding-right: 0;

    @media (max-width: 1000px) {
      padding-left: 2rem;
      padding-right: 2rem;
    }
  }

  .breadcrumb a {
    color: #fff;
  }

  h1#page-title {
    color: #fff;
  }
  .view-news,
  .ext-news-block {
    h2 {
      font-family: @family-header-alternate-font;
    }
  }
}

.page-events-center {
  ul.tabs-primary {
    display: none;
  }

  &.page-events-center.page-events-center-month,
  &.page-events-center.page-events-center-week,
  &.page-events-center.page-events-center-day,
  &.page-events-center.page-events-center-year {
    ul.tabs-primary {
      display: block;
    }
  }
}

/* News */
.news-gallery,
.thumbnail-gallery {
  .slick__arrow {
    .slick-arrow {
      &::before {
        display: none;
      }
    }
  }
}

.slick-wrapper {
  margin-bottom: 3rem;
}

button#cboxPrevious,
button#cboxNext,
div#cboxCurrent {
  display: none !important;
}

.news-gallery {
  .slick-slider {
    margin-bottom: 0;
    position: relative;
  }
  .slide__caption {
    min-height: initial;
    padding: 0 !important;
  }
  .slide__title {
    background: rgba(0,0,0,0.5);
    bottom: 0;
    color: #fff;
    font-family: @font-family;
    font-size: 1.4rem;
    height: 6rem;
    margin: 0;
    padding: 1rem 2rem;
    position: absolute;
    text-align: left;
    width: 100%;
  }

  .slide__content {
    background: #000;
    //height: 420px;
    text-align: center;

    @media (max-width: 767px) {
      height: auto;
    }
    .slick-media {
      display: inline-block;
      height: 100%;
      vertical-align: middle;
    }
    img {
      display: block;
      height: 100%;
      max-height: 450px;
      vertical-align: middle;
      width: auto;

      @media (max-width: 767px) {
        height: auto;
      }
    }
  }
  .slick__arrow {
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;

    .slick-arrow {
      border: 0px none;
      border-radius: 0;
      height: 140px;
      //height: 46px;
      top: 28%;
      transform: inherit;
      width: 95px;

      &:after {
        background-color: rgba(0, 0, 0, 0.125);
        border: 4px solid #fff;
        border-radius: 50%;
        font-size: 3.8rem;
        height: 43px;
        line-height: 40px;
        margin-left: 17px;
        width: 45px;
      }
    }

    .slick-prev,
    .slick-next {
      margin-top: 0;
    }

    .slick-next {
      //right: 30px;
      right: 0px;

      &:hover,
      &:focus {
        background-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 2%, rgba(0, 0, 0, 0.5) 98%);
      }
    }
    .slick-prev {
      //left: 30px;
      left: 0;

      &:hover,
      &:focus {
        background-image: linear-gradient(-90deg, rgba(0, 0, 0, 0) 2%, rgba(0, 0, 0, 0.5) 98%);
      }
    }
  }

  .slick-media img:after {
    background: rgba(0, 0, 0, 0.5);
    bottom: 6.5rem;
    height: 34px;
    left: auto;
    margin: auto;
    position: absolute;
    right: 1rem;
    top: auto;
    transition: none;
    visibility: visible;
    width: 34px;
  }
  .media-icon--colorbox {
    bottom: 7.5rem;
    height: 34px;
    left: auto;
    margin: auto;
    position: absolute;
    right: 0;
    top: auto;
    width: 34px;

    &:before {
      display: none;
    }

    &:after {
      background: url(/sites/all/themes/custom/ssuedu_theme/images/search.png) center no-repeat;
      content: "";
      height: 34px;
      width: 34px;
      transform: none;
    }
  }
}

.field-name-field-gallery {
  .flexslider {
    .flex-direction-nav {
      li {
        position: absolute;
        top: 50%;
        a {
          height: 60px;
          width: 60px;
          box-sizing: border-box;
          padding-top: 1.2rem;
          opacity: 1;
          display: block;
          border: 3px solid @color-slideshow-arrow-border;
          border-radius: 50%;
        }
      }
      .flex-nav-prev {
        left: 25px;
        .flex-prev {
          left: 0;

          &:before {
            font-family: @font-awesome;
            content: @fa-var-angle-left;
            font-size: 6rem;
            margin-left: 13px;
            margin-top: 5px;
            color: @color-slideshow-arrows;
          }
        }
      }
      .flex-nav-next {
        right: 10px;
        .flex-next {
          right: 0;

          &:before {
            font-family: @font-awesome;
            content: @fa-var-angle-right;
            font-size: 6rem;
            margin-right: 12px;
            margin-top: 4px;
            color: @color-slideshow-arrows;
          }
        }
      }
    }
    .flex-control-nav {
      position: absolute;
      bottom: 5%;
      z-index: 10;

      @media @mobile {
        padding-left: 0;
      }
      li {
        a {
          background-color: #004c97;
          border: 1px solid #000000;

          &.flex-active {
            background-color: transparent;
            border-color: #abcae9;
            border-width: 2px;
          }
        }
      }
    }
  }
}

.thumbnail-gallery {
  background: #e8e8e8;
  padding-top: 1rem;
  padding-bottom: 1rem;

  .slick-slide {
    margin-right: 1rem;
  }

  .slick-slider {
    margin-bottom: 0;
  }

  .slick-current {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    img {
      border: 2px solid @color-button-bkg;
    }
  }

  .slick__arrow {
    .slick-arrow {
      border: 3px solid #a4a4a4;
      height: 28px;
      margin: 0;
      top: 50%;
      width: 28px;

      &::after {
        color: #a4a4a4;
        font-size: 22px;
        margin-top: -11px;
        margin-right: -4px;
      }
    }
    .slick-next {
      right: 17px;
    }
    .slick-prev {
      left: 17px;
      &:after {
        margin-right: 2px;
      }
    }
  }
}

.field-type-addthis {
  display: inline-block;
  padding-top: 0.7rem;

  &:before {
    content: "Share";
    font-family: @family-header-font;
    font-size: 2rem;
    position: absolute;
  }

  .field-items {
    margin-left: 5.3rem;
  }
}

.node-type-blog,
.node-type-article {

  .field-name-field-subheadline-blog,
  .field-name-field-subheadline {
    color: #666666;
    font-size: 2rem;
    line-height: 1.2em;
    margin-bottom: 0.6rem;
  }
  .field-name-field-date-blog,
  .field-name-field-date-news {
    color: #4A4A4A;
    font-size: 1.3rem;
  }

  .field-name-body {
    border-bottom: 2px solid #ABCAE9;
    margin-bottom: 2.5rem;
    margin-top: 3rem;
    padding-bottom: 1rem;
  }

  .field-name-field-tags-news {
    .field-label {
      display: inline-block;
    }
    .field-items {
      display: inline-block;
      div {
        display: inline-block;
        &:after {
          content: ', ';
          padding-right: 2px;
        }
        &:last-child:after {
          content: '';
        }
      }
    }
  }

  .slick-wrapper {
    margin-bottom: 0;
  }

  .slick.news-gallery {
    margin-top: 2.5rem;
  }
}

.group-media-contact {
  background: #E8E8E8;
  float: right;
  font-size: 1.4rem;
  line-height: 1.5em;
  padding: 1.7rem 2rem 1.5rem;
  width: 291px;

  h3 {
    font-family: @family-header-alternate-font;
    font-size: 1rem;
    line-height: 1.2em;
    margin: 0 0 3px;

    .field-group-format-title {
      color: #333333;
      text-transform: uppercase;
    }
  }
  .field-name-field-media-contact-email {
    a {
      color: #333333;
    }
  }
}

.semicolon {
  display: inline-block;
}

/* classes */
.node-type-class {
  .title {
    display: none;
  }
  .field-name-title-field {
    h1 {
      font-family: @family-header-alternate-font;
      font-size: 5rem;
      line-height: 1.2em;
      margin-bottom: 0.5rem;
      margin-top: 0;
    }
  }
  .field-name-field-class-id {
    font-family: @family-header-alternate-font;
    font-size: 5rem;
    margin-bottom: 2rem;
  }
  .field-name-field-class-name,
  .field-name-field-subheadline-course {
    color: @color-subheadline-text;
    font-size: 2rem;
    margin-bottom: 0.7rem;
  }
  .field-items,
  .field-label {
    display: inline-block;
  }
  .group-instructor {
    font-size: 1.5rem;
    line-height: 1.2em;
    margin-bottom: 2rem;
    .field {
      display: inline-block;
    }
    .field-name-field-instructor {
      .field-label {
        font-weight: normal;
      }
    }
    .field-name-field-instructor-id {
      &:before {
        content: "(";
        margin-right: -2px;
      }
      &:after {
        content: ")";
        margin-left: -2px;
      }
    }
  }
  .field-name-field-satisfies-ge {
    .field-item {
      display: inline-block;
    }
  }
  .group-course,
  .group-codes,
  .group-section,
  .group-section-two {
    color: @color-header;
    font-family: @family-header-font;
    font-size: 2rem;
    display: inline-block;
    line-height: 1.4em;
    margin-bottom: 3rem;
    vertical-align: top;
    width: 49.5%;

    @media (max-width: 450px) {
      width: 100%;
    }

    a {
      color: @color-font;
    }

    .field .field-label {
      font-weight: normal;
    }
  }
  .group-times {
    background: @color-text-blue-bkg;
    padding: 1.5rem;
    margin-bottom: 3rem;

    .field {
      display: inline-block;
    }
    .field-name-field-term {
      margin-right: 2rem;
      &:after {
        content: '|';
        padding-left: 2rem;
      }
    }
    .field-type-field-collection {
      .field-item {
        display: inline-block;
      }
      .field-items {
        > .field-item {
          margin-right: 3rem;

          &:last-child {
            margin-right: 0;
          }
        }
      }
      .field-name-field-day {
        font-weight: bold;
        margin-right: 1rem;
      }
    }
  }
  .field-name-field-footnotes,
  .field-name-field-class-footnotes {
    color: #155ba0;
    &:before {
      content: '*';
    }
  }
  .view-footnotes {
    .views-row {
      color: #155ba0;
      margin-bottom: 5px;
      padding-left: 5px;
      position: relative;

      &:before {
        content: '*';
        left: -5px;
        position:absolute;
        top: 2px;
      }
    }
  }
  .node-class {
    margin-bottom: 6rem;
  }
}



/* events */
.node-type-event {
  h1#page-title {
    margin-bottom: 0rem;
  }

  .view-mode-full {
    .semicolon {
      display: none;
    }

    .field-name-field-open-to-the-public {
      font-size: 1.8rem;
      font-style: italic;
      text-transform: none;
    }

    .field {
      margin-bottom: 2rem;

      .field-label {
        font-family: @family-header-alternate-font;
        font-size: 1.2rem;
        font-weight: normal;
        text-transform: uppercase;
      }

      &.field-name-field-admission-fees {
        font-size: 2.6rem;
      }

      &.field-name-field-ticket-url {
        margin-left: auto;
        margin-right: auto;
        width: 150px;

        a {
          background: @color-button-bkg;
          border-radius: 25px;
          border: 2px solid #ABCAE9;
          color: @color-button-text;
          display: block;
          font-family: @family-header-font;
          padding: 0.5rem;

          &:active,
          &:focus,
          &:hover {
            background: @color-button-bkg-hover;
            border-color: @color-button-bkg-hover;
            color: @color-button-text-hover;
            text-decoration: none;
          }
        }
      }

      &.field-name-field-event-categories {
        .field-item {
          display: inline-block;
          &:after {
            content: ",";
            padding-right: 2px;
          }
          &:last-child:after {
            content: "";
          }
        }
      }
      .date-display-range {
        display: inline-block;
      }
    }

    .field-name-field-location-event {
      .field-items {
        font-size: 1.3rem;
        line-height: 1.2em;
      }
    }

    .group-first-column {
      display: inline-block;
      margin-bottom: 1rem;
      width: 70%;

      @media (max-width: 767px) {
        display: block;
        width: auto;
      }
    }
    .group-second-column {
      display: inline-block;
      text-align: center;
      vertical-align: top;
      width: 30%;

      @media (max-width: 767px) {
        display: block;
        width: auto;
      }
    }
    .group-body {
      border-top: 2px solid #ABCAE9;
      margin-bottom: 2rem;
      overflow: hidden;
      padding-top: 3.6rem;

      .field-name-body {
        display: inline-block;
        width: 56%;
        margin-right: 2rem;

        @media (max-width: 767px) {
          display: block;
          width: auto;
          margin-right: auto;
        }
      }
      .field-type-image {
        display: inline-block;
        float: right;
        width: 40%;

        @media (max-width: 767px) {
          display: block;
          float: none;
          width: auto;
        }
        img {
          height: auto;
          width: 100%;
        }
      }
    }

    .group-share {
      clear: both;
    }

    .field-type-addthis {
      display: block;
    }
    .field-name-field-date-events {
      float: right;
      margin-right: 15.9rem;
      margin-top: -6rem;
      .field-label {
        display: none;
      }
      .date-display-single {
        display: none;
      }
      .item-list ul,
      .addtocal {
        border: none;
        border-radius: 0;
        color: @color-school-blue;
        font-family: @family-header-font;
        font-size: 1.4rem;
        line-height: 1.2em;
        margin: 0;
        padding: 0.8rem 1rem;

        &:hover,
        &:focus {
          background-color: @color-school-blue;
          color: #fff;

          &::before {
            color: #fff;
          }
        }
      }
      .addtocal:before {
        content: "\f073";
        font-family: @font-awesome;
        margin-right: 0.5rem;
      }
    }
    a.forward-button {
      background: #efefef;
      color: @color-school-blue;
      font-family: @family-header-font;
      font-size: 1.4rem;
      float: right;
      line-height: 1.2em;
      margin-left: 1rem;
      margin-top: -6rem;
      padding: 0.8rem 1rem;

      &:hover,
      &:focus {
        background-color: @color-school-blue;
        color: #fff;
        text-decoration: none;

        &::before {
          color: #fff;
        }
      }

      &:before {
        content: "\f003";
        font-family: @font-awesome;
        margin-right: 0.5rem;
      }
    }

    @media (max-width: 500px) {
      .field-name-field-date-events,
      .addtocal,
      a.forward-button {
        display: block;
        float: none;
        margin: 2rem;
        text-align: center;
        max-width: 30rem;
      }
    }
  }
}

// Degree / Program

.node-type-degree-program {
  h1#page-title {
    margin-bottom: 0;
  }
  .field-name-field-deg-prog-type {
    color: @color-subheadline-text;
    font-size: 2rem;
    margin-bottom: 3rem;
  }
  .field-name-field-school {
    color: @color-header;
    font-family: @family-header-font;
    font-size: 2rem;
    line-height: 1.2em;
  }
  .field-label {
    font-weight: normal;
  }
  .field-name-field-phone-number {
    margin-bottom: 3rem;
  }
  .node-degree-program {
    margin-bottom: 4rem;
  }
}



//Faculty & staff
.node-faculty-staff {
  .field {
    margin-bottom: 2rem;
  }
  .field-label,
  .fieldset-legend {
    color: @color-header;
    font-family: @family-header-font;
    font-size: 2rem;
    font-weight: normal;
    line-height: 1em;
    text-transform: uppercase;
  }
  .field-label {
    margin-bottom: 0.5rem;
  }
  .field-item ul {
    margin-top: 0;

    li {
      margin-bottom: 0.6rem;
    }
  }

  .field-name-field-position {
    .field-item {
      color: #666666;
      font-size: 2rem;
    }
  }
  .group-details {
    border: none;
    padding: 0;
    margin: 0;
    .field-name-field-picture {
      float: right;
      margin-bottom: 1rem;
      @media (max-width: 1024px) {
        float: none;
      }
    }
    .group-contact {
      border: none;
      float: left;
      margin-bottom: 1rem;
      margin-left: 0;
      padding-left: 0;

      @media (max-width: 1024px) {
        clear: both;
        float: none;
        margin-left: 0;
        padding-left: 0;
        padding-right: 0;
      }

      @media (max-width: 767px) {
        margin: 0;
        padding: 0;
        margin-bottom: 15px;
      }
      .field {
        margin-bottom: 0;
      }
    }
    .group-office-info {
      border: none;
      float: left;
      margin-left: 0;
      padding-left: 0;

      @media (max-width: 1024px) {
        clear: both;
        float: none;
        margin-bottom: 1rem;
        margin-left: 0;
        padding-left: 0;
        padding-right: 0;
      }

      @media (max-width: 767px) {
        margin: 0;
        padding: 0;
        margin-bottom: 15px;
      }
      .field {
        margin-bottom: 0;
      }
    }
  }
  .field-name-field-education {
    clear: both;

    p {
      margin-bottom: 0.2rem;
    }
  }

  .field-name-field-courses-taught-faculty {
    .field-label {
      font-size: 2.2rem;
      line-height: 1.2em;
      margin-bottom: 1.4rem;
      text-transform: none;

      .semicolon {
        display: none;
      }
    }
    .field-name-title-field {
      margin-bottom: 0;

      a {
        background-color: @background-body-sidebar;
        border-bottom: 1px solid #fff;
        color: #333333;
        display: block;
        font-family: @font-family-semibold;
        font-size: 1.4rem;
        line-height: 1.2rem;
        padding: 2.3rem 1.5rem;

        &:hover,
        &:focus {
          background-color: @color-link;
          color: #fff;
          text-decoration: none;
        }
      }
    }
  }
}

//course
.node-type-course {
  h1#page-title {
    margin-bottom: 0.9rem;
  }
}

.node-course {
  .field-name-field-course-id {
    color: #4A4A4A;
    font-size: 2rem;
    line-height: 1.2em;
    margin-bottom: 1rem;

    .field-label {
      display: inline-block;
      font-weight: normal;
    }

    .field-items {
      display: inline-block;
    }
  }

  .field-name-field-course-title {
    font-size: 3rem;
    line-height: 1.3em;
  }

  .field-name-field-units,
  .field-name-field-units-display {
    color: #4A4A4A;
    font-family: @family-header-font;
    font-size: 2rem;
    line-height: 1.2em;
    margin-bottom: 0.4rem;
  }

  .field-name-field-satisfies-ge,
  .field-name-field-components {
    color: #4A4A4A;
    font-family: @family-header-font;
    font-size: 2rem;
    line-height: 1.2em;

    .field-label {
      display: inline-block;
      font-weight: normal;
    }

    .field-items {
      display: inline-block;

      .field-item {
        display: inline-block;
      }
    }
  }
  .field-name-field-prerequisites {
    background: #E2EDF8;
    font-size: 1.5rem;
    line-height: 1.2rem;
    padding: 15px 18px 10px;
    margin: 2.6rem 0 26px;

    .field-label {
      margin-bottom: 1rem;
    }

    .field-items {
      line-height: 1.35em;
    }
  }

  .field-name-field-note {
    color: #007672;
    font-family: @family-header-font;
    font-size: 2rem;
    font-weight: normal;
    margin: 17px 0;
  }

  .field-name-body {
    margin-top: 17px;
  }
}


// BC Add Tags to page title
.page-taxonomy-term {
  #page-title {
    &::before {
      content: "Tags:\00a0 ";
    }
  }
  .node-teaser {
    margin-bottom: 2.3rem;
    .field-name-field-image {
      display: inline-block;
      vertical-align: top;
      margin-right: 15px;
      .field-items {
        .field-item {
          display: none;
          &:first-child {
            display: block;
          }
        }
      }
    }
    .field-name-field-image-event {
      display: inline-block;
      vertical-align: top;
      margin-right: 15px;
      .field-items {
        .field-item {
          display: none;
          &:first-child {
            display: block;
          }
        }
      }
    }
    .group-text-wrapper {
      display: inline-block;
      width: 75%;
      .field-name-title-field {
        font-size: 2rem;
        font-family: @family-header-font;
        margin-bottom: 0.8rem;
        a {
          color: #4A4A4A;
        }
      }
      .field-name-field-date-news {
        font-size: 1.3rem;
        line-height: 1.2em;
        margin-bottom: 0.5rem;
      }
      .field-name-field-date-events {
        font-size: 1.3rem;
        line-height: 1.2em;
        margin-bottom: 0.5rem;
      }
    }
    ul.links {
      display: none;
    }
  }
}

.node-type-landing-page {
  #page {
    .logged-in& {
      position: relative;
    }
  }

  #header {
    background: @color-bg-header-transparent;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;

    @media (max-width: 630px) {
//       padding-top: 0;
    }
  }

  .breadcrumb,
  h1#page-title {
//    display: none;
    display: block; // BC changed default display
  }

  #content {
    padding-bottom: 5.9rem;

    @media (max-width: 767px) {
      padding-bottom: 0;
    }
  }

  .main-content-wrapper {
    .not-front& {
      background: none;
      padding-top: 4.8rem;

      @media @tablet {
        padding-bottom: 0;
      }
    }
  }
}

.node-landing-page.view-mode-full .field-name-body h2:not(.slide__title) {
  color: @color-main-wrapper-h2-color;
  font-family: @family-header-alternate-font;
  margin-top: 0px;
}

.node-type-department {
  .main-content-wrapper {
    padding-bottom: 6.2rem;
  }

  .front& {
    .main-content-wrapper {
      overflow: hidden;
      padding-top: 13.3rem;
    }
  }

  @media @tablet {
    &.not-front .main-content-wrapper {
      padding-top: 1rem;
    }
    .group-banner-wrapper {
      background: transparent;
      background-image: none !important;
      &:before {
        display: none;
      }
      &:after {
        display: none;
      }
      .group-banner-inner-wrapper {
        .field-name-field-banner-title-dept {
          color: #000;
        }
        .field-name-field-banner-sub-title {
          color: #000;
        }
      }
    }
  }
}

.not-front.node-type-department.department-banner {
  .main-content-wrapper {
    background-image: none;
  }
}

.department-banner {
  #page {
    .logged-in& {
      position: relative;
    }
  }

  #header {
    background: @color-bg-header-transparent;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;

    z-index: 20;
  }
}

.department-banner-title {
  .breadcrumb,
  h1#page-title {
    display: none;
  }
}

/**
  * Select 2
**/
.select2-drop-auto-width {
  border: 0px none;
}

.select2-drop-active {
  border-color: #c4bcb7;
  border-radius: 0px;
  border-width: 2px;
  box-shadow: none;
  color: #666666;
}

.select2-container {
  color: #666666;
  font-size: 1.8rem;
  width: 100% !important;

  .select2-choice,
  .select2-selection--single {
    background: #fff;
    border: 2px solid #c4bcb7;
    border-radius: 0px;
    box-sizing: inherit;
    color: #666;
    padding: 0.5rem;

    .select2-arrow,
    .select2-selection__arrow {
      background: none;
      border-left: 0px none;
      border-radius: 0;
      padding-right: 15px;
      right: 7px;
      top: -14px;

      b {
        background: none;
        border: 0px none;

        &::after {
          color: #9B9B9B;
          content: "\f107";
          display: inline-block;
          font-family: @font-awesome;
          font-size: 2rem;
          font-weight: normal;
          line-height: 2.25em;
        }
      }
    }
  }
}

.select2-container--open .select2-dropdown {
  border: 3px solid #d4d3d0;
  border-radius: 0;
  border-top: 0px none;
}

/**
  * UI Widgets
**/

.ui-widget {
  font-family: @font-family;
  font-size: @font-size;
  line-height: 24px;
}

.ui-widget-content {
  color: #333;
}

.ui-state-default,
.ui-widget-content
.ui-state-default,
.ui-widget-header
.ui-state-default {
  background: none;
}

.ui-accordion.ui-widget {
  color: @color-font;
  font-family: @font-family;

  .ui-accordion-icons {
    padding: 10px 15px;
  }

  .ui-state-default,
  .ui-widget-content .ui-state-default,
  .ui-widget-header .ui-state-default,
  .ui-state-active,
  .ui-widget-content .ui-state-active,
  .ui-widget-header .ui-state-active {
    background-color: @color-link;
    border: 0px none;
    color: #fff;
    font-family: @family-header-alternate-font;
    font-size: 1.7rem;
    line-height: 1.2em;
    padding: 2rem 5.5rem;
    text-align: center;

    &:hover {
      background-color: @color-link;

      a,
      a:link,
      a:visited {
        color: #fff;
      }
    }

    a,
    a:link,
    a:visited {
      color: #fff;
      text-transform: uppercase;
    }

    &::after {
      border: 2px solid #fff;
      border-radius: 50%;
      box-sizing: border-box;
      color: #fff;
      content: "\f107";
      font-family: "FontAwesome";
      font-size: 2.1rem;
      height: 2.8rem;
      left: 2rem;
      line-height: 2.5rem;
      margin-top: -1.2rem;
      padding-left: 1px;
      position: absolute;
      text-align: center;
      top: 50%;
      width: 2.8rem;
    }

    span.ui-accordion-header-icon {
      display: none;
      /*background: none;
      border: 2px solid #fff;
      border-radius: 50%;
      height: 24px;
      width: 24px;*/
    }
  }

  .ui-state-active,
  .ui-widget-content .ui-state-active,
  .ui-widget-header .ui-state-active {
    &::after {
      content: "\f106";
      line-height: 2rem;
    }
  }

  .ui-corner-all,
  .ui-corner-bottom,
  .ui-corner-left,
  .ui-corner-bl,
  .ui-corner-top,
  .ui-corner-right,
  .ui-corner-tr {
    border-radius: 0;
  }

  .ui-accordion-content {
    background: #E2EDF8;
    color: @color-font;
    border: 0px none;
    font-size: 1.6rem;
    line-height: 1.5em;
    padding: 2rem 2.5rem 0;
  }
}

/* Cycle and Lesson styles */
.node-cycle {
  .field-name-field-introduction {
    font-style: italic;
    margin: 1em 0
  }
  .cycle-ped {
    display:block;
  }
  .field-name-field-cc-standards ul{
    list-style: none outside none;
    margin:0;
    padding-left: 0;
    li{
      display: inline;
      margin-right: 4px;
    }
    li:before {
      content: "";
      display: none;
      left: unset;
      line-height: normal;
      position: initial;
      top: unset;
    }
  }

  button.cc-standard-trig.modal-trigger:after {
    content: ",";
  }
  button.cc-standard-trig.modal-trigger.cycle-modal-trig:last-of-type:after {
    content: "";
  }

  .field-name-field-cc-standards ul li:last-of-type:after {
    content: "";
  }
  .field-name-field-cycle-info > div.field-items {
    background: #eee;
    padding: 15px;
    border-radius: 10px;
    margin: 1em 0;
  }
  .field-name-field-cycle-info .field-label {
    font-size:inherit;
    margin: 0 1em .5em 0;
  }
  .field-name-field-cycle-info .field-items .field {
    display:inline-block;
    width:43%;
    vertical-align: top;
    margin:0;
    padding-right:15px;
  }
  .field-name-field-cycle-info .field-items div:last-of-type.field {
    width:31%;
  }
  .field-name-field-cycle-info .field-items div:first-of-type.field {
    width:15%;
  }
  .field-name-field-cycle-info i.fa {
    font-size:1.2em;
  }
  .field-cycle-types a:focus i.fa, .node-cycle .field-cycle-types a:hover i.fa {
    text-decoration: underline;
  }
  .field-collection-view .field-label {
    width:initial;
  }
  .field-name-field-cycle-info > div.field-items .field-items, .field-name-field-cycle-info > div.field-items .field-items ul li {
    font-size: .95em;
  }

}
.node-cycle, .node-lesson {
  .field:not(.ui-accordion-header){
    margin: 40px 0;
  }
  .field-label {
    color: #4a4a4a;
    font-family: 'open_sans_condensedbold', Helvetica, Arial, sans-serif;
    font-size: 2.2rem;
    line-height: 1.2em;
    margin: 1em 0;
  }
  /* we may need to add .group-activity-set variant */
  .ui-accordion-content ul li ul {
    margin-top:1em;
    padding: 24px 24px 10px;
    background: #f0f0f0;
    list-style-type: none;
    border-radius: 15px;
    border-bottom: solid 4px #dddddd;
    li:before {
      content:"";
      display:none;
    }
  }

  .ui-accordion.ui-widget .ui-accordion-content {
    background:#fdfdfd;
    border: 2px solid #005794;
    border-top: none;
    padding-top:0;
  }


}

.field-name-field-activity-time .field-item p:before {
  display: inline-block;
  content: "\f017";
  font-family: FontAwesome;
  margin-right: .5em;
  font-size: 1.5em;
  color: #4a4a4a;
}


/* taxonomy styles */
.taxonomy-modal {
  position:fixed;
  min-height:220px;
  min-width:220px;
  max-width:600px;
  width:80%;
  padding:0;
  background:#fff;
  border:2px solid #004c97;
  border-radius:4px;
  z-index:9999;
}
.taxonomy-modal:focus {
  box-shadow:0 0 1px rgba(0,0,0,0.25);
}
.taxonomy-modal-overlay {
  width:100%;
  height:100%;
  display:none;
  position:fixed;
  justify-content:center;
  align-items:center;
  top:0;
  left:0;
  z-index:9998;
  background:rgba(0,0,0,0.13);
}
.active-modal {
  display:flex;
}
.modal-close {
  display:inline-block;
  cursor:pointer;
  float:right;
}
.modal-close:hover {
  text-decoration:underline;
}
.modal-title {
  border-top-left-radius:1px;
  border-top-right-radius:1px;
  color:#fff;
  background:#004c97;
  line-height:1.5em;
  padding:.2em .5em;
  margin:0;
}
.modal-body {
  padding:.5em .75em;
}
button.modal-trigger {
  padding:0;
  border:0;
  margin:0;
  background: transparent;
  color:#005794;
}
button.modal-close {
  border:0;
  background: transparent;
  color:#fff;
}
button.modal-trigger:focus, button.modal-trigger:hover, button.modal-close:focus, button.modal-close:hover {
  text-decoration: underline;
  outline:0;
}

  .ssu-notice {

    color:#fff;

    .block {
      margin:0;
    }
    h1, h2 {
      color:#fff;
    }
    a {
      color: #ffffff;
      text-decoration:underline;
      &:hover {
        color:#efefef;
        text-shadow: 1px 1px 1px rgba(0,0,0,0.45);
      }
    }
    ul, ol {
      display:inline-block;
      text-align:left;
      vertical-align: top;
    }
  }
  .ssu-notice-inner {
    position: relative;
    background-color: #007627;
    border: 3px solid #005d1f;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    font-size: 2.15rem;
    text-align: center;
    z-index: 9000;
    margin:0;
    padding: 1.2rem;

    p {
      margin:1em;
    }

  }


