/*!
Theme Name: Randolph Academics 2020
Theme URI: https://www.randolphcollege.edu/
Author: William Alexander
Author URI: https://williamalexander.co/
Description: This is a custom WordPress theme developed in January 2020 for Randolph College
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: randolph_academics
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

@import url("https://fonts.googleapis.com/css?family=Roboto+Slab:100,200,300,400,500,600,700,800,900&display=swap");
@import url("https://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700&display=swap");

body,
html {
  margin: 0;
  background: transparent;
  font-weight: initial;
}

div#content {
  font-weight: 200;
}

p {
  margin: 0;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.elementor-widget:not(:last-child) {
  margin-bottom: 0px !important;
}

img.alignleft {
  float: left;
  margin-right: 20px;
}

img.alignright {
  float: right;
  margin-left: 20px;
}

section.error-404 {
  padding: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

section.error-404 .widget {
  display: block;
}

.single div#content {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(12, 1fr);
  margin: 0 auto;
  padding: 40px;
  max-width: 1000px;
}

.single div#primary {
  grid-column-start: 4;
  grid-column-end: 13;
  grid-row-start: 1;
}

.single aside#secondary {
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 1;
}

.single header.entry-header h1 {
  margin: 10px 0;
}

.blog div#content {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(12, 1fr);
  margin: 0 auto;
  padding: 40px;
  max-width: 1000px;
}

.blog div#primary {
  grid-column-start: 4;
  grid-column-end: 13;
  grid-row-start: 1;
}

.blog aside#secondary {
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 1;
}

.blog header.entry-header h1 {
  margin: 10px 0;
}

.archive div#content {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(12, 1fr);
  margin: 0 auto;
  padding: 40px;
  max-width: 1000px;
}

.archive div#primary {
  grid-column-start: 4;
  grid-column-end: 13;
  grid-row-start: 1;
}

.archive aside#secondary {
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 1;
}

.archive header.entry-header h1 {
  margin: 10px 0;
}

.search div#content {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(12, 1fr);
  margin: 0 auto;
  padding: 40px;
  max-width: 1000px;
}

.search section#primary {
  grid-column-start: 4;
  grid-column-end: 13;
  grid-row-start: 1;
}

.search aside#secondary {
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 1;
}

.search header.entry-header h1 {
  margin: 10px 0;
}

h2.entry-title a {
  text-decoration: none;
  color: black;
}

@media only screen and (max-width: 1000px) {
  .single div#primary,
  .blog div#primary,
  .archive div#primary,
  .search section#primary {
    grid-column-start: 5;
    grid-column-end: 13;
    grid-row-start: 1;
  }

  .single aside#secondary,
  .blog aside#secondary,
  .archive aside#secondary,
  .search aside#secondary {
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 1;
  }
}

@media only screen and (max-width: 768px) {
  .single div#primary,
  .blog div#primary,
  .archive div#primary,
  .search section#primary {
    grid-column-start: 1;
    grid-column-end: 13;
    grid-row-start: 1;
  }

  .single aside#secondary,
  .blog aside#secondary,
  .archive aside#secondary,
  .search aside#secondary {
    grid-column-start: 1;
    grid-column-end: 13;
    grid-row-start: 2;
  }
}

/* header#masthead {
    display: none;
} */

a.skip-link.screen-reader-text {
  display: none;
}

/* footer#colophon {
    display: none;
} */

/* Hero Headline Styles */
.hero_headline {
  text-align: center;
  background-size: cover;
  background-position: center;
  margin-top: -4px;
}

.headline-content {
  padding: 20vh 5vw;
}

.hero_headline h1 {
  font-size: 5vw;
  text-shadow: 0px 0px 3px black;
  color: white;
  font-family: "Roboto Slab", sans-serif;
}

.hero_headline.no-image h1 {
  text-shadow: none;
  color: black;
}


@media only screen and (max-width: 1100px) {
  .hero_headline h1 {
    font-size: 6vw;
  }
}

@media only screen and (max-width: 1100px) {
}

@media only screen and (max-width: 900px) {
  .hero_headline h1 {
    font-size: 7vw;
  }
}

