@font-face {
    font-family: 'gt_walsheim_pro_trialmedium';
    src: url('gt-walsheim-pro-trial-medium-webfont.eot');
    src: url('gt-walsheim-pro-trial-medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('gt-walsheim-pro-trial-medium-webfont.woff2') format('woff2'),
         url('gt-walsheim-pro-trial-medium-webfont.woff') format('woff'),
         url('gt-walsheim-pro-trial-medium-webfont.ttf') format('truetype'),
         url('gt-walsheim-pro-trial-medium-webfont.svg#gt_walsheim_pro_trialmedium') format('svg');
    font-weight: normal;
    font-style: normal;

}
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}


html, body {
    height: 100%;
}
body { 
    font-family: Tahoma, Verdana, Segoe, sans-serif;
    font-size: 12px; 
    font-weight: normal; 
    background: #FFF; 
    color:  #221F1F;
    line-height:1.8em; 
    margin: 0;
    min-width: 320px;
    padding: 0 !important;
}

/* BOOTSTRAP OVERWRITES */
a{
    color: #221F1F;
    text-decoration: none;
}
a:hover{
    color: #221F1F;
    text-decoration: underline;
}

/* common classes */
.inner { 
    height: auto;
    margin: 0 auto;
    max-width: 1200px;
    min-width: 320px;
    overflow: hidden;
    position: relative;
}
.clearfix:after {
   content: " "; /* Older browser do not support empty content */
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}


/* STRUCTURE */
.wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -75px; /* the bottom margin is the negative value of the footer's height */
}
.push {
    height:75px; /* .push must be the same height as .footer */
}
#header{    
    width: 100%;
    height: 115px;
    position: relative;
    top: 50px;
}
#header .content {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 1;
}

#logo{    
    width: 138px;
    float: left;
    position: relative;
    padding: 0;
    margin-left: 5px;
}
#logo img{
    width: 180px;
}

#nav{
    float: right;
    position: relative;
    list-style: none;
    margin: 141px 25px 0 0;
    padding: 0;
}
#nav li{
    float: left;    
    padding: 0 0 0 40px;
    margin: 0;
}
#nav li a{
    font-family: 'gt_walsheim_pro_trialmedium';
    font-size: 16px;
    padding: 0;
}
#nav li.selected a, #nav li a:hover, #nav li a:focus{
    /*border-bottom: 2px solid #000;*/
    text-decoration: none;
}

#content {
    /*background: none repeat scroll 0 0 #EEEEEE;*/
    clear: both;
    position: relative;
    min-height: 400px;
    margin-top: 80px;
    width: 100%;
}
#content .page{
    margin: 0 -25px 0 25px;
    position: relative;
}

.page-info{
    padding-left: 36%;
    padding-top: 65px;
    padding-right: 25px;
}

h1{
    font-size: 12px;
    font-weight: normal;
    line-height: 16px;
    margin: 0;
    padding: 33px 0 15px;
}

img {
    border: none;
}

/*
#content .text p{
    float: left;
    position: relative;
}*/

#content #projects{
    list-style: none;
    position: relative;
    clear: both;
    padding: 0;
    margin-top: 65px;
    margin-left: 10px;
    margin-right: 10px;
}
#content .thumbs li{
    float: left;
    position: relative;
    width: 20%;
    padding: 0 15px 20px 15px;
}
#content .cont{
    display: none;
}
#content img{
    max-width: 100%;
    height: auto;
}

.page-simple{
    margin: 50px auto;
    text-align: center;
}
.page-simple h2{
    margin: 0;
}
.page-simple a{
    text-decoration: underline;
}

#project.page{    
    height: auto;
    margin-right: 0px;
    margin-top: 30px;
    margin-bottom: 50px;
    min-height: 300px;
    position: relative;
    visibility: visible;
}
#project .text{
    /*float: left;*/
    position: relative;
    left: 0;
    top: 0;
}
#project .text p{    
    margin: 0 0 25px 0;
}
#slides {
    overflow:visible;
    margin-top: 15px;
    /*position:absolute;*/
    position:relative;
    float: right;
    right: 25px;
    top: 20px;
    text-align: right;
    z-index: 55;
}
#slides img{
    max-width: 100%;
    max-height: 750px;
    cursor: pointer;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}
#slides .indicator {
    bottom: -23px;
    display: block;
    height: 48px;
    left: -50px;
    position: absolute;
    text-align: left;
}
#slides .flex-control-nav {
    display: none;
}
#slides .flex-direction-nav{
    display: none;
    width: 100%;
    position: absolute;
    bottom: -75px;
}
#slides .flex-direction-nav li{
    float: left;
    position: relative;
    height: 50px;
    width: 50%;
}
#slides .flex-direction-nav a.flex-next:before,
#slides .flex-direction-nav a:before  { 
    content: ''; 
}
#slides .flex-direction-nav a {
    font-size: 50px;
    display: inline-block;
    position: absolute;
    right: 20px;
    left: auto;
}
#slides .flex-direction-nav a.flex-next{ 
    left: 20px;
    right: auto;
}
#slides .flex-direction-nav a:hover {
    text-decoration: none;
}

#footer{
    width: 100%;
    clear: both;
    text-align: center;
    font-size: 11px;
    height:50px; 
    margin-top: 25px;
    position: relative;
}


/* ADMIN */
.admin-link {
    position: absolute;
    top: 5px;
    right: 0px;
    width: 16px;
    height: 16px;
    text-decoration: none !important;
    background: url(data:image/png;base64,R0lGODlhCgAKAIABAG5ubv///yH5BAEAAAEALAAAAAAKAAoAAAIVhBFpganaHnQRtcXkqTBmp4HadiQFADs=) no-repeat 0 0;
    z-index: 5000;
}

@media (max-width: 1250px) {
    #content{
        padding: 0 20px;
    }
    
    #content #projects{
        margin-left: -15px;
        margin-right: -15px;
    }
}


@media (max-width: 850px) {
    
    #slides {
        float: none;
        text-align: center;
        margin: 45px auto 0;
        right: 0;
        max-width: 100% !important;
        position: relative;
        /*margin-top: -125px;*/
    }
    #slides .flex-direction-nav{
        display: block;
    }
    #slides .flex-control-nav {
        display: none;
    }
    
    #content .page {
        margin: 50px 0 0 0;
    }
    
    #project .text{
        /*float: left;*/
        clear: both;
        position: relative;
        left: 0;
        width: 100%;
        min-height: 0 !important;
        top: auto;
        margin-left: 0;
        margin-right: 0 !important;
    }
    #project h1{
        margin-top: 125px;
        padding-top: 0;
    }
}

@media (max-width: 570px) {
    #nav{        
        margin: 0;
        position: absolute;
        right: 20px;
        top: 16px;
    }
    #nav li{
        float: none;
        text-align: right;
        clear: both;
    }
    
    .page-info {
        padding-left: 0px;
    }
    
    #content .thumbs li {
        width: 50%;
    }
}


@media (max-width: 450px) {
    
    #footer span{
        clear: both;
        display: block;
        height: 2px;
        visibility: hidden;
    }
    #logo{
        margin-top: -1px;
    }
    #logo img{
        width: 144px;
    }
  
}
