
/*******************************
         Fonts
*******************************/
@import url("fonts.css");

/*******************************
         Colors
*******************************/
/* 
grey-nav : #f3f3f3
blue : #93b9c6

*/

/*******************************
        Root
*******************************/
:root {
    font-family: "DIN-reg", Arial, sans-serif;
    font-size: 16px;
    --ft-rufina: "Rufina", Arial, sans-serif;
    --ft-din-reg: "DIN-reg", Arial, sans-serif;
    --clr-blue: #93b9c6;
    --clr-gold: #c4a26e;
    --clr-grey: #f3f3f3;
}
/*******************************
         Preloader
*******************************/
.preloader {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 999999;
    text-align: center;
    /*display: none;*/
}
.preloader .image {
    position: absolute;
    width: 100px;
    height: 100px;
    top: calc(40% - 50px);
    left: calc(50% - 50px);
    opacity: 0.6;
}
.percentage {
    z-index: 100;
    text-align:center;
    color: #333;
    line-height: 16px;
    font-size : 14px;
}
.loader, .percentage{
    height: 20px;
    max-width: 200px; 
    border: 1px solid #cccccc;
    position: absolute; 
    top: 52%;
    bottom: 0; 
    left: 0; 
    right: 0;
    margin : 0 auto 0 auto; 
}
.loader:after, .percentage:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.trackbar {
    width: 100%;
    height: 100%;
    color: #333;
    text-align: center;
    font-size: 12px;
    line-height: 30px;
    overflow: hidden;
    position: relative;
    opacity: 0.99;
}
.loadbar {
    width: 0%;
    height: 100%;
    background: repeating-linear-gradient(
    45deg, 
        #cccccc, 
        #cccccc 10px, 
        #ffffff 10px,
        #ffffff 20px
    ); /* Stripes Background Gradient */
    position: absolute;
    top: 0;
    left: 0;
    animation: flicker 5s infinite;
    overflow: hidden;
}
@media only screen and (max-width: 768px) {
    .preloader .image {
        width: 100px;
        height: 100px;
    }
}

/*******************************
         General UI-Semantic
*******************************/
html { font-size: 16px; line-height: 1.3em; color: rgba(0,0,0, 1)}
body { font-size: 16px; line-height: 1.3em; font-family: var(--ft-din-reg); color: rgba(0,0,0, 1)}
h1, h2, h3 { font-size: 16px; line-height: 1.2em; font-family: var(--ft-din-reg); color: rgba(0,0,0, 1); font-weight: normal;}
p { font-size: 16px; line-height: 1.4em; font-family: var(--ft-din-reg); }

