/*
Theme Name: USF Foxtrot
Author: USF Web Services

Author URI: http://www.sf.edu
Description: 2020/2021 USF Master site design
Version: 1.0
*/

:root, .is-root-container {
  --blue: #014A89;
  --navy: #00062E;
  --aqua: #57B5C3;
  --yellow: #FFDC04;
  --gray: #34393C;
  --light-gray: #F2F0F0;
  --dark-gray: #242424;
  --red: #ed2121;
}

body {
  font-family: Lato;
  font-size: 16;
  font-weight: 400;
  box-sizing: border-box;
  margin: 0;
}

body * {
  box-sizing: inherit;
}


/************************
  Base Styles
************************/

/* Headers */

h1 {
  color: var(--blue);
  font-size: 2.5em;
  font-weight: 600;
  margin: .5em 0;
}

h2 {
  color: var(--blue);
  font-size: 2em;
  font-weight: 600;
  margin: .5em 0;
}

h3 {
  color: var(--blue);
  font-size: 1.5em;
  margin: .75em 0 .5em 0
}

h2+.sub-head {
  color: var(--blue);
  margin: -.5em 0 1.5em;
  font-size: 1.5em;
}
h3+.sub-head {
  color: var(--blue);
  margin: -.5em 0 .5em;
  font-size: 1.25em;
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child {
  margin-top: 0
}

p { margin-bottom: 1.8em;}


a.external::after {
  content: "\f1b3";
  font-family: bootstrap-icons;
  font-size: .75em;
  vertical-align: top;
  margin-left: .5em;
  text-decoration: none;
}

.wp-block-column h3 {
  font-weight: 400;
  /*text-transform: uppercase;*/
}

.wp-block-column h3.lighter {
  font-weight: 300;
  text-transform: uppercase;
}

.extra-space {
  margin-bottom: 1em;
}

.sub-head {
  font-weight: 300;
}

.pre-head {
  font-size: 1.5em;
  font-weight: 300;
  color: var(--blue);
  margin: 0 0 1em 0;
}

.pre-head+h2 {
  margin-top: .25em;
}
.pre-head+h3 {
  margin-top: 0;
}

article a {
  text-decoration: underline;
}

article a:hover {
  text-decoration: none;
}

article a.none {
  text-decoration: none;
}

@media (min-width: 768px) {
  article {
    min-height: 800px;
  }
}

@media (max-width: 767px) {
  article {
    margin-top: 3em;
  }
}

/* Tags */

.tag {
  border-bottom: 3px solid var(--aqua);
  display: inline-block;
  padding-bottom: .125em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.125em;
  color: var(--gray);
}
.tag-blue {
  border-color: var(--blue)
}
.tag-navy {
  border-color: var(--navy)
}
.tag-yellow {
  border-color: var(--yellow)
}

.tag + h2, .tag + h3 {
  margin-top: 0;
}

.has-navy-background-color .tag {
  border-bottom-color: var(--yellow);
  color: #fff;
}

.has-dark-gray-background-color .tag {
  color: #fff;
}

/* Lists */

ul {
  padding-left: 2em;
  margin-bottom: 2rem;
}
ul.nobullet {
  list-style-type: none;
}
ul li {
  margin-bottom: .5em;
}
@media (min-width: 1024px) {
  ul {
    padding-left: 4em;
  }
}


/* Blockquotes */

blockquote p {
  margin: 1.5em 0;
  font-size: 1.5em;
  font-weight: 400;
}
blockquote cite {
  font-style: normal;
}

/* Tables */

.table { 
	margin-bottom: 3rem;
}

/* Container */

main {
  width: 100%;
  overflow: hidden; /* no-slip */
}

.page-template-default main {
  margin-top: 3em;
}

/* Custom Column layout for pages */

.row.no-flex {
  display: block;
}

.row.no-flex [class*="col-"] {
  float: left;
}

.row.no-flex [class*="col-"].right-col {
  float: right;
}


/* Helpers */

/************************
  Navigation
************************/

/* Ribbon Nav */

.ribbon-navs {
  background-color: var(--navy);
  display: flex;
  justify-content: space-between;
}

.ribbon-navs .container {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.ribbon-navs ul {
  padding: 0;
  margin: 0 -.5em;
  font-size: .875em;
}

.ribbon-navs li {
  display: inline-block;
}

.ribbon-navs a {
  color: #fff;
  font-weight: 300;
  display: inline-block;
  padding: .5em;
}

@media (min-width: 768px) {
  .ribbon-navs .container {
    flex-direction: row;
  }
}


/* Emergency Notification */
.emergency {
	background-color: #900;
	color: #fff;
	padding: 1em;
}

.warning {
	background-color: #fff1d2;
	color: #000;
	padding: 1em;
}




/* Main Nav */

.banner {
  background-color: var(--blue);
  padding: 1.5em;
  position: relative;
}

.main-nav {
  margin: 1em -.5em -1em;
  color: #fff;
}

.main-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-nav a {
  color: inherit;
}

.main-nav > ul > li {
  display: inline-block;
}

.main-nav > ul > li > a {
  color: #fff;
  display: inline-block;
  padding: .5em;
}

.main-nav .sub-nav {
  position: absolute;
  top: 100%;
  background-color: var(--dark-gray);
  left: 0;
  z-index: 1;
  width: 100%;
  padding: 1.5em 0;
}

.main-nav .sub-nav .row {
  width: 100%;
}

.main-nav .sub-nav h2 {
  font-size: 1.25em;
  font-weight: 300;
  color: #fff;
  text-transform: uppercase;
}

.main-nav .sub-nav a {
  font-size: .875em;
}

.main-nav .sub-nav {
  display: none;
}

.main-nav .sub-nav.open {
  display: block;
}

@media (min-width: 1024px) {
  .main-nav {
    margin: 0 -.5em;
  }
  .banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}





/* Side Nav */

.side-nav-container h2 {
  text-transform: uppercase;
  color: var(--dark-gray);
  font-size: 1.5em;
  font-family: Lato;
  font-weight: 900;
  margin-bottom: .5em;
}


.side-nav-mobile-toggle {
  background: transparent;
  font-size: 1.5em;
  border: 0;
  padding: 0;
  line-height: 1.25em;
  float: right;
  width: 2em;
}

.side-nav,
.side-nav ul {
  list-style: none;
  padding-left: 0;
}

.side-nav > ul {
  padding: 0;
}

.side-nav li {
  position: relative;
  padding-left: 1em;
  margin: 0;
}

.side-nav > li {
  border-bottom: 1px solid var(--gray);
}

.side-nav > li.open,
.side-nav > li.current_page_item:not(.closed),
.side-nav > li.current_page_ancestor:not(.closed) {
  background-color: var(--light-gray);
}

/* Inline #20 | https://testbed.sf.edu/president/ */



.side-nav-container hr {
  border: 0;
  border-bottom: 1px solid var(--gray);
}

.side-nav .sub-menu li:last-child {
  margin-bottom: 0;
}

.side-nav a {
  color: var(--dark-gray);
  display: block;
  padding: .75em 2em .75em 0;
}

.side-nav .toggle {
  background-color: transparent;
  font-size: 1.5em;
  border: 0;
  position: absolute;
  width: 1.5em;
  text-align: center;
  padding: 0;
  line-height: 1.25;
  transform-origin: center;
  right: 0;
  top: 0;
  padding: .25em;
}

.side-nav .toggle {
  transform: rotate(0deg);
  transition: transform 200ms linear;
}

.side-nav .current_page_ancestor:not(.closed) > .toggle,
.side-nav .current_page_item:not(.closed) > .toggle,
.side-nav .open > .toggle {
  transform: rotate(90deg);
}

.side-nav .sub-menu {
  display: none;
}

.side-nav .current_page_ancestor:not(.closed) > .sub-menu,
.side-nav .current_page_item:not(.closed) > .sub-menu,
.side-nav .open > .sub-menu {
  display: block;
}

@media (max-width: 767px) {
  .side-nav-container {
    padding: 0 1em1em;
  }

  .side-nav-container h2 {
    margin-left: .6666666666em;
  }

  .side-nav-container > hr {
    margin-left: 0;
    margin-bottom: 1.5em;
  }

  .side-nav {
    display: none;
  }
}

/************************
  Contact Box
************************/

.side-contact {
  background-color: var(--light-gray);
  padding: 1.5em;
  border-top: 4px solid var(--yellow);
  margin-top: 10em;
}

.side-contact h2 {
  color: inherit;
}

.side-contact a {
  color: var(--navy);
  text-decoration: underline;
}

.side-contact a:hover {
	text-decoration: none;
	color: var(--red);
}

@media (max-width: 767px) {
  .side-contact {
    margin: 3em 0;
  }
}

/************************
  Search Box
************************/

.main-nav .search-input {
  background: 0 0;
  font-size: 1.125em;
  font-weight: 400;
  color: inherit;
  border: 2px solid #bbb;
  width: 80%;
  padding: .5em;
  margin: .5em 0;
}

.main-nav .search-input ~ button {
  background-color: transparent;
  border: 0;
  color: inherit;
  position: relative;
  left: -2.75em;
}

.main-nav a:hover {
  text-decoration: underline;
}

.main-nav .sub-nav a:hover {
  color: #fff;
}

/************************
  Mobile Menu
************************/

.mobile-nav-toggle {
  background-color: transparent;
  border: 0;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  font-size: 0.75em;
}

.mobile-nav-toggle.open .mobile-nav-toggle-open {
  display: none;
}
.mobile-nav-toggle:not(.open) .mobile-nav-toggle-close {
  display: none;
}

.mobile-nav-toggle svg {
  margin-bottom: .375em;
}

.nav-toggle.open .menu-bar-top,
.nav-toggle.open .menu-bar-bottom {
  display: none
}

.menu-bar-down, .menu-bar-up {
  /* transition: transform 200ms linear; */
  transform-origin: center;
}

.nav-toggle.open .menu-bar-down {
  transform: rotate(45deg);
  stroke-width: 2;
}

.nav-toggle.open .menu-bar-up {
  transform: rotate(-45deg);
  stroke-width: 2;
}


/* Mobile Menu */

@media (max-width: 767px) {

  .logo img {
    width: 200px;
    height: auto;
  }

  .banner > .container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0;
  }

  .main-nav {
    margin: 1em -1.5em -1em;
    background-color: #fff;
    color: #333;
    height: 0;
    overflow: hidden;
  }

  .main-nav.open {
    max-height: 2000px;
  }

  .main-nav .sub-nav {
    position: static;
    color: #fff;
    text-align: left;
    padding: 1.5em 1em;
  }

  .main-nav .sub-nav h2 {
    height: 0;
    overflow: hidden;
  }

  .main-nav .sub-nav .row > :not(:first-child) ul {
    border-top: 1px solid var(--aqua);
    padding-top: .5em;
  }

  .main-nav > ul > li > a {
    color: inherit;
    font-size: 1.375em;
    width: 100%;
  }

  .main-nav > ul > li {
    width: 100%;
    text-align: center;
  }
  
  .main-nav .search-sub-nav {
    display: block;
    background-color: inherit;
    color: #333;
  }

  .main-nav .search-sub-nav form {
    border-top: 1px solid var(--aqua);
    padding-top: 1em;
  }

  .main-nav .search-sub-nav ul {
    border-top: 0 !important;
  }

  .main-nav .search-input {
    width: 100%;
    font-size: 1em;
  }

  .main-nav .search-input ~ button {
    position: absolute;
    left: unset;
    top: 2.125em;
    right: 1.5em;
  }

}


/************************
  Breadcrumbs
************************/

#breadcrumbs {
  font-size: .85em;
  padding: 1em 0 0 0;
  margin-bottom: 1em;
}

