/* 
Theme Name: MirT Theme
Theme URI: 
Author: MirT Mirosław Tuszyński
Author URI: 
Description: Starter theme for wordpress including Boostrap
Version: 1.0.0
License:
License URI:
Tags: responsive, minimal, bootstrap

*/

:root {
  --main-color: #ed1b24;
}
body {
  font-family: 'Open Sans Condensed', sans-serif;
  box-sizing: border-box;
  font-size:1.2rem;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'PT Serif', serif;
}
h1 {font-size:2.0rem;}
h2{font-size: 1.5rem;}
a:link {text-decoration: none;}
    a:visited {text-decoration: none;}
    a:active {text-decoration: none;}
    a:hover {text-decoration: none;}
ul {list-style-type:none;}
iframe {
  width: 100%;
  height: 360px;
}
img {
      max-width: 100%;
      height: auto;
  }
.container {max-width:1240px;}
/* HEADER */
.navbar {
    font-family: 'Open Sans Condensed', sans-serif;
    text-transform: uppercase;
    font-size:1.2rem;
    font-weight: 700;
    background: #FFF;
    margin: 30px 0;
    border-bottom: 1px solid #000;
}

.navbar-light .navbar-nav .nav-link {
  color:#000;
}
.nav-link:hover{
  color:var(--main-color)!important;
}

.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link{color:var(--main-color)!important;}
/* The overlay effect with black background */
.openBtn {
  cursor: pointer;
}
.overlay {
height: 100%;
width: 100%;
display: none;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0, 0.9); /* Black with a little bit see-through */
}

/* The content */
.overlay-content {
position: relative;
top: 46%;
width: 80%;
text-align: center;
margin-top: 30px;
margin: auto;
}

/* Close button */
.overlay .closebtn {
position: absolute;
top: 20px;
right: 45px;
font-size: 60px;
cursor: pointer;
color: white;
}

.overlay .closebtn:hover {
color: #ccc;
}

/* Style the search field */
.overlay input[type=text] {
padding: 15px;
font-size: 17px;
border: none;
float: left;
width: 80%;
background: white;
}

.overlay input[type=text]:hover {
background: #f1f1f1;
}

/* Style the submit button */
.overlay button {
float: left;
width: 20%;
padding: 15px;
background: #ddd;
font-size: 17px;
border: none;
cursor: pointer;
}

.overlay button:hover {
background: #bbb;
}

/*Features Post */
.features-container{
  display: flex;
  flex-flow: row wrap;
}

.features-main {
  background: #eff8fa;
  margin-top: 30px;
  margin-bottom: 50px;
  width:100%;
  height:380px;
  display: flex;
}
.features-main-image {
  height: 460px;
  width:50%;
  margin-top:30px;
  margin-left:16px;
}

.features-main-text{
  width:50%;
  height:400px;
  margin-right: 16px;
  margin-left:20px;
  margin-top:2rem;
}
.features-main-text h2.title 
{font-family: 'PT Serif', serif;
  font-weight: 700;
  font-size:2rem;
}

.category-name {
  font-family: 'Open Sans Condensed', sans-serif;
  text-transform: uppercase;
  color:var(--main-color);
  margin-bottom:0 0.8rem;
}

.category-name a{
  color:var(--main-color)!important;
  font-weight: 700;
}
.title {
  color: #000;
}
.title h2 {
  font-weight: 700;
}
.title a{
  color: #000;
}
.details{
  display:block;
}

.author a{
  font-family: 'Open Sans Condensed', sans-serif;
  text-transform: uppercase;
  color:#000;
}
.author{
  font-size:1rem;
}
.features-excerpt{
  font-size:1.4rem;
}
.news-container {
  margin-top: 4rem;
  display: flex;
  flex-flow: row wrap;
}

.section-article {
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
}
.footer {
  background: #000;;
  min-height:200px;
}
.article-wrapper{
  display: flex;
  flex: row wrap;
  width: 25%;
  padding:0 10px;
  margin-bottom:40px;
}
.article-wrapper h2{
  text-transform: none;
}

.pages {
  width: 100%;
    text-align: center;
  font-size: 1.5rem;
  padding-bottom:20px;
  border-top: 1px solid #000;
  line-height: 2.4;
  font-size: 20px;
  font-family: 'Open Sans Condensed', sans-serif;
  font-weight: 700;
}
.article-image {
  margin-bottom:20px;
}
.section-latest {
  background: #000;
  width:100%;
  min-height:400px;
      margin-bottom: 40px;
}
.latest-wrapper {
  width: 80%;
  height: 100%;
  margin: 16px 20px 0px 20px;
}
.latest-head {
    font-size: 30px;
    border-bottom: 1px solid #DCDCDC;;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 30px;
    font-family: 'Open Sans Condensed', sans-serif;
}
.latest-content {
  display: flex;
  flex-flow: row wrap;
  width: 100%;
}
.latest-author{
  font-family: 'Open Sans Condensed', sans-serif;
  text-transform: uppercase;
  margin-bottom: 40px;
  border-bottom: 1px solid #DCDCDC;
  font-size:14px;
}

.latest {
  width: 33%;
  padding-right: 1.6rem;
}

.latest-title {
  font-size:1.6rem;
  height: 100px;
  font-family: 'Open Sans Condensed', sans-serif;
}
.post-image {
  text-align: center;
}
.post-content p{
  font-family: 'PT Serif', serif;
  margin-top:20px;
}

