﻿body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    cursor: default;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

button,
input[type="submit"] {
    background: none;
    border: none;
    outline: inherit;
    color: inherit;
    font: inherit;
}

.scrollUp {
    z-index: 9996;
    font-size: 1.5rem/*24px*/;
    height: 40px;
    width: 40px;
    position: fixed;
    left: 20px;
    bottom: 20px;
    text-align: center;
    display: none;
    background-color: #ded;
    -webkit-transition: all ease-in-out .25s;
    -moz-transition: all ease-in-out .25s;
    -o-transition: all ease-in-out .25s;
    transition: all ease-in-out .25s;
    -webkit-box-shadow: 1px 1px 10px -1px rgba(16, 16, 16, .2);
    -moz-box-shadow: 1px 1px 10px -1px rgba(16, 16, 16, .2);
    box-shadow: 1px 1px 10px -1px rgba(16, 16, 16, .2);
    opacity: .75;
}

.scrollUp:hover {
    cursor: pointer;
    color: #fff;
    background-color: #000;
    opacity: 1;
}

.content {
    position: relative;
}

.modal-content > ol,
.nav-horizontal.small .header-contact,
.nav-horizontal .header-contact,
.nav-mobile,
.submenu .close-btn,
.text,
.block .enroll,
#school p,
.down,
.up p,
footer .dir-text,
footer form,
.bgimg-2 form,
.form-p,
.bl-btm span {
    font-size: 1.2rem;
}

/*###########################################MODAL####################################################*/

.modal,
.gal-modal,
.promo-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000;
    background-color: rgba(0, 0, 0, .5);
}

.animate-top {
    -webkit-animation-name: animatetop;
    -moz-animation-name: animatetop;
    animation-name: animatetop;
    -webkit-animation-duration: .4s;
    -moz-animation-duration: .4s;
    animation-duration: .4s;
}

