/*
 Theme Name:     Oulun Pysäköinti Child Theme
 Theme URI:      http://www.elegantthemes.com/gallery/foxy/
 Description:    Oulun Pysäköinti Child Theme
 Author:         Elegant Themes
 Author URI:     http://www.elegantthemes.com
 Template:       Divi
 Version:        1.1.1
*/
 
@import url("../Divi/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */
.home .main_title, .post-meta {display:none;}





/* 2023-12: Iggo CSS Variables for easier color overrides */
	:root {
		--clr-blue-black: #072B3A;
		--clr-blue-contrast: #167EAC;
		--clr-blue-brand: #1A88B9;
		--clr-blue-light: #4DB9EB;

		--clr-grey: #575756;
		--clr-light: #F5FBFD;
		}

/* General overrides */
	#et-main-area a { color: var(--clr-blue-contrast) !important; }
	#et-main-area .et-pb-slider-arrows a { color: #FFF !important; }
	.etukiviteksti p { font-weight: 400 !important; }


/* Common classes */
	.pattern-light { background: var(--clr-light) url("images/pattern-light.webp") center repeat; }




/* 2024-02: Moovy floating banner */
	#moovyfloat { display: none; padding: 16px; position: absolute; top: 100px; left: 0; z-index: 100; width: 160px; text-align: center; 

		/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#07c6ed+0,019dda+100 */
		background: linear-gradient(to right,  #07c6ed 0%,#019dda 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
 	}
	
	.home #moovyfloat { display: block; }

	#moovyfloat img { width: 100px; margin: 0 0 6px; display: inline-block; }
	#moovyfloat h4 { margin: 0 0 4px; color: #FFF; font-weight: bold; line-height: 1.2; text-transform: none; display: block; }
	#moovyfloat p { display: none; }
	#moovyfloat a { padding: 8px 12px 10px; color: #FFF; background: var(--clr-blue-black); display: block; transition: .2s all; font-weight: bold; }
	#moovyfloat a:hover,
	#moovyfloat a:focus { background: #0A3A4F; }
	#moovyfloat a:active { background: #041C26; }

		@media (max-width: 979px) {
			#moovyfloat h4 { font-size: 15px; letter-spacing: 0.25px; }
		}

		@media (min-width: 980px) {
			#moovyfloat { position: fixed; top: 207px; left: 0; width: 260px; padding: 32px; }
			#moovyfloat p { display: block; margin: 0 0 16px; color: #FFF; line-height: 1.2; }
			#moovyfloat img { width: 180px; margin: 0 0 8px; }
		}


/* ---------------- NINJA FORMS ---------------- */

input[type="text"], input[type="password"], input[type="tel"], input[type="email"], input.text, input.title, textarea, select {
	background-color: #FAFAFA;
	border: 1px solid #D8D8D8;
	padding: 10px;
	color: #000000;
	border-radius: 3px;
}

input[type="submit"] {
	cursor: pointer;
	color: #fff !important;
	border: none;
	background: var(--clr-blue-contrast);
	transition: all 0.3s ease 0s;
	font-size: 25px;
	font-weight: 500;
	padding: 0.3em 1em;
	line-height: 1.7em !important;
	text-transform: uppercase;
}

input[type="submit"]:hover { background-color: var(--clr-blue-contrast); }
.btn { color: #fff !important; background: var(--clr-blue-contrast) !important; }
.btn:hover { color: #fff !important; background: var(--clr-blue-contrast) !important; }
.ninja-forms-form-wrap label { font-weight: normal !important; }



/*----------------FOOTER-----------------*/
footer#main-footer { background: var(--clr-blue-black); }

#footer-info { display: none; }



/*-----------------  MENU ------------*/
.sub-menu li a {
font-size: 13px !important;
letter-spacing: 0px !important;
padding: 0 !important;
padding-right: 0 !important;
}

#top-menu li .menu-item-has-children &gt; a:first-child:after {
right: 0px !important;
top: 0px !important;
}

ul.submenu {
width: 260px !important;
}

.nav li ul {
z-index: 9999;
width: 260px;
}

#top-menu li li a {
padding: 6px 20px;
width: 220px;
}

.nav li li ul {
top: -13px;
left: 260px;      /* -260px avaa valikot vasemmalle */
}

.nav li ul {
padding: 10px 0;
}

/*------------------------- WIDGETIT ----------------------------*/

.widgettitle {
word-break: keep-all;
font-size: 18px;
}

@media (min-width: 1240px) {
.widgettitle {
font-size: 24px;
}
}

.et_pb_widget a {
color: var(--clr-blue-contrast) !important;
font-weight: 500;
text-decoration: none;
}

/*--------NOSTOT---------*/

.nosto {
border: 1px solid transparent;
padding: 10px;
margin-top: 0px;
margin-bottom: 0px;
transition: all 0.3s ease 0s;
}

.nosto:hover {
border-color: #555;
margin-top: -30px;
margin-bottom: 30px;
}

.nosto a {
color: #fff;
}



/*-------------- HR----------------*/
hr {border: none; height: 3px; background: var(--clr-blue-light); }
hr.small {width: 50px;}
hr.left {margin-left: 0;}





/*-------------- ETUSIVUN LAYOUT ----------------*/
.etukivi .et_pb_column_3_4 { margin-bottom: 0px !important; }
.etukivi .et_pb_column_1_4 .et_pb_button { margin-bottom: 40px; background: #fff !important; }

@media (min-width: 981px) {
	.etukivi .et_pb_column_1_4 .et_pb_button { margin-bottom: 0px; }
	.etukivi .et_pb_column_3_4 { padding-top: 0px; margin-right: 0 !important; }
	.etukivi .et_pb_column_1_4 { padding-top: 0px; background: var(--clr-blue-contrast); width: 26.375%; }
}

@media (min-width: 1460px) {
	.etukivi .et_pb_column_3_4 { padding-top: 0px; }
	.etukivi .et_pb_column_1_4 { padding-top: 0px; }
}



/*-----------VESILEIMA BG------------*/

.vesileima {
background: rgba(255, 255, 255, 0.9);
background-blend-mode: overlay;
background-size: cover;
background-position-y: center;
}



/*----------- FONT AWESOME-------------*/
.fa-lg {
vertical-align: -14%;
color: var(--clr-blue-light);
margin-right: 10px;
}

.kysymykset strong {
color: var(--clr-blue-contrast);
}



/*------------ TABLES -----------*/
table th {
text-transform: uppercase;
color: #fff !important;
background: var(--clr-blue-contrast);
border: 1px solid var(--clr-blue-contrast);
}

table#2019 th {

background: #999999!important;
border: 1px solid #999!important;
}


table {
border: 1px solid #CCC !important;
margin: 15px 0px 35px 0 !important;
}

table td {
border-top: 1px solid #CCC !important;
	padding:3px;
}

table tr td:first-of-type {
max-width: 150px !important;
background: #eee;
}

@media (max-width: 767px) {

.entry-content tr td {
	padding:6px 6px!important;
	font-size:0.9em;
	line-height:1.2em;
	max-width:120px;
}
	
	.entry-content tr th {
	padding:6px 6px!important;
}
	
	table tr td:first-of-type {
max-width: 130px !important;
background: #eee;
}
	
	
	
}