/*
Theme Name:     Divi
Theme URI:      http://www.doweb.fi/
Description:    Child theme for the Divi theme
Author:         Doweb Oy
Author URI:     http://www.doweb.fi
Template:       Divi                             
Version:        4
*/

@import url("../Divi/style.css");
@import url("https://www.jarvenpaatalo.fi/public/bebas-neue/style.css"); 

/* päivitykset */

.gform_wrapper .description, .gform_wrapper .gfield_description, .gform_wrapper .gsection_description, .gform_wrapper .instruction {
	font-size: 1em !important;
}

a.fazer  {
	color: #2ea3f2;	
	font-size: 16px;
	display: block;
	padding-left: 20px !important;
	padding-top: 10px !important;

}
.timely .ai1ec-btn-xs {
    padding: 1px 5px;
    font-size: 20px;
    line-height: 1.5;
    border-radius: 3px;
}

body {
	font-size: 12px;
}

#left-area {
	width: 76% !important;
}

#sidebar {
	width: 20% !important;
}

#main-content .container {
    padding: 58px 10px 10px 10px !important;
	background-color: #ffffff;
}

h1, h2, h3, h4 {
	font-family: 'Bebas Neue' !important;
	text-transform: uppercase;
} 

h1 {
    font-size: 60px;
    padding-bottom: 0px;
}

#left-area h1 {
	color: #0096da;
} 

h2 {
	font-size: 36px; padding-bottom: 0px;
} 
#kakkossivu h2 {
	padding-bottom: 10px; color: #0096da !important;
} 

h3 {
	font-size: 24px; padding-bottom: 0px;
} 

h4 {
	font-size: 24px !important;
} 
#etukaruselli .et_pb_slide_title {
	line-height: 1.1em !important;
}
/* tausta sliderin tekstille */
.et_pb_slide_description h2 {
    background: rgba(0, 0, 0, 0.55) none repeat scroll 0% 0%;
    color: inherit;
    padding: 27px 26px 26px !important;
/*    border-radius: 10px; */
}
.et_pb_slide_content {
    background: rgba(0, 0, 0, 0.55) none repeat scroll 0% 0%;
    color: inherit;
    padding: 0px 32px 40px !important;
}
/* tausta sliderin tekstille - end */
/* tausta sliderin nappulalle */
#etusivu .et_pb_button {
    background: rgba(0, 0, 0, 0.55) none repeat scroll 0% 0%;
    color: inherit;
}
/* tausta sliderin nappulalle - end */

/* laidoilla olevat taustat */
#et-main-area, #main-content {
	background-color: none !important;
	background: transparent;
 	background-image: url(images/tausta-vasen.png), url(images/tausta-oikea.png) !important;
 	background-position: left top, right top !important;
	background-repeat: no-repeat !important;
}

#main-header, #main-header .nav li ul, .et-search-form {
	background-color: none !important;
	background: transparent;
}
/* laidoilla olevat taustat - end */

/* logon tausta */
#main-header {
	background-color: none !important;
	background: transparent;
 	background-image:  url(images/tausta-yla.png) !important;
 	background-position: right top !important;
	background-repeat: repeat-x !important;
	height: 180px;
    	box-shadow: none !important;
	padding: 0px !important;
	top: 0 !important;
}
#main-header .container {
	height: 180px;
}
/* logon tausta - end */

#et-top-navigation {
    transition: none;
    font-weight: 300;
}
.et_header_style_centered #logo, .et_header_style_centered #et-top-navigation, .et_header_style_centered nav#top-menu-nav, .et_header_style_centered #top-menu {
    float: left !important;
}
/* logopalkin tausta - end */
/* ylavalikko */
#main-header nav#top-menu-nav {
	padding-top: 12px;
	font-family: 'Bebas Neue', Arial !important;
	text-transform: uppercase;
}

#top-menu li > a, .fullwidth-menu li > a {
	padding: 12px 8px 9px 8px !important;
    	color: #ffffff;
	font-size: 28px;
}

#top-menu li > a:hover, .fullwidth-menu li > a:hover {
    	color: #0096da;
}
#top-menu li.current-menu-ancestor > a, #top-menu li.current-menu-item > a, .bottom-nav li.current-menu-item > a {
    	color: #2ea3f2;
	background: url('images/valikko-viiva.gif') no-repeat 0 5px;
	padding-left: 12px !important;
}
/* ylavalikko - end */