@-webkit-keyframes animatetop {
    from {
        top: -50px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -50px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

.modal-content {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    margin: 5vh auto;
    padding: 40px;
    background-color: #333;
    color: #fff;
    width: 80vw;
    border: 1px solid #fff;
    border-radius: 5px;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    font-weight: 700;
    -webkit-transition: all ease-in-out .25s;
    -moz-transition: all ease-in-out .25s;
    -o-transition: all ease-in-out .25s;
    transition: all ease-in-out .25s;
    height: 40px;
    width: 40px;
    line-height: 16.5px;
    border-radius: 50%;
}

.close:hover,
.close:focus {
    cursor: pointer;
    background-color: #fff;
    color: #333;
}

.modal-content > h2 {
    margin-top: 0;
    text-align: center;
}

/*PROMOCJA*/

.promo-modal-content {
    position: relative;
    margin: 12vh auto;
    background-color: #ffa500;
    color: #fff;
    width: 300px;
    border: 2px solid #fff;
    border-radius: 5px;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    animation-name: animateleft;
    animation-duration: .5s;
}

@keyframes animateleft {
    from {
        left: -150px;
        opacity: 0
    }

    to {
        left: 0;
        opacity: 1
    }
}

@-webkit-keyframes animateleft {
    from {
        left: -150px;
        opacity: 0
    }

    to {
        left: 0;
        opacity: 1
    }
}

.promo-close {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 2rem;
    font-weight: 700;
    transition: all ease-in-out .25s;
    color: #fff;
    height: 20px;
    width: 20px;
    line-height: 16.5px;
    border-radius: 50%;
    padding: 5px;
    text-align: center;
    z-index: 100;
}

.promo-close:hover,
.promo-close:focus {
    cursor: pointer;
    transform: rotate(90deg);
}

.promo:first-of-type {
    font-size: 2rem/*32px*/;
}

.promo {
    text-align: center;
    padding: 20px;
    font-weight: 700;
    font-size: 1.75rem/*28px*/;
}

.promo:not(:last-of-type) {
    border-bottom: 2px solid #fff;
}

.promo span {
    color: red;
}

/*#############################################NAV####################################################*/

header {
    width: 100%;
}

.top-header {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: flex;
    height: 150px;
    justify-content: space-between;
    margin: 10px 50px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ffa500;
    color: #333;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.header-img {
    background-image: url("../img/logo_full_transp.png");
    background-position: 0 50%;
    background-repeat: no-repeat;
    background-size: contain;
    height: 100%;
    width: 285px;
}

.header-contact {
    margin: auto 0;
    font-size: 1.125rem/*18px*/;
    line-height: normal;
    color: #555;
}

.header-contact i {
    padding-right: 10px;
}

.header-contact span {
    display: block;
    margin-bottom: 5px;
    background-color: #ffa500;
    color: #fff;
    padding: 5px 15px;
    -webkit-clip-path: polygon(0 0, 92% 0, 100% 100%, 5% 100%);
    clip-path: polygon(0 0, 92% 0, 100% 100%, 5% 100%);
}

.header-contact span:last-of-type {
    margin-bottom: 0;
}

.top-header-small {
    height: 75px;
}

nav {
    /*justify-content: space-evenly;
    display: flex;*/
    height: 50px;
    width: 100%;
    background-color: #fff;
    background-color: rgba(255, 255, 255, 1);
    -webkit-box-shadow: 0 5px 5px -5px rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 5px 5px -5px rgba(0, 0, 0, .5);
    box-shadow: 0 5px 5px -5px rgba(0, 0, 0, .5);
    line-height: 1.25rem/*1.375rem/*22px/*26px*/;
    font-size: 1.25rem/*1.375rem/*22px/*26px*/;
    z-index: 9998;
    text-transform: uppercase;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.top-margin {
    margin-top: 60px;
}

.nav-horizontal > ul {
    display: flex;
    justify-content: space-evenly;
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*text-align: center;*/
}

.nav-horizontal a {
    display: block;
    padding: 5px 10px 10px;
    color: #333;
}

.nav-horizontal > ul > li > a {
    border-top: 5px solid transparent;
    padding: 10px 10px 13px;
}

.nav-horizontal > ul > li:hover > a {
    border-top: 5px solid #ffa500;
}

.nav-horizontal ul > li {
    display: inline-block;
    position: relative;
    z-index: 5;
}

.nav-horizontal ul > li > ul {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    padding-left: 0;
    text-align: left;
    background-color: #fff;
    background-color: rgba(255, 255, 255, 1);
    top: 50px;
    -webkit-transition: all ease-in-out .15s;
    -moz-transition: all ease-in-out .15s;
    -o-transition: all ease-in-out .15s;
    transition: all ease-in-out .15s;
    -webkit-box-shadow: 0 5px 5px -5px rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 5px 5px -5px rgba(0, 0, 0, .5);
    box-shadow: 0 5px 5px -5px rgba(0, 0, 0, .5);
}

.nav-horizontal ul > li:hover > ul,
.nav-horizontal ul > li:focus > ul {
    visibility: visible;
    opacity: 1;
}

.nav-horizontal ul > li > ul > li {
    width: 100%;
    font-size: 1.2rem/*1.25rem/*20px*/;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.nav-horizontal ul > li > ul > li > a {
    -webkit-transition: all ease-in-out .25s;
    -moz-transition: all ease-in-out .25s;
    -o-transition: all ease-in-out .25s;
    transition: all ease-in-out .25s;
}

.nav-horizontal ul > li > ul > li:hover > a {
    color: #ffa500;
    transform: translateX(5px);
}

.nav-horizontal ul > li > ul > li > ul {
    top: 0;
    left: 100%;
}

.nav-mobile {
    display: none;
    position: relative;
    width: 100%;
    -webkit-transition: all ease-in-out .25s;
    -moz-transition: all ease-in-out .25s;
    -o-transition: all ease-in-out .25s;
    transition: all ease-in-out .25s;
}

.nav-mobile > .icon {
    margin: 14.55px 0 14.55px 1vw;
}

.nav-mobile > .icon > i {
    cursor: pointer;
}

.submenu {
    z-index: 9997;
    position: absolute;
    top: 50px;
    left: 0;
    width: 200px;
    cursor: default;
    background-color: #fff;
    -webkit-box-shadow: 0 5px 5px -5px rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 5px 5px -5px rgba(0, 0, 0, .5);
    box-shadow: 0 5px 5px -5px rgba(0, 0, 0, .5);
}

.submenu ul {
    list-style-type: none;
    text-align: left;
    padding-left: 10px;
}

.submenu ul a {
    display: block;
    padding: 7.5px;
    color: #333;
    font-size: 1.25rem/*20px*/;
    line-height: 1.25rem/*20px*/;
    text-transform: lowercase;
}

.submenu ul a:hover {
    background-color: #ffa500;
    color: #fff;
}

.submenu ul li ul {
    font-size: 18px;
    padding-left: 10px;
}

.submenu .close-btn {
    position: absolute;
    right: 5px;
}

.submenu .close-btn:hover {
    cursor: pointer;
}

/*############################################SLAJDY##################################################*/

.bgimg-1,
.bgimg-2,
.bgimg-3 {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 600px;
}

.bgimg-1 {
    background-image: url(../img/top_photo1.jpg);
    background-position: 55% -90px;
    background-size: auto;
}

.bgimg-3 {
    display: none;
    background-image: url(../img/top_photo2_alt.jpg);
    background-position: 25% 50px;
}

.bgimg-2 {
    background-image: url(../img/form_photo.jpg);
    background-position: 20% 50%;
}

/*FORMULARZ*/

.bgimg-2 form {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    background-color: #fff;
    width: 70vw;
    margin: auto;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
}

.bgimg-2 form-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.bgimg-2 form input[type=text],
.bgimg-2 form input[type=number],
.bgimg-2 form input[type=email],
.bgimg-2 form textarea {
    background-color: #fff;
    padding: 12px;
    border: none;
    border-bottom: 1px solid #333;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 10px;
    resize: vertical;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    -o-transition: all .25s;
    transition: all linear .25s;
    font-family: inherit;
    font-size: inherit;
    color: #333;
}

.bgimg-2 form input:focus {
    outline: none;
    border-color: #ffa500;
}

.bgimg-2 form textarea:focus {
    outline: none;
    border-color: #ffa500;
}

::-webkit-input-placeholder {
    color: #333;
    opacity: 1;
    font-family: inherit;
    font-size: inherit;
    -webkit-transition: color linear .25s;
    -moz-transition: color linear .25s;
    -o-transition: color linear .25s;
    transition: color linear .25s;
}

:-ms-input-placeholder {
    color: #333;
    opacity: 1;
    font-family: inherit;
    font-size: inherit;
    -webkit-transition: color linear .25s;
    -moz-transition: color linear .25s;
    -o-transition: color linear .25s;
    transition: color linear .25s;
}

::placeholder {
    color: #333;
    opacity: 1;
    font-family: inherit;
    font-size: inherit;
    -webkit-transition: color linear .25s;
    -moz-transition: color linear .25s;
    -o-transition: color linear .25s;
    transition: color linear .25s;
}

:-ms-input-placeholder {
    color: #333;
    font-family: inherit;
    font-size: inherit;
    -webkit-transition: color linear .25s;
    -moz-transition: color linear .25s;
    -o-transition: color linear .25s;
    transition: color linear .25s;
}

::-ms-input-placeholder {
    color: #333;
    font-family: inherit;
    font-size: inherit;
    -webkit-transition: color linear .25s;
    -moz-transition: color linear .25s;
    -o-transition: color linear .25s;
    transition: color linear .25s;
}

.bgimg-2 form input:focus::-webkit-input-placeholder {
    color: transparent;
}

.bgimg-2 form input:focus:-moz-placeholder {
    color: transparent;
}

.bgimg-2 form input:focus::-moz-placeholder {
    color: transparent;
}

.bgimg-2 form input:focus:-ms-input-placeholder {
    color: transparent;
}

.bgimg-2 form textarea:focus::-webkit-input-placeholder {
    color: transparent;
}

.bgimg-2 form textarea:focus:-moz-placeholder {
    color: transparent;
}

.bgimg-2 form textarea:focus::-moz-placeholder {
    color: transparent;
}

.bgimg-2 form textarea:focus:-ms-input-placeholder {
    color: transparent;
}

form {
    padding: 20px;
}

label[for="fullname"],
label[for="mail"],
label[for="phone"],
label[for="message"] {
    display: none;
}

input[type="submit"] {
    display: inline-block;
    color: #333;
    padding: 9px 20px;
    border: 1px solid #333;
    cursor: pointer;
    -webkit-transition: all ease-in-out .25s;
    -moz-transition: all ease-in-out .25s;
    -o-transition: all ease-in-out .25s;
    transition: all ease-in-out .25s;
}

input[type="submit"]:hover {
    background-color: #333;
    border-color: transparent;
    color: #fff;
}

input[type="submit"]:disabled {
    border: 1px solid #aaa;
    color: #aaa;
}

input[type="submit"]:disabled:hover {
    background-color: transparent;
    cursor: default;
}

#captchaText {
    display: inline-block;
}

#captchaInput {
    display: inline-block;
    width: 5em;
    margin: 0 1em 1em .5em;
    border: 1px solid #333;
    -webkit-transition: border linear .25s;
    -moz-transition: border linear .25s;
    -o-transition: border linear .25s;
    transition: border linear .25s;
}

#captchaInput:focus {
    border-color: #ffa500;
}

.quote {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #fff;
    font-size: 1.5rem;
    font-style: italic;
    padding: 10px;
}

.quote table td {
    border-collapse: collapse;
    border: none;
}

.btn {
    position: absolute;
    top: 50%;
    right: 0;
    margin-right: 5vw;
    min-width: 20vw;
    font-size: 2rem;
    border: 2px solid #ffa500;
    padding: 10px;
    background-color: #000;
    background-color: rgba(0, 0, 0, .5);
    -webkit-transition: all ease-in-out .25s;
    -moz-transition: all ease-in-out .25s;
    -o-transition: all ease-in-out .25s;
    transition: all ease-in-out .25s;
    color: #ffa500;
}

.btn:hover {
    cursor: pointer;
    color: #000;
    color: rgba(0, 0, 0, .8);
    background-color: #ffa500;
    border-color: transparent;
}

/*############################################SEKCJE##################################################*/

.section {
    padding: 20px;
    position: relative;
}

.section:nth-child(even) {
    background-color: #333;
    color: #fff;
}

.section h1 {
    position: relative;
    text-align: center;
    font-size: 2.25rem/*36px/*3em*/;
    margin-top: 0;
    text-shadow: 1px 1px 2px rgba(150, 150, 150, 1);
}

.section h1::after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffa500;
    height: 2px;
    width: 200px;
}