@media only screen and (max-width: 700px) {
  .hero_headline h1 {
    font-size: 8vw;
  }
}

@media only screen and (max-width: 500px) {
  .hero_headline h1 {
    font-size: 9vw;
  }
}

/* Curved Dividers */

.bottom-curved-divider {
  margin-top: -85px;
}

.top-curved-divider {
  margin-bottom: -95px;
  position: relative;
  z-index: 1;
}

/* Test Mask */
.test-mask {
  mask-size: cover;
  -webkit-mask: url(images/RandolphMask.svg);
  -webkit-mask-size: cover;
  margin-bottom: -30px;
  position: relative;
  z-index: 1;
  padding-top: 56%;
}

.test-mask iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: 100%;
}

.test-mask img {
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: 100%;
}

@media only screen and (max-width: 768px) {
  .test-mask {
    mask-size: none;
    -webkit-mask: none;
    -webkit-mask-size: none;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    padding-top: 56%;
  }
}

/* Three Buttons */

.three_buttons_container {
  background-color: #ffd200;
  padding: 30px;
}

.three_buttons_container .three-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  justify-content: center;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

@media only screen and (max-width: 768px) {
  .three_buttons_container .three-buttons {
    grid-template-columns: repeat(1, minmax(225px, 1fr));
  }
}

.three_buttons_container .three-buttons a {
  display: block;
  padding: 5px 0px;
  color: white;
  background-color: black;
  text-transform: uppercase;
  text-align: center;
  font-size: 2rem;
  transition: all 0.25s;
  font-weight: 600;
  font-family: "PT Sans Narrow", sans-serif;
  /* margin-right:30px; */
}

.three_buttons_container .three-buttons a:last-child {
  /* margin-right:0px; */
}

.three_buttons_container .three-buttons a i {
  color: white;
  font-size: 1.75rem;
  position: relative;
  top: 3px;
}

.three_buttons_container .three-buttons a:hover {
  background-color: #333333;
}

/* Skewed section */

.skewed-section-holder {
  background: #ffd200;
  padding: 40px;
  transform: skew(0deg, -5deg);
}

.testimonial-text-container {
  margin-left: 40px;
  font-size: 1.2rem;
}

.testimonial-text-container h2 {
  margin: 0px;
  margin-bottom: 10px;
  font-size: 2rem;
}

.testimonial-text-container .quote-source {
  text-align: right;
}

.testimonial-text-container .quote_name {
  font-weight: bold;
}

.skewed-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1130px;
  margin: 0 auto;
}

.skewed-section .testimonial-photo {
  width: 40%;
}

.skewed-section .box-crop {
  padding-top: 100%;
  z-index: 1;
  position: relative;
  background: red;
  background-position: center;
  background-size: cover;
  box-sizing: border-box;
}

.elementor-widget-skewed-section .wanda-wildcat_footprints {
  position: absolute;
  margin-top: 47px;
  right: 229px;
  transform: rotate(10deg);
}

@media only screen and (max-width: 1100px) {
  .skewed-section .testimonial-photo {
    width: 60%;
  }

  .elementor-widget-skewed-section .wanda-wildcat_footprints {
    position: absolute;
    margin-top: 59px;
    right: 215px;
  }
}

@media only screen and (max-width: 900px) {
  .skewed-section .testimonial-photo {
    width: 90%;
  }
}

@media only screen and (max-width: 768px) {
  .elementor-widget-skewed-section {
    background: #ffd200;
    padding: 40px;
    transform: skew(0deg, -5deg);
  }

  .skewed-section {
    display: block;
  }

  .skewed-section .testimonial-photo {
    width: 100%;
    margin: 0 auto 30px;
  }

  .testimonial-text-container {
    margin-left: 0px;
  }
  .skewed-section-holder {
    background: #ffd200;
    padding: 0px;
    transform: skew(0deg, 0deg);
  }
}

/* Wanda Wildcat */
.elementor-widget-skewed-section .wanda-wildcat_footprints {
  /* position: relative; */
  /* margin-right: -18px; */
}

@media only screen and (max-width: 579px),
  only screen and (min-width: 580px) and (max-width: 767px) {
  .elementor-widget-skewed-section .wanda-wildcat_footprints {
    margin-right: 30px;
  }
}

