/*
Theme Name: GOPS Wieprz
Theme URI: http://diseneo.pl
Author: Artur Pawłowski
Author URI: http://diseneo.pl
Description: Opis
Version: 1.0
Text Domain: gopswieprz
*/

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
        white-space: nowrap;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Theme */

body {
  font-family: 'Roboto', sans-serif;
  font-size:15px;
  background: #fff;
  color:#000;
}

a {
  color: #000;
  transition: color 0.2s ease-out, background 0.2s ease-out, border 0.2s ease-out;
}

:focus {
  outline: none !important;
}

img {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

#topbar {
  border-bottom:1px solid #eee;
  font-size:14px;
  color:#333;
  line-height: 40px;
}

.left,
#topbar .left > * { float:left; }

.right { float:right; }
#topbar .right > * { float:left; }

#topbar p {
  margin:0;
}

#topbar .tel:before {
  content:url(assets/images/tel.png);
  float:left;
  margin:2px 5px 0 0;
}

#topbar .tel {
  font-weight: 500;
}

#topbar .tel a {
  color:#333;
}

#topbar #bip,
#topbar #epuap {
  margin:0 10px;
}

#topbar #normal-font,
#topbar #large-font {
  font-weight: 700;
}

#topbar #large-font {
  font-size: 18px;
}

#topbar #contrast {
  width:22px;
  height:22px;
  background:url(assets/images/contrast.png) no-repeat center center;
  display: inline-block;
  margin-top:9px;
  text-indent: -9999px;
}

#topbar #normal-font,
#topbar #large-font,
#topbar #contrast {
  cursor: pointer;
  margin-left:10px;
  display: inline-block;
}

#header {
  margin-bottom:30px;
}

body:not(.home) #header {
  background:#fafafa;
  border-bottom:1px solid #eee;
}

#header .container {
  padding-top:30px;
}

#header a strong {
  font-size:30px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 1px;
  color:#333;
  margin:6px 0;
  display: inline-block;
}

#header a img {
  float:left;
  margin-right: 30px;
}

#header nav {
  clear:left;
  background:#cc0000;
  margin-top:30px;
  position: relative;
}

#header nav .navbar-collapse {
  padding:0;
}

#header nav a {
  color:#fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  padding-left:20px;
  padding-right:20px;
}

#header nav a:hover,
#header nav li.open a {
  background-color:#db4c4c;
}

#header nav .dropdown-menu {
  padding:0;
  border:0;
}

#header nav .dropdown-menu a {
  padding:7px 20px;
}

#header #search-form {
  position: absolute;
  top:0;
  right:0;
  background:#cc0000;
}

#header #search-form input {
  border:0;
  background:rgba(255,255,255,0.3);
  color:#fff;
  height:50px;
  padding:0 30px;
}

#header #search-form input::-webkit-input-placeholder { color: pink; }
#header #search-form input::-moz-placeholder { color: pink; }
#header #search-form input:-ms-input-placeholder { color: pink; }
#header #search-form input:-moz-placeholder { color: pink; }

#header #search-form button,
#header #search-button {
  width:50px;
  height:50px;
  background:#cc0000 url(assets/images/search.png) no-repeat center center;
  border:0;
  text-indent: -9999px;
}

#header #search-button {
  cursor: pointer;
}

#header #breadcrumbs {
  padding:15px 0;
  font-weight: 500;
  font-size:14px;
  color:#333;
  float:left;
  width: calc(100% - 50px);
}

#header #breadcrumbs a {
  color:#333;
}

#header #pdf-print {
  float: right;
  margin-top:10px;
}

#header #pdf-print > div {
  float:right;
}

#header #pdf-print .fa-print {
  font-size: 150%;
  margin-top: 4px;
}

#header .dkpdf-button-container {
  padding:0;
  width:auto;
}

#content {
  float:right;
}

#left-column section > div {
  border:1px solid #eee;
  margin-bottom: 30px;
  float:left;
  width:100%;
}

#left-column section h3 {
  margin:0;
  background:#f7f7f7;
  padding:15px;
  font-size:15px;
  color:#333;
  text-transform: uppercase;
  font-weight: 700;
}

