/*
Theme Name:     Relevanssi.com
Description:    Relevanssi.com Theme
Author:         Mikko Saari
Template:       checathlon

(optional values you can add: Theme URI, Author URI, Version)
*/

/* montserrat-regular - latin-ext_latin */
@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 400;
	src: url("fonts/montserrat-v21-latin-ext_latin-regular.eot"); /* IE9 Compat Modes */
	src: local(""),
		url("fonts/montserrat-v21-latin-ext_latin-regular.eot?#iefix")
			format("embedded-opentype"),
		/* IE6-IE8 */ url("fonts/montserrat-v21-latin-ext_latin-regular.woff2")
			format("woff2"),
		/* Super Modern Browsers */
			url("fonts/montserrat-v21-latin-ext_latin-regular.woff") format("woff"),
		/* Modern Browsers */
			url("fonts/montserrat-v21-latin-ext_latin-regular.ttf") format("truetype"),
		/* Safari, Android, iOS */
			url("fonts/montserrat-v21-latin-ext_latin-regular.svg#Montserrat")
			format("svg"); /* Legacy iOS */
}
/* montserrat-700 - latin-ext_latin */
@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 700;
	src: url("fonts/montserrat-v21-latin-ext_latin-700.eot"); /* IE9 Compat Modes */
	src: local(""),
		url("fonts/montserrat-v21-latin-ext_latin-700.eot?#iefix")
			format("embedded-opentype"),
		/* IE6-IE8 */ url("fonts/montserrat-v21-latin-ext_latin-700.woff2")
			format("woff2"),
		/* Super Modern Browsers */
			url("fonts/montserrat-v21-latin-ext_latin-700.woff") format("woff"),
		/* Modern Browsers */ url("fonts/montserrat-v21-latin-ext_latin-700.ttf")
			format("truetype"),
		/* Safari, Android, iOS */
			url("fonts/montserrat-v21-latin-ext_latin-700.svg#Montserrat")
			format("svg"); /* Legacy iOS */
}

/* lato-italic - latin */
@font-face {
	font-family: "Lato";
	font-style: italic;
	font-weight: 400;
	src: url("fonts/lato-v22-latin-italic.eot"); /* IE9 Compat Modes */
	src: local(""),
		url("fonts/lato-v22-latin-italic.eot?#iefix") format("embedded-opentype"),
		/* IE6-IE8 */ url("fonts/lato-v22-latin-italic.woff2") format("woff2"),
		/* Super Modern Browsers */ url("fonts/lato-v22-latin-italic.woff")
			format("woff"),
		/* Modern Browsers */ url("fonts/lato-v22-latin-italic.ttf")
			format("truetype"),
		/* Safari, Android, iOS */ url("fonts/lato-v22-latin-italic.svg#Lato")
			format("svg"); /* Legacy iOS */
}
/* lato-700 - latin */
@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 700;
	src: url("fonts/lato-v22-latin-700.eot"); /* IE9 Compat Modes */
	src: local(""),
		url("fonts/lato-v22-latin-700.eot?#iefix") format("embedded-opentype"),
		/* IE6-IE8 */ url("fonts/lato-v22-latin-700.woff2") format("woff2"),
		/* Super Modern Browsers */ url("fonts/lato-v22-latin-700.woff")
			format("woff"),
		/* Modern Browsers */ url("fonts/lato-v22-latin-700.ttf") format("truetype"),
		/* Safari, Android, iOS */ url("fonts/lato-v22-latin-700.svg#Lato")
			format("svg"); /* Legacy iOS */
}
/* lato-regular - latin */
@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 400;
	src: url("fonts/lato-v22-latin-regular.eot"); /* IE9 Compat Modes */
	src: local(""),
		url("fonts/lato-v22-latin-regular.eot?#iefix") format("embedded-opentype"),
		/* IE6-IE8 */ url("fonts/lato-v22-latin-regular.woff2") format("woff2"),
		/* Super Modern Browsers */ url("fonts/lato-v22-latin-regular.woff")
			format("woff"),
		/* Modern Browsers */ url("fonts/lato-v22-latin-regular.ttf")
			format("truetype"),
		/* Safari, Android, iOS */ url("fonts/lato-v22-latin-regular.svg#Lato")
			format("svg"); /* Legacy iOS */
}
/* lato-700italic - latin */
@font-face {
	font-family: "Lato";
	font-style: italic;
	font-weight: 700;
	src: url("fonts/lato-v22-latin-700italic.eot"); /* IE9 Compat Modes */
	src: local(""),
		url("fonts/lato-v22-latin-700italic.eot?#iefix") format("embedded-opentype"),
		/* IE6-IE8 */ url("fonts/lato-v22-latin-700italic.woff2") format("woff2"),
		/* Super Modern Browsers */ url("fonts/lato-v22-latin-700italic.woff")
			format("woff"),
		/* Modern Browsers */ url("fonts/lato-v22-latin-700italic.ttf")
			format("truetype"),
		/* Safari, Android, iOS */ url("fonts/lato-v22-latin-700italic.svg#Lato")
			format("svg"); /* Legacy iOS */
}

