/* CSS Document */

@media only screen and (max-width: 767px) {
#rt-copyright .rt-container {text-align:center !important;}
#rt-copyright .rt-container a {float:none;}
#rt-top .rt-container {text-align:center; padding-top: 50px !important;}
#rt-top .rt-container * {text-align:center;}
.gf-menu-toggle {left:49% !important}

.layout-mode-responsive .gf-menu li.active.last > .item {background:#9E9B8F !important;}

/*.blogkalenterimaailma .item:nth-child(3) {clear:both;} */
/*.component-content .blogkalenterimaailma .column* {width:100% !important; float:none !important;}
.component-content .cols-4 .column-2 {width:100% !important;}
.component-content .blogkalenterimaailma img {float:none !important;}
.component-content .cols-4 .column-* img {float:none !important;}*/		
.component-content .cols-4 .column-4, .component-content .cols-4 .column-3, .component-content .cols-4 .column-2, .component-content .cols-4 .column-1 {float:none !important; width:100%; text-align:center;}
.blogkalenterimaailma img {float:none !important;}

#rt-mainbody .almanakka td, #rt-mainbody .almanakka2 td {padding:2px !important;}
#rt-mainbody .almanakka th, #rt-mainbody .almanakka2 th {padding:2px !important;}
#rt-mainbody .hinnasto td{padding:2px !important;}
/*#rt-mainbody table img {width:100% !important; height:auto !important;}*/

h1,h2, h2.title, .title, .component-content h2 {font-size:1.85em !important; line-height:1.1em; margin-bottom:12px; font-weight:300;}
h3, .blog .item h2, .blog-featured .items-row h2 {font-size:1.57em; line-height:1.15; font-weight:300;margin-bottom:12px; margin-top:25px;}

}
@media only screen and (max-width: 959px) {
#rt-sidebar-a .menu {
    margin-left: 0px !important; 
    list-style: none;
}
}



/*nimipäivähaku*/
/*.haku width:50%; float:left;
/*#livesearch, #datesearch  {display:table; width:100%;}*/
/*#livesearch div, #datesearch div {width:30%; float:left;}*/
#livesearch h4, #datesearch h4 {}

/*flex-item test*/
#livesearch, #datesearch, .haku { 
/* On the flex container */

  /* display: -webkit-flex;
   display: flex; */
   -webkit-align-items: center;
   align-items: center;
   -webkit-justify-content: center;
   justify-content: center;
   /* You can set flex-wrap and flex-direction individually */
   -webkit-flex-direction: row;
   flex-direction: row;
   -webkit-flex-wrap: wrap;
   flex-wrap: wrap;
   /* Or do it all in one line with flex flow */
   -webkit-flex-flow: row wrap;
   flex-flow: row wrap;
   /* tweak the where items line up on the row */
   /* valid values are: flex-start, flex-end, space-between, space-around, stretch */
   -webkit-align-content: flex-end;
   align-content: flex-end;

}

input#nimihaku, input#paivahaku, input#searching {/*border-radius:15px;*/}
input#searching {float:right;}
.haku label {margin-left:10px; font-weight:bold;}


.flex-item {

  background: none;
  padding: 5px;
  width: 100%;

  margin-top: 10px;
  text-align: left;
  
}





