/**
 * @file
 * Subtheme specific CSS.
 */


 body {
  font-family: 'Source Sans Pro', sans-serif;
  line-height: 25px;
}

img {
  width: 100%;
  height: auto;
}

p {
  font-size: 1.2rem;
}

td {
  border: none;
}

td p {
  font-size: .8rem;
}

tr {
  border: none;
  background: none;
}

.alacontainer p {
  color: #000;
}

.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.focus,
.btn-primary.focus:active,
.btn-primary:active:focus,
.btn-primary:focus,
.btn-primary:hover {
  outline: 0 !important;
  outline-offset: 0 !important;
  background-image: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border: none;
}

.btn-primary {
  border: 0 !important;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
  background-color: #efa558;
}

.navbar {
  padding: 0;
}

.ylateksti, .alateksti {
  position: absolute;
  color: #fff;
  width: 100%;
  text-align: center;
  z-index: 2;
  text-shadow: 4px 4px 6px rgba(0,0,0,0.25);
}

.ylateksti {
  top: 13rem;
  line-height: 3rem;
}


.ylateksti p {
  font-size: 2.5rem;
}

.alateksti {
  bottom: 20%;
}

.alateksti p {
  font-size: 2rem;
}

.slide .btn-primary {
  text-align: center;
  position: absolute;
  bottom: 43px;
  z-index: 2;
  border-radius: 1.25rem;
  text-transform: uppercase;
  margin-left: auto;
  margin-right: auto;
  width: 10rem;
  left: 0;
  right: 0;
}

.luelisaa {
  text-align: center;
  border-radius: 1.25rem;
  text-transform: uppercase;
  color: #fff !important;
}

.accordion .luelisaa {
  border-radius: 1rem;
  text-transform: uppercase;
  text-align: center;
  color: #fff !important;
}

/*.tausta::after {*/
/*  content: "";*/
/*  position: absolute;*/
/*  width: 100%;*/
/*  top: 0;*/
/*  left: 0;*/
/*  height: 100%;*/
/*  background-color: rgba(255, 255, 255, 0.85);*/
/*  z-index: 1;*/
/*}*/

.owl-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  padding: 0 2rem;
}

.owl-prev {
  float: left;
}

.owl-next {
  float: right;
}

.owl-theme .owl-controls .owl-buttons div {
  font-size: 2rem;
  border-radius: 9999999px;
  background: #000;
  opacity: 0.5;
  font-family: monospace;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.identity {
  /* position: absolute; */
  /* z-index: 100; */
  /* width: 100%; */
}
#header + .container-fluid
{
  min-height: 160px;
  top: 0;
}

.logo img {
  max-width: 400px;
}

.navbar-nav {
  flex-direction: row;
  justify-content: center;
}

.block-menu.navigation .nav-link {
  display: block;
  padding: .5rem 1rem !important;
  background-color: #fff;
  margin: 0 .1rem;
  text-transform: uppercase;
  color: #000;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.2s, color 0.2s;
}

.block-menu.navigation .nav-item.active .nav-link {
  background-color: #ee9b46;
  color: #fff;
}

.block-menu.navigation .nav-link:hover {
  color: #fff;
  background-color: #ee9b46;
  transition: background-color 0.2s, color 0.2s;
}

.menu--main .dropdown-menu {
  background: none;
  border: none;
}

.menu--main .dropdown-item {
  padding: 0;
  background-color: #ee9b46;
  margin-bottom: 2px;
  transition: color 0.25s, transform 0.25s ease-in-out;
}

.menu--main .dropdown-item.active {
  background-color: #efa558;
  margin-bottom: .1rem;
  transform: translateX(1rem);
}

.menu--main .dropdown-item:hover {
  background-color: #efa558;
  transform: translateX(1rem);
  transition: color 0.2s, transform 0.2s ease-in-out;
}

.menu--main .dropdown-item a {
  padding: .25rem 1.5rem;
  display: block;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.fas {
  font-size: 2rem;
  color: #7e7e7e;
  transition: color 0.2s;
}

.fas:hover {
  color: #d4d4d4;
  transition: color 0.2s;
}

.homepagebtn, .locale {
  text-align: center;
  height: 100%;
  margin: auto;
}


.locale ul {
  list-style: none;
  padding: 0;
  text-align: center;
  margin: 0
}

.locale .dropdown-menu {
  border: none;
  border-radius: 0;
}

.identity.fixed {
  position: fixed;
  background-color: #fff;
  padding: 0rem;
  width: 100%;
  z-index: 9999;
  top: 0;
}

.identity.fixed .logo {
  padding: 0 !important;
}

.toppadding {
  padding-top: 4rem;
}

.loota {
  margin-bottom: 2rem;
}

.loota .card, .loota .field--name-field-galleria {
  height: 175px;
}

.field--type-image img, .field--name-field-user-picture img, .node .field--type-image {
  margin: 0;
}

.loota .card {
  display: table;
  width: 100%;
  border: none;
  background-color: #ee9b46;
  color: #fff;
  border-radius: 0;
}

.loota .field__item, .loota img {
  height: 100%;
}

.loota .card-text {
  display: table-cell;
  vertical-align: middle;
  padding: 1rem;
}

.loota .field--name-field-galleria {
  overflow: hidden;
}

.pointer-none {
  pointer-events: none;
}


nav.tabs {
  margin: 0 !important;
}

#block-siptitheme-main-menu {
  margin: 0 auto;
  padding-bottom: 15px;
}

.menu-burger {
  display: none;
  float: right;
  position: relative;
  top: -70px;
}

.header-lohko {
  height: 212px;
  z-index: 10;
}

.uutis_tausta {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/sites/default/files/2019-04/infra-b.jpg) no-repeat top center;
  z-index: 0;
  background-size: 100% auto;
}