#left-column section > div > div {
  padding:0 10px;
}

#left-column section.widget_nav_menu ul {
  list-style: none;
  padding:0;
  margin:0;
}

#left-column section.widget_nav_menu ul.menu > li > a {
  padding:10px 5px 10px 23px;
  display: block;
  border-bottom:1px solid #eee;
  font-weight: 500;
  color:#333;
  position: relative;
}

#left-column section.widget_nav_menu ul.menu > li:last-of-type > a {
  border:0;
}

#left-column section.widget_nav_menu ul.menu > li.current-menu-item > a,
#left-column section.widget_nav_menu ul.menu > li.current_page_parent > a {
  font-weight: 900;
}

#left-column section.widget_nav_menu ul.menu > li.current_page_parent ul li.current-menu-item a {
  font-weight: 700;
}



#left-column section.widget_nav_menu ul.menu > li > a:before {
  content: "";
  width: 6px;
  height:6px;
  background:#ddd;
  position: absolute;
  left:5px;
  top:50%;
  margin-top:-3px;
  transition: all 0.2s ease-out;
}

#left-column section.widget_nav_menu ul.menu > li > a:hover:before {
  background:#cc0000;
}

#left-column section.widget_nav_menu ul.sub-menu {
  display: none;
}

#left-column section.widget_nav_menu ul.sub-menu > li > a {
  padding:5px 5px 5px 23px;
  display: block;
  border-bottom:1px solid #eee;
  font-weight: 400;
  color:#333;
  position: relative;
  line-height: 1.2;
  font-size:14px;
}

#left-column section.widget_nav_menu li.current-menu-item ul.sub-menu,
#left-column section.widget_nav_menu li.current_page_parent ul.sub-menu {
  display: block;
  background:#f6f6f6;
}

/* CALENDAR */

#left-column section.tribe-events-list-widget ol {
  list-style: none;
  padding:0 10px;
  margin:0;
}

#left-column section.tribe-events-list-widget ol li {
  padding:12px 5px;
  margin:0;
  border-bottom: 1px solid #eee;
}

#left-column section.tribe-events-list-widget ol h4 {
  font-size:15px;
}

#left-column section.tribe-events-list-widget ol h4 a {
  color:#333;
}

#left-column section.tribe-events-list-widget ol .tribe-event-duration {
  font-size:14px;
}

#left-column section.tribe-events-list-widget .tribe-events-widget-link {
  text-align: center;
  display: block;
  margin:10px 0;
}

#left-column section.tribe-events-list-widget .tribe-events-widget-link a {
  font-size:14px;
}


/* Newsletter */

#left-column section.widget_wysija > div > div {
  padding:15px;
  font-size:14px;
  color:#333;
  line-height: 1.3;
}

#left-column section.widget_wysija p {
  margin:0;
}

#left-column section.widget_wysija input[type="text"] {
  width:100%;
  border:1px solid #eee;
  padding:15px 20px;
  margin-top:15px;
  color:#666;
}

#left-column section.widget_wysija input[type="submit"] {
  border:0;
  background:none;
  float:right;
  position: relative;
  color:#cc0000;
  text-transform: uppercase;
  font-weight: 500;
  margin:15px 0;
}

#left-column section.widget_text > div {
  border:0;
}

.home #content article,
.category #content article,
.search #content article{
  border-bottom:1px solid #eee;
  padding-bottom: 30px;
  margin-bottom: 30px;
  float:left;
  width:100%;
}

.home #content article .attachment-thumbnail,
.category #content article .attachment-thumbnail,
.featured-image.thumb {
  float:left;
  margin-right:20px;
  margin-bottom: 5px;
}

.home #content article small,
.category #content article small,
.search #content article small {
  font-size:13px;
  color:#646464;
}

.home #content article h2,
.category #content article h2,
.search #content article h2 {
  font-size:22px;
  font-weight: 700;
  margin:0 0 10px;
}

.home #content article h2 a,
.category #content article h2 a,
.search #content article h2 a {
  color:#00265a;
}

