/*
  Theme Name:         Rutgers University Unit/Department Website - Divi Child Theme
  Author:             Rutgers University OIT/EAS
  Author Email:       contact-wcs@oit.rutgers.edu
  Author URI:         https://eas.rutgers.edu/
  Template:           Divi
  Version:            1.0.0
  Description:        Rutgers University Unit/Department Website - Divi Child Theme
  Wordpress Version:  4.5.3
*/

/* ----------- PUT CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */

/* Accessibility Focus Styles */
*:focus,
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 6px 2px #ffaa55;
  outline: none;
}

*.focus-mouse,
*.focus-mouse:focus {
  box-shadow: 0 0 0 0 transparent;
  outline: none;
}

/* Global Styles */

.et_pb_text ul, .et_pb_text ol {
  padding-left: 2.5em;
}

p:last-of-type {
  padding-bottom: 1em;
}

.ru-section-splash {
  height: 300px;
  overflow: hidden;
}

.et-search-form input {
  background: rgba(255, 255, 255, 0.3);
  padding: 0 10px;
}

.entry-content tr th, .entry-content thead th, body.et-pb-preview #main-content .container tr th, body.et-pb-preview #main-content .container thead th {
  padding: 9px 20px;
}

/* Top Bar Navigation Styles */
#top-header {
  height: 36px;
  background-color: #000;
  border-bottom: 1px solid #fff;
}

#top-header,
#top-header .container,
#top-header #et-info,
#top-header .et-social-icon a {
  line-height: 1.3em;
}

#top-header #et-info #et-info-phone:before {
  display: none;
}

/* Main Header Styles */
#top-menu a,
#et_search_icon:before,
span.et_close_search_field:after {
  color: #fff;
}

#top-menu li li {
  padding: 0;
  width: 100%;
}
#top-menu li li a {
  width: 100%;
}

#top-menu li.current-menu-ancestor > a,
#top-menu li.current-menu-item > a,
.bottom-nav li.current-menu-item > a {
  color: #ffec00;
  font-weight: bold;
}

#main-header,
#main-header .nav li ul,
.et-search-form,
#main-header .et_mobile_menu {
  background-color: rgba(200, 0 , 40, 0.92);
}

#main-header .nav li ul {
  border-top: 3px solid #98102b;
}

#main-header #top-menu > li:last-child ul.sub-menu {
  right: 0;
}

#main-header .site-title {
  color: #fff;
  font-size: 2em;
  padding: 0 15px;
}
  #top-header .container,
  .et_menu_container,
  .et_pb_row {
    margin: 0 auto;
    width: 92%;
  }
/* Main Navigation Styles */
@media only screen and (min-width: 981px) and (max-width: 1405px) {

  .et_menu_container .logo_container {
    position: relative;
    padding: 10px 0;
  }
  .et_menu_container #et-top-navigation {
    padding-left: 0 !important;
    padding-top: 20px;
  }

  .et_search_outer {
    top: 100px;
    height: 81px;
  }
  .container.et_search_form_container.et_pb_search_visible {
    height: 81px;
  }

}

/* Section Navigation Styles */
.widget_nav_menu {

}

.widget_nav_menu h4 {
  font-weight: bold;
  font-size: 24px;
}

.widget_nav_menu ul.menu > li {
  margin-bottom: 1em;
}

.widget_nav_menu ul.menu > li.menu-item-has-children {
  font-weight: bold;
}

.widget_nav_menu ul.menu > li.menu-item-has-children > a:before {
  font-family: "ETmodules";
  position: absolute; /* Prevent underline of arrow */
  left: -20px;
  content: "\4c";
}

.widget_nav_menu ul.menu > li.menu-item-has-children > a.open:before {
  font-family: "ETmodules";
  content: "\4b";
}

.widget_nav_menu ul.sub-menu {
  margin-top: 10px;
}

.widget_nav_menu ul.sub-menu li {
  font-weight: normal;
}

.widget_nav_menu li.current-menu-item a {
  color: #2ea3f2;
  text-decoration: none;
}

/* Homepage News Carousel Styles */
.home-news-carousel {
  height: 30em;
}

.home-news-carousel .et_pb_post {
  display: inline-block;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  overflow: hidden;
}

.home-news-carousel .et_pb_post {
  position: absolute;
  width: 40%;
}

.home-news-carousel .et_pb_post.main-pos {
  margin-left: 32%;
  z-index: 3000;
}

.home-news-carousel .et_pb_post.back-pos {
  opacity: 0;
  margin-left: 5%;
  -webkit-transform: scale(.5);
  -moz-transform: scale(.5);
  transform: scale(.5);
}

.home-news-carousel .et_pb_post.left-pos {
  opacity: .3;
  margin-left: -3%;
  z-index: 1000;
  -webkit-transform: scale(.75);
  -moz-transform: scale(.75);
  transform: scale(.75);
}

.home-news-carousel .et_pb_post.right-pos {
  opacity: .3;
  margin-left: 67%;
  z-index: 1000;
  -webkit-transform: scale(.75);
  -moz-transform: scale(.75);
  transform: scale(.75);
}

@media screen and (max-width: 980px) {
  .home-news-carousel {
    height: auto;
  }

  .home-news-carousel .et_pb_post {
    position: relative;
    width: 50%;
    float: left;
    transform: initial;
    display: block;
    opacity: 1;
    padding-right: 20px;
  }

  .home-news-carousel .et_pb_post.main-pos,
  .home-news-carousel .et_pb_post.left-pos,
  .home-news-carousel .et_pb_post.right-pos,
  .home-news-carousel .et_pb_post.back-pos {
    margin-left: 0;
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
  }
}

