/***************************************\
| Author: Djordje Jocic                 |
| Year: 2016                            |
| Website: http://www.djordjejocic.com/ |
| Copyright: All rights reserved.       |
\***************************************/

/**
 * Jaklovsky is made using Foundation.
 *
 * Documentation: http://foundation.zurb.com/sites/docs/media-queries.html
 */

/* Extra Large Screens */

@media screen and (max-width: 119.9375em)
{
    /* Core */
    
    body {
        background: #eee url(../images/bg.png) center 10px no-repeat;
        background-size: 1920px auto;
    }
}

/* Large Screens */

@media screen and (max-width: 89.9375em)
{

}

/* Medium Screens */

@media screen and (max-width: 63.9375em)
{
    /* Navigation */
    
    #navigation .menu > li > a {
        padding: 0 10px;
        font-size: 10px;
    }
    
    /* Breadcrumbs */
    
    #breadcrumbs {
        margin: 5px 10px 0 10px;
    }
    
    /* Content */
    
    #content .testimonial img {
        display: block;
        width: 85px;
        height: 85px;
        margin: 25px auto 0 auto;
    }
    
    #content .testimonial a {
        margin: 0 20px;
    }
    
    #content .references > .reference .reference-image-wrapper {
        margin: 20px auto 5px auto;
    }

    #content .reference-previous,
    #content .reference-next {
        display: block;
        width: 100%;
        text-align: center;
        float: none;
    }
    
    /* Content Blocks - Core */
    
    .block {
        padding: 0 10px;
    }
    
    /* Content Block - Reference Block */
    
    .block.reference-block .reference-container {
        padding: 20px;
    }
    
    .block.reference-block .map-container {
        height: 250px;
        border-top: 3px solid #e5e5e5;
    }
    
    .block.reference-block h1 {
        padding: 10px 20px;
    }
    
    .block.reference-block ul {
        margin: 0 40px 0 0;
    }
}

/* Small Screens */

@media screen and (max-width: 39.9375em)
{
    /* Header Section */
    
    #header > .container {
        padding: 50px 0 25px 0;
    }
    
    #localization {
        right: 15px;
    }
    
    #logo {
        background-size: 300px 80px;
        width: 300px;
        height: 80px;
    }
    
    /* Navigation Toggle Section */
    
    #navigation-toggle {
        display: block;
    }
    
    /* Navigation Section */
    
    #navigation .menu > li {
        width: 100%;
        text-align: center;
    }
    
    #navigation .menu > li.clicked > a + .submenu {
        display: block;
    }
    
    #navigation .menu > li > a {
        background: #fff;
        font-size: 14px;
        display: inline-block;
        width: 100%;
    }
    
    #navigation .menu > li > a:hover,
    #navigation .menu .active > a {
        background: #fff url(../images/nav-hover.png) left center repeat-x;
    }
    
    #navigation .menu > li > a +.submenu {
        background: #eee;
        position: relative;
        top: 0;
        width: 100%;
        text-align: center;
        
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    
    /* Content */
    
    #content .testimonial {
        margin: 30px 0 0 0;
    }
    
    #content .testimonial:last-child {
        margin: 30px 0 15px 0;
    }
    
    #content .testimonial > .title-row h1,
    #content .testimonial > .title-row h2,
    #content .testimonial > .title-row h3 {
        text-align: center;
    }
    
    #content .references > .reference h1 {
        text-align: center;
    }
    
    #content .references > .reference a {
        margin: 25px auto;
    }
    
    #content .reference-images {
        padding: 0;
    }
    
    #content .reference-images a > img {
        width: 100%;
        height: auto;
    }
    
    #content .reference-carousel {
        margin: 0;
        padding: 0;
    }
    
    #content .reference-carousel .owl-carousel {
        margin: 0;
    }
    
    /* Content Block - Banner Block */
    
    .block.banner-block {
        background: none;
        padding: 0;
    }
    
    .block.banner-block .columns {
        margin: 0 0 15px 0;
    }
    
    .block.banner-block .columns:last-child {
        margin: 0;
    }
    
    /* Content Block - SEO Block */
    
    .block.seo-block {
        margin: 20px 0 0 0;
    }
    
    .block.seo-block .seo-holder {
        padding: 15px 0;
    }
    
    .block.seo-block h1,
    .block.seo-block h2 {
        text-align: center;
    }
    
    .block.seo-block p {
        padding: 0;
    }
    
    /* Content Block - Help Block */
    
    .block.help-block {
        margin: 15px 0 30px 0;
    }
    
    /* Content Block - Help Block */
    
    .block.help-block .button {
        width: 100%;
        padding: 8px 40px;
    
    /* Footer */
    
    #footer {
        margin: 20px 0 0 0;
    }
}
