/*
 Theme Name:   Madd Magazine Child
 Theme URI:
 Description:  Madd Magazine Child Theme
 Author:       dunszt.sk
 Author URI:   https://dunszt.sk
 Template:     madd-magazine
 Version:      1.0.0
 License:
 License URI:
 Tags:
 Text Domain:  madd-magazine-child
*/

:root {
    --dunszt-black-color: #1e1e1e;
    --dunszt-red-color: #cf3820;
    --dunszt-red-dark1-color: #ad2e1a;
    --dunszt-red-light1-color: #d37060;
    --dunszt-red-light2-color: #dba4a4;
    --dunszt-grey1-color: #888888;
    --dunszt-grey2-color: #AAAAAA;
    --dunszt-grey3-color: #F9F7F5;
    --dunszt-font-family-body: 'Oswald', sans-serif;
    --dunszt-font-family-title: 'Raleway', sans-serif;;
    --dunszt-font-family-text: 'EB Garamond', serif;
}

body {
  color: var(--dunszt-black-color);
  font-family: var(--dunszt-font-family-body);
}

.body-content,
p,
input,
select,
textarea {
  font-family: var(--dunszt-font-family-text);
  font-size: 20px;
  line-height: 1.5em;
  letter-spacing: 0.2px;
}

.wp-block-image figcaption {
  text-align: center;
  font-size: 17px;
  background-color: #f4f3ef;
}

/* Links */
a,
a:visited {
	color: var(--dunszt-red-color);
  -webkit-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  -o-transition: all 0.1s linear;
  transition: all 0.1s linear;
}

.blog-post-content a,
.rpwwt-widget a {
  font-family: var(--dunszt-font-family-title);
	color: var(--dunszt-black-color);
}

.blog-post-content h2 {
  font-size:24px;
  font-weight: normal;
  text-transform: none;

}

a:hover,
a:focus,
a:active {
	color: var(--dunszt-grey1-color);
  outline: none;
}

.header {
  background: var(--dunszt-black-color);
}

.footer-bot {
  background: var(--dunszt-black-color);
}

/* buttons ================================== */
.btn {
  font-family: var(--dunszt-font-family-body);
  -webkit-border-radius: 3;
  -moz-border-radius: 3;
  border-radius: 3px;
  color: white !important;
  font-size: 20px;
  padding: 8px 16px 8px 16px;
  text-decoration: none;
  transition: all 0.1s linear 0s;
}

.btn-red {
  background: var(--dunszt-red-color);
  text-align: center;
  display: block;
}

.btn-red:hover {
  background: var(--dunszt-red-dark1-color);
  text-decoration: none !important;
}

.btn-red-light1 {
  background: var(--dunszt-red-light1-color);
  text-align: center;
  display: block;
}

.btn-red-light1:hover {
  background: var(--dunszt-red-color);
  text-decoration: none !important;
}

/* header + footer ================================== */
header .site-navigation a {
	padding: 6px 11px;
}

header .site-navigation .current-menu-item > a,
header .site-navigation a:hover{
	background: var(--dunszt-red-color);
}

header .social-wrap a:visited,
header .social-wrap a,
#menu-footer-menu li.menu-item a,
#menu-footer-menu li.menu-item a:visited {
	color: white;
}

header .social-wrap a:hover,
header .social-wrap a:focus,
header .social-wrap a:active,
#menu-footer-menu li.menu-item a:hover,
#menu-footer-menu li.menu-item a:focus,
#menu-footer-menu li.menu-item a:active {
	color: var(--dunszt-red-color);
}

#menu-footer-menu li.menu-item a[href="https://dunszt.sk/feed"]::before {
   content: "\f143\00a0";
   font-family: FontAwesome;
   color: var(--dunszt-grey1-color);
}

/* - video */
.video-label{
	color: var(--dunszt-red-color);
}