@media screen and (max-width: 480px) {
  .home-news-carousel .et_pb_post {
    width: 100%;
    padding-right: 0;
  }
}

/* Homepage Calendar Section */
.homepage-calendar .tribe-events-sub-nav li a,
.homepage-calendar .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-],
.homepage-calendar .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-] > a,
.homepage-calendar .tribe-events-calendar .tribe-events-present,
.homepage-calendar .tribe-events-calendar .tribe-events-present.mobile-active div[id*=tribe-events-daynum-],
.homepage-calendar .tribe-events-calendar .tribe-events-present.mobile-active div[id*=tribe-events-daynum-] a,
.homepage-calendar .tribe-events-calendar td.tribe-events-present.mobile-active {
  background: #c03;
}

.homepage-calendar #tribe-events .tribe-events-button,
.homepage-calendar .tribe-events-button,
.homepage-calendar .tribe-events-calendar .mobile-active div[id*=tribe-events-daynum-],
.homepage-calendar .tribe-events-calendar .mobile-active div[id*=tribe-events-daynum-] a,
.homepage-calendar .tribe-events-calendar .tribe-events-past.tribe-events-has-events:after,
.homepage-calendar .tribe-events-calendar td.mobile-active {
  background-color: #333;
}

.homepage-calendar #tribe-events .tribe-events-button:hover,
.homepage-calendar .tribe-events-button.tribe-active:hover,
.homepage-calendar .tribe-events-button.tribe-inactive,
.homepage-calendar .tribe-events-button:hover {
  background-color: #ddd;
  color: #444;
}

.homepage-calendar #tribe-events-header,
.homepage-calendar #tribe-events-footer,
.homepage-calendar .tribe-events-ical {
  display: none;
}

.homepage-calendar #tribe-events-content .tribe-events-calendar td {
  padding: 0.5% 3% 3.5%
}

.homepage-event-list .tribe-mobile-day-heading {
  padding: 10px 0 20px 0;
  font-size: 27px;
}
.homepage-event-list ul {
  list-style-type: none;
  padding: 0
}

.homepage-event-list ul li,
.homepage-event-list .tribe-events-mobile {
  padding: 10px 0 20px;
  position: relative;
  width: 82%;
  left: 22%;
}

.homepage-event-list .ru-date-box {
  position: absolute;
  left: -26%;
  top: 12px;
  background: #fff;
  width: 22%;
  padding: 5px 0 14px 0;
  color: #c03;
  border: 3px solid #c03;
  text-align: center;
}

.homepage-event-list .ru-date-box span {
  display: block;
  font-weight: bold;
  padding-bottom: 5px;
}

.homepage-event-list .ru-date-box span.event-date {
  font-size: 20px;
}

.homepage-event-list .ru-date-box span.event-day {
  font-size: 36px;
}

.homepage-calendar .recurringinfo {
  display: none;
}

/* The Events Calendar Styles */
#tribe-events-pg-template {
  padding-top: 175px;
  padding-bottom: 50px;
}

/* Footer Styles */
#footer-main {}

#footer-widgets {
  padding-top: 3%;
}

#footer-widgets .footer-widget {
  margin-bottom: 1.5%;
}

#footer-widgets .footer-widget li:before {
  display: none;
}

#footer-widgets .footer-widget li {
  margin-bottom: 10px;
}

#footer-widgets .footer-widget .et-social-icons li {
  margin-left: 15px;
}

#footer-info {
  float: none;
  text-align: center;
}

/* Faculty Directory and Faculty Profile Styles */

.ru-faculty-directory .faculty-keyword-search,
.ru-faculty-directory .faculty-filter-departments {
  float: left;
  width: 50%;
  display: block;
}
.ru-faculty-directory .faculty-keyword-search input {
  font-size: 16px;
  padding: 10px;
  border: solid 1px #fff;
  box-shadow: inset 1px 1px 2px 0 #707070;
  -webkit-transition: box-shadow 0.3s;
  -moz-transition: box-shadow 0.3s;
  transition: box-shadow 0.3s;
  width: 100%;
}
.ru-faculty-directory .faculty-keyword-search input:focus,
.ru-faculty-directory .faculty-keyword-search input.focus {
  box-shadow: inset 1px 1px 2px 0 #c9c9c9;
}
.ru-faculty-directory .faculty-filter-departments {
  padding-left: 10px;
}
.ru-faculty-directory .faculty-filter-departments select {
  font-size: 16px;
  height: 40px;
  padding: 10px;
  width: 100%;
}
.ru-faculty-directory .faculty-filter-lastname {
  clear: both;
  width: 100%;
  padding-top: 10px;
}
.ru-faculty-directory .faculty-results {
  clear: both;
  width: 100%;
  text-align:center;
  font-style: italic;
  padding-top: 10px;
  padding-bottom: 20px;
}
.ru-faculty-directory .faculty-profile,
.ru-faculty-directory .faculty-profile .et_pb_column_1_2 {
  margin: 0;
  height: 215px;
  margin-bottom: 20px;
}
.ru-faculty-directory .faculty-profile .et_pb_column_1_2:first-child {
  width: 32%;
}
.ru-faculty-directory .faculty-profile .et_pb_column_1_2:last-child {
  width: 66%;
}
.ru-faculty-directory .faculty-profile img {
  width: 140px
}
.ru-faculty-directory .faculty-profile h2,
.ru-faculty-directory .faculty-profile h2 a {
  font-size: 24px;
  margin: 0;
}
.ru-faculty-directory .faculty-profile p,
.ru-faculty-directory .faculty-profile a {
  font-size: 17px;
  padding: 0;
}