/* tiivistystä */
.et_pb_section { padding: 20px 0 !important;}
#alavalikkorivi.et_pb_section { padding: 0px !important; }
.et_pb_text { margin-bottom: 0px !important; }
/*#ylarivi .et_pb_row, #osoitepalkki .et_pb_row, #alavalikkorivi .et_pb_row  { padding: 0px; }*/
#ylarivi .et_pb_row, #osoitepalkki .et_pb_row { padding: 0px; }
#ylarivi { font-size: 11px; }
#ylarivi.et_pb_section { padding-bottom: 0px !important; }
#ylarivi .et_pb_column #avoinna { margin-right: 30px; padding: 5px 0 0 5px; }
#ylarivi.entry-content ul { padding: 0px  !important; }
#sisalto.et_pb_section { padding-top: 0px !important; }
#sisalto .et_pb_row  { padding: 0px; }
.et_pb_column { padding: 5px 0 0 5px !important; margin-right: 40px; }
/* tiivistystä - end */
/* kuvien vaihto (tutustu, fb...) */

#navlist ul
 {
    	padding: 0 20px 0px 0px !important;
 }
#navlist li
 {
 	display: inline !important;
 	list-style-type: none;
	padding-right: 20px !important
 }

.myButtonLink1 {
	display: inline-block;
	width: 199px;
	height: 43px;
	background: url('images/btn-tutustu-tupla.png') bottom;
	text-indent: -99999px;
}
.myButtonLink1:hover {
	background-position: 0 0;
}
.myButtonLink2 {
	display: inline-block;
	width: 28px;
	height: 43px;
	background: url('images/btn-facebook-tupla.png') bottom;
	text-indent: -99999px;
}
.myButtonLink2:hover {
	background-position: 0 0;
}
.myButtonLink3 {
	display: inline-block;
	width: 60px;
	height: 43px;
	background: url('images/btn-youtube-tupla.png') bottom;
	text-indent: -99999px;
}
.myButtonLink3:hover {
	background-position: 0 0;
}
.myButtonLink4 {
	display: inline-block;
	width: 80px;
	height: 43px;
	background: url('images/btn-suomen-kulttuuritalot-tupla.png') bottom;
	text-indent: -99999px;
}
.myButtonLink4:hover {
	background-position: 0 0;
}
/* kuvien vaihto end */
/* murupolku */
#murupolku {
	font-family: 'Bebas Neue' !important;
	text-transform: uppercase;
}
#murupolku a {
	font-size: 20px;
    	font-weight: normal !important;
	background-color: #000000;
	padding: 4px 10px 2px 10px;
    	color: #ffffff;
}
#murupolku a.selected {
	background-color: #0096da;
}
#murupolku span.merkki  {
	display: inline-block;
	width: 30px;
	height: 28px;
	background: url('images/nuolet.png') center 1px no-repeat;
	text-indent: -99999px;
}
/* murupolku -end */
/* alaosan rivi, jossa lomake/valikko  */
/* kohdistus yläreunaan*/
.et_pb_widget {
    float: none !important;
    max-width: 100%;
}
#alavalikko {
	width: 100%;
	background-color: #0096da !important;
}
#alavalikko li {
    	padding: 0;
	vertical-align: top;
}

.et_pb_widget_area_left {
    border-right: 0px solid rgba(0, 0, 0, 0.1);
    padding-right: 0px;
}
a.paataso-etusivu  {	
	font-size: 14px !important;
	font-weight: bold !important;
	color: #363636 !important;	
}
.et_pb_widget ul li ul li {
    margin-left: 0px;
}
#menu-alavalikko ul, #menu-alavalikko2 ul {	
	width: 190px;
}
ul#menu-alavalikko li.paataso, ul#menu-alavalikko2 li.paataso   {	
	display: inline !important;
	padding-right: 10px;
	font-size: 14px;
	font-weight: bold;
	color: #363636;	
}
#menu-alavalikko li.paataso a, #menu-alavalikko2 li.paataso a {
	display: block;
}
#menu-alavalikko li.kakkostaso, #menu-alavalikko2 li.kakkostaso  {	
	font-weight: normal;
}