.uutis_tausta::after {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  content: '';
  position: absolute;
  z-index: 0;
  background-color: rgba(255, 255, 255, 0.6);
}

.block-views-blockuutiset-block-1>h2 {
  font-size: 2.3rem;
  font-weight: 600;
  display: block;
  margin: 0 auto;
  color: black;
  margin-bottom: 40px;
  position: relative;
  text-align: center;
}

.view-id-uutiset>div>div {
  padding: 10px 10px !important;
}

.uutis {
  border: none;
  border-radius: 0px;
}

.uutis .uutis_otsikko {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  height: 50%;
  vertical-align: middle;
  padding-top: 30px;
  border: none;
}

.uutis .uutis_otsikko .created {
  font-size: .9rem;
  color: #000;
  font-weight: 300;
}

.uutis .uutis_otsikko .title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  width: 100%;
  height: 100%;
  font-size: 1.3rem;
  font-weight: 600;
  color: black;
}

.uutis .uutis_otsikko::after {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  content: '';
  position: absolute;
  z-index: -1;
  background-color: rgba(255, 255, 255, 0.8);
}

.uutis .uutis_body {
  bottom: 0;
  left: 0;
  position: absolute;
  z-index: 1;
  width: 100%;
}

.newscontent {
  border-radius: 0;
}

.newscard {
  width: 60%;
  max-width: 60%;
  color: #000;
}

#newsmodalcontent {
  color: #000;
}

.field--name-field-galleria {
  width: 100%;
}

.loota .card-img-overlay {
  padding: 0;
  overflow: hidden;
}

.loota .card-header {
  background: rgba(255, 255, 255, 0.8);
  color: #000;
  text-align: center;
  border: none;
  border-radius: 0;
  transition: transform 0.2s ease-in-out;
}

/*.loota .card-img img {*/
/*  filter: grayscale(100%);*/
/*  transition: filter 0.4s;*/
/*}*/

/*.loota .card-img img:hover {*/
/*  filter: none;*/
/*  transition: filter 0.4s;*/
/*}*/

/*.loota .card:hover .card-header {*/
/*  transform: translateY(-150px);*/
/*  transition: transform 0.2s ease-in-out;*/
/*}*/

