/*
Theme Name: Clean Theme SEO v2
Theme URI: http://fkolo.com
Author: Paweł Kula
Author URI: http://fkolo.com
Description: Lekki, sprawny i zoptymalizowany pod SEO 
*/

/*--------------------------------------------------------------
Generals
--------------------------------------------------------------*/

html {
	font-family: sans-serif;
}

body {
	margin: 0;
    color: #000;
    font-family: 'Open Sans';
    font-size: 17px;
    line-height: 1.8;
}

:hover,
:focus,
a:hover,
a:focus {
    text-decoration: none;
    outline: none;
}
a {
    color: #4f49c4;
}
a:hover {
    opacity: 0.8;
    color: #333;
}
img {
    max-width: 100%;
}
.flex {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
}
.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #4f49c4;
    margin: 0 0 21px;
}
.no-padding {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
}
.gallery {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.gallery-item {
    text-align: center;
    padding: 15px;
}
.gallery-item img {
    height: auto;
}
.gallery-columns-5 .gallery-item {
    width: 20%;
}
.gallery-columns-4 .gallery-item {
    width: 25%;
}
.gallery-columns-3 .gallery-item {
    width: 33.3333%;
}
.gallery-columns-2 .gallery-item {
    width: 50%;
}
/*--------------------------------------------------------------
Alignments
--------------------------------------------------------------*/

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.aligncenter.wp-caption {
    width: 100% !important;
    text-align: center;
    margin-top: 19px;
    margin-bottom: 19px;
}
.aligncenter.wp-caption .wp-caption-text {
    margin-top: 4px;
    font-size: 15px;
    font-weight: 300;
}
/*--------------------------------------------------------------
Navigation
--------------------------------------------------------------*/
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	color: #312783;
}
.main-navigation {
    font-size: 21px;
    font-weight: 300;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}
.main-navigation ul li {
    position: relative; 
    display: inline-block;
    padding: 0 9px;
}
.main-navigation ul:not(.sub-menu) > li:first-of-type {
    padding-left: 0;
}
.main-navigation a {
	color: #000;
}
.main-navigation a:hover {
	color: #4f49c4;
}