#menu-alavalikko li.kolmostaso, #menu-alavalikko2 li.kolmostaso  {	
	font-size: 12px;
	line-height: 14px;
	margin-left: 10px;
	color: #ffffff;	
	font-weight: normal;
}
#menu-alavalikko a:hover, #menu-alavalikko2 a:hover {
    color: #363636 !important;
}
/* valikko - end */
/* jakaja */
#jakaja .et_pb_row {
    padding: 0px 0px 10px 0px !important;
}
/* jakaja - end  */
/* yhteydenottolomake Lähetä nappula */
.gform_button { 
	font-size: 20px !important;
	color: #fff;
	background-color: #0096da;
	font-family: 'Bebas Neue' !important;
	text-transform: uppercase;
    	padding: 2px 20px !important;
    border: 0px none !important;
}
.gform_wrapper .gfield_checkbox li label, .gform_wrapper .gfield_radio li label {
	font-size: 12px !important;
}

/* tapahtumat/kokous blurbit linjaan (2.palstan ylin)*/
#asettelu { 
	margin-top: 60px;
}

.et_pb_blurb_position_left .et_pb_blurb_container {
    padding-top: 15px;
}

.et_pb_gutters3 .et_pb_column_1_4 .et_pb_module {
    margin-bottom: 5% !important;
}
/* end */

#kokous-otsikko h2 {
	height: 50px;	
}
.et_pb_column_1_4 h2 {
    font-size: 36px;
    white-space: nowrap;
}

.et_pb_blurb h4 a {
    font-size: 24px !important;
    white-space: nowrap;
}

/* tapahtumakalenteri */

#tapahtumat .ai1ec-calendar-toolbar {
    background-color: #FFF;
    border: 0px solid #DBDBDB;
    border-radius: 6px;
    margin-bottom: 0px;
    padding: 0px 8px;
}

/* Osta lippu nappula */
/* kuvake osta lippu nappulan edessä
#tapahtumat .ai1ec-fa-ticket::before {
    content: "" !important;
}*/
.ai1ec-tickets { /* span.ai1ec-hidden-xs */
	font-family: 'Bebas Neue' !important;
	text-transform: uppercase;
 	background-image: url(images/btn-tahti.png) !important;
	background-repeat: no-repeat !important;
 	background-position: right center !important;
	font-size: 22px !important;
} 

a.ai1ec-tickets {
	padding-right: 20px !important;

}
.ai1ec-btn-group-vertical > .ai1ec-btn:first-child:not(:last-child) {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 10px !important;
    border-bottom-left-radius: 0px !important;
		width: 165px !important;
}
.ai1ec-row {
	margin-left: 5px !important;
	margin-right: 5px !important;
}
/* yhden tapahtuman ominaisuudet listauksessa */
#tapahtumat .ai1ec-event-title {
	font-family: 'Bebas Neue' !important;
	text-transform: uppercase;
    line-height: 36px !important;
    font-weight: 400 !important;
    font-size: 36px !important;
    margin-bottom: 4px;
   max-height: 160px !important;
    overflow: hidden;
}

#tapahtumat .ai1ec-event-title a.ai1ec-load-event  {
    font-weight: normal !important;
}

#tapahtumat .ai1ec-event-time {
	font-family: 'Bebas Neue' !important;
	text-transform: uppercase;
    font-size: 20px !important;
	color: #000000 !important;
}
#tapahtumat .ai1ec-stream-view .ai1ec-event {
    background-color: #ffffff;
    border: 0px solid #000;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 10px;
    height: auto !important;
    overflow: hidden;
    opacity: 0.99 !important;
    position: relative;
}
#tapahtumat .ai1ec-event-inner {
    margin: 5px 12px 5px 340px !important;
    height: 190px !important;
    overflow: hidden;
}
#tapahtumat .ai1ec-event-description {
    max-height: 200px !important;
    overflow: hidden;
}

/* tapahtuman kuva */

#tapahtumat .ai1ec-stream-view .ai1ec-event-avatar {
    border-radius: 4px 0px 0px 4px;
    bottom: 0px;
    box-shadow: none;
    left: 0px;
    overflow: hidden;
    position: absolute;
    top: 0px;
    width: 30% !important;
	max-width: 300px !important;
}
/*
.timely img, #ai1ec-container img {
    width: 300px !important;
    height: 190px !important;
}
*/
/* tapahtumakalenteri - end */

/* lomake */
.gform_wrapper .gsection .gfield_label, .gform_wrapper h2.gsection_title, .gform_wrapper h3.gform_title {
	font-size: 24px !important;
	font-weight: 400 !important;
}

.gform_wrapper .top_label li.gfield.gf_inline div.gfield_time_hour, .gform_wrapper .top_label li.gfield.gf_inline div.gfield_time_minute {
    width: 90px !important;
		font-size: 12px !important;
}
/* lomake - end */

