@keyframes fadeIn{0%{opacity:0}to{opacity:1}}

.wrap {
    max-width: 1170px;
    min-width: 680px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.group {
    float: left;
}

.group-right {
    float: right;
}

#container {
    margin: 0px auto 0 auto;
    padding: 0px;
}

.footer .wrap {
    margin: 0px auto 0 auto;
}

.footer .mainlist {
  width: 18%;
}

.footer #some {
  float: right;
}

.footer #footer-logo {
  width: 14.5%;
  margin-right: 3%;
}

.footer #address {
  width: 31.7%;
  margin-right: 3%;
}

.footer #contact {
  width: 47%;
}

#top {
    height: 22px;
}

#masthead {

}

#logo {
    display: block;
    float: left;
    margin: 68px 0 36px 0;
}

.topnav {
    float: right;
    clear: right;
}

.topnav ul {
    margin-left: 0;
}

/* hide dropdown */
.topnav ul li ul {
  display: none !important;
}

#top-toolbar {
    width: 735px;
    margin-top: 26px;
    float: right;
}

#top-toolbar .others {
    font-size: 15px !important;
}

#top-toolbar a#contact-button {
    color: #666;
    background: url(./img/contact-icon.png?123) no-repeat 118px -35px;
    padding-right: 38px;
    margin-right: 30px;
    display: block;
    float: left;
    line-height: 30px;
    padding-left: 10px;
    margin-left: 30px;
    font-size: 0.867em;
    text-transform: uppercase;
    text-decoration: none;
}

#top-toolbar a#contact-button:hover {
    color: #000;
    background: url(./img/contact-icon.png?123456) no-repeat 118px 5px;
}

#top-toolbar a#login {
    font-family: ProximaNova-Semibold, Verdana, Arial;
    color: #fff;
    width: 290px;
    height: 30px;
    margin-top: 2px;
    background: #0054a8 url(./img/jasensivulle-bg.jpg) no-repeat top right;
}

#top-toolbar a#login:hover {
    color: #a5b5de;
    background: #0054a8 url(./img/jasensivulle-bg.jpg) no-repeat bottom right;
}

#event {
    margin-left: 0;
}

#details {
    float: right;
    width: 240px;
    padding-left: 2%;
}

a.bakkiin:before {
    content:"«\00a0";;
}

#events {
		width: 70%;
		float: left;
}

#tags {
		float: right;
		width: 25%;
		padding-top: 34px;
}

#topmenu {
    height: 41px;
    border-radius: 6px;
}

#topmenu li a {
    border-right: 1px solid #444;
    border-bottom: none;
}

#topmenu li:first-child a {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

/* Helpers */
.full {
    width: 100%;
    padding: 0px;
    clear: both;
}

.size1of4 {
    width: 24%;
    margin-right: 1.3%;
    float: left;
}

.size4of4 {
    width: 24%;
    float: right;
}

.size1of3 {
    width: 31.6%;
    margin-right: 2%;
    float: left;
    clear: both;
}


.size1of3messu {
    width: 31.6%;
    margin-right: 2%;
    padding-right: 2%;
    float: left;
    clear: both;
}
.size2of3 {
    width: 31.6%;
    margin-right: 2%;
    float: left;
}

.size3of3 {
    width: 31.6%;
    float: right;
}
.size2of3messu {
    width: 31.6%;
    margin-right: 2%;
    float: left;
}

.size3of3messu {
    width: 31.6%;
    float: right;
}

.size1-2of3 {
    width: 64%;
    margin-right: 2%;
    float: left;
    clear: both;
}

.size2-3of3 {
    width: 66%;
    float: right;
}

.size1of2 {
    width: 48.7%;
    float: left;
    clear: both;
}

.size2of2 {
    width: 48.7%;
    float: right;
}

#event-highlights {
    width: 65.8%;
}

#upcoming-events {
    width: 31.6%;
}

.horizontal li {
    float: left;
    display: inline;
    margin: 0;
    padding: 0;
}

.horizontal li a {
    display: block;
    padding: 5px;
}

#liity {
	display: block;
	width: 81px;
	position: absolute;
	top: -5px;
	left: 48%;
}

#top #login-form {
    float: right;
}

#blognav .prev {
    float: right;
}

#event .tapuilmo label, .tapulogin label {
	width: 200px;
	float: left;
	text-align: right;

}

.tapuilmo .row input, .tapulogin .row input {
		margin-left: 10px;
}

#event .tapuilmo .row input[type=text], #event .tapulogin input[type=text], #event .tapulogin input[type=password] {
		width: 35%;
}

.tapuilmo .fieldset {
		padding-top: 0.5em;
}

.submittapu {
		margin-left: 210px;
}

