@import url(http://fonts.googleapis.com/css?family=Oleo+Script+Swash+Caps:400,700);
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);
 

/* basic */
* {padding: 0; margin: 0;}
html {-webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; font-smooth: always; -webkit-font-smoothing: subpixel-antialiased;}
body {font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 400; color: #fff; background: url(../images/bg-body.gif) repeat;}
a img {border: none;}
table {border-collapse: collapse;}

/* typography */
h1, h2 {font-family: 'Oleo Script Swash Caps', cursive; font-weight: 400; text-align: center; text-shadow: 1px 1px 3px #334;}
h1 {font-size: 40px; padding-bottom: 20px; margin-bottom: 40px; color: #e7d8c6; border-bottom: 1px dashed #5f5e3b;}
h2 {font-size: 30px; margin-bottom: 20px; color: #d8e7c6;}
p {line-height: 1.5em; margin-bottom: 1em;}
strong {font-weight: 700;}
a {text-decoration: underline; color: #d8e7c6;}
a:hover {text-decoration: none; color: #e7d8c6;}
input, textarea, select, button {font-family: 'Open Sans', sans-serif; font-weight: 400; font-size: 16px; color: #27343c;}

/*** cleaners ***/
.clear {clear: both; height: 0px; margin-top: 0px; line-height: 0px;}
.clearfix:before, .clearfix:after {content: ""; display: table;}
.clearfix:after {clear: both;}
.clearfix {*zoom: 1;}

/* layout */
#wrapper {background: url(../images/bg-light.png) top center no-repeat;}

#convertor-box {width: 96%; max-width: 1200px; padding: 40px 0; margin: 0 auto 40px auto; border-bottom: 1px dashed #5f5e3b;}
#convertor-box label {display: block; width: 480px; margin: 0 auto 10px auto;}
#convertor-box label span {display: inline-block; width: 140px; text-align: right; padding-right: 10px}
#convertor-box label input {width: 296px; padding: 5px 10px; margin: 0; border: 4px solid #5d869e; border-radius: 5px; box-shadow: inset 0 0 3px #999;}
#convertor-box label.total input {font-weight: bold; background-color: #f7e8d6;}
#convertor-box label.total-tva input {font-weight: bold; background-color: #e8f7d6;}
#convertor-box label.tva input {font-weight: bold; background-color: #f7e8d6;}
#convertor-box label select {width: 100px; padding: 5px; margin: 0; border: 4px solid #5d869e; border-radius: 5px; box-shadow: inset 0 0 3px #999;}
#convertor-box button {display: block; padding: 10px 35px; margin: 0 auto; text-transform: uppercase; color: #e7d8c6; background: #0c2534; border: none; border-radius: 5px; text-shadow: 1px 1px 1px #334; cursor: pointer;}

.like-me {width: 96%; max-width: 1200px; padding: 0 0 40px 0; margin: 0 auto 40px auto; text-align: center; border-bottom: 1px dashed #5f5e3b;}
.fb_iframe_widget > span {display: block; margin: 0 auto;}

.cursuri {width: 96%; max-width: 1200px; padding-bottom: 40px; margin: 0 auto 40px auto; border-bottom: 1px dashed #5f5e3b;}
.cursuri table {width: 100%; max-width: 960px; margin: 0 auto; background-color: rgba(255,255,255,0.05);}
.cursuri table td {width: 25%; padding: 10px; border-bottom: 1px solid #2a4352; border-top: 1px solid #2a4352;}
.cursuri table td:first-child {padding-left: 75px; color: #e7d8c6;}
.cursuri table td:first-child + td + td {color: #d8e7c6;}
.cursuri table td.vEUR {background: url(../images/european-union.png) 10px 50% no-repeat;}
.cursuri table td.vUSD {background: url(../images/united-states.png) 10px 50% no-repeat;}
.cursuri table td.vCHF {background: url(../images/switzerland.png) 10px 50% no-repeat;}
.cursuri table td.vGBP {background: url(../images/united-kindom.png) 10px 50% no-repeat;}
.cursuri table td + td + td {text-align: right;}
.cursuri table td.poz {padding-right: 58px; background: url(../images/arrow_up_48.png) 100% 50% no-repeat;}
.cursuri table td.neg {padding-right: 58px; background: url(../images/arrow_down_48.png) 100% 50% no-repeat;}
.cursuri table td.zero {padding-right: 58px; background: url(../images/arrow_lr_48.png) 100% 50% no-repeat;}

.grafx-box {width: 96%; max-width: 1200px; padding-bottom: 40px; margin: 0 auto 40px auto; border-bottom: 1px dashed #5f5e3b;}
.grafx-box > div {width: 47%; border: 10px solid #fff; background: #fff; border-radius: 9px; box-shadow: 0 0 10px #223; float: left;}
.grafx-box > div + div {float: right;}

#copy {text-align: center; font-size: 12px; color: #e7d8c6;}

@media only screen and (max-width: 800px) {
	body {background: #2a4352 none;}
	.grafx-box > div, .grafx-box > div + div {width: 90%; margin: 0 auto 10px auto; float: none;}
}
@media only screen and (max-width: 520px) {
	#convertor-box label {width: 320px;}
	#convertor-box label span {width: 130px;}
	#convertor-box label input {width: 150px; padding: 5px 10px; margin: 0; border: 4px solid #5d869e; border-radius: 5px; box-shadow: inset 0 0 3px #999;}
}
@media only screen and (max-width: 480px) {
	.cursuri table td:first-child {padding-left: 0;}
	.cursuri table td.vEUR, .cursuri table td.vUSD, .cursuri table td.vCHF, .cursuri table td.vGBP {background: none;}
	.cursuri table td.poz, .cursuri table td.neg, .cursuri table td.zero {padding-right: 0; background: none;}
}
