/*
	Theme Name: Politiikasta.fi
	Description: This is a child theme for Purity
	Author: Gennady Kurushin
	Author URI: gkurushin.com
	Template: mh_purity
	Version: 1.26
*/

@import url('https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400i,700|Quicksand:400,700');

h1 {
  font-size: 32px;
  font-size: 2rem;
}

h2 {
  font-size: 24px;
  font-size: 1.4rem;
}

h3 {
  font-size: 20px;
  font-size: 1.35rem;
}

h4 {
  font-size: 18px;
  font-size: 1.115rem;
}

h5 {
  font-size: 16px;
  font-size: 1rem;
}

h6 {
  font-size: 14px;
  font-size: 0.875rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Libre Baskerville', serif;
  color: #000;
  line-height: 1.4;
  font-weight: 400;
}

body {
  font-family: 'Libre Baskerville', serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  word-wrap: break-word;
  color: #191919;
  background: #fff;
}

blockquote {
  color: #ff6600;
  border-color: #f26000;
}

/* Simple Google Fonts replacement */

/* Audio player */

.mejs-duration,
.mejs-currenttime,
.wp-playlist-item-title,
.wp-playlist-item-length {
  font-family: 'Quicksand', sans-serif;
}

/* Audio player title */

.wp-playlist-item-meta.wp-playlist-item-title {
  font-family: 'Libre Baskerville', serif;
}

/* Button searcy */

#searchsubmit {
  font-family: 'Quicksand', sans-serif;
}

/* Exerpt */

.mh-excerpt {
  font-family: 'Quicksand', sans-serif;
}

/* Footer copyright */

.copyright {
  font-family: 'Libre Baskerville', serif;
}

/* Contact form */

.contact-form.commentsblock {
  font-family: 'Quicksand', sans-serif;
}

/* List */

li {
  font-family: 'Quicksand', sans-serif;
}

/* Menu */

.menu-item {
  font-family: 'Libre Baskerville', serif;
}

/* Meta Date Comment Count Page Numbers */

.meta-date,
.meta-author,
.meta-tags,
.meta-comments,
.loop-comments,
.loop-meta,
.page-numbers,
.page-numbers.current {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
}

/* Read more */

.yuzo__text--title {
  font-family: 'Quicksand', sans-serif;
}

/* Responsive Tab */

.responsive-tabs__list__item {
  font-family: 'Libre Baskerville', serif;
}

/* Widget text */

.textwidget {
  font-family: 'Quicksand', sans-serif;
}

/* Paragraph */

.entry p {
  font-family: 'Quicksand', sans-serif;
}

/* Fixes */
.mh-excerpt,
span.ctcc-left-side,
span.meta-date,
button#catapultCookie,
time.entry-date.published.meta.st-current,
.wp-caption-text,
label#subscribe-label,
label#subscribe-blog-label,
p.comment-form-comment,
p.logged-in-as,
.cat-desc p,
p.tribe-events-widget-link,
.widget.sb-widget.writers p,
.sd-title {
  font-family: 'Quicksand', sans-serif;
}

/***** Featured Widget *****/

.featured-item .meta,
.cp-large .meta {
  letter-spacing: 0.5px;
}

.featured-item-title {
  margin: 15px 0 21px;
  font-size: 18px;
  font-weight: bold;
  font-size: 1.125rem;
  letter-spacing: 0.5px;
  line-height: 1.4;
  text-transform: uppercase;
}

.featured-item-more {
  display: inline-block;
  font-size: 18px;
  font-size: 1.125rem;
  margin: 34px 0;
}

.meta {
  font-size: 13px;
  font-size: 1rem;
  color: #999999;
  font-family: "Lato", sans-serif;
}

.fa-comment-o {
  margin-right: 5px;
}

.main-nav {
  font-family: 'Libre Baskerville', serif;
  text-transform: none;
  font-weight: 400;
}

.main-nav li a {
  color: #222222;
  letter-spacing: 2px;
}

.post-header {
  margin-top: 10px;
}

.entry a {
  font-style: normal;
  text-decoration: none;
}

.wp-caption-text {
  color: #999999;
  font-weight: 400;
}

.entry {
  font-size: 17px;
}

.metaslider .caption-wrap {
  opacity: 1 !important;
  background-color: #f26000 !important;
  font-size: 18px;
}

.widget.writers p {
  margin-bottom: 1em;
}

#menu-tags li a {
  color: #ff6600;
}

.jp-relatedposts-post-context {
  display: none !important;
}

.nivo-caption {
  background-color: #ff6600 !important;
  font-family: 'Libre Baskerville', serif !important;
  opacity: 1 !important;
  font-size: 18px;
}

