/*
Theme Name: NF Theme
Author: Net-Factory
Author URI: https://www.net-factory.pl/
Description: Make your website PRO with Net-Factory. 
Version: 4.2.1
Text Domain: nf
*/


/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

body {
    margin: 0;
    background: #fff;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

a {
    color: #d40005;
    background-color: transparent;
}

a:active,
a:hover {
    color: #bb0004;
    outline: 0;
    text-decoration: none;
}

dfn {
    font-style: italic;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    box-sizing: content-box;
    height: 0;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

body {
    color: #333;
    font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.62857;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    margin-top: 20px;
}

p {
    margin-bottom: 1.5em;
}


/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

body {
    background: #fff;
}

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

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

.container-big {
    max-width: 1656px;
    margin: 0 auto;
    margin-left: auto;
    margin-right: auto;
    padding-right: 15px;
    padding-left: 15px;
}

.container-mid {
    max-width: 1380px;
    margin: 0 auto;
    margin-left: auto;
    margin-right: auto;
    padding-right: 15px;
    padding-left: 15px;
}

.pad30 {
    padding: 3rem 0;
}

.pad80 {
    padding: 5rem 0
}

.pad120 {
    padding: 8rem 0
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.main-header {}

.top-header {
    background: #eaeaea;
    margin: 0 0 2rem 0;
    font-size: .8rem;
    padding: .5rem 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.top-header-inner {
    display: flex;
}

.top-header .textwidget {
    display: flex;
}

.top-header .textwidget > * {
    margin-right: 1rem;
}

.top-header .box-2 {
    margin-left: 5rem;
}

.top-header .fas {
    margin-right: .5rem;
    color: #d40005
}

.top-header a {
    color: #333;
    font-weight: 700;
}

.top-header a:hover {
    text-decoration: underline
}

.logo {
    height: auto;
}

.navi-header {
    margin-top: 2rem;
    background: #00001a;
}

.navi-header .navbar {
    margin: 0;
    padding: 0;
}

.navbar-light .navbar-nav .nav-link {
    color: #ffffff;
    padding: .6rem 1rem;
    background: #00001a;
    margin: 1rem .5rem;
    line-height: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.open,
.navbar-light .navbar-nav .open > .nav-link {
    color: #ffffff;
    background: #d40005
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: #ffffff;
    background: #d40005
}


/*--------------------------------------------------------------
# Slider
--------------------------------------------------------------*/

.top {
    margin: 4rem 0;
}

#slider .slider-desc {
    padding: 2rem;
    background: #f4f4f4;
}

#slider h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0rem 0 1rem;
    text-transform: uppercase;
}

#slider h2 a {
    color: #00001a;
}

#slider p {
    font-size: 1.2rem;
    line-height: 2rem;
}

#slider .more {
    margin-top: 3rem;
}

.entry-meta {
    margin: 0 0 2rem 0;
}

.entry-meta .fal {
    color: #d40005;
    padding-left: .5rem;
}

.more {
    line-height: 38px;
}

.more a {
    transition: .2s ease-in-out;
    background: #d40005;
    padding: .7rem 2rem;
    border-radius: 25px;
    border: 2px solid #d40005;
    ;
    color: #fff;
    font-size: .9rem;
    font-weight: 800;
}

.more a:hover {
    background: #bb0004;
    border: 2px solid #bb0004;
}

.more a .far {
    transition: .2s ease-in-out;
    padding-left: .5rem;
}

.more a:hover .far {
    padding-left: 1.5rem;
}

#slider .owl-controls {
    position: absolute;
    bottom: 1rem;
    right: 2rem;
}

#slider .owl-page span {
    display: block;
    width: 30px;
    height: 14px;
    margin: 5px 7px;
    filter: Alpha(Opacity=50);
    opacity: 0.5;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    background: #00001b;
}

#slider .owl-page span:hover {
    opacity: 1;
}

