/*
Theme Name: NF Theme
Author: Net-Factory
Author URI: https://www.net-factory.pl/
Description: Simple, clean theme for your every ideas! Make your website PRO with Net-Factory. 
Version: 3.0.0
Text Domain: nf
*/


/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Woocommerce
# Footer
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# 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 {
    background-color: transparent;
}

a:active,
a:hover {
    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: "Noto Serif", 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%;
}


/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/


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

header#masthead {
    margin-bottom: 0;
    padding: 2rem 0;
}

#masthead nav {
    padding: 0;
}

#masthead .navbar-nav>li>a {
    color: #563d7c;
    padding: 15px;
}

#masthead .navbar-nav>li>a:hover {
    color: #463265;
    background: #f9f9f9;
}

.logo {
    height: auto;
}

.navbar-toggle .icon-bar {
    background: #000 none repeat scroll 0 0;
}

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item:last-child a {
    padding-right: 0px;
}


/* Small menu. */

.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

.dropdown .open .dropdown-menu {
    display: block;
    left: 147px;
    width: 60px;
}

@media screen and (min-width: 37.5em) {
    .menu-toggle {
        display: none;
    }
}

@media screen and (min-width: 769px) {
    .dropdown-menu li>.dropdown-menu {
        right: -158px;
        top: 22px;
    }
}

@media screen and (max-width: 991px) {
    .dropdown-menu {
        border: medium none;
        margin-left: 20px;
        padding: 0;
    }

    .dropdown-menu li a {
        padding: 0;
    }

    #masthead .navbar-nav>li>a {
        padding-bottom: 10px;
        padding-top: 5px;
    }
}

.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;
}


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.s1 {
    background: url('https://www.notariuszmyslenice.pl/wp-content/uploads/2018/01/header-bg-2.jpg') center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 680px;
}

.rotator {
    text-align: center;
    padding: 12.5rem 0 0 0;
}

.rotator h2 {
    margin: 0;
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
}

.rotator p {
    font-size: 1.2rem;
    letter-spacing: 5px;
    color: #ddd;
    max-width: 75%;
    margin: 1rem auto 0 auto;
}

.rotator .more {
    margin: 5rem 0 0 0;
}

.more a {
    background: #E8A60C;
    border: 2px solid #E8A60C;
    color: #fff;
    padding: .6rem 1.6rem;
    transition: .2s ease-in-out;
    font-size: .8rem
}

.more a:hover {
    border: 2px solid #E8A60C;
    background: transparent;
    color: #fff;
}

.scroll {
    margin-top: 8rem;
    transition: .2s ease-in-out;
}

.scroll a {
    color: #ddd;
    font-size: 1.2rem;
}

.scroll:hover {
    margin-top: 10rem;
}

.scroll:hover a {
    color: #fff
}

.cta {
    background: #11351b;
    padding: 2.5rem 0;
    color: #fff;
}

.cta .map,
.cta .tel {
    text-align: center;
    font-size: 1.2rem;
}

#about {
    padding: 5rem 0;
    background: url('https://www.notariuszmyslenice.pl/wp-content/uploads/2017/12/about.jpg') center center;
    background-size: cover;
    background-repeat: no-repeat;
}

#about .txt {
    background: rgba(255, 255, 255, 0.40);
    padding: 2rem;
}

#about h1 {
    margin: 0 0 0 0;
    font-weight: 900;
    font-size: 1.8rem;
}

#about h1::after {
    content: "";
    background-color: #888;
    height: 2px;
    max-width: 125px;
    display: block;
    margin: 1rem 0 2rem 0;
}

#about p {
    line-height: 2rem;
}

#about p.about-more {
    margin-top: 4rem;
    margin-bottom: 0px;
}

p.about-more a {
    border: 2px solid #E8A60C;
    background: #fff;
    color: #11351b;
    padding: .6rem 1.6rem;
    transition: .2s ease-in-out;
    font-size: .8rem
}

p.about-more a:hover {
    background: #E8A60C;
    border: 2px solid #E8A60C;
    color: #fff;
}

.cennik p.about-more a {
    border: 2px solid #E8A60C;
    background: #E8A60C;
    color: #ffffff;
    padding: .6rem 1.6rem;
    transition: .2s ease-in-out;
    font-size: .8rem
}