.helpmenu {
		float: right;
		margin-right: 20px;
		margin-top: 0px;
}

.tapuEventLocation {
		margin-left: 4px;
		margin-right: -54px;
		margin-bottom: 0px;
		float: right;
}

.julkaisu {
    overflow: hidden;
    padding: 20px;
    background: #f3f3f3;
    margin-bottom: 10px;
}

.julkaisu img {
    float: right;
    margin-left: 20px;
}


.flexslider {
    display: block;
    margin-bottom: 20px;
}

.flexslider > li {
    width: 100%;
    height: 300px;
}

.flexslider .slide {
    position: relative;
}

.slide-content {
    position: absolute;
    top: 40px;
    left: 8%;
    width: 450px;
}

/* front-page */
#front-left {
    width: 18.3%;
    margin-right: 3.2%;
}

#front-content {
    width: 100%;
}

/* basic-page */
#left {
    width: 25.6%;
    min-height: 200px;
    margin-right: 6%;
}

#right {
    float: right;
    width: 25.6%;
    min-height: 200px;
}

.template-blog-item .content-inner,
.template-miniblog-item .content-inner {
    width: 66%;
    float: left;
}


#content {
    width: 68.4%;
}

/* files */

.mod-filelist li {
    float: left;
    width: 50%;   
}

/* contacts */

#contacts .item img {
    width: 100px;
    height: 120px;
}

@media screen and (max-width: 1160px) {

	#masthead .wrap {
		padding: 0 .5em;
	}

	#left {
		padding-left: .5em;
	}
    
    body {
	   font-size: 13px;
    }

    .padding-1,
    .padding-2,
    .padding-3,
    .padding-4 {
        padding-left: 1em;
        padding-right: 1em;
    }
  
    /* frontpage */
    
    #logo {
	   margin-bottom: 0;
    }
    
    #logo img {
    	width: 80px;
    	height: 73px;
    }

    #slider-container > .wrap {
        padding: 0;
    }

    .flexslider .slide img {
        max-width: 120%;
    }
    
    .slide .slide-content {
      top: 15%; 
    }
    
    .flexslider .slides img {
      /*width: 100%;*/
      height: auto;
    }
    
    .flexslider .slide h2 {
      font-size: 1.6em;
      margin-bottom: 5px;
    }
    
    .flexslider .slide h2 .summary {
      font-size: 0.8em;
    }

    .flex-direction-nav {
        display: none;
    }
    
    .template-home #body h2 {
	   font-size: 1.1em;
    }
    
    .news-highlights-1 div {
	   min-height: inherit;
    }
	
    /* top */
	
    #top-toolbar {
    width: 645px !important;
    }
    
    /* search */
    
    #search-form {
	width: 185px;
    }
    
    #search-form #search_query {
	width: 140px;
    }
    
    #top li {
      padding-right: 0;
    }
    
    /* navigation */
    
    .topnav a {	
          font-size: 1em;
          margin: 15px 10px;
    }

    .section-pa-svenska .topnav a { 
          font-size: 1em;
          margin: 15px 10px 0 10px;
    }
    
    .news-highlights-1 img {
    	width: 65%;
    	margin-bottom: 0.5em;
    	position: static;
    	float: left;
    	clear: both;
    }
    
    .news-highlights-1 h2 {
	   padding: 0.6em 0 0.4em 0;
    }

    .news-highlights-1 .date {
        display: block;
        clear: both;
        padding: 0.2em 0 0 0;
    }
    
    .news-highlights-1 p {
	   padding: 0;
    }
    
    .news-highlights-1 p {
	   font-size: 1em !important;
    }
    
    #event-highlights,
    #upcoming-events {
    	width: 100%;
    	clear: both;
    }

    #contacts .item img {
        width: 26%;
        height: auto;
    }
  
}

.template-home .size1of2 {
    width: 50%;
    padding-right: 2.2em;
    float: left;
    clear: both;
}

.template-home .size2of2 {
    width: 50%;
    padding-left: 2.2em;
    float: right;
}

.imported-event-list a:hover {
    color: #0053A4;
    text-decoration: underline;
}

.hidden {
    display: none;
}

#body a {
  text-decoration: underline;
  transition: color .3s;
}

#body a:hover {
    color: rgba(0, 84, 168, 0.8);
}

.template-home #body a{
    text-decoration: none;
}



@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {

    #top-toolbar {
        width: 735px;
    }

    #top-toolbar a#login {
        width: 330px;
    }

}


@media screen and (-webkit-min-device-pixel-ratio:0)
  and (min-resolution:.001dpcm) {

    #top-toolbar {
        width: 730px;
    }

    #top-toolbar a#login {
        width: 315px;
    }

}

#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper {
    display: flex !important;
    flex-direction: row-reverse !important;
}