@media only screen and (max-width: 435px) {
  .elementor-widget-skewed-section .wanda-wildcat_footprints {
    margin-right: 50px;
  }
}

.elementor-widget-skewed-section .wanda-wildcat_footprints i {
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40px;
  height: 40px;
  background-image: url("images/footprint.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
  only screen and (min--moz-device-pixel-ratio: 1.5),
  only screen and (-o-min-device-pixel-ratio: 3 / 2),
  only screen and (min-device-pixel-ratio: 1.5) {
  .elementor-widget-skewed-section .wanda-wildcat_footprints i {
    background-image: url("images/footprint@2x.png");
  }
}

.elementor-widget-skewed-section .wanda-wildcat_footprints #footprint-1 {
  bottom: -40px;
  right: 50px;
  transition: opacity 350ms ease calc(0ms + 500ms);
}

.elementor-widget-skewed-section .wanda-wildcat_footprints #footprint-2 {
  bottom: 26px;
  right: -8px;
  transition: opacity 350ms ease calc(400ms + 500ms);
}

.elementor-widget-skewed-section .wanda-wildcat_footprints #footprint-3 {
  bottom: -20px;
  right: -60px;
  transition: opacity 350ms ease calc(800ms + 500ms);
}

.elementor-widget-skewed-section .wanda-wildcat_footprints #footprint-4 {
  bottom: 50px;
  right: -100px;
  transition: opacity 350ms ease calc(1200ms + 500ms);
}

.elementor-widget-skewed-section .wanda-wildcat_footprints #footprint-5 {
  bottom: 0px;
  right: -150px;
  transition: opacity 350ms ease calc(1600ms + 500ms);
}

.elementor-widget-skewed-section .wanda-wildcat_footprints #footprint-6 {
  bottom: 80px;
  right: -190px;
  transition: opacity 0ms ease calc(2000ms + 500ms);
}

.elementor-widget-skewed-section .wanda-wildcat_footprints.is-animated i {
  opacity: 1;
}

@media only screen and (max-width: 1000px) {
  .elementor-widget-skewed-section .wanda-wildcat_footprints {
    position: absolute;
    margin-top: 59px;
    right: 215px;
  }

  .elementor-widget-skewed-section .wanda-wildcat_footprints #footprint-1 {
    bottom: -40px;
    right: 10px;
    transition: opacity 350ms ease calc(0ms + 500ms);
  }

  .elementor-widget-skewed-section .wanda-wildcat_footprints #footprint-2 {
    bottom: 26px;
    right: -28px;
    transition: opacity 350ms ease calc(400ms + 500ms);
  }

  .elementor-widget-skewed-section .wanda-wildcat_footprints #footprint-3 {
    bottom: -20px;
    right: -83px;
    transition: opacity 350ms ease calc(800ms + 500ms);
  }

  .elementor-widget-skewed-section .wanda-wildcat_footprints #footprint-4 {
    bottom: 50px;
    right: -110px;
    transition: opacity 350ms ease calc(1200ms + 500ms);
  }

  .elementor-widget-skewed-section .wanda-wildcat_footprints #footprint-5 {
    bottom: 0px;
    right: -170px;
    transition: opacity 350ms ease calc(1600ms + 500ms);
  }

  .elementor-widget-skewed-section .wanda-wildcat_footprints #footprint-6 {
    bottom: 80px;
    right: -190px;
    transition: opacity 0ms ease calc(2000ms + 500ms);
  }
}

@media only screen and (max-width: 900px) {
  .elementor-widget-skewed-section .wanda-wildcat_footprints {
    display: none;
  }
}

/* Flip Captions */

.elementor-image {
  /* perspective: 1000px; */
}

figure.wp-caption {
  background-color: transparent;
  perspective: 1000px;
  position: relative;
}