/* shrink left sidebar for single posts ================================== */
@media only screen and (max-width : 992px) {
  .single-left-sidebar {
    display: none;
  }

  .single-right-sidebar {
    left: 0;
		right: auto;
		width: 100%;
  }
}

@media only screen and (min-width : 992px) {
  .single-post article.post .author-meta {
    display: none;
  }

  .single-left-sidebar {
    right: 60%;
    width: 15%;
  }

  .single-mid-col {
    left: 15%;
    width: 60%;
    padding-right: 30px;
  }
}

/* items density */
.blog-post-image img {
  object-fit: contain;
  min-height: 147px;
}

.blog-post-wrap {
  margin-bottom: 20px;
}

.blog-post-content {
  padding: 14px 0 8px;
}

div.top-ads-wrap {
  padding: 20px 0;
}

.sidebar-wrap .widget-title,
.sidebar-wrap .sidebar-widget {
  margin-bottom: 10px;
}

.sidebar-wrap .rpwwt-widget ul li {
  margin-bottom: 5px;
}

.popular-posts .wpp-list {
  padding-inline-start: 0px;
}

.popular-posts .wpp-list li {
  margin-bottom: 15px;
}

.popular-posts .wpp-list li .wpp-thumbnail {
  margin-right: 15px;
}

footer.footer {
  margin-top: 10px;
}

.footer-top {
    padding: 0;
}

.footer-top .container {
  padding: 30px 30px 20px 30px;
}

.widget_custom_html.footer-widget {
  float: right;
}

div.footer-widget div.menu-footer-menu-container ul.menu {
  margin: 0;
  padding: 0;
}

/* first post wide */
.home .blog-post-wrap:first-child{
	width: 100%;
}

/* Post Category label */
.categories-wrap {
  right: 0;
  bottom: 0;
  left: auto;
}

.categories-wrap ul.post-categories li{
	padding: 7px 0 0 2px;
}

.categories-wrap a {
	background: var(--dunszt-red-color);
  color: white;
  padding: 5px 10px;
}

.categories-wrap a:hover,
.categories-wrap a:focus,
.categories-wrap a:active {
	background: var(--dunszt-red-dark1-color);
}

/* AJAX load more ================================== */
nav.pagination {
  display: none;
}

.malinky-load-more a {
  -webkit-border-radius: 3;
  -moz-border-radius: 3;
  border-radius: 3px;
  color: white;
  background:  var(--dunszt-red-color);
  font-size: 16px;
  padding: 8px 16px 8px 16px;
  text-decoration: none;
  transition: all 0.1s linear 0s
}

.malinky-load-more a::before,
.malinky-load-more a::after {
   content: "\f063\00a0";
   font-family: FontAwesome;
}

.malinky-load-more a:hover {
  background:  var(--dunszt-red-dark1-color);
  text-decoration: none !important;
}

.malinky-load-more {
    clear: both;
    padding-bottom: 20px;
}
.malinky-ajax-pagination-loading {
    clear: both;
}

/* Single Post title */
.single-post article.post h1 {

}

.body-content h2, .body-content h3, .body-content h4 {
  font-family: var(--dunszt-font-family-title);
  font-weight: 300;
}

h1.entry-title {
  font-family: var(--dunszt-font-family-title);
  font-weight: 300;
  margin-bottom: 10px;
  font-size: 2.2em;
}

.single-post article.post div.post-content-wrap {
  padding-top: 10px;
}

.above-entry-meta {
  font-size: 16px;
  font-family: var(--dunszt-font-family-title);
  font-weight: 500;
}

.post-meta {
  margin-bottom: 10px;
  font-family: var(--dunszt-font-family-title);
}

.post-meta .author-meta > * {
  color: var(--dunszt-black-color);
  font-weight: bold;
  font-size: 16px;
  vertical-align: middle;
  margin-right: 12px;
}

.post-meta .time-meta {
  color: var(--dunszt-grey1-color);
  font-size: 16px;
  font-weight: 500;
  vertical-align: middle;
}

