

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,300);
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css);

body {
	font-family: 'Open Sans', sans-serif;
	font-size:14px;
	padding:20px;
	background: url(../img/background.jpg) #EEEEEE no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
  	background-size: cover;
}


#wrapper {
	max-width:1000px;
	margin-left:auto;
	margin-right:auto;
	background-color:#FFFFFF;
	border: 1px solid #cccccc;
	border-radius: 10px;
	-webkit-box-shadow: 5px 5px 2px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 5px 5px 2px 0px rgba(0,0,0,0.2);
	box-shadow: 5px 5px 2px 0px rgba(0,0,0,0.2);
}

header {
	text-align:center;
}

nav {
	margin: 20px 0px;
	padding: 0px 20px;
}

p {
	margin: 0px 20px;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    background-color: rgba(52, 154, 105, 1.0);
    color: #fff;
}

.nav li {
	margin-left:0px !important;
}

.nav > li > a:hover, .nav > li > a:focus {
	color:#FFFFFF;
    background-color: rgba(52, 154, 105, 0.5);/*rgba(150, 220, 190, 0.8);*/
    text-decoration: none;
}

.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {+
	color:#FFFFFF;
    background-color: rgba(52, 154, 105, 0.5);
    border-color: rgba(52, 154, 105, 1.0);
}

.dropdown-menu > li > a {
	color:rgba(52, 154, 105, 1.0);
	font-size:100%;
	padding: 10px 20px;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
	color:#FFFFFF;
    background-color: rgba(52, 154, 105, 0.5);
    background-image: none; /*linear-gradient(to bottom, #f5f5f5 0px, #e8e8e8 100%);*/
    background-repeat: repeat-x;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    background-color:rgba(52, 154, 105, 1.0);
    background-image: none;
    background-repeat: repeat-x;
}


main {
	margin-top:30px;
	padding:0px 0px;
}

footer {
	box-sizing:border-box;
	padding-bottom:1px;
	background: url(../img/footer_1000x127.png) scroll center bottom no-repeat;
	border-radius:0px 0px 10px 10px;
}

a, a:hover, a:visited {
	color:rgba(52, 154, 105, 1.0);
}

.download::before {
	font-family: FontAwesome;
	content: "\f019\00a0";
}

.address {
	font-size:small;
}

.address::before{
	display:block;
	text-align:center;
	font-family: FontAwesome;
	font-size:200%;
	color:rgba(52, 154, 105, 1.0);
	vertical-align:middle;	
}

.home::before {
	font-family: FontAwesome;
	content: "\f041\00a0";
}

.phone::before {
	font-family: FontAwesome;
	content: "\f095\00a0";
}

.cell::before {
	font-family: FontAwesome;
	content: "\f10b\00a0";
}

.email::before {
	font-family: FontAwesome;
	content: "\f003\00a0";
}

#adm::before {
	font-family: FontAwesome;
	content: "\f0a4\00a0";
}

#adm {
	position:relative;
	top:10px;
	display:inline;
	width:300px;
	color:#FF0004;
	font-weight:bold;
	padding: 10px;
	border: 2px solid rgba(52, 154, 105, 1.0);
}

#footernav {
	position:relative;
	left:-30px;
	color:#FFFFFF;
	margin-top:75px;
	margin-left:auto;
	margin-right:auto;
	list-style:none;
	text-align:center;
}

#footernav li {
	display:inline;
}

#footernav li:not(:first-child)::before {
	display:inline-block;
	content:"|\00a0";
}

#footernav a {
	color:#FFFFFF;
	text-decoration:none;
}

.carousel {
}

.carousel-inner {
	margin-bottom:20px;
}

.item {
	position:relative;
}

.item > div {
	box-sizing:border-box;
	position:absolute;
	right:0px;
	top:20px;
	padding:10px 40px;
	color:#FFFFFF;
	font-weight:bold;
	font-size:120%;
	border-top-left-radius:5px;
	border-bottom-left-radius:5px;
	background: rgba(52, 154, 105, 0.5);
}

.item img {
	width: 100%;
}

h1 {
	font-size:200%;
	margin-bottom:20px;
	padding:10px;
	color:#FFFFFF;
	text-align:center;
	background: rgba(52, 154, 105, 1.0);
	box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
	clear:both;
}

h2 {
	font-size:150%;
	color:rgba(52, 154, 105, 1.0);
	text-align:center;
	clear:both;
	padding: 20px;
}

h4 {
	font-size:130%;
	text-align:center;
	color:#4D1112;
	font-weight:bold;
}

strong {
	color:rgba(52, 154, 105, 1.0);
}

article {
	margin:0px auto;
	clear:both;
}

article div {
	display: inline-block;
	margin-bottom: 20px;
	width: 400px;
	text-align:center;
}

article img {
	display:block;
	max-width:70%;
	padding:10px;
	/*border: 1px solid rgba(52, 154, 105, 1.0);*/
	border-radius: 5px;
	background-color:rgba(255,255,255,1.0);
	margin: 20px auto;
}

article img:hover {
	-webkit-transform: scale(1.55);
	-moz-transform: scale(1.5);
	box-sizing:border-box;
	border:1px solid rgba(52, 154, 105, 1.0);
	-webkit-box-shadow: 5px 5px 2px 0px rgba(204,204,204,1);
	-moz-box-shadow: 5px 5px 2px 0px rgba(204,204,204,1);
	box-shadow: 5px 5px 2px 0px rgba(204,204,204,1);
}

.specs {
	list-style-type:none;
	display:inline-block;
}

.specs li {
	padding:5px 10px;
}

.specs li:nth-child(even) {background: rgba(52, 154, 105, 0.5);}
.specs li:nth-child(odd) {background: #EEEEEE;}

#item_contact input {
	margin-bottom:10px;
}

#item_contact textarea {
	height:170px;
}

.form-control:focus {
    border-color: rgba(52, 154, 105, 1.0);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(52, 154, 105, 0.5);
    outline: 0 none;
}

@media screen and (max-width: 822px) {
	body {
		padding:0px;
		background-image:none;
	}
	
	footer {
		border-radius:0px;
	}
	
	#wrapper {
		border:none;
		box-shadow:none;
	}
	
	.dropdown-menu {
		float:none;
		position:inherit;
	}
	
	#adm {
		display:block;
		position:inherit;
		top:0px;
		border:none;
		width:auto;
	}
	
    .nav-pills > li {
		float:none;
	}
	
	.col-sm-3 {
    width: 100%;
	}
	
	.address {
		display:inline-block !important;
	}
	
	.address::before {
		display:inline;
	}
	
	article img:hover {
		-webkit-transform: none;
		-moz-transform: none;
		transform:none;
		box-shadow:none;
		border:none;
	}
}

@media screen and (max-width: 360px) {
	.carousel {
		font-size:60% !important;
	}
	.carousel h3 {
		font-size:140% !important;
	}
	
	.specs {
		padding:0px;
		width:100%;
	}
	
	article div {
		float:none;
		width:auto;
	}
	
	article img {
		margin:0px auto;
	}
}