.navbar-custom {
    font-size: 15px;
    background-color: #f5f6f7;
    font-family: "EB Garamond", serif;
    transition: all 0.4s ease-in-out 0s;
    width: 100%;
}

.nav.navbar-nav.navbar-right {
    margin-top: 7px;
}

.navbar-custom .navbar-brand {
    padding: 10px;
}
.navbar-custom .navbar-brand img {
    height: 100%;
    max-height: 60px;
    transition: all 0.4s;
}
.navbar-custom:not(.navbar-transparent) {
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, .3);
}

.alt-bg {
    background-color: #f5f6f7;
}



.btn {
    font-size: 16px;
}

.flexslider {
    text-decoration: none !important;
    background-color: transparent;
    border: 0;
}

.works-grid .work-item {
    margin: 0;
    text-decoration: none;

    position: relative;
}
/*.works-grid .work-item::before {
    content: '';
}*/

.works-grid.works-grid-gut {
}

.flex-direction-nav a {
    height: 60px;
}
.flex-control-nav > li > a {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border-color: rgba(0, 0, 0, .8);
    /*border-width: 2px;*/
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3), 0 0 3px 1px rgba(255, 255, 255, 0.75);
    -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3), 0 0 3px 1px rgba(255, 255, 255, 0.75);
    -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3), 0 0 3px 1px rgba(255, 255, 255, 0.75);
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3), 0 0 3px 1px rgba(255, 255, 255, 0.75);
}
.flex-control-nav > li > a:hover, .flex-control-nav > li > a.flex-active {
    background: rgba(0, 0, 0, .7);
}

.work-item .work-image {
    transition: all 0.3s ease-in-out 0s;
    border-color: #f5f6f7;

    /*max-height: 244px;*/
}
.alt-bg .work-item .work-image {
    /*border-color: #fff;*/
}
.work-item:nth-child(2n - 1) .work-image {
}
.work-item .work-image {
    border-top-width: 20px;
    border-bottom-width: 20px;
    border-left-width: 10px;
    border-right-width: 10px;
    border-style: solid;
}
.work-item:hover .work-image {
    border-top-width: 15px;
    /*border-bottom-width: 20px;*/
    border-left-width: 0px;
    border-right-width: 0px;

    /*border-top-width: 0;*/
    /*border-bottom-width: 0;*/
    /*border-left-width: 0;*/
    /*border-right-width: 0;*/
}
.work-item .work-image > img {
    display: block;
}
.work-item:hover .work-image > img {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
  border: 0;
}
.work-item .work-title {
    font-size: 19px;
    color: #444;
    font-weight: 600;
}
.work-descr {
    font-weight: 600;
    /*color: #ddd;*/
    color: #333;

    /*text-shadow: 0 1px 0 #111;*/
}
.work-item:hover .work-image:after {
    /*background: rgba(0, 0, 0, 0.5);*/
    background: rgba(255, 255, 255, 0.5);

}

.navbar-custom.navbar-transparent .dropdown-menu {
    padding-top: 21px;
}
.navbar-custom .dropdown-menu {
    /*background: #f5f6f7;*/
    background: rgba(245, 246, 247, .9);
    /*box-shadow: 0 4px 4px 0 rgba(0, 0, 0, .3);*/
    /*border-bottom: 1px solid rgba(0, 0, 0, .2);*/
}
.navbar-custom .dropdown-menu > li > a {
    color: #111;
    letter-spacing: 1px;
    text-transform: none;
    font-size: 16px;
    transition: all 0.4s;

}
.navbar-custom .dropdown-menu > li > a:hover {
    /*text-decoration: underline;*/
    background: rgba(225, 226, 227, 1) !important;
    /*background: red !important;*/

}
.navbar-custom .dropdown-menu > li:last-child > a {
    /*border-bottom: 0 !important;*/
}

.title-special {
    position: relative;
    transition: all 0.3s ease-in-out 0s;
}
.title-special::after {
    content: '';
    display: block;
    /*width: 100%;*/
    height: 2px;
    background: #000;

    position: absolute;
    bottom: -2px;
    left: 30%;
    right: 30%;
    opacity: .8;
    transition: all 0.3s ease-in-out 0s;
}
.title-special:hover::after {
    left: 20%;
    right: 20%;
    opacity: .3;
}

.ornament {
    font-family: 'printers_ornaments_oneregular';
}
.fs-20 {
    font-size: 20px;
}
.fs-40 {
    font-size: 40px;
}
.fs-60 {
    font-size: 60px;
}
.fs-80 {
    font-size: 80px;
}

.navbar-custom .navbar-toggle .icon-bar {
    /*background: #000;*/
    background: #1c1475;
}

.lang-link {
    float: right;
    display: inline-block;
    margin: 16px 0 0 20px;

}

.flex-control-nav {
    line-height: 1;
}

/* Olgierd */
/*hover before-after - zamek krolewski*/
#cf {
  /*height:480px;*/
    cursor: pointer;
    height: auto;
    position: relative;
}
#cf::after {
    content: '';
    display: block;
    width: 100%;
    padding-bottom: 24.375%;
}

#cf img {

  position:absolute;
  left:0;
  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
}

#cf img.top:hover {
  opacity:0;
}
li.work-item:hover div.work-caption{background:#fff;border-top: 1px #7b7b7b solid; border-bottom: 1px #7b7b7b solid;}
/*body.navbar-transparent {*/
body {
    /*padding-top: 65px;*/
    /*max-height: 80%;*/
}

body > main {
    transition: padding 0.1s ease-in-out;
    padding-top: 65px;
}

@media (min-width: 768px) {
    body > main {
        padding-top: 80px;
    }
}

body.navbar-transparent > main {
    padding-top: 80px;
}

@media (min-width: 1200px) {
    .container {
        /*width: auto;*/
    }
}

@media (max-width: 990px) {
    .navbar-custom {
        font-size: 13px;
    }
    .navbar-custom .navbar-nav>li>a {
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (max-width: 767px) {
    /*.navbar-custom {
        padding: 0;
        left: 0;
        right: 0;
    }
    .navbar-custom .container {
        padding: 0;
        width: 100%;
    }*/
    .lang-link {
        position: absolute;
        right: 72px;
        top: 0;
        margin-top: 20px;
    }
    .navbar-toggle {
        margin-top: 15px;
    }
    .navbar-custom .dropdown-toggle:after, .navbar-custom .dropdown-menu .dropdown-toggle:after {
        right: 24px;
    }
}

@media (max-width: 767px) {
	.navbar-custom .submenu-button {
		position: absolute;
		z-index: 99;
		right: 5px;
		top: 0;
		display: block;
		height: 41px;
		width: 50px;
		cursor: pointer;
	}
}

.footer-links-bottom {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.module-small {
    padding-bottom: 0;
}

.module.button-section {
    padding: 40px 0;
}

.btn-primary {
    font-size: 18px !important;
    color: #fff;
    background-color: #111;
    border-color: #111;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:visited,
.btn-primary:active:focus,
.btn-primary:active:hover {
    background-color: #444;
    border-color: #444;
}

.footer-logo img {
    max-width: 110px;
}

.flexslider .slides.two-items .work-item {
    width: 12.5% !important;
}

.flexslider .slides.three-items .work-item {
    width: 5.5% !important;
}

@media (max-width: 639px) {
    .flexslider .slides.three-items .work-item {
        width: 8.3% !important;
    }
}