h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
	text-transform: uppercase;
}

.page-header h1 {
	display: none;
}

h2 {
	font-size: 28px;
}

.page-header h2, .jev_evdt_desc h2, .mid_header {
	letter-spacing: 1px;
	margin-top: 0;
	margin-bottom: 20px;
	text-decoration: none;
	background-image: url("../images/brush_stroke_s.png");
	background-size: 265px 10px;
	background-position: 2px 43px;
	background-repeat: no-repeat;
	white-space: nowrap;
	padding-bottom: 20px;
	-webkit-filter: drop-shadow(0px 6px 3px #ddd);
	filter: drop-shadow(0px 6px 3px #ddd);
}

.jev_evdt_desc h2:after {
	margin: 200px !important;
}

h2::first-letter {
	font-size: 125%;
	letter-spacing: 2px;
}

.right_tab h3, .moduletable_uutiskirje h3 {
	letter-spacing: 1px;
	margin-top: 20px;
	margin-bottom: 10px;
	text-decoration: none;
	background-image: url("../images/brush_stroke_s.png");
	background-size: 120px 8px;
	background-position: 2px 38px;
	background-repeat: no-repeat;
	white-space: nowrap;
	padding-bottom: 10px;
	-webkit-filter: drop-shadow(0px 6px 3px #ddd);
	filter: drop-shadow(0px 6px 3px #ddd);
}

.right_tab h3::first-letter, .moduletable_uutiskirje h3::first-letter {
	font-size: 125%;
	letter-spacing: 2px;
}

.content h3 {
	padding: 0;
	margin: 0;
}


/* h3 -muotoilut */

.moduletable h3, .moduletable_uutiskirje h3 {
	font-size: 18px;
	-webkit-filter: drop-shadow(0px 6px 3px #ddd);
	filter: drop-shadow(0px 6px 3px #ddd);
}

.moduletable h3::first-letter, .moduletable_uutiskirje h3::first-letter {	
	font-size: 125%;
	letter-spacing: 2px;
}

.h3_list {
	position: relative;
	top: 20px;
	font-size: 18px;
	letter-spacing: 1px;
	-webkit-filter: drop-shadow(0px 6px 3px #ddd);
	filter: drop-shadow(0px 6px 3px #ddd);
}

.h3_list::first-letter {
	font-size: 125%;
	letter-spacing: 2px;
}

@media only screen and (max-width: 800px) {
	.right_tab h3, .moduletable_uutiskirje h3 {background-position: center 35px; margin-top: 50px;}
}

@media only screen and (max-width: 700px) {
	.page-header h2, .jev_evdt_desc h2 {font-size: 4.5vw !important; line-height: 22px; background-position: 2px 30px; background-size: 200px 8px; display: block; width: 100%; white-space: initial;}
    h3 {font-size: 16px;}
    h4 {font-size: 14px;}
    h5 {font-size: 12px;}
    p {font-size: 15px !important; line-height: 22px !important; padding: 0 10px !important; text-align: left !important;}
  	.author_box p {font-size: 13px !important; line-height: 15px !important; letter-spacing: 1px !important;}
 	.author_container {transform: scale(0.85); margin-top: -15px; margin-bottom: 5px;}
	.author_container:hover {transform: scale(0.95);}
}



/* info boxes */

.content_info_box {
	padding: 10px 20px;
	margin: 30px 5%;
	border-radius: 20px;
	background-color: rgba(255,255,255,1);
	-webkit-filter: drop-shadow(0px 6px 3px #ddd);
	filter: drop-shadow(0px 6px 3px #ddd);
}

@media only screen and (min-width: 1200px) {
    .content_info_box {margin: 30px 10%;}
}

@media only screen and (min-width: 1600px) {
    .content_info_box {margin: 30px 15%;}
}

@media only screen and (max-width: 600px) {
    .content_info_box {margin: 5px; padding: 12px;}
}

.content_list p {
	text-align: left !important;
}

.content_info_box h3 {
	font-size: 16px;
	padding-bottom: 0;
	letter-spacing: 2px;
	box-shadow: 0 8px 6px -6px rgba(0,0,0,0.1);
}

.content_info_box h4 {
	font-size: 16px;
	padding: 0 0 2px 5px;
	margin: 25px 0;
	text-indent: 3px;
	letter-spacing: 1px;
	box-shadow: 0 8px 6px -6px rgba(0,0,0,0.1);
}

.frame_box {
    display: inline-block;
	font-style: italic;
	border: 3px double #ccc !important;
	border-radius: 15px !important;
	padding: 25px !important;
    width: 80%;
	margin: 30px auto 10px 8% !important;
	-webkit-filter: drop-shadow(0px 6px 3px rgba(0,0,0,0.1));
	filter: drop-shadow(0px 6px 3px rgba(0,0,0,0.1));
}

@media only screen and (max-width: 600px) {
    .frame_box {margin-left: 3% !important;}
}



.alaotsikko {
    width: 60%;
    letter-spacing: 2px;
    font-size: 15px;
    text-align: justify;
    margin: 7px 10px 17px 20px;
    padding: 0 0 3px 0;
}

@media only screen and (max-width: 600px) {
    .alaotsikko {width: 96%;}
}

.item-page a, .jev_evdt a, .mod_events_latest_table a, .mod_events_latest a, .blog a, .custom_ala_footer a, .result-title a {
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.item-page a:link, .jev_evdt a:link, .mod_events_latest_table a:link, .mod_events_latest a:link, .blog a:link, .custom_ala_footer a:link, .result-title a:link {
    text-decoration: none;
    color: rgba(10,55,90,1);
    box-shadow: inset 0 -3px 0 rgba(7,123,177,0.1);
}

.item-page a:visited, .jev_evdt a:visited, .mod_events_latest_table a:visited, .mod_events_latest a:visited, .blog a:visited, .custom_ala_footer a:visited, .result-title a:visited {
    color: rgba(10,55,90,1);
}

.item-page a:hover, .jev_evdt a:hover, .mod_events_latest_table a:hover, .mod_events_latest a:hover, .blog a:hover, .custom_ala_footer a:hover, .result-title a:hover {
    color: rgba(7,63,113,1);
    box-shadow: none;
    box-shadow: inset 0 -3px 0 #c0e6f7;
	text-shadow: 0px 0px 6px rgba(7,123,177,0.7);
}

p {
    font-family: 'Average Sans', sans-serif;
	font-size: 15px;
	line-height: 22px;
	vertical-align: text-top;
	text-align: justify;
}

p::before {
    clear: both;
}


/* sisallossa oleva perus-bullet point -listaus */

ul.content_list {
	margin: 20px 0 20px 8%;
	max-width: 600px;
	list-style-type: none;
	list-style-position: outside;
}

ul.content_list li {
	margin: 10px 0 0 0;
}


ul.content_list li:before {
	margin: 0px 12px 0px -35px;
	font-size: 22px;
	font-weight: normal;
	font-style: italic;
    vertical-align: sub;
	color: rgba(135, 189, 228, 1);
	content:'\2713';
}

.content_list_comment {
	display: block;
	margin: 0 0 0 -2px;
	padding: 0;
	font-style: italic;
}

@media only screen and (max-width: 600px) {
	ul.content_list {margin: 20px 0 20px 50px;}
}

@media only screen and (min-width: 1400px) {
	ul.content_list {margin: 30px 0 30px 6%;}
}


/* chapter divider */

hr {
	background-image: url("../images/divider_wave.png");
	background-repeat: no-repeat;
	width: 40%;
	background-size: 350px;
	opacity: 0.7;
	filter: alpha(opacity=70);
	background-position: center; 
	max-width: 500px;
	display: block;
	height: 50px;
	margin: 15px auto 35px auto;
	border: none;
	-webkit-filter: drop-shadow(0px 6px 3px #808080);
	filter: drop-shadow(0px 6px 3px #808080);
	clear: both;
}

@media only screen and (max-width: 600px) {
    hr {width: 60%;}
}


/* Drop Cap */

.dropcap {
	float: left;
	position: relative;
	top: 0;
	font-family: 'Conv_fancy-card-text.regular',Sans-Serif;
	color: #202020;
	font-size: 90px;
	line-height: 60px;
	padding-top: 5px;
	padding-right: 5px;
	padding-left: 0px;
	padding-bottom: 10px;
	text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3)
}

.breadcrumb a:link {
	color: #606060;
}

/* visited link */
.breadcrumb a:visited {
	color: #606060;
}

/* mouse over link */
.breadcrumb a:hover {
	color: #606060;
}

/* selected link */
.breadcrumb a:active {
	color: #606060;
}


/* Sitaatti, blockquote */

blockquote {
	font-family: 'Caveat', cursive;
	text-align: left;
	display: block;
	padding: 0px 20px 0px 100px;
	margin: 25px auto 45px auto;
	border: none;
	position: relative;
	
	/*Font*/
	font-size: 28px;
	line-height: 1.2;
	color: rgba(0,0,0,0.5);
	letter-spacing: 1px;
}

.course_quote blockquote p {
	text-align: left;
	font-family: 'Caveat', cursive;
	font-size: 28px;
}

blockquote::before{
	content: '"'; /*Unicode for Left Double Quote*/
    content: open-quote;
	
	/*Font*/
	font-family: Perpetua, Baskerville, "Big Caslon", "Palatino Linotype", Palatino, "URW Palladio L", "Nimbus Roman No9 L", serif;
	font-size: 72px;
	font-weight: normal;
	font-style: italic;
  	padding-right: 15px;

	color: rgba(0,0,0,0.14);
	-webkit-filter: drop-shadow(0px 6px 3px #ddd);
	filter: drop-shadow(0px 6px 3px #ddd);
	
	/*Positioning*/
	position: absolute;
	left: 48px;
	top: -12px;
}


.course_quote blockquote::before {
	left: 10px;
	top: -18px;
}



blockquote cite {
	display: block;
	font-family: 'Cormorant Garamond', serif;
	font-size: 12px;
	margin: 0;
	vertical-align: 60%;
	padding: 12px 0 0 0;
	letter-spacing: 1px;
	color: rgba(0,0,0,0.6)
}

blockquote cite:before {
	content: "\2013\00A0";
}

.course_quote blockquote cite {
	padding: 0;
}

@media only screen and (max-width: 600px) {
	blockquote {width: 85%; padding-left: 40px; font-size: 20px !important;}
	blockquote cite {font-size: 10px; text-align: left;}
	blockquote::before {font-size: 56px; top: -10px; left: 5px; padding-right: 25px;}
	.course_quote blockquote p {font-size: 20px !important;}
	.course_quote blockquote::before {font-size: 80px; top: -20px; left: -18px;}
}

blockquote.blog_quote, blockquote.blog_quote_center {
  	padding-bottom: 30px;
  	margin-bottom: 0px;
}

@media only screen and (min-width: 1600px) {
	blockquote.blog_quote {max-width: 30%; float: right;}
  	blockquote.blog_quote_center {padding-right: 23%; margin-left: 17%;}
}


/* Content images */

.kuva_kesk, .tag-category-blogstyle img {
	width: 100%;
	margin: 0px auto 20px auto;
	border: 1px solid #bbb;
	background: url("../images/bg_4.png");
	border-radius: 1px;
	padding: 5px;
	-webkit-filter: drop-shadow(0px 6px 3px #bbb);
	filter: drop-shadow(0px 6px 3px #bbb);
	clear: both;
}

.kuva_kesk_v {
	width: 40%;
	margin: 0px auto 20px auto;
	border: 1px solid #bbb;
	background: url("../images/bg_4.png");
	border-radius: 1px;
	padding: 5px;
	-webkit-filter: drop-shadow(0px 6px 3px #bbb);
	filter: drop-shadow(0px 6px 3px #bbb);
	clear: both;
}

.kuva_oik {
	width: 33%;
	max-width: 1000px;
	min-width: 350px;
	float: right;
	margin: 0 0 20px 25px;
	border: 1px solid #bbb;
	background: url("../images/bg_4.png");
	border-radius: 1px;
	padding: 5px;
	-webkit-filter: drop-shadow(0px 6px 3px #bbb);
	filter: drop-shadow(0px 6px 3px #bbb);
}

.kuva_vas {
	width: 33%;
	max-width: 1000px;
	min-width: 350px;
	float: left;
	margin: 0 25px 20px 0;
	border: 1px solid #bbb;
	background: url("../images/bg_4.png");
	border-radius: 1px;
	padding: 5px;
	-webkit-filter: drop-shadow(0px 6px 3px #bbb);
	filter: drop-shadow(0px 6px 3px #bbb);
}

@media only screen and (min-width: 1400px) {
	.kuva_oik,.kuva_vas {width: 50%;}
	.kuva_oik_pysty,.kuva_vas_pysty {width: 33%;}	
}

.kuva_vas_pysty {
	float: left;
	width: 25%;
	margin: 0 25px 20px 0;
	border: 1px solid #bbb;
	background: url("../images/bg_4.png");
	border-radius: 1px;
	padding: 5px;
	-webkit-filter: drop-shadow(0px 6px 3px #bbb);
	filter: drop-shadow(0px 6px 3px #bbb);
}

.kuva_oik_pysty {
	float: right;
	width: 25%;
	margin: 0 0 20px 25px;
	border: 1px solid #bbb;
	background: url("../images/bg_4.png");
	border-radius: 1px;
	padding: 5px;
	-webkit-filter: drop-shadow(0px 6px 3px #bbb);
	filter: drop-shadow(0px 6px 3px #bbb);
}

@media only screen and (max-width: 979px) {
	.kuva_top {display: none;}
    .kuva_oik, .kuva_vas {width: 75%; float: none; display: block; margin: 20px auto;}
    .kuva_oik_pysty, .kuva_vas_pysty {width: 40%;}
	.kuva_kesk_v {width: 70%;}
}

@media only screen and (max-width: 600px) {
    .kuva_oik_pysty {width: 96%; margin: 15px auto; min-width: 50px; clear: both;}
    .kuva_vas_pysty {width: 96%; margin: 15px auto; min-width: 50px; clear: both;}
    .kuva_kesk, .tag-category-blogstyle img {width: 96%; margin: 0px auto 15px auto; min-width: 50px; clear: both;}
    .kuva_oik {width: 96%; margin: 15px auto; min-width: 50px; clear: both;}
    .kuva_vas {width: 96%; margin: 15px auto; min-width: 50px; clear: both;}
}

.breikki {
    line-height: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    clear: both;
}


.kappalebreikki {
	padding: 5px 0;
}

.kappalepadding {
	padding-top: 15px
    padding-bottom: 15px;
}

.lista_tyyli {
    list-style-type: none;
    margin: 20px 0 20px 5%;
    font-size: 14px;
}

.lista_tyyli li {
    line-height: 23px;
}

.poyta {
	margin: 20px auto;
	padding: 0;
	background: url("../images/bg_7.png");
	font-size: 16px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 10px 20px 0 rgba(0, 0, 0, 0.19);
	opacity: 0.9;
}

.poyta tr {
    margin: 30px auto 40px auto;
    padding: 0;
    text-align: center;
}

.poyta td {
    padding: 8px 28px;
    text-align: center;
    border: 1px solid #aaa;
    box-shadow: inset 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.poyta_cal {
	margin: 30px auto 40px auto;
	padding: 0;
	background: url("../images/bg_7.png");
	font-size: 13px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 10px 20px 0 rgba(0, 0, 0, 0.19);
	opacity: 0.9;
}

.poyta_cal tr {
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.poyta_cal td {
    padding: 3px 12px;
    text-align: center;
    border: 1px solid #aaa;
    box-shadow: inset 0px 4px 6px rgba(0, 0, 0, 0.1);
}

@media only screen and (max-width: 979px) {
    .poyta_cal {font-size: 11px;}
    .poyta_cal td {padding: 2px 6px;}
}

@media only screen and (max-width: 600px) {
    .poyta_cal {width: 96%; max-width: 96%;}
}

tr .poyta_title {
	background: url("../images/bg_3.png");
	font-weight: bold;
	letter-spacing: 1px;
	font-variant: small-caps;
}

tr .poyta_title_1 {
	background: url("../images/bg_3.png");
	font-weight: bold;
	letter-spacing: 1px;
	font-variant: small-caps;
	border-bottom: 3px double #aaa;
}

tr .poyta_title_2 {
	background: url("../images/bg_3.png");
	font-weight: bold;
}

.sarake_vas {
	display: block;
	float: left;
	width: 40%;
}

.sarake_oik {
	display: block;
	float: right
	width: 40%;
}

.infobox {
	display:block;
	background: #fff;
	padding: 15px 20px 15px 45px;
	margin: 30px auto;
	position: relative;
	
	/*Font*/
	font-size: 14px;
	line-height: 1.2;
	color: #666;
	letter-spacing: 1px;
	text-align: justify;
	
	/*Borders*/
	border-left: 15px solid #870000;
	border-right: 2px solid #870000;
	
	/*Box Shadow*/
	-moz-box-shadow: 2px 2px 15px #ccc;
	-webkit-box-shadow: 2px 2px 15px #ccc;
	box-shadow: 2px 2px 15px #ccc;
}

.infobox::before{
	
	/*Font*/
	font-size: 60px;
	font-weight: bold;

	color: #a72626;
	
	/*Positioning*/
	position: absolute;
	left: 10px;
	top:5px;
}

.infobox::after{
	/*Reset to make sure*/
	content: "";
}

.infobox a{
	text-decoration: none;
	background: #eee;
	cursor: pointer;
	padding: 0 3px;
	color: #a72626;
}

.infobox a:hover{
 color: #666;
}

.infobox em{
	font-style: italic;
}

/* content & breezingforms buttons */

.content_button, .content_button_2, .bfQuickMode .bfNextButton, .bfQuickMode .bfSubmitButton, .bfQuickMode .bfCancelButton {
	font-family: 'Average Sans', sans-serif;
	letter-spacing: 1px;
	display: block;
	position: relative;
	float: right;
	padding: 0 20px;
	margin: 20px 20px;
	font-weight: 600;
	text-align: center;
	line-height: 35px;
	color: #FFF !important;
	background-color: rgba(80,146,200,1.0);
	box-shadow: 0 10px 6px -6px rgb(0,0,0,0.4) !important;
	border: 3px solid rgba(154,199,231,1.0);
	border-radius: 20px;
	transition: all 0.2s ;
}

.content_button_2 {
	float: none;
	margin: 55px auto 70px auto;
	width: 250px;
	clear: both;
}

.content_button:hover, .content_button_2:hover, .bfNextButton:hover, .bfSubmitButton:hover, .bfCancelButton:hover {
	background-color: rgba(50,101,141,1.0) !important;
	border: 3px solid rgba(145,194,225,1.0) !important;
	box-shadow: 0 2px 2px 0px rgb(0,0,0,0.3) !important;
}


.right_tab .content_button_2 {
	margin-top: 35px;
	margin-bottom: 30px;
	height: 30px;
	line-height: 25px;
	font-size: 12px;
	width: 80%;
	height: auto;
}

.right_tab a:hover {
	text-decoration: none !important;
}

.right_tab .ff_elem {width: 80%;}
}

@media only screen and (max-width: 800px) {
	.right_tab .content_button_2 {float: none; margin: 10px auto 0 auto; width: 300px;}
	.right_tab .bfLabel345 {text-align: left;}
}

.twocolumns {
  columns: 250px 2;
}

.twocolumns_break {
	padding-top: 30px !important;
}

@media only screen and (max-width: 800px) {
  .twocolumns {columns: auto auto; padding-left: 60px;}
  .twocolumns_break {padding-top: 10px !important;}
}

@media only screen and (max-width: 600px) {
  .twocolumns {columns: auto auto; padding-left: 40px;} 
}