@import url("https://fonts.googleapis.com/css?family=Raleway&display=swap");

@media all and (min-width: 1025px) {
  header {
    background: url("./header.png");
  }
}

@media all and (max-width: 1024px) {
  header {
    background-image: none;
    background-color: #232325;
  }
}

* {
  font-family: "Raleway", sans-serif;
}

header {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

h1 {
  font-weight: 300;
  font-size: 3rem;
}

h1 .font-weight-bold {
  font-size: 4.5rem;
}

@media (max-width: 575px) {

  h1 .font-weight-bold {
    font-size: 2.5rem;
  }

  h1 {
    font-size: 2rem;
  }
}

h2 {
  font-size: 3rem;
}

h3.tour {
  display: inline-block;
  padding: 1rem 2rem;
  background: #f69f1a;
  color: white;
  position: relative;
  top: 2.5rem;
  border-radius: 0.3rem;
}

.intro {
  background-color: #f69f1a22;
}

.city {
  margin-bottom: 1.7rem;
}

.city:hover {
  background: #f69f1a11;
}

.city:hover .btn-outline-insia {
  background-color: #f69f1a;
  color: #fff;
}

.city .closed {
  display: none;
}

.city.inactive .closed {
  cursor: default;
  margin: 0;
  display: inline-block;
}

.city.inactive {
  background-color: #f9f9f9;
  color: #aaa !important;
}

.city.inactive h3 {
  color: #aaa !important;
}

.city.inactive .text-muted {
  color: #aaa !important;
}

.city.inactive .btn-outline-insia {
  display: none;
}

.city h3 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.city .available {
  font-size: 2rem;
}

.form {
  background: #f69f1a;
}

.program {
  background-color: #f0fbff;
}

.ivan .row {
  min-height: 900px;
}

.ivan-wrapper {
  position: relative;
  height: 100%;
}

#superivan {
  background-image: url("./Ivan.jpg");
  min-width: 100%;
  min-height: 137%;
  background-size: cover;
}

@media all and (max-width: 1300px) {
  #superivan {
    background-position: -185px 0;
  }
}

@media all and (max-width: 991px) {
  .ivan-wrapper {
    height: 500px;
  }

  #superivan {
    background-image: url("./ivan992.jpg");
    min-width: 100%;
    min-height: 150%;
    background-position: right top;
  }
  .ivan .row {
    min-height: auto;
  }
}

@media all and (max-width: 550px) {
  #superivan {
    background-image: url("./ivan550.jpg");
    min-width: 100%;
    min-height: 100%;
    background-position: center top;
  }
}

#instagramFeed > div {
  cursor: pointer;
}

#instagramFeed .title {
  display: none;
  bottom: 0;
  position: absolute;
  color: white;
  padding: 0 1rem;
  width: 100%;
  max-height: 100%;
  overflow: hidden;
  text-align: center;
  background-color: #0000005a;
}

#instagramFeed a {
  overflow: hidden;
  width: 100%;
  padding-bottom:100%;
}

#instagramFeed a:hover .title {
  display: inline-block;
}

[data-place-info] {
  display: none;
}

#cookies {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

/* helpers */
/* ******* */

.m-0auto {
  margin: 0 auto;
}

p.bigger {
  font-size: 1.3rem;
}

li.bigger {
  font-size: 1.3rem;
}

.text-insia {
  color: #f69f1a;
}

a.text-insia:hover {
  color: #f69f1a;
  text-decoration: underline;
}

a.text-insia:active {
  text-decoration: underline;
}

.bg-insia {
  background-color: #f69f1a;
}

.bg-footer {
  background-color: #1f1f1f;
}

.btn-insia {
  color: #fff;
  background-color: #f69f1a;
  border-color: #f69f1a;
}

.btn-insia:hover {
  color: #fff !important;
  background-color: #d48816;
  border-color: #d48816;
}

.btn-insia:focus {
  color: #fff !important;
  background-color: #d48816;
  border-color: #d48816;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(246, 159, 26, 0.25);
}

.btn-outline-insia {
  color: #f69f1a;
  border-color: #f69f1a;
}

.btn-outline-insia:hover {
  color: #fff;
  background-color: #f69f1a;
  border-color: #f69f1a;
}

.btn-outline-insia:focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(246, 159, 26, 0.25);
}

input.form-control:focus, select.custom-select:focus {
  border-color: #f69f1a;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(246, 159, 26, 0.25);
}

.uppercase {
  text-transform: uppercase;
}

.divider {
  display: block;
  padding-top: 1px;
  background-color: #f69f1a;
  width: 80%;
  margin: 0 auto;
}

.divider-full {
  display: block;
  padding-top: 1px;
  background-color: #f69f1a;
  width: 100%;
  margin: 0 auto;
}

.social {
  font-size: 7rem;
}

.social:hover i {
  color: #f69f1a;
  background-color: #fff;
  border-radius: 0.3rem;
}

.super-small {
  font-size: 70%;
  font-weight: 400;
}

.big {
  font-size: 110%;
}

/* loading */
#loading {
  display: none; /*flex*/
  z-index: 10;
  position: fixed;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  background-color: #00000088;
}

#loading i {
  color: white;
  animation: rotating 2s linear infinite;
  font-size: 3rem;
}

/* form submit */
#sending {
  display: none;
}

#sending i {
  animation: rotating 2s linear infinite;
  font-size: 3rem;
}

#sent {
  display: none;
}

#failed {
  display: none;
}

#newreg {
  cursor: pointer;
  text-decoration: underline;
}

@keyframes rotating {
  from{
      transform: rotate(0deg);
  }
  to{
      transform: rotate(360deg);
  }
}

.shake {
  animation: shake 0.2s;
  animation-iteration-count: infinite;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}