.section:nth-child(odd) h1::after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffa500;
    height: 2px;
    width: 200px;
}

/*#########################################AKTUALNOŚCI################################################*/

#news {
    background-color: #fff;
}

.news-item {
    min-height: 500px;
    padding: 20px 40px;
    margin: 0 0 20px;
    background-color: #f6f6f7/*#ded*/;
    font-size: 1.125rem/*18px*/;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
}

.news-item h3 {
    border-bottom: 1px solid #333;
}

.news-item ul {
    padding-left: 25px;
}

.news-item img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    -webkit-transition: all ease-in-out .3s;
    -moz-transition: all ease-in-out .3s;
    -o-transition: all ease-in-out .3s;
    transition: all ease-in-out .3s;
}

.zoom {
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
}

.zoom:hover,
.map-zoom:hover {
    cursor: zoom-in;
}

.float {
    float: right;
}

.big {
    transform: scale(2);
}

.big-map {
    transform: scale(1.5);
}

.subitem {
    box-sizing: border-box;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #ddd;
    border: 1px solid #fff;
}

.subitem > div {
    max-width: 450px;
    margin: auto;
}

/*############################################KAFLE###################################################*/

.offer {
    padding: 15px 20px 20px;
}

.offer h2 {
    display: block;
    margin: 0 auto;
    padding: 10px;
    color: #fff;
    text-align: center;
    font-size: 1.75rem/*28px*/;
    background-color: #555358/*235,179,41*/;
    background-color: rgba(85, 83, 88, .6)/*235,179,41*/;
    font-weight: 400;
}