/*--------------------------------------------------------------
Navigation
--------------------------------------------------------------*/
.header-top {
    background-color: #E9E9E9;
    padding: 6px 0;
}
.header-top p {
    margin-bottom: 0;
}
.header-top .left {
    flex: 1;
}
.header-top .wersja-kontrastowa {
    color: #000;
}
.header-top .right {
    text-align: right;
}
.header-top .phone a {
    color: #312783;
}
.header-top .container,
.header-main .container {
    padding-left: 0;
    padding-right: 0;
}
.header-main {
    padding: 21px 0;
}
.header-main .flex {
    align-items: center;
}
.header-main .menu-wrap {
    flex: 1;
}
.header-main .search-form {
    border: 1px solid #BBB;
    border-radius: 9px;
    padding: 0 12px;
}
.header-main .search-field {
    padding: 6px 0;
}
.header-main .search-field,
.header-main .search-submit {
    border: none;
    background: none;
}
.header-main .search-submit img {
    max-width: 20px;    
}
.menu-toggle {
    display: none;
    border: none;
    background-color: transparent;
    padding: 0;
    margin: 0;
}
/*--------------------------------------------------------------
Front page
--------------------------------------------------------------*/
.front-slider {
    box-shadow: 0 0 8px #b7b7b7;
    background-color: #fff;
    padding: 0;
    margin-bottom: 42px;
}
.front-slider .flex {
    align-items: stretch;
}
.front-slider .slider-content {
    background: #bababa; /* Old browsers */
    background: -moz-linear-gradient(45deg, #bababa -1%, #bababa 0%, #bfbfbf 0%, #c2c2c2 6%, #bfbfbf 16%, #c6c6c6 34%, #c6c6c6 38%, #cdcdcd 45%, #cdcdcd 54%, #d6d6d6 70%, #d6d6d6 96%, #d2d2d2 100%, #c6c6c6 100%, #cfcfcf 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg, #bababa -1%,#bababa 0%,#bfbfbf 0%,#c2c2c2 6%,#bfbfbf 16%,#c6c6c6 34%,#c6c6c6 38%,#cdcdcd 45%,#cdcdcd 54%,#d6d6d6 70%,#d6d6d6 96%,#d2d2d2 100%,#c6c6c6 100%,#cfcfcf 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg, #bababa -1%,#bababa 0%,#bfbfbf 0%,#c2c2c2 6%,#bfbfbf 16%,#c6c6c6 34%,#c6c6c6 38%,#cdcdcd 45%,#cdcdcd 54%,#d6d6d6 70%,#d6d6d6 96%,#d2d2d2 100%,#c6c6c6 100%,#cfcfcf 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bababa', endColorstr='#cfcfcf',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    padding: 47px 32px 98px;
}
.front-slider .slider-content h3 {
    font-size: 21px;
    font-weight: 600;
    color: #4f49c4;
    margin: 0 0 12px;
}
.front-slider .slider-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    max-height: 400px;
}
.front-slider .slider-image img {
    width: 100%;
}
.front-slider .slider-indicators {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    left: 31px;
    bottom: 17px;
    width: auto;
}
.front-slider .slider-indicators li {
    cursor: pointer;
    display: inline-block;
    border-radius: 100%;
    background-color: white;
    width: 14px;
    height: 14px;
    line-height: 1;
    margin: 0;
}
.front-slider .slider-indicators li.active {
    border: 2px solid white;
    background-color: transparent;
}
.front-main-section {
    box-shadow: 0 0 8px #b7b7b7;
    background-color: #fff;
    padding: 27px 32px;
    margin-top: 17px;
    margin-bottom: 17px;
}
.front-main-section .news-wrap {
    padding-left: 0;
    padding-right: 35px;
    border-right: 1px solid #BBB;
}
.front-main-section .news-wrap .section-title {
    margin-top: 34px;
}
/*--------------------------------------------------------------
Page
--------------------------------------------------------------*/
#breadcrumbs {
    list-style: none;
    margin: 0 0 27px;
    overflow: hidden;
    padding: 0;
}
#breadcrumbs li {
    display:inline-block;
    vertical-align:middle;
    margin-right:6px;
}
#breadcrumbs .separator {
    font-size:12px;
    font-weight:300;
    color:#000;
}
#breadcrumbs a {
    font-size: 14px;
    font-weight: 300;
    color: #000;
}
#breadcrumbs strong {
    font-weight: 300;
    color: #4f49c4;
    font-size: 14px;
}
.page-main {
    box-shadow: 0 0 8px #b7b7b7;
    background-color: #fff;
    padding: 27px 32px;
    margin-top: 17px;
    margin-bottom: 17px;
}
.page-main .page-content {
    padding-left: 0;
    padding-right: 35px;
    border-right: 1px solid #BBB;
    font-weight: 300;
}
.page-header {
    padding-bottom: 0;
    margin: 0;
    border-bottom: 0;
}
.page-header .page-title {
    font-size: 24px;
    font-weight: 600;
    color: #4f49c4;
    margin: 0 0 9px;
}
.page-content h3 {
    color: #4f49c4;
    font-size: 21px;
    font-weight: 600;
    margin: 12px 0 19px;
}

/*--------------------------------------------------------------
Page contact
--------------------------------------------------------------*/
.contact-main #map {
    height: 350px;
    width: 100%;
    margin-top: 34px;
}
.contact-main .nf-form-fields-required {
    display: none;
}
.contact-main .nf-form-title h3 {
    font-size: 21px;
    font-weight: 400;
    color: #4f49c4;
    margin: 0 0 17px;
}
.contact-main .nf-field-element input,
.contact-main .nf-field-element textarea {
    padding: 2px 6px;
}
.contact-main .nf-field-element select{
    padding: 6px;
    color: #8c8c8c;
}
.contact-main .textarea-container {
    margin-bottom: 6px;
}
.contact-main .submit-container {
    text-align: right;
}
.contact-main .submit-container input {
    background-color: #4f49c4;
    color: #fff;
    border: none;
    padding: 3px 12px;
    display: inline-block;
}

/*--------------------------------------------------------------
Post Archive
--------------------------------------------------------------*/
.post-archive {
    width: 100%;
    padding: 12px 0;
    font-size: 17px;
}
.post-archive .post-header {
    width: 100%;
    margin: 0 0 12px;
}
.post-archive .post-title {
    margin: 0;
    color: #4f49c4;
}
.post-archive .post-thumbnail {
    padding-right: 0;
    padding-left: 0;
}
.post-archive .post-thumbnail.full-image {
    margin-bottom: 7px;
}
.post-archive .post-content {
    padding-right: 0;
}
.post-archive .post-thumbnail img {
    width: 100%;
    height: auto;
}
.post-archive .post-link {
    clear: both;
}
.post-archive .post-link a {
    font-weight: 600;
}

