/* Based on Justin French blog article */

/* TYPOGRAPHY
--------------------------------------------------------------------------------------------------*/
body                  { background:white; color:#000; font-family: arial; margin: 0;}
h1,h2,h3,h4,h5,h6,p,pre,table,blockquote
                      { margin:0 0 1em 0; padding:0; }
h1,h2,h3,h4,h5,h6     { margin-bottom:.5em; }

del                   { text-decoration: line-through; }
ins                   { text-decoration: none; }


/* LISTS
--------------------------------------------------------------------------------------------------*/
ul                    { margin:0; padding:0; padding-left:2em; margin-bottom:1em; }
li                    { margin:0; padding:0;}
ol                    { margin:0; padding:0; padding-left:2em; margin-bottom:1em; }
ol li                 { margin:0; padding:0; }
ol ol                 { margin-bottom:0; list-style:lower-roman; }
ol ol li              { list-style-type:lower-roman; }
ul, ol, dl            { position: relative;  } /*#ie repainting bug fix*/


/* IMAGES
--------------------------------------------------------------------------------------------------*/
a img                 { border:none; }


/* LINKS
--------------------------------------------------------------------------------------------------*/


/* TABLES
--------------------------------------------------------------------------------------------------*/


/* FORMS
--------------------------------------------------------------------------------------------------*/

form                  { margin:0; padding:0; margin-bottom:1em;  }
fieldset              { margin:0; padding:0; margin-bottom:2.5em; border:0; }
input,textarea,select { font-family:arial, sans-serif; font-size:1.2em;
                        padding: .2em .2em .1em .2em;}



div.fieldWithErrors   { display:inline; }
input.full,
textarea.full,
select.full           { display:block; width:99%; position:static;}
.item label           { display:block; }
.checkbox label       { display:inline; }

/*------------------------------------------- misc ------------------------------------------------------*/

.clear                { clear:both; height: 1px; font-size: 1px; }
.clear-left           { clear:left; height: 1px; font-size: 1px;  }
.clear-right          { clear:right; height: 1px; font-size: 1px;  }
.hide, .hidden        { display:none; }
.float-left           { float: left;  }
.float-right          { float: right; }
.strong               { font-weight: bold;}


/*===Colours===
   SolidWorks orange: #FA0
   Light green:  EFD -> DF9
   Light orange: FED -> FD9
*/

/* .left{ */
    /* float: left; */
/* } */

/* ----------------------------------------------------------------- */
html, body{
    text-align: center; /*IE 5.5 Hack*/
    color: #333;
    font-size: 96%;
}

a{
    color: #008;
    text-decoration: none;
    height: 1%;  /* ie workaround */
}

a:hover {
    text-decoration: underline;
}

/* #logo-swatts{ */
    /* float: right; */
    /* margin: 0em 0 2em 0em; */
/* } */

div#nav-band{
    border-bottom: solid 4px #fc1;
    background: #111;
}

img#ajs-header-logo{
    float: left;
    margin: 11px 0 0 0;
}

img#solidworks-header-logo{
    float: left;
    margin: 10px 0 0 70px;
}

ul.nav-0{
    margin: 0 0 0 280px; /*workaround FF bug (logo not clickable)*/
    padding: 21px 0 21px 0em;
    text-align: right;
}

ul.nav-0 li{
    display: inline;
}

ul.nav-0 a{
    padding: 19px 1em 19px 1em;
    color: #ccc;
    font-size: 1.1em;
}

ul.nav-0 a:hover, ul.nav-0 a.current{
    text-decoration: none;
    color: yellow;
    background: #111;
}

ul.nav-0 a.current{
    font-weight: bold;
}

ul.nav-1{
    font-size: 95%;
    margin: 0;
    padding: 0px 0 10px 0em;
    text-align: right;
    border-bottom: solid 1px #ddd;
}

ul.nav-1 li{
    display: inline;
}

ul.nav-1 a{
    padding: 20px 1em 12px 1em;
    color: #888;
    font-size: 1.1em;
    text-decoration: none;
}

ul.nav-1 a:hover {
    text-decoration: none;
    padding-bottom: 13px;
    color: black;
    background: url(/images/menu_mark_top_grey.png) bottom center no-repeat;
}

ul.nav-1 a.current{
    color: black;
    padding-bottom: 12px;
    font-weight: bold;
    background: url(/images/menu_mark_top_orange.png) bottom center no-repeat;
}

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

ul.nav-2 li.header{
    color: navy;
    font: normal normal bold 1.1em/110% "arial",sans-serif;
    margin: 0;
    letter-spacing: -1px;
}

ul.nav-2 li{
    text-align: right;
}

