﻿body {
    font-family: 'Open Sans', sans-serif;
    background-color: #ffffff;
}

a {
    color: rgb(0, 0, 0);
}

a:hover,
a:focus {
    color: rgb(0, 0, 0);
    opacity: 0.8
}

h1,
h2,
h3 {
   
}

@media (min-width: 1500px) {    
    .container {
        max-width: 1480px;
    }
}
.btn-warning {
    color: #000000;
    background-color: #ffeb00;
    border: 1px solid #000000 !important;
    text-transform: uppercase;
    font-weight: 700;
} 
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    background-color: #dc3545;
    color: white;
}

.bg-light {
    background-color: #eaeaea!important;
}

.shadow {
    box-shadow: 0 .1rem 1rem rgba(0, 0, 0, .5) !important;
}

img {
    max-width: 100% !important;
    height: auto !important
}

.bg-dark {
    background-color: #383838 !important;
}

.navbar {
    
    z-index: 1
}
.nav-item {
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
}

.nav-item:hover {
  
}

main > .container {
    background-color: rgba(255, 255, 255, 1.0);
    /*        min-height: 100vh;*/
}

.gradient {
    background: rgb(40,25,68);
    background: -moz-linear-gradient(0deg, rgba(40,25,68,1) 0%, rgba(147,97,237,1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(40,25,68,1) 0%, rgba(147,97,237,1) 100%);
    background: linear-gradient(0deg, rgba(40,25,68,1) 0%, rgba(147,97,237,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#281944",endColorstr="#9361ed",GradientType=1);
    height: 10px
}
.container-fluid {
    max-width: 1500px !important
}


.container-fluid.w-100 {
    max-width: 100% !important;
}

.panel-slideshow {
   
}
.panel-articlecategory>h2,
.panel-content>h2 {
    background-color: #feed01;
    text-align: center;
    font-size: 1.8rem !important;
    font-weight: 800;
    line-height: 50px;
    letter-spacing: -1px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.dropdown-menu {
    background-color: transparent;
}


.navbar-brand img {
    max-width: 240px !important;
    opacity: 0.9;
}

.nav-link {
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: black !important;
    opacity: 1.0 !important
}
.nav-link:hover,
.nav-link:focus,
.nav-link:active {
    color: #dc3545 !important;
}
.dropdown-menu .nav-link {
    
    
}





@media (min-width: 1200px) {
    .bg-dark {
        background-color: #383838 !important;
    }

    .nav-link {
        line-height: 50px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1.85rem;
        padding-left: 1.85rem;
    }   

    .carousel-caption {
        display: block;
        right: 15%;
        bottom: 2px;
        left: 15%;
        z-index: 10;
        padding: 0;
        text-align: center;
    }

    .carousel-caption h3 {
        font-size: 1.7rem;
        font-weight: 300;
        color: #ffffff;
    }

    .carousel-caption a {
        text-decoration: none;
    }

    .carousel-indicators {
        bottom: 4rem;
    }

    .carousel-inner {
        text-align: center;
    }

    .carousel-item {}


    .carousel-control-next-icon,
    .carousel-control-prev-icon {
/*
        display: inline-block;
        width: 60px;
        height: 60px;
        background-size: 20px 20px;
        margin: 20px;
        background-color: #5600a5;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        border-radius: 50%;
*/
        
        font-size: 3rem
    }

    .carousel-control-next,
    .carousel-control-prev {
        opacity: 0.2
    }

    .carousel-inner {

    }

    .carousel-inner img {
        margin: auto;
        width: 100% !important;
        margin-bottom: 50px;
        -webkit-box-shadow: 1px 27px 29px -10px rgba(0, 0, 0, 0.33);
        -moz-box-shadow: 1px 27px 29px -10px rgba(0, 0, 0, 0.33);
        box-shadow: 1px 27px 29px -10px rgba(0, 0, 0, 0.33);
        
    }

    .top-slajdy {
        height: 21rem;
        width: 100%;
        background-image: url(../img/top1.jpg);
        background-size: cover;
        background-position: bottom;
        margin-top: 7rem;
        /*    margin-bottom: 30px*/
    }

    .slajd-2 {

        background-image: url(../img/plum.jpg);
        background-size: cover;
        background-position: bottom;
        animation: tlo 5000ms linear 2s 1 normal forwards, blur 5000ms linear 2s 1 normal forwards;
        -webkit-animation: tlo 5000ms linear 2s 1 normal forwards, blur 5000ms linear 2s 1 normal forwards;
        /*            animation-iteration-count:infinite;*/
    }

    .slajd-3 {
        position: absolute;
        height: 21rem;
        width: 100%;
        background-image: url(../img/top3.jpg);
        background-size: cover;
        background-position: bottom;
        animation: tlo 10000ms linear 2s 1 normal forwards, blur 10000ms linear 2s 1 normal forwards;
        -webkit-animation: tlo 10000ms linear 2s 1 normal forwards, blur 10000ms linear 2s 1 normal forwards;
        /*              animation-iteration-count:infinite;*/
    }

    body.main-page .top-slajdy {
        _display: none;
    }
}
.carousel-caption {
        left: 15%;
        right: 15%;
        text-align: center;
        display: block;
        color: #f1eeea;
        bottom: auto;
        font-size: 1.8rem;
        text-shadow: 0 0 30px black;
    }
    .carousel-caption h3,
    .carousel-caption h4 {
        font-weight: 400!important;
        font-size: 3.0rem;
    }
    .carousel-caption h4 {
        font-size: 2.0rem;
    }
    .carousel-caption h3 b,
    .carousel-caption h4 b {
        font-weight: 900;
        color: #ffffff;
        font-size: 4rem
    }
    @media (min-width: 768px) {
        .carousel-caption {
            left: 15%;
            right: 15%;
            text-align: center;
            bottom: 85px;
        }
        .carousel-caption h3 {
            font-weight: 500!important;
            font-size: 3.0rem
        }
    }
    /* OD FUNDAMENTÓW POD KLUCZ */
    .klucz {
        -webkit-animation-name: klucz;
        /* Safari 4.0 - 8.0 */
        -webkit-animation-duration: 2.5s;
        /* Safari 4.0 - 8.0 */
        -webkit-animation-delay: 0.5s;
        /* Safari 4.0 - 8.0 */
        -webkit-animation-fill-mode: forwards;
        /* Safari 4.0 - 8.0 */
        animation-name: klucz;
        animation-duration: 2.5s;
        animation-delay: 0.5s;
        animation-fill-mode: forwards;
    }
    @-webkit-keyframes klucz {
        from {
            top: 80%;
            opacity: 0.0
        }
        to {
            top: 22%;
            opacity: 1.0;
        }
    }
    @keyframes klucz {
        from {
            top: 80%;
            opacity: 0.0
        }
        to {
            top: 22%;
            opacity: 1.0;
        }
    }



/* ------------ANIMACJE------------ */

@keyframes blur {
    0% {
        filter: blur(0)
    }

    50% {
        filter: blur(5px)
    }

    100% {
        filter: blur(0)
    }
}

@keyframes tlo {
    0% {
        opacity: 1.0;
    }

    /*
            20% {
                opacity: 0.0;
            }
            50% {
                opacity: 0.0;
            }
*/
    95% {
        opacity: 0.0;
    }

    100% {
        opacity: 0.0;
    }
}

@-webkit-keyframes blur {
    0% {
        filter: blur(0)
    }

    50% {
        filter: blur(3px)
    }

    100% {
        filter: blur(0)
    }
}

@-webkit-keyframes tlo {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 0.0;
    }
}

header {
    background-color: #fFffff;
    /*            height: 80px;*/
}

.dropdown-menu {
    background-color: #31353a;
}

@media (min-width: 1200px)  {
.navbar {
    padding-top: 0;
    padding-bottom: 0;
    }
}

.navbar-brand {
    font-size: 1.45rem;
    font-weight: 800;
}

.dropdown-menu {
    background-color: #eaeaea !important;
    min-width: 15rem !important;
    border: none !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
    padding-top: 0;
    padding-bottom: 0;
}

.dropdown-menu a {
    color: black!important;
    border-bottom: 1px solid #a3a3a3;
    
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
    color: white !important;
    background-color: #414141 !important;
}

.navbar-brand img {
    height: auto !important;
}

.dropdown-menu .nav-link {
    line-height: 1.3rem !important;
    font-size: 1rem;
    text-transform: none;
    font-weight: 600;
}
}

.navbar-dark .navbar-nav .dropdown-menu .nav-link:hover {
    background-color: #503286;
}

.navbar-nav .dropdown-menu {
    border: none;
    border-radius: 0;
}

.breadcrumb {
    background-color: transparent !important;
    font-size: 0.8rem;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0 !important;
    padding: 0.5rem 0;
    margin-bottom: 2rem;
}

iframe {
    max-width: 100% !important;
}

.article-body,
.page-body {
    padding: 0 60px 30px 60px;
    color: #2f2f2f;
    line-height: 170%;
}

/*
.carousel-indicators {
    display: none;
}
.carousel-inner {
    margin-top: 15px;
}
*/
a .fot-o {
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
}

a .fot-o:hover {
    -o-transition: all 0.6s;
    -moz-transition: all 0.6s;
    -webkit-transition: all 0.6s;
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    -webkit-transform: scale(1.05);
}

.article h4 {
    font-size: 1.2rem;
    color: #dc3545;
    font-weight: 700;
}

.article h4 a {
    text-decoration: none;
    color: #dc3545;
}

footer {
    text-align: center
  
}

footer h4 {
    font-weight: 800
}

footer b {
    font-size: 1.85rem;
    font-weight: 100;
}

.pagination {
    margin: 30px 0;
}

.page-link {
    color: #1c4f14;
}

.page-item.active .page-link {
    background-color: #1c4f14;
    border-color: #1c4f14;
}

.polityka {
    font-size: 0.7rem;
    line-height: 2rem;
    display: none;
    color: #d8d1e7 !important;
}

.main-page .polityka {
    display: block;
}

.article.card  {
   border-radius: 0 !important;
    -webkit-box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.2);
    -moz-box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.2);
    box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.2);
    border: none !important
}
.article.card .caption {
    text-align: center;
    
}
.article.card .meta,
.article.card .meta a {
    font-size: 0.8rem;
    color: gray
}
.caption-header {
    font-size: 0.8rem
}
h1.page-header {
    margin-top: 3rem;
    color: #000000;
    font-weight: 700;
    font-size: 2rem;
}