#breadcrumbs a {
  color: var(--blue);
}


/************************
  Featured Media
************************/

.title-wrapper {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

.featured-media {
  position: relative;
  min-height: 6em;
}

.featured-media h1 {
  font-size: 2em;
  font-weight: 700;
  font-family: Lato;
  text-transform: uppercase;
  background-color: var(--navy);
  color: #fff;
  padding: .5em 1em;
  margin: 0;
  float: left;
}

@media (max-width: 767px) {
  .title-wrapper {
    position: relative;
  }

  .title-wrapper .container {
    max-width: 100%;
    padding: 0;
  }

  .featured-media h1 {
    width: 100%;
    float: none;
    text-align: center;
  }
}

/************************
  Blurnails
************************/

.blurnail-wrapper {
  position: relative;
}

.blurnail-wrapper .attachment-post-thumbnail {
  position: absolute;
  opacity: 0;
  transition: opacity .2s linear;
  width: 100%;
  height: auto;
}

.blurnail-wrapper .blurnail {
  position: absolute;
  width: 100%;
  height: 100%;
}


/************************
  Jump Navigation
************************/

.jump-nav {
  background-color: var(--gray);
  text-align: center;
}

.jump-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jump-nav li {
  display: inline-block;
  margin: 0;
}

.jump-nav a {
  font-weight: 300;
  color: #fff !important;
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
  padding: 1.25em 1em;
}

@media (max-width: 767px) {

  .jump-nav-menu {
    height: 0;
    overflow: hidden;
  }

  .jump-nav-menu.open {
    display: block;
  }

  .jump-nav {
    text-align: left;
  }

  .jump-nav li {
    display: block;
  }

  .jump-nav a {
    display: block;
    padding: 1em;
  }

  .jump-nav li + li a {
    padding-top: 0;
  }

  .jump-nav .jump-nav-toggle {
    background: transparent;
    border: 0;
    padding: 1em;
    width: 100%;
    text-align: left;
    color: #fff;
    display: flex;
    align-items: center;
  }

  .jump-nav-toggle svg {
    width: 1.5em;
    margin-right: 1em;
  }

  .jump-nav-toggle span {
    font-size: 1.125em;
    line-height: 1;
    text-transform: uppercase;
  }

}

/************************
  Block Styles
************************/

/* Columns */

.wp-block-columns {
  margin-bottom: 0; /* Overrides a Gutenberg style */
}

@media (min-width: 1024px) {
  .wp-block-column:not(:first-child) {
    margin-left: 4em;
  }
}

/* Padding */

.padded,
.padded.has-background {
  padding: 2em;
}

.padded-top,
.padded-top.has-background {
  padding: 2em 0;
}

@media (min-width: 1024px) {
  .padded,
  .padded.has-background {
    padding: 3em 6em;
  }
  .padded-top,
  .padded-top.has-background {
    padding: 3em 0;
  }
}

/* Borders */

.bordered {
  border: 1px solid var(--dark-gray);
  padding: 1.5em;
  align-self: flex-start;
}

/* Arrow Separator */

@media (min-width: 1024px) {
  .arrow-divider {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTE0OSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMzNDM5M0MiIHN0cm9rZS13aWR0aD0iMiIgZD0iTTEgLjQ2MVY2OGw4IDEzLTggMTN2MTA1NSIvPjwvc3ZnPg==');
    background-repeat: no-repeat;
    padding-right: 3em;
    background-position-x: right;
  }
  
  .arrow-divider-left {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTE0OSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMzNDM5M0MiIHN0cm9rZS13aWR0aD0iMiIgZD0iTTEgLjQ2MVY2OGw4IDEzLTggMTN2MTA1NSIvPjwvc3ZnPg==');
    background-repeat: no-repeat;
    padding-left: 3em;
    background-position-x: left;
  }

  .has-navy-background-color .arrow-divider {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTE0OSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiNGRkRDMDQiIHN0cm9rZS13aWR0aD0iMiIgZD0iTTEgLjQ2MVY2OGw4IDEzLTggMTN2MTA1NSIvPjwvc3ZnPg==');
  }

  .arrow-divider a,
  .arrow-divider-left a {
    text-decoration: none !important;
  }
}


/************************
  YouTube Styles
************************/

.wp-block-embed__wrapper {
  padding-bottom: 56%;
}
.wp-block-embed__wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
}


