/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-top: 3rem;
  padding-bottom: 0rem;
  color: #353535;
 /* background: url(../images/bgloop.png); */
    background-color: #fff;
}



::selection {
  background: #cb003c;
  color: #FFF;
  text-shadow: none;
}

::-moz-selection {
  background: #cb003c; /* Firefox */
  color: #FFF;
  text-shadow: none;
}

::-webkit-selection {
  background: #cb003c; /* Safari */
  color: #FFF;
  text-shadow: none;
}

body::-webkit-scrollbar {
    width: 10px;
    background-color: darkgrey;
}

body::-webkit-scrollbar-thumb {
  background-color: var(--red);
  outline: 1px solid slategrey;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #cb003c
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: -5rem;
}

.carousel h1 {
  color: #fff !important;
  font-weight: 700;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 65vh;
  min-height: 350px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/*
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  
}

*/

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05rem;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}



html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

body {
  padding-top: 56px;
}


/******* NAVIGATION *****************/

@media (max-width: 767.98px) {
.offcanvas-collapse {
    position: fixed;
    top: 83px;
    bottom: 0;
    width: 100%;
    padding-right: 2rem;
    padding-left: 8rem;
    padding-top: 16px;
    text-align: center;
    overflow-y: auto;
    background-color: var(--white);
    transition: -webkit-transform .3s ease-in-out;
    transition: transform .3s ease-in-out;
    transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
}
  .offcanvas-collapse.open {
    -webkit-transform: translateX(-1rem);
    transform: translateX(-1rem); /* Account for horizontal padding on navbar */
  }
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: var(--secondary);
}


.nav-link {
  color: var(--gray);
}
.nav-link:hover {
  color: var(--red);
}

.nav-underline .active {
  font-weight: 500;
  color: var(--gray-dark);
}

.text-white-50 { color: rgba(255, 255, 255, .5); }

.bg-purple { background-color: var(--purple); }

.border-bottom { border-bottom: 1px solid #e5e5e5; }

.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }

.lh-100 { line-height: 1; }
.lh-125 { line-height: 1.25; }
.lh-150 { line-height: 1.5; }

.logo {
  max-width: 115px;
}

/********** Main Content   ***********/


.box {
      background-color: #fff;
    padding: 30px;
    box-sizing: border-box;
    border: solid 1px #c3cdd4;
    color: #353535;
}


.box ul li {color: #353535;}

.info {
  background: #F9F9F9;
}

/******** fitline urheilijat ***/

.urheilijat {

    margin-bottom: 0;
   border-bottom: 1px solid #c3cdd4;

}

.urheilijat .btn {
  padding: 0.75rem 0rem;
}

@media (max-width: 500px) {
  .urheilijat .btn {
    padding: 0.75rem 0rem;
    font-size: 72%;
}
}

/************** PAGE HEADERS **************/

.ukk {
    background: transparent url(../images/ukk.jpg) no-repeat center;
    padding: 102px 0px 101px;
    background-position-y: 0px;
   margin-top: 35px;
    min-height: 385px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

@media (max-width: 450px) {

.ukk {
    background: transparent url(../images/ukk.jpg) no-repeat center;
    padding: 102px 0px 101px;
    margin-top: 35px;
    min-height: 225px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
  }
}


.fitness {
    background: transparent url(../images/shape-me-cover.png) no-repeat center;
    padding: 102px 0px 101px;
    background-position-y: 30px;
    min-height: 375px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

@media (max-width: 450px) {

.fitness {
    background: transparent url(../images/shape-me-cover.png) no-repeat center;
    padding: 102px 0px 101px;
    margin-top: 35px;
    min-height: 225px;
    background-position: -367px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
  }
}


.fitnessTuotteet {
    background: transparent url(../images/proshape-cover.png) no-repeat center;
    background-position-y: 0px;
    padding: 102px 0px 101px;
    margin-top: 35px;
    min-height: 375px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

@media (max-width: 450px) {

.fitnessTuotteet {
    background: transparent url(../images/proshape-cover.png) no-repeat center;
    padding: 102px 0px 101px;
    margin-top: 35px;
    min-height: 225px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
  }
}

/******************* footer *************/


footer {
   
    background-color: rgba(0,0,0,0.8);
    border-top: 1px solid #c3cdd4;
    padding-top: 28px;
    padding-top: 2.8rem;
    padding-bottom: 35px;
    padding-bottom: 3.5rem;
 

}

footer ul li {
  list-style-type: none;
   padding-inline-start: 0px !important;

}

footer ul {
  padding-inline-start: 2px !important;
}

footer h5 {color: rgba(255, 255, 255, 0.55);}

footer a, ul li {
  color: rgba(255,255,255, 0.75);
}

footer hr {
  border-top: 1px solid #e1e1e126;
}

.icon {
  font-size: 25px;
  color: var(--red)
}