/* Prettier header hyphenations */

h3.featured-item-title {
  word-wrap: normal;
  -webkit-hyphens: auto;
  /* Saf 5.1+ */
  -moz-hyphens: auto;
  /* Fx 6.0+ */
  -ms-hyphens: auto;
  /* IE 10+ */
  hyphens: auto;
  /* None yet */
}

/* Set excerpts in Archive to not wrap around image */

.mh-excerpt {
  overflow: hidden;
}

/***** Here starts the new CSS added by Gennady Kurushin *****/

/* Customizing social media icons */

.socicon.socicon-facebook,
.socicon.socicon-twitter,
.socicon.socicon-instagram,
.socicon.socicon-vimeo {
  background-color: #ff6600 !important;
}

.socicon.socicon-facebook:hover {
  background-color: rgb(59, 89, 152) !important;
}

.socicon.socicon-twitter:hover {
  background-color: rgb(85, 172, 238) !important;
}

.socicon.socicon-instagram:hover {
  background-color: #bc2a8d !important;
}

.socicon.socicon-vimeo:hover {
  background-color: #17272E !important;
}

/* Customizing WP playlist */

.mejs-container,
.mejs-container .mejs-controls,
.mejs-embed,
.mejs-embed body {
  background: #ff6600 !important;
}

.mejs-controls .mejs-time-rail .mejs-time-current {
  background: #333 !important;
}

/* Customizing widgets */

.widget-title {
  font-style: normal;
  font-size: 1.125rem;
  text-transform: none;
}

/* Customizing links */

a:hover {
  color: #f26000;
}

a {
  color: #ff6600;
}

/* Add extra padding to fix cutting of text justified left styled italic */

.entry.clearfix {
  padding-right: 5px;
  padding-left: 5px;
}

/* Customizing Top posts widget */

.wtpsw-post-thumb-right {
  padding-left: 20px;
}

/* Customizing Team Page */

.awsm-contact-info a {
  color: #ff6600 !important;
}

.awsm-social-icons span {
  border-color: #ff781e !important;
}

.awsm-contact-info p {
  line-height: inherit;
  font-size: 16px !important;
}

.responsive-tabs__list__item.responsive-tabs__list__item--active {
  background: #ff6600 !important;
  color: #ffffff !important;
}

/* Customizing Calendar */

#tribe-events .tribe-events-button,
#tribe-events .tribe-events-button:hover,
#tribe_events_filters_wrapper input[type=submit],
.tribe-events-button,
.tribe-events-button.tribe-active:hover,
.tribe-events-button.tribe-inactive,
.tribe-events-button:hover,
.tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-],
.tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-]>a {
  background-color: #ff6600 !important;
  font-family: 'Quicksand', sans-serif;
  font-size: 12px;
}

.tribe-events-notices {
  background: #f5f5f5;
  border-radius: 0;
  border: 1px solid #f5f5f5;
  color: #666666;
}

.tribe-events-calendar thead th {
  font-family: 'Quicksand', sans-serif;
  font-size: 10px;
}

span.tribe-locality,
.tribe-events-venue-details,
a.tribe-events-read-more {
  font-family: 'Quicksand', sans-serif;
}

.tribe-events-calendar td.tribe-events-past div[id*=tribe-events-daynum-],
.tribe-events-calendar td.tribe-events-past div[id*=tribe-events-daynum-]>a {
  font-family: 'Quicksand', sans-serif;
  font-size: 12px;
}

#tribe-events-content .tribe-events-tooltip h4,
#tribe_events_filters_wrapper .tribe_events_slider_val {
  color: #ff6600 !important;
  font-size: 12px;
}