/* Fonts. */
body,
button,
input,
select,
textarea {
	font-family: "Lato", serif;
	font-size: 16px;
	font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Montserrat", serif;
}

.title-font,
.page-title,
.after-content-widget-area .widget:first-of-type .widget-title,
.front-page-widget-area .widget:first-of-type .widget-title,
.main-navigation a,
.meta-nav {
	font-family: "Montserrat", sans-serif;
	font-style: normal;
}

.main-navigation li a,
.widget_nav_menu li a {
	font-size: 14px;
	font-size: 0.875rem;
	text-transform: none;
}

@media screen and (min-width: 58.875em) {
	body,
	button,
	input,
	select,
	textarea {
		font-size: 17px;
		font-size: 1.0625rem;
	}

	body:not(.edd-checkout) .entry-content {
		font-size: 18px;
		font-size: 1.125rem;
	}
}

/**
 * I've collected all the colors below which helps creating your own color schemes using custom child theme.
 *
 * 1.  #1f1f1f - Used for example in body color, titles, link hovers, and form borders.
 * 2.  #5c5f66 (original #474747) - Used for example as background color, secondary button background, social media and tag links.
 * 3.  #e4002b (original #ff1654) - Used for example in main links, highlight color, and main button background color.
 * 4.  #6c6c6c - Used for example as lighter or softer color for text and links.
 * 5.  #fff    - Used for example in button text color, links or text color on darked background, and elements background color.
 * 6.  #dadada (original #d4d4d4) - Used for example as main nav link colors, background color, and border colors.
 * 7.  #e6e6e6 - Used for example as light border color, and footer widget link color.
 * 8.  #f2f2f2 - Use for example as light background color and before footer border top color.
 * 9.  #e1e1e1 - Used for example as pricing widget highlight color, and widget tagcloud links color.
 * 10. #373737 - Used only as site footer background color.
 * 11. #18ad39 - Used as security or success color (green).
 * 12. #ffcbcb - Used as error color in EDD (red).
 *
 * Then there are couple of rgba colors used in the theme.
 *
 * 1. rgba(255, 255, 255, 0.95) - Main navigation wrapper color when mobile menu is open.
 * 2. rgba(59, 59, 59, 0.33)    - Hover color on post thumbnail.
 * 3. rgba(255, 255, 255, 0.1)  - Footer tagcloud link background.
 * 4. rgba(255, 255, 255, 0.2)  - Border color for EDD loading spinner.
 * 5. rgba(0, 0, 0, 0.1)        - Border color for dropdown menus.
 *
 * Note linear gradient in single background: linear-gradient(#f2f2f2, #fff 500px).
 */

/* Colors. */
body,
button,
input,
select,
textarea {
	color: #1f1f1f;
}

.before-footer-widgets-title {
	color: #5c5f66;
}

.highlight-color,
.jetpack-testimonial .entry-inner .icon,
.before-footer-widgets-wrapper .icon,
.checathlon_widget_pricing .icon {
	color: #e4002b;
}

a,
a:visited {
	color: #e4002b;
}

.soft-color,
.soft-color:visited,
.single .byline,
.comment-metadata a,
.post-navigation .post-title,
.job-title,
.edd_cart_header_row,
.edd_cart_subtotal,
.edd_cart_discount,
.edd_cart_tax,
.edd-description,
.entry-inner-wrapper .checathlon-widget-pricing-entry-content {
	color: #6c6c6c;
}

.site-title a,
.site-title a:visited,
.page-template-team-page .entry-title a,
.page-template-team-page .entry-title a:visited {
	color: #1f1f1f;
}
.site-title-footer,
.footer-widgets-wrapper .widget-title {
	color: #fff;
}

