.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px 6px;
  border-radius: 0 6px 6px 6px;
}

/*.dropdown-submenu:hover>.dropdown-menu{display:block;}*/
.dropdown-submenu>a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #cccccc;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
  border-left-color: #ffffff;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}

a.back-to-top {
  display: none;
  width: 60px;
  height: 60px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #213f99 url("up-arrow.png") no-repeat center 43%;
  border-radius: 30px;
  z-index: +1;
}

.contact-icon {
  width: 4vw;
}

.contact-icons {
  width: 8vw;
}

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

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

.carousel-inner>.item>img {
  margin: 0 auto;
}

.carousel {
  position: relative;
  margin: 0px auto;
  display: table;
  width: 100%;
}

.gi-2x {
  font-size: .85em;
}

.gi-3x {
  font-size: 3em;
}

.gi-4x {
  font-size: 4em;
}

.gi-5x {
  font-size: 5em;
}

.text-vertical-center {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  color: red;
  font-family: 'ADAM', sans-serif;
  color: #EAEAEA;
  font-size: 150%;
}

@media only screen and (max-width: 1175px) {
  .socialmediaicons {
    display: none;
  }
}

@media only screen and (max-width : 320px) {
  .text-vertical-center {
    font-size: 100%;
  }
}

@media only screen and (max-width : 480px) {
  .text-vertical-center {
    font-size: 90%;
  }
}

.text-vertical-center h1 {
  margin: 0;
  padding: 0;
  font-size: 4.5em;
  font-weight: 700;
}

/* Custom Button Styles */

.btn-dark {
  border-radius: 0;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.4);
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
}

.btn-light {
  border-radius: 0;
  color: #333;
  background-color: rgb(255, 255, 255);
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
  color: #333;
  background-color: rgba(255, 255, 255, 0.8);
}

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

@media(max-width:960px) {
  .first-images {
    text-align: left;
  }
}

/* Custom Horizontal Rule */
hr.small {
  max-width: 100px;
}

/*To Make Carousel BG Transparent*/
.carousel-control.left,
.carousel-control.right {
  background-image: none
}

.carousel-control.left.mech {
  background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .0001) 100%);
  background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .0001) 100%);
  background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001)));
  background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .0001) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
  background-repeat: repeat-x
}

.carousel-control.right.mechx {
  right: 0;
  left: auto;
  background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0, rgba(0, 0, 0, .5) 100%);
  background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0, rgba(0, 0, 0, .5) 100%);
  background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5)));
  background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0, rgba(0, 0, 0, .5) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
  background-repeat: repeat-x
}

/*To make images have the same height*/
.home-img {
  width: auto;
  height: 50vh;
  max-height: 50vh;
  min-height: 50vh;
}

@media(max-width:960px) {
  .home-img {
    height: 25vh;
    max-height: 25vh;
    min-height: 25vh;
  }
}

/* Header */
.header-home {
  display: table;
  position: relative;
  width: 100%;
  height: 100%;

  /* Default Background */
  /* background: url('https://i.imgur.com/8yvysBu.png') no-repeat center center scroll;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover; */

  /* Registration Graphic */
  background: linear-gradient( rgba(0,0,0,0.7), rgba(0, 0, 0, 0.7) ),url('/public/images/2020Reg.jpg') no-repeat center center scroll;

  /* background: url('/public/images/2020Reg.jpg') no-repeat center center scroll; */
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  /*background-size: contain;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer; */
}

.header-team {
  background: url('https://team1325.com/images/Team1325_Barrie2023.jpeg') no-repeat center center scroll;
}

.header-robots {
  background: url('https://i.imgur.com/jGNcyus.jpg') no-repeat center center scroll;
}

.header-alumnipanel {
  background: url('https://team1325.com/images/AlumniPanelHeader.png') no-repeat center center scroll;
}

.header-mentor {
  background: url('https://i.imgur.com/EaYUepr.jpg') no-repeat center center scroll;
}

.header-contact {
  background: url('https://i.imgur.com/spZl8rY.jpg') no-repeat center center scroll;
}

.header-programming {
  background: url('https://i.imgur.com/LmD8o09.jpg') no-repeat center center scroll;
}

.header-electrical {
  background: url("https://i.imgur.com/B1x5RyR.jpg") no-repeat center center scroll;
}

.header-mechanical {
  background: url("https://i.imgur.com/gitfbpy.jpg") no-repeat center center scroll;
}

.header-business {
  background: url("https://i.imgur.com/B0vxQqR.jpg") no-repeat center center scroll;
}

.header-camp {
  background: url("/public/images/testpls.png") no-repeat center center scroll;
}

.header-awards {
  background: url('https://imgur.com/nc20QSM.jpg') no-repeat center center scroll;
}

.header-first {
  background: url("https://i.imgur.com/FjQVSKM.png") no-repeat center center scroll;
}

.header-ride {
  background: url('https://i.imgur.com/mRy4WY9.png') no-repeat center center scroll;
}

.header-outreach {
  background: url('https://i.imgur.com/xwQ9zka.png') no-repeat center center scroll;
}

.header-calendar {
  background: url('https://imgur.com/QwB86Jc.jpg') no-repeat center center scroll;
}

