/*
	Theme Name: Nextima - ZNP
	Theme URI: http://nextima.pl/
	Description: Nowy szablon ZNP
	Version: 1.0.1
	Author: Leszek Dubel (@dubelek)

	License: GPL
	License URI: 
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

 

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:15px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 20px 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%;
	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 .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}



#mega-menu-wrap-header-menu {
    background: transparent;
	color: #c1c1c1 !important;
}

#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link {
    background: transparent;
	color: #7a7a7a !important;
	    font-family: "Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
    font-weight: 400;
	font-size: 17px;
}

#mega-menu-wrap-header-menu #mega-menu-header-menu {
    visibility: visible;
    text-align: left;
    padding: 0px 0px 0px 0px;
}

@media only screen and (min-width: 769px) {
  #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link:hover {
    background: #f0f0f0;
    color: #fff;
    font-weight: normal;
    text-decoration: none;
    border-color: #fff;
  }
}
#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
  background: #f0f0f0;
  color: #fff;
  font-weight: normal;
  text-decoration: none;
  border-color: #fff;
}

.btn.focus, .btn:focus {
    outline: 0 !important;
    box-shadow: none !important;
}

#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
    background: #8F2B54;
    color: #fff !important;
    font-weight: normal;
    text-decoration: none;
    border-color: #fff;
}

.list-group-item {
    position: relative;
    display: block;
        padding-top: 0.75rem;
        padding-right: 0rem;
        padding-bottom: 0.75rem;
        padding-left: 0rem;
    background-color: #fff;
    border: 0px solid rgba(0,0,0,.125);
}

.list-group-item img {
    margin-right: 12px;
}

.list-group-item-action:hover {

    background-color: transparent !important;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;

    border: 0px solid #ced4da;
	border-bottom: 1px solid #ced4da;
    border-radius: 0rem;
}



.tribe-mini-calendar thead {
    background: #fff !important;
	color: #212529 !important;
}

.tribe-mini-calendar-nav td {
    background: #fff !important;
    border-color: transparent !important;
	color: #212529 !important;
}

.tribe-mini-calendar-nav span {
    color: #212529 !important;
    display: inline-block;
    font-weight: 400 !important;
    margin: 0 auto; margin-bottom: 15px;
    text-transform: none !important;
}

.tribe-mini-calendar-nav .prev-month {
    margin: 0 20px 0 0;
}

.tribe-mini-calendar th {
    background: #fff !important;
   border-color: transparent !important;
     color: #212529 !important;
    font-weight: 400 !important;
}

.tribe-mini-calendar-nav div {
    position: relative;
    margin-bottom: 15px;
}

.tribe-mini-calendar-no-event {
    color: #212529;
    display: block;
    font-weight: 400 !important;
    padding: 5px 5px 15px;
    text-decoration: none;
}

.tribe-mini-calendar-no-event {
    color: #212529 !important;  background: transparent !important;
    padding: 5px 0 15px;
}

.tribe-mini-calendar td {
   background: #fff !important;
    border-color: #fff;
    transition: all .2s cubic-bezier(.55,.085,.68,.53);
}

.tribe-mini-calendar .tribe-events-present, .tribe-mini-calendar .tribe-mini-calendar-today {
    background-color: #912450!important;
}

.tribe-mini-calendar td, .tribe-mini-calendar th {

    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.tribe-mini-calendar .tribe-events-has-events:hover a:hover {
    background: transparent !important;
}

.tribe-events-present .tribe-mini-calendar-no-event {
    background: transparent !important;
	color: #fff !important;
}

.tribe-mini-calendar .tribe-events-has-events div[id*="daynum-"] a::before {
    background: transparent !important;
    content:"\2022" !important;
	 color: #912450 !important;
}

.tribe-events-has-events div[id*="daynum-"] a {
     color: #212529 !important;
}
 
.tribe-events-has-events a {

    font-weight: 400 !important;

}
.tribe-mini-calendar .tribe-events-present.tribe-events-has-events, .tribe-mini-calendar .tribe-mini-calendar-today div[id*="daynum-"] a, 
.tribe-mini-calendar .tribe-events-present.tribe-events-has-events div[id*="daynum-"] a {
   color: #fff !important;
}


.tribe-mini-calendar .tribe-events-present.tribe-events-has-events div[id*="daynum-"] a::before  {
   color: #fff !important;
}

.tribe-mini-calendar-event .list-info h2 {
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
}

.tribe-mini-calendar-event .list-date {
    background: transparent !important;
}

.tribe-mini-calendar-event .list-date .list-daynumber {
    color: #8f2b54 !important;
    display: block;
    font-size: 28px !important;
    line-height: 1.0;
    text-align: center;
    width: 100%;
}

.tribe-mini-calendar-event .list-date .list-dayname {
   background: transparent !important;
    color: #666;
    display: block;
    font-size: 11px !important;
    letter-spacing: .5px;
    padding: 0px;
    text-align: center;
    text-transform: uppercase;
}

.tribe-mini-calendar-event .list-date {
    margin: 3px 5% 0px 0 !important;
}

.tribe-mini-calendar-event .list-info .tribe-events-duration {
    display: none;
}

.tribe-mini-calendar-event {
    margin-bottom: 10px;
    overflow: hidden;
    padding-bottom: 0px;
    width: 100%;
    background: #f2f2f2;
	border-bottom: 0px !important;
}

.tribe-mini-calendar-event .list-date  {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
}

.tribe-mini-calendar-event .list-date .list-dayname {
	order: 2;
	width: 100%;
}

.tribe-mini-calendar-event .list-date .list-daynumber {
	order: 1;
	width: 100%;
}

.tribe-mini-calendar-event {
    margin-bottom: 15px !important;
	align-items: center !important;
	display: flex !important;
}

.tribe-mini-calendar-event .list-info h2 {

    margin-bottom: 0px !important;

}

#freshMailPopUp__background { margin: 0 auto}

.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    margin-bottom: 30px;
}

