$blue: #22244f;
$green: #64b22e;
$bronze: #ee7425;

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

@font-face {
    font-family: 'DroidSerifBold';
    src: url('fonts/DroidSerif-Bold-webfont.eot');
    src: url('fonts/DroidSerif-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/DroidSerif-Bold-webfont.woff') format('woff'),
         url('fonts/DroidSerif-Bold-webfont.ttf') format('truetype'),
         url('fonts/DroidSerif-Bold-webfont.svg#droid_serifbold') format('svg');
    font-style: normal;

}

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

*, html, body {
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 24px;
	font-family: Arial;
}

body {
	min-height: 100vh;
}

p {
	margin-bottom: 10px;
}

a {
	font-weight: bold;
	text-decoration: underline;
	
	&.btn {
		text-decoration: none;
	}
}

.pink {
	color: $green;
}

.btn-primary {
	background: $green;
	border: 1px solid #088f00;
	
	&:hover, &:focus {
		background: #088f00;
		border: 1px solid #055a00;
	}
}

#sidr {
	display: none;
}

///////////////////////////
//////// SIDR MENU ////////
///////////////////////////

.sidr {
	-webkit-box-shadow: inset -10px 0px 26px -10px rgba(0,0,0,0.5);
	-moz-box-shadow: inset -10px 0px 26px -10px rgba(0,0,0,0.5);
	box-shadow: inset -10px 0px 26px -10px rgba(0,0,0,0.5);
	background: #64b22e;
	background: -moz-linear-gradient(top,  rgba(100,178,46,1) 0%, rgba(43,140,36,1) 100%);
	background: -webkit-linear-gradient(top,  rgba(100,178,46,1) 0%,rgba(43,140,36,1) 100%);
	background: linear-gradient(to bottom,  rgba(100,178,46,1) 0%,rgba(43,140,36,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#64b22e', endColorstr='#2b8c24',GradientType=0 );


	
	ul {
		border: none;
		
		li {
			border:none;
			border-bottom: 1px solid #78de2e;
		
			a{
				padding: 10px 20px;
			}
			
			&:hover {
				background: #78de2e;
				-webkit-box-shadow: inset -10px 0px 26px -10px rgba(0,0,0,0.5);
				-moz-box-shadow: inset -10px 0px 26px -10px rgba(0,0,0,0.5);
				box-shadow: inset -10px 0px 26px -10px rgba(0,0,0,0.5);
				
				&> a {
					color: #FFF;
					-webkit-box-shadow: none;
					-moz-box-shadow: none;
					box-shadow: none;
				}
			}
			
			&:last-child {
				border-bottom: none;
			}
		}
	}
}

////////////////////////////
//// NAVIGATION STYLING ////
////////////////////////////

.header {
	position: fixed;
	top: 0;
	height: 50px;
	padding: 0;
	z-index: 1100;
	width: 100%;
}

.nav-pad {
	padding-top: 150px;
}

.mob-bar {
	background: $green;
	padding: 0;
	height: 5px;
	width: 100%;
	display: none;
}

.no-nav-bar {
	background: $green;
	padding: 0;
	height: 5px;
	width: 100%;
}

.nav-bar {
	background: $green;
	padding: 0;
	height: 50px;
	width: 100%;
	
	ul {
		display: table;
		margin: 0 auto;
		
		li {
			display: block;
			list-style: none;
			height: 50px;
			line-height: 50px;
			float: left;
			padding: 0 20px;
			color: #FFF;
			font-size: 18px;
			cursor: pointer;
			position:relative;
			
			&:hover {
				color: $green;
				background: #FFF;
			}
			
			img {
				
			}
		}
	}
}

.mob-bar {
	background: $green;
	padding: 0;
	height: 50px;
	width: 100%;
	
}

#logo-bg {
	height: 40vh;
	background: #000;
	border-bottom: 12px solid $bronze;
	padding-top: 40px;
}

#new-logo {
	max-width: 100%;
	max-height: 25vh;
	margin-top: 4vh;
}