.tribe-events-abbr.tribe-event-date-start {
  font-family: 'Quicksand', sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.tribe-events-button {
  color: white;
}

.ecwd-date .ecwd_timezone,
.calendar_main .ecwd_calendar .metainfo,
.ecwd_countdown_info .metainfo,
.event-detalis span,
.event-detalis a {
  font-style: normal !important;
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
}

.ecwd_organizer_phone {
  display: none;
}

.tribe-events-calendar td div[id*=tribe-events-daynum-] {
  font-family: 'Quicksand', sans-serif;
  font-size: 12px;
}

.post-type-archive-tribe_events .post-header {
  display: none;
}

h2.tribe-events-page-title {
  font-size: 1.5em;
}

.tribe-event-date-start,
.tribe-event-time {
  font-family: 'Quicksand', sans-serif;
}

.single-tribe_events .tribe-events-event-meta {
  font-family: 'Quicksand', sans-serif;
}

.tribe-street-address {
  font-style: normal !important;
}

.tribe-events-single-section-title {
  font-size: 16px !important;
}

.tribe-events-event-thumb {
  max-width: 150px;
  height: auto;
  margin-right: 10px;
}

.tribe-events-list-widget .tribe-event-featured,
.tribe-events-venue-widget .tribe-event-featured,
.tribe-mini-calendar-list-wrapper .tribe-event-featured,
.tribe-events-adv-list-widget .tribe-event-featured .tribe-mini-calendar-event {
  background-color: #ff6600 !important;
}

.tribe-events-list .tribe-events-loop .tribe-event-featured,
.tribe-events-list #tribe-events-day.tribe-events-loop .tribe-event-featured,
.type-tribe_events.tribe-events-photo-event.tribe-event-featured .tribe-events-photo-event-wrap,
.type-tribe_events.tribe-events-photo-event.tribe-event-featured .tribe-events-photo-event-wrap:hover {
  background-color: #ff6600 !important;
}

/* fix event search button */
#tribe-bar-form .tribe-bar-submit input[type=submit] {
  max-width: 400px;
  border-radius: 3px;
}

/* Customizing event list on the front page */

.attachment-90x90.size-90x90.wp-post-image {
  height: 90px;
  float: left;
  position: absolute;
}

h4.entry-title.summary,
p.ecs-excerpt,
span.duration.time {
  padding-left: 125px;
}

li.ecs-event.keskustelut_ecs_category {
  padding-top: 15px;
  padding-bottom: 25px;
}

h4.entry-title.summary {
  text-transform: none;
}

.home ul.ecs-event-list {
  list-style-type: none;
}

/* Customizing estimated reading time */

.page-template .rt-reading-time,
.page-template-default .rt-reading-time,
.tribe_events-template-default .rt-reading-time {
  display: none !important;
}

span.rt-reading-time {
  margin-bottom: 24px;
  font-family: 'Quicksand', sans-serif;
}

.rt-time,
.rt-label {
  font-weight: 600;
}

/* Customizing contact form */

.pushbutton-wide {
  background-color: #ccc !important;
  width: 172px !important;
  height: 34px !important;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
}

.pushbutton-wide:hover {
  background-color: #ff6600 !important;
}

#searchsubmit:hover {
  background-color: #ff6600 !important;
}

/* Customizing cookie notice */

.cookie-politiikasta {
  font-family: "Quicksand";
  font-weight: 400;
}

button#catapultCookie {
  padding: 6px 18px !important;
  border-radius: 15 !important;
}

/* Translations */

.menu-item-8278 img,
.menu-item-8279 img,
.menu-item-8277 img {
  vertical-align: inherit;
}

/* Fixes */

.logged-in-as a,
.comment-subscription-form label,
.comment-form-comment label {
  font-family: 'Quicksand', sans-serif;
}

h1.tribe-events-single-event-title {
  line-height: 1.5 !important;
}

#menu-footer-fi li a,
#menu-footer-se li a,
#menu-footer-en li a {
  font-family: 'Quicksand', sans-serif;
  transition: color .3s ease;
}

#menu-footer-fi li a:hover,
#menu-footer-se li a:hover,
#menu-footer-en li a:hover {
  color: #222222;
}

.tribe-list-widget .tribe-event-title {
  font-family: 'Quicksand', sans-serif;
}

.tribe-events-widget-link a {
  font-family: 'Quicksand', sans-serif;
}

#tribe-bar-collapse-toggle,
#tribe-bar-views,
.tribe-event-date-end {
  font-family: 'Quicksand', sans-serif;
}

span.wp-playlist-item-meta.wp-playlist-item-title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
}

.wp-playlist-item-artist,
.wp-playlist-caption {
  font-family: 'Quicksand', sans-serif;
}

.archive.category .cat-desc p,
.archive.tag .cat-desc p {
  font-family: 'Quicksand', sans-serif;
}

.widget.sb-widget.writers p {
  font-family: 'Quicksand', sans-serif;
}


/***** CSS Media Queries *****/

@media screen and (max-width: 767px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 22px;
  }

  .tribe-events-list .type-tribe_events h2 {
    font-size: 17px;
    font-weight: 600;
  }

  #tribe-events .tribe-events-content p {
    line-height: 1.1;
  }
}