.flex-offer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.photo-left,
.photo-right {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    height: 600px;
    width: 45vw/*600px*/;
    margin: 0 15px 15px;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
}

.off-left {
    background-image: url("../img/left.jpg");
    /*background-attachment: fixed;*/
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.off-right {
    background-image: url("../img/right.jpg");
    /*background-attachment: fixed;*/
    background-position: 65% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000;
    opacity: .3;
    -webkit-transition: all ease-in-out .25s;
    -moz-transition: all ease-in-out .25s;
    -o-transition: all ease-in-out .25s;
    transition: all ease-in-out .25s;
}

.overlay:hover {
    opacity: 0;
    cursor: pointer;
}

/*############################################KAFELKI#################################################*/

.flex-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.tile {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    min-width: 375px;
    height: 500px;
    margin: 10px;
    padding: 10px;
    background-color: #333;
    color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-transition: all ease-in-out .15s;
    -moz-transition: all ease-in-out .15s;
    -o-transition: all ease-in-out .15s;
    transition: all ease-in-out .15s;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
}

.tile h2 {
    position: absolute;
    z-index: 1;
    margin: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 10px;
    background-color: #555358;
    background-color: rgba(85, 83, 88, .6);
    font-weight: 400;
}

.tile .bottom {
    opacity: 0;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    /*top: 0;*/
    left: 0;
    right: 0;
    height: 100%/*60%*/;
    background-color: #000;
    background-color: rgba(0, 0, 0, .75);
    -webkit-transition: all ease-in-out .3s;
    -moz-transition: all ease-in-out .3s;
    -o-transition: all ease-in-out .3s;
    transition: all ease-in-out .3s;
}

.tile p {
    position: relative;
    font-size: 1.3rem;
    padding: 50px 20px 10px;
    text-align: center;
}

.tile:hover .bottom {
    opacity: 1;
}

.tile:focus .bottom {
    opacity: 1;
}

.btn-bottom {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    bottom: 25%/*0*/;
    left: 0;
    right: 0;
    width: 50%;
    margin: auto/*0 auto 30px auto*/;
    padding: 10px 5px;
    text-align: center;
    font-size: 1.5rem;
    border: 2px solid #fff;
    -webkit-transition: all ease-in-out .25s;
    -moz-transition: all ease-in-out .25s;
    -o-transition: all ease-in-out .25s;
    transition: all ease-in-out .25s;
    color: #fff;
}

.btn-bottom:hover {
    cursor: pointer;
    color: #000;
    color: rgba(0, 0, 0, .8);
    background-color: #fff;
    background-color: rgba(255, 255, 255, 1);
    border-color: transparent;
}

.t1 {
    background-image: url("../img/pary.jpg");
    /*background-position: 0 -1%;*/
}

.t2 {
    background-image: url("../img/narzeczeni.jpg");
    background-position: 85% 50%;
}

.t3 {
    background-image: url("../img/pierwszy.jpg");
    background-position: 65% 50%;
}

.t4 {
    background-image: url("../img/indywidualne.jpg");
    background-position: 62.5% 50%;
}

.t5 {
    background-image: url("../img/sportowy.jpg");
    background-position: 45% 50%;
}

.t6 {
    background-image: url("../img/amatorski.jpg");
}

.t7 {
    background-image: url("../img/pokazy.jpg");
    background-position: 60% 50%;
}

.t8 {
    background-image: url("../img/voucher.jpg");
    background-position: 10% 50%;
}

.t9 {
    background-image: url("../img/panienski.jpg");
}

.t10 {
    background-image: url("../img/dlafirm.jpg");
    background-position: 65% 50%;
}

.t11 {
    background-image: url("../img/sala.jpg");
}

/*#############################################OPISY#################################################*/

.desc {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .3);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .3);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .3);
    margin: 20px;
    text-shadow: 0px 0px 3px #fff/*, -1px -1px #000, 1px 1px #000*/;
    color: #000;
    min-height: 500px;
}