h1.welcome-text {
	color: #FFF;
	font-family: 'DroidSerif';
	margin: 7vh 0 0 40px;
	font-size: 72px;
	color: $green;
}

h4.welcome-text {
	color: #FFF;
	font-family: 'DroidSerif';
	margin: 0 0 0 40px;
	font-size: 40px;
	text-align: center;
}

#mob-logo {
	display: none;
	float: right;
	max-width: 85%;
	padding: 7px 0;
	height: 100%;
}

#menu-btn {
	float: left;
	z-index: 1101;
	color: #FFF;
	font-size: 30px;
	margin: 10px 0 0 10px;
	cursor: pointer;
}

#scroll-down {
	position: absolute;
	bottom:5vh;
	color: #FFF;
	width: 60%;
	left: 20%;
	
	p {
		text-align: center;
	}
	
	span {
		text-align: center;
		font-size: 30px;
	}
}

#value {
	position: fixed;
	top: 300px;
	text-align: center;
	color: #FFF;
	font-size: 40px;
}

#scroll-top {
	position: fixed;
	top: 70px;
	right: 20px;
	color: #FFF;
	z-index: 2000;
	width: 70px;
	height: 70px;
	cursor: pointer;
	display: none;
	background: rgba(0,0,0,0.7);
	border-radius: 50%;
	padding-top: 12px;
	transition: background 0.5s ease;
	
	p {
		text-align: center;
		margin: 0;
		line-height: 16px;
	}
	
	span {
		text-align: center;
		font-size: 30px;
		transition: all 1s ease;
		line-height: 16px;
	}
	
	&:hover {
		background: rgba(100,178,46,0.7);
		
		span {
			transform: scale(1.1);
		}
	}
}

////////////////////////////
///// STELLAR STYLING //////
////////////////////////////

.content {
	background-color: #111;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    position: relative;
}

.content2, .content-page {
    background-color: #FFF;
    
    p {
	    span {
		    color: $blue;
		    font-family: Arial;
		    font-weight: bold;
		    
		    &.bold {
			    color: #333;
		    }
	    }
    
	    a, a:visited, a:focus, a:hover {
		    color: $bronze;
	    }
	    
	    &.bg-success {
		    padding: 10px;
		    border-radius: 4px;
		    margin: 10px 0 0;
	    }
	    
	    &.bg-danger {
		    padding: 10px;
		    border-radius: 4px;
		    margin: 10px 0 0;
	    }
    }
    
    ul {
	    padding-left: 40px;
    }
}

.content2 {
    padding: 40px 0;
}

.content-page {
	min-height: 0;

	&.left-col {
		padding-right: 15px;
	}

	&.right-col {
		padding-left: 15px;
	}
}

.content3 {
    min-height: 30vh;
    background-color: #333;
}

.content, .content2, .content3 {
	//width: 100%;
	-webkit-box-shadow: inset 0px -20px 25px -10px rgba(0,0,0,0.5);
	-moz-box-shadow: inset 0px -20px 25px -10px rgba(0,0,0,0.5);
	box-shadow: inset 0px -20px 25px -10px rgba(0,0,0,0.5);
}	

#content1 { background-image: url("http://192.168.254.127/awards/img/Signature_059.jpg"); background-position-y: bottom; height: 60vh;}
#content2 { background-image: url("http://192.168.254.127/awards/img/Signature_023.jpg"); }
#content3 { background-image: url("http://192.168.254.127/awards/img/Signature_046.jpg"); }
#content4 { background-image: url("http://192.168.254.127/awards/img/Signature_130.jpg"); }
#content5 { background-image: url("http://192.168.254.127/awards/img/Signature_134.jpg"); }
#content6 { background-image: url("http://192.168.254.127/awards/img/Signature_047.jpg"); }
#content7 { background-image: url("http://192.168.254.127/awards/img/Signature_000.jpg"); }

.mobile body {
	width: 100%;
	overflow: hidden;
}

