@charset "utf-8";
/* Kirjastot.fi banner and footer CSS */

body {
	font-family: 'Arimo', 'Arial', sans-serif;
	font-size: 12px;
	line-height: normal;
	color: #fff;
	font-weight: normal;
	text-decoration: none;
	letter-spacing: normal;
	background-color: #9ca3a1;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
img {
	border: none;
}
.banner-body {
	background-color: #4c4c4c;
	height: 2.196em;
}
.footer-body {
	margin: 0;
	padding: 0;
}
a:link, a:visited, a:active {
	color: #fff;
	text-decoration: none;
}
a:hover {
 	opacity: 0.75;
}
.title {
	font-size: 1.166em;
	font-weight: bold;
	padding-bottom: 0.417em;
}
.banner-content {
	max-width: 98%;
	width: 100%;
	margin: 0 auto;
	padding: 0;
}
.logo {
	margin-top: 0em;
	opacity: 0.8;	
}
.search {
	max-width: 16.667em;
	width: 100%;
	margin-top: 0.65em;
}
.left {
	float: left;
}
.right {
	float: right;
}
.footer-content {
	max-width: 80em;
	width: 100%;
	margin: 0 auto;
}
.footer-first-row {
	height: 5.833em;
	width: 100%;
	background-color: transparent;	
}
.footer-second-row {
	clear: both;
	max-width: 74em;
	width: 100%;
	min-height: 44.167em;
	background-color: transparent;
	color: #fff;	
	/*margin-left: 2.083em;*/
	padding-top: 0.417em;
	text-align: center;
}

.footer-first-row .first-col {
	padding-top: 1.25em;
	padding-left: 0;
	text-align: center;
	width: 100%;
}
.footer-first-row .second-col {
}
.footer-first-row .third-col {
	/*margin-top: 0;*/
	width: 60%;
	float: left;
	/*margin-left: 2.083em;*/
	margin: 20px 0 0 25%;
	text-align: center;
}
.footer-first-row .fourth-col {
}
.footer-second-row .col {
	/*margin-top:15px;*/
}
.footer-second-row .item {
	padding-top: 0.2em;
	padding-bottom: 0.2em;
}
.hide-mob, .plus {
	display: none;
}
@media screen and (max-width: 1023px) {
	.footer-content {
		max-width: 65em;
	}
}
@media screen and (max-width: 319px) {
	.logo {
		display: none;
	}
	.search {
		float: none;
	}
}
@media screen and (max-width: 719px) {
	.footer-content {
		margin: auto;
		max-width: 35em;
	}
	.title {
		margin-top: 0.75em;
	}
	.plus {
		display: none; /*inline-block*/
		margin-left: 1em;
	}
	.open {
		max-height: 50em;
		opacity: 1;
		transition: all 0.7s ease-out;
		-webkit-transition: all 0.7s ease-out;
		-moz-transition: all 0.7s ease-out;
		-o-transition: all 0.7s ease-out;
	}
	.close {
		overflow: hidden;
		max-height: 0;
		opacity: 0;
		transition: all 0.5s ease-out; 
		-webkit-transition: all 0.5s ease-out;
		-moz-transition: all 0.5s ease-out;
		-o-transition: all 0.5s ease-out;
	}
	#footer-menu-first, #footer-menu-second, #footer-menu-third, #footer-menu-fourth, #footer-menu-fifth {
		display: block; /*none*/
	}
	#footer-menu-first:hover, #footer-menu-second:hover, #footer-menu-third:hover, #footer-menu-fourth:hover, #footer-menu-fifth:hover {
		/*display: block;*/
	}
	#footer-menu-first:hover .plus, #footer-menu-second:hover .plus, #footer-menu-third:hover .plus, #footer-menu-fourth:hover .plus, #footer-menu-fifth:hover .plus {
		display: none;
	}
}
@media screen and (min-width: 720px) and (max-width: 850px) {
	.sv .footer-first-row .second-col, .sv .footer-first-row .fourth-col {
		display: none;	
	}
}
@media screen and (min-width: 720px) {
	.hide-mob {
		display: block;
	}
	.search {
		max-width: 20.833em;
	}
	.footer-second-row {
		margin-left: 3em;
		text-align: left;
	}
	.footer-first-row .first-col {
		min-width: 19.167em;
		width: 25%;	
		margin-right: 2%;
		padding-left: 1%;
		text-align: left;
	}
	.sv .footer-first-row .first-col {
		min-width: 22.167em;
	}
	.footer-first-row .second-col {
		width: 20%;	
		margin-right: 2%;
		margin-top: 2.75em;
		text-align: left;
	}
	.sv .footer-first-row .second-col {
		width: 17%;	
	}
	.footer-first-row .third-col {
		width: 25%;	
		margin-right: 2%;
		margin-left: 0;
		margin-top: 2.6em; /* 2.417em */
		float: right;
		text-align: right;
	}
	.sv .footer-first-row .third-col {
		width: 23%;	
	}
	.footer-first-row .fourth-col {
		width: 15%;	
		margin-right: 2%;
		margin-top: 2.75em;
		text-align: right;
	}
	.sv .footer-first-row .fourth-col {
		width: 17%;	
	}
	.footer-second-row .col {
		width: 18%;
		margin-right: 2%;
		float: left;	
		margin-top: 0;
	}
	.cols-four .footer-second-row .col {
		width: 23%;
		margin-right: 2%;
		float: left;	
		margin-top: 0;
	}
	.last {
		margin-right: 0;
	}
	.footer-second-row .item {
		padding-top: 0.25em;
		padding-bottom: 0.25em;
	}
}
input.gsc-input {
	border: none !important;
	border-radius: 2px !important;
	height: 20px !important;
	background-position: 3px center !important;
}
.cse input.gsc-search-button, input.gsc-search-button {
	color: #333 !important;
	background-color: #cfcfcf !important;
	border: none !important;
	padding-top: 1px !important;
	font-weight: normal !important;
}
table.gsc-search-box td.gsc-input {
	padding-right: 0 !important;	
}