@media only screen and (max-width: 620px) {
  .featured-item-title a {
    font-size: 14px;
    line-height: 1;
  }

  .loop-title a {
    line-height: 1;
    font-size: 16px;
  }

  .widget-title a {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3px;
  }

  .entry-title.summary a {
    font-size: 14px;
    font-weight: 600;
  }

  h3#reply-title {
    font-size: 16px;
    font-weight: 600;
  }

  h1.entry-title {
    font-size: 18px;
  }

  label#subscribe-label {
    font-size: 14px;
  }

  h1.tribe-events-single-event-title {
    font-size: 18px !important;
    line-height: 1.5 !important;
  }

  .tribe-events-schedule h2 {
    font-size: 18px !important;
  }
}

/***** CSS for Siitä viis project *****/

/* Background */

.page-template-page_siitaviis,
.page-template-page_siitaviis_sub,
.post-template-post-siitaviis {
  background-image: url(http://politiikasta.fi/wp-content/uploads/2018/02/moz_valkoinen_opt.svg);
  background-repeat: repeat;
  background-size: 250px;
  background-color: #f5f5f5;
}

/* .page-template-page_siitaviis .container, .page-template-page_siitaviis_sub .container {
	background: #f5f5f5;
} */

/* Fonts */

.page-template-page_siitaviis *,
.page-template-page_siitaviis_sub *,
.post-template-post-siitaviis * {
  font-family: Arial, Helvetica, sans-serif;
}

#menu-siitaviis-menu {
  text-transform: uppercase;
}

#menu-siitaviis-menu a {
  letter-spacing: 0px;
}

.page-template-page_siitaviis .copyright,
.page-template-page_siitaviis_sub .copyright,
.post-template-post-siitaviis .copyright {
  font-family: Arial, Helvetica, sans-serif !important;
}

/** CSS for Siitä viis landing page template **/

/* Colors */

.page-template-page_siitaviis .header-wrap,
.page-template-page_siitaviis .main-nav ul .current-menu-item>a,
.page-template-page_siitaviis footer,
.page-template-page_siitaviis .author-box,
.page-template-page_siitaviis blockquote,
.page-template-page_siitaviis .commentlist .bypostauthor,
.page-template-page_siitaviis input[type=text]:hover,
.page-template-page_siitaviis input[type=email]:hover,
.page-template-page_siitaviis textarea:hover,
.page-template-page_siitaviis_sub .header-wrap,
.page-template-page_siitaviis_sub .main-nav ul .current-menu-item>a,
.page-template-page_siitaviis_sub footer,
.page-template-page_siitaviis_sub .author-box,
.page-template-page_siitaviis_sub blockquote,
.page-template-page_siitaviis_sub .commentlist .bypostauthor,
.page-template-page_siitaviis_sub input[type=text]:hover,
.page-template-page_siitaviis_sub input[type=email]:hover,
.page-template-page_siitaviis_sub textarea:hover,
.post-template-post-siitaviis .header-wrap,
.post-template-post-siitaviis .main-nav ul .current-menu-item>a,
.post-template-post-siitaviis footer,
.post-template-post-siitaviis .author-box,
.post-template-post-siitaviis blockquote,
.post-template-post-siitaviis .commentlist .bypostauthor,
.post-template-post-siitaviis input[type=text]:hover,
.post-template-post-siitaviis input[type=email]:hover,
.post-template-post-siitaviis textarea:hover {
  border-color: #224260;
}

.page-template-page_siitaviis .widget-title,
.page-template-page_siitaviis .widget-title a,
.page-template-page_siitaviis .mh-slider-widget .flex-direction-nav a:before,
.page-template-page_siitaviis .fa-comment-o,
.page-template-page_siitaviis .fa-circle,
.page-template-page_siitaviis .breadcrumb .separator,
.page-template-page_siitaviis_sub .widget-title,
.page-template-page_siitaviis_sub .widget-title a,
.page-template-page_siitaviis_sub .mh-slider-widget .flex-direction-nav a:before,
.page-template-page_siitaviis_sub .fa-comment-o,
.page-template-page_siitaviis_sub .fa-circle,
.page-template-page_siitaviis_sub .breadcrumb .separator,
.post-template-post-siitaviis .widget-title,
.post-template-post-siitaviis .widget-title a,
.post-template-post-siitaviis .mh-slider-widget .flex-direction-nav a:before,
.post-template-post-siitaviis .fa-comment-o,
.post-template-post-siitaviis .fa-circle,
.post-template-post-siitaviis .breadcrumb .separator {
  color: #224260;
}

.page-template-page_siitaviis a,
.page-template-page_siitaviis_sub a,
.post-template-post-siitaviis a {
  color: #f0abbf;
}

.page-template-page_siitaviis a:hover,
.page-template-page_siitaviis_sub a:hover,
.post-template-post-siitaviis a:hover {
  color: #224260;
}