@media screen and (max-width: 980px) {
  .ru-faculty-directory .faculty-profile,
  .ru-faculty-directory .faculty-profile .et_pb_column_1_2 {
    height: auto;
  }
  .ru-faculty-directory .faculty-profile {
    border-bottom: 1px solid #ccc;
  }
  .ru-faculty-directory .faculty-profile:last-child {
    border-bottom: none;
  }
  .ru-faculty-directory .faculty-profile p {
    font-size: 16px;
  }
  .ru-faculty-directory .faculty-keyword-search,
  .ru-faculty-directory .faculty-filter-departments {
    width: 100%;
    padding:0
  }

}

.ru_faculty_member_profile .et_pb_team_member_contact_information {
  border: 1px solid #c80028;
  text-align: center;
  padding: 15px 0;
}
.ru_faculty_member_profile .et_pb_team_member_contact_information img {
  max: 320px;
  max-width: 100%;
}
.ru_faculty_member_profile .et_pb_team_member_contact_information .contact_info_heading {
  padding: 10px 0;
  margin: 0 0 15px 0;
  background: #c80028;
  color: #fff;
}
.ru_faculty_member_profile .et_pb_team_member_contact_information div {
  text-align: left;
  padding: 0 15px;
}

.ru_faculty_member_profile .et_pb_team_member_description {
  padding: 10px 15px;
}
.ru_faculty_member_profile .et_pb_team_member_description h1,
.ru_faculty_member_profile .et_pb_team_member_description h3,
.ru_faculty_member_profile .et_pb_team_member_description section {
  padding-top: 10px;
  padding-bottom: 10px;
}
.ru_faculty_member_profile .et_pb_team_member_description h1 {
  font-size: 25px;
  color: #333;
}

.ru_faculty_member_profile .et_pb_team_member_description h3 {
  font-size: 21px;
}
.ru_faculty_member_profile .et_pb_team_member_description .et_pb_member_position {
  font-style: italic;
  color: #777;
}
.ru_faculty_member_profile .et_pb_team_member_description .et_pb_member_department {
  padding-bottom: 15px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
  color: #777;
}
.ru_faculty_member_profile .et_pb_team_member_description p {
  padding: 0
}

@media screen and (max-width: 980px) {
  .ru_faculty_member_profile * {
    font-size: inherit;
    line-height: inherit;
    font-size: 100%;
  }
  .ru_faculty_member_profile .et_pb_team_member_contact_information {
    margin: 0 0 10px 0;
    font-size: 16px;
  }
  .ru_faculty_member_profile .et_pb_team_member_contact_information img {
    max-width: 175px;
  }
  .ru_faculty_member_profile .et_pb_team_member_description {
    padding: 0;
  }
  .ru_faculty_member_profile .et_pb_team_member_description h1 {
    padding-bottom: 10px;
    font-size: 24px;
  }
  .ru_faculty_member_profile .et_pb_team_member_description h3 {
    padding-bottom: 10px;
    font-size: 18px;
  }
  .ru_faculty_member_profile .et_pb_team_member_description p,
  .ru_faculty_member_profile .et_pb_team_member_description strong,
  .ru_faculty_member_profile .et_pb_team_member_description a {
    font-size: 16px;
  }
  .ru_faculty_member_profile .et_pb_team_member_description section {
    padding-bottom: 15px;
    font-size: 16px;
  }

  .ru-faculty-directory .faculty-keyword-search,
  .ru-faculty-directory .faculty-filter-departments {
    width: 100%;
    padding:0
  }

}

/** Mobile Menu Offcanvas **/


/* Hide submenu */
#main-header .ru-offcanvas .et_mobile_menu {
  padding: 0;
}
#main-header .ru-offcanvas .et_mobile_menu li ul,
#main-header .ru-offcanvas .et_mobile_menu li li {
  padding: 0;
}
#main-header .ru-offcanvas .et_mobile_menu .menu-item-has-children {
  position: relative;
}
#main-header .ru-offcanvas .et_mobile_menu a {
  color: #fff;
}
#main-header .ru-offcanvas .et_mobile_menu .menu-item-has-children > a {
  background-color: transparent;
  position: relative;
  display: inline-block;
  /* width: 80%; */
  padding-right: 40px;
}
#main-header .ru-offcanvas .et_mobile_menu .menu-item-has-children > .submenu-arrow {
  display: inline-block;
  font-family: 'ETModules';
  color: #fff;
  cursor: pointer;
  position: absolute;
  padding: 10px;
  right: 10px;
  top: 0;
  bottom: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}
#main-header .ru-offcanvas .et_mobile_menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
#main-header .ru-offcanvas .et_mobile_menu li:last-child {
  border-bottom: 0
}

#main-header .ru-offcanvas .et_mobile_menu li.current-menu-ancestor > a,
#main-header .ru-offcanvas .et_mobile_menu li.current-menu-item > a {
  color: #ffec00;
  font-weight: bold;
}

#main-header .ru-offcanvas .et_mobile_menu li ul.sub-menu.hide {
  display: block;
  position: fixed;
  height: 200% !important;
  width: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9998;
  overflow: hidden;
  border-top: none;
  margin-top: 80px !important;
  background: #c03;

  -webkit-transform: translateX(100%);
  -moz-transform: translateX(100%);
  -ms-transform: translateX(100%);
  -o-transform: translateX(100%);
  transform: translateX(100%);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: -webkit-transform 0.4s;
  -moz-transition: -moz-transform 0.4s;
  transition: transform 0.4s;
}
#main-header .ru-offcanvas .et_mobile_menu li ul.sub-menu ul.sub-menu {
  margin-top: 0 !important;
}
#main-header .ru-offcanvas .et_mobile_menu li ul.sub-menu.visible {
  display: block;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
  -webkit-overflow-scrolling: touch;
  -webkit-transition: -webkit-transform 0.4s;
  -moz-transition: -moz-transform 0.4s;
  transition: transform 0.4s;
}

