* {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
/* --- Font Import --- */
@font-face {
	font-family: 'Brandon Light';
	src: url('../_assets/Brandon_light.otf');
}

@font-face {
	font-family: 'Brandon Thin';
	src: url('../_assets/Brandon_thin.otf');
}

@font-face {
	font-family: 'Brandon Thin Italic';
	src: url('../_assets/Brandon_thin_it.otf');
}

/* --- HMTL Elements --- */

html, body {
	min-height: 100%;
	margin: 0px;
	background-color: #222222;

	/*
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	*/
}

h1 {
	color: #f8f8f8;
	margin: 24px 5px 32px 5px;
	font-family: Brandon Thin;
	font-size: 32px;
	text-transform: uppercase;
	letter-spacing: 2px;
	border-bottom: solid 1px;
	border-color: rgba(88, 88, 88, 0.5);
}

h2 {
	margin: 0px 5px 10px 5px;
	color: #f8f8f8;
	font-family: Brandon Thin;
	font-size: 18px;
	letter-spacing: 1px;
	line-height: 22px;
}

h3 {
	color: #f8f8f8;
	margin: 24px 5px 32px 5px;
	font-family: Brandon Thin;
	font-size: 24px;
	letter-spacing: 1px;
}

p {
	color: #f8f8f8;
	font-family: Brandon Light;
	font-size: 16px;
	line-height: 18px;

	margin-bottom: 22px;
	padding-right: 10px;
}

.clear {
	clear: both;
}

.spacer {
	display: inline-block;
	height: 60px;
}

/* --- Content Style --- */

#content {
	width: 80%;
	margin: 0 auto;
}

.cd-main-content {
	padding-top: 80px;

	background-image: url("../_assets/bg_noise_body.png");
	background-size: 256px 256px;
	background-color: transparent;

	box-shadow: inset 0 0 300px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: inset 0 0 300px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: inset 0 0 300px rgba(0, 0, 0, 0.5);
}

.image {
	width: 100%;
	/*min-height: 200px;*/
	height: auto;
	opacity: 0;
}

.fancybox-title {
	color: #f8f8f8;
	font-family: Brandon Light;
	font-size: 16px;
	line-height: 18px;
}

@media only screen and (min-width: 1024px) {
	#content {
		width: 60%;
	}

	.cd-main-content {
		padding-top: 120px;
	}
}

/* --- Navigation Style --- */

header {
	background-image: url("../_assets/bg_noise_nav.png");
	background-size: 256px 256px;
	background-color: transparent;

	box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.5);
}

.cd-logo img {
	margin: 0px;
	max-height: 90%;
}

.cd-main-nav li a {
	font-family: Brandon Light;
	font-size: 18px;
	text-decoration: none;
	color: #f8f8f8;

	padding: 10px;
}

.cd-main-nav li ul {
	background-color: transparent;
}

/* --- Gallery / Text Grid --- */

.gallery-grid {
	/*min-height: 400px;*/
	margin-bottom: 20px;
}

.gallery-grid:after {
	content: '';
	display: block;
	clear: both;
}

.gallery-item {
	float: left;
	position: relative;
	padding: 5px;
}

.gallery-item .image {
	height: 0px;
    padding-bottom: 100%;

	background-size: cover;
	background-position: center center;
  	background-repeat: no-repeat;

    opacity: 0;
    filter: alpha(opacity=0);

    overflow: hidden;
}

.gallery-item img {
	min-height: 100%;
	min-width: 100%;
}

.gallery-item .lable {
	height: 0px;
    padding-bottom: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    cursor: pointer;

    background-image: url("../_assets/plus_icon.svg");
    background-position: center center;
  	background-repeat: no-repeat;
  	background-size: 50px 50px;
}

.gallery-item .lable.nozoom {
	height: 0px;
    padding-bottom: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    cursor: default;
    background-image: none;
}

.gallery-item .lable div {
	width: 80%;
	margin: 0 auto;
	padding-top: 70%;

	font-family: Brandon Thin;
  	color: #ffffff;
	font-size: 18px;
	line-height: 21px;
	text-align: center;
}