.node--type-palvelu .card-header {
  background: rgba(192, 151, 109, 0.8);
  color: #fff;
  text-align: center;
  border: none;
  border-radius: 0;
  transition: transform 0.2s ease-in-out;
}

.loota .card-header h5 {
  margin-bottom: 0;
}

.node--type-palvelu .card .fa-search-plus {
  font-size: 0;
  color: rgba(255, 255, 255, 0);
  text-align: center;
  transition: color 0.2s, font-size 0.2s;
  position: absolute;
  width: 100%;
  bottom: 44%;
}

.node--type-palvelu .card:hover .fa-search-plus {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s, font-size 0.2s;
}

.palv_alateksti {
  color: #000;
  font-size: 1.2rem;
}

.main-content {
  padding: 0;
}

.bg {
  margin: 0;
  background-position: top;
  background-size: cover;
}

.bg::before {
  content: "";
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 0;
}

#colorbox i {
  color: #fff;
  text-shadow: rgba(0, 0, 0, 0.5) 0px 0px 6px;
  font-size: 2rem;
  transition: color 0.2s;
}

#colorbox i:hover {
  color: #ccc;
}

#colorbox .fa-times-circle {
  color: #000;
}

#colorbox .fa-times-circle:hover {
  color: #333;
}

.loota p {
  font-weight: bold;
  font-size: 1.2rem;
}

.breadcrumb {
  margin-bottom: 0;
  background: none;
  justify-content: center;
}

.rounded-pill {
  border-radius: 1.25rem;
  -webkit-appearance: inherit;
}

#views-exposed-form-haku-page-1 .form-control,
#views-exposed-form-haku-page-1 .form-submit {
  border-radius: 1.25rem;
}

.sivuotsikko, .alaotsikko {
  color: #000;
}

.sivuotsikko h1 {
  font-weight: bold;
}

.view-taxonomy-term .view-header {
  margin-bottom: 2rem;
}

.refeotsikko {
  font-weight: bold;
  color: #000;
  text-align: center;
}

.galleriatitle span {
  font-size: 1.2rem;
  font-weight: bold;
}

.harmaabg {
  background-color: rgba(100, 100, 100, 0.8);
  color: #000;
}

.laatikko {
  padding: 15px;
}

.laatikko>div {
  background-color: #ee9b46;
  height: 100%;
}

.laatikko p {
  color: #fff;
}

.pushout {
  margin: 0 -30px;
}

.footer-col-section {
  height: 100%;
}

.site-footer .block {
  border: none;
}

.site-footer h2 {
  font-size: 1rem;
  color: #000;
  margin-bottom: 2rem;
}

.site-footer p, .site-footer a {
  font-size: .8rem;
  color: #000 !important;
}

#block-yhteistyossaslider .owl-item img {
  opacity: 0.5;
  height: 100%;
  width: auto;
  margin: 0 auto;
  display: block;
  transition: opacity 0.2s;
}

#block-yhteistyossaslider .owl-item-inner {
  height: 100%;
}

#block-yhteistyossaslider .owl-carousel .owl-item {
  height: 100px;
}

#block-yhteistyossaslider .owl-item img:hover {
  opacity: 1;
}

.site-footer .block {
  margin: 0;
}

.node--type-yhteystiedot-yritys .laatikko p {
  font-size: 1rem;
}

.node--type-yhteystiedot-yritys .laatikko>div {
  padding: 1rem;
}

.form-textarea-wrapper {
  width: 100%;
}

.form-control {
  border-radius: 0;
}

.valkoinenbg {
  background-color: rgba(255, 255, 255, 0.8);
}

.mustateksti p, .mustateksti h1 {
  color: #000;
}

.mustateksti h1 {
  font-weight: bold;
}

.mustateksti p {
  font-size: 1rem;
}

.slidecollapse {
  color: #000 !important;
}

.galleriatitle, .galleriatitle p {
  margin-bottom: 0;
  font-weight: bold;
}

#block-views-block-palvelut-block-1 h2,
#block-views-block-palvelut-block-2 h2,
#block-views-block-etusivu-artikkelit-block-1 h2,
#block-views-block-etusivu-palvelut-block-1 h2
{
  font-size: 2rem;
  color: #000;
  text-align: center;
  margin: 2rem 0;
}

