h1{
font-size:37px;
}


.box-spotlight h3 {
    font-size: 16px;
    font-weight: bold;
    background-color: #0065a4;
    color: #fff;
    line-height: 18px;
    height: 86px;
    padding: 10px 30px;
    margin: 0 -30px 15px -30px;
}

box-spotlight h3 {
    height: auto;
}


.containerBox {
    position: relative;
    display: inline-block;
}

.text-box{
  position: absolute;    
    height: 100%;
}
.text-box-right {

    text-align: right;
	padding-right:20px;
	padding-top:15px;		
    width: 90%;
}

.text-box-left{
  
    text-align: left;
	padding-left:30px;
	padding-top:15px;		

    width: 90%;
}
.text-box:before {
   content: '';
   display: inline-block;
   height: 100%;
   vertical-align: top;
	
}
h4.overtitle {
   display: inline-block;
   font-size: 16px; /*or whatever you want*/
   color: #000;   
}
h5.overtitle {
   display: inline-block;
   font-size: 14px; 
   color: #000;
	padding-top:120px;
}
p.overtitle {
   display: inline-block;
   font-size: 14px; 
   color: #000;
	padding-top:160px;
}

img.underimg{
	display:block;
	max-width:100%;
	height:auto;
	flex-shrink: 0;
}

.responsive-img img{
	display:block;
	max-width:100%;
	height:auto;
}

.flexslider .flex-img-container-small {
    position: relative;
	height: 0;
    padding-top: 30%;
    background-size: cover;
    background-position: center;
	overflow: hidden;
}

.flexslider .flex-img-container-small > img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.flexslider .flex-img-container-small:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 101, 164, 0.2);
}

.box-fade {
    height: 270px;
	overflow:hidden;
}

.box-fade:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 40px;
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 70%);
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 70%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 70%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
}

.pankkiteksti h1{
	font-size: 28px;
}
.pankkiteksti h2{
	font-size: 22px;
}
.pankkiteksti h3{
	font-size: 16px;
}
.pankkiteksti h4{
	font-size: 12px;
	font-weight:bold;
}

div.huom{
	font-size: 16px;
	font-weight:bold;
	border:#ff0000 1px solid;
	margin-top:30px;
	padding:20px;
}
.alertonmobile {
        display:none;
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 3px solid #003366;
  padding: 1rem 1.5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  font-family: sans-serif;
  font-size: 0.95rem;
  z-index: 1000;
}

.cookie-banner p {
  margin: 0 0 0.5rem 0;
  color: #333;
}
.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.cookie-buttons button {
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
}
.cookie-buttons .accept {
  background-color: #003366;
  color: white;
}

.cookie-buttons .deny {
  background-color: #e0e0e0;
  color: #003366;
}

 

@media (max-width: 767px) {
    .alertonmobile {
		display:block;
        width: 100%;
        margin-top:50px;
    }
	.alertonpage {
        display:none;
    }
    
}
        