#slider .owl-controls .owl-page.active span,
#slider .owl-controls.clickable .owl-page:hover span {
    filter: Alpha(Opacity=100);
    opacity: 1;
}


/*--------------------------------------------------------------
# Homepage
--------------------------------------------------------------*/

.about {
    padding: 4rem 0;
    background: url('https://www.sportclubkarate.pl/wp-content/uploads/2019/05/sck-team.jpg') center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}

.about .txt {
    border-left: 4px solid #d00004;
    padding-left: 4rem;
}

.about h2 {
    margin: 0 0 1rem 0;
    font-weight: 900;
}

.about .more {
    margin-top: 2rem;
}

.about .box {
    display: flex;
}

.about .box .img-a {
    min-width: 30%;
    margin: 0 0 1rem 2rem;
}

.about .box .img-a img {
    border-radius: 50%;
}

.oferta .inner {}

.oferta .inner h1 {
    margin: 0 0 1rem 0;
    font-weight: 900;
}

.oferta .inner ul {
    padding: 0;
    margin: 0;
}

.oferta .inner ul li {
    list-style-type: none;
    margin: 0 0 .7rem 0;
}

.oferta .inner ul li a {
    color: #fff;
    font-weight: 700;
    transition: .2s ease-in-out;
}

.oferta .inner ul li a:hover {
    padding-left: 1rem;
}

.oferta .inner ul li a::before {
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    content: "\f105";
    color: #d00004;
    padding-right: .5rem;
}


/*--------------------------------------------------------------
# News Feed
--------------------------------------------------------------*/

.news-feed {
    background: url('https://www.sportclubkarate.pl/wp-content/uploads/2019/08/news-feed-bg.jpg') center bottom;
    background-repeat: no-repeat;
    padding: 4rem 0 2rem 0;
}

.news-feed h2.section-title {
    margin: 0 0 2rem 0;
    font-weight: 900;
}

.news-feed article {
    margin-bottom: 2rem;
}

.news-feed article h2 {
    font-weight: 900;
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
}

.news-feed article h2 a {
    color: #00001b;
    transition: .2s ease-in-out;
}

.news-feed article h2 a:hover {
    color: #d40005;
}

.sidebar {
    padding: 2rem;
    background: #f4f4f4;
}

.sidebar h3 {
    font-weight: 900;
    font-size: 1.4rem;
    margin: 0rem 0 1rem 0;
}

/*--------------------------------------------------------------
# Partners
--------------------------------------------------------------*/

.partners {
    padding: 4rem 0;
    background: #fff;
}

.partners .widget {
    margin: 0;
}


/*--------------------------------------------------------------
# Page Content
--------------------------------------------------------------*/
.page-wrapper {

    background: url('https://www.sportclubkarate.pl/wp-content/uploads/2019/08/news-feed-bg.jpg') center bottom;
    background-repeat: no-repeat;
    padding: 4rem 0 2rem 0;
}

.page-title {
    padding: 3rem 0;
    background: url(https://www.sportclubkarate.pl/wp-content/uploads/2019/05/sck-team.jpg) center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}

.page-title h1 {
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
}

.entry-page {
    padding: 4rem 0;
}

.entry-content {}

.entry-content ul,
.entry-content p {
    font-size: 1.1rem;
    line-height: 2rem;
}

.entry-content p:last-child {
    margin: 0;
}

.entry-content h2 {
    margin: 3rem 0 1rem 0;
    font-weight: 700;
    font-size: 2rem;
}

.entry-content h2:first-child {
    margin-top: 0
}

/*--------------------------------------------------------------
# forms
--------------------------------------------------------------*/

input,
textarea,
label {
    width: 100%;
}

label {}

input[type="checkbox"] {
    width: auto;
}

input[type="submit"] {
    width: auto;
}

input[type="submit"]:hover {}

div.wpcf7-response-output {
    margin: 2rem 0 0 0;
    padding: 2rem;
    font-size: 1rem;
    text-align: center;
}

div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
    border: 2px solid #f7e700;
}


/*--------------------------------------------------------------
# Widget
--------------------------------------------------------------*/

.widget {
    margin-bottom: 2rem;
}

.widget select {
    max-width: 100%;
}

.widget_search .search-form input[type="submit"] {}

.nav > li > a:focus,
.nav > li > a:hover {}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer-widget {
    padding: 4rem 0;
    background: url('https://www.sportclubkarate.pl/wp-content/uploads/2019/05/footer-widget.jpg') center center;
    background-size: cover;
    background-repeat: no-repeat;
}

#footer-widget .widget {
    margin: 0;
    color: #fff;
}