#main-header .ru-offcanvas .et_mobile_menu .menu-item-has-children li.back-link a:before {
  font-family: "ETmodules";
  position: relative;
  font-size: 18px;
  content: "4";
  left: -5px;
  top: 2px;
}

@media only screen and (max-width: 980px) {
  #main-header .container.clearfix.et_menu_container {
    width: 100%;
  }

  #main-header .ru-offcanvas #mobile_menu {
    display: block !important;
    min-height: 100%;
    top: 0;
    right: 0;
    position: fixed;
    z-index: 9998;
    overflow-y: scroll;
    border-top: none;
    padding-top: 45px !important;
    padding-bottom: 45px !important;
  }

  #main-header .ru-offcanvas .mobile_nav.closed #mobile_menu {
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    -webkit-transition: -webkit-transform 0.4s;
    -moz-transition: -moz-transform 0.4s;
    transition: transform 0.4s;
  }
  #main-header .ru-offcanvas .mobile_nav.opened #mobile_menu {
    height: 100%;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    -webkit-overflow-scrolling: touch;

    -webkit-transition: -webkit-transform 0.4s;
    -moz-transition: -moz-transform 0.4s;
    transition: transform 0.4s;
  }

  .offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    display: none;
    overflow: hidden;
  }

  .offcanvas-overlay.open {
    display: block;
  }

  body.no-scroll {
    overflow-y: hidden !important;
  }

  #main-header .ru-offcanvas .mobile_nav.opened .mobile_menu_bar {
    visibility: hidden;
  }

  #main-header .ru-offcanvas .mobile_nav .offcanvas-close {
    font-family: 'ETModules';
    display: block;
    font-size: 30px;
    position: relative;
    cursor: pointer;
    text-align: right;
    margin-top: -15px;
    padding: 0 25px 30px 0;
  }
  #main-header .ru-offcanvas .mobile_nav .offcanvas-close:before {
    content: "\4d";
    color: #fff;
    width: 25px;
    height: 25px;
  }

  #main-header .ru-offcanvas .mobile_menu_bar:before {
    color: #fff;
  }
  #main-header .ru-offcanvas .mobile_nav.opened .mobile_menu_bar_toggle:before {
    content: "\4d";
    color: #fff;
    border: 1px solid #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
  }
}

@media only screen and  (max-width: 980px) {
  #et_top_search {
    right: -10px;
  }
  .et_header_style_split .mobile_menu_bar, .et_header_style_left .mobile_menu_bar {
    z-index: 9999;
    padding-right: 10px;
    color: #fff;
  }
  #et-top-navigation {
    padding-right: 5px;
  }
}

@media only screen and  (min-width: 481px) {
  #main-header .ru-offcanvas #mobile_menu {
    width: 320px;
    margin-left: calc(100% - 320px);
  }
}

@media only screen and (max-width: 480px)  {
  #main-header .ru-offcanvas #mobile_menu {
    width: 260px;
    margin-left: calc(100% - 260px);
  }
}

@media only screen and  (max-width: 340px) {
  #main-header .ru-offcanvas #mobile_menu {
    width: 100%;
    margin-left: 0;
  }
}

// Ninja Forms Custom Default Styles
.nf-form-cont {
  max-width: 100%;
}

.nf-form-cont input,
.nf-form-cont select {
  font-size: 100%;
}

.nf-error-msg {
  font-size: 80%;
  font-style: italic;
}


// Rutgers Custom Site Search

.btn {
  margin: 0;
  padding: 0;
  cursor: pointer;
  border: none;
  background: none;
}
.btn--search {
  font-size: 100%;
  padding: 4px 10px;
  border: 1px solid #fff;
  color: #fff;
}

.btn--search span.search-icon:before {
  font-family: "ETmodules";
  content: "\55";
}

.btn--search-close span.close-search-icon:before {
  font-family: "ETmodules";
  content: "\4d";
}

.btn--hidden {
  pointer-events: none;
  opacity: 0;
}

.ru-search__wrap {
  margin: 0;
  display: inline-block;
}


/* Reset Search Input */
.ru-search__input {
  border: 0;
  background: transparent;
  border-radius: 0;
  -webkit-appearance: none;
}

.ru-search__input:focus {
  outline: none;
}

.js .ru-search {
  position: fixed;
  text-align: center;
  padding-top: 15%;
  background: #000;
  z-index: 999999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}


.ru-search::before {
  top: 0;
  left: 0;
  border-right-width: 0;
  border-bottom-width: 0;
}

.ru-search::after {
  right: 0;
  bottom: 0;
  border-top-width: 0;
  border-left-width: 0;
}

.btn--search-close {
  font-size: 2em !important;
  position: absolute;
  top: 1.25em;
  right: 1.25em;
  display: none;
}

.js .btn--search-close {
  display: block;
}

.ru-search__form {
  margin: 5em 0;
}

.ru-search__input {
  font-family: inherit;
  font-size: 10em;
  line-height: 1;
  display: inline-block;
  box-sizing: border-box;
  width: 75%;
  padding: 0.05em 0;
  color: #cc0033;
  border-bottom: 2px solid;
}

.ru-search__input::-webkit-input-placeholder {
  /* WebKit, Blink, Edge */
  opacity: 0.5;
  color: #cc0033;
}

.ru-search__input::-moz-placeholder {
  opacity: 0.5;
  /* Mozilla Firefox 19+ */
  color: #cc0033;
}

.ru-search__input:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  opacity: 0.5;
  color: #cc0033;
}