.block a {
    color: #fff;
}

.block {
  position: relative;
}

.block::before, .block::after {
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  left: 10px;
  width: 50%;
  top: 80%;
  max-width: 300px;
  background: #777;
  -webkit-box-shadow: 0 15px 10px #777;
  -moz-box-shadow: 0 15px 10px #777;
  box-shadow: 0 15px 10px #777;
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
}

.block::after {
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
  right: 10px;
  left: auto;
}

.photo {
    margin: 0 20px 20px;
    float: right;
}

.desc .text::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    opacity: .2;
    z-index: -2;
}

#couples-desc .text::after {
    background-image: url("../img/pary.jpg");
}

#wedding-desc .text::after {
    background-image: url("../img/narzeczeni.jpg");
    background-position: 50% 20%;
}

#first-desc .text::after {
    background-image: url("../img/pierwszy.jpg");
}

#single-desc .text::after {
    background-image: url("../img/indywidualne.jpg");
    background-position: 50% 10%;
}

#sport-desc .text::after {
    background-image: url("../img/sportowy.jpg");
}

#amateur-desc .text::after {
    background-image: url("../img/amatorski.jpg");
    background-position: 50% 35%;
}

#shows-desc .text::after {
    background-image: url("../img/pokazy.jpg");
    background-position: 50% 0;
}

#business-desc .text::after {
    background-image: url("../img/dlafirm.jpg");
    background-position: 50% 30%;
}

#hall-desc .text::after {
    background-image: url("../img/sala.jpg");
    background-position: 50% 30%;
}

#voucher-desc .text::after {
    background-image: url("../img/voucher.jpg");
    background-position: 50% 70%;
}

#ladies-desc .text::after {
    background-image: url("../img/panienski.jpg");
}

.text {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    padding: 20px;
    font-size: 1.1rem;
}

.text h2 {
    margin-bottom: 0;
}

.text p {
    margin: 7.5px 0;
}

.text h3 {
    margin-bottom: 0;
}

.text ul {
    padding-left: 20px;
    margin: 5px 0 10px 0;
}

.text a {
    color: #000;
    font-weight: 700;
}

.block {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    text-align: center;
    width: 400px;
    padding: 5px;
    background-color: #ffa500;
    color: #fff;
    text-shadow: none;
}

.block a {
    color: #fff;
}

.block .enroll,
.block a {
    font-weight: 700;
}

.form,
.link {
    position: relative;
}

.form:hover,
.link:hover {
    cursor: pointer;
}

.form::before,
.link::before {
    position: absolute;
    left: 0;
    bottom: 0;
    content: "";
    width: 100%;
    height: 2px;
    background-color: #000;
    transform: scaleX(0);
    transition: all ease .25s;
}

.block .form::before,
.block .link::before {
    background-color: #fff;
}

.form:hover::before,
.link:hover::before {
    transform: scaleX(1);
}

