/* This file is used for site specific CSS that is requird at the global level. * DO NOT ADD ANYTHING TO THIS FILE. * If you have any questions, please contact webmaster@miami.edu */

/* This section defines the properties of the programs boxes/links on the homepage (Daniele) */
 .program-container {
	 display: flex;
	 flex-flow: row wrap;
	 justify-content: center;
	 padding: 0;
	 margin: 0;
	 list-style: none;
}
 .prog-item-undergrad {
	 display: flex;
	 justify-content: center;
	 align-items: center;
	 background: rgba(254, 254, 254, 0.9);
	 width: 200px;
	 height: 130px;
	 margin: 10px;
	 color: black;
	 text-align: center;
	 font-size: 1em;
	 padding: 6px;
	 border-style: solid;
	 border-color: #FFFFFF;
	 border-width: 1px;
}
 .prog-item-undergrad:hover {
	 background: rgba(0, 80, 48, 0.9);
	 color: white;
}
.prog-item-grad {
	 display: flex;
	 justify-content: center;
	 align-items: center;
	 background: rgba(254, 254, 254, 0.9);
	 width: 200px;
	 height: 130px;
	 margin: 10px;
	 color: black;
	 text-align: center;
	 font-size: 1em;
	 padding: 6px;
	 border-style: solid;
	 border-color: #FFFFFF;
	 border-width: 1px;
}
 .prog-item-grad:hover {
	 background: rgba(255, 223, 92, 0.9);
}
 .prog-item-grad-doct {
	 display: flex;
	 justify-content: center;
	 align-items: center;
	 background: rgba(254, 254, 254, 0.9);
	 width: 200px;
	 height: 130px;
	 margin: 10px;
	 color: black;
	 text-align: center;
	 font-size: 1em;
	 padding: 6px;
	 border-style: solid;
	 border-color: #FFFFFF;
	 border-width: 1px;
}
 .prog-item-grad-doct:hover {
	 background: rgba(255, 223, 92, 0.9);
}
 /* This section defines the properties of the community partners boxes on the FRIENDS->Community Partners page (Daniele) */
.community-partner-box01 h3{
  text-align:center;
	position:relative;
    font-size: 1.2rem;
    line-height: 1.3rem;
}
.community-partner-box01 p{
  text-align:center;
	position:relative;
}
.community-partner-box01 {
	width:90%;
	height:auto;
	background:#f3f9f2;
	margin:40px 12px;
    padding: 4px 40px
}
.community-partner-effect01
{
  position: relative;
}
.community-partner-effect01:before, .community-partner-effect01:after
{
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  left: 10px;
  width: 50%;
  top: 80%;
  max-width:300px;
  background: #777;
  -webkit-box-shadow: 0 15px 10px #777;
  -moz-box-shadow: 0 15px 10px #777;
  box-shadow: 0 15px 10px #777;
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
}
.community-partner-effect01:after
{
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
  right: 10px;
  left: auto;
}
.community-partner-box01-flex-container {
  display: flex;
}

/* This section defines the properties of the panels on the "Office of Communication, Marketing and Operations" page (Daniele) */
/* Media Queries */
/* Card sizing */
/* Colors */
/* Calculations */
/* Placeholders */
@media (min-width: 1000px) {
  #timeline .demo-card:nth-child(odd) .head::after, #timeline .demo-card:nth-child(even) .head::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
  }

  #timeline .demo-card:nth-child(odd) .head::before, #timeline .demo-card:nth-child(even) .head::before {
    position: absolute;
    content: "";
    width: 9px;
    height: 9px;
    background-color: #bdbdbd;
    border-radius: 9px;
    box-shadow: 0px 0px 2px 8px #f7f7f7;
  }
}
/* Some Cool Stuff */
.demo-card:nth-child(1) {
  order: 1;
}

.demo-card:nth-child(2) {
  order: 6;
}

.demo-card:nth-child(3) {
  order: 2;
}

.demo-card:nth-child(4) {
  order: 7;
}

.demo-card:nth-child(5) {
  order: 3;
}

.demo-card:nth-child(6) {
  order: 8;
}

.demo-card:nth-child(7) {
  order: 4;
}

