/* Custom Apereo styles (non-sass)
 * This file is maintained manually for pure simplicity 
 * and is not included among the SASS files.  */

/* FRONTPAGE  */
/* Hide the default slideshow tabs on front page slider */
body.front #tabs {
  display: none;
}
#slider-tabs-content {
  text-align: left;
}
#slider-tabs-content h2 {
  font-size: 1.4em;
  margin: 0 0 0.5em 0 !important;
  line-height: 1.5em;
}
/* Set up the text-only slider */
#block-views-jssor-slider-block-1 .slider-bottom-content {
  display: none;
}
#block-views-jssor-slider-block-1 #jssor-slider {
/*  border-bottom: 1px solid #45494c; */
}
#block-views-jssor-slider-block-1 #jssor-slider .slider_container div {
  padding: 0 1em;
  background-color: transparent;
  color: #f2f2f2;
}
#block-views-jssor-slider-block-1 #jssor-slider .slider_container {
  background: rgb(16, 40, 50) url("https://www.apereo.org/sites/default/files/slider/apereo-slider-bg.jpg") no-repeat scroll left top;
  background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  border-bottom: 1px solid #45494C;
}
#block-views-jssor-slider-block-1 #jssor-slider a {
  color: #B2DEE3;
}
/* turn off text-only slider when too small */
@media only screen and (max-width : 800px) {
  #block-views-jssor-slider-block-1 {
    display: none;
  }
}
/* set the position of the custom tab, and make it 
 * look like the default tabs  */
body.front .region-call-to-action {
  position: relative;
}
body.front #block-block-13 { /* custom-slideshow-tab container  */
  position: absolute;
  bottom: 120px;
  z-index: 200;
  width: 100%;
  text-align: center;
}
body.front #custom-slideshow-tab a {
  font-weight: normal;
  background-color: #eee;
  color: #222;
  border-radius: 4px 4px 0 0;
  line-height: 1.42857;
  padding: 0.8em 1.5em;
  font-size: 1.25em;
  font-weight: 100;
}
body.front #custom-slideshow-tab a:hover {
  text-decoration: none;
  background-color: #e5e5e5;
}
.jssora01r, .jssora01l { /* fix the jssor slideshow arrow widths */
  width: 50px !important;
}
.jssorb01 div { /* make the bullet nav round */
  border-radius: 8px;
}
/* adjust the custom tab on smaller mobile */
@media only screen and (max-width : 572px) {
  body.front #block-block-13 {
    position: static;
  }
  body.front #custom-slideshow-tab a {
    padding: 0.2em 1em 0.3em;
    border-radius: 0;
    display: block;
    background-color: #666;
    color: white;
  }
  body.front #custom-slideshow-tab a:hover {
    background-color: #444;
  }
}
body.front .region-call-to-action div.slider-bottom-content {
  margin-top: 0;
}
body.front #block-apereo-news-apereo-news .field.field-name-field-news-image {
  float: left;
  margin: 1em 2em 1em 1em ;
}
/* MENU OVERRIDES */
.content-menus li li {
  border-bottom: none;
}
/* NAVBAR LAYOUT */
.navbar.container, .navbar.container-fluid {
  margin-top: 0;
}
/* show the logout link */
body.logged-in .user-menu li.last {
  display: block;
  margin-left: -1em;
}
/* SEARCH */
#search-block-form span.icon.glyphicon.glyphicon-search {
  font-size: 0.8em;
}
/* WEBFORMS */
body.node-type-webform .description {
  margin-bottom: 1em;
}
.webform-confirmation {
  margin: 2em;
}
body.node-type-webform input[type="file"] {
  display: inline;
  height: auto;
  width: 60%;
}
/* CONFERENCE LISTING */
#block-views-conferences-block {
  background-color: #efefef;
  margin: 0 -15px;
  padding: 0 30px 30px 30px;
}
#block-views-conferences-block .views-field-title {
  font-size: 30px;
}
#block-views-conferences-block .field-banner-image {
  float: right;
  margin-bottom: 1em;
}
#block-views-conferences-block .field-body {
  padding: 0;
}
#block-views-conference-block .views-row {
  clear: both;
  margin-bottom: 1em;
}
/* CONFERENCE PAGE */
/* The conference page is mobile first - see
 * the media styles toward the bottom of this section */
