/* cmsms stylesheet: bandb modified: 17.02.2022 13.08.31 */


body {
  font-family: "Calibri light", light;
  color: ##2f2f2f;
}
nav li + li:before{
    content: " | ";
    padding: 0 10px; 
}
.tkone{display:none;}

:focus {outline:none !important;}
::-moz-focus-inner {border:0 !important;}

[type=checkbox]+label, [type=radio]+label {
    margin-left: 0rem;
font-family: calibri light;
    background-color: #282828;
    color: white;
}
[type=checkbox]+label:hover {
    margin-left: 0rem;
    background-color: #373737;
    color: black;
box-shadow: 5px 5px 6px #999;
}
input:hover[type="submit" i] {
    color: black;
    box-shadow: 5px 5px 6px #999;
    cursor:pointer;
}
input[type="submit" i] {
    background-color: #282828;
    color: white;
    padding: 10px;
    border-width: 2px;
    border-color: #373737;
}
.openinghours {
   
}
.openinghourscontent {
    float:left;
}
.openinghourscontent h1 {
    display:block;
    text-align:center;
    color:black;
    margin-top:.33em;
}

.today {
    color: black;
  font-weight:bold;
}
.opening-hours-table tr td:first-child {
    font-weight:bold;
}
#open-status {
    display:block;
    margin-top:-1em;
    text-align:center;
    border:dotted white 3px;
}
.openorclosed:after {
    content:" open during these hours:";
}
.open {
    color: black;
}
.open:after {
    content:" Open";
    color: #282828;
}
.closed:after {
    content:" Closed";
    color: black;
}
.opening-hours-table tr td {
    padding:5px;
}

#flip {
  height:30px;
  font-size:20px;
  font-weight:bold;
  overflow:hidden;
}

#flip > div > div {
  color: white;
  height:40px;
  margin-bottom:50px;
  display:inline-block;
}

#flip div:first-child {
  animation: show 13s linear infinite;
}

@keyframes show {
  0% {margin-top:-270px;}
  5% {margin-top:-180px;}
  33% {margin-top:-180px;}
  38% {margin-top:-90px;}
  66% {margin-top:-90px;}
  71% {margin-top:0px;}
  99.99% {margin-top:0px;}
  100% {margin-top:-270px;}
}
a.scroll{color:white !important;}
a.scroll:hover{color: grey !important;}
a {
  color: #585858;
  transition: all 0.2s ease;
}

a:hover, a.menuactive {
  color: #2f2f2f;
}
p{margin-bottom:0px;}
h1 {
  font-family: "Calibri light", light;
  font-size: 2rem;
  color: #282828;
  margin-bottom: 0;
}

h1 a, h1 a:hover {
  color: #2f2f2f;
}

h2, h3, h4 {
  font-family: "calibri", light;
  font-size: 0.9rem;
}
h5{font-family: "Calibri light", light;}
h3 {
  font-size: 1.4rem;
  margin-top: 1rem;
  font-weight:bold;
  text-transform: uppercase;
}
.scroll {
    color: white;
    font-weight: bold;
}