/************************
  Image Styles
************************/

.wp-block-image img {
  height: auto;
}

.wp-block-image figcaption {
  font-size: .875em;
}

.wp-block-image figcaption::before {
  content: "\f26f";
  font-family: bootstrap-icons;
  display: inline-block;
  margin-right: .5em;
  width: 1em;
  height: 1em;
  /* content: ' ';
  background: transparent url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggc3Ryb2tlPSIjMDAwNjJFIiBzdHJva2Utd2lkdGg9IjMiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgZD0iTTIuMzU2IDEzLjQ4OUwxMy41NiAyLjMzM2wxMS45MjMgMTEuMTU2TTIuMzU2IDIxLjQ2TDEzLjU2IDkuOTE1bDExLjkyNCAxMS44ODkiLz48L3N2Zz4K') no-repeat center;
  background-size: 100%;
  */
}

.wp-block-image figcaption br {
  margin-bottom: .75em
}

@media (min-width: 1024px) {
  .wp-block-image figcaption {
    margin-left: 2em;
  }

  .wp-block-image.caption-offset figcaption {
    margin-left: 5em;
  }
}

@media (max-width: 767px) {
  .wp-block-image .alignright,
  .wp-block-image .alignleft {
    float: none;
    margin: 1em 0;
  }
}