.ru-search__input::-webkit-search-cancel-button,
.ru-search__input::-webkit-search-decoration {
  -webkit-appearance: none;
}

.ru-search__input::-ms-clear {
  display: none;
}

.ru-search__info {
  font-size: 100%;
  font-weight: bold;
  display: block;
  width: 75%;
  margin: 0 auto;
  padding: 0.85em 0;
  text-align: right;
  color: #fff;
}

.js .ru-search {
  pointer-events: none;
  opacity: 0;
  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

.js .ru-search--open {
  pointer-events: auto;
  opacity: 1;
  overflow: none;
}

.btn--search-close {
  opacity: 0;
}

.ru-search--open .btn--search-close {
  opacity: 1;
}

/* Search form with input and description */
.js .ru-search__form {
  opacity: 0;
  -webkit-transform: scale3d(0.8, 0.8, 1);
  -moz-transform: scale3d(0.8, 0.8, 1);
  -ms-transform: scale3d(0.8, 0.8, 1);
  -o-transform: scale3d(0.8, 0.8, 1);
  transform: scale3d(0.8, 0.8, 1);

  -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
  -moz-transition: opacity 0.5s, -moz-transform 0.5s;
  transition: opacity 0.5s, transform 0.5s;
}

.js .ru-search--open .ru-search__form {
  opacity: 1;
  -webkit-transform: scale3d(1, 1, 1);
  -moz-transform: scale3d(1, 1, 1);
  -ms-transform: scale3d(1, 1, 1);
  -o-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
}

@media screen and (max-width: 980px) {
  .et_secondary_nav_only_menu #top-header,
  #et-secondary-menu {
    display: block !important;
    height: 0;
    text-align: right;
    margin: 0;
  }

  .ru-search__form {
    margin: 5em 0 1em;
  }
  .ru-search__input {
    font-size: 5em;
  }
  .btn--search {
    position: relative;
    top: 32px;
    left: 0;
  }
  .btn--search.mobile-hidden {
    visibility: hidden;
  }
  .btn--search-close {
    font-size: 1.25em;
    top: 1.5em;
    right: 1.5em;
  }
}

@media screen and (max-width: 480px) {
  .ru-search__input {
    font-size: 2em;
  }
}




/* ===================================================
WCS OVERRIDES - BG
=================================================== */
html {
    background-color: #000;
    -webkit-text-size-adjust: 100%;
}

body {
    font-size: 16px;
    background-color: #fff;
    font-weight: 400;
}

h5 {
    font-weight: 400;
}

/*top header */
#top-header {
    height: auto;
}

#top-header,
#top-header a,
#et-secondary-nav li li a,
#top-header .et-social-icon a::before {
    font-size: 16px;
}

/* search button */
.btn--search {
    border:0;
    padding: 8px 10px;
    display: block;
}

/* logo container */
.et_header_style_left .logo_container {
    position: relative;
    padding-top: 30px;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

/* logo img */
X.et_header_style_left #logo,
X.et_header_style_split #logo,
#logo {
    display: inline-block;
    float: none;
    margin-bottom: 0;
    vertical-align: middle;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    -webkit-transform: translate3d(0, 0, 0);
    max-width: 100%; /* 257px; */
    max-height: 69px !important; /* 50%; */
	position: relative;
    top: 0;
}

}

/* site name/title */
#main-header .site-title {
    line-height: 1;
    top: 7px;
    color: #fff;
    font-size: 37px;
    display: inline-block;
    position: relative;
}



/* top navigation */
.et_header_style_left #et-top-navigation,
.et_header_style_split #et-top-navigation {
    width: 100%;
    position: relative;
    background: #333;
    padding: 20px 20px 0 0px !important;
    margin-top: 30px;
    margin-bottom: 60px;
}



/* POST/CATEGORY page */
/* remove sidebar border on post page */
#main-content .container::before {
    content: none;
}
.single-post #left-area,
.single-post article.post {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* widen sidebar on post page */
.single-post #sidebar,
.archive #sidebar {
    padding-left: 0;
}

/* hide duplicate breadcrumb on post page | TODO: see if breadcrumb can be disabled */
p#breadcrumbs {
    display: none;
}

/* Yoast breadcrumb styling */
.breadcrumb {
    padding-top: 25px;
    position: relative;
    z-index: 2;
    Xmargin: 0 auto -45px;
    margin: 0 auto;
}

.ru-message-important {
    margin-bottom: -45px;
}

.et_pb_testimonial,
blockquote {
    border-left: 5px solid #007fac;
    position: relative;
}

.et_pb_testimonial,
blockquote > p {
    font-size: 1.5em;
    line-height: 1.5;
    font-style: italic;
    font-family: serif;
    padding: 1em !important;
}

.et_pb_testimonial_description_inner {
    width: 100% !important;
    padding-left: 1em !important;
}

.et_pb_testimonial .et_pb_testimonial_author,
.et_pb_testimonial .et_pb_testimonial_meta,
blockquote cite {
    font-size: 14px;
    color: #888;
    font-weight: 400;
    display: inline-block;
    font-family: sans-serif;
    font-style: italic;
    padding-top: 1em;
    margin-top: 1em;
    Xborder-top: 1px dashed #ddd !important;
}

.et_pb_testimonial .et_pb_testimonial_author:before,
blockquote cite:before {
    content: "— ";
}

blockquote cite br {
    display: none;
}



.et_header_style_left #et-top-navigation nav > ul > li > a,
.et_header_style_split #et-top-navigation nav > ul > li > a {
    padding: 25px 20px;
    font-weight: 400;
    text-shadow: 0 1px 1px #000;
}


.et_header_style_left #et-top-navigation,
.et_header_style_split #et-top-navigation {
    padding: 0 !important;
    margin-bottom: 0;
}