.ankkurit{
    background-color: #282828;
    background-image: -moz-linear-gradient(top, #282828, #585858);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#282828), to(#585858));
    background-image: -webkit-linear-gradient(top, #282828, #585858);
    background-image: -o-linear-gradient(top, #282828, #585858);
    background-image: linear-gradient(to bottom, #282828, #585858);
    position: sticky;
    font-size:16px;
    font-family: Calibri light;
    padding: 5px;
    top: 50px;
    color: white !important;
    width: 99.5vw;
    margin-left: calc(-50vw + 50%);
    z-index: 6;
}
.ankkurit:hover{text-shadow: 1px 1px #282828; font-weight: bold;}
.avoinna {
    color: white;
    max-width: 400px;
    background: #28282870;
    border-radius: 1px;
    font-weight: normal;
    font-size:15px;
    position: absolute;
    padding: 8px;
    margin: 30px;
    margin-left: calc(-48vw + 50%);
}
.modal{
display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.modal-content{
    background-color: #fefefe;
    margin: auto;
    padding: 15px;
    border: 1px solid #888;
    width: 80%;
    max-width: 650px;
}
#myBtn{
position: fixed;
    background: #282828; font-family:calibri light;font-weight:bold;
color:white;
    right: 1px;
cursor: pointer;
    z-index: 10;
    bottom: 0px;
    padding: 10px;
    box-shadow: 3px 3px 6px #777;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}
#myBtn:hover{background: white;color:#282828;font-family:calibri light;font-weight:bold;}
label{float:left;}
.close{float:right;font-size: 50px;cursor: pointer;}
.close:hover{color:white;}
#sticky-logo a {
  transition: all 0.3s ease;
  font-size: 0rem;
  line-height: 1rem;
  opacity:0;
}

.is-stuck #sticky-logo a {
  display: block;
  padding-top:3px;
  opacity:1;
}

#sticky-logo {
  float: left;
}

#menu-toggle {
  float: right;
}
table{margin-bottom:1px;}
td{vertical-align: top;}

.top-bar, .is-drilldown-submenu {
  background: url('https://iinautomaalaamo.fi/uploads/Nimet%C3%B6n55.png');
  z-index: 999;
}
.top-bar-right{font-size: 18px; font-family: Calibri light; font-weight: bold;}
.top-bar ul{
background: none;
}
.dropdown.menu.medium-horizontal>li.is-dropdown-submenu-parent>a:after {
  border-color: #585858; transparent transparent;
}
.dropdown.menu.vertical>li.opens-left>.is-dropdown-submenu {
background-color: #585858; border: none;
    left: 0;
    right: auto;
margin-top: 9px;
}
.divider {
  background-color: #282828;
    background-image: -moz-linear-gradient(top, #282828, #373737);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(url('https://iinautomaalaamo.fi/uploads/Nimet%C3%B6n55.png')), to(#373737));
    background-image: -webkit-linear-gradient(top, #212121, #373737);
    background-image: -o-linear-gradient(top, #212121, #373737);
    background-image: linear-gradient(to bottom, #282828, #373737);
  color: white;
  padding: 0.5rem;
  font-size: 1.3rem;
}
.menu>li>a{color: white;padding: 0.5rem 0.5rem;}
.menu>li>a:hover{color:#747478;}
.divider a {
  color: white;
  margin: 0 0.5rem;
}

.divider a:hover {
  color: #080808;
}

.card-divider {
  background: #2f2f2f;
  color: #D2D2D0;
}

.button {
  background: #D2D2D0;
  color: #2f2f2f;
  border-radius: 5px;
}

.button:hover {
  background: #2f2f2f;
  color: #D2D2D0;
}

.divider .button {
  background: #2f2f2f;
  color: #D2D2D0;
  margin-bottom: 0.2rem;
}

.divider .button:hover {
  background: #585858;
  color: #2f2f2f;
}

footer {
  background: url('https://iinautomaalaamo.fi/uploads/Nimet%C3%B6n55.png');
padding-top: 15px;
  color: #D2D2D0;
}

footer .column {
  padding: 0 2rem;
}

footer h4 {
  margin-top: 1rem;
  color: #D2D2D0;
  font-size: 1rem;
  padding-bottom: 0.2rem;
}

footer i {
  margin-right: 0.5rem;
}

#copyright {
  border-top: 0.5px solid #D2D2D0;
}

#copyright span {
  margin: 0 1rem;
}

#content-columns h4 {
  text-align: center;
  font-size: 1.1rem;
  text-transform: uppercase;
}

form {
  padding: 1rem;
}

/* Small only */
@media screen and (max-width: 39.9375em) {
table{
width:100%;
margin-right:auto;margin-left:auto;
}
.tkone{display:unset;}
#myBtn{right:2.5rem;}
td {
  display:block;
min-width:300px;
width:100% !important;
margin-right:auto;margin-left:auto;
  }
.modal-content{width:100%;}
.ankkurit{display:none;}
.mobiili{display:none;}
  .is-stuck #sticky-logo {
    font-size: 1.6rem;
    padding-top: 0.5rem;
  }
}

/* Medium and up */
@media screen and (min-width: 40em) {table{
width:100%;
margin-right:auto;margin-left:auto;
}}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {.ankkurit{display:none;}
.mobiiliv{display:none;} .avoinna{margin-top:0px;padding:5px;}}

/* Large and up */
@media screen and (min-width: 64em) {}

/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {}
