/*  #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: 24px;
    }
    .wrapper .container {
        max-width: 93%;
    }
    h3 {
        font-size: 22px;
        line-height: 28px;
    }
    h5 {
        font-size: 17px;
        line-height: 24px;
        margin: 25px 0 6px 0;
    }
    body.index h1 {
        font-size: 25px;
        line-height: 30px;
        margin-bottom: 15px;
    }
    p.big {
        font-size: 16px;
        line-height: 26px;
    }
    .titleBox p {
        font-size: 24px;
        margin-bottom: 5px;
        line-height: 1.3;
    }
    #contactRow {
        padding: 8px 0;
        font-size: 14px;
    }
    .socialBox,
    #footerMenu,
    .owl-theme .owl-nav {
        display: none;
    }

    .padding {
        padding: 55px 0 35px;
    }
    .big-txt p {
        font-size: 16px;
        line-height: 25px;
    }
    
    .more {
        font-size: 15px;
        margin: 30px 0 0;
        line-height: 20px;
        padding: 15px 20px 15px;
    }
    
    header {
        height: 70px;
        background: #1b2d6a;
    }
    
    header.smaller, body.subpage header.smaller {
        height: 50px;
    }
    
    .langBox {
        position: absolute;
        top: 23px;
        left: 90px;
        right: auto;
    }
    
    header.smaller .langBox {
        top: 12px;
    }
    
    #mainLink, header.smaller #mainLink, body.subpage #mainLink {
        position: absolute;
        top: 7px;
        left: auto;
        right: 5px;
        width: 106px;
        height: 75px;
        padding: 0;
        background-size: 100px auto;
    }
    
    header.smaller #mainLink, body.subpage header.smaller #mainLink {
        position: absolute;
        top: 0;
        left: auto;
        right: 5px;
        width: 90px;
        height: 70px;
        padding: 0;
        background-position: bottom left;
        background-size: 90px auto;
    }

    #mainLink span {
        display: none;
    }
    .subtitle {
        font-size: 18px;
        margin: 0 0 15px;
    }
    #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;
    }


    .slider-wrap {
        position: relative;
        margin-top: 70px;
    }
    
    #intro .bordered .col-inner {
        border: none;
        padding: 0
    }

    .captionWrapper {
        right:0;
        width: 100%;
    }
    
    .captionBox {
        padding: 10px 20px;
        min-width: auto;
    }
    
    .captionBox h5 span {
        font-size: 14px;
    }
    
    .captionBox h5 {
        font-size: 15px;
        margin: 0;
        line-height: 20px;
    }
    .captionBox .desc {
        display: none;
    }
    
    .captionBox .more, #slider .item a {
        display: none;
    }
    
    #copyright {
        font-size: 12px;
        padding-top: 20px;
    }

    .carouselIntro {
        width: 100%;
    }
    .carouselIntro .carouselPic img {
        width: 100%;
        height: auto;
    }
    
    .titleBox {
        margin-bottom: 10px;
    }
    .container.hidden {
        margin-bottom: 15px !important;
    }
    body.index #gallery .miniatureWrapper {
        width: 50%;
        margin: 0;
    }
    .fluid-wrapper {
        padding-bottom: 41%;
    }
    #poznaj .container {
        padding-top: 70px;
    }
    #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
    }
    
    .filter-button-group {
        margin: 0 auto 25px;
        text-align: center;
    }
    .filter-button-group button {
        margin: 0px 10px 18px;
        padding: 14px 20px;
        font-size: 17px;
        line-height: 17px;
    }

    #spacials {
        padding: 15px 0 50px;
    }
    .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: 90px 0 20px;
    }
    #contentWrapper h1 {
        font-size: 20px;
        text-align: left;
        line-height: 27px;
    }
    
    #intro .titleBox h2,
    #intro .subtitle {
        text-align: left;
    }
    
    #poznaj .subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    #footer {
        text-align: center;
        padding-top: 55px;
    }
    .carouselContent {
        padding: 12px 0;
        font-size: 16px;
    }
    #contact {
        font-size: 16px;
    }
    .titleBox h3 {
        margin: 0 0 20px;
        font-size: 24px;
    }
    #contactBox {
        padding: 20px 15px 15px;
    }
    .paddingSub {
        padding: 30px 0 15px;
    }
    

    #footerLogo img {
        width: 225px;
        height: auto;
    }
    #contactBox h5 {
        font-size: 21px;
    }
    #footer .group {
        align-items: center;
        flex-direction: column;
    }

    #footer h4 {
        font-size: 20px;
        margin: 15px 0 20px;
    }
    .big-txt {
        font-size: 17px;
        line-height: 27px;
    }
    #poznaj {
        font-size: 16px;
        line-height: 25px;
    }
    #poznaj h2 {
        font-size: 36px;
        margin-top: 5px;
        padding: 0;
        margin-bottom: 10px;
    }
    #features {
        padding: 60px 0 45px;
    }
    .mainIntro {
        margin-bottom: 25px !important;
    }
    .mainIntro .mainIntroTitle {
        font-size: 15px;
        padding: 10px 0;
    }
    
    .mainIntro .mainIntroDesc {
        font-size: 15px;
        padding: 15px 15px;
        line-height: 23px;
    }
    
    #features h2 {
        font-size: 24px;
        line-height: 32px;
        padding: 0;
        margin-bottom: 0;
    }
    .carouselDesc {
        padding: 15px 15px 8px;
        font-size: 14px;
        line-height: 22px;
    }
    .location-info {
        font-size: 17px;
        margin: 0 0 20px;
        padding: 13px 35px 13px;
    }
    
    #offer {
        padding: 60px 0 55px;
        font-size: 16px;
        line-height: 26px;
    }
    #offer .subtitle {
        margin: 0 0 15px;
    }
    #offer h3 {
        font-size: 41px;
        margin-bottom: 25px;
    }
    
    .iconTitle {
        font-size: 17px;
    }
    
    #footer .container {
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
    }
    
    
    .special-intro-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        margin: 20px 0 0 !important;;
    }
    
    .mainIntro {
        width: 46%;
        height: 210px;
    }
    #realizations {
        padding: 35px 0 40px;
    }
    #realizations h2 {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 0;
    }
    .parallaxBox {
        background-position: 50% 0 !important;
    }
    .parallaxBox h3 {
        font-size: 25px;
        margin: 0 0 35px;
    }
    .main-grid-item {
        font-size: 12px;
    }
    #professionals {
        background-position: 35% 0;
        padding: 50px 0 50px;
    }
    #professionals h3 {
        font-size: 25px;
        margin-bottom: 25px;
    }
    #footer {
        font-size: 12px;
        line-height: 18px;
        padding: 50px 0 5px;
    }
    #footer .span_2_of_12 {
        width: 13.33%;
    }
    
    #footer .span_10_of_12 {
        width: 82.66%;
    }
    .cert-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .cert-wrapper .cert-box {
        padding: 0 9px;
        width: 43%;
    }
    .more-special {
        text-align: center;
        font-size: 16px;
        text-transform: none;
        padding: 20px 0;
        width: 100%;
    }
    .parallaxBox .more-container {
        margin-bottom: 40px;
    }
    #professionals h3 span {
        font-size: 23px;
    }
    
    #portfolio-filter {
        width: 100%;
        display: flex;
        margin: 0 0 40px 0;
        list-style: none;
        border: 1px solid rgba(0, 0, 0, 0.07);
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #portfolio-filter li a {
        padding: 13px 12px;
        font-size: 17px;
        line-height: 19px;
    }
}