// compress: true, autoprefixer: true
@import "variables.less";

/* HD */

@media (min-width:1800px) {
    #home_services {}
}


/* Laptop */

@media (max-width:1280px) {
    body {
        font-size: 14px;
        line-height: 24px;
    }
    #home_services {
        h2 {
            font-size: 20px;
            line-height: 24px;
            margin-top: 10px;
        }
        .arrow {
            margin-top: 10px;
        }
    }
    #invest_in_macedonia {
        //padding-top: 20px;
        h2 {
            font-size: 30px;
            line-height: 36px;
            margin-top: 10px;
        }
        p {
            font-size: 13px;
            line-height: 22px;
            // margin-bottom: 15px;
        }
    }
    #case_studies {
        .case_stydies_item {
            .text {
                p {
                    top: 15px;
                }
                h2 {
                    font-size: 25px;
                    line-height: 34px;
                    padding: 10px 15px;
                    margin-bottom: 20px;
                }
                a.arrow {
                    bottom: 15px;
                }
            }
        }
    }
    #news_list {
        h2 {
            margin: 30px 0;
        }
        .news_list_item {
            margin-bottom: 30px;
        }
        p.date {
            margin-bottom: 10px;
        }
        h3 {
            margin-bottom: 20px;
        }
    }
    #testimonials {
        .testimonial {
            .padded-multiline {
                p {
                    padding: 10px 0;
                }
            }
        }
    }
    #contact.full_screen {
        font-size: 16px;
        line-height: 30px;
        .top {
            margin-top: 30px;
        }
        input[type="text"],
        input[type="email"] {
            height: 40px;
            padding: 0 15px;
            border: 1px solid #A6A8AB;
            margin-bottom: 20px;
        }
        textarea {
            height: 80px;
        }
    }
    #case_studies .case_stydies_item .text {
        visibility: visible;
    }
}


/* Tablet Landscape */

@media (max-width:1024px) {
    body {
        font-size: 14px;
        line-height: 24px;
    }
    #mask {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: @mobile_menu_width;
        z-index: 1000;
        display: none;
    }
    .navbar-toggle {
        display: block !important;
        margin-right: -15px;
    }
    #language_desktop,
    #search_desktop,
    .navbar-fixed-top .ul_level_1 {
        display: none;
    }
    #mobile_navigation {
        display: block;
        position: fixed;
        top: 0;
        bottom: 0;
        right: @mobile_menu_negative_width;
        width: @mobile_menu_width;
        z-index: 100;
        transition: 0.5s all;
        overflow-y: scroll;
        background-color: #FAFAFA;
        #language_mobile {
            display: block;
            width: 100%;
            height: 50px;
            padding: 0 25px;
            font-size: 16px;
            line-height: 50px;
            color: #FFF;
            text-decoration: none;
            text-transform: uppercase;
            background-color: @purple;
        }
        ul,
        li {
            margin: 0;
            padding: 0;
            list-style-type: none;
            display: block;
            width: 100%;
            height: auto;
        }
        .a_level_1 {
            display: block;
            width: 100%;
            height: auto;
            padding: 13px 25px;
            font-size: 16px;
            line-height: 24px;
            color: @gray;
            text-decoration: none;
            text-transform: uppercase;
            border-bottom: 1px solid @gray;
            &.active {
                border-left: 10px solid @purple;
                padding-left: 15px;
                color: @purple;
            }
        }
        .has_sub .a_level_1 {
            position: relative;
            &:before {
                display: block;
                font-family: "Ionicons";
                content: '\f3d0';
                font-size: 30px;
                color: @gray;
                position: absolute;
                top: 50%;
                right: 25px;
                z-index: 10;
                transform: translateY(-50%);
            }
            &.active:before {
                content: '\f3d8';
                color: @purple;
            }
        }
        .ul_level_2 {
            display: none;
        }
        .a_level_2 {
            display: block;
            width: 100%;
            height: auto;
            padding: 13px 25px 13px 40px;
            font-size: 16px;
            line-height: 24px;
            color: @gray;
            text-decoration: none;
            text-transform: uppercase;
            background-color: #EEEEEE;
            border-bottom: 1px solid @gray;
        }
        form {
            width: 100%;
            height: 50px;
            border-bottom: 1px solid @gray;
            overflow: hidden;
            input[type="text"] {
                width: 228px;
                height: 50px;
                float: left;
                overflow: hidden;
                border: none;
                background-color: #FAFAFA;
                padding: 0 25px;
                font-size: 16px;
                line-height: 50px;
                color: @gray;
            }
            input[type="submit"] {
                width: 50px;
                height: 50px;
                float: left;
                overflow: hidden;
                border: none;
                background: none;
                background-color: @gray;
                position: relative;
                font-size: 0;
                text-indent: 100px;
                background-image: url(../images/search_icon_mobile.png);
                background-position: center center;
                background-repeat: no-repeat;
                background-size: contain;
            }
        }
    }
    .active_menu {
        #mask {
            display: block;
        }
        #mobile_navigation {
            right: 0;
            transition: 0.5s all;
        }
        section,
        footer {
            left: @mobile_menu_negative_width;
            transition: 0.5s all;
        }
        .navbar-fixed-top {
            right: @mobile_menu_width;
            left: @mobile_menu_negative_width;
            transition: 0.5s all;
        }
    }
    .arrow {
        font-size: 12px;
        line-height: 30px;
        text-transform: uppercase;
        height: 30px;
        padding: 0 25px 0 10px;
        &:before {
            font-size: 18px;
            right: 10px;
        }
    }
    #management {
        .desktop {
            .left,
            .right {
                h2,
                p {
                    font-size: 16px;
                    line-height: 30px;
                }
                .arrow {
                    font-size: 12px;
                }
            }
            .middle {
                #slogan p {
                    font-size: 24px;
                    line-height: 46px;
                }
            }
        }
    }
    #home_services {
        padding-top: 15px;
        p {
            line-height: 18px;
        }
        .arrow {
            margin-top: 0px;
        }
    }
    #case_studies {
        .case_stydies_item {
            .text {
                a.arrow {
                    margin-left: -54px;
                }
            }
        }
    }
    #testimonials {
        .testimonial {
            padding-bottom: 40px;
        }
    }
    #team .team_member .text h3 {
        font-size: 18px;
        margin: 20px 0 10px 0;
    }
    #team .team_member .picture {
        padding-left: 0;
    }
    #industry_top .padded-multiline {
        width: 50%;
        left: 25%;
    }
    #industry_list .container-fluid .industry_list_item .overlay {
        visibility: visible;
    }
    #industry_list .container-fluid .industry_list_item .overlay h2 {
        font-size: 24px;
    }
    #industry_list .container-fluid .industry_list_item .overlay a.arrow {
        margin-left: -62px;
        bottom: 15px;
    }
    #news_detail_top .container h1 {
        margin-top: 50px;
    }
}


