/*
Theme Name:     Newspaper 7 Child theme
Theme URI: 		https://forum.tagdiv.com/install-via-ftp/
Description:    Child theme made for Liikkeessä yli rajojen
Author:         Gennady Kurushin
Author URI: 	http://gkurushin.com/
Template:       Newspaper
Version:        7.7c.004
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/

/* Header logo position */

.td-main-logo {
  vertical-align: bottom !important;
}

/* Underfooter copyright position */

.td-pb-span.td-sub-footer-copy {
  float: none;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Category archive dropdown filter */
.td-category-header .td-pulldown-filter-display-option {
  background-color: #3e505f;
}
.td-category-header .td-pulldown-filter-list {
  background-color: #3e505f;
}

/* Category labels and first tag on article pages */
.td-category a, .td-post-small-box span {
  background-color: #3e505f;
}

/* Comment button on article pages */
.comments .comment-form .submit {
  background-color: #3e505f;
}
.comments .comment-form .submit:hover {
  background-color: #cf106e;
}

/* Comment icon on archive pages */
.td-module-comments a {
  background-color: #3e505f;
}

/* Comment and views icons and count on article pages */
header .td-icon-views, header .td-post-comments a, div.td-post-views {
  color: #c1c1c1;
}

/* button to homepage on 404 page */
.td-404-sub-sub-title a {
  background-color: #3e505f;
}
.td-404-sub-sub-title a:hover {
  background-color: #D0116F;
}

/* button on search page */
.td-search-form-widget .wpb_button {
  background-color: #3e505f;
}
.td-search-form-widget .wpb_button:hover {
  background-color: #D0116F;
}

/* social media buttons on article pages */
.td-ps-icon-color .td-social-facebook .td-social-but-icon:hover {
  color: #fff;
  background-color: #516eab;
}
.td-ps-icon-color .td-social-twitter .td-social-but-icon:hover {
  color: #fff;
  background-color: #29c5f6;
}
.td-ps-icon-color .td-social-googleplus .td-social-but-icon:hover {
  color: #fff;
  background-color: #eb4026;
}
.td-ps-icon-color .td-social-pinterest .td-social-but-icon:hover  {
  color: #fff;
  background-color: #ca212a;
}

.td-ps-icon-color .td-social-linkedin .td-social-but-icon:hover {
  color: #fff;
  background-color: #0266a0;
}

.td-ps-icon-color .td-social-mail .td-social-but-icon:hover, .td-ps-icon-color .td-social-print .td-social-but-icon:hover {
  color: #fff;
  background-color: #3e505f;
}

/* author page archive buttons and icons */
.td-author-counters span {
  background-color: #3e505f;
}
.author-box-wrap .td-social-icon-wrap .td-icon-font {
  color: #3e505f;
}

/* remove border from image block */
.td_block_image_box .td-custom-image a:before {
  background-color: #224260;
}

.td_block_image_box .td-custom-image a:after {
  border: none;
}

/* custom buttons for the toimitus page */
.button-toimitus {
  background-color: #224260;
  border: none;
  color: white;
  padding: 4px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 13px;
  margin: 16px 0px 0px 0px;
  transition-delay: 0s;
  transition-duration: 0.3s;
  transition-property: all;
  transition-timing-function: ease;
}

.button-toimitus:hover {
  background-color: #d0116f;
}

/* remove related by author */
.td-related-right {
  display: none!important;
}

/* change menu from list to button blocks */
#menu-kategoriat li {
  display: inline-block;
}

#menu-kategoriat a {
  background-color: #224260;
  border: none;
  color: white;
  padding: 4px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 13px;
  margin: 16px 0px 0px 0px;
  transition-delay: 0s;
  transition-duration: 0.3s;
  transition-property: all;
  transition-timing-function: ease;
}

#menu-kategoriat a:hover {
  background-color: #d0116f;
}

/* Style photo on toimitus page  */
.page.toimitus .tdm-member-image-wrap {
  -webkit-filter: grayscale(100%); /* Chrome, Safari, Opera */
  filter: grayscale(100%);
  transition-delay: 0s;
  transition-duration: 0.3s;
  transition-property: all;
  transition-timing-function: ease;
}

.page.toimitus .tdm-member-image-wrap:hover {
  -webkit-filter: none;
  filter: none);
}

/* Customize cookie notice */
button#catapultCookie {
    border-radius: 0px;
}