.demo-card:nth-child(8) {
  order: 9;
}

.demo-card:nth-child(9) {
  order: 5;
}
/* Border Box */
* {
  box-sizing: border-box;
}

/* Fonts */
#timeline {
  padding: 100px 0;
}
#timeline h1 {
  text-align: center;
  font-size: 3rem;
  font-weight: 200;
  margin-bottom: 20px;
}
#timeline p.leader {
  text-align: center;
  max-width: 90%;
  margin: auto;
  margin-bottom: 45px;
}
#timeline .demo-card-wrapper {
  position: relative;
  margin: auto;
}
@media (min-width: 1000px) {
  #timeline .demo-card-wrapper {
    display: flex;
    flex-flow: column wrap;
    width: 1170px;
    height: 2600px;
    margin: 0 auto;
  }
}
#timeline .demo-card-wrapper::after {
  z-index: 1;
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px solid rgba(191, 191, 191, 0.4);
}
@media (min-width: 1000px) {
  #timeline .demo-card-wrapper::after {
    border-left: 1px solid #bdbdbd;
  }
}
#timeline .demo-card {
  position: relative;
  display: block;
  margin: 10px auto 80px;
  max-width: 94%;
  z-index: 2;
}
@media (min-width: 480px) {
  #timeline .demo-card {
    max-width: 60%;
    box-shadow: 0px 1px 22px 4px rgba(0, 0, 0, 0.07);
  }
}
@media (min-width: 720px) {
  #timeline .demo-card {
    max-width: 40%;
  }
}
@media (min-width: 1000px) {
  #timeline .demo-card {
    max-width: 450px;
    height: 400px;
    margin: 90px;
    margin-top: 45px;
    margin-bottom: 45px;
  }
  #timeline .demo-card:nth-child(odd) {
    margin-right: 45px;
  }
  #timeline .demo-card:nth-child(odd) .head::after {
    border-left-width: 15px;
    border-left-style: solid;
    left: 100%;
  }
  #timeline .demo-card:nth-child(odd) .head::before {
    left: 491.5px;
  }
  #timeline .demo-card:nth-child(even) {
    margin-left: 45px;
  }
  #timeline .demo-card:nth-child(even) .head::after {
    border-right-width: 15px;
    border-right-style: solid;
    right: 100%;
  }
  #timeline .demo-card:nth-child(even) .head::before {
    right: 489.5px;
  }
  #timeline .demo-card:nth-child(2) {
    margin-top: 180px;
  }
}
#timeline .demo-card .head {
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: 400;
}
#timeline .demo-card .head .number-box {
  display: inline;
  float: left;
  margin: 15px;
  padding: 10px;
  font-size: 35px;
  line-height: 35px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.17);
}
#timeline .demo-card .head h2 {
  text-transform: uppercase;
  font-size: 1.3rem;
  font-family: Roboto;
  font-weight: inherit;
  letter-spacing: 2px;
  margin: 0;
  padding-bottom: 6px;
  line-height: 1rem;
  color: #FFF;
}
@media (min-width: 480px) {
  #timeline .demo-card .head h2 {
    font-size: 165%;
    line-height: 1.2rem;
  }
}
#timeline .demo-card .head h2 span {
  display: block;
  font-size: 0.6rem;
  margin: 0;
}
@media (min-width: 480px) {
  #timeline .demo-card .head h2 span {
    font-size: 0.8rem;
  }
}
#timeline .demo-card .body {
  background: #fff;
  border: 1px solid rgba(191, 191, 191, 0.4);
  border-top: 0;
  padding: 15px;
}
@media (min-width: 1000px) {
  #timeline .demo-card .body {
    height: 315px;
  }
}
#timeline .demo-card .body p {
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 15px;
}
#timeline .demo-card .body img {
  display: block;
  width: 100%;
}
#timeline .demo-card--step1 {
  background-color: #46b8e9;
}
#timeline .demo-card--step1 .head::after {
  border-color: #46b8e9;
}
#timeline .demo-card--step2 {
  background-color: #3ee9d1;
}
#timeline .demo-card--step2 .head::after {
  border-color: #3ee9d1;
}
#timeline .demo-card--step3 {
  background-color: #ce43eb;
}
#timeline .demo-card--step3 .head::after {
  border-color: #ce43eb;
}
#timeline .demo-card--step4 {
  background-color: #4d92eb;
}
#timeline .demo-card--step4 .head::after {
  border-color: #4d92eb;
}
#timeline .demo-card--step5 {
  background-color: #BDB2FF;
}
#timeline .demo-card--step5 .head::after {
  border-color: #BDB2FF;
}
#timeline .demo-card--step6 {
  background-color: #f15724;
}
#timeline .demo-card--step6 .head::after {
  border-color: #f15724;
}
#timeline .demo-card--step7 {
  background-color: #005030;
}
#timeline .demo-card--step7 .head::after {
  border-color: #005030;
}
#timeline .demo-card--step8 {
  background-color: #edd145;
}
#timeline .demo-card--step8 .head::after {
  border-color: #edd145;
}
#timeline .demo-card--step9 {
  background-color: #f47321;
}
#timeline .demo-card--step9 .head::after {
  border-color: #f47321;
}

