/*
  Theme Name: Laitilan Puhelin
  Author: Laitilan Puhelin
  Description: Wordpress teema, Laitilan puhelin
  Version: 0.0.1
*/
body {
	font-family: 'Nunito', sans-serif;	
	margin: 0px;
	padding: 0;
	text-align: left;
	color: #333E47;
	background-color: #fff;
	height: 100%;
}
.container {
	height: auto;
}
.container-fadein {
	opacity: 0;
    transition: opacity .5s ease-in-out;
		-moz-transition: opacity .5s ease-in-out;
		-webkit-transition: opacity .5s ease-in-out;
}
.all-loaded {
	opacity: 1 !important;
}
a, a:hover, a:active {
	text-decoration:none;
}
/* Text sizes */
h1 {font-size: 3em;}
h2 {font-size: 2em;}
h3 {font-size: 1.5em;}
h4 {font-size: 1.4em;}
h5 {font-size: 1em;}
p {font-size: 1.1em;}	

h2, h3, h4, h5, h6, p {
	font-family: 'Nunito', sans-serif;		
	font-weight: 400;
	line-height: 1.1;
	margin-bottom: .8em;
}
h5 {
	line-height: 1.2;
}
p {
	line-height: 1.4;
	margin-bottom: 20px;
	-webkit-hyphens: auto;
  	-ms-hyphens: auto;
  	hyphens: auto;
	text-align: left;
}
img {
	border: 0;
	max-width: 100% !important;
}

.content ul {
	max-width: 850px;
	margin-left: auto;
	margin-right: auto;
}

.content ol {
	max-width: 850px;
	margin-left: auto;
	margin-right: auto;
}

.content li {
	font-size: 1.2em;
	font-weight: 400;
	line-height: 1.4;
	text-align: left !important;
}
h2{
	font-size: 2.858em;
}
hr {
	border: 1px solid #8ccdfd;
	max-width: 850px;
	margin-top: 60px;;
}
.nav li a.active {
	font-weight: 800;
	color: #1a3a58;
}
section.top {
	margin: 0px auto;
}
.container {
	margin-top:30px;
	padding:0;
	margin-bottom: 15px;
	margin: 0 auto;
	overflow: hidden;
	z-index: 100;
}
.main-header {
	position: relative;
	background-color: #fff;
	height: 67px;
	padding: 5px 0 5px 0;
	z-index: 100;
}
#inner_mainHeader {
    height: 72px;
}
/* Logo */
#logo-header img{
	height: auto;
	float: left;
	position: absolute;
	left: 20px;
}
section.main-content {
	margin: 0 auto;
	overflow: hidden;
}
section.social {
	max-width: 1240px;
	min-height: 30px;
	padding: 40px 0px;
	margin: 0 auto;
	text-align: center;
	background: #fff;
}
section.footer {
	min-height: 30px;
	padding: 70px 0px;
	margin: 20px auto;
	background: #f0f0f0;
	overflow: unset;
	display: flex;
}
.footer-content {
	position: relative;
	margin: 0 auto;
}
.show {
	visibility: visible !important;
}
.container-text {
	position: relative;
    float: left;
    width: auto;
	background: transparent;
	margin: 10px 60px;
	z-index: 1000;
	display: none;
}
.container-photo {
	width: 100%;
	height: auto;
	z-index: 0;
	position: relative;
	overflow: hidden;
}
.container-photo img{
	width: 100%;
	object-fit: cover;
	z-index: 0;
	position: relative;
}
.content {
	text-align: center;
	background: #FFF;
	font-weight: 600;
	margin-top: 20px;
	height: auto;
}
.content-basic-template {
    border-top: 0.5px solid #333E47;
    padding: 40px 0px 120px;
    margin: 10px;
}	
.content::after {
	min-height: 300px;
}
.content p {
	margin: 0 auto;
	max-width: 850px;
	font-size: 1.1em;
	color: #333E47;
	line-height: 1.4;
}
.content h1 {
	font-weight: 600;
	font-size: 3em;
	line-height: 1.1;
	max-width: 850px;
	margin-top: 20px !important;
	margin-bottom: 10px !important;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	color: #333E47;
}
.content h2 {
	font-weight: 600;
	line-height: 1.1;
	max-width: 850px;
	margin-bottom: 20px !important;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	color: #333E47;
}
.content h3 {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}
.slide {
	width: 100%;
	background: #fff;
}
/** Columns **/
.col-x-small:first-child {
	font-size: 13px;
}
.col-x-small  ul li  {
	list-style-type: none;
}
.col-x-small ul li a {
	color: rgb(57, 57, 57);
	text-decoration: none;
	font-size: 13px;
}
.menu-alaosan-valikko-1-container {
	float: right;
}