#top-menu li {
    padding: 0;
}

#top-menu-nav > ul > li > a,
#et-secondary-menu > ul > li > a,
#et-secondary-nav > li > a {
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}

#top-menu .menu-item-has-children > a:first-child::after,
#et-secondary-nav .menu-item-has-children > a:first-child::after {
    top: auto;
}

#top-menu-nav > ul:hover > li > a,
#et-secondary-menu > ul:hover > li > a,
#et-secondary-nav:hover > li > a {
    opacity: .7;
}

#top-menu-nav > ul:hover > li > a:hover,
#et-secondary-nav:hover > li > a:hover,
#et-secondary-menu > ul:hover > li > a:hover {
    opacity: 1;
}

#main-header .nav li ul {
    border-color: #fc0; /* gold */
}

.sub-menu > li > a {
    opacity: .85;
}

#main-header {
    z-index: 100;
}

/* RU Offcanvas */
#main-header .ru-offcanvas .et_mobile_menu li,
#main-header .et_mobile_menu li {
    border-bottom: 1px solid rgba(255,255,255,.2);
}

#main-header .ru-offcanvas .et_mobile_menu a {
   color: #fff;
}


#main-header .ru-offcanvas .et_mobile_menu li a:hover,
#main-header .ru-offcanvas .et_mobile_menu .menu-item-has-children > .submenu-arrow:hover {
   background-color: #fff;
   color: #000;
}

#main-header .ru-offcanvas .et_mobile_menu .menu-item-has-children > a {
   display: block;
   padding-right: 5%;
}

#main-header .ru-offcanvas .et_mobile_menu .menu-item-has-children > .submenu-arrow {
   right: 0;
   width: 43px;
   text-align: center;
}



.nav ul li a:hover,
.et_mobile_menu li a:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, .2);
}


#main-header .nav li ul {
    background-color: rgba(204, 0, 51, 1);
}

#top-menu li.current-menu-ancestor > a,
#top-menu li.current-menu-item > a {
    opacity: 1 !important;
    color: #fc0; /* #fc0 */
}

#top-menu li li {
    width: 100%;
    padding: 0 10px;
}

.nav li .sub-menu {
    padding: 10px 0 !important;
}

#top-menu li li a {
    width: 100%;
    font-weight: 400;
    padding: 10px;
    line-height: 1;
}

.ru-slider .et_pb_slide > .et_pb_container {
    height: 100px; /* Firefox min-height on display:table fix */
}

.ru-message-important {
    position:relative;
}

.ru-message-important .et_pb_column {
    margin: 0;
}

.ru-message-important .et_pb_blurb_content {
    max-width: 100%;
}

.ru-message-important .et_pb_blurb_content h4 {
    padding-bottom: 0;
    line-height: 44px !important;
}

#footer-widgets {
    padding-top: 40px;
    padding-bottom: 20px;
}

#footer-widgets .footer-widget li {
    padding-left: 0;
}

#footer-widgets .footer-widget li:before {
    content: none;
}

#footer-widgets .footer-widget li a {
    color: #959595;
    font-size: 16px;
}

#footer-widgets .et_pb_widget a {
    color: #959595;
}

#footer-widgets .footer-widget li a:hover,
#footer-widgets .et_pb_widget a:hover {
    color: #fff;
    text-decoration: underline;
}

.bottom-nav li {
    font-weight: normal;
    display: block;
    padding: 50px 0;
    padding-right: 0;
    text-align: center;
}

#top-header {
    border: 0;
    box-shadow: 0 -15px 15px -15px rgba(0,0,0,.2) inset;
    background-color: #b50c2b;
    border-bottom: 1px solid #ef143c;
}


ul#et-secondary-nav > li > a {
    font-size: 16px;
    padding: 8px 0 10px;
    display: block;
}

#top-header .container {
    padding: 0; /* 0 30px if in full width mode */
}





.et_pb_widget_area_left {
    padding: 0;
    border: 0;
}

/* section menu */
.et_pb_sidebar_0 > .widget_nav_menu {
    padding: 20px 15px;
    background-color: #f7f7f7;
}

.et_pb_sidebar_0 > .widget_nav_menu h4 {
    font-weight: 500;
}

.et_pb_sidebar_0 > .widget_nav_menu ul.menu > li {
    margin: .75em 0 0;
    padding: .75em 0 0;
    border-top: 1px solid #e5e5e5;
}

.et_pb_sidebar_0 > .widget_nav_menu li a {
    color: #007fac;
}

.et_pb_sidebar_0 > .widget_nav_menu li a:hover,
.et_pb_sidebar_0 > .widget_nav_menu li a:focus {
    text-decoration: underline;
}

.et_pb_sidebar_0 > .widget_nav_menu li.current-menu-item > a {
    font-weight: 600;
    text-decoration: none;
}
#footer-widgets .widget_nav_menu li.current-menu-item a {
    color: #fc0; /* #007FAC;*/
    text-decoration: none;
    background: rgba(0,0,0,.25);
    padding: .25em .5em;
    cursor: text;
}

/* sidebar call to action */
.ru-cta .et_pb_row {
    padding: 0;
}
.ru-cta {
    padding: 30px 15px !important;
    text-align: center;
}
.ru-cta h2 {
    font-weight: 400;
    padding-bottom: 1em;
}
.ru-cta p {
    font-size: 1em !important;
}

.ru-cta a {
  color: inherit;
}

.ru-cta .et_pb_promo_button.et_pb_button {
    margin-top: 1em !important;
    border: 0 !important;
    background-color: rgba(255,255,255,.5) !important;
    box-shadow: 0 2px 6px -2px rgba(0,0,0,.25) !important;
}

