/*
  GradGrid color palette
*/
.bg-eggshell {background-color: #F0EEDE;}
.bg-light-grey {background-color: #FAF9F7;}
.bg-queen-blue {background-color: rgba(58, 108, 143, .6);}

.eggshell {color: #F0EEDE;}
.light-grey {color: #FAF9F7;}
.queen-blue {color: #3A6C8F;}
.brilliant-azure {color: #2E93FE;}
/* End of GradGrid color palette */

body {
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: rgba(200, 200, 200, 0.55);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
}

.no-webp header.masthead {
  position: relative;
  background: #343a40 no-repeat center center;
  -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.webp header.masthead {
  position: relative;
  background: #343a40 no-repeat center center;
  -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding-top: 3rem;
    padding-bottom: 4rem;
}

header.masthead .overlay {
  position: absolute;
  background-color: #212529;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.75;
}

header.masthead h1 {
  font-size: 2rem;
}

@media (min-width: 768px) {
  header.masthead h1 {
    font-size: 3rem;
  }
}



.role_admin, .role_user, .role_guest{
    display: none;
}

.jumbotron {
  background: rgba(200, 200, 200, 0.55);
}

.custom_card {
  margin-top: 2rem;
  padding: 0 0 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.search_result_card {
  padding-right: 0;
  padding-left: 0;
  margin-top: 1rem;
  margin-bottom: 5rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.rounded_with_shadow {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 3px;
  padding-top: 3px;
  padding-bottom: 3px;
}

.my_header {
  background: #F7F7F7;
  padding-top: 10px;
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom-style: solid;
  border-color: #D8D8D8;
  border-width: 1px;
  border-radius: 8px;
}

.left-divider {
  font-weight: 400;
  padding-left: 25px;
  border-left-style: solid;
  border-width: 3px;
  border-color: #dfa946;
}

.lead, .smaller {
  font-size: 1.15rem;
}

.form-control {
  padding: 9px;
}

.custom-select {
  height: 45px !important;
}

.list-group{
    max-height: 600px;
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
}

.list-group-item {
  padding-bottom: 20px;
}

.horizontalLine {
   width: 100%; 
   text-align: center; 
   border-bottom: 1px solid #BDBDBD; 
   line-height: 0.1em;
   margin: 10px 0 20px; 
} 

.horizontalLine span {
    background: white;
    padding:0 10px; 
}

.box {
  border: 3px solid white;
  border-radius: 5px;
  padding: 5px;
}

.image_off, #gradgridLogo:hover .image_on {
  display:none
}

.image_on, #gradgridLogo:hover .image_off {
  display:block
}

.overlay {
  position: absolute;
  background-color: #212529;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.75;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.container-fluid, .container-sm, .container-md, .container-lg, .container-xl {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.sponsors-title {
  text-align: center;
  padding-top: 25px;
  color: grey;
  font-style: italic;
}

.gold-rounded-rectangle {
  padding: 7px;
  text-align: center;
  max-width: 300px;
  min-width: 300px;
  max-height: 168.75px;
  min-height: 168.75px;
  margin: 3px 3px 3px 3px;
  border-radius: 15px;
  background: rgb(245, 225, 140);
  transition: transform .2s;
}
.gold-rounded-rectangle:hover {
  transform: scale(1.044);
}

.group-border {
  border-style: solid;
  border-radius: 0.75rem;
  border-width: medium;
}

.group-border.gold {
  border-color: rgb(245, 225, 140);
}

.group-border.silver {
  border-color: rgb(225, 225, 225);
}

.group-border.bronze {
  border-color: #d6ac60;
}

.silver-sponsors {
  padding: 6px;
  text-align: center;
  max-width: 224px;
  min-width: 224px;
  max-height: 126px;
  min-height: 126px;
  margin: 2.3px 2.3px 2.3px 2.3px;
  border-radius: 12px;
  background: rgb(225, 225, 225);
  transition: transform .2s;
}	
.silver-sponsors:hover {
  transform: scale(1.044);	
}
	
.bronze-sponsors {
  padding: 5px;
  text-align: center;
  max-width: 160px;
  min-width: 160px;
  max-height: 90px;
  min-height: 90px;
  margin: 1.8px 1.8px 1.8px 1.8px;
  border-radius: 9px;
  background: #d6ac60;
  transition: transform .2s;
}
.bronze-sponsors:hover {
  transform: scale(1.044);	
}

.rounded-rectangle {
  padding: 7px;
  text-align: center;
  min-width: 700px;
  min-height: 600px;
  margin: 3px 3px 3px 3px;
  border-radius: 15px;
  background: #ffffff;
}

.wide-element-with-shadow {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  width:90%;
  height:500px;
}

.navbar {
  border-bottom:2px solid #ffffff;
}

.navbar .divider-vertical {
  height: 30px;
  margin: 5px 9px;
  border-right: 0.5px solid #BDBDBD;
  border-left: 0.5px solid #BDBDBD;
}

.navbar-inverse .divider-vertical {
  border-right-color: #222222;
  border-left-color: #111111;
}

@media (max-width: 767px) {
  .navbar-collapse .nav > .divider-vertical {
    display: none;
  }
}

.photo_credits {
  color: rgba(215,219,226, 0.5);
  font-size: .8rem;
  position: absolute;
  bottom: 0;
  padding-left: 10px;
}

/*
  CSS THAT CAME WITH WEBSITE TEMPLATE IS BELOW
*/

.showcase .showcase-text {
  padding: 3rem;
}

.no-webp .showcase .showcase-img {
    background: #343a40 no-repeat center center;

    position: relative;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    min-height: 30rem;
}

.webp .showcase .showcase-img {
    background: #343a40 no-repeat center center;

    position: relative;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    min-height: 30rem;
}

@media (min-width: 768px) {
  .showcase .showcase-text {
    padding: 7rem;
  }
}

.features-icons {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.features-icons .features-icons-item {
  max-width: 20rem;
}

.features-icons .features-icons-item .features-icons-icon {
  height: 7rem;
}

.features-icons .features-icons-item .features-icons-icon i {
  font-size: 4.5rem;
}

.features-icons .features-icons-item:hover .features-icons-icon i {
  font-size: 5rem;
}

.testimonials {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.testimonials .testimonial-item {
  max-width: 24rem;
}

.testimonials .testimonial-item img {
  max-width: 12rem;
  box-shadow: 0px 5px 5px 0px #adb5bd;
}

.no-webp .call-to-action {
    background: #343a40 no-repeat center center;

    position: relative;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.webp .call-to-action {
    background: #343a40 no-repeat center center;

    position: relative;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.call-to-action .overlay {
  position: absolute;
  background-color: #212529;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.3;
}

.blue-overlay {
  background-color: rgba(255,255,255, 0.3);
  border-radius: 1rem;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #F7F7F7; 
  border-bottom: 1px solid #d4d4d4; 
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9; 
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}

footer.footer {
  margin-top: 4rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

::-webkit-input-placeholder {
   font-style: italic;
}
:-moz-placeholder {
   font-style: italic;  
}
::-moz-placeholder {
   font-style: italic;  
}
:-ms-input-placeholder {  
   font-style: italic; 
}

/*custom loader*/
.loader {
  margin-top: 15px;
  border: 4px solid rgba(1, 1,1,0);
  border-radius: 50%;
  border-top: 4px solid #3498db;
  width: 40px;
  height: 40px;
  -webkit-animation: spin 0.6s linear infinite; /* Safari */
  animation: spin 0.6s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