.gallery {
    padding: 10px 60px;
}

.page-body .gallery {
    padding: 10px 0;
}

.gallery span.small {
    line-height: normal !important;
    color: black;
    display: block;
    padding-top: 0.5rem
}

.form-control {
    border-radius: 0;
   
}

textarea {
    min-height: 250px
}

.sharebox {
    margin-top: 3rem;
}

.sharebox span {
    font-size: 13px
}

.box {
    font-size: 1.05rem
}
.box h1 {
    font-size: 1.3rem;
    font-weight: 800
}

/*TOTOP*/
.totop {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 104400;
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}

.totop.show {
    opacity: 1;
}

.totop a i {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 25px;
    background: rgba(60, 60, 60, 0.7);
}

.totop a,
.totop a:visited {
    color: #fff;
    text-decoration: none;
}

.komn-sm-panel {
    position: fixed;
    top: 55px;
    right: -100px;
    text-align: left !important;
}

.komn-sm-panel ul {
    list-style-type: none;
}

.komn-sm-panel li {
    border-radius: 0;
    width: 150px;
    height: 50px;
    padding: 5px;
    margin: 3px 0px;
    position: relative;
    right: 0px;
}

.komn-sm-panel span {
    width: 80px;
    display: inline;
    font-size: 18px;
    text-shadow: 1px 1px 1px black;
    vertical-align: middle;
    position: absolute;
    top: 12px;
    left: 50px;
    color: #FFF;
}