.ru-cta .et_pb_promo_button.et_pb_button:hover,
.ru-cta .et_pb_promo_button.et_pb_button:focus {
    border: 0 !important;
    background-color: #fff !important;
    box-shadow: 0 2px 6px -1px rgba(0,0,0,.3) !important;
}

.ru-cta--dark .et_pb_promo_button.et_pb_button {
    color: #fff;
}

.ru-cta--dark .et_pb_promo_button.et_pb_button:hover, 
.ru-cta--dark .et_pb_promo_button.et_pb_button:focus {
    color: #c03;
}


/* sidebar related button */
.uec-button-related {
    width: 100%;
}

.footer-widget h4 {
    font-size: 16px;
    font-weight: normal;
}

.ru-footer-cta > div {
    padding: 0;
}
.ru-footer-cta a {
    color: #fc0;
}

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


/* FOOTER - Copyright */

.footer-widget,
.footer-widget li,
.footer-widget li a,
#footer-info {
    font-size: 14px !important;
}

#footer-bottom {}

#footer-info {}

#footer-info a {
    font-weight: normal;
    color: #fc0; /* #fc0 #fc0 #007fac */
    opacity: 1;
}

#footer-info a:hover,
#footer-info a:focus {
    opacity: 1;
    text-decoration: underline;
}

.ru-slider,
.ru-slider > div {
    padding:0 !important;
}


/* BLOG PAGE */
.ru-page-blog .et_pb_post {
    margin-bottom: 30px;
    border-top: 1px solid #eee;
}
.ru-page-blog .et_pb_post .post-meta {
    font-size: 14px;
    font-weight: 300;
}

.ru-sidebar-blog .et_pb_widget ul li a,
.single-post #sidebar li a,
.archive #sidebar li a,
.et_pb_text h3 > a,
.et_pb_text h2 > a,
#sidebar h3 > a,
#sidebar h2 > a {
    color: #007fac;
}

.ru-sidebar-blog .et_pb_widget ul li,
.single-post #sidebar li,
.archive #sidebar li {
    margin-bottom: 1em;
}



/* button link */
#top-menu > li:last-child {
    position: absolute;
    top: 0;
    right: 20px;
}

/* disable drop-down arrow on last main menu link */
#top-menu > .menu-item-has-children:last-child > a:first-child::after {
    content: none;
}

#top-menu > li:last-child > a {
    margin: 10px 0;
    padding: 15px !important;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, .25);
    transition: all .4s;
}

#top-menu > li:last-child > a:hover,
#top-menu > li:last-child > a:focus {
    background-color: rgba(0, 0, 0, .5);
}

/* hide compliance hotline dropdown and second level dropdowns */
#top-menu > li:last-child > ul,
#top-menu > li > .sub-menu .sub-menu {
    display:none !important;
}


@media (max-width: 1200px) {
    #main-header .site-title {
        font-size: 32px;
    }
}



@media (max-width: 980px) {

    .breadcrumb {
        width: 92%;
    }

    .et_header_style_left .logo_container {
        padding: 4%;
    }

    .et_header_style_left #logo,
    .et_header_style_split #logo {
        Xmax-width: 257px;
    }

    #main-header .site-title {
        font-size: 27px;
    }


    .et_header_style_left #et-top-navigation {
        position: absolute;
        top: 26px; /* align hamburger menu icon with Rutgers logo */
        right: 0;
        padding: 20px !important;
    width: auto;
    background-color: transparent;
}


    .et_header_style_split .mobile_menu_bar,
    .et_header_style_left .mobile_menu_bar {
        padding: 0;
    }

    .mobile_nav.opened .mobile_menu_bar_toggle::before {
        border: 0;
        margin-right: 7px;
        z-index: 10;
    }

    .mobile_nav.opened .mobile_menu_bar_toggle:after {
        position: fixed;
        top: 0;
        right: 0;
        height: 99px;
        width: 320px;
        background: #000;
        content: "";
        border-bottom: 1px solid rgba(255,255,255,.3);
        z-index: 1;
    }

    .ru-slider {
        top: 0 !important;
    }

    .ru-slider .et_pb_row,
    .ru-message-important > div {
        width: auto;
    }


}

@media (max-width: 840px) {
    #main-header .site-title {
        width: 100%;
        display: inline-block;
        padding-left: 0; /* 59px; */
        padding-top: 10px;
        font-size: 23px;
    }
}


@media (max-width: 768px) {

    #main-header .site-title {
        top: 5px;
        font-size: 18px;
    }


    .et_header_style_left #et-top-navigation {
        top: 20px; /* align hamburger menu icon with Rutgers logo */
    }
}



@media (min-width: 981px) {
    #top-header .container {
        width: 92%;
        max-width: 1200px;
    }

    .et_pb_gutters3 .footer-widget {
        margin: 0 4% 5.5% 0;
    }

    .et_pb_gutters3.et_pb_footer_columns4 .footer-widget {
        width: 22%;
    }

    .et_pb_gutters3.et_pb_footer_columns4 .footer-widget:last-child {
        Xwidth: 26.875%;
    }

    .et_pb_gutters3.et_pb_footer_columns4 .footer-widget .fwidget {
        margin-bottom: 15%; /* 26.348% */
    }
}


/* skip link */
#top-header .skip-link {position: absolute;}
#top-header .skip-link > a {
    position: absolute;
    top:-100px;

    /* Styled to match the default WordPress screen reader text */
    background-color: #fc0;
    color: #000;
    display: block;
    font-weight: 700;
    height: auto;
    left: 0;
    line-height: normal;
    padding: 1em;
    text-decoration: none;
    white-space: nowrap;
    width: auto;
    z-index: 100000; /* Above WP toolbar */

    transition: top .5s ease-out;
}