/* This section defines the properties of the bullets on the "Degrees by Department" page (Daniele) */
#prog-bullet01 {
  line-height: 1.5em;
  list-style-image: url(https://www.edu.miami.edu/_assets/images/prog-bull01.png);
}

/* This section defines the properties of the Researchers Cards (Daniele) */
.filterDiv {
  display: none;
  background-color: #231e39;
  border-radius: 5px;
  box-shadow: 0px 10px 20px -10px rgba(0, 0, 0, 0.85);
  color: #b3b8cd;
  padding-top: 30px;
  padding-left: 8px;
  padding-right: 8px;
  position: relative;
  width: 320px;
  text-align: center;
  margin: 20px 8px;
  font-family: Montserrat, sans-serif;
  float: left;
}

.filterDiv p {
  font-size: 0.85em;
}

.filterDiv h3 {
  font-size: 1.5em;
  padding: 0px;
  color: #ffffff;
  margin-bottom: 0px;
}

.filterDiv h5 {
  font-size: 1em;
  color: #febb0b;
  padding: 0px;
  margin: 0px;
}

.filterDiv .pro {
  color: #231e39;
  background-color: #febb0b;
  border-radius: 3px;
  font-size: 14px;
  font-weight: bold;
  padding: 3px 7px;
  position: absolute;
  top: 20px;
  left: 20px;
}

.filterDiv .round {
  border: 1px solid #03bfcb;
  border-radius: 50%;
  padding: 7px;
  width: 160px;
  height: 160px;
  object-fit: cover;
}
.show {
  display: block;
}

.container {
  margin-top: 20px;
  overflow: hidden;
}

/* Style the filter buttons */
.btn {
  cursor: pointer;
  background-color: #eaeaea;
  border: 1px solid #03bfcb;
  border-radius: 3px;
  color: #231e39;
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  padding: 10px;
  width: 80px;
  font-size: 0.85rem;
}

.btn:hover {
  background-color: #febb0b;
}

.btn.active {
  background-color: #666;
  color: white;
}

/* Style the Links */
button.researcher-filter {
  background-color: #eaeaea;
  border: 1px solid #03bfcb;
  border-radius: 3px;
  color: #231e39;
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  padding: 10px;
  width: 80px;
  font-size: 0.85rem;
}

button.researcher-primary {
  background-color: #03bfcb;
  border: 1px solid #03bfcb;
  border-radius: 3px;
  color: #231e39;
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  padding: 10px;
  width: 30%;
  font-size: 0.65rem;
}

button.researcher-primary.ghost {
  background-color: transparent;
  color: #02899c;
}

.skills {
  background-color: #1f1a36;
  text-align: left;
  padding: 15px;
  margin-top: 30px;
  font-family: Montserrat, sans-serif;
}

.skills h5 {
  color: #fff;
  font-size: 14px;
}

.skills ul {
  margin: 0;
  padding: 0;
}

.skills li {
  border: 1px solid #2d2747;
  border-radius: 2px;
  display: inline-block;
  font-size: 12px !important;
  margin: 0 7px 7px 0;
  padding: 7px;
  list-style-type: none !important;
}