/* Tablet Portrait */

@media (max-width:768px) {
    #management {
        background: none;
        .mobile {
            margin: 0 -30px;
            .image {
                padding: 0;
            }
            .slogan {
                padding-top: 20px;
                padding-bottom: 20px;
                color: @purple;
                font-size: 30px;
                line-height: 40px;
                text-align: center;
            }
        }
    }
    #home_services {
        .row > div {
            margin-bottom: 20px;
        }
    }
    .scroll_to {
        .anchor {
            display: none;
        }
    }
    #contact {
        .top {
            .desktop {
                display: none;
            }
            &:nth-of-type(2) {
                margin-top: 14px;
                margin-bottom: 30px;
            }
        }
    }
    #footer {
        .bottom {
            p.developer {
                span {
                    display: none;
                }
            }
        }
    }
    #testimonials {
        min-height: 700px;
        .testimonial[item="1"],
        .testimonial[item="2"],
        .testimonial[item="3"],
        .testimonial[item="4"] {
            left: 50%;
            top: 250px;
            margin: 0 0 0 -150px;
            bottom: auto;
            &:before {
                display: none;
            }
        }
    }
    #about_us h1 {
        font-size: 30px;
        line-height: 40px;
    }
    #team .team_member .text h3 {
        margin: 10px 0 10px 0;
    }
    #page_navigation {
        display: none !important;
    }
    #industry_list .container-fluid .industry_list_item .overlay a.arrow {
        bottom: 30px;
    }
    #news_detail_content .mobile h1 {
        margin-top: 0;
    }
    #news_detail_content .mobile p {
        font-family: "Futura Book BT", Futura, Futura-Medium, "Futura Medium", "Century Gothic", CenturyGothic, "Apple Gothic", AppleGothic, "URW Gothic L", "Avant Garde", sans-serif;
        font-weight: 300;
        color: #A5A5AB;
        font-size: 18px;
        line-height: 28px;
    }
    #news_detail_content .all_devices p:first-of-type {
        color: #000;
        font-size: 14px;
        line-height: 24px;
        font-family: 'Conv_GothaProReg';
    }
}


/* Mobile */

@media (max-width:480px) {
    body {
        .navbar-brand {
            max-width: 80%;
            overflow: hidden;
            img {
                max-width: 100%;
                height: auto;
            }
        }
    }
    #management {
        .mobile {
            margin: 0 -15px;
            .slogan {
                padding-bottom: 20px;
            }
        }
    }
    #services_intro {
        padding: 0 0 20px 0;
    }
    #footer {
        line-height: 22px;
        &:after {
            display: none;
        }
        .top {
            .info {
                padding-right: 15px;
            }
        }
        .bottom {
            overflow: hidden;
            background-color: #8D8F91;
            text-align: center;
            padding: 10px 0;
            p {
                display: block;
                text-align: center;
                span {
                    display: none;
                }
                &.developer {
                    float: none;
                    text-align: center;
                    span {
                        display: inline-block;
                    }
                }
            }
        }
    }
    #testimonials {
        h2 {
            font-size: 20px;
        }
        min-height: 500px;
        .testimonial[item="1"],
        .testimonial[item="2"],
        .testimonial[item="3"],
        .testimonial[item="4"] {
            left: 50%;
            top: 150px;
            margin: 0 0 0 -150px;
            bottom: auto;
            &:before {
                display: none;
            }
        }
    }
    #case_studies {
        .case_stydies_item {
            height: 200px;
            .logo {
                line-height: 200px;
            }
            .text {
                visibility: visible;
            }
        }
    }
    #about_us {
        padding: 30px 0 14px 0;
        h1 {
            text-align: center;
        }
    }
    #team .team_member {
        margin-bottom: 30px;
    }
    #team .team_member .text h3 {
        margin-top: 5px;
    }
    #two_column h1 {
        font-size: 30px;
        line-height: 40px;
    }
    #two_column .important {
        font-size: 16px;
        line-height: 26px;
    }
    #industry_list .container-fluid .industry_list_item .overlay a.arrow {
        bottom: 15px;
    }
}