.footer-content .col-x-small img {
	margin-left: -38px;
}

@media screen and (min-width: 1240px) { 
	
	.page-id-2747 #slider > div > div > img{
		height: 580px !important;
	} 
	section.top {
		max-width: 1240px;
	}
	#logo-header img{
		width: 245px;
		top: 14px;
	}
	.consumers .services {
		border-bottom: 1px solid #efefef;
		margin-bottom: 20px;
	}
	section.main-content {
		max-width: 1240px;
		z-index: 1;
		position: relative;
	}
	section.footer {
		max-width: 1240px;
	}
	.container-photo-phone {
		max-height: 584px;
	}
	.container-photo-metro {
		max-height: 623px;
	}
	.container-photo img{
		height: 450px;
	}
	.footer-content {
		min-width: 880px;
	}
	.col-x-small:first-child {
		float: left;
	}
	.col-x-small:nth-child(3) {
		width: 300px;
		margin: 0 auto;
		position: absolute;
		left: 0;
		right: 0;
		margin-left: auto;
		margin-right: auto;
	}
	.footer-content .col-x-small img {
		margin-left: -38px;
	}
	.content h2 {
		margin-top: 60px !important;
	}
}
@media screen and (max-width: 1240px) and (min-width: 800px) { 
	section.top {
		max-width: 85%;
	}
	#logo-header img{
		width: 200px;
		top: 20px;
	}
	section.main-content {
		max-width: 85%;
	}
	section.footer {
		max-width: 85%;
	}
	.container-photo img {
		width: 100%;
		height: 250px !important;
		object-fit: cover;
	}
	.footer-content {
		min-width: 800px;
		padding: 0% 2%;
	}
	/** Columns **/
	.col-x-small:first-child {
		width: 34%;
	}
	.col-x-small {
		width: 25%;
	}
	.col-x-small {
		float: left;
	}
	.footer-content .col-x-small img {
		margin-left: 0px;
	}
	.content h2 {
		margin-top: 60px !important;
	}
	.page-id-2747 #slider > div > div > img {
    height: 420px !important;
}
	

}
@media screen and (min-width: 680px) and (max-width: 800px) { 
	section.top {
		margin-top: 20px;
		max-width: 85%;
	}
	
	h1 {font-size: 2em;}
	.content h1 {font-size: 2em;}
	h2 {font-size: 1.7em;}

	#logo-header img{
		width: 185px;
		top: 20px;
	}
	section.main-content {
		max-width: 85%;
	}
	section.footer {
		max-width: 85%;
	}
	.container-photo img {
		width: 100%;
		height: 200px !important;
		object-fit: cover;
	}
	.footer-content {
		min-width: 680px;
		padding: 0% 2%;
	}
	.col-x-small:first-child {
		width: 90%;
		text-align: center;
		margin: 0 auto;
	}
	.col-x-small {
		width: 90%;
		margin: 0 auto;
	}
	.col-x-small {
		float: left;
	}
	.content h2 {
		margin-top: 60px !important;
	}
	.page-id-2747 #slider > div > div > img {
    height: 400px !important;
	}
}

