@font-face {
    font-family: 'Slackey';
    src: url('../fonts/Slackey.ttf');
    font-weight: normal;
    font-style: normal
}
@font-face {
    font-family: 'ChelseaMarket';
    src: url('../fonts/ChelseaMarket-Regular.ttf');
    font-weight: normal;
    font-style: normal
}
@font-face {
    font-family: 'RockSalt';
    src: url('../fonts/RockSalt.ttf');
    font-weight: normal;
    font-style: normal
}

body {
	font-family:"Slackey", "Helvetica", "Arial", sans-serif;
    background: url(../img/canvas2.jpg) 50% 0/100% ;
}

.navbar {margin-bottom:80px;}
.navbar-default .navbar-brand {
	font-size: 2em;
	color:#333;

}
.navbar-default {
	background-color: transparent;
	border: none;
	font-size: 2em;
}

.navbar-default .navbar-nav>li>a  {
	color:#000;
	opacity: 0.6;
}


.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover, .navbar-brand .active {
	background-color: transparent; 
	color:#069;
	opacity: 1;
}

.navbar-default .navbar-brand:focus, .navbar-default .navbar-brand:hover {
	color:#000;
}

.thumbs {width:30%; margin:1.66%; background:#cde; height:200px; background-size: cover; background-position: 0% 50%; background-repeat:no-repeat; float:left; cursor:pointer;}

@media (max-width: 767px) {
.thumbs {width:40%; height:150px; margin:0 5% 5% 5%; }
}

@media (min-width: 768px) and (max-width: 991px) {
.navbar-default .navbar-brand {
	font-size: 1.5em;

}
.navbar-default {
	font-size: 1.5em;
}


.thumbs {width:30%; height:120px; }

}

@media (min-width: 992px) and (max-width: 1199px) {
.thumbs {width:30%; height:170px; }

}

@media (min-width: 1200px) {

}



/* slideshow */


.dark-overlay{
    width: 100%;
    /*height: inherit;*/
    /*padding: 100px 0 0 0;*/
    background: rgba(0,0,0,.7);
    color: white;
    position:absolute;
    z-index:1100;
    top:0;
    left:0;
}

.close-button {
    width: 40px;
    height: 40px;
    position:absolute;
    z-index:1200;
    top:50px;
    right:5%;
    background: url("../img/close-button2.png") right 0 no-repeat;
    cursor: pointer;
    opacity: 0.5;
}

.close-button:hover {
    background-position:0 -40px;
    opacity: 0.8;

}

.hide-slide {
    position:absolute;
    top:-2000px;
}


.current-slide {
    display:block;
}

.project-slide {
    position:absolute;
    z-index:1150;
    top:100px;
    left:5%;
    width: 90%;
    /*height:inherit;*/

}

.project-slide h3 {
    color:#ccc;
    font-weight:normal;
    padding-left:5%;
}

.project-slide .thumb {
    float:left;
    width:280px;
    margin:2%;
    color:#999;
}
.project-slide img {
    float:left;
    width:50%;
    /*max-width:800px;*/
    margin:60px 5% 0 5%;
    color:#999;
}

.project-slide figcaption {
	font-family:"ChelseaMarket", "Helvetica", "Arial", sans-serif;
	font-size: 1.5em;
    float:left;
    width:30%;
    /*max-width:300px;*/
    margin:60px 0 0 0;
    color:#333;
}

.project-slide figcaption strong {
    color:#999;
}

.project-slide figcaption a {
    color: rgb(0,255,222);
    opacity:0.7;
}

.project-slide figcaption a:hover {
    color: rgb(0,255,222);
    opacity:1;

}

/* slideshow - phone size */

@media screen and (max-width: 767px) {

    .project-slide img {
        float:none;
        width:100%;
        margin:60px 0 0 0;
    }
    .project-slide figcaption {
        float:none;
        width:100%;
        margin:20px 0 0 0;
        max-width:100%;
    }

} 

/* plug-in styles */

.bss-slides {
    width:100%;
    position:relative;
    /*border: 1px solid #fff;*/

}

.bss-slides figure {
    width:100%;
    position:absolute;
    top:0;
    left:0;
    /*max-height:800px;*/
    /*overflow:hidden;*/

}

.bss-slides figure div {
    /*background: url(../img/canvas2.jpg) 50% 0/cover repeat-y;*/
    border:1px solid #00f;

}


.bss-slides figure div:before,
.bss-slides figure div:after {
    content: " "; 
    display: table; 
}

.bss-slides figure div:after {
    clear: both;
}

.bss-slides:focus{
 outline: 0;
}
.bss-slides figure img{
  width:100%;
  opacity: 0;

  -webkit-transition: opacity 1.2s;
  transition: opacity 1.2s;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.bss-slides .bss-show{
  z-index: 2;
}
.bss-slides .bss-show img{
  opacity: 1;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /*position: relative; */
}

.bss-slides figcaption{
  opacity: 0;
  -webkit-transition: opacity 1.2s;
  transition: opacity 1.2s;
}
.bss-slides .bss-show figcaption{
  z-index: 3;
  opacity: 1;
}
.bss-next, .bss-prev{
  color: #fff;
  position: absolute;
  top: 50%;
  z-index: 4;
  opacity: .5;
  height:100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.homepage .bss-next, .homepage .bss-prev{
  display:none;
}

.bss-next:hover, .bss-prev:hover{
  cursor: pointer;
  opacity: .8;
  background-position: 0 -40px;
}
.bss-next{
  right: 0px;
  width: 20px;
  height:40px;
  background:url("../img/next-button.png") no-repeat;
  background-color:rgba(0,0,0,.3);


}
.bss-prev{
  left: 0;
  width: 20px;
  height:40px;
  background:url("../img/prev-button.png") no-repeat;
  background-color:rgba(0,0,0,.3);

}
.bss-fullscreen{
  display: block;
  width: 32px;
  height: 32px;    
  background: rgba(0,0,0,.4) url(../img/arrows-alt_ffffff_64.png); 
  -webkit-background-size: contain; 
  background-size: contain;
  position: absolute;
  top: 5px;
  left: 5px;   
  cursor: pointer;    
  opacity: .3;
} 
.bss-fullscreen:hover{
  opacity: .8;
 
}
:-webkit-full-screen .bss-fullscreen{
    background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
    -webkit-background-size: contain;
    background-size: contain;
}
:-moz-full-screen .bss-fullscreen{
    background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
    background-size: contain;
}
:-ms-fullscreen .bss-fullscreen{
    background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
    background-size: contain;
}
:full-screen .bss-fullscreen{
    background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
    -webkit-background-size: contain;
    background-size: contain;
}
:-webkit-full-screen .bss-fullscreen{
    background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
    -webkit-background-size: contain;
    background-size: contain;
}
:-moz-full-screen .bss-fullscreen{
    background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
    background-size: contain;
}
:-ms-fullscreen .bss-fullscreen{
    background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
    background-size: contain;
}
:fullscreen .bss-fullscreen{
    background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
    -webkit-background-size: contain;
    background-size: contain;
}


/* bootstrap modals */



@media (min-width: 768px) {
  .modal-dialog {
    width: 80%;
    margin: 30px auto;
  }

.modal-body {
  padding:5%;
}

}
.modal-content {
    position: relative;
    background-color: transparent;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: none;
    border-radius: 0;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    background: url(../img/canvas2.jpg) 50% 0/cover repeat-y;
}

.modal-content img {
    float:left;
    width:60%;
    /*max-width:800px;*/
    margin:0 5% 0 0;
    color:#999;
}

.modal-content figcaption {
	font-family:"ChelseaMarket", "Helvetica", "Arial", sans-serif;
	font-size: 1.5em;
    float:left;
    width:30%;
    /*max-width:300px;*/
    margin:60px 0 0 0;
}

.x-button {
    width: 40px;
    height: 40px;
    background: url("../img/close-button2.png") right 0 no-repeat;
    cursor: pointer;
    opacity: 0.5;
    position: absolute;
    top:0;
    right:0;
}

.x-button:hover {
    background-position:0 -40px;
    opacity: 0.8;

}