.home #content article p:last-of-type,
.category #content article p:last-of-type,
.search #content article p:last-of-type {
  margin:0;
}

.wp-pagenavi {
  text-align: center;
  margin: 20px 0;
  display: block;
  float: left;
  width: 100%;
}

.wp-pagenavi .pages {
  display: none !important;
}

.wp-pagenavi a,
.wp-pagenavi span.current {
  border:0 !important;
  padding:10px 15px !important;
  background:#eee;
}

.wp-pagenavi a:hover,
.wp-pagenavi span.current {
  background:#cc0000;
  color:#fff;
}

.wp-pagenavi span.extend {
  display: none;
}

footer {
  background:#f7f7f7 url(assets/images/maps.jpg) no-repeat center center;
  text-align: center;
  padding:40px 0;
  margin-top:20px;
}

footer img {
  display: block;
  margin:0 auto 20px;
}

footer strong {
  font-size:18px;
  font-weight: 500;
}

footer em {
  font-size:16px;
  font-style: normal;
}

footer strong,
footer em {
  display: block;
}

footer p {
  margin:15px 0;
}

footer a,
#copyright a {
  font-weight: 500;
}

#copyright {
  padding:20px 0;
  font-size:14px;
}


h1.title {
  margin:5px 0 25px;
}

.single .date {
 color:#646464;
 font-size:14px;
 margin-bottom: 10px;
}


@media (max-width:767px) {
  #topbar #normal-font,
  #topbar #large-font,
  #topbar #contrast {
    display: none;
  }
  #topbar #epuap {
    margin-right:0;
  }
  .navbar-toggle .icon-bar {
    background:#fff;
  }
  #header #search-form button {
    float:right;
  }
  .navbar-toggle {
    margin-right: 5px;
  }
  #header #search-button {
    position: absolute;
    top:0;
    left:0;
  }
  .navbar-nav { margin:0; }
  
  #header a img {
    height:60px;
    margin-right: 20px;
  }
  
  #header a strong {
    font-size: 24px;
    margin: 4px 0 0;
  }
  
  #copyright > div > div {
    float:none;
    display: block;
    text-align: center;
  }
  
  @media (max-width:360px) {
    .home #content article .attachment-thumbnail,
    .category #content article .attachment-thumbnail
    .featured-image.thumb { width:100%; margin-bottom:15px; }
  }
  
  @media (min-width:361px) and (max-width:599px) {
    .home #content article .attachment-thumbnail,
    .category #content article .attachment-thumbnail, 
    .featured-image.thumb { width:50%; }
  }
  
  
  
  
}

@media (min-width:768px) {
  #topbar .tel { margin-left: 20px; }
  
  #header #search-form button,
  #header #search-button {
    float:right;
  }
  
  #header nav .to-home {
    text-indent:-9999px;
    width:50px;
    height:50px;
  }

  #header nav .to-home a {
    transition: background-color 0.2s ease-out;
    background:#d63232 url(assets/images/home.png) no-repeat center center;
  }

  #header nav .to-home a:hover {
    background:#db4c4c url(assets/images/home.png) no-repeat center center;
  }
  
  #header #search-button {
    margin-top:-50px;
  }
  
  #header nav li:after {
    content:"";
    position: absolute;
    top:18px;
    z-index: 1;
    width:0px;
    height:15px;
    border-right:1px solid #db4c4c;
    left:0;
  }

  #header nav li:nth-of-type(1):after,
  #header nav li:nth-of-type(2):after {
    display: none;
  }
  
  #header nav a {
    margin-left:1px;
  }

  #header nav li:nth-of-type(1) a,
  #header nav li:nth-of-type(2) a {
    margin-left:0;
  }
  
  #header .container {
    background: url(assets/images/header-bg.png) no-repeat right top;
  }

}

@media (max-width:991px) {
  #search-form {
    width: 100%;
    height: 50px !important;
    z-index: 10;
  }
  #search-form input[type="search"] {
    width: calc(100% - 100px);
  }
  #close {
    width:50px;
    height:50px;
    float:left;
    background:#cc0000 url(assets/images/close.png) no-repeat center center;
    cursor: pointer;
  }
}