.post-meta .excerpt-meta {
  font-family: var(--dunszt-font-family-text);
  display: block;
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.5em;
  letter-spacing: 0.2px;
}

/* Widgets */
.sidebar-wrap .sidebar-widget {
  font-size: 16px;
}

.sidebar-wrap .widget-title {
  border-top: 7px solid var(--dunszt-black-color);
}

.mks_author_widget {
  margin-left: 10px;
}

.mks_author_widget h3 a {
  color: var(--dunszt-black-color);
  font-family: var(--dunszt-font-family-title);
  font-weight: 700;
  margin-top: 20px;
  font-size: 16px;
}

.popular-posts .wpp-list .wpp-post-title,
.sidebar-wrap .rpwwt-post-title,
.sidebar-wrap .rpwwt-post-author {
      display: block;
      font-weight: 700;
      font-size: 14px;
      font-family: var(--dunszt-font-family-title);
      text-transform: none;
}

.popular-posts .wpp-list .wpp-excerpt,
.sidebar-wrap .rpwwt-post-excerpt{
      font-family: var(--dunszt-font-family-text);
}

.feedzy-rss .title{
      font-family: var(--dunszt-font-family-title);
      font-weight: 700;
}

.tptn_counter {
    display: none;
}

/* Paragraph formatting ================================== */
.no-border {
    margin: 50px 0 50px 0;
}

.highlight {
    font-size: 25px;
    padding: 20px !important;
    margin: 50px 0 50px 0;
}

/* Red border left */
.single-post article.post div.post-content-wrap > p {
  border-left: var(--dunszt-red-light2-color) 1px solid !important;
  padding: 0 0 0 10px;
  margin: 50px 0 50px 0;
}

/* VM - Remove red border left */
.single-post article.post div.post-content-wrap > p.vm {
  border-left: white 1px solid !important;
}

/* SK - Justify */
.single-post article.post div.post-content-wrap > p.sk {
  text-align: justify;
}

/* Drop Cap */
/* OLD
.single-post article.post div.post-content-wrap > p:first-of-type:first-letter {
  float: left;
  font-family: var(--dunszt-font-family-title);
  font-weight: 200;
  font-size: 64px;
  margin: 0 6px 0 0;
  padding: 15px 0 14px 4px;

}
*/

.has-drop-cap:not(:focus):first-letter {
  font-family: var(--dunszt-font-family-title);
  font-weight: 200;
  font-size: 3.1em;
  line-height: .9;
}

.aligncenter {
  margin: 0px auto 0px auto;
}

/* Single Post "kiemelt" ================================== */
.single-post article.post p.kiemelt {
    font-style: italic !important;
    padding: 20px !important;
    background-color: var(--dunszt-grey3-color) !important;
    border: var(--dunszt-red-light2-color) 1px solid !important;
}

.single-post article.post pre {
    background: unset;
    font-family: unset;
    font-size: unset;
    line-height: unset;
    max-width: unset;
    overflow: unset;
    border-left: var(--dunszt-red-light2-color) 1px solid !important;
    padding: 0 0 0 10px;
    margin: 50px 0 50px 0;
}

/* please support ================================== */
.please-support {
  background: var(--dunszt-grey1-color);
  margin-left: -10px;
}

.please-support-inner {
  color: white;
  margin-left: 10px;
  padding: 9px 9px 20px 9px;
  border-left: 1px solid white;
  background: var(--dunszt-grey2-color);
  background-image: url("img/dunszt-logo-white-cropped-320.png");
  background-position: right bottom; /*Positioning*/
  background-repeat: no-repeat;
}

.please-support a,
.please-support a:hover {
  display: inline-block;
  background-image: url("img/AM_mc_vs_ms_ae_UK.jpg");
  background-position: right;
  background-size: 134px 46px;
  background-repeat: no-repeat;
}

.please-support a div {
  margin-right: 134px;
}

/* social sharing ================================== */

.social-sharing {
    margin: 10px 0px 10px 0px;
    clear: both;
		text-align: right;
}