.tagi a{color:#6c757d;}
.archive-title {
  width: 100%;
  margin-bottom: 20px;
  padding-left:10px;
}
/* AUTHOR PAGE */
.author-page-container {
  display: flex;
  flex-direction: row;
  margin: 20px 0px;
  padding: 0px 10px;
}
.author-page-content {
  padding: 20px;
  font-size:1.2rem;
}
.author-name {
 display:block;
 padding: 0px 10px;
}
.content-line {
  height:1px;
  background:#000;
  margin-left:10px;
  width:40%;
}
/* FOOTER */
.widget-title{
  font-family: 'Open Sans Condensed', sans-serif;
  color:var(--main-color);
  margin:20px 0px;
}
ul#menu-menu-footer1 {
  padding-left: 0px;
}
ul#menu-menu-footer1 a{
  color:#FFF;
}
ul#menu-menu-spolecznosc{
  padding-left: 0px;
}
ul#menu-menu-spolecznosc a{
  color:#FFF;
}
ul#menu-menu_projekty {
  padding-left: 0px;
}
ul#menu-menu_projekty a{
  color:#FFF;
}

.tagi {
  margin-bottom: 20px;
}
.readmore {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width:100%;
}
.post-next, .post-previous {
  width: 30%;
  margin-bottom:30px;
}
.post-next h4, .post-previous h4 {
  margin-top:10px;
}
a.previous {margin-bottom: 20px;}
.post-next a.previous {float:right;}
.post-previous a.previous {float:left;}
.post-previous a, .post-next a {color:#000;}
.page-numbers {
  margin-right: 5px;
}
a.page-numbers {
  color: #000;
}
a.page-numbers:hover{
  color:var(--main-color);
}
.page-numbers.current {
  color:var(--main-color);
}
.post-content ul li {
  list-style-type: disc;
}
.entry-title{
  font-weight:700;
}

.post-caption{
  display: flex;
  justify-content: flex-end;
  font-style: italic;
  font-size: 1rem;
}
blockquote
{
  border-left: 3px solid red;
  color: #1a1a1a;
  font-family: 'PT Serif', serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1.4em;
  margin: 1.1em -4em;
  padding: 0.6em 2em;
  position: relative;
  transition: .2s border ease-in-out;
  z-index: 0;}
  blockquote:before{
    content: "";
    position: absolute;
    top: 50%;
    left: -4px;
    height: 2em;
    background-color: #FFF;
    width: 5px;
    margin-top: -1em;}
    blockquote:after {
      content: "\22";
      position: absolute;
      top: 54%;
      left: -0.5em;
      color: red;
      font-style: normal;
      line-height: 1em;
      text-align: center;
      text-indent: -2px;
      width: 1em;
      margin-top: -0.5em;
      transition: .2s all ease-in-out, .4s transform ease-in-out;
      font-size: 60px;
  }
  blockquote p{
    font-size:18px;
    line-height: 1.8rem;
  }
  .advertisebox, .advertisebox_footer {
    padding-bottom: 20px;
    text-align:center;    
}


  .advertisebox_news{padding-top:50px;
    padding-bottom:20px;
    display: flex;
    justify-content: center;}
.grecaptcha-badge{
  display: none;
}
  @media (max-width: 980px)
 { 
  blockquote{
    font-size: 1.1em;
    margin: 1.1em -2em;}}
    
@media (max-width: 767px)
  {
  blockquote{
    border-top: 2px solid red;
    border-bottom: 2px solid red;
    border-left: none;
    margin: 1.5em 0;
    padding: 1.5em 1em;}
    blockquote:before{
      left: 50%;
      top: 0;
      height: 4px;
      margin-top: -3px;
      margin-left: -1em;
      width: 2em;}
    blockquote:after{
      font-size: 60px;
      left: 50%;
      top: 4%;
      margin-top: -0.5em;
      margin-left: -0.5em;}}
/* FORMULARZ KONTAKTOWY */
form.wpcf7-form.init {display: flex;flex-direction: column;}
/* UŻYTKOWE */
.fs14 {
  font-size: 14px;
}
.fs16 {
  font-size:16px;
}
.fs18{
  font-size:18px;
}
.wht {color:#FFF;}
.ht50 {height: 50px;}
.mb20 {margin-bottom: 20px;}
.mt20 {margin-top:20px;}
.cored {color:var(--main-color);}
.cored a{color:var(--main-color)!important;} 
/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) { 

 }

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) { 
  .navbar-light .navbar-toggler {
    border:none;
  }
  .author-page-container {
    flex-direction:column;
  }
  .post-next, .post-previous {
    width: 45%;}
    .post-previous h4 a, .post-next h4 a {
      font-size: 16px;
  }
 }

/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
  .features-main {
    height:100%;
    display: flex;
    flex-direction: column;
}
.features-main-image {
  width: 100%;
  text-align: center;
  height: auto;
  margin:0 auto;
}
.features-main-text {
  width: 100%;
  height: auto;
  margin: 2rem 0rem;
  padding: 0px 10px;
}
.article-image {
  height:auto;
}
.article-wrapper {
  width:100%;
}
.latest {
  width: 100%;
  padding-right: 0rem;
}
.latest-title {
  font-size:1.6rem;
 padding-right: 1.8rem;
}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1200px) { 

 }