.after-content-widget-area .widget:first-of-type,
.after-content-widget-area .widget:first-of-type .widget-title,
.front-page-widget-area .widget:first-of-type,
.front-page-widget-area .widget:first-of-type .widget-title {
	color: #fff;
}

.after-content-widget-area .widget:first-of-type,
.front-page-widget-area .widget:first-of-type {
	background-color: #5c5f66;
}

.site-footer a,
.site-footer a:visited,
.site-footer,
.footer-widgets-wrapper {
	color: #dadada;
}
.footer-widgets-wrapper .widget a,
.footer-widgets-wrapper .widget a:visited {
	color: #e6e6e6;
}

a:hover,
a:focus,
a:active,
a.soft-color:hover,
a.soft-color:focus,
a.soft-color:active,
.post-navigation .post-title:hover,
.post-navigation .post-title:focus,
.post-navigation .post-title:active {
	color: #1f1f1f;
}

.footer-widgets-wrapper .widget a:hover,
.footer-widgets-wrapper .widget a:focus,
.footer-widgets-wrapper .widget a:active,
.site-footer a:hover,
.site-footer a:focus,
.site-footer a:active {
	color: #fff;
}

.page-template-team-page .entry-title a:hover,
.page-template-team-page .entry-title a:focus,
.page-template-team-page .entry-title a:active {
	color: #e4002b;
}

/* Menus. */
@media screen and (max-width: 62.874em) {
	.main-navigation-open .main-navigation-wrapper {
		background-color: rgba(255, 255, 255, 0.95);
	}
	.main-navigation {
		background-color: #5c5f66;
	}
	.main-navigation a,
	.main-navigation a:visited {
		color: #dadada;
	}
	.main-navigation a:hover,
	.main-navigation a:focus,
	.main-navigation a:active,
	.main-navigation .current-menu-item > a,
	.main-navigation .current-menu-ancestor > a {
		color: #fff;
	}
}

@media screen and (min-width: 62.875em) {
	.main-navigation a,
	.main-navigation a:visited {
		color: #5c5f66;
	}
	.main-navigation a:hover,
	.main-navigation a:focus,
	.main-navigation a:active {
		color: #e4002b;
	}

	.main-navigation ul ul {
		background-color: #fff;
	}

	.main-navigation .current-menu-item > a,
	.main-navigation .current-menu-ancestor > a {
		color: #e4002b;
	}
}

.menu-social a,
.menu-social a:visited {
	background-color: #dadada;
	color: #5c5f66;
}
.menu-social a:hover,
.menu-social a:focus,
.menu-social a:active {
	background-color: #fff;
	color: #5c5f66;
}

#edd_secure_site_wrapper,
.edd-cart-added-alert {
	color: #18ad39;
}

.edd_error {
	background-color: #ffcbcb;
}

/* Background colors. */
body,
pre,
.comments-area,
.after-content-widget-area,
.downloads-area,
.main-sidebar .widget,
.page-links > a,
.page-links > span {
	background-color: #f2f2f2;
}

.site-header {
	background-color: #fff;
}

