/* ============================================================
   VARIABLES (resolved from _variables.scss)
   ============================================================

   Colors:
   --drk-blue:         #09143a
   --cwru-blue:        #003071
   --link-blue:        #006da3
   --light-blue:       #a6d2e6
   --green:            #61a530
   --blue-green:       #377e72
   --yellow:           #e69e40
   --orange:           #d63d1f
   --ter-orange:       #b04027
   --violet:           #692c95
   --white:            #fff
   --off-white:        #f5f5f5
   --dark-gray:        #333
   --cwru-dark-gray:   #999999
   --med-gray:         #535353
   --light-gray:       #c6c6c6
   --cwru-light-gray:  #d3d3d3
   --lighter-gray:     #eee
   --blk:              #000000
   --light-black:      #1f2325

   Fonts:
   $arizona      = "Arizona", sans-serif
   $arizona-text = "Arizona-Text", serif

   Breakpoints:
   $phone        = 480px
   $xsmall       = 481px
   $smallx       = 620px
   $small        = 768px
   $small-medium = 871px
   $medium       = 992px
   $medium-hero  = 1044px
   $large        = 1200px
   $jumbo        = 1300px
   ============================================================ */


/* ============================================================
   UTILITY CLASSES (from _variables.scss)
   ============================================================ */

.no-ul-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.no-ul-list > li {
  display: inline-block;
  list-style-type: none;
  margin: 2px;
}

.tmp-shadow {
  -webkit-box-shadow: 0 0 2px 0 rgba(83, 83, 83, 1);
  -moz-box-shadow: 0 0 2px 0 rgba(83, 83, 83, 1);
  box-shadow: 0 0 2px 0 rgba(83, 83, 83, 1);
}

.tmp-shadow-none {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.blocked-style {
  border: 1px solid #fff;
  padding: 12px;
  border-radius: 5px;
  background: #f5f5f5;
  -webkit-box-shadow: 0 0 2px 0 rgba(83, 83, 83, 1);
  -moz-box-shadow: 0 0 2px 0 rgba(83, 83, 83, 1);
  box-shadow: 0 0 2px 0 rgba(83, 83, 83, 1);
}


/* ============================================================
   HEADER REGION
   ============================================================ */

.region-header {
  border-top: 1px dotted #c6c6c6;
  padding-bottom: 25px;
  margin-bottom: 25px;
}


/* ============================================================
   PAGE HEAD
   ============================================================ */

.page-head {
  background: linear-gradient(to right, #003071, #09143a 80%);
  padding-bottom: 25px;
}

.page-head .container {
  display: table;
}

@media only screen and (max-width: 992px) {
  .page-head .container {
    display: block;
  }
}

.page-head .container > div {
  display: table-cell;
  float: none;
}

.page-head .container,
.page-head .col-md-6,
.page-head .col-md-9 {
  padding-left: 0;
  padding-right: 0;
}

/* Page Title */
.page-head .page-title {
  display: inline-block;
  padding: 22px 0;
  padding-bottom: 0;
  font-family: "Arizona-Text", serif;
}

@media only screen and (max-width: 992px) {
  .page-head .page-title {
    padding: 20px 22px;
    padding-bottom: 0;
  }
}

.page-head .page-title h1 {
  font-family: "Arizona-Text", serif;
}

.page-head .page-title h1,
.page-head .page-title div,
.page-head .page-title a {
  color: #fff;
  font-size: 40px;
  font-weight: 200;
  margin: 0;
  padding: 0;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

@media only screen and (max-width: 992px) {
  .page-head .page-title h1,
  .page-head .page-title div,
  .page-head .page-title a {
    font-size: 32px;
  }
}

.page-head .page-title a:hover {
  text-decoration: none;
}

.page-head .page-title .secondary-school-name {
  margin-top: 0;
}

/* Department Header */
.page-head .department-header {
  padding: 0;
}

.page-head .department-header h1,
.page-head .department-header h2,
.page-head .department-header div {
  color: #fff;
  font-size: 28px;
  font-weight: 400;
  padding: 5px 20px;
  margin: 0;
  min-width: auto;
  display: inline-block;
  font-family: "Arizona-Text", serif;
  line-height: 1.1;
}

@media only screen and (min-width: 992px) {
  .page-head .department-header h1,
  .page-head .department-header h2,
  .page-head .department-header div {
    padding-bottom: 0;
    padding-left: 0;
  }
}

@media only screen and (max-width: 768px) {
  .page-head .department-header h1,
  .page-head .department-header h2,
  .page-head .department-header div {
    font-size: 25px;
  }
}

/* Form Group */
.page-head .form-group {
  margin: 0;
}


/* ============================================================
   EMPTY HEADER
   Removes header navbar and clears region-content padding
   when "Move Nav Inside Header" theme setting is active.
   ============================================================ */

@media (min-width: 992px) {
  .empty-header {
    display: none;
  }
}

@media (max-width: 992px) {
  .empty-header {
    width: 100%;
  }
}

.empty-header + div.main-container .region-content:first-of-type {
  padding-bottom: 0;
}


/* ============================================================
   PAGE HEADER TOP (CWRU Logo)
   ============================================================ */

.page-header-top .container {
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;
  flex-wrap: wrap;
}

@media only screen and (min-width: 992px) {
  .page-header-top .container {
    padding-left: 1.1em;
  }
}

.page-header-top .container .page-logo {
  margin-left: 0;
}


/* ============================================================
   COMMENCEMENT HEAD CONTAINER
   (Page title + secondary nav)
   ============================================================ */

#commencement-head-container {
  display: flex;
  justify-content: space-between;
}

@media only screen and (min-width: 992px) {
  #commencement-head-container {
    padding-right: 2em;
  }
}

#commencement-head-container .col-md-6,
#commencement-head-container .col-md-9,
#commencement-head-container .col-md-3 {
  flex-basis: 50%;
}