/************************
  Footer
************************/

footer.main-footer {
  color: #34393C;
  padding: 4em 4em 2em;
  line-height: 1.8em;
  background-color: #F2F0F0;
}

footer .link-set,
footer .contact {
  padding: 2em 0;
}

footer .contact {
  line-height: 2.5;
}

footer a, .sub-footer a {
  color: #34393C !important;
}

footer h2 {
  color: #34393C;
  font-size: 1.125em;
  text-transform: uppercase;
  margin: 0 0 .75em;
}

footer .tagline {
  text-transform: uppercase;
  font-size: .75em;
  line-height: 1.25;
  display: block;
  color: #014A89;
  margin-top: 1em;
}

footer .spacer {
  position: relative;
}

footer .spacer .divider {
  position: absolute;
  height: 100%;
  left: 50%;
  border-right: 1px solid #4f4f4f;
}

footer address {
  margin: 1em 0 0;
}

footer p {
  margin-top: 0;
}


footer ul {
  list-style: none;
  padding: 0;
}

footer li {
  line-height: 1.25;
  margin-bottom: .75em;
}

footer a:hover {
  border-bottom: 1px dotted #fff;
}

footer.sub-footer {
  margin: 2em 2em 1em 2em;
  background-color: #fff;
  line-height: 1.8em;
}

.sub-footer .social {
  text-align: center;
}

.sub-footer .social i {
  padding: 0 .5em;
}
.sub-footer .social i:first-child {
  padding-left: 0;
}

.sub-footer .legal ul {
  margin: 0;
  text-align: right;
}

.sub-footer .legal li {
  display: inline-block;
  margin: 0 0 0 2em;
  font-size: .75em;
}

.sub-footer .legal a {
  color: #707070 !important;
}

@media (min-width: 768px) {
  .sub-footer .copyright {
    order: -1;
  }
}

@media (max-width: 767px) {
  .sub-footer .legal ul,
  .sub-footer .social {
    text-align: left;
  }
  .sub-footer .legal li {
    margin: 0 0 1em;
    display: block;
  }
  .sub-footer .link-set,
  footer .contact {
    padding: 1em 0;
  }
}

.col-md-8 .full-width {
  margin-top: 3em;
  width: 150%;
}

@media (max-width: 767px) {
  .col-md-8 .full-width {
    width: 100%;
  }
}