ul.nimipaivahaku{list-style:none; margin:0px;}
ul.nimipaivahaku li {}
.mies {color:#30669d !important;}
.nainen {color:#d84f35 !important;}
/**********************/

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.breadcrumb .divider.icon-location {display:none;}
.divider img {
    padding-bottom: 3px;
}
.breadcrumb {background-color: #fff; padding:0px;}


.font-size-is-default {line-height:1.28em;}
.tk-myriad-pro, body {font-family: "myriad-pro", sans-serif !important; font-weight:400; color:#000;}
#mod-finder-searchword, input#mod-search-searchword {width:140px; margin-bottom:0px;}

.button {background-color:#fec85b; padding:2px 5px;}
button.finder, #finder-search .button, button.btn-primary {margin-left:10px; display:inline-block; background-color:#fec85b; padding:2px 5px;}
fieldset.only {display:none;}
.finder .inputbox, input.search-query {    
	padding: 4px;
    border-radius: 3px;
    line-height: 1.6em;
}
.breadcrumbs img {margin-bottom:4px;}
ul.lang-inline {text-align:right;}
ul.lang-inline .lang-active a {color:#000; text-decoration:underline;}
div.mod-languages li {margin-left:2px !important; margin-right:2px !important;}

.component-content .article-info .category-name:before {content:"";}



input.rsform-submit-button, .btn-primary, button.finder {color: #ffffff;
text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
box-shadow: 0 2px 3px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
background-color: #fecf6f;
background: -webkit-linear-gradient(top, rgba(254,207,111,1) 0%, rgba(254,185,45,1) 100%);
border-color: #f2a201;
line-height: 1.7em;
font-size: 1em;
border-radius: 4px;
border: 1px solid;
display: inline-block;
border-color: #f2a201;
}


#finder-search input {margin-bottom:0px;}
.category-desc {border-bottom:1px solid #e1e1e1;margin-bottom:0px;}

.formResponsive input.rsform-calendar-button {margin-bottom:9px;}

.component-content .article-info dd {}
.create, .category-name, .published {padding-right:10px;font-weight:700; font-size:1.1em; line-height:1.15em; font-family: "myriad-pro", sans-serif !important;}
.createdby{font-weight:700; font-size:1.1em; line-height:1.15em; font-family: "myriad-pro", sans-serif !important;}
.createdby:before {content:"" !important;}
.create:before{content:"" !important;}
.published:before{content:"" !important;}
.readmore {background:none !important; box-shadow:none; text-shadow:none; border:none; border-radius:0px; padding:0px; }
.finder, .search {text-align:right;}
.component-content .row-separator {background:#e1e1e1;}
.component-content .items-leading {margin-bottom:10px;}

.component-content .item-separator {/*display:block; height:1px; width:100%;background:#e1e1e1;*/}
.blog-featured .items-row {border-top:1px solid #e1e1e1;}

h1,h2,h3,h4,h5,h6, .title, .component-content h2 {color:#000;}

#rt-mainbody a, #rt-footer a, #rt-sidebar-a .tiedotteet a{color:#0096aa;}
#rt-mainbody a:hover, #rt-footer a:hover, #rt-sidebar-a:hover .tiedotteet a:hover {text-decoration:underline;}

#rt-mainbody h2 a, #rt-mainbody h3 a, #rt-mainbody h4 a, #rt-mainbody h5 a, #rt-mainbody h6 a {color:#000;}
#rt-mainbody h2 a:hover, #rt-mainbody h3 a:hover, #rt-mainbody h4 a:hover, #rt-mainbody h5 a:hover, #rt-mainbody h6 a:hover {text-decoration:none;}

#rt-copyright a {color:#E4DDDD;}
#rt-copyright .button {background:#F7F7F7; border:none; box-shadow:none; text-shadow:none; float:right;}
#rt-copyright .button:hover {border: 1px solid #fff;}

#rt-showcase .rt-container, #rt-top .rt-container, #rt-mainbody-surround .rt-container {background:#fff;}
#rt-showcase > .rt-container, #rt-mainbody-surround > .rt-container, #rt-top > .rt-container, 
#rt-header > .rt-container, #rt-footer > .rt-container, #rt-copyright > .rt-container {
	padding-left:15px; padding-right:15px;	
}


h1,h2, h2.title, .title, .component-content h2 {font-size:2.85em; line-height:1.1em; margin-bottom:12px; font-weight:300;}

h3, .blog .item h2, .blog-featured .items-row h2 {font-size:1.57em; line-height:1.15; font-weight:300;margin-bottom:12px; margin-top:25px;}
.blog .item h2, .blog-featured .items-row h2 {margin-top:15px;}
h4 {font-size:1em; line-height:1.28em; font-weight:600;}

p {margin: 0 0 12px 0;}
.rt-block {padding:0px;}

#rt-top form {margin:0px;}
#rt-top-surround {background:none;}
#rt-top .rt-container {margin-top:0px; margin-bottom:0px; padding-bottom:30px; padding-top:30px;}
#rt-top .rt-block {padding:0px;}

#rt-popuplogin { display: none; }

#rt-header {background: #fec85b;}
#rt-header .rt-block {margin: 0px 0px 0px 0px; padding:0px;;}

#rt-header ul.gf-menu {font-family:"myriad-pro", sans-serif; font-weight:400; text-transform:uppercase; color:#000;}
#rt-header ul.gf-menu li{ margin-right:0px;}
#rt-header ul.gf-menu li a, #rt-header ul.menu li .item {color:#000; font-weight:400; font-size: 15px;}
#rt-header ul.gf-menu li.active > a {color:#fff; font-weight:600;}
#rt-header ul.gf-menu li:hover > a {color:#fff !important;}
ul.gf-menu {margin:0px;}
ul.gf-menu .item {text-shadow:none !important; font-family:"myriad-pro", sans-serif !important;}
ul.gf-menu  ul {text-transform:none;}
ul.gf-menu .dropdown {border:none;}



.gf-menu .dropdown ul li .item {border:none !important;}
ul.gf-menu li {border:none;}
.gf-menu li:hover .item, .gf-menu .item:hover, .gf-menu a:hover, .gf-menu li:hover > .item {border:none !important; text-shadow:none !important;}

ul.menu li {margin:0px; padding-top:13px; padding-bottom:13px;}

ul.menu li a {color:#000; font-size:1em; line-height: 1.25em; font-weight:400; padding-left:10px;}
ul.menu li .item, ul.menu li .separator {font-size:1em; font-weight:400;}
ul.menu li ul li {padding-top:8px; padding-bottom:8px;}
ul.menu li ul li:last-child {padding-bottom:0px;}
ul.menu li ul li a {line-height:1.25em;}
ul.menu li a:hover {color:#fec85b; border:none !important;}
ul.menu li.active  > a {font-weight:700;}

#rt-showcase {background-color:transparent; background-image:none; border-bottom:none; text-shadow:none; box-shadow:none;}
#rt-showcase .rt-block {padding: 0px; margin:25px 10px 25px 10px;}

#rt-main {padding:10px 0px 10px 0px;}
#rt-main .rt-container {min-height:500px;}

#rt-mainbody .perustaulukko {width:100%;border-spacing: 0px 15px; border-collapse:separate; margin-bottom:10px;}
#rt-mainbody .perustaulukko p:last-child {margin-bottom:0px;}
#rt-mainbody .perustaulukko td {padding:10px; background:#d4efef;}
#rt-mainbody .perustaulukko tr {}
#rt-mainbody .perustaulukko th {background:none; text-align:left;}
#rt-mainbody .perustaulukko h3 {margin-bottom:0px;margin-top:15px;}
#rt-mainbody .perustaulukko img {float:right; max-width:none;}
#rt-mainbody .hinnasto td{padding:10px;}

.pagination ul > li > a, .pagination ul > li > span {line-height:38px !important;}

#rt-mainbody ul li, #rt-mainbody ol li {margin-bottom:0px;}

.nosto {border: 4px double #000; padding:2px; background:#fec85a; margin-bottom:35px !important;}
.nosto .module-surround {border: 1px solid #000; padding:17px;}
.nosto h2.title, .nosto h2 {font-weight:700; font-size:1.1em; line-height:1.15em;}
.nosto a {color:#000; font-weight:700;}
.nosto a:hover {color:#fff;} 

ul.category-moduletiedotteet {list-style:none; margin:0px;}
ul.category-moduletiedotteet span {font-size:0.85em; line-height:1em; font-weight:700;}
ul.category-moduletiedotteet h4, ul.category-moduletiedotteet a, a.mod-articles-category-title {font-size:1em; line-height:1.1em; font-weight:400; margin:0 0 10px; display:block;}

ul#tabs li{margin-bottom:0px;}
.nav-tabs > li > a, .nav-pills > li > a {padding-right:9px; padding-left:9px;}

.rt-block.uutiskirje {margin-top:35px;}

#rt-sidebar-a h2, #rt-sidebar-a h2.title {font-weight:700; font-size:1.1em; line-height:1.15em;}
#rt-sidebar-a .menu {margin-left:80px; list-style:none;}

#rt-sidebar-a ul.menu > li:first-child {border-top:3px solid #e1e1e1;}
#rt-sidebar-a ul.menu > li {border-bottom:3px solid #e1e1e1;}
#rt-sidebar-a ul.menu ul li  {border-bottom:none;}

#rt-footer {font-size:0.85em;}

#rt-mainbody .almanakka, #rt-mainbody .almanakka2  {width:100%; border-collapse:collapse !important; border-spacing:0px !important; text-align:center;}
#rt-mainbody .almanakka tr:nth-child(even), #rt-mainbody .almanakka2 tr:nth-child(even)  {background:#fff !important}
#rt-mainbody .almanakka tr:nth-child(odd), #rt-mainbody .almanakka2 tr:nth-child(odd) {background:#e3e3e3 !important;}
#rt-mainbody .almanakka tr:nth-child(10n+10) {border-bottom:2px solid #afafaf;}
#rt-mainbody .almanakka th, #rt-mainbody .almanakka2 th {font-weight:600; color:#fff; background:#647280 !important; border:1px solid #afafaf;padding:7px; text-align:center;}
#rt-mainbody .almanakka td, #rt-mainbody .almanakka2 td {border:1px solid #afafaf;padding:7px; background:none;}
#rt-mainbody .almanakka p, #rt-mainbody .almanakka2 p  {margin:0px;}
#rt-mainbody .almanakka a:visited, #rt-mainbody .almanakka2 a:visited {color:#693d64;}

.almanakka-tr-border {border-bottom:2px solid #afafaf;}