.back {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    border: none;
    color: #333;
    font-size: 1.5rem/*24px*/;
    line-height: 1.5rem/*24px*/;
    width: 40px;
    height: 40px;
    cursor: pointer;
    -webkit-transition: all ease-in-out .25s;
    -moz-transition: all ease-in-out .25s;
    -o-transition: all ease-in-out .25s;
    transition: all ease-in-out .25s;
}

.back:hover {
    background-color: #000;
    color: #fff;
}

#classes > .back,
#offer > .back {
    margin: 20px 0 0 20px;
}


/*############################################SZKOŁA#################################################*/

#school h2 {
    position: relative;
    text-align: center;
}

#school h2::after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    height: 2px;
    width: 100px;
}

/*#########################################INSTRUKTORZY###############################################*/

.flex-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: start;
    -moz-box-align: start;
    -ms-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.tile-instr {
    margin: 10px;
    padding: 10px;
    width: 600px;
    background-color: #333;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    color: #fff;
}

.tile-instr:last-of-type {
    width: 1240px;
}

.up p {
    padding: 0 20px 0 10px;
    border-left: 3px solid #aaa/*#666*/;
}

.up h2 {
    margin-bottom: 0;
    margin-left: 15px;
}

.up h3 {
    margin-top: 0;
    color: #aaa/*#666*/;
    margin-left: 15px;
}

.left {
    display: inline-block;
    width: 49.7%;
    text-align: center;
}

.left img {
    max-width: 100%;
    height: auto;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
}

.right {
    width: 49.7%;
    display: inline-block;
}

.down {
    padding: 0 20px 10px;
}

.down p,
.down ul {
    margin: 10px 0;
}

.more {
    display: grid;
    place-items: center;
}

.more button {
    padding: 7.5px 15px;
    border: 2px solid #fff;
    font-size: 1rem;
    line-height: .8rem;
    font-weight: 700;
    -webkit-transition: all ease-in-out .25s;
    -moz-transition: all ease-in-out .25s;
    -o-transition: all ease-in-out .25s;
    transition: all ease-in-out .25s;
}

.more button:hover {
    background-color: #fff;
    color: #333;
    cursor: pointer;
}

.more i {
    font-size: 1.25rem;
    padding: 10px;
    -webkit-transition: all ease-in-out .25s;
    -moz-transition: all ease-in-out .25s;
    -o-transition: all ease-in-out .25s;
    transition: all ease-in-out .25s;
}

.more i:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
    cursor: pointer;
}

.more i.up {
    -webkit-transform: rotateX(180deg);
    -moz-transform: rotateX(180deg);
    -ms-transform: rotateX(180deg);
    -o-transform: rotateX(180deg);
    transform: rotateX(180deg);
}

/*###########################################GRAFIK###################################################*/

#schedule h3 {
    text-align: center;
}

#schedule h3:nth-of-type(2) {
    margin-bottom: 0;
}

.schedule {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 10px;
    line-height: normal;
}

.day {
    width: 225px/*250px*/;
    margin: 10px 5px;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
}

.cell {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 150px/*140px*/;
    border-bottom: 1px solid rgba(0, 0, 0, .25);
    -webkit-transition: all ease-in-out .25s;
    -moz-transition: all ease-in-out .25s;
    -o-transition: all ease-in-out .25s;
    transition: all ease-in-out .25s;
}

.cell:first-of-type {
    display: grid;
    place-items: center;
    background-color: #555;
    color: #fff;
    font-weight: 700;
    height: 40px;
}

.cell:last-of-type {
    border-bottom: none;
}

.cell:not(:first-of-type) {
    text-align: center;
    padding: 10px;
}

.cell b:first-child {
    display: inline-block;
    padding: 3px 30px 3px 10px;
    background-color: #ffa500;
    color: #fff;
    -webkit-clip-path: polygon(0% 0%, 85% 5%, 90% 95%, 5% 100%);
    clip-path: polygon(0% 0%, 85% 5%, 90% 95%, 5% 100%);
}

.cell span {
    display: inline-block;
    padding: 10px 0;
}

.desc-news {
    color: #333;
}

/*############################################CENNIK##################################################*/

.pricing {
    margin-bottom: 10px;
}

.columns {
    margin: auto;
    width: 50vw;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .5);
}

.columns:not(:first-child) {
    margin-top: 30px;
}

.price {
    list-style-type: none;
    background-color: #fff;
    margin: 0;
    padding: 0;
    -webkit-transition: .35s;
    -moz-transition: .35s;
    -o-transition: .35s;
    transition: .35s;
}

.price .background {
    -webkit-transition: all ease-in-out .25s;
    -moz-transition: all ease-in-out .25s;
    -o-transition: all ease-in-out .25s;
    transition: all ease-in-out .25s;
}