a, a:hover {
    color: #000000;
}
a:hover {
    text-decoration: underline;
}
:focus, *:focus,
:active, *:active {
    outline:0;
    noFocusLine: expression(this.onFocus=this.blur());
}
.ui.grid > .column:not(.row).nopadding {
    /*padding-top: 0 !important;
    padding-bottom: 0 !important;*/
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.ui.grid > .column:not(.row) { /* LINK */
    /*padding-top: 0rem;
    padding-bottom: 0rem;*/
}

.ui.basic.table {
    border: 0px;
}

.ui.table tr td {
    border: 0px !important;
    padding: .3em 0em; /*  t r b l */
}
.highlight {
    font-size: 1em;
    color: #c4a26e;
    font-weight: bold;
}
.highlight-l {
    font-size: 1.2em;
    color: #c4a26e;
    font-weight: bold;
}
.highlight-2 {
    font-size: 1em;
    color: #c4a26e;
    font-weight: normal;
}
h2.highlight {
    display: inline;
    font-size: 1em;
    color: #c4a26e;
}
@media only screen and (max-width: 767px) {
    .nopadding, .ui.stackable.grid > .wide.column.nopadding, .ui.stackable.grid > .column:not(.row).nopadding, .ui.grid > .column:not(.row).nopadding {
        padding-top: 0em  !important;
        padding-bottom: 1em  !important;
        padding-left: 0em !important;
        padding-right: 0em !important;
    }
    /*.ui.stackable.grid > .column .ui.image {
        margin-top: -.5rem !important;
        margin-left: -1rem !important;
        margin-bottom: 2rem !important;
        width: calc(100% + 2rem) !important;
        max-width: 100vw !important;
  
    }*/
}
/******** Fonts ****************/
.elm .txt h3 {
    font-family: var(--ft-rufina);
    font-size: 1.4em;
}
.elm .txt p {
    font-family: var(--ft-din-reg);
    /*font-size: .96em;*/
    font-size: 1em;
}
@media only screen and (max-width: 767px) {
    .elm .txt h3 {
        font-size: 1.2em;
    }
    .elm .txt p {
        font-size: .9em;
    }
}
/*******************************
         General Elements
*******************************/
.sticky-0,
.sticky-1,
.sticky-2,
.sticky-3,
footer {
    position: inherit;
    z-index: 9999;
}
.sticky {
     margin-top: 560px !important;/**/
}
.flappie   {
    font-family: var(--ft-din-reg);
    line-height: 1em;
    cursor: pointer;
    -webkit-font-smoothing:antialiased !important;
    -moz-osx-font-smoothing: grayscale;
} 
.elm-blacky {
    margin-top: 16em;/**/
}
.elm-blacky .flappie {
    font-family: var(--ft-rufina);
    background-color: #000;
    color: #fff;
    font-size: 2.4em;
    text-transform: uppercase;
    padding:  .6rem .6rem !important;  /* t r b l */
    border-top: .5rem solid #fff !important;
    border-bottom: .5rem solid #fff !important;
    text-align: center !important;
}
@media only screen and (max-width: 768px) {
    .elm-blacky:first-child {
        margin-top: 0em;
    }
    .elm-blacky {
        margin-top: 4em;
    }
    .projects .elm-blacky {
        margin-top: 6em;
    }
    .elm-blacky .flappie {
        /*background-color: #fff;
        color: #000;*/
        font-size: 1.8em;
    }
}
.elm-leader {
    margin-top: 4em;
}
.elm-leader .flappie {
    background-color: #fff;
    font-family: var(--ft-rufina);
    font-size: 3em;
    line-height: 1.2em;
    padding: .2em 0em !important;
    margin-top: 2em;
    text-align: center !important;
}
@media only screen and (max-width: 768px) {
    .elm-leader {
        margin-top: 3em;
        margin-bottom: 3em;
    }
    .elm-leader .flappie {
        font-size: 1.8em;
    }
}


/*******************************
         Header
*******************************/
header {
    padding: 3em 0 0 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff !important;
    z-index: 10000;
    /*border-bottom: solid 1px #333;*/
}
header h1 {
    font-family: var(--ft-rufina);
    font-size: 2.8vw;
    font-weight: normal;
    padding-left: 1.2em;
    background: url(../images/logo.png) no-repeat 0 .15em;
    background-size: 22%;
    display: inline;
}
header span {
    font-family: var(--ft-rufina);
    font-size: 1.9vw;
    margin: 0 0 0 .3em;
    color: var(--clr-blue);
    text-transform: uppercase;
}
header div a {
    text-decoration: none !important;
}
/*******************************
         NAV
*******************************/
header .ui.text.menu {
    /*width: 88%;
    width: 82%;*/
    width: 82%;
    margin: -1.4em auto 0 auto !important;
}
header .ui.text.menu .item {
    font-family: var(--ft-din-reg);
    font-size: .96em;
    padding: 0em 0 0em 1.7em; /* t r b l */
    text-transform: uppercase;
    color: rgba(0,0,0,1);
}
header .ui.text.menu .item.toc {
    display: none;
}
header .ui.text.menu  a.item:hover {
    color: var(--clr-blue);
    background: transparent;
    transition: color 0.10s;
}
header .ui.text.menu  a.item.active {
    color: var(--clr-blue) !important;
    background: transparent !important;
}
header .ui.text.menu  a.item.active:hover {
    color: var(--clr-blue) !important;
}
@media only screen and (max-width: 768px) {
    header .ui.text.menu {
        margin: 0em 0 0 0;
    }
    header .ui.text.menu .item {
        display: none !important;
    }
    header .ui.text.menu .item.toc {
        display: block !important;
    }
    header {
        padding: 1.7em 0 0;/*  t r b l */
        height: 82px;
        /*background: #0f0 !important;*/
    }
    header h1 {
        font-size: 2.8em;
        margin: 0.2em 0 0 0 !important;
        text-align: left;
        display: block;/**/
        background-position: 0 .07em;
    }
    header span {
        font-size: 1.8em;
        margin: 0;
        clear: left;
        float: left;
    }
    header i.icon {
        line-height: 0em !important;
    }
}

/*******************************
         Sidebar
*******************************/
body.pushable {
    /*background: #f00 !important;*/
}
.sidebar {
    background-color: #fff;
    font-family: var(--ft-din-reg);
}
.sidebar .vertical.menu {
    margin-top: 1em;
}
.sidebar .vertical.menu .item {
    font-family: var(--ft-din-reg);
    font-size: 1.2em;
    padding: 1em 0em;
    text-transform: uppercase;
    text-align: center;
}
.sidebar.icon {
    margin-top: 1.1em !important;
}
.sidebar .menu  a.item:hover {
    color: var(--clr-blue) !important;
    transition: color 0.10s !important;
    background-color: transparent !important;
}
.sidebar .menu  a.active.item {
    background: transparent !important;
    color: var(--clr-blue) !important;
    font-weight: bold;
}
.sidebar .column {
    font-size: 1em !important;
    padding: 0em 0 2em 0 !important;  /* t r b l */
}

/*******************************
         Footer
*******************************/
footer {
    /*margin-top: 5em !important;*/
    min-height: 19.286em;/**/
    z-index: 9999 !important;
    font-family: var(--ft-din-reg);
}
footer .row:nth-child(1) {
    background: var(--clr-gold);
    padding-bottom: 1em;
}
/*footer .row:nth-child(2) {
    background: #c4a26e;
}*/
footer .row:nth-child(2) {
    background: #000;
    color: #fff !important;
    padding: 2em 0 4em 0 !important; /*t r b l */
}
footer .ui.small.header {
    font-size: 1em;
    margin-top: 1em;
    margin-bottom: .1em;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: inherit;
    font-family: var(--ft-din-reg);
}
footer p {
    font-size: 1em;
    line-height: 1.6em;
}
footer .rufina {
    font-family: var(--ft-rufina);
    font-size: 1.6em;
}
footer .menu {
    min-height: 1em !important;
}
footer .menu .item {
    padding: 0em 0em !important;
    color: rgba(255,255,255,1) !important;
}
footer i.circular.icon {
    box-shadow: 0 0 0 .1em rgba(255,255,255,1) inset;
}
footer i.circular.icon:hover {
    color: #c4a26e !important;
    background: transparent !important;
    transition: all 0.10s !important;
    box-shadow: 0 0 0 .1em #c4a26e inset;
}

/*******************************
         Buttons
*******************************/
.elm .ui.button {
    font-family: var(--ft-din-reg);
    font-size: 1em;;
    text-transform: uppercase;
    font-weight: normal;
    color: rgba(0,0,0,1);
    background: none !important;
    position:relative;
    display: inline-block;
    -webkit-transition:0.3s;
}
.elm .ui.button:before, .ui.button:after {
    width: 100%;
    height:100%;
    z-index: 3;
    content:'';
    position: absolute;
    top:0;
    left:0;
    box-sizing: border-box;
    -webkit-transform: scale(0);
    transition: 0.3s;
}
.elm .ui.button:before {
    border-bottom: 1px solid #c4a26e;
    border-left: 0;
    -webkit-transform-origin: 0% 100%;
}

.elm .ui.button:after {
    border-top: 0;
    border-right: 0;
    -webkit-transform-origin: 50% 50%;
}
.elm .ui.button:hover, .elm .ui.button:hover a {
    color: #c4a26e;
    background: transparent;
    transition: color 0.10s;
}

.elm .ui.button:hover::after, .ui.button:hover::before {
    -webkit-transform: scale(1);
}

/*******************************
         Collage
*******************************/
/******** General ****************/
.collage .elm:nth-of-type(1)  {
    margin-top: 8rem;
}
.collage .elm:nth-of-type(1) .flappie {
    margin-top: 8em;
    background-color: #93b9c6;
    position: absolute;
    z-index: 9999;
}
.collage .elm:nth-of-type(1) .flappie h2 {
    font-family: var(--ft-rufina);
    /*font-size: 2.5vw;*/
    font-size: 2.3vw;
    font-weight: normal;
    color: #fff;
    line-height: 1.1em !important;
    white-space: break-spaces;
    text-transform: uppercase;
}
.collage .elm:nth-of-type(2) .flappie {
    /*z-index: 9998 !important;*/
    text-align: center !important;
    background-color: #fff;
    box-shadow: 2rem 2rem 0 #f3f3f3;
}
.collage .elm:nth-of-type(2) .flappie p {
    z-index: 9998 !important;
    position: inherit;
    background-color: #fff;
    font-family: var(--ft-rufina);
    /*font-size: 1.6vw;*/
    font-size: 1.5em;
    padding: 1.5rem 2.5rem 1rem 2.5rem !important;
}
@media only screen and (max-width: 768px) {
    .collage .ui.grid > .column:not(.row).nopadding {
        padding-left: 0rem !important;
        padding-right: 0rem !important;
    }
    .collage .elm:nth-of-type(1) .flappie h2 {
        font-size: 1.4em;
    }
    .collage .elm:nth-of-type(1) .elm-collage-4 {
        position: absolute !important;
        top: 2rem;
    }
    .collage .ui.stackable.grid > .column:not(.row), .collage .ui.stackable.grid > .wide.column.flappie {
        margin-top: 27em !important; /* IPHONE HACK */
        margin-top: 25em !important;
    }
    .collage .elm:nth-of-type(2) .flappie p {
        font-size: 1.2em;
        padding: .5em 0 1em 0 !important;
    }
}
/* Widescreen Monitor */
@media only screen and (min-width: 1920px) {
    .collage .elm:nth-of-type(2) .flappie p {
        font-size: 2em;
    }
}

/******** Services ****************/
.services .collage .elm:nth-of-type(1) .elm-collage-1 .image  {
    box-shadow: -2rem -2rem 0 0 #f3f3f3;
    z-index: 99;
    margin-left: -10rem;
    margin-top: 1rem;
}
.services .collage .elm:nth-of-type(1) .flappie {
    margin-left: -20rem;
    /*margin-top: -3rem;*/
    margin-top: 2rem;
}
.services .collage .elm:nth-of-type(1) .flappie h2 {
    padding: .4em 32vw .4em 1em;
}
.services .collage .elm:nth-of-type(1) .elm-collage-3 .image  {
    box-shadow: -2rem -2rem 0 0 #f3f3f3;
    z-index: 9999;
    margin-top: -10rem;
    margin-left: -4rem;
}
.services .collage .elm:nth-of-type(1) .elm-collage-4 .image  {
    /*margin-top: 3em;*/
    margin-top: 4em;
    z-index: 0;
}
.services .collage .elm:nth-of-type(2) {
    /*margin-top: -5.6em;
    margin-top: -4rem;*/
    margin-top: -6rem;
}
/* Widescreen Monitor */
@media only screen and (min-width: 1920px) {
    .services .collage .elm:nth-of-type(2) {
        margin-top: -11rem;
    }
}
@media only screen and (max-width: 768px) {
    .services .collage .elm:nth-of-type(1) .ui.grid > .ui.grid {
        position: absolute !important;
        right: 0 !important;
        top: 6rem !important;
    }
    .services .collage .elm:nth-of-type(1) .flappie {
        margin-left: -6rem;
        margin-top: 0rem;
        z-index: 99999;
    }
    .services .collage .elm:nth-of-type(1) .flappie h2 {
        padding: .4em 1em .4em 1em;  /* t r b l */
    }
    .services .collage .elm:nth-of-type(1) .elm-collage-3 .image  {
        box-shadow: -1rem 1rem 0 0 #f3f3f3;
        /*margin-top: 3.5rem;*/
        margin-top: -5rem;
        margin-left: 0rem;
    }
    .services .collage .elm:nth-of-type(1) .elm-collage-4 .image {
        min-width: 488px !important;
        margin-left: -140px;
        margin-top: 8em;
    }
    .services .collage .elm:nth-of-type(2) {
        margin-top: -4em;
    }
}

@media only screen and (max-width: 768px) and (orientation : portrait) {
    header {
        /*background-color: #f00 !important;*/
    }
    .line {
        display: none;
    }
    .newsletter {
        margin-top: 2em !important;
    }
    footer {
       margin-top: 0em !important; 
    }
    .home .elm .ui.container {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .home .elm-2 .flappie {
        -moz-box-shadow: 0 0 0 #f3f3f3;
        -webkit-box-shadow: 0 0 0 #f3f3f3;
        box-shadow: 0 0 0 #f3f3f3;
    }
    .home .elm-5 .flappie {
        font-size: 2.6em;
    }
    
   .home .collage .ui.grid > * {
        padding-left: 0rem !important;
        padding-right: 0rem !important;
    }
}

/*******************************
         Services
*******************************/
.services .elm-1, .services .elm-2 {
    margin-top: 14em;
}
.services .elm-1 .txt {
    margin:  0 3em 0 0 !important;  /* t r b l */
}
.services .elm-2 .txt {
    margin:  0 0 0 3em !important;  /* t r b l */
}
.services .elm-1 .image {
    box-shadow: -2rem 2rem 0 #f3f3f3;
}
.services .elm-2 .image {
    box-shadow: 2rem 2rem 0 #f3f3f3;
}
.services .elm-1 .txt h3, .services .elm-2 .txt h3 {
    margin: 1em 0 1em 0;  /* t r b l */
    text-transform: uppercase;
}
@media only screen and (max-width: 767px) {
    .services .elm-1 {
        margin-top: 1em;
        margin-bottom: 2em;
    }
    .services .elm-1 .txt {
        margin:  0 !important;  /* t r b l */
    }
    .services .elm-1 .image, .services .elm-2 .image {
        box-shadow: none;
    }
    .services .elm-2 {
        margin-top: 1em;
        margin-bottom: 2em;
    }
    .services .elm-2 .txt {
        margin:  0 !important;  /* t r b l */
    }
    /* Tweaks */
    .services .elm-1 .txt h3, .services .elm-2 .txt h3 {
        margin-top: 0em !important;  /* t r b l */
    }
}
/*******************************
        OLD
*******************************/
/* iPads (landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    .xservices .elm-1-3 .flappie {
        font-size: 1.4em;
    }
    .xservices .elm-2 {
        margin-top: -7em;
    }
}


@media only screen and (max-width: 767px) {
    
    .project .elm .ui.container {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .project .elm-1 {
        margin-top: 5em;
    }
    .project .elm-2 {
        margin-top: -5em; /* hide the paginatation slide */
    }
    .slick img {
        height: 100% !important;
        padding: 0 0 0 0 !important;
    }
    .project .slick-prev {
        left: 20px;
    }
    .project .slick-next {
        right: 20px;
    }
    .slick-dots {
        text-align: center !important;
    }
    .flex-control-nav {
        text-align: center !important;
    }
    .flex-direction-nav a::before {
        font-size: 30px !important;
    }
    .flexslider img {
        height: 380px !important;
        object-fit: cover !important;
    }

    .project .elm-2-2 .flappie {
        font-size: 1em;/**/
        padding:  1.5em 0em .4em 1.5em !important;  /* t r b l */
        margin:  1em 0 0 0 !important;  /* t r b l */
        -moz-box-shadow: 0 0 0;
        -webkit-box-shadow: 0 0 0;
        box-shadow: 0 0 0 #f3f3f3;
    }
    .project .elm-2-2 .flappie h2 {
        font-size: 2em !important;
    }

    .project .elm-2-2 .flappie .ui.basic.table tr td {
        padding: .25em 1em .25em 0 !important;
    }
    
    .project .elm-2-1 .txt {
        padding: 2em 1em 2em 1em !important;
    }

    .project .elm-3 {
        margin-top: 6em;
    }
    .project .elm-5 {
        margin-top: 6em;
    }
    .project .elm-6 {
        margin-top: 6em;
    }

    .form-project {
        margin-bottom: 2em !important;
    }
}
@media only screen and (min-width : 768px) and (max-width : 1024px) {
    
    .project .elm-2-2 .flappie h2 {
        font-size: 2em !important;
    }
    .project .elm-2-2 .flappie {
        padding:  1.5em 0em .4em 2em !important;  /* t r b l */
        margin:  1em 0 0 0 !important;  /* t r b l */
        -moz-box-shadow: 0 0 0;
        -webkit-box-shadow: 0 0 0;
        box-shadow: 0 0 0 #f3f3f3;
    }
    

}