.komn-sm-text-black {
    color: #000000 !important;
}

.komn-sm-panel a {
    text-decoration: none;
}

.komn-sm-block {
    transition: right 0.5s ease-out 0s;
}

.komn-sm-block:hover {
    right: 90px;
}

.komn-sm-fb {
    background: none repeat scroll 0% 0% #295C9E;
}

@media screen and (max-width:991px) {
    .komn-sm-panel {
        display: none;
    }
}
/*

.btn-outline-warning {
    color: #5600a5;
    background-color: transparent;
    background-image: none;
    border-color: #5600a5;
    border-width: 1px;
    font-weight: bold;
    border-radius: 0;
    outline: none !important;
    box-shadow: none !important
}

.btn-outline-warning:hover,
.btn-outline-warning:focus,
.btn-outline-warning:active {
    color: #ffffff !important;
    background-color: #5600a5 !important;
    border-color: #5600a5 !important;
}
*/

label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: rgba(40,25,68,1) !important;
}

.container {
    margin: 0 auto;
    *zoom: 1
}

.va-wrapper {
    display: table;
    height: 100%;
    width: 100%
}

.va-container {
    display: table-cell;
    vertical-align: middle
}

.bgnd {
    background-attachment: fixed;
    background-position: 50% 0;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: bottom;
    max-height: 1200px;
    height: 300px;
}

@media (min-width: 992px) and (max-width: 1500px) {
    .bgnd {
        background-size: auto 350px;
    }
}

header + .bgnd {
    height: 300px;
    margin-top: 65px;
    border-bottom: 3px solid #5600a5;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .va-container {
        vertical-align: top
    }

    header + .bgnd {
        height: 180px;
    }
}

.bgnd-1 {
    background-image: url(../img/top1.jpg);
    margin-bottom: 0;
    background-color: #2e2e2e;
    /*        height: 30vh;*/
}

body.main-page .bgnd-1 {
    /*        height: 30vh;*/
}

.bgnd-1 h1 {
    color: white;
    font-weight: 100;
    font-size: 2.9rem;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}

.bgnd-1 img {
    opacity: 0.8
}

body.main-page .home-none {
    display: none !important;
}

.home-only {
    display: none !important
}

body.main-page .home-only {
    display: block !important
}