@media only screen and ( min-width: 1350px) {
			.et_pb_row { padding: 27px 0; }
			.et_pb_section { padding: 20px 0 !important;}
			.single.et_pb_pagebuilder_layout.et_full_width_page .et_post_meta_wrapper { padding-top: 81px; }
			.et_pb_section.et_pb_section_first { padding-top: inherit; }
			.et_pb_fullwidth_section { padding: 0; }

/* logopalkin tausta */

#main-header .container {
 	background-image:  url(images/tausta-logo.png), url(images/tausta-aalto.png) !important;
 	background-position: right bottom, center bottom !important;
	background-repeat: no-repeat !important;
}
.et_header_style_centered #logo {
    	max-height: 133px !important;
	padding: 15px 0px 0px 0px !important;
    	margin: 0px 0px 0px 0px;
	vertical-align: top !important;
}

		}
/*-------------------[1080px]------------------*/
@media only screen and ( min-width: 1201px ) and ( max-width: 1350px) {
/** tapahtumakalenteri **/
/* yhden tapahtuman ominaisuudet listauksessa */
#tapahtumat .ai1ec-event-inner {
    margin: 5px 12px 5px 330px !important;
    height: 100% !important;
    overflow: hidden;
}

/* logon tausta */
#main-header {
 	background-position: right bottom !important;
	height: 165px; 
}
#main-header .container {
	height: 165px;
}
/* logon tausta - end */
/* logopalkin tausta */

#main-header .container {
 	background-image: url(images/tausta-aalto.png) !important;
 	background-position: left bottom !important;
	background-repeat: no-repeat !important;
}

.et_header_style_centered #logo {
	padding: 0px 0px 0px 0px !important;
    	margin: 30px 0px 25px 0px; 
/*    	height: 70px !important;*/
/*	vertical-align: bottom !important; */
}
}
/*-------------------------------------*/
@media only screen and ( min-width: 1101px ) and ( max-width: 1200px) {
/** tapahtumakalenteri **/
/* yhden tapahtuman ominaisuudet listauksessa */
#tapahtumat .ai1ec-event-inner {
    margin: 5px 12px 5px 330px !important;
    height: 100% !important;
    overflow: hidden;
}

/* logon tausta */
#main-header {
 	background-position: right bottom !important;
	height: 165px; 
}
#main-header .container {
	height: 165px;
}
/* logon tausta - end */
/* logopalkin tausta */

#main-header .container {
 	background-image: url(images/tausta-aalto.png) !important;
 	background-position: left bottom !important;
	background-repeat: no-repeat !important;
}

.et_header_style_centered #logo {
	padding: 0px 0px 0px 0px !important;
    	margin: 30px 0px 25px 0px; 
/*    	height: 70px !important;*/
/*	vertical-align: bottom !important; */
}
}

/*-------------------[960px]------------------*/
@media only screen and ( min-width: 981px ) and ( max-width: 1100px ) {
/*	.et_pb_row, .container, .et_pb_container { width: 960px; }*/
/** tapahtumakalenteri **/
/* yhden tapahtuman ominaisuudet listauksessa */
#tapahtumat .ai1ec-event-inner {
    margin: 5px 12px 5px 280px !important;
    height: 100% !important;
    overflow: hidden;
}

/* logon tausta */
#main-header {
 	background-position: right bottom !important;
	height: 165px; 
}
#main-header .container {
	height: 165px;
}
/* logon tausta - end */
/* logopalkin tausta */

#main-header .container {
 	background-image: url(images/tausta-aalto.png) !important;
 	background-position: left bottom !important;
	background-repeat: no-repeat !important;
}

.et_header_style_centered #logo {
	padding: 0px 0px 0px 0px !important;
    	margin: 30px 0px 25px 0px; 
/*    	height: 70px !important;*/
/*	vertical-align: bottom !important; */
}

}

/*-------------------[768px]------------------*/
@media only screen and ( max-width: 980px ) {
/** tapahtumakalenteri **/
/* yhden tapahtuman ominaisuudet listauksessa */
#tapahtumat .ai1ec-event-inner {
    margin: 5px 12px 5px 240px !important;
    height: 100% !important;
    overflow: hidden;
}

#left-area h1 {
    line-height: 40px !important;
    font-size: 40px !important;
} 

/* logon tausta */
#main-header {
 	background-position: right bottom !important;
	height: 165px; 
}
#main-header .container {
	height: 165px;
}
/* logon tausta - end */
/* logopalkin tausta */