.single .site-content,
.page-template-default .site-content {
	background-color: #fff;
	background-image: linear-gradient(#f2f2f2, #fff 500px);
}
.home.page .site-content,
.page-template-default.edd-checkout .site-content,
.page-template-default.edd-success .site-content,
.single-topic .site-content {
	background-color: inherit;
	background-image: none;
}

hr {
	background-color: #e6e6e6;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
a.button,
a.button:visited {
	background-color: #e4002b;
	color: #fff;
}

a.button-secondary,
a.button-secondary:visited,
a.edd-cart-saving-button,
a.edd-cart-saving-button:visited,
.edd-download-info .button.edd-demo-link,
.edd-download-info .button.edd-demo-link:visited,
body .wp-core-ui .quicktags-toolbar input.button.button-small {
	background-color: #5c5f66;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
a.button:hover,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
a.button:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active,
a.button:active {
	background-color: #5c5f66;
	color: #fff;
}
a.button-secondary:hover,
a.button-secondary:focus,
a.button-secondary:active,
a.edd-cart-saving-button.button:hover,
a.edd-cart-saving-button.button:focus,
a.edd-cart-saving-button.button:active,
.edd-download-info .button.edd-demo-link:hover,
.edd-download-info .button.edd-demo-link:focus,
.edd-download-info .button.edd-demo-link:active,
body .wp-core-ui .quicktags-toolbar input.button.button-small:hover,
body .wp-core-ui .quicktags-toolbar input.button.button-small:focus,
body .wp-core-ui .quicktags-toolbar input.button.button-small:active {
	background-color: #e4002b;
}

.menu-toggle,
.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggle:active {
	background-color: transparent;
	color: #e4002b;
}
.menu-toggle.toggled {
	color: #fff;
}

.pagination .page-numbers,
.blog-wrapper .entry-inner,
.search-results .entry-inner,
.mb-wrapper .hentry,
.mb-form-topic,
.grid-wrapper .entry-inner-wrapper,
.entry-login-form,
.comment-body,
#edd_checkout_cart_form,
#edd_purchase_form fieldset,
.edd-alert,
.edd-success .entry-content {
	background-color: #fff;
}

.pagination .page-numbers.current {
	background-color: #6c6c6c;
	color: #fff;
}

.screen-reader-text:focus {
	background-color: #5c5f66;
	color: #fff;
}

.entry-header-bg,
.testimonial-icon-wrapper {
	background-color: #dadada;
}

a.entry-header-bg-link:hover,
a.entry-header-bg-link:focus,
a.entry-header-bg-link:active {
	background-color: rgba(59, 59, 59, 0.33);
}

.entry-header-bg-link > .icon {
	color: #6c6c6c;
}

.site-footer {
	background-color: #373737;
}

.before-footer-widgets-wrapper {
	background-color: #fff;
	border-top-color: #f2f2f2; /* Same color as body background. */
}
.footer-widgets-wrapper {
	background-color: #5c5f66;
}

.entry-terms > a,
.widget_tag_cloud a,
.widget_tag_cloud a:visited {
	background-color: #f2f2f2;
	color: #6c6c6c;
}

.main-sidebar .widget_tag_cloud a {
	background-color: #e1e1e1;
}
.footer-widget-area .widget_tag_cloud a {
	background-color: rgba(255, 255, 255, 0.1);
}

.entry-terms > a:hover,
.entry-terms > a:focus,
.entry-terms > a:active,
.widget_tag_cloud a:hover,
.widget_tag_cloud a:focus,
.widget_tag_cloud a:active {
	background-color: #5c5f66;
	color: #fff;
}

.icon-wrapper {
	background-color: #f2f2f2;
}
.icon-wrapper > .icon {
	color: #6c6c6c;
}

mark,
ins {
	background: #fff9c0;
}

/* Borders. */
abbr,
acronym {
	border-bottom-color: #666;
}

blockquote {
	border-left-color: #1f1f1f;
	color: #6c6c6c;
}

th,
td,
.single-portfolio_project .project-key,
.single-portfolio_project .project-data {
	border-bottom-color: #e6e6e6;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
	border-color: #dadada;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus,
select:focus {
	border-color: #1f1f1f;
}

fieldset {
	border-color: #e6e6e6;
}

.post-navigation .nav-previous ~ .nav-next,
.comment-navigation .nav-previous ~ .nav-next,
.post-navigation > .nav-links,
#edd_checkout_cart tfoot > .edd_cart_footer_row:first-child th {
	border-top-color: #e6e6e6;
}

/* Pricing widget. */
.checathlon_widget_pricing .highlight-pricing {
	border-color: #e1e1e1;
}

.grid-wrapper > .hentry .entry-inner-wrapper .highlight-title {
	background-color: #e1e1e1;
}

.main-sidebar .widget li {
	border-bottom-color: #e1e1e1;
}

.main-sidebar ul ul li:first-child {
	border-top-color: #e1e1e1;
}

.jetpack-testimonial > .entry-inner-wrapper:after {
	border-color: #fff transparent;
}

.archive-description:before {
	border-bottom-color: #e4002b;
}

a.edd-add-to-cart .edd-loading {
	border-top-color: rgba(255, 255, 255, 0.2);
	border-right-color: rgba(255, 255, 255, 0.2);
	border-bottom-color: rgba(255, 255, 255, 0.2);
	border-left-color: #fff;
}

.paddle_button {
	font-family: "Helvetica Neue", Helvetica, Arial, "lucida grande", tahoma,
		verdana, arial, sans-serif;
	text-decoration: none;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
	border-radius: 2px;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 9px;
	padding-right: 9px;
	box-sizing: content-box;
	border: 1px solid;
	font-weight: bold;
	font-size: 25px;
	background: -webkit-linear-gradient(#74c937 0%, #67b131 100%);
	background: -moz-linear-gradient(#74c937 0%, #67b131 100%);
	background: -ms-linear-gradient(#74c937 0%, #67b131 100%);
	background: -o-linear-gradient(#74c937 0%, #67b131 100%);
	background: linear-gradient(#74c937 0%, #67b131 100%);
	border-color: #60a62e #519f18 #409701;
	color: #ffffff !important;
	text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.22);
	display: inline-block;
	outline: none;
	cursor: pointer;
}

.ok,
.not {
	font-weight: bold;
	text-align: center;
}

.ok {
	color: #87c104;
}
.not {
	color: #c24f4f;
}

.after-content-widget-area .widget,
.front-page-widget-area .widget {
	text-align: left;
}

.widget ul {
	list-style-type: square;
	margin: 0 0 1.66666666667em 1.66666666667em;
}

.checathlon-widget-pricing-entry-content strong {
	color: #87c104;
}

.page-template-landing-page .site-content {
	background-color: #fff;
	background-image: linear-gradient(#f2f2f2, #fff 500px);
}

.page-template-landing-page .grid-wrapper .entry-inner-wrapper {
	background-color: #fafafa;
	-webkit-box-shadow: 0px 6px 36px -2px rgba(0, 0, 0, 0.33);
	-moz-box-shadow: 0px 6px 36px -2px rgba(0, 0, 0, 0.33);
	box-shadow: 0px 6px 36px -2px rgba(0, 0, 0, 0.33);
}

.page-template-landing-page ul li {
	margin-bottom: 1em;
}

td.line_numbers {
	display: none;
}

.row span {
	font-size: 22px;
	color: #87c104;
}

.row {
	text-align: left;
	margin: 1em 0;
}

.updated:not(.published) {
	display: inline;
}

.updated:not(.published)::before {
	content: " (Updated ";
}

.updated:not(.published)::after {
	content: ")";
}

.front-page-search h3 {
	margin-bottom: 2em;
}

.front-page-search {
	padding-bottom: 5rem;
}

.archive-description .search-form {
	padding: 2rem 0;
}

.archive-description p {
	padding-bottom: 1rem;
}

.archive-description h2 {
	margin-top: 1rem;
}

.button {
	font-family: "Helvetica Neue", Helvetica, Arial, "lucida grande", tahoma,
		verdana, arial, sans-serif;
	text-decoration: none;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
	border-radius: 2px;
	padding-top: 15px;
	padding-bottom: 15px;
	padding-left: 15px;
	padding-right: 15px;
	box-sizing: content-box;
	border: 1px solid;
	font-weight: bold;
	font-size: 22px;
	background: -webkit-linear-gradient(#74c937 0%, #67b131 100%);
	background: -moz-linear-gradient(#74c937 0%, #67b131 100%);
	background: -ms-linear-gradient(#74c937 0%, #67b131 100%);
	background: -o-linear-gradient(#74c937 0%, #67b131 100%);
	background: linear-gradient(#74c937 0%, #67b131 100%);
	border-color: #60a62e #519f18 #409701;
	color: #ffffff !important;
	text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.22);
	display: inline-block;
	outline: none;
	cursor: pointer;
}

#frm_new_user_reg table.wpm_registration tr.required td.label,
#frm_new_user_reg table.wpm_registration tr.systemFld td.label {
	color: #000;
}

tr.li_fld.required.marketing_consent label {
	font-weight: 400;
}

tr.li_fld.required.marketing_consent label input {
	margin-right: 15px;
}

#relevanssi_related {
	margin: 4em 0;
	border-top: 1px solid grey;
}

span.excerpt_part {
	display: block;
	border: thin solid #aaa;
	margin: 10px;
	padding: 20px;
}

.has-background {
	padding: 10px;
}

#breadcrumbs {
	margin-top: -2rem;
	margin-bottom: 1.5rem;
	font-size: 0.9rem;
}

body.search-results form.search-form {
	width: 100%;
}

.tag_page_link {
	font-size: 1.75em;
	font-weight: bold;
	margin-bottom: 1em;
}

.widget {
	margin-bottom: 1.5rem;
}

section.widget_text {
	margin-bottom: 2.5rem;
}

#block-26 a {
	border-bottom: none;
}