ul.nav-2 a{
    font-size: .96em;
    display: block;
    color: #777;
    text-decoration: none;
}

ul.nav-2 a.current{
    color: black;
    background: url(/images/menu_mark_right_orange.png) no-repeat left;
    font-weight: bold;
}

ul.nav-2 a:hover{
    text-decoration: none;
    color: black;
    background: #fc1;
}

a.block{
    color: #555;
    text-decoration: none;
    display: block;
}

a.block:hover{
    text-decoration: none;
    color: black;
    background: #fc1;
}

img#frontpage-img{
    float: right;
    margin-left: 4em;
}

div#content a img{
    border: none;
    border: 1px solid white;
}

div#content div a.bezel img {
    border: 1px solid #CCF;
    border: 1px solid white;
}

div.bezel:hover {
    border: 1px solid orange;
}

div.bezel {
    border: 1px solid white;
}

div#frontpage-menu{
    text-align: center;
    font-size: 1.1em;
    margin: 0 0 2em 0;
}

div#content{
    padding-top: 1.2em;
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1.4;
    background: url(/images/header_bg.png) top repeat-x;
}

.no-margin{
    margin: 0;
}

.no-bottom-margin{
    margin-bottom: 0;
}


h1, h2, h3, legend{
    font: normal normal normal 2.2em/100% "Times",serif;
    color: navy;
}

h1{
    letter-spacing: -1px;
}

h2{
    font-size: 1.6em;
    margin-top: 1em;
    letter-spacing: -1px;
}

h3{
    font-size: 1.4em;
    margin-top: 1.5em;
}

h1#main-header{
    margin: 0;
}

#pitch {
    font-family: Verdana, Helvetica, sans-serif;
    color: #080;
    letter-spacing: 1px;
    word-spacing: 2px;
}

div#header{
    margin: 1em 0 2em 0;
}

div#body{
    /* fix ie contact map offset */
    margin: 0;
    height: 1%;
}

/* fieldset{ */
    /* margin: 0 0 2em 0; */
/* } */

/* legend{ */
    /* font-size: 1.4em; */
    /* margin: 0; */
    /* padding: 0em 0 0.3em 0; */
/* } */

#footer {
    margin: 1em 0 .7em 0em;
    border-top: solid 1px #ccc;
    clear: both;
}

img.icon-right, div.icon-right {
    float: right;
    margin: 0em 0 1em 2em; 
}

div#text-section{
    clear: both;
}

div#resource-section{
    padding-bottom: 2em;
}

ul#resources-l {
    float: left;
    width: 50%;
    margin: 0;
    padding: 0;
}

ul#resources-r {
    float: left;
    width: 42%;
    min-height: 50px;
    height:auto !important; /* fix ie7 problem with height */
    height: 50px;
    background: url(/images/icon_pdf.gif) top left no-repeat;
}

ul#resources-r li{
    margin: 0 0 0 25px;
}

ul#resources-l li{
    padding: 0 0.5em 0 1.5em;
    background: url(/images/icon_arrow.jpg) left 2px no-repeat ;
}

ul.resources li a{
    padding: 0 0 0 0.3em;
}

ul.resources{
    list-style-type: none;
}

ul.resources li {
    margin: 0;
    padding: 0;
}

a.block{
    display: block;
    padding: .05em 0 .05em 0;
    margin: 0;
    color: #555;
    text-decoration: none;
}

div.float-right{
    float: right;
}

div.float-left{
    float: left;
}

ul.resources a:hover{
    color: black;
    background: #fc1;
    text-decoration: none;
}

div.flash{
    font-size: 1.1em;
    padding: 0 1em 0 1em;
    margin: 1em 3em 3em 3em;
    text-align: center;
}

div.flash p{
    margin: 1em 0;
}

div#flash-notice{
    border: 1px solid gray;
    background: #cfc;
}

div#flash-error{
    background: #FFE5E5;
    border: solid 1px red;
    /* text-align: left; */
}

/* =errors= */

div.errorExplanation{
    color: #c33;
    font-weight: bold;
}

div.fieldWithErrors input, .invalid-input{
    border: 1px solid red;
    background: #ffe5e5;
    display: inline;
}

/* === frontpage === */

/* .right{ text-align: right;} */
/* .center{ text-align: center; */
/* } */

.skip{
    display: none;
}

.clear-both{
    clear: both;
}

div#mainbar {
    float:left;
    overflow:hidden;
    width:76%;
}

body.formations div#mainbar{
    width:70%;
}

body.formations div#sidebar{
    width:26%;
}

body.agences div#sidebar {
    width: 14%;
}

body.agences div#mainbar {
    width: 85%;
}

