/*
Designed and Developed by Coffee Creative Studio
http://www.coffeecreativestudio.co.za
*/

/*#######################
Start of reset Stylesheet
#######################*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
	margin: auto;
}
div {
	box-sizing:border-box;
}
/*####################################
Coffee stylesheet - let the brew begin
####################################*/

body, html {
  height: 100%;
}

::-webkit-scrollbar {
    display: none;
}

/* FONTS */

@font-face {
    font-family: 'dinregular';
    src: url('fonts/dinregular-webfont.eot');
    src: url('fonts/dinregular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/dinregular-webfont.woff2') format('woff2'),
         url('fonts/dinregular-webfont.woff') format('woff'),
         url('fonts/dinregular-webfont.ttf') format('truetype'),
         url('fonts/dinregular-webfont.svg#dinregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'dinregularalternate';
    src: url('fonts/dinregularalternate-webfont.eot');
    src: url('fonts/dinregularalternate-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/dinregularalternate-webfont.woff2') format('woff2'),
         url('fonts/dinregularalternate-webfont.woff') format('woff'),
         url('fonts/dinregularalternate-webfont.ttf') format('truetype'),
         url('fonts/dinregularalternate-webfont.svg#dinregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

#container {
	height: 100%;
}

#h1 {
	font-family: 'dinregularalternate';
	font-size: 1.3em;
	color: #fff;
	text-transform: uppercase;
	text-align: left;
	line-height: 1.2;
	padding: 0;
}

h1 {
	font-family: 'dinregularalternate';
	font-size: 1.3em;
	color: #fff;
	text-transform: uppercase;
	text-align: left;
	line-height: 1.2;
}

h2 {
	font-family: 'dinregular';
	font-size: 0.8em;
	text-transform: uppercase;
	color: #fff;
	line-height: 1.5;
	transform: skew(-15deg);
  -webkit-transform: skew(-15deg);
  -moz-transform: skew(-15deg);
}

.bg-container {
	height: 100%;
}

.left-col {
	background-image: url(images/dcels-2.jpg);
	background-repeat:no-repeat;
	background-size: cover;
	background-position: center center;
	width: -moz-calc((100% - 450px)/2);
	width: -webkit-calc((100% - 450px)/2);
	width: -o-calc((100% - 450px)/2);
	float: left;
	height: 100%;
}

.middle-col {
	
	width: 450px;

	float: left;
	height: 100%;
}

.right-col {
	background-image: url(images/dcels-3.jpg);
	background-repeat:no-repeat;
	background-size: cover;
	background-position: center center;
	width: -moz-calc((100% - 450px)/2);
	width: -webkit-calc((100% - 450px)/2);
	width: -o-calc((100% - 450px)/2);
	float: right;
	height: 100%;
}

.content-container {
	background-image: url(images/dcels-1.jpg);
	background-repeat:no-repeat;
	background-size: cover;
	background-position: center center;
	text-align: center;
  max-width: 450px;
	min-width: 320px;
	margin: auto !important;
	min-height: 100%;
	text-align: center;
	overflow-x: hidden;
	position: relative;
	z-index: 1;
	padding: 0 0 3% 0;
}

.outer-container {
}
.clear {
	clear: both;
}
.inner-container {
	width: 75%;
}

.green-block {
	background-color: rgb(122,193,67);
	float: left;
	padding: 10px 15px 10px 30px;
	width: 200px;
	top: 15px;
	left: -15px;
	position: absolute;
	z-index: 2;
	transform: skew(15deg);
  -webkit-transform: skew(15deg);
  -moz-transform: skew(15deg);
}

.logo {
	padding: 8% 0 8% 0;
	margin: 0 auto;
	text-align: center;
}

.logo-2 {
	margin: 0 auto;
	text-align: right;
	bottom:0;
	right: 0;
	position: fixed;
	padding: 0 2% 1% 0;
}

.slanted {
	border-top: 40px solid rgba(255,255,255,0.6);
	border-right: 40px solid transparent;
	float: left;
	width: 100%;
}

.text {
	width: 100%;
	margin: 0 auto;
	text-align: left;
	background-color: rgba(255,255,255,0.6);
	padding: 6% 10% 0% 5%;
	bottom: 0;
	z-index: 3;
	float: left;
}

.about {
	font-family: 'dinregular';
	font-size: 0.9em;
	color: #000;
	text-align: left;
	padding: 5% 0 5% 0;
	line-height: 1.1;
}

.contact {
	font-family: 'dinregular';
	font-size: 0.9em;
	color: #000;
	text-align: left;
	padding: 5% 0 5% 0;
	line-height: 1.9;
	display: none;
}

.content-container.clicked .about {
	display: block;
}

.content-container.clicked .contact {
	display: none;
}

.button {
	background-color: rgba(122,193,67,0.8);
	width: 63%;
	margin: 0 auto;
	text-align: left;
	padding: 3% 5% 3% 10%;
	z-index: 3;
	float: left;
	margin-top: 4%;
	margin-left: -30px;
	-webkit-transform: skew(-45deg);
	-moz-transform: skew(-45deg);
	transform: skew(-45deg);
	cursor: pointer;
}

.button p {
	font-family: 'dinregular';
	font-size: 1.3em;
	text-transform: uppercase;
	color: #fff;
	line-height: 1.5;
	transform: skew(45deg);
	-webkit-transform: skew(45deg);
	-moz-transform: skew(45deg);
}

.button p span:last-child {
	display: none;
}

.content-container.clicked .button p span:last-child {
	display: block;
}

.content-container.clicked .button p span:first-child {
	display: none;
}
.service-block {
  font-family: 'dinregular';
  position: fixed;
  background-color: #7AC143;
  color: #ffffff;
  bottom: 2em;
  left: -4em;
  -webkit-transform: skewX(16deg);
  -ms-transform: skewX(16deg);
  -o-transform: skewX(16deg);
  transform: skewX(16deg);
}
.service-block ul {
  -webkit-transform: skewX(-16deg);
  -ms-transform: skewX(-16deg);
  -o-transform: skewX(-16deg);
  transform: skewX(-16deg);
  padding: 1em 1em 1em 5em;
}
.service-block ul li {
  font-size: 0.9em;
  line-height: 1.3em;
  text-transform: uppercase;
}
.service-block ul li:first-child {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.5em;
}
.transition {
    -webkit-transition : opacity 0.5s linear;
       -moz-transition : opacity 0.5s linear;
        -ms-transition : opacity 0.5s linear;
         -o-transition : opacity 0.5s linear;
            transition : opacity 0.5s linear;
}

@media (min-width: 1440px) {
	.logo {
		padding: 20% 0 20% 0;
	}
}
@media (max-width: 1125px) {
	.service-block {
		display: none;
	}
}
@media (max-width: 800px) {
	.logo-2 {
		display: none;
	}
	.green-block {
		display: none;
	}
}

@media (max-height: 650px) {
	.logo {
		padding: 2% 0 2% 0:
	}

	.logo img {
		width: 250px;
	}
}

@media (max-width: 450px) {
	.logo {
		text-align: left;
		padding: 10% 0 10% 15%;
	}
	.middle-col {
		width: %;
	}
	.text {
		width: 100%;
	}
	.inner-container {
		width: 90%;
	}
	.button {
		width:75%;
		padding: 3% 5% 3% 13%;
	}
}
