/*  #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:22px;
    }
    .wrapper .container {
        max-width: 93%;
    }
    h3 {
        font-size: 22px;
        line-height: 28px;
    }
    h5 {
        font-size: 17px;
        line-height: 24px;
        margin: 25px 0 6px 0;
    }
    p.big {
        font-size: 16px;
        line-height: 23px;
    }
    .titleBox p {
        font-size: 24px;
        margin-bottom: 5px;
        line-height: 1.3;
    }
    #contactRow {
        padding: 8px 0;
        font-size: 14px;
    }
    #greyRow,
    .owl-dots,
    .owl-theme .owl-nav {
        display: none;
    }
    .col-padding-top {
        padding-top: 0;
    }
    .padding {
        padding: 45px 0 35px;
    }
    .big-txt p {
        font-size: 16px;
        line-height: 25px;
    }
    .titleBox h1 {
        margin: 0;
        font-size: 24px;
        line-height: 29px;
    }
    .titleBox h1 span {
        font-size: 21px;
    }
    .more {
        margin-top: 15px
    }
    
    header {
        height: 70px;
    }
    
    header.smaller, body.subpage header.smaller {
        height: 50px;
    }

    #mainLink, header.smaller #mainLink {
        position: absolute;
        top: 0;
        left: auto;
        right: 0;
        width: 200px;
        height: 70px;
        padding: 0;
        background-size: 160px auto;
    }
    #mainLink:hover {
        top: 0;
    }
    header.smaller #mainLink {
        top: 0;
        left: auto;
        right: 0;
        width: 175px;
        height: 50px;
        padding: 0;
        background-size: 135px auto;
    }

    .captionBox .localization,
    .captionBox .description,
    .captionBox .more {
        display: none;
    }
    
    #mainMenu {
       top: 12px;
        right: auto;
        position: absolute;
        left: 10px;
        margin: 0;
    }
    
    header.smaller #mainMenu {
        display: block;
        margin: auto;
        border: none;
        float: none;
        top: 2px;
        left: 10px
    }

    #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;
    }
    
    h2 {
        font-size: 30px;
        line-height: 33px;
        margin: 0 0 15px 0;
        padding: 0 0 10px;
    }

    .subtitle {
        margin: 0 0 12px;
    }
    .slider-wrap {
        position: relative;
        margin-top: 70px;
    }

    .captionWrapper {
        bottom: 0;
        max-width: 55%;
    }
    .captionBox {
        padding: 15px 15px 5px;
    }
    .captionBox h4 {
        font-size: 14px;
    }
    .captionWrapper .more {
        font-size: 15px;
        padding: 9px 10px;
        margin-top: 7px;
    }
    #copyright {
        font-size: 12px;
        padding-top: 20px;
    }
 
    .carouselIntro {
        width: 95%;
    }
    .titleBox {
        margin-bottom: 20px;
    }
    .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;
    }
    .mainIntro .mainTitle {
        margin-top: 20px;
        margin-bottom: 30px;
        font-size: 20px;
    }
    .mainIntro:hover .mainTitle {
        font-size: 20px;
    }
    .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
    }

  
    #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 {
        padding: 40px 0 30px;
    }
    .carouselContent {
        padding: 12px 0;
        font-size: 18px;
    }
    #localizationMap .label {
        padding: 17px 30px 18px;
        font-size: 28px;
    }
    #contact {
        font-size: 16px;
    }
    .titleBox h3 {
        font-size: 24px;
        line-height: 32px;
    }
    .titleBox h3 span {
        font-size: 24px;
        line-height: 26px;
    }

    #contactBox {
        padding: 20px 15px 15px;
    }
    .paddingSub {
        padding: 30px 0 15px;
    }
    
    #footerLogo {
        margin: 0 auto 30px;
    }
    #footerLogo img {
        width: 240px;
        margin: 0 0 15px;
        height: auto;
    }
    #contactBox h5 {
        font-size: 21px;
    }

   .more {
        font-size: 17px;
        margin: 18px 0 0;
        padding: 11px 25px 12px;
    }
    #contact div.row {
        font-size: 16px;
    }
    .about .row {
        flex:none;
        display:block;
        float:left;
    }

    .about .aboutBox .aboutTitle {
        font-size: 26px;
    }
    
    .about .aboutBox .content {
        padding:0 5%
    }
    .about .aboutBox .aboutLocalization {
        font-size: 15px;
    }
    .about .aboutBox .aboutDesc .grey-txt {
        margin-bottom: 15px;
    }
    .about #mainPic1 {
        height:250px
    }
    .about .aboutBox p.big {
        font-size: 16px;
        line-height: 24px;
    }
    .about .aboutBox .aboutDesc strong {
        font-size: 18px;
    }
    .about .aboutCol { 
        width:100%; 
        overflow: hidden;
        flex:none;
        padding: 35px 0 25px;
    }
    
    .about #aboutBox {
        padding: 45px 0 35px;
    }
    .about .aboutBox p, .about .aboutBox li {
        font-size: 16px;
        line-height: 24px;
    }
  
    .footerContact h6 {
        line-height: 20px;
        margin: 10px 0 15px;
        font-size: 18px;
    }
    .footerContact #quick-contact a {
        font-size: 16px;
    }
    body.subpage .wrapper.padding, .paddingSub {
        padding: 30px 0 35px;
    }
    .sideBoxContainer {
        margin-bottom: 30px;
    }
    .rowLink div:nth-child(3), .listHeader div:nth-child(3),
    .rowLink div:nth-child(5), .listHeader div:nth-child(5),
    .contact-link 
    {
        display: none
    }
    .listHeader div, .rowLink div {
        padding: 12px 1%;
        font-size: 13px;
    }

    .rowLink div:nth-child(1), .listHeader div:nth-child(1) {
        width: 33%;
    }
    .rowLink div:nth-child(2), .listHeader div:nth-child(2) {
        width: 29%;
    }
    .rowLink div:nth-child(4), .listHeader div:nth-child(4) {
        width: 32%;
    }
    #kierunki {
        background-size: 90% auto;
        height: 90px;
    }
    div.sticky {
        position: -webkit-relative;
        position: relative;
        top: 0;
    }

    .footerContact div.row {
        font-size: 17px;
    }
    #footer .col {
        margin-bottom: 15px;
        margin: auto;
        float: none;
    }
    
    #select {
        background-size: cover
    }
    .investition-data-wrapper {
        row-gap: 40px;
    }
    .investition-data-wrapper .investition-box {
        width: 50%;
    }
    .investition-data-wrapper .investition-box .investition-count {
        font-size: 65px;
    }
    .investition-data-wrapper .investition-box.small .investition-count {
        font-size: 24px;
        line-height: 1.25;
        margin-top: 10px;
    }
    .investition-data-wrapper .investition-box.middle .investition-count {
        font-size: 40px;
        line-height: 1.25;
        margin-top: 10px;
    }
    .investition-data-wrapper .investition-box .investition-title {
        font-size: 20px;
    }
    
    .footerContact h5 {
        line-height: 28px;
        margin: 25px 0 20px;
        font-size: 19px;
    }
    
    .apartmentBox {
        margin-bottom: 40px;
    }
    
    .map {
        overflow: hidden;
    }
}