/** Generated by FG **/
@font-face {
    font-family: 'Conv_GothamRoundedMedium_21022';
    src: url('../fonts/GothamRoundedMedium_21022.eot');
    src: local('☺'), url('../fonts/GothamRoundedMedium_21022.woff') format('woff'), url('../fonts/GothamRoundedMedium_21022.ttf') format('truetype'), url('../fonts/GothamRoundedMedium_21022.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
/** Generated by FG **/
@font-face {
    font-family: 'Conv_GothamRoundedBook_21018';
    src: url('../fonts/GothamRoundedBook_21018.eot');
    src: local('☺'), url('../fonts/GothamRoundedBook_21018.woff') format('woff'), url('../fonts/GothamRoundedBook_21018.ttf') format('truetype'), url('../fonts/GothamRoundedBook_21018.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
/** Generated by FG **/
@font-face {
    font-family: 'Conv_GothamRoundedBold_21016';
    src: url('../fonts/GothamRoundedBold_21016.eot');
    src: local('☺'), url('../fonts/GothamRoundedBold_21016.woff') format('woff'), url('../fonts/GothamRoundedBold_21016.ttf') format('truetype'), url('../fonts/GothamRoundedBold_21016.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'ubuntu_monoregular';
    src: url('../fonts/ubuntumono-r-webfont.woff2') format('woff2'),
    url('../fonts/ubuntumono-r-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
body,html{
    padding-bottom: 30px;
}
a{
    text-decoration: none;
    color: black;
}
a:hover, .top-menu-left a.grey:hover{
    color: #fc4526;
    text-decoration: none;
}
.r_bold{
    font-family: "Conv_GothamRoundedBold_21016";
}
.r_book{
    font-family: "Conv_GothamRoundedBook_21018";
}
.r_medium{
    font-family: "Conv_GothamRoundedMedium_21022";
}
.ubuntu{
    font-family: "ubuntu_monoregular";
}

h1{
    font-weight: normal;
}


.main-menu-container{
    border-bottom: 1px dashed #fc4526;
    padding-bottom: 20px;
    padding-top: 20px;
    background-color: white;
  /*  padding-top: 100px */
}
.top-menu-left{
    font-family: "Conv_GothamRoundedBook_21018";
    font-size: 17px;
    margin-top: 6px;
}

.top-menu-left img{
    height: 20px;
}
.top-menu-left a{
    margin-right: 50px;
}
.top-menu-left a.grey{
    color: #a69f9d;
}
.top-menu-right{
    font-family: "Conv_GothamRoundedMedium_21022";
    font-size: 23px;
}

.grid-box{
    text-align: center;
    text-transform: uppercase;

}
.grid-box, .grid-box-logo{
    margin-top: 40px;
}
.grid-box a:hover{
    color: #fc4526;
    text-decoration: none;
}
.padded-top{
    margin-top: 40px;
}

.mja-logo{
    padding-top: 30px; width: 100%
}




.flex-container {

    padding-bottom: 15px;
    padding-top: 18px;


    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-align: start;
    -moz-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.flex-item:nth-child(1) {
    -webkit-box-ordinal-group: 1;
    -moz-box-ordinal-group: 1;
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-box-flex: 0;
    -moz-box-flex: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
}

.flex-item:nth-child(2) {
    -webkit-box-ordinal-group: 1;
    -moz-box-ordinal-group: 1;
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-box-flex: 0;
    -moz-box-flex: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
}

.flex-item:nth-child(3) {
    -webkit-box-ordinal-group: 1;
    -moz-box-ordinal-group: 1;
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-box-flex: 0;
    -moz-box-flex: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
}

/*
    Legacy Firefox implementation treats all flex containers
    as inline-block elements.
*/

@-moz-document url-prefix() {
    .flex-container {
        width: 100%;
        -moz-box-sizing: border-box;
    }

}


/* Project */

.project-description{
    font-size: 18px;
}
.project-details{
    text-transform: uppercase;
    margin-top: 60px;
    margin-bottom: 60px;
}
.project-details th{
    padding-right: 20px;
}

/* Project2 */

html.project2{
    height: 100%;
}
body.project2{
    height: 100%;
    padding-left: 30px;
    padding-right: 30px;
}
.project2-header{
    margin-top: 70px;
    margin-bottom: 20px;
}
#scaled {

    display: block;
    height: 100%;
    width: 100%;
    max-width: 1200px;
    padding: 0;
    margin: auto;

}
#mCSB_1_scrollbar_vertical{
    margin-right: -6px;
}

.project2-header, #scaled{
    display: none;
}
.slider{
    display: block;
    width: 100%;
    height: 100%;
    list-style: none;
    margin: 0px;
    padding: 0px;
    position: relative;
}
.slider li{
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    border: 1px dashed red

}
.slider li{
    display: block;

}

.project2-description h1{
    margin-top: 30px
}
.project2-description .project-description{
    margin-right: 40px;
    text-align: justify;
    hyphens: auto

}

html.iphone,
html.iphone body { height: 100.1% !important; }

/* mobile lang selector */
.overlay{
    display: none; height: 100%; background-color: white; position:absolute; width: 100%; z-index: 9999;
}
.lang-selector{
    position:absolute; width: 100%; top: 0px; left: 0px; text-align: center; z-index: 9999; background-color: white;
}
.lang-selector img{
    margin: 30px;
}
.lang-a{
    text-align:center; position: absolute; top: 65%; width: 100%; color: white; font-size: 30px
}
.lang-a a{
    color: white; font-size: 30px
}

.mobile.landscape .lang-a{
    top: 80%;
}
.mobile.landscape .lang-selector .lang-a,
.mobile.landscape .lang-selector .lang-a a{
    font-size: 19px
}
/* mobile lang selector end */

/* media queries */
@media all and (min-width: 992px){
    .first-grid{
        margin-left: -60px;
    }
}
@media all and (max-width: 991px){
    .menu-lang{
        display: none;
    }
    .mja-logo{
        padding-top: 30px;
        width: 100%;
        padding-left: 20px;
    }
    .top-menu-right{
        font-size: 20px;
        margin-top: 4px;
    }
}
@media all and (max-width: 768px){
    h1, .project-details, .project-description{
        font-size: 12px;
    }
    .project-details{
        margin-top: 15px;
        margin-bottom: 15px;
        font-size: 10px;
    }

    /* mobile menu */
    .mobile-menu-right{
        justify-content: center;
        flex-direction: column;
        font-size:10px;
    }
    .mobile-menu-container{
        background-color: white;
        font-family: "Conv_GothamRoundedBook_21018";
        font-size: 16px;
    }
    .row-flex {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;

    }
    .row-flex > [class*='col-'] {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        flex-direction: column;
    }

    .mobile-menu-separator{
        border-top: 1px dashed #fc4526;
        margin-left: 15px;
        margin-right: 15px;
    }

    /* mobile menu end */

    /* Project2 */
    body.project2{
        height: 100%;
        padding-left: 0px;
        padding-right: 0px;
    }
    .project2-header{
        margin-top: 5px;
    }
    .project2-description{
        padding-left: 40px;

    }
}
@media all and (max-width: 400px){
    /* mobile menu */
    .project2-description .project-description{
        margin-right: 0px;
        text-align: justify;
        hyphens: auto

    }
}