@import 'global.scss';
@import 'variables.scss';
@import 'mixins.scss';
@import 'fonts.scss';
body, html {
	margin:0;
	padding:0;
    height:100%;
    font-size: rem(16);
    font-family: 'Titanium Regular', Arial, Helvetica, sans-serif;
    color: $font-color;
}
.page-holder {
	position:relative;
	height: 100%;
    height: auto;
}
.container {
    max-width: 1170px;
    margin: 0 15px;
    width: auto;
    padding-left: 0;
    padding-right: 0;
    @media screen and (min-width: $break-medium) {
        margin: 0 auto;
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}
h1 {
    font-weight: normal;
}
h2 {
    font-size: rem(30);
    margin: 0 0 rem(15) 0;
    color: $primary-color;
    padding:0;
    line-height: rem(30);
    @media screen and (max-width: $break-small) {
        font-size: rem(24);
        line-height: rem(24);
    }
    @media screen and (max-width: $break-xsmall) {
        font-size: rem(18);
        line-height: rem(18);
    }
}
p {
	line-height: rem(20);
	margin:0 0 rem(10);
}
ol {
    margin: 0 0 0 rem(15);
    padding: 0;
    li {
        line-height: rem(20);
        margin:0 0 rem(10);
    }
}
a:hover, a:focus, div:focus {
    border: none;
    outline: none;
}
.main-nav {
    background: $primary-color;
    margin: 0;
    border-radius: 0;
}
.menu-wrapper {
    display: table;
    width: 100%;
    > div{
        display: table-cell;
        vertical-align: top;
        padding: 10px 0;
        @media screen and (max-width: $break-xslarge) {
            padding: 0;
        }
    }
    .left {
        width: 95px;
        .logo {
            img {
                outline: 0;
                border: none;
            }
            @media screen and (max-width: $break-xslarge) {
                img {
                    max-height: rem(40);
                }
            }
        }
    }
    .right {
        text-align: right;
        position: relative;
    }
    .lang {
        .lang-icon {
            position: relative;
            margin-top: 5px;
            margin-right: 5px;
        }
        @media screen and (max-width: $break-xslarge) {
            margin-right: 40px;
        }
    }
    .main-nav {
        ul.nav-link {
            text-align:center;
            margin:0;
            padding:0;
            width: 100%;
            position: absolute;
            right: 0;
            display: none;
            li {
                display:block;
                a {
                    text-decoration: none;
                    display:inline-block;
                    padding: rem(20) rem(20);
                    font-weight: 500;
                    transition: all 0.2s;
                    color: $white;
                    text-transform: uppercase;
                    font-size: rem(24);
                    &:hover {
                        color: $button-primary;
                        background: transparent;
                    }
                    @media screen and (max-width: $break-xslarge) {
                        font-size: rem(20);
                        padding: rem(15) rem(15);
                    }
                    @media screen and (max-width: $break-medium) {
                        font-size: rem(16);
                        padding: rem(10) rem(15);
                    }
                    @media screen and (max-width: $break-xsmall) {
                        font-size: rem(14);
                    }
                }
            }
            li.active {
                a {
                    color: $button-primary;
                }
            }
            @media screen and (max-width: $break-xslarge) {
                background: $white;
                width: 250px;
                z-index: 1;
                li {
                    text-align: left;
                    a {
                        color: $font-color;
                        &:hover {
                            color: $button-primary;
                        }                        
                    }
                }
            }
        }
        @media screen and (min-width: $break-xslarge) {
            .toggle {
                display: none;
            }
            ul.nav-link {
                position: relative;
                width: auto;
                display: inline-block;
                float: right;
                li {
                    display:inline-block;
                }
            }
        }
    }
    .main-nav.menu-active {
        .toggle {
            border: 2px solid $white;
            span {
                background: $white;
            }
        }
    }
    .main-nav.menu-active ul.nav-link {
        display: block;
        top: 50px;
        box-shadow: 1px 11px 5px -9px rgba(0, 0, 0, 0.18);
        li {
            display: block;
            float: none;
        }
    }
}
.banner {
    ul{
        margin: 0;
        padding: 0;
        li {
            list-style: none;
        }
    }
    img {
        width: 100%;
        height: auto;
    }
    .container {
        position: relative;
    }
    .banner-content {
        padding: rem(25) rem(30);
        background: url(./../img/trans-bg.png);
        position: absolute;
        max-width: 535px;
        position: absolute;
        top: 145px;
        right: rem(6);
        h1 {
            color: $white;
            font-size: rem(48);
            line-height: rem(42);
            margin: 0;
        }
    }
    @media screen and (max-width: $break-xslarge) {
        .banner-content {
            padding: rem(20) rem(20);
            max-width: 450px;
            top: 50px;
            h1 {
                font-size: rem(32);
                line-height: rem(32);
            }
        }
    }
    @media screen and (max-width: $break-xsmall) {
        .banner-content {
            padding: rem(10) rem(15);
            max-width: 300px;
            top: 30px;
            h1 {
                font-size: rem(24);
                line-height: rem(24);
            }
        }
        
    }
}
.content-sec {
    background: $bg-color;
    .intro-content {
        max-width: rem(650);
        margin: 0 auto;
        text-align: center;
        h2{
            small {
                display: block;
                font-size: 50%;
                text-transform: uppercase;
                color: $font-color;
                font-weight: 700;
            }
            font-size: rem(30);
            color: $primary-color;
            font-weight: normal;
            line-height: rem(24);
            @media screen and (max-width: $break-small) {
                font-size: rem(20);
                line-height: rem(20);
            }
        }
    }
    .fliter-form {
        margin: rem(40) 0;
        display: flex;
        flex-wrap: wrap;
        > div {
            padding-left: rem(6);
            padding-right: rem(6);
            width: 25%;
        }
        @media screen and (max-width: $break-large) {
            > div {
                width: 50%;
                margin-bottom: rem(15);
            }
        }
        @media screen and (max-width: $break-medium) {
            > div {
                width: 100%;
            }
        }
    }
    .grid-wrapper {
        .grid-top {
            display: table;
            width: 100%;
            > div {
                display: table-cell;
                vertical-align: middle;
                padding-left: rem(6);
                padding-right: rem(6);
            }
            .item-page {
                text-align: right;
                .form-group {
                    display: table;
                    float: right;
                    .form-control {
                        background: transparent;
                        height: inherit;
                        border: none;
                        box-shadow: none;
                    }
                    > div {
                        display: table-cell;
                    }
                }
            }
        }
        .grid-bottom {
            display: table;
            width: 100%;
            margin: rem(40) 0 0;
            > div {
                display: table-cell;
                vertical-align: middle;
                padding-left: rem(6);
                padding-right: rem(6);
                &:last-child {
                    width: 25%;
                    @media screen and (max-width: $break-medium) {
                        width: 50%;
                    }
                }
            }  
        }
        .grid-content {
            display: table;
            width: 100%;
            .grid-row {
                display: table-row;             
                > div {
                    display: table-cell;
                    padding: rem(20) rem(6);
                    vertical-align: top;
                    border-top: 1px solid #e3e3e3;
                }
            }
            .job-title {
                width: 20%;
                a {
                    color: $primary-color;
                    text-decoration: underline;
                    .job-id {
                        text-transform: uppercase;
                        color: $font-color;
                        font-weight: 700;
                        font-size: rem(13);
                    }
                }
                @media screen and (max-width: $break-large) {
                    width: 25%;
                }                
            }
            .location {
                width: 15%;
                text-align: center;   
            }
            .description {
                padding-left: rem(15);
                padding-right: rem(15);
                line-height: rem(18);
            }
            .action {
                width: 25%;
            }
             @media screen and (max-width: $break-small) {
                 display: block;
                 .grid-row {
                     display: block;
                     border-top: 1px solid #e3e3e3;
                     padding: rem(10) 0;
                     > div {
                         border-width: 0;
                        display: block;
                        width: 100%;
                        text-align: left;
                        padding-top: rem(5);
                        padding-bottom: rem(5);
                     }
                 } 
             }
        }
    }
}
.footer {
    background: $primary-color;
    color: $white;
    padding: rem(35) 0;
    p {
        margin: 0;
    }
    .footer-wrapper {
        display: table;
        width: 100%;
        > div {
            display: table-cell;
            width: 50%;
            vertical-align: middle;
            padding-left: rem(6);
            padding-right: rem(6);
        }
        .right{
            text-align: right;
        }
        @media screen and (max-width: $break-small) {
            display: flex;
            flex-wrap: wrap;
            > div {
                display: block;
                width: 100%;
                text-align: center;
            }
            .left{
                order: 2;
            }
            .right {
                text-align: center;
                order: 1;
                margin: 0 0 rem(20);
            }
        }
    }
    .sc-nav {
        margin: 0;
        padding: 0;
        li {
            display: inline-block;
            list-style: none;
            margin-left: rem(10);
            a {
                display: flex;
                width: rem(50);
                height: rem(50);
                border: 2px solid $blue;
                border-radius: 50%;
                font-size: rem(24);
                line-height: rem(24);
                align-items: center;
                justify-content: center;
                transition: all 0.2s;
                span {
                    color: $white;
                }
                &:hover {
                    background: $blue;
                }

            }
        }
    }
}
/* Inner Pages */
@import 'job-details.scss';