#footer-widget .widget h3 {
    font-weight: 900;
    margin: 0 0 1rem 0;
    color: #fff;
}

#footer-widget #media_image-5 {
    margin-bottom: 2rem;
}

footer#colophon {
    background: transparent;
    padding: 4rem 0;
}

.footer-credits {
    margin-bottom: 0;
    text-align: center;
}

.footer-author {
    text-align: center;
}

.footer-credits a,
footer#colophon a,
.footer-author a {
    font-weight: 700;
}

.footer-credits a:hover,
footer#colophon a:hover,
.footer-author a:hover {}

@media screen and (max-width: 767px) {
    #masthead .navbar-nav > li > a {
        padding-bottom: 15px;
        padding-top: 15px;
    }
}


/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

#content.site-content {
    padding-bottom: 0px;
    padding-top: 0px;
}

.sticky {
    background: #f5f5f5 none repeat scroll 0 0;
    border-radius: 3px;
    box-shadow: 0 0 2px 1px #ccc;
    padding: 2rem;
}

.single .byline,
.group-blog .byline {
    display: inline;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 0em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

.page-template-blank-page .entry-content,
.blank-page-with-container .entry-content {
    margin-top: 0;
}


/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

.comment-body .pull-left {
    padding-right: 10px;
}

.comment-list .comment {
    display: block;
}

.comment-list {
    padding-left: 0;
}

.comments-title {
    font-size: 18px;
}

.comment-list .pingback {
    border-top: 1px solid rgba(0, 0, 0, 0.125);
    padding: 9px 0;
}

.comment-list .pingback:first-child {
    border: medium none;
}


/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/


/* Globally hidden elements when Infinite Scroll is supported and in use. */

.infinite-scroll .posts-navigation,

/* Older / Newer Posts Navigation (always hidden) */

.infinite-scroll.neverending .site-footer {
    /* Theme Footer (when set to scrolling) */
    display: none;
}


/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */

.infinity-end.neverending .site-footer {
    display: block;
}


/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}


/* Make sure embeds and iframes fit their containers. */

embed,
iframe,
object {
    max-width: 100%;
}


/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}


/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/

.gallery {}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}


/*--------------------------------------------------------------
## Others
--------------------------------------------------------------*/

.woocommerce-cart-form .shop_table .coupon .input-text {
    width: 133px !important;
}

.variations_form .variations .value > select {
    margin-bottom: 10px;
}

.woocommerce-MyAccount-content .col-1,
.woocommerce-MyAccount-content .col-2 {
    max-width: 100%;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
    overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}

.navigation.post-navigation {
    padding-top: 30px;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    border: 1px solid #ddd;
    border-radius: 15px;
    display: inline-block;
    padding: 5px 14px;
    text-decoration: none;
}

.post-navigation .nav-next a::after {
    content: " →";
}

.post-navigation .nav-previous a::before {
    content: "← ";
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
    background: #eee none repeat scroll 0 0;
}


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/


/* Text meant only for screen readers. */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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. */
}


/* Do not show the outline on the skip link target. */

#content[tabindex="-1"]:focus {
    outline: 0;
}


/*--------------------------------------------------------------
# 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;
}


/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}