.cennik p.about-more a:hover {
    background: transparent;
    border: 2px solid #E8A60C;
    color: #fff;
}

.offer {
    background: url('https://www.notariuszmyslenice.pl/wp-content/uploads/2018/01/offer-bg.jpg') center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 5rem 0;
    color: #fff;
}

.czynnosci {
    padding: 2rem;
    background: #11351b;
}

.czynnosci h2 {
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.czynnosci p em {
    font-size: .8rem;
}

.offer .czynnosci p.about-more {
    margin-top: 4rem;
    margin-bottom: 0px;
}

.offer .czynnosci p.about-more a {
    border: 2px solid #11351b;
    background: #fff;
    color: #11351b;
    padding: .6rem 1.6rem;
    transition: .2s ease-in-out;
    font-size: .8rem
}

.offer .czynnosci p.about-more a:hover {
    background: #11351b;
    border: 2px solid #E8A60C;
    color: #fff;
}

.cennik {
    padding: 2rem 0;
}

.cennik h2 {
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.offer .cennik p.about-more {
    margin-top: 4rem;
    margin-bottom: 0px;
}


/*--------------------------------------------------------------
# Pages
--------------------------------------------------------------*/

.page-header {
    background: url('https://www.notariuszmyslenice.pl/wp-content/uploads/2018/01/page-heade.jpg') center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.page-header h1 {
    margin: 0;
    padding: 4rem 0;
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
}

.entry-page {
    padding: 5rem 2rem 3rem 0;
    border-right: 4px solid #f4f4f4;
}

.entry-content {
    line-height: 2rem;
}

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

.entry-content h2 {
    margin: 2rem 0 1rem 0;
    font-weight: 700;
    font-size: 1.6rem;
    color: #e8a60c;
}

.entry-content a {
    color: #11351b;
}

.entry-content a:hover {
    text-decoration: underline;
}

.sidebar {
    padding: 5rem 0;
}

.entry-content textarea {
    width: 100%;
}

.entry-content input[type=text],
.entry-content input[type=email],
.entry-content input[type=tel] {
    max-width: 33%;
}

.entry-content input[type=submit] {
    background: #E8A60C;
    border: 2px solid #E8A60C;
    color: #fff;
    padding: .6rem 1.6rem;
    transition: .2s ease-in-out;
    font-size: .8rem;
    border-radius: 0px;
}

.entry-content input[type=submit]:hover {
    border: 2px solid #E8A60C;
    background: transparent;
    color: #11351b
}

div.wpcf7-response-output {
    margin: 0;
    padding: 2rem;
}

div.wpcf7-validation-errors {
    border: 2px solid #f7e700;
    text-align: center;
    font-size: 1rem;
}

div.wpcf7-mail-sent-ok {
    border: 2px solid #398f14;
    text-align: center;
    font-size: 1rem;
}


/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

.widget {
    margin-bottom: 2rem;
}

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

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

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


/*--------------------------------------------------------------
## 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: 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 {
    margin-bottom: 1.5em;
}

.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;
}


/*--------------------------------------------------------------
# Plugin Compatibility
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## Woocommerce
--------------------------------------------------------------*/

.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%;
}


/*--------------------------------------------------------------
## Elementor
--------------------------------------------------------------*/

.elementor-page article .entry-footer {
    display: none;
}

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

.elementor-page .entry-content {
    margin-top: 0;
}


/*--------------------------------------------------------------
## Visual Composer
--------------------------------------------------------------*/

.vc_desktop article .entry-footer {
    display: none;
}

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

.vc_desktop .entry-content {
    margin-top: 0;
}


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

footer#colophon {
    background: #fff;
    color: #333333;
    padding: 2rem 0;
    border-top: 4px solid #11351b;
    margin-top: -9px;
}

.footer-credits {
    margin-bottom: 0;
    text-align: left;
    font-size: .8rem;
}

.footer-author {
    text-align: right;
    font-size: .8rem;
}

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

.footer-credits a:hover,
footer#colophon a:hover,
.footer-author a:hover {
    color: #11351b;
}

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