body.node-type-conference .row-offcanvas nav {
  display: none; /* hide the main nav */
}
body.node-type-conference .main-content-row {
  background-color: #efefef; /* reset heading background */
}
body.node-type-conference .main-content-wrapper {
  padding-top: 1em;
}
body.node-type-conference .breadcrumb {
  display: none;
}
body.node-type-conference h1.page-header::before {
  background-size: auto;
  content: none;
  height: 0;
  margin: 0;
  width: 0;
}
body.node-type-conference h1.page-header {
  color: #0F1E25;
  font-size: 1.4em;
  left: 15px;
  margin: 0;
  padding: 0;
  position: absolute;
  text-shadow: none;
  top: 15px;
  z-index: 2;
}
body.node-type-conference .field-banner-image img {
  margin-top: 1em;
  max-width: 100%;
  min-width: 100%;
}
body.node-type-conference .tab-pane {
  padding: 0;
}
body.node-type-conference .tab-pane h2 {
  font-size: 30px;
  font-weight: normal;
  margin-left: 0;
}
body.node-type-conference .tab-pane img {
  max-width: 100%;
  height: auto;
}
body.node-type-conference .nav-tabs-container {
  border-bottom: 1px solid #ccc;
  text-align: center;
  margin: 1em 0 0 0;
}
body.node-type-conference .nav-tabs-container .nav-tabs {
  border-bottom: none;
  display: inline;
  margin: 0;
}
body.node-type-conference .nav-tabs-container .nav-tabs > li {
  display: block;
  border-bottom: 1px solid #175888;
  float: none;
  margin: 0;
}
body.node-type-conference .nav-tabs-container .nav-tabs a {
  margin: 0;
  background-color: #175888;
  color: white;
}
body.node-type-conference .btn.btn-default {
  background-color: #175888;
  color: white;
  border: 1px solid #175888;
}
body.node-type-conference .btn.btn-default:hover {
  background-color: #f5f5f5;
  color: #222;
  border: 1px solid #ccc;
}
body.node-type-conference .nav-tabs-container .nav-tabs > li.active > a {
  background-color: #fff;
  color: #555;
}
body.node-type-conference .nav-tabs-container .nav > li > a:focus,
body.node-type-conference .nav-tabs-container .nav > li > a:hover {
  background-color: #f5f5f5;
  color: #555;
  border-left: 1px solid #ddd;
  border-top: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom: none;
  text-decoration: none;
}
body.node-type-conference .main-content-row > aside {
  display: none;
}
body.node-type-conference .tab-pane {
  margin: 0 10%;
}
body.node-type-conference .field-schedule-grid-image img {
  min-width: 100%;
  height: auto;
  margin-bottom: 1em;
}
body.node-type-conference .field-venue-image {
  float: right;
  max-width: 40%;
  margin: 2em 0 2em 2em;
}
body.node-type-conference p,
body.node-type-conference li,
body.node-type-conference h4 {
  margin-bottom: 1em;
  line-height: 1.6em;
}
body.node-type-conference .field-meta-content {
  display: none;
}
body.node-type-conference footer {
  padding-top: 0;
  border-top: none;
}
/* Responsive styles for conference page */
/* Small Devices, Tablets - primary break point */
@media only screen and (min-width : 768px) {
  body.node-type-conference .field-banner-image img {
    margin-top: 1em;
    max-width: 75%;
    min-width: 75%;
    margin: auto;
  }
  body.node-type-conference .tab-pane {
    padding: 1em 2em;
  }
  body.node-type-conference .nav-tabs-container .nav-tabs > li {
    display: inline-block;
    border-bottom: none;
  }
  body.node-type-conference .nav-tabs-container .nav-tabs > li a {
    padding: 0.4em 0.8em;
    font-size: 1.1em;
  }
}
/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
  body.node-type-conference .nav-tabs-container .nav-tabs > li a {
    padding: 0.8em 1.4em;
    font-size: 1.25em;
  }
  body.node-type-conference #schedule .right-button {
    float: right;
    margin-top: -3em;
  }
}
body.node-type-conference table {
  width: 100%;
  border: 2px solid #ccc;
}
body.node-type-conference th, 
body.node-type-conference td {
  border: 2px solid #ccc;
  padding: 1em;
  vertical-align: top;
}
/* PAGE SPECIFIC */
/* Friends of Apereo Appeal */
body.page-node-2396 .group-branding h1 { /* paypal test */
  font-size: 2em;
  font-weight: 400;
}
body.page-node-2396 div.header-content .field-image img {
  margin-top: -5% !important;
}
body.page-node-2396.default-layout.not-front h1::before {
  background-image: none;
}
/* dislike being so specific here; could use a clean up to make more general */
body.page-incubation h2.pane-title {
  margin-left: 0;
  color: #0F1E25;
  font-weight: bold;
}
body.page-incubation .panel-panel.right.col-sm-6 {
  background-color: #efefef;
  border-left: 2px solid #0F1E25;
  padding-top: 2em;
}
body.og-context-node-4108 .view-list-people .views-row-2 {
  display: none; /* this is to hide M.Hall from 2018 Apereo Fellows ...temporary  */
}
/* PERSON TABLES / PERSON LISTINGS */
.person-table tr {
  border-bottom: 1px solid #ddd;
}
.person-table td {
  vertical-align: top;
  padding: 2em 0;
}
.person-table h3 {
  color: #444 !important;
  font-size: 1.5em;
  margin: 0 0 0.75em;
  padding: 0;
}
.person-table h2 {
  color: #444 !important;
  font-size: 2em !important;
}
.person-table img {
  margin-top: 0.4em;
}
/* AFFILIATES */
.view-commercial-affiliates .field-name-field-projects {
    background-color: white !important;
}
.view-commercial-affiliates .field-name-field-projects .view-mode-minimal_image.clearfix {
    clear: none;
}
body.node-type-commercial-affiliate .group-center-content.col-lg-8 {
  float: none;
}
/* GENERAL */
.collapsible-boxes .glyphicon {
  font-size: 0.9em;
}
.collapsible-boxes h4 {
  cursor: pointer;
}
.collapsible-boxes .collapse, 
.collapsible-boxes .collapsing {
  margin: -0.5em 0 2em 1.3em;
}
.collapsible-boxes h4 {
  font-size: 1em;
}
.collapsible-boxes h4.collapsed .glyphicon {
  -ms-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
}
body.page-node .field-body {
  padding-top: 0;
}
body.page-node .field-body h2:first-child,
body.page-node .field-body h3:first-child {
  margin-top: 0;
}
body.page-node.node-type-conference h2:first-child,
body.page-node.node-type-conference h3:first-child {
  margin-top: 20px;
}
.callout-right {
  float: right;
  width: 40%;
  margin: 0 0 1em 1em;
  padding: 1em;
  font-size: 1.5em;
  background-color: #e5e5e5;
  border: 1px solid #ddd;
  border-radius: 10px;
}
.project-feature-list {
  background-color: #fff;
  padding: 1em;
  border-radius: 10px;
}
.project-feature-list ul {
  margin: 0;
  padding: 0;
}
.project-feature-list li {
  list-style: none;
  clear: left;
  border-bottom: 1px solid #eee;
  padding: 1em 0;
}
.project-feature-list li:last-child {
  border-bottom: none;
}
.project-feature-list img {
  float: left;
}
.project-feature-list a {
  font-size: 1.2em;
  font-weight: bold;
}
.view-projects .view-header {
  padding: 1.3em 1.3em 1.3em 2.3em;
  margin: 15px -15px 0 -15px;
  background-color: #fff;
  border-bottom: 1px solid #aaa;
}
  .two-col {
    -webkit-column-count: 2;
    -webkit-column-gap: 20px;
    -moz-column-count: 2;
    -moz-column-gap: 20px;
    column-count: 2;
    column-gap: 20px;
    margin: 1em 0 2em;
    padding: 0;
    text-align: left;
  }
  .three-col {
    -webkit-column-count: 3;
    -webkit-column-gap: 20px;
    -moz-column-count: 3;
    -moz-column-gap: 20px;
    column-count: 3;
    column-gap: 20px;
    margin: 1em 0 2em;
    padding: 0;
    text-align: left;
    list-style: none;
  }
  .two-col li,
  .three-col li,
  .two-col div.col,
  .three-col div.col {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .two-col li {
    margin-left: 0.5em;
  }

.clearfix {
  clear: both;
}
.screenshots p {
  display: inline-block;
  text-align: center;
  margin: 0 2em 2em 0;
  width: 150px; 
  vertical-align: top;
}
.screenshots img {
  margin: 0;
  border: 1px solid #ddd;
}
/* CONTENT FEATURES */
a.apereo-accordion-link::before {
  font-family: FontAwesome;
  content: '\f0fe';
  margin-right: 0.5em;
}
a.apereo-accordion-link.expanded::before {
  content: '\f146';
}
.apereo-accordion-content.collapsed {
  display: none;
}
/* TEMPORARY - hide memory warning */
.alert-danger {
  display: none;
}
/* FOOTER */
#block-block-2 {
  clear: none;
  margin-top: 5em;
}