.mobile #wrapper {
	position: absolute;
	top: 0 !important;
	left: 0 !important;
	width: 100%;
	height: 100vh !important;
	margin: 0 !important;
	padding: 0 !important;
}

.mobile #scroller {
	width: 100%;
}

////////////////////////////
///// CONTENT STYLING //////
////////////////////////////

a span.glyphicon {
	color: #FFF;
	text-decoration: none;
	font-size: 24px; 
	line-height: 36px;
	padding: 7px 10px;
}

h4.script, h4.script a {
	font-family: 'blackjack';
	color: $green;
	margin-top: 20px;
	font-size: 30px;
	text-decoration: none;
}

h1.script {
	font-family: 'blackjack';
	color: $green;
	margin-top: 0;
	font-size: 48px;
}

.top-image {
	width: 100%;
	height: 50vh;
	background-size: cover;
	border-bottom: 5px solid $green;
    background-repeat: no-repeat;
    background-position: center center;
    margin-top: 50px;
}

.banner1 { background-image: url("http://192.168.254.127/awards/img/Signature_001.jpg"); }
.banner2 { background-image: url("http://192.168.254.127/awards/img/nominees-banner.jpg"); }
.banner3 { background-image: url("http://192.168.254.127/awards/img/awards-banner.jpg"); }

.award-table {
	margin-bottom: 10px;
	
	th {
		padding: 0 10px 0 0;
		font-family: Arial;
	}
	
	td {
		padding: 0 10px;
	}
}

.overlay-text {
	background: rgba(0,0,0,0.8);
	padding: 20px;
	width: 60%;
	position: absolute;
	bottom: 15%;
	right: 5%;
	border-radius: 5px;
	
	p {
		font-size: 18px;
		line-height: 1.5;
		color: #FFF;
		text-align: right;
		
		span {
			color: $green;
			font-size: inherit;
			line-height: inherit;
		}
	}
}

#nom-table {
	margin:20px 0;
	width:100%;
	
	td {
		border-collapse:collapse;
		padding:5px;
		
		&.nom-table-header {
			padding-top:30px;
			font-weight:700;
			border-bottom:1px solid #3d3d3d;
		}
	}

	th {
		font-weight:400;
		font-style:italic;
		border-collapse:collapse;
		padding:5px;
	}

	a, a:hover {
		color: $bronze;
		text-decoration:none;
	}
}

#edit-table {
	margin:20px 0;
	width:100%;

	td {
		&.table-text {
			text-align:right;
			color:$green;
			font-weight: bold;
		}
		
		input[type=text], textarea {
			margin:0;
			width:100%;
			padding: 5px;
			border-radius: 5px;
		}
		
		textarea {
			
		}
	}	
	
	th {
		border-collapse:collapse;
		padding:5px 15px;
		font-style:none;
		width:30%;
		vertical-align:middle;
		text-align:right;
		color:$green;
		
		&.textarealabel {
			text-align:justify;
			vertical-align:top;
			padding:20px 0 5px;
			color:$green;
		}
	}
}

.carousel-caption {
	width: 100%;
	text-align: center;
	left: 0;
	
	p {
		padding: 5px 0;
		background-color:$green;
	}
}

#winners-carousel {

	.carousel {
		margin: 0 15%;
		border: 4px solid $green;
	
		.carousel-inner {
			margin: 0;
		
			.item { 
				width: 100%;
				margin: 0;
				background-size: cover;
				background-position: center center;
				height: 450px;
				

				
				&.slide1 {background-image: url('../img/previous-winners/inspirational.jpg');}
				&.slide2 {background-image: url('../img/previous-winners/spirit.jpg');}
				&.slide3 {background-image: url('../img/previous-winners/entrepreneur.jpg');}
				&.slide4 {background-image: url('../img/previous-winners/impact.jpg');}
				&.slide5 {background-image: url('../img/previous-winners/service.jpg');}
				&.slide6 {background-image: url('../img/previous-winners/contribution.jpg');}
				&.slide7 {background-image: url('../img/previous-winners/community.jpg');}
			}
		}
	}
}