#block-views-block-palvelut-block-1 .card, .view-palvelut .card, .view-taxonomy-term .card {
  height: auto;
}

.slide .tausta img {
  min-height: 500px;
}

.etusivucard {
  position: absolute;
  bottom: 1rem;
  width: 100%;
  text-align: center;
  transition: font-size 0.2s ease-in-out;
}

/*.card:hover .etusivucard, .field--name-field-slider-refet:hover+.etusivucard {*/
/*  font-size: 1rem !important;*/
/*  transition: font-size 0.2s ease-in-out;*/
/*}*/

.katsolisaa {
  color: #fff !important;
  font-weight: bold;
  pointer-events: none;
}

.identity.fixed .logo img {
  margin: 0 auto;
  width: 260px;
}

.identity.fixed #block-logosipti {
  margin-bottom: .5rem !important;
  margin-top: .5rem !important;
  padding: 0px 15px !important;
  margin-left: auto;
  margin-right: auto;
}

.etusivuslider .view-content.row {
  margin: 0;
}

.valktausta {
  background-color: #fff;
}

.node--type-referenssi .alacontainer {
  padding-bottom: 15px;
  background-color: #d4d4d4;
}

.loota .card-body {
  padding: 0;
}

.loota .card-footer {
  border-radius: 0;
  border: none;
  background: none;
}

.uutiscard {
  height: 100% !important;
}

.uutiscardoverlay {
  background-color: rgba(255, 255, 255, 0.85);
}

.uutiscard .field-content {
  color: #ee9b46;
}

.uutiscard a {
  color: #000;
  text-decoration: none;
}

.uutiscard a:hover {
  color: #ee9b46;
}

.uutiscardimg {
  pointer-events: none;
}

.uutiscardoverlay {
  pointer-events: all !important;
}

.loginform label {
  color: #000;
}

.uutinen p, .uutinen h2 {
  color: #000;
}

.page-item:last-child .page-link,
.page-item:first-child .page-link {
  border-radius: 0;
}

.page-item {
  margin: 0 4px;
}

.page-link {
  border: none;
}

.field--name-field-suunnittelualat {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: row;
  padding-left: 0;
  margin-bottom: 1rem;
  list-style: none;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.field--name-field-suunnittelualat .field__item {
  margin-left: 5px;
  margin-right: 5px;
}

.suunnittelualat p {
  margin-bottom: 0;
}

.search_info {
  color: #000;
  font-style: italic;
}

#views-exposed-form-haku-page-1 .form-group {
  margin-bottom: 0;
}

#views-exposed-form-haku-page-1 input {
  margin-top: 0;
}

#views-exposed-form-haku-page-1 .form-type-textfield {
  flex-basis: 75%;
}

#views-exposed-form-haku-page-1 .form-actions {
  flex-basis: 25%;
}

.palvelut-relevanssi h2 {
  color: #000;
  font-weight: bold;
  text-align: center;
}

.palvelut-relevanssi .views-field {
  background-color: #ee9b46;
  margin-bottom: .25rem;
  transition: background-color .25s;
}

.palvelut-relevanssi .views-field:hover {
  background-color: #efa558;
}

.palvelut-relevanssi .field-content a {
  color: #fff;
  font-weight: bold;
  padding: .25rem;
  display: block;
  text-decoration: none;
}

.node--type-uutinen .text-formatted li{
  color: #000;
  font-size: 1.2rem;
}

.alert-wrapper {
  padding: 1rem;
}

.nosto-overlay,
.ylakuva-overlay {
  top: 0;
  left: 0;
}

.nosto-overlay p {
  text-shadow: 0 .125rem .25rem rgba(0,0,0,.5);
  font-size: 1.4rem;
}