.page-template-page_siitaviis #searchsubmit:hover,
.page-template-page_siitaviis_sub #searchsubmit:hover,
.post-template-post-siitaviis #searchsubmit:hover {
  background-color: #224260 !important;
}

.page-template-page_siitaviis .socicon.socicon-facebook,
.page-template-page_siitaviis .socicon.socicon-twitter,
.page-template-page_siitaviis .socicon.socicon-instagram,
.page-template-page_siitaviis .socicon.socicon-vimeo,
.page-template-page_siitaviis_sub .socicon.socicon-facebook,
.page-template-page_siitaviis_sub .socicon.socicon-twitter,
.page-template-page_siitaviis_sub .socicon.socicon-instagram,
.page-template-page_siitaviis_sub .socicon.socicon-vimeo,
.post-template-post-siitaviis .socicon.socicon-facebook,
.post-template-post-siitaviis .socicon.socicon-twitter,
.post-template-post-siitaviis .socicon.socicon-instagram,
.post-template-post-siitaviis .socicon.socicon-vimeo {
  background-color: #224260 !important;
}

.page-template-page_siitaviis .socicon.socicon-facebook:hover,
.page-template-page_siitaviis_sub .socicon.socicon-facebook:hover,
.post-template-post-siitaviis .socicon.socicon-facebook:hover {
  background-color: rgb(59, 89, 152) !important;
}

.page-template-page_siitaviis .socicon.socicon-twitter:hover,
.page-template-page_siitaviis_sub .socicon.socicon-twitter:hover,
.post-template-post-siitaviis .socicon.socicon-twitter:hover {
  background-color: rgb(85, 172, 238) !important;
}

.page-template-page_siitaviis .socicon.socicon-instagram:hover,
.page-template-page_siitaviis_sub .socicon.socicon-instagram:hover,
.post-template-post-siitaviis .socicon.socicon-instagram:hover {
  background-color: #bc2a8d !important;
}

.page-template-page_siitaviis .socicon.socicon-vimeo:hover,
.page-template-page_siitaviis_sub .socicon.socicon-vimeo:hover,
.post-template-post-siitaviis .socicon.socicon-vimeo:hover {
  background-color: #17272E !important;
}

/** CSS for Siitä viis sub page template **/

/* Colors */

.page-template-page_siitaviis_sub .entry a {
  color: #f0abbf !important;
}

.page-template-page_siitaviis_sub .entry a:hover {
  color: #224260 !important;
}

/* Contact form */

.page-template-page_siitaviis_sub .contact-form {
  margin: auto !important;
  width: 50% !important;
}

.page-template-page_siitaviis_sub .contact-form label {
  font-weight: initial !important;
}

.page-template-page_siitaviis_sub .pushbutton-wide {
  background-color: #224260 !important;
}

.page-template-page_siitaviis_sub .pushbutton-wide:hover {
  background-color: #f0abbf !important;
}

.page-template-page_siitaviis_sub .contact-form input[type=email],
.page-template-page_siitaviis_sub .contact-form input[type=text],
.page-template-page_siitaviis_sub .contact-form input[type=url],
.page-template-page_siitaviis_sub .contact-form textarea {
  width: 98% !important;
}

/** CSS for Siitä viis post template **/

.post-template-post-siitaviis .entry a {
  color: #f0abbf !important;
  border-color: #fff !important;
}

.post-template-post-siitaviis .entry a:hover {
  color: #224260 !important;
}

.post-template-post-siitaviis .sharedaddy a span {
  color: #fff !important;
}

.post-template-post-siitaviis .sharedaddy a::before {
  color: #fff !important;
}

.post-template-post-siitaviis .share-facebook a,
.post-template-post-siitaviis .share-twitter a,
.post-template-post-siitaviis .share-google-plus-1 a,
.post-template-post-siitaviis .share-email a,
.post-template-post-siitaviis .share-print a {
  background-color: #224260 !important;
}

.post-template-post-siitaviis .share-facebook a:hover,
.post-template-post-siitaviis .share-twitter a:hover,
.post-template-post-siitaviis .share-google-plus-1 a:hover,
.post-template-post-siitaviis .share-email a:hover,
.post-template-post-siitaviis .share-print a:hover {
  background-color: #f0abbf !important;
}

.post-template-post-siitaviis .submit {
  color: #fff;
  background-color: #224260;
}

.post-template-post-siitaviis .submit:hover {
  background-color: #f0abbf;
}

.post-template-post-siitaviis .post-tags {
  margin-bottom: 0px !important;
}

.post-template-post-siitaviis blockquote {
  color: #224260 !important;
  border-color: #224260 !important;
}