form.map input{
    font-size: 1em;
}

input#fromAddress{
    width: 9em;
}

form.map{
    margin: 0 0 .5em 0;
    padding: 0.9em 0 0 0;
    font: normal normal normal 160%/120% "arial",serif;
    float: left;
}

form.map label{
    float: left;
    color: navy;
    margin: 0.23em 0.5em 0 0;
}

form.map input{
    float: left;
}

form.map input.submit{
    font-size: 95%;
    margin: 0 0 0 .5em;
}

div#map-wrapper{
    clear: both;
}

span#direction-summary{
    float: right;
    margin: 1.2em 0 0 0em;
    font: normal normal normal 70%/100% "arial",serif;
}

div#map_canvas{
    border: 1px solid #888;
    height: 500px;
}

div#sidebar {
    text-align: right;
    border-left: solid 1px #e0e0e0;
    float:right;
    width:21%;
}

div#home-main-img{
    text-align: center;
    margin: 0 auto 2em auto;
}

div#main-headline{
    margin: 1.8em auto 2.5em auto;
    text-align: center;
}

table.bezel-table{
    width: 100%;
    text-align:center;
}

/* 
 * div#contact-panel-0{
 *     float: left;
 *     margin: 0em 12em 0em 0;
 *     text-align: center;
 * }
 * 
 * div#contact-panel-1{
 *     float: left;
 *     text-align: center;
 * }
 * 
 * div#contact-panel-2{
 *     float: right;
 *     text-align: center;
 * }
 */

.centered {
    text-align: left;
    margin:0pt auto;
    max-width: 58em;
    padding:0 10px;
}

 /* =form= */

form.req-form{
    margin: 3em 0 0 0;
}

input.field:focus{
    background: #ffa;
}

span.error-message{
    color: #c33;
    font-weight: bold;
    margin: 0 0 0 2em;
}

div.error-message{
    color: #c33;
    font-weight: bold;
    margin: 0 0 0 2em;
    margin: 0 0 0 8em;
    text-align: left;
    position: absolute;
    left: 5em;
    width: 30em;
}

form.req-form input.field {
    width: 13em;
    border: 1px solid #9ac;
}

input.error{
    border: 1px solid red;
    background: #fdc;
}

form.req-form p{
    width: 100%;
    position: relative;
}

form.req-form label{
    float: left;
    text-align: right;
    margin: 0.4em 1em 0 0;
    width: 7em;
}

label em{
    color: #c33;
    position: absolute;
    left: 16.5em;
    font-size: 1.5em;
    line-height: 0.9em;
}

form.req-form label.label-checkbox{
    position: absolute;
    left: 10em;
    width: 30em;
    text-align: left;
    margin: 0;
}

form.req-form input.submit{
    margin: 0 0 0 7.2em;
    width: 6em;
    padding: 0.2em;
}

/* =doc form= */

div#email-form{
    text-align: left;     /* required by ie workaround */
    margin: 0;
    letter-spacing: 0px;
    border: solid 1px #fc1;
    padding: 1em;
}

div#doc-form span.filename{
}

span.filesize{
    font-size: 0.8em;
    color: #888;
}

img.spinner{
    margin: 0 10px .5em 13px;
    display: inline;
}

textarea{
    height: 7em;
    width: 25em;
}

input.textfield{
    border: 1px solid #9ac;     /* override yellow field from google toolbar */
    background: white !important; /* override yellow field from google toolbar */
}

input.submit{
    font: normal normal normal 110%/100% "arial",sans serif;
    color: #333;
    /* ie7 workaround */
    width: 1;
    overflow: visible;
}

textarea.comment{
    display: none;
}

input.check-box{
    height: 1.2em;
    width: 1.2em;
    padding: 0;
}

label.inline{
    letter-spacing: 1px;
    display: block;
    padding: 0.1em 1em 0.1em 0em;
}

div.check-box-group{
    padding-left: 0.5em;
}

p.copyright{
    text-align: center;
    font-size: 0.9em;
    color: #888;
    margin: .5em 0 0 0;
}

form#new_doc_req{
    height: 380px;
}

body#pages-show-documentations_solidworks li.resource a{
    width: 69.1%;
}

body#pages-show-documentations_solidworks div#content div.centered{
    background: url(/images/documentations.jpg) no-repeat right 80px;
}

body#pages-show-documentations_solidworks div.icon-right{
    margin: 0;
}

body#pages-show-documentations_solidworks ul{
    list-style-type: none;
}

body#pages-show-solidworks_premium div.icon-right,
body#pages-show-solidworks_professionnel div.icon-right
{
    margin: 0;
}