.news-item {
	height: 450px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	-webkit-box-shadow: 0px 0px 15px -5px rgba(0,0,0,1);
	-moz-box-shadow: 0px 0px 15px -5px rgba(0,0,0,1);
	box-shadow: 0px 0px 15px -5px rgba(0,0,0,1);
	padding: 5px 25px;
	margin-bottom: 20px;
	
	&.last {
		margin-right: 0;
	}
	
	.news-text {
		height: 80%;
		width: 100%;
		overflow: hidden;
		margin: 0;
		position: relative;
		margin-bottom: 10px;
		
		.fadeout {
			position:absolute;
		    top:70%;
		    width:100%;
		    height:30%;
		    background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 71%, rgba(255,255,255,1) 100%);
			background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 71%,rgba(255,255,255,1) 100%);
			background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 71%,rgba(255,255,255,1) 100%);
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );

		}	
			
		p, h4.script {
			-webkit-transform: translateZ(0px);
		}
	}
}

.all-news {
	width: 100%;
	text-align: center;
	margin-top: 30px;
	font-size: 16px;
}

.contact-info {
	height: 50px;
	width: 100%;
	border-radius: 4px;
	margin-bottom: 5px;
	background: #f0f0f0;
	border-radius: 0 4px 4px 0;
	
	.contact-icon {
		background: $green;
		width: 50px;
		height: 100%;
		padding: 11px 13px 0;
		border-radius: 4px 0 0 4px;
		float: left;
		
		span {
			color: #FFF;
			font-size: 24px;
			line-height: 24px;
			margin: 0;
			padding: 0;
			text-align: center;
		}
	}
	
	p {
		padding: 12px 0 0 20px;
		float: left;
		margin: 0;
		width: auto;
		
		a {
			text-decoration: none;
			color: #333;
		}
	}
}


.footer {
	border-top: 4px solid $green;
	background: #333;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	
	p {
		color: #FFF;
	}
	
	img {
		display: block;
		margin: 0 auto;
		margin-bottom: 40px;
	}
}

.bslbtnsmall {
	width:40px;
	height:40px;
	float:left;
	margin:0 10px 5px 0;
	cursor:pointer;
}

.hvr-grow {
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-property: transform;
	transition-property: transform;
}

.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

////////////////////////////
///// DEFAULT STYLING //////
////////////////////////////

.modal-dialog {
	z-index: 1050;
}

.no-pad {
	padding: 0 !important;
}

.no-pad-left {
	padding-left: 0 !important;
}

.no-side-pad {
	padding-left: 0;
	padding-right: 0;
}

.left-pad-nil {
	padding-left: 0;
}

.right-pad-nil {
	padding-right: 0;
}

.left-pad-xs {
	padding-left: 10px;
}

.left-pad-sm {
	padding-left: 20px;
}

.right-pad-xs {
	padding-right: 10px;
}

.right-pad-sm {
	padding-right: 20px;
}

.btm-pad-xs {
	padding-bottom: 10px;
}

.btm-pad-sm {
	padding-bottom: 20px;
}

.pad-sm {
	padding: 10px;
}

.top-pad-nil {
	padding-top:0;
}

.right-mar-xs {
	margin-right: 10px;
}

.right-mar-sm {
	margin-right: 20px;
}

.top-mar-xs {
	margin-top: 10px;
}

.top-mar-sm {
	margin-top: 20px;
}

.top-mar-md {
	margin-top: 30px !important;
}

.top-mar-lg {
	margin-top: 60px !important;
}

.btm-mar-nil {
	margin-bottom: 0;
}

.btm-mar-xs {
	margin-bottom: 10px;
}

.btm-mar-sm {
	margin-bottom: 20px;
}

.btm-mar-md {
	margin-bottom: 30px;
}

.btm-mar-lg {
	margin-bottom: 60px;
}

.bsl-img {
	margin: 0 0 20px 20px;
}

.no-mar {
	margin: 0 !important;
}

.no-mar-top {
	margin-top: 0 !important;
}

.top-mar-nil {
	margin-top: 0;
}