.price .background:hover {
    background-color: #ded;
}

.box {
    background-color: #ded;
}

.price .types {
    margin: 0;
    padding: 0;
}

.price .types li {
    border: none;
    display: inline-block;
}

.price .header {
    background-color: #ffa500;
    color: white;
    font-size: 1.5rem;
}

.columns:last-child .header {
    background-color: #ffa500/*#cd3700*/;
}

.price li {
    border-bottom: 1px solid #eee;
    padding: 20px;
    text-align: center;
    text-transform: uppercase;
    color: #333;
}

.fa-heart {
    color: #fff;
    transform: rotate(-45deg);
    font-size: 1.875rem/*30px*/;
}

.fa-heart:nth-child(n+4) {
    transform: rotate(45deg);
}

/*###########################################GALERIA##################################################*/

.gallery {
    position: relative;
    min-height: 645px;
    margin: 40px 20px;
}

.gal-left {
    background-image: url("../img/galeria/20_small.jpg");
    background-position: 100% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.gal-right {
    background-image: url("../img/galeria/sala/sala_4.jpg");
    background-position: 100% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.gal-slide {
    /*position: relative;*/
    display: none;
}

.show {
    display: block;
}

.gallery img {
    display: block;
    margin: auto;
    max-width: 100%;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .3);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .3);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .3);
}

.gal-prev,
.gal-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #fff;
    background-color: rgba(0, 0, 0, .75);
    font-weight: 700;
    font-size: 1.125rem/*18px*/;
    transition: .6s ease;
    border-radius: 5px 0 0 5px;
    user-select: none;
}

.gal-next {
    right: 0;
    border-radius: 0 5px 5px 0;
}

.gal-prev:hover,
.gal-next:hover {
    background-color: rgba(0, 0, 0, 1);
}

.gal-dots {
    text-align: center;
    margin: 20px 0;
}

.gal-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #aaa;
    border-radius: 50%;
    display: inline-block;
    transition: background-color .25s ease;
}

.active,
.gal-dot:hover {
    background-color: #404040/*#717171*/;
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: .5s;
    animation-name: fade;
    animation-duration: .5s;
}

.fade-bgimg {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1s;
    animation-name: fade-bgimg;
    animation-duration: 3s;
}

@-webkit-keyframes fade-bgimg {
    from {
        opacity: .8
    }

    to {
        opacity: 1
    }
}

@keyframes fade-bgimg {
    from {
        opacity: .8
    }

    to {
        opacity: 1
    }
}



@-webkit-keyframes fade {
    from {
        opacity: .8
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .8
    }

    to {
        opacity: 1
    }
}

/*############################################FOOTER##################################################*/

footer > .section {
    background-color: #333;
    color: #fff;
}

footer h2:nth-child(1) {
    padding-top: 40px;
}

footer h2 {
    margin: 0;
    padding-top: 20px;
    text-align: center;
    width: 100%;
    border-bottom: 2px solid #fff/*#ffa500*/;
    line-height: .1rem;
}

footer h2 span {
    background: #333;
    padding: 0 20px;
}

#map {
    height: 500px;
    margin: 40px auto;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .3);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .3);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .3);
}

.directions {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: auto auto 20px;
    background-color: #555;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .3);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .3);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .3);
}

.dir-text {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 45vw;
    margin: 0 auto;
    padding: 10px;
}

.dir-map {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 45vw;
    margin: auto;
    padding: 10px;
}

.dir-map img {
    display: block;
    margin: auto;
    max-width: 100%;
    height: auto;
    -webkit-transition: all ease-in-out .25s;
    -moz-transition: all ease-in-out .25s;
    -o-transition: all ease-in-out .25s;
    transition: all ease-in-out .25s;
}

.eu img {
    display: block;
    margin: auto;
    max-width: 100%;
    height: auto;
}

/*DANE KONTAKTOWE*/

.info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 40px auto 10px;
}

.bl-btm {
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    min-width: 25%;
}

.social {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
}

.info .fas {
    font-size: 2.25rem/*3.125em/*50px*/;
    margin-bottom: 15px;
}

.info .fab {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    padding: 10px;
    font-size: 1.875rem/*30px*/;
    width: 60px;
    height: 60px;
    color: #fff;
    border-radius: 50%;
    border: 3px solid #fff;
    -webkit-transition: all ease-in-out .25s;
    -moz-transition: all ease-in-out .25s;
    -o-transition: all ease-in-out .25s;
    transition: all ease-in-out .25s;
}

.info .fab:hover {
    background-color: #fff;
    color: #333;
    cursor: pointer;
}

.info .fa-facebook-f {
    padding-top: 12px;
}