/*******************************
         Project Forms
*******************************/
.form-project {
    margin-top: .5em;
    xmargin-bottom: 10em;
    background: #fff;
}
.form-project .flappie {
    text-align: center !important;
    padding:  .6em .6em !important;  /* t r b l */
}
.form-project .form {
    margin-top: 26px;
    
}
.form-project .ui.button {
    font-family: "Rufina","Helvetica Neue",Arial,Helvetica,sans-serif;
    font-size: 1.8em;
    line-height: 1.3em;
    font-weight: normal;
    color: #fff !important;
    background: #000 !important;
    padding: .3em .5em;
    border-radius: 0;
    width: 100%;
    
}
.form-project .ui.button i.icon {
    font-size: 1em;
    font-weight: normal !important;
    color: #fff;
    opacity: 1;
    height: 1em;
}

/*******************************
         Newsletter Forms
*******************************/
.newsletter {
    margin-top: 6em;
    background: #f3f3f3 !important;
}
.newsletter .container {
    background: #f3f3f3 !important;
    padding:  6em 0 !important;  /* t r b l */
}
.newsletter .flappie {
    font-family: var(--ft-rufina);
    font-size: 1.8em;
    line-height: 1.3em;
    text-align: center !important;
    padding:  .6em .6em !important;  /* t r b l */
}
.newsletter .column {
    background: #f3f3f3 !important;
    z-index: 9999 !important;
}
/* Mailchimp */
#mc_embed_signup form {
    display: inherit !important;
    position: relative;
    text-align: left;
    padding: 0 !important;
}
#mc_embed_signup .mc-field-group {
    clear: none !important;
    position: relative !important;
    width: 100% !important;
    padding-bottom: 0 !important;
    min-height: 50px;
}
#mc_embed_signup .mc-field-group input {
    display: block;
    width: 100%;
    padding: .67857143em 1em;
    text-indent: 0%;
}
#mc_embed_signup div.mce_inline_error {
    /*margin: 0 0 1em 0;
    padding: 5px 10px;*/
    margin: 0 !important;
    padding: 1em 0 0 1em !important; /* t r b l */
    background-color: transparent !important;
    font-weight: normal !important;
    z-index: 1;
    color: #f00 !important;
}
#mc_embed_signup input.mce_inline_error {
    border: 1px solid rgba(34,36,38,.15) !important;
}
#mce-success-response, #mce-error-response {
    padding: .3em 0 0 1em !important; /* t r b l */
}

/
/*******************************
         Form
*******************************/

.ui.form .field.error input[type="text"], .ui.form .field.error textarea {
    background: #fff !important;
    border-color: rgba(191, 191, 191, 0.87) !important;
    color: rgba(191, 191, 191, 0.87) !important;
    
}
.ui.form .error ::placeholder {
    color: rgba(191, 191, 191, 0.87) !important;
}
.ui.error.message {
    background-color: #fff;
    color: #f00;
    box-shadow: 0px 0px 0px 0px #E0B4B4 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
}
.ui.success.message {
    background-color: #fff !important;
    color: #f00;
    box-shadow: 0px 0px 0px 0px #E0B4B4 inset, 0px 0px 0px 0px rgba(0, 0, 0, 0);
}