.text-grid {
	min-height: 400px;
}

.text-grid p {
	padding-left: 5px;
}

.text-grid:after {
	content: '';
	display: block;
	clear: both;
}

.text-item {
	float: left;
	position: relative;
	padding: 5px;

}

.text-item p {
	padding-left: 0px;
}

.text-item h2 {
	margin-left: 0px;
}

/* Ajust grid for very small screens */
@media screen and (max-width: 400px) {
	.gallery-item { width: 100%; }
	.text-item { width: 100%; }
	.text-item.double { width: 100%; }
	.text-item.triple { width: 100%; }
	.text-item.full { width: 100%; }
}

/* Ajust grid for very small screens */
@media screen and (min-width: 400px) {
	.gallery-item { width: 100%; }
	.text-item { width: 50%; }
	.text-item.double { width: 100%; }
	.text-item.triple { width: 50%; }
	.text-item.full { width: 100%; }
}

/* Ajust grid for small screens */
@media screen and (min-width: 600px) {
	.gallery-item { width: 50%; }
	.text-item { width: 25%; }
	.text-item.double { width: 50%; }
	.text-item.triple { width: 75%; }
	.text-item.full { width: 100%; }
}

/* Ajust grid for WVGA screens */
@media screen and (min-width: 854px) {
	.gallery-item { width: 33.333%; }
	.text-item { width: 25%; }
	.text-item.double { width: 50%; }
	.text-item.triple { width: 75%; }
	.text-item.full { width: 100%; }
}

/* Ajust grid for HD screens */
@media screen and (min-width: 1280px) {
	.gallery-item { width: 25%; }
	.text-item { width: 25%; }
	.text-item.double { width: 50%; }
	.text-item.triple { width: 75%; }
	.text-item.full { width: 100%; }
}

/* Ajust grid for FHD screens */
@media screen and (min-width: 1920px) {
	.gallery-item { width: 20%; }
	.text-item { width: 25%; }
	.text-item.double { width: 50%; }
	.text-item.triple { width: 75%; }
	.text-item.full { width: 100%; }
}

/* Ajust grid for WQHD screens */
@media screen and (min-width: 2560px) {
	.gallery-item { width: 10%; }
	.text-item { width: 25%; }
	.text-item.double { width: 50%; }
	.text-item.triple { width: 75%; }
	.text-item.full { width: 100%; }
}

/* --- Contact Form --- */

form label {
    display: inline-block;
    margin-bottom: 5px;

    font-family: Brandon Light;
    font-size:15px;
    color:#f8f8f8;
}
form label.error {
    color:#D9594C
}
form input[type="text"], form textarea, input {
    width: 100%;
    height: 30px;
    margin-bottom: 20px;
    resize: none;

    padding-left: 5px;
    
    font-family: Brandon Light;
    font-size:15px;
    
    background:#e6e6e6;
    border:1px solid #191919;
    -moz-border-radius:0.2em;
    -webkit-border-radius:0.2em;
    border-radius:0.2em
}

input[type="submit"] {
	cursor: pointer;
}

input[type="submit"][disabled] {
	cursor: default;
}

form textarea {
	height: 120px;
}

form input[type="text"]:focus, form textarea:focus {
    border-color:#191919;
}

form input[type="text"].error, form textarea.error {
    background:#e6e6e6;
    border-color:#D9594C
}

.required {
    color:#D9594C
}
#success, #error {
    display:none
}
#success span, #error span {
    display:block;
    width:100%
}
#success span p {
  color:#f8f8f8;
}
#error span p {
  color:#D9594C;
}

/* --- Footer Style --- */

#footer {
	width: 80%;
	margin: 0 auto;
	padding: 32px 5px 24px 5px;
}

@media only screen and (min-width: 1024px) {
	#footer {
		width: 60%;
	}
}

.copyright {
	height: 50px;
	border-top: solid 1px;
	border-color: rgba(88, 88, 88, 0.5);
	font-family: Brandon Thin;
	color: #f8f8f8;
	font-size: 13px;
	text-align: right;
	padding-top: 5px;
}