.header-resources {
  background: url('https://imgur.com/ggaJ6qc.jpg') no-repeat center center scroll;
}

.header-book {
  background: url('https://imgur.com/1nn2aBZ.png') no-repeat center center scroll;
}

.header-sponsors {
  background: url('https://imgur.com/x80aazJ.jpg') no-repeat center center scroll;
}

.header-sponsor {
  background: url('https://i.imgur.com/51H1C2l.png') no-repeat center center scroll;
}

.header-fll-reg {
  background: url('https://team1325.com/images/fllheader.png') no-repeat center center scroll;
}
.header {
  display: table;
  position: relative;
  width: 100%;
  height: 90%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}

.scroll-disable-x {
  overflow-x: hidden;
}

.bt-icon {
  width: 10vw;
  text-align: center;
}

@media(max-width: 786px) {
  .bt-icon {
    width: 50vw;
  }
}

.biz-sections {
  text-align: left;
}

@media(max-width:768px) {
  .biz-sections {
    text-align: center;
  }
}

/*Organization */
.position {
  font-size: 1.5vw;
}

@media(max-width:768px) {
  .position {
    font-size: 200%;
  }
}

.year-joined {
  font-size: 1.25vw;
}

@media(max-width:768px) {
  .year-joined {
    font-size: 125%;
  }
}

.in-charge-of {
  font-size: 1vw;
}

@media(max-width:768px) {
  .in-charge-of {
    font-size: 100%;
  }
}

/* About */

.about {
  padding: 50px 0;
}

/* Services */

.services {
  padding: 50px 0;
}

.service-item {
  margin-bottom: 30px;
}

/* Callout */

.callout {
  display: table;
  width: 100%;
  height: 400px;
  color: #fff;
  background: url(../img/callout.jpg) no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}

/* Portfolio */

.portfolio {
  padding: 50px 0;
}

.portfolio-item {
  margin-bottom: 30px;
}

.img-portfolio {
  margin: 0 auto;
}

.img-portfolio:hover {
  opacity: 0.8;
}

/* Call to Action */

.call-to-action {
  padding: 50px 0;
}

.call-to-action .btn {
  margin: 10px;
}

/* Map */

.map {
  height: 500px;
}

@media(max-width:768px) {
  .map {
    height: 75%;
  }
}

/* Footer */

/* navbar stuff */

.navbar-custom {
  font-family: 'ADAM', sans-serif;
  background-color: #213e99;
  color: #555;
  border-radius: 0px;
  border-color: #213e99;
  padding: 15px;
  margin-bottom: 0px
}

.navbar-default {
  background-color: #213e99;
  border-color: #213e99;
}

.navbar-default .navbar-brand {
  color: #eaeaea;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: #abaaac;
}

.navbar-default .navbar-text {
  color: #eaeaea;
}

.navbar-default .navbar-nav>li>a {
  color: #eaeaea;
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus {
  color: #abaaac;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
  color: #abaaac;
  background-color: #213e99;
}

.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.open>a:focus {
  color: #abaaac;
  background-color: #213e99;
}

.navbar-default .navbar-toggle {
  border-color: #213e99;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #213e99;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #eaeaea;
}

.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: #eaeaea;
}

.navbar-default .navbar-link {
  color: #eaeaea;
}

.navbar-default .navbar-link:hover {
  color: #abaaac;
}

@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu>li>a {
    color: #eaeaea;
  }

  .navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu>li>a:focus {
    color: #abaaac;
  }

  .navbar-default .navbar-nav .open .dropdown-menu>.active>a,
  .navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus {
    color: #abaaac;
    background-color: #213e99;
  }
}

.brand {
  position: absolute;
  left: 50%;
  margin-left: -50px !important;
  /* 50% of your logo width */
  display: block;
}

.logo {
  float: left;
}

/* input stuff */

.text-input {
  border: none;
  font-family: "Open Sans", Arial;
  font-size: 100%;
  padding: 0.5em;
  font-size: 200%
}

.text-input:hover {
  background-color: #f9f9f9;
  cursor: pointer;
}

.text-input:focus {
  background-color: #e9e9e9;
  cursor: default;
  outline: none;
}

.button-input {
  height: 60px;
  width: 100%;
  color: white;
  background-color: #213F99;
  border-width: 0px;
  font-size: 120%;
  font-family: "Open Sans"
}

.button-input:hover {
  height: 60px;
  width: 100%;
  color: #EAEAEA;
  background-color: #1b347e;
  border-width: 0px;
  font-size: 120%;
  font-family: "Open Sans"
}

.button-input:active {
  height: 60px;
  width: 100%;
  color: #EAEAEA;
  background-color: #122354;
  border-width: 0px;
  font-size: 120%;
  font-family: "Open Sans"
}

/*BLOG*/

.title {
  font-size: 2vw;
}

.calendar {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
}

.calendar iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
}

@media only screen and (max-width : 480px) {
  .calendar iframe {
    width: 100%;
    height: 95%;
    border-width: 20px;
  }
}

.subteam {
  color: #646464;
  line-height: 2em;
  text-align: center;
}

.nav a {
  font-size: 1em !important;
}

th,
td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

table {
  overflow-x: auto;
  margin: 1em auto;
}

th {
  background-color: #213f99;
  color: #eaeaea;
}