.social-sharing-please-share {
    font-family: var(--dunszt-font-family-body);
    font-size: 16px;
    color: var(--dunszt-red-dark1-color);
    display: inline-block;
}

.social-sharing-links {
  display: inline-block;
  margin-left: 15px;
}

.social-sharing-link {
    width: 34px;
    text-align: center;
    padding: 4px 8px 2px 8px !important;
    color: white;
    font-size: 18px;
    margin-left: 5px;
    margin-top: 2px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.social-sharing-link .fa {
    color: white;
}

.social-sharing-facebook {
    background: #3B5997;
}

.social-sharing-facebook:hover,.social-sharing-facebook:active {
    background: #2d4372;
}

.social-sharing-twitter {
    background: #1da1f2;
}

.social-sharing-twitter:hover,.social-sharing-twitter:active {
    background: #0084b4;
}

.social-sharing-googleplus {
    background: #D64937;
}

.social-sharing-googleplus:hover,.social-sharing-googleplus:active {
    background: #b53525;
}

.social-sharing-tumblr {
    background: #455469;
}

.social-sharing-tumblr:hover,.social-sharing-tumblr:active {
    background: #35404e;
}

.social-sharing-email {
    background: var(--dunszt-grey2-color);
}

.social-sharing-email:hover,.social-sharing-email:active {
    background: var(--dunszt-grey1-color);
}

.social-sharing-print {
    background: var(--dunszt-grey2-color);
}

.social-sharing-print:hover,.social-sharing-print:active {
    background: var(--dunszt-grey1-color);
}

/* Tags */
.single-post article.post div.tags {
  margin-top: 16px;
  color: var(--dunszt-grey2-color);
}

.single-post article.post div.tags i.fa-tags {
	color: var(--dunszt-grey2-color);
  margin-right: 5px;
}

.single-post article.post div.tags a {
  font-family: var(--dunszt-font-family-body);
  font-size: 15px;
  /* background-color: var(--dunszt-grey1-color);
  */
	padding: 0px 3px;
	color: var(--dunszt-grey1-color);
  display: inline-block;
}

.single-post article.post div.tags a:hover {
  color: white;
	background-color: var(--dunszt-grey1-color);
	text-decoration: none;
}

/* author avatar */
img.author-avatar {
	border-radius: 50%;
	border-color: white;
}

/* OLD author info box ================================== */
.author-box {
    display: none;
}

.author-info-box1 {
    background: linear-gradient(to bottom right, white, rgb(206, 56, 32));
    padding: 2px;
    margin-top: 36px;
    margin-left: 46px;
}

.author-info-box2 {
    position: relative;
    background: white;
    min-height: 110px;
}

.author-info-box3 {
    position: absolute;
    top: -7px;
    bottom: -7px;
    left: -7px;
    right: -7px;
  	border: 12px dotted;
    border-color: white;
    pointer-events: none;
}

.author-info-avatar {
	background-size: cover;
  background-color: white;
	border-radius: 50%;
	border-color: white;
	position: relative;
	top: -26px;
	left: -46px;
	width: 140px;
	height: 140px;
	filter: sepia(50%);
	box-shadow: inset 0px 0px 0px 6px rgba(200, 200, 200, 0.4);
	float: left;
}

.author-info-text {
	padding: 15px 15px 15px 0px;
	overflow: hidden;
}

.author-info-name {
   padding-top: 6px;
   padding-bottom: 6px;
   font-size: 17px;
   font-weight: bold;
   text-transform: uppercase;
}

.author-info-name a {
    color: var(--dunszt-black-color);
}

.author-info-description {
   font-size: 13px;
}

/* RSS feed ================================== */
li.rss_item {
    padding: 0px 0px 5px 0px !important;
}

.feedzy-rss .rss_item .title {
    font-weight: normal;
}

div.feedzy-rss ul li span a[href^="https://ujszo.com/"]::before {
    content: "Új Szó: ";
    font-weight: bold;
}

div.feedzy-rss ul li span a[href^="http://ujszo.com/"]::before {
    content: "Új Szó: ";
    font-weight: bold;
}

div.feedzy-rss ul li span a[href^="https://trafik.sk/"]::before {
    content: "Trafik: ";
    font-weight: bold;
}

div.feedzy-rss ul li span a[href^="http://trafik.sk/"]::before {
    content: "Trafik: ";
    font-weight: bold;
}

div.feedzy-rss ul li span a[href^="https://www.bumm.sk/"]::before {
    content: "Bumm: ";
    font-weight: bold;
}

div.feedzy-rss ul li span a[href^="http://www.bumm.sk/"]::before {
    content: "Bumm: ";
    font-weight: bold;
}

div.rss_content small {
    font-size: 12px !important;
    color: var(--dunszt-grey2-color);
    font-style: normal !important;
}

div.rss_content small::before {
    content: "\f133";
    font-family: FontAwesome;
    font-size: 10px !important;
    padding-right: 3px;
}

/* impresszum ================================== */
.twocolumns {
	  -moz-column-count: 2;
	  -moz-column-gap: 10px;
	  -moz-column-rule: none;
	  -webkit-column-count: 2;
	  -webkit-column-gap: 10px;
	  -webkit-column-rule: none;
	column-count: 2;
	column-gap: 10px;
	column-rule: none;
}
.impresszum-table {
    width: auto;
}
.impresszum-table td {
    border: none;
    padding: 6px 10px 6px 0;
}
.impresszum-table td:first-child {
    font-style: italic;
}

.impresszum-tamogato-logo {
    margin-top: -30px;
}

.impresszum-tamogato-szoveg {
    font-size: small;
    width: 200px;
    float: left;
}

.impresszum-tamogato-szoveg p {
    font-size: small;
}

/* contactform margin ================================== */
div.wpcf7 {
    margin: 20px 0 20px 0;
    padding: 20px;
    border: 1px solid var(--dunszt-red-light2-color);
    overflow: auto;
}
input.wpcf7-form-control.wpcf7-submit {
    font-family: var(--dunszt-font-family-body);
    margin: 0;
}
body:not(.page-id-28) .grecaptcha-badge {
    display: none;
}

/* partnereink ================================== */
#rig {
    max-width:900px;
    margin:0 auto;
    padding: 20px 0px 30px 0px;
    font-size:0;
    list-style:none;
    background-color:#fff;
}
#rig li {
    display: inline-block;
    *display:inline;/*for IE6 - IE7*/
    width:25%;
    vertical-align:middle;
    box-sizing:border-box;
    margin:0;
    padding:0;
}

.rig-cell {
    display:block;
    position: relative;
    overflow:hidden;
    padding: 10px;
}

.rig-img {
    display:block;
    width: 100%;
    height: auto;
    border:none;
    margin: 0;
    transform:scale(1);
    transition:all .02s ease;
    filter: gray; /* IE6-9 */
    filter: grayscale(1); /* Microsoft Edge and Firefox 35+ */
    -webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
}

#rig li:hover .rig-img {
    transform:scale(1.1);
    filter: none;
    -webkit-filter: grayscale(0);
}

@media (max-width: 9000px) {
    #rig li {
        width:25%;
    }
}

@media (max-width: 900px) {
    #rig li {
        width:33.33%;
    }
}

@media (max-width: 550px) {
    #rig li {
        width:50%;
    }
}

/* tamogatas ================================== */
.paypal-payment {
    border-left: 4px solid var(--dunszt-red-color);
    padding-left: 10px;
    margin-left: 40px;
    margin-top: 20px;
}

/* kereses ================================== */
.search-form label {
    display: initial;
}

input.search-field {
    width: 65%;
    padding: 0 6px;
}

input.search-submit {
    font-family: var(--dunszt-font-family-body);
    font-size: .9em;
    width: 33%;
    padding: 8px 0;
}
