/*  #Mobile (Portrait)
================================================== */
/* Note: Design for a width of 320px */

@media only screen and (min-width: 100px) and (max-width: 767px)  {
    
    body {
        font-size:15px;
        line-height:25px;
    }
    .wrapper .container {
        max-width: 95%;
    }
    .wrapper .container-wide {
        padding-left: 5px;
        padding-right: 5px;
    }
    h1 {
        font-size: 30px;
        margin: 0 0 7px 0;
    }
    h2 {
        font-size: 30px;
        line-height: 33px;
        margin: 0 0 15px 0;
        padding: 0 0 10px;
    }
    h3 {
        font-size: 22px;
        line-height: 28px;
    }
    h5 {
        font-size: 17px;
        line-height: 24px;
        margin: 25px 0 6px 0;
    }

    p.big-txt {
        font-weight: 700;
        font-size: 16px;
    }
    .titleBox p {
        font-size: 24px;
        margin-bottom: 5px;
        line-height: 1.3;
    }
    #contactRow {
        padding: 8px 0;
        font-size: 14px;
    }
    #greyRow,
    .owl-theme .owl-nav {
        display: none;
    }

    .padding {
        padding: 55px 0 35px;
    }
    .big-txt p {
        font-size: 16px;
        line-height: 25px;
    }
    
    .more {
        margin-top: 15px;
        font-size: 17px;
        border-radius: 25px;
        margin: 25px 0 0;
        padding: 12px 27px 12px;
    }
    
    header {
        height: 70px;
        margin-top: 10px;
    }
    
    header.smaller, body.subpage header.smaller {
        height: 50px;
    }
    #topRow {
        background: #fff;
        height: 43px;
        border-radius: 25px;
    }
    #mainLink, header.smaller #mainLink {
        position: absolute;
        top: 13px;
        left: auto;
        right: 22px;
        width: 155px;
        height: 46px;
        padding: 0;
        background-size: 155px auto;
    }
    #mainLink:hover {
        top: 15px;
    }
    header.smaller #mainLink {
        position: absolute;
        top: 13px;
        left: auto;
        right: 22px;
        width: 155px;
        height: 46px;
        padding: 0;
        background-size: 155px auto;
    }

    #mainLink span {
        display: none;
    }
    
    #mainMenu,
    header.smaller #mainMenu {
       top: 9px;
        right: auto;
        position: absolute;
        left: 18px;
        margin: 0;
    }


    #mainMenu nav {
        margin: 0;
        width: 100%;
        position: relative
    }

    #mainMenu #menu-icon {
        display: inline-block;
        width: 65px;
        margin: 17px 10px 0 0;
        height: 62px;
        background: #fbdf00 url('img/icoMenu.png') center no-repeat;
        float: right;
    }
    header.smaller #mainMenu #menu-icon {
        background-color: #000;
    }
    #mainMenu a:hover#menu-icon {
        background-color: #4b4b4b;
    }

    #mainMenu nav ul {
        display: none;
        background: #4b4b4b;
        position: absolute;
        padding: 15px 0 12px !important;
        right: 10px;
        top: 78px;
        width: 225px;
        z-index: 1001;
    }

    #mainMenu ul li {
        text-align: right;
        padding: 10px 0;
        margin: 0;
        width: 205px;
        list-style: none;
        display: inline;
        float: left;
        border: none !important;
        background: none
    }

    #mainMenu ul li a, header.smaller #mainMenu ul li a {
        display: inline;
        float: left;
        width: 100%;
        font-size: 20px;
        font-weight: bold;
        color: #fff;
        text-shadow: none;
        padding: 0;
        border: none;
    }

    #mainMenu ul li a.current, header.smaller #mainMenu ul li a.current {
        background: none !important;
        color: #fffaad;
    }

    #mainMenu ul li.active a, header.smaller #mainMenu ul li.active a {
        color: #fff !important;
        background: none !important
    }

    #mainMenu ul li a:hover, header.smaller #mainMenu ul li a:hover {
        color: #fffaad !important;
        background: none
    }

    #mainMenu nav ul.nav-open {
        display: block;
    }

    #mainMenu ul li:last-child {
        float: left;
    }
    
    

    .subtitle {
        margin: 0 0 12px;
        font-size: 23px;
    }
    
    .slider-wrap {
        position: relative;
        margin-top: 55px;
    }

    .captionWrapper {
        bottom: 0;
    }
    .captionBox {
        padding: 0 0 25px;
    }
    .captionBox h5 {
        font-size: 15px;
        margin: 0;
    }
    .captionBox h5 span {
        font-size: 15px;
    }
    
    #intro {
        position: relative;
        z-index: 100;
        margin-top: -15px;
        padding: 0 0 45px;
        border-top-left-radius: 25px;
        border-top-right-radius: 25px;
    }
    
    #copyright {
        font-size: 12px;
        padding-top: 20px;
    }
 
    .carouselIntro {
        width: 90%;
    }
    .titleBox {
        margin-bottom: 15px;
    }
    .container.hidden {
        margin-bottom: 15px !important;
    }
    body.index #gallery .miniatureWrapper {
        width: 50%;
        margin: 0;
    }
    .fluid-wrapper {
        padding-bottom: 41%;
    }
    #poznaj {
        padding: 40px 0 40px;
    }
    #formLeft,
    #formRight {
        width: 100%;
    }

    #formRight textarea {
        float: left;
        height: 120px;
    }
    #kontakt .col.first {
        font-size: 17px;
        line-height: 28px;
    }

    .defaultIntro {
        margin-bottom: 20px;
        padding-left: 0;
        background: none;
        width: 100%;
    }
  
    .more-wide {
        font-size: 14px;
        margin: 10px 0 0;
        line-height: 18px;
    }
    .wrapper .container img {
        max-width: 100%;
        height: auto
    }

    .iconIntro {
        margin-bottom: 25px;
        height: 220px;
        background-size: cover;
        width: 100%;
        margin-right: 0;
        background-position: 50% 50%;
    }
  
    #footer .col {
        margin-bottom: 15px;
    }
    
    #copyright .col {
        text-align: center;
    }
    
    #copyright .span_3_of_12 {
        display: none;
    }
    .promoIntro .inner {
        height: 250px;
    }
    #contentWrapper {
        padding: 85px 0 15px;
    }
    #contentWrapper h1 {
        font-size: 21px;
        line-height: 25px;
    }


    #footer {
    }
    
    .carouselContent {
        padding: 12px 0;
        font-size: 18px;
    }
    #localizationMap .label {
        padding: 17px 30px 18px;
        font-size: 28px;
    }
    #contact {
        font-size: 16px;
    }
    .titleBox h3 {
        font-size: 37px;
    }
    .titleBox h3 span {
        font-size: 35px;
    }

    #contactBox {
        padding: 20px 15px 15px;
    }
    .paddingSub {
        padding: 30px 0 15px;
    }
    
    #footerLogo {
        margin: 0 auto 30px;
        text-align: center;
    }
    #footerLogo img {
        width: 215px;
        margin-bottom: 0;
        height: auto;
    }
    #contactBox h5 {
        font-size: 21px;
    }
    
    #special {
        padding: 50px 0 100px;
    }

    #contact div.row {
        font-size: 16px;
    }
  
    #mapa .row {
        width:100%;
    }

    #special .titleBox {
        padding-bottom: 22px;
    }
    #special .titleBox h3 {
        font-size: 32px;

    }
    
    #special .titleBox h3 span {
        font-size: 24px;
        width: 100%;
    }
    .footerContact h6 {
        line-height: 20px;
        margin: 10px 0 15px;
        font-size: 18px;
    }
    .footerContact #quick-contact a {
        font-size: 19px;
    }
    body.subpage .wrapper.padding, .paddingSub {
        padding: 30px 0 35px;
    }
    .sideBoxContainer {
        margin-bottom: 30px;
    }
    .listHeader div {
        padding: 7px 0;
        font-size: 10px;
        font-weight: normal;
    }
    .listHeader a {
        font-size: 12px;
    }
    .rowLink div {
        padding: 9px 0;
        font-size: 13px;
    }
    .rowLink div:nth-child(1), .listHeader div:nth-child(1) {
        width: 15%;
        text-align: center
    }
    .rowLink div:nth-child(2), .listHeader div:nth-child(3) {
        width: 22%;
        text-align: center
    }
    .rowLink div:nth-child(3), .listHeader div:nth-child(3) {
        width: 35%;
    }
    .rowLink div:nth-child(4), .listHeader div:nth-child(4) {
        display: none;
    }
    .rowLink div:nth-child(5), .listHeader div:nth-child(5) {
        width: 39%;
    }
    #kierunki {
        background-size: 90% auto;
        height: 90px;
    }
    div.sticky {
        position: -webkit-relative;
        position: relative;
        top: 0;
    }
    
    .main-pic {
        height: 375px;
        margin-top: 50px;
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        padding: 12px;
        box-sizing: border-box;
        background-size: cover;
        border-radius: 20px;

    }
    .info-box-wrapper {
        border-radius: 20px;
        padding: 10px 10px;
        width: 132px;
        height: 150px;
    }
    .info-box-wrapper .info-box-big {
        font-size: 45px;
    }
    .info-box-wrapper .info-box-medium {
        font-size: 32px;
    }
    .info-box-wrapper .info-box-small {
        font-size: 17px;
    }
    #apartament-intro {
        padding-top: 20px;
    }
    #apartament-intro p {
        text-align: left !important;
    }
    
    .karuzela {
        padding-top: 15px;
    }
    
    #special .titleBox {
        margin-top: 0;
    }
    #footerMenu ul {
        margin: 30px 0;
    }
    #footerContact {
        font-size: 15px;
        display: flex;
        column-gap: 0;
        row-gap: 10px;
        flex-direction: column;
        align-items: center;
    }
    #footerMenu ul li a {
        font-size: 14px;
    }
    #intro .titleBox  {
        margin-top: 25px;
    }
}