@font-face {
  font-family: "Sideways-heavy";
  src: url('webFonts/TradeGothicNextCompressedHeavy/font.woff2') format('woff2'), url('webFonts/TradeGothicNextCompressedHeavy/font.woff') format('woff');
  font-weight: bolder;
  font-style: normal;
}
@font-face {
  font-family: "Sideways-bold";
  src: url('webFonts/TradeGothicNextBold/font.woff2') format('woff2'), url('webFonts/TradeGothicNextBold/font.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Sideways-normal";
  src: url('webFonts/TradeGothicNextRegular/font.woff2') format('woff2'), url('webFonts/TradeGothicNextRegular/font.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body{
  font-family: "Sideways-normal", sans-serif;
}

h3 a, h3 a:active, h3 a:focus, h3 a:hover, h3 a:visited {
    text-decoration: none;
     color: #000000;
}

h4 a, h4 a:active, h4 a:focus, h4 a:hover, h4 a:visited {
    text-decoration: none;
  color: #000000;
}

nav.navbar{
  position:fixed;
  width:100vw;
  top:0;left:0;
  min-height:60px;
  height:60px;
  max-height:60px;
}
.navbar-header {
  padding: 0px;
  text-align: center;
  width: 100%;
}
header button.navbar-toggle{
  position:absolute;
  left: 20px;
  top: 0;
  margin-top:5px;
  display:block;
}
.navbar .fa-bars {
	color: #FFF!important;
}
.navbar .navbar-toggle:not(.collapsed) .fa-bars:before {
	content: "\f00d";
}
.navbar .navbar-brand{
  float:none;
  line-height:50px;
  font-family: "Sideways-heavy", sans-serif;
  text-transform:none;
  letter-spacing:1px;
  font-size: 24px;
  height:60px;
  width:220px;
  display:block;
  padding:0;
  margin:3px auto 0 auto;
}
.navbar .navbar-brand:before{
  content:'';
  background-image:url(/images/star-8-white.png);
  background-size:contain;
  position:absolute;
  width:20px;height:20px;
  display:block;
  margin-left:-40px;
  top:19px;
}
.navbar .navbar-brand:after{
  content:'';
  background-image:url(/images/star-8-white.png);
  background-size:contain;
  position:absolute;
  width:20px;height:20px;
  display:block;
  margin-left:240px;
  top:19px;
}

#language-selector{
  position:absolute;
  top:15px;
  right:20px;
}
.languge-selector-item{
  font-family: "Sideways-heavy", sans-serif;
  text-transform:none;
  letter-spacing:1px;
  font-size:20px;
  margin:0 10px;
}
.languge-selector-item:hover{
  color:#d9c6e4;
}
#language-selector-mobile{
  display:none;
}
#navbar{
  background:#E0DE00!important;
  position:fixed;
  top:60px;
  left:0;
  right:0;
  bottom:100px;
  display: none!important;
  align-items:center;
  justify-content:center;
  flex-direction:column;
}
#navbar.in{display:flex!important;}
#navbar.collapsing{display:flex!important;}
.navbar .nav-item a{
  font-size:4vw;
  font-family: "Sideways-heavy", sans-serif;
  text-transform:none;
  letter-spacing:1px;
  color:#000;
}
.navbar .nav-item.active>a {
  background: none !important;
  color:#FFF;
}
.navbar .nav-item a:active, .navbar .nav-item a:focus, .navbar .nav-item a:hover{
  background:none!important;
}
#hashtag{
  font-size:26px;
  text-transform:uppercase;
  margin-bottom:30px;
}

#nav-social{
  margin-bottom:30px;
}

.nav-social-item i{
  font-size:32px;
  margin:20px;
  color:#000;
}
.nav-social-item:hover i{
  color:#d9c6e4;
}

.main-content.frontpage.background2023 {
  background-image: url('/images/left-top.svg'), url('/images/right-top.svg'), url('/images/left-bottom.svg'), url('/images/right-bottom.svg');
  background-color:#FDD6F4;
  background-repeat: no-repeat;
  background-position: 0 1%, 100% 1%, left bottom, right bottom;
  background-size:40%;
  display:flex;
  align-items:center;
  justify-content:center;
 }