.txt-left {
	text-align: left;
}

.txt-right {
	text-align: right;
}

.txt-center {
	text-align: center;
}

.flt-right {
	float: right;
}

.flt-left {
	float: left;
}

.bold, strong {
	font-family:Arial;
	font-weight: bold;
}


@media (max-width: 767px) {
	
	#content1 { background-position-x: left; }
	#content2 { background-position-x: left; }
	#content3 { background-position-x: right; }
	#content4 { background-position-x: right; }
	#content6 { background-position-x: center; }
	
	#new-logo {
		height: 20vh;
		width: auto;
		float: right;
		margin-top: 20px;
	}
	
	.contact-info {
		
		p {
			padding: 10px 0 0 10px;
			
			&.long, &.long a {
				float: left;
				margin: 0;
				word-wrap:break-word;
				font-size: 14px;
				line-height: 1.1;
				width: 80%;
			}
		}
	}
	
	#welcome-box {
		top: 90px;
	
		.welcome-banner {
			height: 60px;
			padding: 5px 20px;
			
			h1 {
				font-size: 30px;
				line-height: 50px;
				
				span {
					font-size: 30px;
					line-height: 50px;
				}
				
				sup {
					line-height: 18px;
					font-size: 20px;
				}
			}
		}
	}
	
	.content {
		background-position-x: center;
	}
	
	.footer {
		img {
			width: 80px;
		}
	}
	
	#winners-carousel {
		.carousel {
			margin: 0;
			.carousel-inner {
				.item { 
					height: 250px;
				}
			}
		}
	}

	.content2, .content-page {
	    
	    h1.script {
			font-size: 30px;
	    }
	}
	
	.content2 {
	    padding: 40px 0;
	}
	
	.logo-container {
		height: 50px;
	}
	
	#std-logo {	
		display: none;
	}
	
	#mob-logo {	
		float: right;
		display: block;
		padding: 5px 0;
	}
	
	.nav-bar {
		display: none;
	}
	
	.mob-bar {
		display: block;
	}
	
	#scroll-top {
		top: 20px;
		right: 10px;
		width: 50px;
		height: 50px;
		padding-top: 10px;
		
		p {
			line-height: 12px;
			font-size: 12px;
		}
		
		span {
			font-size: 20px;
			line-height: 12px;
		}
	}
	
	#scroll-down {
		bottom:10vh;
		
		p {
			text-align: center;
		}
		
		span {
			text-align: center;
			font-size: 20px;
		}
	}
}

@media(min-width:768px) and (max-width:991px) {
	
	#content1 { background-position-x: left; }
	#content2 { background-position-x: left; }
	#content3 { background-position-x: right; }
	#content4 { background-position-x: center; }
	#content6 { background-position-x: center; }
	
	h1.welcome-text {
		margin: 20% 40px 0;
		font-size: 60px;
	}
	
	h4.welcome-text {
		font-size: 30px;
	}
	
	.footer {
		img {
			width: 80px;
		}
	}
	
	#winners-carousel {
		.carousel {
			margin: 10%;
			.carousel-inner {
				.item { 
					height: 350px;
				}
			}
		}
	}

	.content2, .content-page {
	    
	    h1.script {
			font-size: 36px;
	    }
	}
	
	.content2 {
	    padding: 40px 0;
	}
	
	#scroll-down {
		bottom:5vh;
		
		span {
			font-size: 40px;
		}
	}
	
	.nav-bar  ul  li {
		padding: 0 18px;
		font-size: 16px;
	}
}

@media(min-width:992px) and (max-width:1199px){
	
	.footer {
		img {
			width: 120px;
		}
	}
	
	#winners-carousel {
		.carousel {
			margin: 0 12%;
			.carousel-inner {
				.item { 
					height: 400px;
				}
			}
		}
	}
	
	#scroll-down {
		bottom:5vh;
	}

	.content2, .content-page {
	    
	    h1.script {
			font-size: 42px;
	    }
	}
	
	.content2 {
	    padding: 40px 0;
	}

}