/* RESET */
html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}del,ins{text-decoration:none;}

/* GENERAL */
body,html { height:100%;  }
body * { background-repeat:no-repeat; }
body {  color:white; font-size:11px; font-family:arial; background-color:#010101 !important;  }
/* LAYOUT */
body #wrapper { margin:0 auto; height:750px; background-image:url(../img/bg/body.jpg); background-position:center bottom; background-repeat:no-repeat; }
body #main { width:1002px; height:614px; background-image:url(../img/bg/main.png); position:relative; margin: 0 auto; }
* html #main { behavior: url("http://www.gillette.com/promotions/phenom/ro-RO/resources/js/iepngfix.htc") }

body div.container { width:1002px; margin:0 auto; }
body div.container .logo { margin-left:30px; margin-top:40px; }
* html body div.container .logo  { behavior: url("http://www.gillette.com/promotions/phenom/ro-RO/resources/js/iepngfix.htc") }

body#homepage #main .partners { float:left; margin-top:-100px; margin-left:360px; position:relative; top:150px; text-align:center; }
* html body#homepage #main .partners { margin-left:180px; }
* html body#homepage #main .partners img { behavior: url("http://www.gillette.com/promotions/phenom/ro-RO/resources/js/iepngfix.htc") }

body#homepage #main #logo { position:absolute; top:30px; left:-60px; float:left; z-index:9; }
body #main .motto { margin-top:160px; margin-left:47px; margin-bottom:10px; }
body #main #facebook { position:absolute; top:0; right:0; width:140px; }

ul.pics { width:330px; overflow:hidden; margin-bottom:10px; }
ul.pics li { float:left; margin-right:10px; margin-bottom:10px; }
body#location ul.pics { width:400px; }
body#location ul.pics li { margin-right:20px; margin-top:10px; }

#regulament p { margin-bottom:10px; }
#regulament h1 { font-size:20px; margin-bottom:10px; font-weight:bold; }
#regulament h2 { font-size:16px; margin-bottom:10px; font-weight:bold; }
#regulament ul { margin-bottom:10px; }
#regulament ol { margin-bottom:10px; }
#regulament ul li { margin-left:15px; list-style:square; }
#regulament ul.cities li { margin-bottom:10px; }
#regulament ul.cities li p { margin:0; }

body#homepage #main #primary { margin-left:60px; width:450px; float:left; }
* html body#homepage #main #primary { margin-left:28px; }
body#homepage #main #primary p.intro { background-image:url(../img/bullets/bullet.png); background-position:0 4px; padding-left:15px; margin-left:-15px; margin-bottom:0; }
body#homepage #main .motto { margin-top:160px; margin-left:47px; margin-bottom:0px; }
body#homepage #main #primary #buttons { width:502px; height:127px; background-image:url(../img/bg/buttons3.png); margin-left:-40px; margin-top:10px;  }
* html body#homepage #main #primary #buttons { behavior: url("http://www.gillette.com/promotions/phenom/ro-RO/resources/js/iepngfix.htc")  }
body#homepage #main #primary #buttons a { display:block; width:200px; height:100px; margin-right:26px; float:left; margin-bottom:10px; text-decoration:none; }
body#homepage #main #primary #buttons a.btn1 { margin-left:50px; margin-top:14px; }
* html body#homepage #main #primary #buttons a.btn1 { margin-left:25px; }
body#homepage #main #primary #buttons a.btn2 { margin-top:14px; }
body#homepage #main #primary #buttons a.btn3 { margin-left:50px;  }
* html body#homepage #main #primary #buttons a.btn3 { margin-left:25px; margin-right:0; }
* html body#homepage #main #primary #buttons a.btn4 { margin-left:0; margin-right:0; margin-left:25px; }

body#homepage #main #secondary { width:315px; height:520px; float:right; margin-right:150px; background-image:url(../img/bg/secondary2.jpg); background-position:right bottom; }
* html body#homepage #main #secondary { margin-right:75px; }
body#homepage #main #secondary a { display:block; width:315px; height:520px; text-decoration:none; }

body.secondary #main #logo { left:-65px; position:absolute; top:75px; }
* html body #main #logo { behavior: url("http://www.gillette.com/promotions/phenom/ro-RO/resources/js/iepngfix.htc") }
body.secondary #main .motto { margin-top:150px; margin-left:51px; }
* html #main .motto { behavior: url("http://www.gillette.com/promotions/phenom/ro-RO/resources/js/iepngfix.htc") }
body.secondary #main { background-image: url(../img/bg/main-secondary.png); }
body.secondary #main #primary { margin-left:55px; float:left; height:200px; width:330px; height:200px; overflow:auto; }
body.secondary #main #primary p { width:300px; margin-bottom:10px; }
body.secondary #main #primary .highlighted { color:#ff8a00; margin-bottom:10px; }
body.secondary #main .heading { background-image:url(../img/bullets/bullet.png); padding-left:15px; background-position:0 3px; font-weight:bold; text-transform:uppercase; color:#ff8a00; }
* html body.secondary #main .heading { behavior: url("http://www.gillette.com/promotions/phenom/ro-RO/resources/js/iepngfix.htc") }
body.secondary #main #nav { margin-left:40px; margin-top:10px; float:left; overflow:hidden; background-image:url(../img/bg/nav.png); background-position:center bottom; }
* html body.secondary #main #nav { margin-left:20px; behavior: url("http://www.gillette.com/promotions/phenom/ro-RO/resources/js/iepngfix.htc") }
body.secondary #main #nav li { float:left; }
body.secondary #main #nav li a { color:white; text-decoration:none; width:132px; height:35px; padding-top:10px; background-image:url(../img/buttons/nav.jpg); text-align:center; display:block; }
body.secondary #main #nav li.selected { background-image:none; }
body.secondary #main #nav li.selected a { background-image:url(../img/buttons/nav2.jpg); position:relative; height:37px; padding-top:8px; background-position:center bottom; color:#fc9003; }
body.secondary #main #secondary { width:450px; margin-top:20px; height:368px; float:right; margin-right:150px; background-image:url(../img/bg/corner2.png); background-position: right bottom; position:relative; }
* html body.secondary #main #secondary { behavior: url("http://www.gillette.com/promotions/phenom/ro-RO/resources/js/iepngfix.htc") }
body.secondary #main #secondary #countdown { width:347px; padding-left:13px; height:27px; padding-top:11px; background-image:url(../img/bg/countdown.png); margin-left:-10px; color:#fc8902; }
body.secondary #main #secondary #countdown span.distance { background-image:url(../img/bg/distance.jpg); display:inline-block; width:78px; text-align:center; color:#0d213c; font-weight:bold;  }
body.secondary #main #secondary .map { margin-left:-11px; }
body.secondary #main #secondary .city { font-weight:bold; text-transform:uppercase; margin-left:15px; }
body.secondary #main #secondary ul.details { width:200px; }
body.secondary #main #secondary ul.details li { margin-left:15px; list-style:square; }
body.secondary #main #secondary a.tshirt { width:200px; height:100px; position:absolute; right:0; bottom:0; }
body.secondary #main #secondary div.position { float:right; width:100px; color:#ff9000; margin-top:17px; margin-right:3px; }
body.secondary #main #secondary div.position p { border-bottom:solid 1px #ff9000; padding-bottom:3px; padding-top:3px; }
body.secondary #main #secondary div.position p.first { border-top:solid 1px #ff9000; }
body.secondary #main #secondary div.position p span.value { font-weight:bold; color:white; font-size:14px; }

body.secondary ul.links { clear:left; float:left; margin-top:15px; margin-left:30px; width:820px; }
* html body.secondary ul.links { margin-left:15px; }
body.secondary ul.links li { float:left; margin-left:10px; color:white; }
* html body.secondary ul.links li { margin-left:5px; }
body.secondary ul.links li a { display:block; width:195px; height:52px; padding-top:8px; text-align:center; color:white; text-decoration:none; }
body.secondary ul.links li a .distance { display:block; width:138px; height:27px; background-image:url(../img/bg/distance2.jpg); color:#1e375d; font-size:20px; margin-left:25px; }
* html body.secondary ul.links li a img { behavior: url("http://www.gillette.com/promotions/phenom/ro-RO/resources/js/iepngfix.htc") }

#footer { width:970px; padding-left:30px; margin:0 auto; clear:left; }
#footer .right { float:left; }
#footer div.options { float:right; }
#footer div.options a { float:right; clear:right; }

#aviz a { color:white; }

body#tshirt #main #logo { left:15px; position:absolute; top:60px; }
body#tshirt #main #primary { margin-top:80px; margin-left:45px;  height:300px; width:380px; }
* html body#tshirt #main #primary { margin-left:20px; }
body#tshirt #main #primary p { width:350px;  }

* html body#tshirt #main #primary div.register { behavior: url("http://www.gillette.com/promotions/phenom/ro-RO/resources/js/iepngfix.htc") }
body#tshirt #main #primary div.register a.register { float:right; }
body#tshirt #main #primary div.register a.link { display:block; width:100px; float:left; color:white; text-decoration:none; margin-bottom:10px; margin-top:5px; }
body#tshirt #main #primary .highlighted { clear:left; }
body#tshirt #main #secondary { width:420px; background-image:none; }
* html body#tshirt #main #secondary { margin-right:75px; }

#main div.popup { padding-left:130px; display:none; width:640px; padding-right:30px; height:539px; padding-top:160px; background-image:url(../img/bg/form.png); disxplay:none; top:-50px; left:50px; position:absolute; z-index:999; }
#main div.popup .close { float:right; margin-right:40px; margin-top:-100px; }
#main div.popup .wrapper { width:610px; height:450px; overflow:auto; }

#main a.button { width:200px; height:28px; color:#132547; text-decoration:none; margin-bottom:0; padding-top:19px; background-image:url(../img/buttons/button.png); display:block; text-align:center; }
* html #main a.button { behavior: url("http://www.gillette.com/promotions/phenom/ro-RO/resources/js/iepngfix.htc") }
#main div.options { float:right; margin-top:-10px; margin-left:10px; }
* html #main div.options { margin:0; float:none;  }

body#location #main #logo { margin-left:85px; margin-bottom:0; margin-top:-15px; }
body#location #main #primary { margin-top:190px; height:190px; margin-left:50px; width:360px; }
* html body#location #main #primary { margin-left: 25px; }
body#location #main #primary table tr.heading { background-image:none; }
body#location #main #primary table tr.heading td { color:#ff8a00; font-weight:bold;}
body#location #main #primary table tr td { padding-left:10px; padding-bottom:5px; padding-top:5px; border-bottom:dotted 1px white; }
body#location #main #primary table tr td.date { padding-left:0px; color:#ff8a00; }
body#location #main #secondary { background-image:none; width:420px; margin-top:0px; height:380px; }
* html body#location #main #secondary { margin-right:75px; }
body#location #main #secondary p.distance { background-image:url(../img/bg/countdown2.png); height:22px; padding-top:7px; width:385px; padding-left:10px; color:#fc8902; margin-bottom:10px; }
* html body#location #main #secondary p.distance { behavior: url("http://www.gillette.com/promotions/phenom/ro-RO/resources/js/iepngfix.htc")  }
body#location #main #secondary p.distance .value { width:92px; height:14px; padding-top:1px; color:#0d213c; margin-left:10px; margin-right:10px; text-align:center; display:inline-block; font-weight:bold; background-image:url(../img/bg/distance3.jpg); }
body#location #main ul.links { margin-top:20px }
body#location #main #secondary .map { margin-left:-10px !important; }


#main #form { padding-left:130px; width:640px; padding-right:30px; height:539px; padding-top:160px; background-image:url(../img/bg/form.png); display:none; top:-50px; left:50px; position:absolute; z-index:999; }
#main #form a.close { float:right; margin-right:32px; margin-top:-120px; }
#main #form .wrapper { height:500px; width:630px; overflow:auto; margin-left:-15px; float:left; }
* html #main #form { behavior: url("http://proximitydev.ro/resources/js/iepngfix.htc"); z-index:99999; position:static; margin-top:-680px; margin-left:-150px; }
#main #form img.motto { margin-left:5px; margin-bottom:10px; margin-top:0; }
* html #main #form img.motto { behavior: url("http://proximitydev.ro/resources/js/iepngfix.htc")  }
#main #form .intro { background-image:url(../img/bullets/heading.png); background-position:left 3px; padding-left:19px; margin-left:-9px; width:600px; }
* html #main #form .intro { background-image:none; }

#main #form form fieldset p { height:23px; padding-top:9px; width:286px; background-image:url(../img/bg/input-large.png); float:left; margin-left:10px; margin-bottom:5px; }
* html #main #form form fieldset p { background-image:none; }
#main #form form fieldset p label { color:#fc8902; font-size:14px; font-style:italic; margin-right:10px; margin-left:10px; width:100px; display:block; float:left; }
* html #main #form form fieldset p label { margin-left:5px; margin-right:5px; }
#main #form form fieldset p input.text { width:150px; color:rgb(50,50,50); }
#main #form form fieldset div.small label { display:inline; width:auto; }
#main #form form fieldset div.small p { width:138px; background-image:url(../img/bg/input-small.png); }
#main #form form fieldset div.small p input.text { width:40px; }
#main #form form fieldset div.medium label { display:inline; width:auto; }
#main #form form fieldset div.medium p { width:202px; background-image:url(../img/bg/input-medium.png); }
#main #form form fieldset div.medium p input { width:120px; }
#main #form form fieldset p.desc { width:580px; background-image:none; margin-bottom:10px; clear:left; w}
#main #form form fieldset p.options { background-image:none; width:auto; text-align:center; margin-top:20px; float:left; width:600px; }
#main #form form fieldset p.options input { background-color:transparent; border: none; width:120px; height:41px; }
* html #main #form form fieldset p.options input { behavior: url("http://proximitydev.ro/resources/js/iepngfix.htc"); }
#main #form form fieldset p.options input.cancel { background-image:url(../img/buttons/cancel.png); margin-right:10px; }
#main #form form fieldset p.options input.submit { background-image:url(../img/buttons/submit.png); }
#main #form form fieldset .approval { background-image:none; width:600px; text-align:justify; margin-bottom:20px; height:auto; overflow:hidden; }
#main #form form fieldset .approval label { width:540px; float:left; color:white; font-size:11px; }
#main #form form fieldset .approval input { float:left; }
#main #form form fieldset .wide { width:560px; background-image:none; border-bottom:solid 1px white; }
#main #form form fieldset .wide label { width:300px; }
#main #form form fieldset .wide select { float:right; width:200px; }
#main #form form #form-error { display:none; color:red; background-image:none; width:auto; clear:left; float:left; margin-top:10px; background-color:red; color:white; padding:5px; display:block; height:auto; font-weight:bold; text-align:center; width:580px; }
#main #form form #approval-error { display:none; color:red; background-image:none; width:auto; clear:left; float:left; margin-top:10px; background-color:red; color:white; padding:5px; display:block; height:auto; font-weight:bold; text-align:center; width:580px; }
#main #form form #rules-error { display:none; color:red; background-image:none; width:auto; clear:left; float:left; margin-top:10px; background-color:red; color:white; padding:5px; display:block; height:auto; font-weight:bold; text-align:center; width:580px; }
#main #form form #email-error { display:none; color:red; background-image:none; width:auto; clear:left; float:left; margin-top:10px; background-color:red; color:white; padding:5px; display:block; height:auto; font-weight:bold; text-align:center; width:580px; }

* html body#tur #main #secondary { margin-right:75px !important; behavior: url("http://proximitydev.ro/resources/js/iepngfix.htc"); }
* html body#tur #main #primary { margin-left:22px !important; }
body#tur #main #primary a.button { margin-left:0px !important; position:relative; }
