html, body{
	height: 100%;
}


a{
	color: #0272b3;
	text-decoration: none;
	cursor: pointer;
}

a:hover{
	color: #2292d3;
}

p{
	margin-bottom: 10px;
}

.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -100px; /* the bottom margin is the negative value of the footer's height */
}

#header{
	text-align: center;
	color: #474747;
	margin-bottom: 30px;
}

#header h1{	
	font-size: 50px;
	text-transform: uppercase;	
	font-weight: bold;
	margin-bottom: -15px;
	line-height: 55px;
	margin-bottom: 20px;
	margin-top: 20px;
}

#header h2{		
	font-size: 27px;	
	font-weight: normal;
	margin-bottom: 15px;
}

textarea,
input,
select{
	border-radius: 7px;
	border: 1px solid #c7c7c7;
	padding: 10px 20px 10px 20px;
}


#inputunit,
#inputquantity,
#inputcat,
#outputcat{
	text-align: center;
	margin-bottom: 20px;
}

#output{
	text-align: center;
	margin-bottom: 10px;
	
}


#unit,
#quantity,
#unitsymbol,
#inputdirection,
#outputdirection{	
	width: 100%;		
	height: 38px;	
}

#quantity{
	width: 100%;		
	height: 40px;		
}


#outputbox{		
	width: 100%;
	height: 180px;	
	resize: none;
}

.social{
	text-align: center;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-size: 14px;
	color: #7f7f7f;
	margin-bottom: 10px;
	overflow: visible;
}

.fb-like {
	vertical-align: top;	
}

.social p {
	margin-bottom: 20px;
}

div.socialbutton{
        display: inline-block;
        vertical-align: top;
}

div.social .facebookpage,
div.social .twitterfollow{
        border-radius: 7px;
        color: white;
        padding: 5px 10px 5px 10px;
        line-height: 50px;
}


div.social .facebookpage{
        background: #3B5998;
        border: 1px solid #1B3978;
        margin-right: 40px;
}

div.social .facebookpage:hover{
        background: #5B79B8;
}

div.social .twitterfollow{
        background: #CB3334;
        border: 1px solid #AB1314;
}
div.social .twitterfollow:hover{
        background: #EB5354;

}

.ads{
	margin-top: 20px;
	text-align: center;
	margin-bottom: 10px;
}


#footer, .push {
	height: 100px; /* .push must be the same height as .footer */
}

#footer{
	background-color: #dadada;
	text-align: center;	
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-size: 18px;
	color: #282828;	
	padding-top: 41px;
}


/** Styling of the select box */
.selectbox {
	position: relative; 
	display: inline-block;
	*display: inline; 
	zoom: 1;
	border: 1px solid #aeaeae;
	background: white;  
	border-radius: 7px;
	border: 1px solid #c7c7c7;  
	width: 100%;
	height: 40px;
}

.selectbox select {
	z-index: 10; 
	position: relative;
	border: none; 
	background: none; 
	outline: none; 
	opacity: 0;
	height: 40px;
	-webkit-appearance: none; 
	filter: alpha(opacity=0);
}

.selecttext {
	z-index: 9;
	position: absolute;
	left: 0px;
	padding-left: 20px;
	padding-right: 28px;
	display: inline-block;
	*display: inline; 
	zoom: 1;
	padding-top: 10px;
	background: transparent;
	color: #666;
	width: 100%;
	text-align: left;
}

.selecttext .directionindicator{
	color: #999999;
}

.select-arrow {
	background: url(../img/caret.png) no-repeat 50% 50%;
	position: absolute;
	display: inline-block;
	*display: inline;
	zoom: 1;
	height: 100%;
	width: 26px;
	top: 0;
	right: 0;
	border-left: 1px solid #c7c7c7;  
}


@media screen and (max-width: 430px) {
	#header h1{
		font-size: 40px;
		line-height: 45px;
	}

	#footer{
		padding-top: 30px;
	}

	div.socialbutton{
		display: block;
		margin: 0 auto;
	}		
	
}


/** Cookie consent */

p.cc_message {
	width: 200px;
}

.cc_container a.cc_btn{
	background-color: #ccc;
}