.text-shadow {
  text-shadow: 0 .125rem .25rem rgba(0,0,0,.5);
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.text-formatted li {
  color: #000;
  font-size: 1.2rem;
}

input[type=file] {
  height: auto;
}

.ylakuva-container .field--type-image {
  width: 100%;
}

.ylakuva-container .field--type-image img {
  width: 100%;
  height: auto;
}

.text-formatted blockquote {
  font-style: italic;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  grid-gap: 2rem 8rem;
}

.mustateksti h2,
.mustateksti h4 {
  color: #000;
}

.paragraph--type--henkilo .field--name-field-henkilo-kuva {
  margin-bottom: 1rem;
}

blockquote {
  font-size: 1.2rem;
}

blockquote p {
  color: #ee9b46 !important;
}

.artikkelit-etusivu .views-field.views-field-nothing,
.artikkelit-etusivu .field-content,
.block-views-blockajankohtaista-uusi-block-1 .views-field.views-field-nothing,
.block-views-blockajankohtaista-uusi-block-1 .field-content {
  height: 100%;
}

.card.artikkelit {
    border: none;
  height: 100%;
}

.card.artikkelit img {
  border-radius: 5px 5px 0 0;
}

.card.artikkelit .card-body {
  background-color: #e7e7e7;
  border-radius: 0 0 5px 5px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.artikkelit .title {
  flex-grow: 1;
}

.sipti-hr {
    border-top: 2px solid #ee9b46;
  width: 100%;
}

/* ------------------------- */
/* ----- MEDIA QUERIES ----- */
/* ------------------------- */

@media (max-width: 991px)
{
  .contact-grid {
    grid-gap: 2rem 2rem;
  }

.fixed .homepagebtn
{
  display: none;
}
.fixed #block-nakyvakaavakehakupage-1
{
  display: none !important;
}
  #block-kotisivupainike
  {
    display: none
  }

  .display-2 {
    font-size: 3.5rem;
  }

  .display-4 {
    font-size: 2rem;
  }
}
@media (max-width: 1200px)
{
  .ylateksti {
  top: 8rem;
  line-height: 2.3rem;
}
}
@media (min-width: 1201px)
{
  .ylateksti {
  top: 12rem;
  line-height: 3rem;
}
}
@media screen and (max-width: 1200px) {


  .block-menu.navigation ul li .nav-link {
    font-size: 0.8rem;
    padding: .5rem .8rem !important;
  }

  .loota .card, .loota .field--name-field-galleria {
    height: 150px;
  }

  .newscard {
    width: 80%;
    max-width: 80%;
  }

  .ylateksti p {
    font-size: 1.5rem;
  }

  .alateksti p {
    font-size: 1rem;
  }

  .identity>.row.no-gutters {
    margin-bottom: 1rem;
  }
}
@media (max-width: 991px)
{
    #block-nakyvakaavakehakupage-1
  {
   margin-bottom: 15px; 
  }
}

@media screen and (min-width: 992px) {

  .identity.fixed .block-menu.navigation .nav-link {
    margin: 0rem .1rem;
    border: solid 1px #ee9b46;
  }
}

@media screen and (max-width: 991px) {
  .navbar {
    /* height: 0; */
  }
  .navbar.navbar-expand-lg
  {
    display: block;
  }
  .navbar.navbar-expand-lg > * 
  {
    float: none;
    text-align: center;
    width: 100%;
    top: auto;

  }
  .navbar.navbar-expand-lg
  {
    
  }

  .menu--main {
    max-height: 400px;
    overflow-y: scroll;
  }

  .siptihome {
    display: none;
  }

  .menu-burger {
    display: block;
    background-color: #ee9b46;
    border: none;
    border-radius: 0;
    transition: background-color 0.2s;
  }

  .menu-burger i {
    color: #fff;
  }

  .menu-burger:hover {
    background-color: #efa558;
    transition: background-color 0.2s;
  }



  .block-menu.navigation ul {
    margin: 0px;
    flex-direction: column;
    background: #e2e1e1;
    border-radius: 0px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }

  .block-menu.navigation ul li .nav-link {
    display: block;
    padding: 0.5rem 1rem !important;
    margin: 2px 2px;
    text-align: center;
    background: #ffffff;
    transition: background-color 0.2s, color 0.2s;
  }

  .block-menu.navigation ul li .nav-link.active {
    color: #fff;
    background-color: #ee9b46;
  }

  .menu--main .dropdown-menu {
    background: none !important;
    box-shadow: none !important;
    padding: 0;
  }

  .menu--main .dropdown-item {
    background-color: #fff;
    margin: 4px 2px;
    width: auto;
    text-align: center;
    transition: color 0.2s, background-color 0.2s;
  }

  .menu--main .dropdown-item a {
    font-weight: normal;
    color: #000;
  }

  .menu--main .dropdown-item:hover a {
    color: #fff;
    transition: color 0.2s;
  }

  .menu--main .dropdown-item.active {
    background-color: #ee9b46;
    transform: none;
  }

  .menu--main .dropdown-item:hover {
    background-color: #ee9b46;
    transform: none;
    transition: color 0.2s, background-color 0.2s;
  }

  .block-menu.navigation ul li .nav-link:hover {
    background-color: #ee9b46 !important;
    color: #fff;
  }

  .block-menu.navigation ul li:first-child .nav-link {
    border-radius: 0;
  }

  .block-menu.navigation ul li:last-child .nav-link {
    border-radius: 0;
  }

  .navbar-toggler-icon.fixed-top {
    top: 24px;
  }

  .text-top {
    top: 30%;
    font-size: 2rem;
  }

  .text-bottom {
    top: 70%;
    font-size: 1.5rem;
  }

  .loota .card, .loota .field--name-field-galleria {
    height: 130px;
  }
}

@media screen and (max-width:768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .alateksti, .ylateksti {
    padding: 0 2rem;
    top: 5rem;
  }
  html .alateksti
  {
    top: auto;
    bottom: 10rem;
  }

  .ylateksti {
    line-height: 2rem;
  }

  .owl-buttons {
    top: 80%;
    pointer-events: none;
  }

  .owl-prev, .owl-next {
    pointer-events: all;
  }

  .loota .card, .loota .field--name-field-galleria {
    height: 100%;
  }

  .sivuotsikko h1, .alaotsikko h1 {
    font-size: 1.5rem;
  }

  .newscard {
    width: 90%;
    max-width: 90%;
  }

  .identity .logo img {
    width: 100% !important;
  }
}

@media screen and (max-width: 767px) {
  .menu-burger {
    top: -60px;
  }

  .display-2 {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 720px) {
  .siptilogo {
    background-size: 240px auto;
  }

  .text-top {
    top: 30%;
    font-size: 1.5rem;
  }

  .text-bottom {
    top: 70%;
    font-size: 1rem;
  }
}

@media screen and (max-width: 575px) {
  .menu-burger {
    top: -38px;
  }

  .newscard {
    width: 100%;
    max-width: 100%;
  }

  .ylateksti p {
    font-size: 1rem;
  }

  .sivuotsikko h1, .alaotsikko h1 {
    font-size: 1rem;
  }

  .display-2 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 540px) {
  h1 {
    font-size: 2rem;
  }

  .contact-grid {
    grid-template-columns: .75fr;
    justify-content: center;
  }

  .block-menu.navigation {
    top: 50px;
  }

  .siptilogo {
    background-size: 80% auto;
  }

  .text-top {
    top: 30%;
    font-size: 1rem;
  }

  .text-bottom {
    top: 70%;
    font-size: 0.85rem;
  }

  .slide .tausta {
    background-color: #d4d4d4;
  }

  .slide .tausta img {
    opacity: 0;
  }

  .field--name-field-sivun-otsikko {
    font-size: 1.5rem;
    letter-spacing: normal;
  }
}


@media screen and (max-width: 360px) {
  .navbar-toggler-icon {
    top: 107px;
    right: 15%;
  }

  .homepagebtn {
    display: none;
  }
}


.field--name-field-slider-refet {
	background-color: #d4d4d4;
}


@media (min-width: 481px) and (max-width: 991px)
{
    .fixed > .container
    {
        display: none;
    }
}