#top-header .skip-link > a:focus {
    top: 0;
    transition: top .5s ease-in;
}


/* larger target area to drill down on mobile menu */

#mobile_menu {
    padding-top: 100px !important;
}

#main-header {
    background-color: #c03;
}
#main-header .et_mobile_menu {
    background-color: #000;
}

.et_mobile_menu .menu-item-has-children > a {
    margin-right: 43px;
}
.et_mobile_menu .menu-item-has-children > a::after,
.mmenu-arrow {
    right: 0;
    top: 0;
    padding: 10px;
    border-left: 1px solid rgba(255,255,255,.2);
    font-family: "ETmodules";
    font-size: 22px;
    font-weight: 800;
    content: none; /* "5" */
    position: absolute;
}


.et_mobile_menu li a:hover {
    background-color: #fff;
    color: #000;
}

.et_mobile_menu li a:hover span { background-color: #000;
    color: #fff;
}

.mmenu-arrow:hover {
    background-color: #fff;
    color: #000;
}

/* hide sub-menu arrow indicators */
#top-menu .sub-menu .menu-item-has-children > a:first-child::after,
#et-secondary-nav .menu-item-has-children > a:first-child::after {
    content: none;
}

/* hide fly-out menus */
.sub-menu .sub-menu {
    display: none;
}



/* MOBILE MENU FIXES */

/* hide skip link and university links on mobile offcanvas menu */
#main-header .et_mobile_menu li.skip-link,
#main-header .et_mobile_menu li.skip-link ~ li {
    display: none;
}

#main-header .et_mobile_menu li ul.sub-menu.hide ul.sub-menu.hide,
#main-header .et_mobile_menu li ul.sub-menu.hide ul.sub-menu.hide {
    background-color: orange;
}

/* Freeze hamburger menu button and style same as back to top button */
.et_header_style_split .mobile_menu_bar,
.et_header_style_left .mobile_menu_bar {
    position: fixed;
    right: 0;
    top: 36px;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 4px 4px 2px;
    border-radius: 5px 0 0 5px;
}



/* Ninja Forms */
.nf-field-element input,
.nf-field-element textarea,
.nf-field-element select {
    width: 100%;
    padding: 16px;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    color: #999;
    background-color: #eee;
    font-size: 14px;
}


/* Form Fields */
.nf-field-element input,
.nf-field-element textarea,
.nf-field-element select {
    color: #000;
    font-size: 16px;
    font-weight: normal;
}

.nf-form-fields-required {
    border-left: 5px solid #007fac;
    margin: 1em 0 2em;
    padding: 1em;
    background-color: #f3f3f3;
}

.nf-response-msg:empty {
    display: none;
}
.nf-response-msg {
    border-left: 5px solid #007fac;
    margin: 1em 0;
    padding: 1em;
    background-color: #f3f3f3;
}



/* Accessibility / Screen reader classes */
.et-pb-arrow-prev span,
.et-pb-arrow-next span,
.et_pb_search .screen-reader-text {
    display: inline;
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.et-pb-controllers a:before {
    content:"Slide ";
}

[name='s'] {height: auto !important;}




/*
====================================
====================================
IVANOK's SEARCH CHANGES
====================================
====================================
*/


.search-container {
    max-width: 1200px;
    padding-left:100px;
    padding-right:100px;
    padding-bottom:200px;
    margin:auto;
}

label.screen-reader-text {
  /*display: none;*/
}

#searchform__input {
    width: calc(100% - 100px);
    font-size: 25px;
    height: 65px !important;
    padding: 0;
    text-indent: 20px;
}

#ss-search-page-form {
    text-align:center;
    margin: auto;
    padding-top:50px;
}
#ss-search-page-form .search-field {
    border: 2px solid #dddddd;
    border-radius: 4px;
    width:60%;
    margin-top:20px;
}
#ss-search-page-form .search-submit {
    padding: 10px 10px;
    margin-bottom:5px;
    text-transform: uppercase;
}

#searchsubmit {
    cursor: pointer;
    height: 65px;
    font-size: 16px;
    vertical-align: bottom;
    padding: 10px;
    border: 0;
    background-color: #c03;
    color: #fff;
}

#searchsubmit:before {
    font-family: "ETmodules";
    content: "\55";
}

.search-result {
    border-bottom: 1px dashed #ddd;
    padding: 2em 1em 1em;
}

.search-page-title {
    font-size: 34px;
    font-weight: 300 !important;
    line-height: 50px;
    text-align:center;
    padding-top:50px;
    padding-bottom:25px;
}

.search-page-title > span {
   font-weight: 600;
}

.search-post-title {
    font-size: 21px;
    font-weight: 600 !important;
    display:block;
}

.search-post-link {
    font-weight: 300;
}

.search-post-link,
.search-post-excerpt {
    display:block;
}

.pagination {
    padding-top: 20px
}

.page-numbers {
    background-color: #f5f5f5;
    border-radius: 3px;
    border: 1px solid #e9e9e9;
    padding: 0 .5em;
    color: #c03;
    margin-right: .25em;
}

.page-numbers.current,
.page-numbers.next {
    border-color: #fff;
    background-color: #fff;
}

@media only screen and (max-width: 768px) {
    .search-container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* FAQ Accordions */
.et_pb_toggle_open .et_pb_toggle_title:before {
    display: block !important;
    content: "\e04f";
}

/* Place slider arrows below mobile nav */
.et-pb-arrow-prev,
.et-pb-arrow-next {
    z-index: 99;
}

/* Remove white-space before logo */
span.logo_helper {display: block;}