.content.frontpage-content{
  width:50vw;
  min-width:320px;
  min-height:auto;
  text-align:center;
}
.content.frontpage-content h2{
  font-family: "Sideways-heavy", sans-serif;
  text-align:center;
  font-size: 4vw;
  text-transform:none;
  letter-spacing:0px;
  margin:30px 0 0 0;
}
.content.frontpage-content h3{
  font-family: "Sideways-heavy", sans-serif;
  text-align: center;
  font-size: 3vw;
  text-transform:none;
  letter-spacing:0px;
  text-decoration: none;
}

.content.frontpage-content h4{
  font-family: "Sideways-heavy", sans-serif;
  text-align: center;
  font-size: 2vw;
  text-transform:none;
  letter-spacing:0px;
  text-decoration: none;
}

#footer-listing{
  display:flex;
  justify-content: space-evenly;
  flex-wrap:wrap;
  align-items:center;
}
h4#mainsponsor{
  font-family: "Sideways-heavy", sans-serif;
  text-align:left;
  font-size: 32px;
  text-transform:none;
  letter-spacing:0px;
  margin:10px 20px;
  min-width:165px;
  flex-shrink: 1;
}
#footer-listing p{
  flex-shrink: 2;
}

#footer-listing p:nth-child(odd){
  display:none;
}
@media (max-width: 1333px) {
  #footer-listing p:nth-child(even), h4#mainsponsor{
    flex: 1 0 25%;
  }
  #navbar{
    bottom:190px;
  }
}
@media (max-width: 996px) {
  .content.frontpage-content h2 {
    font-size:48px;
  }
  .content.frontpage-content h3 {
    font-size:19px;
  }
  #language-selector-mobile{
    display:block;
  }
  #language-selector{
    display:none;
  }
  .navbar .nav-item a{
    font-size:38px;
  }
  #navbar{
    bottom:0;
  }
}

@media (max-width: 500px) {
  .navbar .navbar-brand:before, .navbar .navbar-brand:after{
    display:none;
  }
}

/*For admin view*/
#pagetoptools{
  z-index:99999;
  top:50px!important;
}
/* for plain template */
.jumbotron h1{
  display:none;
}
#overlay-background-container2023{
  background:#fad5f3;
}




.content-container.container h2{
  font-family: "Sideways-heavy", sans-serif;

  font-size: 32px;
  text-transform:none;
  letter-spacing:1px;
}

.content-container.container h1{
  font-family: "Sideways-heavy", sans-serif;
  text-align:center;
  font-size: 60px;
  text-transform:none;
  letter-spacing:1px;
}

#overlay-background-container2023 .content-container.container{
  position:relative;
  padding:130px 50px;
}
#overlay-background-container2023 .content-container.container:before{
  content:url(/images/kehys-top.svg);
  position:absolute;
  width:calc( 100% + 45px );
  top:-25px;left:-24px;
  z-index:100;
  pointer-events: none;
}
#overlay-background-container2023 .content-container.container:after{
  content:url(/images/kehys-bottom.svg);
  position:absolute;
  width:calc( 100% + 43px );
  bottom:-29px;left:-22px;
  z-index:100;
}
@media (max-width: 1200px) {
  #overlay-background-container2023 .content-container.container:before{
    content:url(/images/kehys-top.svg);
    position:absolute;
    width:calc( 100% + 36px );
    top:-22px;left:-18px;
    z-index:100;
  }
  #overlay-background-container2023 .content-container.container:after{
    content:url(/images/kehys-bottom.svg);
    position:absolute;
    width:calc( 100% + 36px );
    bottom:-24px;left:-18px;
    z-index:100;
  }
}
@media (max-width: 991px) {
  .main-content.frontpage.background2023{
    background-image: url(/images/mobile_bg.svg);
    background-size:100%;
    background-repeat:no-repeat;
    background-position:center top;
    background-color:#FFD8F4!important;
  }
  img.le2021-2{margin-top:45%;}
  /*#overlay-background-container2023 .content-container.container:before{
    content:url(/images/kehys-top.svg);
    position:absolute;
    width:calc( 100% + 29px );
    top:-17px;left:-15px;
    z-index:100;
  }
  #overlay-background-container2023 .content-container.container:after{
    content:url(/images/kehys-bottom.svg);
    position:absolute;
    width:calc( 100% + 27px );
    bottom:-20px;left:-13px;
    z-index:100;
  }*/
}
@media (max-width: 790px) {
  .main-content.frontpage.background2023{
    background-position:center -3%;
  }
  img.le2021-2{margin-top:45%;}
  /*#overlay-background-container2023 .content-container.container{
    width:calc( 100vw - 50px )!important;
    margin-left:auto;
    margin-right:auto;
  }
  #overlay-background-container2023 .content-container.container:before{
    content:url(/images/kehys-top.svg);
    position:absolute;
    width:calc( 103.5vw - 50px );
    top:-1.8vw;left:-1.7vw;
    z-index:100;
  }
  #overlay-background-container2023 .content-container.container:after{
    content:url(/images/kehys-bottom.svg);
    position:absolute;
    width:calc( 103.5vw - 50px);
    bottom:-2.4vw;left:-1.7vw;
    z-index:100;
  }*/
}
@media (max-width: 690px) {
  .main-content.frontpage.background2023{
    background-position:center -8%;
  }
}
@media (max-width: 645px) {
  .main-content.frontpage.background2023{
    background-position:center 30px;
  }
}
@media (max-width:460px) {
  .main-content.frontpage.background2023{
    background-position:center 40px;
  }
}


