/* ==================================================================
Media Queries
================================================================== */

/* ==================================================================
Desktop
================================================================== */
@media only screen and (min-width: 1201px) {
    /* ==================================================================
	ScrollBar
	================================================================== */
    #myCarousel {
        display: none;
    }
    
    #intro-menu {
        display: inline-block !important;
    }

    #carousel-menu {
        display: none !important;
    }


    ::-webkit-scrollbar {
        width: 8px;
    }

    ::-webkit-scrollbar-track {
        -webkit-box-shadow: none;
        -webkit-border-radius: 0px;
        border-radius: 0px;
    }

    ::-webkit-scrollbar-thumb {
        -webkit-border-radius: 0px;
        border-radius: 0px;
        background: rgba(180,180,180,0.8);
        -webkit-box-shadow: none;
    }

        ::-webkit-scrollbar-thumb:window-inactive {
            background: rgba(180,180,180,0.4);
        }
}

/* ==================================================================
Tablet Portrait size to Tablet Landscape (devices and browsers)
================================================================== */
@media only screen and (min-width: 768px) and (max-width: 1200px) {
    #myCarousel {
        display: none;
    }

    a.logo img {
        width: 200px;
    }

    .portfolio .portfolio-item {
        height: 149px;
    }
}

/* ==================================================================
All Mobile Sizes (devices and browsers)
================================================================== */
@media only screen and (max-width: 1200px) {

    #intro-menu {
        display: inline-block !important;
    }

    #carousel-menu {
        display: none !important;
    }

    body {
        overflow: visible;
    }

    section {
        width: 100%;
        height: 100%;
        position: relative;
        z-index: 50;
        overflow: visible;
        background: #f2f2f2;
        float: left;
    }

        section .container {
            padding-top: 10px;
        }

        section > .container {
            padding-bottom: 0px;
        }

    #portfolio {
        overflow: hidden;
    }

    /* ==================================================================
	Main Navigation
	================================================================== */

    nav#main-nav {
        height: auto;
    }

        nav#main-nav > ul {
            display: none;
            background: #13143e;
            width: 100%;
            height: auto;
            margin-right: 0px;
            margin-top: 0px;
        }

            nav#main-nav > ul li {
                width: 100%;
                float: left;
                position: relative;
                border-top: 1px solid #3d3d3d;
            }

                nav#main-nav > ul li a {
                    color: #ffffff;
                    padding: 15px 20px;
                    width: 100%;
                }

        nav#main-nav ul li a.active {
            color: #ffffff;
        }


    /* ==================================================================
	Responsive Navigation
	================================================================== */

    #main-nav #responsive-nav {
        display: block;
    }

    /* ==================================================================
	Intro
	================================================================== */

    #intro {
        padding-top: 0px;
    }

        #intro .container {
            padding-top: 50px;
        }

    /* ==================================================================
	Services
	================================================================== */

    .features .feature-box .box-content {
        margin-bottom: 30px;
    }

    .features-list {
        margin-bottom: 30px;
    }

    /* ==================================================================
	Portfolio
	================================================================== */

    .single-portfolio .image-container,
    .single-portfolio .video-container,
    .single-portfolio .gallery-container {
        margin-bottom: 30px;
    }

    .single-portfolio .gallery-container {
        min-height: 200px;
    }

    /* ==================================================================
	Contacts
	================================================================== */
    .contact-form, .contact-info {
        margin-bottom: 20px;
    }
}

/* ==================================================================
Mobile Landscape Size to Tablet Portrait (devices and browsers)
================================================================== */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    #myCarousel {
        display: block;
    }

    #intro {
        display: none;
    }

    #intro-menu {
        display: none !important;
    }

    #carousel-menu {
        display: inline-block !important;
    }

    .container {
        width: 460px;
    }

    /* ==================================================================
	Portfolio
	================================================================== */
    .portfolio .portfolio-item {
        height: 300px;
    }
}

@media only screen and (max-width: 979px) and (min-width: 768px) {
    .row {
        margin-left: 0px;
    }

    .fancy-hr {
        margin-left: -20px;
    }
}

/* ==================================================================
Mobile Portrait Size to Mobile Landscape Size (devices and browsers)
================================================================== */
@media only screen and (max-width: 479px) {
    #myCarousel {
        display: block;
    }

    #intro {
        display: none;
    }

    #intro-menu {
        display: none !important;
    }

    #carousel-menu {
        display: inline-block !important;
    }

    .container {
        width: 300px;
    }

    /* ==================================================================
	Portfolio
	================================================================== */
    .portfolio .portfolio-item {
        height: 196px;
    }

    h1 {
        font-size: 25px;
        line-height: 29px;
        font-weight: 300;
        color: #13143e;
    }


    #intro h1 {
        font-size: 25px;
    }
}

/*=====================================================
=            Bootstrap 2.3.2 Media Queries            =
=====================================================*/
@media only screen and (max-width : 1200px) {

    #contacts .span7 {
        width: 52%;
    }

    #contacts .span4 {
        width: 39%;
    }

    #contacts .offset1 {
        margin-left: 5%;
    }

    a.logo img {
        width: 200px;
    }

    #products {
        background: #ffffff;
    }

    #portfolio {
        background: #ffffff;
    }

        #portfolio .span4 {
            display: block;
            width: 30%;
            float: left;
            margin-left: 0;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
        }
}

@media only screen and (max-width : 979px) {
}

@media only screen and (max-width : 767px) {

    #contacts .span7 {
        width: 100%;
    }

    #contacts .span4 {
        width: 100%;
    }

    #contacts .offset1 {
        margin-left: 0%;
    }

    #portfolio .span4 {
        display: block;
        width: 100%;
        float: left;
        margin-left: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    a.logo img {
        width: 150px;
    }

    #products {
        background: #ffffff;
    }

    #portfolio {
        background: #ffffff;
    }

    #about {
        background: #ffffff;
    }

    #partners {
        background: #ffffff;
    }

    #contacts {
        background: #ffffff;
    }

    .about-height {
        min-height: 0px;
    }

    .zastapnici-height {
        min-height: 0px;
    }

    #main-nav #responsive-nav {
        display: inline;
        float: right;
        width: 50px;
        height: 50px;
        background: #14153D;
        text-align: center;
        line-height: 50px;
    }

    #intro h2 {
        font-size: 30px;
        line-height: 40px;
    }

    #products .span3 {
        display: block;
        width: 50%;
        float: left;
        margin-left: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .tab-pane .col-md-5 {
        word-wrap: break-word;
        overflow-x: hidden;
    }

    .single-portfolio {
        background: rgba(19,20,62,1.0);
    }

    #loading-animation {
        width: 150px;
        height: 150px;
        position: absolute;
        left: 50%;
        top: 50%;
        background-image: url(../images/loading-animation.gif);
        background-size: 150px 150px;
        background-repeat: no-repeat;
        background-position: center;
        margin: -100px 0 0 -50px;
    }
}

@media only screen and (max-width : 480px) {
}

@media only screen and (max-width : 320px) {
}