/*--------------------------------------------------------------
Gallery
--------------------------------------------------------------*/
/*--------------------------------------------------------------
Post Single
--------------------------------------------------------------*/
.single-main .post-thumbnail {
    margin-bottom: 19px;
}
.single-main .post-thumbnail img {
    height: auto;
}

.gallery-main {
    box-shadow: 0 0 8px #b7b7b7;
    background-color: #fff;
    padding: 27px 32px;
    margin-top: 17px;
    margin-bottom: 17px;
}
.gallery-main .gallery-content {
    padding-left: 0;
    padding-right: 35px;
    border-right: 1px solid #BBB;
    font-weight: 300;
}
.gallery-main .ctsgp-gallery,
.gallery-main .ctsgp-galleries-archive {
    margin: 0 -15px;
}
.gallery-main .ctsgp-gallery-title {
    font-size: 17px;
    font-weight: 300;
}
.pagination {
    width: 100%;
    display: block;
    text-align: center;
} 
.pagination.home-pagination {
    display: flex;
    justify-content: space-between;
}
.pagination.home-pagination a.next {
    margin-left: auto;
}
.pagination .screen-reader-text {
    display: none;
}
.pagination > a, 
.pagination > span {
    border: 1px solid #2D2F93;
    padding: 0 10px;
    font-weight: 500;
    margin: 0 4px;
    display: inline-block;
}
.pagination > a {
    color: #2D2F93;
}
.pagination > span {
    color: #fff;
    background-color: #2D2F93;
}
/*--------------------------------------------------------------
Sidebar
--------------------------------------------------------------*/
.sidebar {
    padding-left: 21px;
    padding-right: 0;
}
.sidebar .widget {
    padding: 12px 0;
}
.sidebar .widget:first-of-type {
    padding-top: 0;
}
.sidebar .widget:last-of-type {
    padding-bottom: 0;
}
.sidebar .widget-title {
    font-size: 21px;
    font-weight: 400;
    color: #4f49c4;
    margin: 0 0 17px;
}
.sidebar .widget_nav_menu ul,
.sidebar .widget_child_pages ul,
.sidebar .widget_other_galleries ul,
.sidebar .widget_mails ul {
    list-style: none;
    padding: 0;
    margin: 0 0 21px;
}
.sidebar .widget_nav_menu li,
.sidebar .widget_child_pages li,
.sidebar .widget_other_galleries li,
.sidebar .widget_mails li {
    padding: 7px 0;
    border-bottom: 1px solid #BBB;
}
.sidebar .widget_nav_menu li a,
.sidebar .widget_child_pages li a,
.sidebar .widget_other_galleries li a,
.sidebar .widget_mails li a {
    color: #000;
}
.sidebar .widget_child_pages li.current-item span,
.sidebar .widget_other_galleries li.current-item span {
    color: #4f49c4;
    font-weight: 700;
}
/*--------------------------------------------------------------
Footer
--------------------------------------------------------------*/
.site-footer .partnerzy {
    box-shadow: 0 0 8px #b7b7b7;
    background-color: #fff;
    padding: 34px;
    margin-top: 42px;
    margin-bottom: 17px;
}
.site-footer .partnerzy .flex {
    justify-content: space-between;
}
.site-footer .partnerzy .section-title {
    margin-bottom: 34px;
    text-align: center;
}
.site-footer .footer {
    margin-top: 42px;
    padding: 0;
}
.site-footer .footer .widget {
    width: 18.75%;
    padding: 0 21px; 
}
.site-footer .footer .widget:first-of-type {
    width: 25%;
    padding-left: 15px;
}
.site-footer .footer .widget:last-of-type {
    padding-right: 15px;
}
.site-footer .footer .widget-title {
    font-size: 21px;
    font-weight: 400;
    color: #4f49c4;
    margin: 0 0 9px;
}
.site-footer .footer .widget_nav_menu ul {
    list-style: none;
    padding: 0;
    margin: 0 0 21px;
}
.site-footer .footer .widget_nav_menu li {
/*    padding: 7px 0;*/
}
.site-footer .footer .widget_nav_menu li a {
    color: #000;
}
.site-footer .copyright {
    background-color: #E9E9E9;
    text-align: center;
    padding: 7px 0;
    font-size: 15px;
}
.site-footer .copyright p {
    margin-bottom: 6px;
}
.site-footer .copyright p:last-of-type {
    margin-bottom: 0;
}
@media screen and (min-width: 992px) {
    .main-navigation {
        display: block !important;
    }
    /*  Sub menu  */
    .main-navigation ul.sub-menu {
        display: none;
        position: absolute;
        left: -9px;
        right: auto;
        width: 240px;
        z-index: 999;
        background-color: #FFF;
        padding: 9px;
    }
    .main-navigation ul.sub-menu > li {
        width: 100%;
    }
    .main-navigation ul li.menu-item-has-children:hover > ul.sub-menu {
        display: block;
    }
}
@media screen and (max-width: 991px) {
    .menu-toggle {
        display: block;
    }
    .menu-close {
        position: fixed;
        top: 9px;
        right: 9px;
    }
    .main-navigation {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        padding-top: 34px;
        padding-bottom: 34px;
        width: 100%;
        height: 100vH;
        background-color: rgba(255, 255, 255, 0.9);
        z-index: 9999;
        overflow: auto;
    }
    .main-navigation ul li {
        width: 100%;
        text-align: center;
    }
    .main-navigation ul.sub-menu {
        padding: 4px 0 9px;
        line-height: 1.3;
        margin-top: -9px;
    }
    .main-navigation ul.sub-menu li {
        padding: 0;
        font-size: 16px;
    }
    .header-top .left,
    .header-top .right {
        flex: none;
        width: 100%;
        text-align: center;
    }
    .front-main-section .news-wrap {
        padding-right: 0;
        border-right: none;
    }
    .sidebar {
        padding-left: 0;
    }
    .sidebar .widget:first-of-type {
        padding-top: 34px;
    }
    .site-footer .footer .widget:first-of-type {
        width: 40%;
    }
    .site-footer .footer .widget {
        width: 30%;
    }
    .site-footer .footer .widget:nth-of-type(4) {
        margin-left: 20%;
    }
    .site-footer .partnerzy .single-partner {
        width: 33.333%;
        padding: 15px;
        text-align: center;
    }
    .post-archive .post-header {
        margin-bottom: 19px;
    }
    .page-main .page-content,
    .gallery-main .gallery-content {
        padding-right: 0;
        border-right: 0;
    }
}
@media screen and (max-width: 767px) {
    .site-footer .footer .widget:first-of-type {
        width: 50%;
    }
    .site-footer .footer .widget {
        width: 50%;
    }
    .site-footer .footer .widget:nth-of-type(4) {
        margin-left: 0;
    }
    .site-footer .footer .widget:last-of-type {
        margin-left: 25%;
    }
    .post-archive .post-thumbnail {
        width: 100%;
        text-align: center;
    }
    .post-archive .post-thumbnail img {
        width: auto;
    }
    .post-archive .post-content {
        padding-left: 0;
    }
    .site-main,
    .header-main {
        padding-left: 15px;
        padding-right: 15px;
    }
    .front-slider .slider-content {
        width: 50%;
    }
    .front-slider .slider-image {
        width: 50%;
    }
}
@media screen and (max-width: 650px) {
    .front-slider .slider-content {
        width: 100%;
    }
    .front-slider .slider-image {
        display: none;
    }
}
@media screen and (max-width: 500px) {
    .site-footer .footer .widget:first-of-type {
        width: 100%;
    }
    .site-footer .footer .widget {
        width: 100%;
        text-align: center;
        padding-top: 34px;
    }
    .site-footer .footer .widget:nth-of-type(4) {
        margin-left: 0;
    }
    .site-footer .footer .widget:last-of-type {
        margin-left: 0;
    }
    .site-footer .partnerzy .single-partner {
        width: 100%;
    }
    .header-top .right > a,
    .header-top .right > span {
        width: 100%;
        display: inline-block;
    }
    .header-top .right span.seperator {
        display: none;
    }
}
@media screen and (max-width: 400px) {
    .header-main .search-field {
        width: 120px;
    }
}