figure.wp-caption img {
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

figure.wp-caption:hover img {
  transform: rotateY(180deg);
}

figure.wp-caption img,
figure.wp-caption figcaption.widget-image-caption.wp-caption-text {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

figure.wp-caption figcaption.widget-image-caption.wp-caption-text {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffd200;
  color: black;
  transform: rotateY(-180deg);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  transition: transform 0.6s;
}

figure.wp-caption:hover figcaption.widget-image-caption.wp-caption-text {
  transform: rotateY(0deg);
}

/* Gallery */

figure.gallery-item {
  background-color: transparent;
  perspective: 1000px;
  position: relative;
}

figure.gallery-item .gallery-icon {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  background: #ffd200;
}

figure.gallery-item:hover .gallery-icon {
  transform: rotateY(180deg);
}

figure.gallery-item figcaption {
  /* position: absolute;
        width: 100%;
        height: 100%; */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

figure.gallery-item figcaption {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffd200;
  color: black;
  transform: rotateY(-180deg);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  transition: transform 0.6s;
		padding: 20px;

}

figure.gallery-item:hover figcaption {
  transform: rotateY(0deg);
}

.department-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  border-top: 1px solid black;
  width: 100%;
  text-align: center;
  font-size: 0;
  flex-wrap: wrap;
}

.department-navigation ul li {
  /* display: inline-block; */
}

.department-navigation ul ul.sub-menu {
  display: none;
}

.department-navigation ul li:hover ul.sub-menu {
  display: block;
  width: auto;
  position: absolute;
  z-index: 3;
  border-top: 0px solid black;
}

.department-navigation ul ul.sub-menu li {
  display: block;
  float: left;
}

.department-navigation ul li a {
  color: black;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.2rem;
  padding: 15px 40px;
  display: block;
  border-left: 1px solid black;
  margin-left: -1px;
  border-top: 1px solid black;
  margin-top: -1px;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  background: white;
  white-space: nowrap;
}

.department-navigation ul li:first-of-type a {
  border-left: 1px solid black;
}

.elementor-default .elementor-widget-heading .elementor-heading-title {
  color: #000000;
  font-family: "Roboto Slab", Sans-serif;
  font-weight: 600;
}


/* Recreating Sliding Nav from Home Page Style */

.sliding-nav .header-ctas ul {
	margin: 0;
	padding: 0;
	list-style-type: none; }
  
  .sliding-nav .header-ctas a {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: 'Roboto', sans-serif;
	display: block;
	font-size: 16px;
	font-weight: 700; }
  
  @media only screen and (max-width: 579px), only screen and (min-width: 580px) and (max-width: 767px) {
	.sliding-nav .header-ctas {
	  z-index: 20;
	  position: fixed;
	  bottom: 0px;
	  left: 0;
	  width: 100vw;
    }
    .has-sliding-nav {
        padding-bottom: 58px;
    }

    
	  .sliding-nav .header-ctas ul {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
		text-align: center; }
	  .sliding-nav .header-ctas li {
		margin: 0; }
	  .sliding-nav .header-ctas a {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100%;
		padding: 5px 5px 4px;
		border: 0 solid rgba(255, 255, 255, 0.14);
		border-bottom-width: 1px;
		background-color: #535353;
		color: #ffd200;
		text-decoration: none; }
		.sliding-nav .header-ctas a:hover, .sliding-nav .header-ctas a:focus {
		  background-color: #6d6d6d; }
	  .sliding-nav .header-ctas li:nth-child(1),
	  .sliding-nav .header-ctas li:nth-child(2),
	  .sliding-nav .header-ctas li:nth-child(3) {
		width: 33.33%; }
	  .sliding-nav .header-ctas li:nth-child(4),
	  .sliding-nav .header-ctas li:nth-child(5) {
		width: 50%; }
	  .sliding-nav .header-ctas li:nth-child(1) a,
	  .sliding-nav .header-ctas li:nth-child(2) a,
	  .sliding-nav .header-ctas li:nth-child(4) a {
		border-right-width: 1px; } }
  
  @media only screen and (min-width: 992px) and (max-width: 1299px), only screen and (min-width: 1300px) {
	.sliding-nav .header-ctas {
	  top: 350px; } }
  
  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .sliding-nav {
        position: fixed;
        top: 0;
        z-index: 1000;    
    }
	.sliding-nav .header-ctas {
      position: absolute;
	  top: 240px;
    }
  }
  /* .sliding-nav .header-ctas {
    transition: top .25s;
  }
  .sliding-nav.scrolled .header-ctas {
    top: 20px;
  } */

  /* .admin-bar .sliding-nav.scrolled .header-ctas {
    top: 46px;
  } */

  @media (min-width: 768px) and (max-height: 768px) {
	.sliding-nav .header-ctas {
	  top: calc(50% + 50px/2 + 10px);
	  transform: translateY(-50%); } }
  
  @media only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 992px) and (max-width: 1299px), only screen and (min-width: 1300px) {
	.sliding-nav .header-ctas {
	  position: fixed;
	  left: 0;
	  z-index: 200;
	  pointer-events: none; }
	  .sliding-nav .header-ctas li {
		display: block;
		margin-bottom: 14px; }
	  .sliding-nav .header-ctas a {
		pointer-events: all;
		z-index: 10;
		position: relative;
		display: block;
		width: 185px;
		padding: 22px calc(25px + 18px) 20px 15px;
		background-color: #535353;
		color: #ffffff;
		text-decoration: none;
		text-align: right; }
		.sliding-nav .header-ctas a::after {
		  content: '';
		  display: block;
		  position: absolute;
		  right: -1px;
		  top: 0;
		  width: 18px;
		  height: 100%;
		  background-color: #ffd200; }
		.sliding-nav .header-ctas a:hover, .sliding-nav .header-ctas a:focus {
		  color: #ffffff;
		  text-decoration: none; }
	  .sliding-nav .header-ctas li:nth-child(1) a {
		transition: transform 400ms cubic-bezier(0.47, 0.06, 0.29, 1.08) 120ms; }
	  .sliding-nav .header-ctas li:nth-child(2) a {
		transition: transform 400ms cubic-bezier(0.47, 0.06, 0.29, 1.08) 90ms; }
	  .sliding-nav .header-ctas li:nth-child(3) a {
		transition: transform 400ms cubic-bezier(0.47, 0.06, 0.29, 1.08) 60ms; }
	  .sliding-nav .header-ctas li:nth-child(4) a {
		transition: transform 400ms cubic-bezier(0.47, 0.06, 0.29, 1.08) 30ms; }
	  .sliding-nav .header-ctas li:nth-child(5) a {
		transition: transform 400ms cubic-bezier(0.47, 0.06, 0.29, 1.08) 0ms; }
	  .sliding-nav .header-ctas.is-hidden li a:not(:hover):not(:focus) {
		transform: translateX(-81%); }
	  .sliding-nav .header-ctas.is-hidden li a:hover,
	  .sliding-nav .header-ctas.is-hidden li a:focus {
		transition: transform 360ms cubic-bezier(0.47, 0.06, 0.29, 1.08) 0ms !important; }
	  .sliding-nav .header-ctas.is-hidden li:nth-child(1) a {
		transition: transform 400ms cubic-bezier(0.47, 0.06, 0.29, 1.08) 0ms; }
	  .sliding-nav .header-ctas.is-hidden li:nth-child(2) a {
		transition: transform 400ms cubic-bezier(0.47, 0.06, 0.29, 1.08) 30ms; }
	  .sliding-nav .header-ctas.is-hidden li:nth-child(3) a {
		transition: transform 400ms cubic-bezier(0.47, 0.06, 0.29, 1.08) 60ms; }
	  .sliding-nav .header-ctas.is-hidden li:nth-child(4) a {
		transition: transform 400ms cubic-bezier(0.47, 0.06, 0.29, 1.08) 90ms; }
	  .sliding-nav .header-ctas.is-hidden li:nth-child(5) a {
		transition: transform 400ms cubic-bezier(0.47, 0.06, 0.29, 1.08) 120ms; } }

.elementor-section.elementor-section-boxed > .elementor-container {
    padding: 0 40px;
}
@media only screen and (max-width: 991px) {
    .elementor-section.elementor-section-boxed > .elementor-container {
        padding: 0 20px;
    }
}
        
@media only screen and (max-width: 500px) {
    .sliding-nav .header-ctas ul {
        display: block;
    }
    .sliding-nav .header-ctas ul > li {
        width: 100% !important;
    }
    .has-sliding-nav {
        padding-bottom: 145px;
    }
}