@media screen and (min-width: 598px) and (max-width: 680px) { 
	section.top {
		max-width: 95%;
	}
	
	h1 {font-size: 2em;}
	.content h1 {font-size: 2em;}
	h2 {font-size: 1.7em;}
	
	#logo-header img{
		width: 185px;
		top: 20px; 
	}
	section.main-content {
		max-width: 100%;
	}
	section.footer {
		max-width: 95%;
	}
	.container-photo img {
		width: 100%;
		height: 200px !important;
		object-fit: cover;
	}
	.content h1,.content h2, .content h3, .content h4, .content img {
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
	}
	.content p {
		padding: 0px 5%;
		font-size: 0.9;
	}
	#nav {
		display: none;
		visibility: hidden;
	}
	.col-x-small:first-child {
		width: 98%;
		margin: 0 auto;
		display: block;
	}
	.col-x-small {
		width: 98%;
		margin: 0 auto;
	}
	.col-x-small {
		float: unset;
	}
	.content h2 {
		margin-top: 60px !important;
	}
	.page-id-2747 #slider > div > div > img {
    height: 300px !important;
	}
}
@media screen and (min-width: 481px) and (max-width: 598px) { 
	section.top {
		max-width: 581px;
	}
	
	h1 {font-size: 2em;}
	h2 {font-size: 1.7em;}
	.content h1 {font-size: 2em;}
	
	#logo-header img{
		width: 185px;
		top: 20px;
	}
	section.main-content {
		max-width: 581px;
		margin-bottom: 20px;
	}
	section.footer {
		max-width: 581px;
	}
	.main-header {
		margin-top:0px;
	}
	.container-photo img {
		width: 100%;
		height: 200px !important;
		object-fit: cover;
	}
	.container-text {
    	z-index: 0;
	}
	.content h1,.content h2, .content h3, .content h4 {
		max-width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
	.content p {
		padding: 0px 5%;
		font-size: 0.9;
	}
	.col-x-small:first-child {
		width: 90%;
		text-align: center;
		margin: 0 auto;
		border-bottom: 0.5px solid;
		padding-bottom: 10px;
	}
	.col-x-small ul {
		padding: 0;
		text-align: center;
	}
	.col-x-small {
		width: 90%;
		margin: 0 auto;
	}
	.col-x-small {
		float: unset;
	}
	.footer-content .col-x-small img {
		margin-left: 0px;
	}
	.content h2 {
		margin-top: 20px !important;
	}
.page-id-2747 #slider > div > div > img {
    height: 250px !important;
}
}


@media screen and (max-width: 700px) { 
.container-iframe {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.responsive-iframe {
  width: 100% !important;
  height: 800px !important;
  margin: 0 auto;
}
	
}

@media screen and (max-width: 481px) { 
	body {
		margin: 0;
	}
	h1 {font-size: 2em;}
	h2 {font-size: 1.7em;}
	.content h1 {font-size: 2em;}
	img {
		height: auto;
	}
	section.top {
		max-width: 100%;
	}
	#logo-header img{
		width: 185px;
		top: 20px;
	}
	section.main-content {
		max-width: 100%;
		margin-bottom: 20px;
	}
	section.footer {
		max-width: 100%;
	}
	.margin {
		margin-top: 0px;
	}
	.main-header {
		margin-top:0px;
	}
	.container-photo img {
		width: 100%;
		height: 200px !important;
		object-fit: cover;
	}
	.container-text {
    	z-index: 0;
	}
	.content h1,.content h2, .content h3, .content h4 {
		max-width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
	.content p {
		padding: 0px 5%;
		font-size: 0.9;
	}
	.col-x-small:first-child {
		width: 90%;
		text-align: center;
		margin: 0 auto;
		border-bottom: 0.5px solid;
		padding-bottom: 10px;
	}
	.col-x-small ul {
		padding: 0;
		text-align: center;
	}
	.col-x-small {
		width: 90%;
		margin: 0 auto;
	}
	.col-x-small {
		float: unset;
	}
	.footer-content .col-x-small img {
		margin-left: 0;
	}
	.content h2 {
		margin-top: 20px !important;
	}
	.page-id-2747 #slider > div > div > img {
    height: 200px !important;
}
}

.page-id-2747 .second-menu {
	display: none;
}