@media (max-width:992px) {
  #header #search-form {
    display: none;
  }
  #left-column {
    margin-top:30px;
  }
  .contact-img img { display: none; }
  .contact-img iframe { 
    width:100%;
    height:400px;
  }
}

.featured-image {
  margin-bottom:20px;
}

#statut h3,
#statut h4 {
  text-align: center;
}

#statut h3 strong {
  display:block;
  font-size:75%;
}

span.wpcf7-form-control-wrap {
  display: block;
}

span.wpcf7-form-control-wrap {
  margin-top: 15px !important;
}

.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  box-sizing: border-box;
  height: auto;
  font-size: 15px;
}

.wpcf7-form input[type="submit"] {
    border: 0;
    background: #cc0000;
    padding: 12px 25px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
    margin: 10px 0 6px;
}

body:not(.home) #content a {
  color:#1a0dab;
}

body:not(.home) #content a:visited {
  color:#609;
}

body:not(.home) #content p {
  margin-bottom: 20px;
  line-height: 1.7;
}

body:not(.home) #content li {
  line-height: 1.7;
}

body:not(.home) #content p + ul,
body:not(.home) #content p + ol {
  margin-top:-10px;
}

body:not(.home) #content ul,
body:not(.home) #content ol {
  margin-bottom:10px;
}



.search h1 {
  text-align: center;
  margin-bottom: 20px;
}

#normal-font {
  font-size:15px !important;
}

#content .tribe-events-back,
#content .tribe-events-cal-links,
#content .tribe-events-ical {
  display:none !important;
}

#content .tribe-events-schedule {
  margin:0 !important;
}

#content .tribe-events-schedule h2 {
  margin:0;
  font-size:20px;
}

.site-building {
  text-align: center;
}

.tribe-events-list-widget > div h3 + p {
  text-align: center;
  padding:15px 15px 5px;
}


@media print {
  header,
  #left-column,
  .wp-pagenavi,
  footer,
  .contact-form,
  #copyright { display: none; }
}



.up_font.home #content article small, 
.up_font.category #content article small,
.up_font #tribe-bar-form label,
.up_font .tribe-event-schedule-details,
.up_font .tribe-events-event-meta {
  font-size:15px !important;
}

.up_font #topbar,
.up_font #header nav a,
.up_font #header #search-form input,
.up_font #left-column section.tribe-events-list-widget ol .tribe-event-duration,
.up_font #left-column section.widget_wysija > div > div,
.up_font #header #breadcrumbs,
.up_font #left-column section.widget_nav_menu ul.sub-menu > li > a,
.up_font #left-column section.tribe-events-list-widget .tribe-events-widget-link a,
.up_font #copyright
{
  font-size:16px !important;
}

.up_font #left-column section h3,
.up_font #left-column section.widget_nav_menu ul.menu > li > a,
.up_font #left-column section.tribe-events-list-widget ol h4,
.up_font #content p,
.up_font #content li,
.up_font input,
.up_font textarea,
.up_font table *,
.up_font footer p,
.up_font footer a,
.up_font.single-tribe_events #tribe-events-content .tribe-events-event-meta dt,
.up_font.single-tribe_events #tribe-events-content .tribe-events-event-meta dd,
.up_font #tribe-bar-form input[type=text],
.up_font .tribe-events-list .tribe-events-loop .tribe-events-content {
  font-size:17px !important;
}

.up_font footer em,
.up_font .tribe-events-nav-next {
  font-size:18px !important;
}

.up_font footer strong,
.up_font .tribe-events-meta-group .tribe-events-single-section-title{
  font-size:20px !important;
}

.up_font #content .tribe-events-schedule h2,
.up_font .tribe-events-day .tribe-events-day-time-slot h5 {
  font-size:24px !important;
}

.up_font.home #content article h2, 
.up_font.category #content article h2,
.up_font .tribe-events-list-event-title,
.up_font .tribe-events-list-separator-month {
  font-size:28px !important;
}

.up_font #header a strong {
  font-size:36px !important;
  margin:0 !important;
}