.info .fa-youtube {
    padding-top: 12px;
}

/*COPY*/

.copy {
    margin-top: 50px;
    text-align: center;
    color: #868686;
}

/*FACEBOOK*/

.handle {
    z-index: 2;
    position: fixed;
    right: 0;
    top: 250px;
    display: block;
    cursor: pointer;
    color: white;
    background-color: #4267b2;
    padding: 0.75em 0.5em;
    box-sizing: border-box;
    font-size: 1.25rem;
    border-radius: 4px 0px 0 4px;
    -webkit-transition: all ease-in-out .25s;
    -moz-transition: all ease-in-out .25s;
    -o-transition: all ease-in-out .25s;
    transition: all ease-in-out .25s;
}

.handle:hover {
    background-color: #204590;
}

.handle a {
    color: #fff;
}

/*#########################################MEDIA QUERIES##############################################*/

@media (max-width: 360px) {
    .down ul {
        padding-left: 0;
    }

    .down p {
        text-align: left;
    }
}

@media (max-width: 390px) {
    .section .tile {
        min-width: 100%;
        font-size: 4vw;
    }

    .section h1 {
        font-size: 10vw;
    }

    footer h2 {
        font-size: 6vw;
    }

    #school p {
        padding: 1vw;
        text-align: left;
    }

    .gallery h2 {
        font-size: 7vw;
    }
}

@media (max-width: 420px) {
    input[type=submit] {
        float: none;
    }
        
    .info .fab {
        font-size: 1.1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 500px) {
    .text,
    .tile-instr .down,
    .tile-instr .up p,
    #school p,
    footer .dir-text/*,
    footer form,
    .form-p*/
        {
        font-size: inherit;
    }

    .tile-instr {
        width: 100%;
    }

    .modal-content > ol {
        padding: 0 10px 10px;
    }
    
    .header-contact {
        font-size: 0.75rem/*12px*/ !important;
    }
            
    .header-contact span {
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {
    .block {
        width: 100%;
    }

    .text > ul {
        padding-left: 20px;
    }

    .text > h2 {
        font-size: 1.4rem;
    }

    .news-item {
        margin: 0;
        padding: 10px;
        font-size: 1rem/*16px*/;
    }

    .left,
    .right {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .btn {
        font-size: 1.5rem;
    }

    .photo-left,
    .photo-right {
        width: 100%;
    }

    .bl-btm {
        width: 100%;
    }
    
    .quote {
        font-size: .75rem/*1.1rem*/;
    }
            
    .header-img {
        margin: auto 0 auto -40px;
        width: 142.5px;
    }
            
    .header-contact {
        margin: auto -40px auto 0;
    }
            
    .header-contact i {
        font-size: 0.75rem/*12px*/;
        padding-right: 5px;
    }
}

@media (max-width: 780px) {
    .columns {
        width: 100%;
    }
}

@media (max-width: 830px) {
    .tile {
        min-width: 300px;
    }
    
    .tile p {
        font-size: 1.2rem;
        padding: 0 10px;
    }
    
    .tile h2 {
        font-size: 1.3rem;
    }
    
    .btn-bottom {
        padding: 2px;
    }
}

@media (max-width: 900px) {
    .header-contact {
        font-size: 1rem/*16px*/;
    }
    
    .header-contact span {
        margin-bottom: 1px;
        padding: 2px 15px;
    }
    
    .bgimg-1 {
        background-position: 55% -90px/*-180px*/;
	background-size: cover;
    }

    .bgimg-3 {
        background-position: 25% 0px;
    }
    
    .gallery {
        min-height: inherit;
    }	
}

@media (max-width: 1000px) {

    .directions .dir-text,
    .directions .dir-map {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .tile {
        height: 300px;
    }

    .tile p {
        padding: 0 15px;
    }

    .t1 {
        background-position: 0 0;
    }
    
    .photo-left,
    .photo-right {
        height: 400px;
    }
}

@media (max-width: 1050px) {
    nav {
        font-size: 1.125rem/*18px*/;
    }

    .nav-horizontal ul > li > ul > li {
        font-size: 1rem/*16px*/;
    }
}

@media (max-width: 1235px) {
    .bl-btm {
        width: 50%;
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid #fff;
    }
}

@media (max-width: 1320px) {
    .tile-instr:last-of-type {
    width: 600px;
    }
}


@media (min-width: 1050px) {
    .gal-next {
        right: 16vw;
    }
    
    .gal-prev {
        left: 16vw;
    }
}

@media (min-width: 1225px) {

    .t10,
    .t11 {
        width: 572.5px;
    }
}

@media (min-width: 1795px) {

    .t10,
    .t11 {
        width: 375px;
    }
}
