/* TAG REDEFINITIONS */

* {
	box-sizing:border-box;
}

body {
	margin:0;
	font-size:100%;
	font-family:'Source Sans Pro',arial, sans-serif;
	min-width: 360px;
}

a {
	color:inherit;
	font-weight:bold;
	text-decoration:none;
	cursor: pointer;
}

a:hover {
	text-decoration:underline;
}

hr {
	clear: both;
}


/* COMMON CLASSES */

.container {
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
}

.centered-child {
	position:relative;
	top:15%;
	left:50%;
	
	transform:translate(-50%, -50%);
	-webkit-transform:translate(-50%, 0%);
	-moz-transform:translate(-50%, 0%);
}



.flex-parent {
	display:-webkit-flex;
	display:flex;
	flex-wrap: wrap;
}
.flex-child {
	flex:1 1 auto;
}
.flex-none {
	flex:none;
}



.card {
	background-color:white;
	padding:10px;
	border-radius:5px;
	margin:1em 0;
	box-shadow: 0 2px 0 rgba(0,0,0,0.3);
}
.card>:first-child {
	margin-top:0;
}
.card>:last-child {
	margin-bottom:0;
}



.view-window {
	height:100vh;
	background-size:cover;
	background-position:center;
	background-attachment:fixed;
	position:relative;
}

.view-window>img {
	max-height:calc(100% - 100px);
	max-width:calc(100% - 100px);
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%, -50%);
}


/*Header*/

.header-logo {
	float: left;
	vertical-align: middle;
	width: 300px;
	height: 110px;
	margin-left: 5%;
	padding-top: 30px;
}

.logo-img {
	width: 100%;
}

.header-right {
	float: right;
	display: block;
	width: 50%;
	height: 60px;
	margin-right: 5%;
	text-align: right;
}

#header-menu1 {
	text-align: right;
	margin-left: -10%;
	padding-top: 15px;
}

#header-menu1 form {
	float: right;
	margin-right: 2%;
	border: 1px solid grey;
}

#header-menu1 div {
	float: right;
	margin-right: 2%;
	margin-top: 4px;

}

#header-menu1 input[type=text], #header-menu2 input[type=text] {
	float: left;
    border: none;
    border-right: 1px solid grey;
    background: white;
    width: 120px;
    padding: 8.5px;
}

#header-menu1 button {
    float: left;
    background-color: white;
    border: none;
    cursor: pointer;
}

#search-form button {
	/*border-left: 1px solid grey;*/
}

#header-menu1 button:hover {
  	background: #b0bc80;
}

#header-menu1 label {
    text-align: left;
    cursor: pointer;
}

#header-menu1 img, #header-menu2 img {
	width: 25px;
}

#cart-from img, #profile-form img {
	margin-bottom: -4px;
}

.nav {
	padding-top: 10px;
}

.nav ul {
	list-style-type:none;
	margin:0;
	padding:0;
}

.nav li {
	display:inline-block;
	margin: 2%;
	padding: 1%;
	border-bottom: solid 5px #d8dad2;
}
.nav a {
	display:block;
	color: #404040;
}

.nav a:hover {
	color:#b0bc80;
	text-decoration:none;
}

.nav .active a {
	background-color:white;
	color: #6b9139;
}

.nav .active {
	border-bottom: solid 5px #b0bc80;
}

.nav-dropdown {
	width: 150px;
	list-style: none;
	margin-top: 10px;
	padding: 0;
	position: absolute;
	display: none;
	z-index: 1;
}

.nav-dropdown li {
	float: left;
  	position: relative;
  	text-align: left;
	width: 140px;
	background: #b0bc80;
	border: 1px solid #6b9139;
}

.nav-dropdown li a, .hello {
	padding: 10px;
	line-height: 20px;
	display: block;
    text-decoration: none;
}

.nav-dropdown li a:hover {
	background: #6b9139;
	color: white;
}

.nav-mobile-dropdown {
	width: 300px;
	list-style: none;
	margin-top: 32px;
	margin-left: -200px;
	padding: 0;
	position: absolute;
	display: none;
	z-index: 1;
}

.mobile-li-menu {
	float: left;
  	position: relative;
  	text-align: left;
	width: 300px;
	background: #b0bc80;
	border: 1px solid #6b9139;
	padding: 10px 0px 5px 35px;
}

.mobile-li-nav {
	float: left;
  	position: relative;
  	text-align: left;
	width:300px;
	background: #b0bc80;
	border: 1px solid #6b9139;
	padding: 10px 0px 5px 20px;
}

.mobile-li-nav:hover {
	background: #6b9139;
	color: white;
}

.mobile-li-menu a:hover {
	color: #6b9139;
}

.sub-dropdown li {
	padding: 5px 0px;
}

#search-mobile {
	width: 164px;
	background: white;
	border: 1px solid grey;
	margin-bottom: 5px;
}

#search-mobile button {
	/*background-color: #6b9139;*/
    border: none;
    cursor: pointer;
    /*border-left: 1px solid grey;*/
}


.nav-mobile {
  	display: none;
 	float: right;
  	top: 0;
  	right: 0;
  	height: 60px;
  	width: 70px;
  	padding-left: 20px;
    padding-top: 8px;
}

.nav-mobile:hover {
	background: #b0bc80;
}

#nav-toggle {
  /*position: relative;*/
  left: 18px;
  top: 14px;
  cursor: pointer;
  padding: 10px 35px 16px 0px; 
}

#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 4px;
  width: 30px;
  background: black;
  position: absolute;
  display: block;
  content: '';
  transition: all 300ms ease-in-out;
}
#nav-toggle span:before {
  top: -10px;
}
#nav-toggle span:after {
  bottom: -10px;
}
#nav-toggle.active span {
  background-color: transparent;
}
#nav-toggle.active span:before, #nav-toggle.active span:after {
  top: 0;
}
#nav-toggle.active span:before {
  transform: rotate(45deg);
}
#nav-toggle.active span:after {
  transform: rotate(-45deg);
}



.dual-box {

}
.dual-box img{
	max-width:100%;
}
.dual-box .box {
	width:50%;
	flex:1 1 auto;
	padding:30px;
}
.dual-box h2, 
.dual-box p {
	margin:0;
}


footer {
	padding-top: 20px;
	background-color: #d8dad2;
	/*border-top: solid gray 1px;*/
	text-align: center;
	height: 160px;
}

footer .footer-logo {
	width: 200px;
}


@media (max-width:800px) {
	.header-logo {
		width: 90%;
		height: 60px;
		padding: 0;
		text-align: center;
	}

	.header-logo img {
		width: 240px;
	}

	.header-right {
		width: 90%;
		text-align: center;
	}
}

@media (max-width:500px) {
	.header-right {
		display: none;
	}

	.header-logo {
		width: 70%;
		height: 60px;
		padding-top: 15px;
		text-align: left;
	}

	.header-logo img {
		width: 160px;
	}

	.nav-mobile {
	    display: block;
	}
}