@media only screen and (max-width: 992px) {
  #commencement-head-container .col-md-6,
  #commencement-head-container .col-md-9,
  #commencement-head-container .col-md-3 {
    flex-basis: 100%;
  }
}

#commencement-head-container .page-title {
  padding-left: 1.1em;
}

#commencement-head-container .page-title h1,
#commencement-head-container .page-title div {
  font-size: 35px;
  font-family: "Arizona-Text", sans-serif;
}

/* Right side: secondary nav + search */
#commencement-head-container #head-right-side {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

@media only screen and (max-width: 992px) {
  #commencement-head-container #head-right-side {
    display: none;
  }
}

/* Secondary Nav */
#commencement-head-container #head-right-side .secondary-nav-container {
  margin-right: 5rem;
  padding-top: 2.8rem;
}

#commencement-head-container #head-right-side .secondary-nav-container.with-department.with-department {
  left: 0;
  top: 0.7em;
  position: relative;
}

#commencement-head-container #head-right-side .secondary-nav-container.with-department {
  left: auto;
  position: unset;
  margin-left: 0;
  margin-right: 1.5em;
  margin-top: 0;
}

/* Search */
#commencement-head-container #head-right-side #commencement-head-search {
  display: flex;
  position: relative;
  height: 100%;
  justify-content: flex-end;
  align-items: center;
  top: 0.7em;
}

#commencement-head-container #head-right-side #commencement-head-search .navbar__search-form {
  position: relative;
  right: 0;
  top: 0;
  z-index: 9999;
  width: auto;
}

#commencement-head-container #head-right-side #commencement-head-search .navbar__search-form input[type="search"] {
  background: url("../images/search-icon.svg") no-repeat center center;
  background-size: 18px 22px;
  transition: all 0.4s;
  width: 35px;
  padding: 0 13px;
  color: transparent;
  cursor: pointer;
  border: 0;
  border-radius: 1px;
  box-shadow: none;
  position: absolute;
  right: 0;
  z-index: 9999;
}

#commencement-head-container #head-right-side #commencement-head-search .navbar__search-form input[type="search"]:focus {
  width: 450px;
  padding: 13px;
  padding-left: 20px;
  cursor: auto;
  background-color: #fff;
  color: #000000;
  background: #fff;
  z-index: 9999;
  border: 0;
  box-shadow: none;
  outline: transparent;
  border-radius: 39px;
  font-size: 1.3em;
  top: -10px;
}

#commencement-head-container #head-right-side #commencement-head-search .navbar__search-form input::placeholder {
  color: transparent;
}

#commencement-head-container #head-right-side #commencement-head-search .navbar__search-form input:focus::placeholder {
  color: #535353;
}

#commencement-head-container #head-right-side #commencement-head-search .navbar__search-form #search-btn {
  display: none;
  color: #f5f5f5;
  font-weight: lighter;
  background: #003071;
  border: 0;
  border-bottom: 5px solid #003071;
  padding: 5px 10px;
  transition: all 0.2s ease 0s;
}

@media only screen and (max-width: 1124px) {
  #commencement-head-container #head-right-side #commencement-head-search .navbar__search-form #search-btn {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  #commencement-head-container #head-right-side #commencement-head-search .navbar__search-form {
    top: 13px;
    right: 10px;
  }
}

@media only screen and (max-width: 481px) {
  #commencement-head-container #head-right-side #commencement-head-search .navbar__search-form {
    display: none;
  }
}

@media (min-width: 1300px) {
  #commencement-head-container #head-right-side #commencement-head-search .navbar__search-form {
    top: 0;
  }
}