/*
Fade content bs-carousel with hero headers
Code snippet by maridlcrmn (Follow me on Twitter @maridlcrmn) for Bootsnipp.com
Image credits: unsplash.com
*/

/********************************/
/*       Fade Bs-carousel       */
/********************************/
.fade-carousel {
    position: relative;
    height:28vw;
  margin-top: 20px;
/*    height: 100vh;*/
}
.fade-carousel .carousel-inner .item {
    /*height: 100vh;*/
}
.fade-carousel .carousel-indicators > li {
    margin: 0 2px;
    background-color: #d0d0d0;
    border-color: #d0d0d0;
    opacity: .7;
}
.fade-carousel .carousel-indicators > li.active {
  width: 10px;
  height: 10px;
  opacity: 1;
}

/********************************/
/*          Hero Headers        */
/********************************/
.hero {
  font-family: "Sideways-heavy", sans-serif;
}
.karuselli-day {
  position:relative;
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
    padding: 0;
}
.karuselli-title {
  position:relative;
  font-size: 4rem;
  font-weight: bold;
  margin: 0;
  padding: 0;
}
.carousel.hero {
    position: absolute;
    display:block;
  bottom: 20px;
    left: 20px;
    width:50%;
    z-index: 3;
    color: #fff;
    text-align: left;
    /* text-transform: uppercase; */
    text-shadow: 1px 1px 0 rgba(0,0,0,.75);
    line-height:4rem;
}
.fade-carousel .carousel-inner .item .hero {
    opacity: 0;
}
.fade-carousel .carousel-inner .item.active .hero {
    opacity: 1;
    -webkit-transition: 1s all ease-in-out .1s;
       -moz-transition: 1s all ease-in-out .1s;
        -ms-transition: 1s all ease-in-out .1s;
         -o-transition: 1s all ease-in-out .1s;
            transition: 1s all ease-in-out .1s;
}

/********************************/
/*            Overlay           */
/********************************/
/*.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #080d15;
    opacity: .7;
} */

/********************************/
/*          Custom Buttons      */
/********************************/
.btn.btn-lg {padding: 10px 40px;}
.btn.btn-hero,
.btn.btn-hero:hover,
.btn.btn-hero:focus {
    color: #f5f5f5;
    background-color: #1abc9c;
    border-color: #1abc9c;
    outline: none;
    margin: 20px auto;
}

/********************************/
/*       Slides backgrounds     */
/********************************/
.fade-carousel .slides .slide-1, 
.fade-carousel .slides .slide-2,
.fade-carousel .slides .slide-3,
.fade-carousel .slides .slide-4,
.fade-carousel .slides .slide {
  height:28vw;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  
}
/********************************/
/*          Media Queries       */
/********************************/
@media screen and (min-width: 980px){
    .hero { width: 980px; }
}
@media screen and (max-width: 640px){
    .hero h1 { font-size: 4em; }
}