#main-header .container {
 	background-image: url(images/tausta-aalto.png) !important;
 	background-position: left bottom !important;
	background-repeat: no-repeat !important;
}

.et_header_style_centered #logo {
	padding: 0px 0px 0px 0px !important;
    	margin: 30px 0px 15px 0px; 
/*    	height: 70px !important;*/
/*	vertical-align: bottom !important; */
}

}

/*-------------------[480px]------------------*/
@media only screen and ( max-width: 767px ) {
/** tapahtumakalenteri **/
/* yhden tapahtuman ominaisuudet listauksessa */
#tapahtumat .ai1ec-event-inner {
    margin: 5px 12px 5px 180px !important;
    height: 100% !important;
    overflow: hidden;
}
#tapahtumat .ai1ec-event-title {
    line-height: 30px !important;
    font-size: 30px !important;
    max-height: 90px !important;
}

#left-area h1 {
    line-height: 30px !important;
    font-size: 30px !important;
} 

h1 {
    line-height: 40px !important;
    font-size: 40px !important;
} 

#tapahtumat .ai1ec-event-title a.ai1ec-load-event  {
    font-weight: normal !important;
}

#tapahtumat .ai1ec-event-time {
    font-size: 20px !important;
	color: #000000 !important;
}
.ai1ec-btn-group-vertical > .ai1ec-btn:first-child:not(:last-child) {
		width: 65px !important;
}
#sisalto .et_pb_row, #ylarivi .et_pb_row  { 
	padding: 0px; 
	background-color: #fff !important;
}

/* logon tausta */
#main-header {
 	background-position: right bottom !important;
	height: 165px; 
}
#main-header .container {
	height: 165px;
}
/* logon tausta - end */
/* logopalkin tausta */

#main-header .container {
 	background-image: url(images/tausta-aalto.png) !important;
 	background-position: left bottom !important;
	background-repeat: no-repeat !important;
}

.et_header_style_centered #logo {
	padding: 0px 0px 0px 0px !important;
    	margin: 30px 0px 15px 0px; 
/*    	height: 70px !important;*/
/*	vertical-align: bottom !important; */
}
}
@media only screen and ( max-width: 650px ) {	
/** tapahtumakalenteri **/
/* yhden tapahtuman ominaisuudet listauksessa */
.ai1ec-event-inner {
    margin: 5px 12px 5px 150px !important;
    height: 100% !important;
    overflow: hidden;
}

/* logon tausta */
#main-header {
 	background-position: right bottom !important;
	height: 160px; 
}
#main-header .container {
	height: 160px;
}
/* logon tausta - end */
/* logopalkin tausta */
/*
#main-header .container {
 	background-image: url(images/tausta-aalto.png) !important;
 	background-position: left bottom !important;
	background-repeat: no-repeat !important;
}
*/
.et_header_style_centered #logo {
	padding: 0px 0px 0px 0px !important;
    	margin: 25px 0px 10px 0px; 
/*    	height: 70px !important;*/
/*	vertical-align: bottom !important; */
}



}
/*-------------------[320px]------------------*/
@media only screen and ( max-width: 479px ) {	
/** tapahtumakalenteri **/
/* yhden tapahtuman ominaisuudet listauksessa */
#tapahtumat .ai1ec-event-inner {
    margin: 5px 12px 5px 120px !important;
    height: 100% !important;
    overflow: hidden;
}
/* tapahtumat/kokous blurbit linjaan (2.palstan ylin)*/
#asettelu { 
	margin-top: 0px !important;
}
/* logon tausta */
#main-header {
 	background-position: right bottom !important;
	height: 150px; 
}
#main-header .container {
	height: 150px;
}
/* logon tausta - end */
/* logopalkin tausta */
/*
#main-header .container {
 	background-image: url(images/tausta-aalto.png) !important;
 	background-position: left bottom !important;
	background-repeat: no-repeat !important;
}
*/
.et_header_style_centered #logo {
	padding: 0px 0px 0px 0px !important;
    	margin: 30px 0px 10px 0px; 
/*    	height: 70px !important;*/
/*	vertical-align: bottom !important; */
}

}
/*copyright vaihda omaksi*/

#main-footer {
    background-color: #ccc;
	display: none;
}

#footer-bottom {
    padding: 0px;
}

p#footer-info-dw {float: right; }
p#footer-info-dw a {float: right; font-family: Arial; font-size:11px; font-weight: light; color: #cccccc; text-decoration:none; padding: 5px 20px; }
