/* --------------------------------------------------------------------------------------------------------------------------------------------------
RESET & HTML ELEMENTS
-------------------------------------------------------------------------------------------------------------------------------------------------- */

blockquote, body, button, code, dd, div, dl, dt, fieldset, form, h1, h2, h3, h4, h5, h6, img, legend, li, ol, p, pre, td, th, ul {margin:0; padding:0; border:0; vertical-align:baseline;}
address, blockquote, dl, fieldset, form, h1, h2, h3, h4, h5, h6, ol, p, table, ul {margin:15px 0;}
body {background:url("../design/bg.png") 0 0 repeat-x; font:0.8em/1.6 "arial", sans-serif;}
a {text-decoration:none;}
h1 {font-size:300%; line-height:1;}
h2 {font-size:200%;}
h3 {font-size:160%;}
h4, h5, h6 {font-size:120%;}
form ul {list-style:none;}
form li {display:block; padding-bottom:7px;}
form li label {display:block; padding-bottom:3px;}
input, select, textarea {font-size:100%; font-family:"arial",sans-serif;}
table.table {border-collapse:collapse; border-spacing:0;}
table.table th, table.table td {padding:7px 10px;}
table.table th {font-weight:bold;}
ul.ul {margin-left:20px; list-style:none;}
ul.ul li {padding-left:15px; background:url("../design/ul.gif") 0 5px no-repeat;}
ul.ul ul {margin:0 0 0 20px; list-style:none;}
img.f-left {margin-right:15px;}
img.f-right {margin-left:15px;}

/* --------------------------------------------------------------------------------------------------------------------------------------------------
LAYOUT
-------------------------------------------------------------------------------------------------------------------------------------------------- */

#main {width:960px; margin:0 auto;}
#header {position:relative; height:150px; overflow:hidden;}
#header a {border:0;}
#header #logo {position:absolute; top:45px; left:0; margin:0;}
#header #nav {position:absolute; top:58px; right:10px; margin:0; list-style-type:none;}
#header #nav li {display:inline; margin:0; padding:0;}
#header #nav a {float:left;	margin-left:7px; padding-left:17px; background:url("../design/nav-l.png") 0 -35px no-repeat; text-decoration:none;}
#header #nav a span {float:left; display:block; padding-right:17px; background:url("../design/nav-r.png") 100% -35px no-repeat; line-height:35px;}
#header #nav a:hover {background-position:0 -70px;}
#header #nav a:hover span {background-position:100% -70px;}
#header #nav .current a {background-position:0 0; font-weight:bold;}
#header #nav .current a span {background-position:100% 0;}
#section #nav-icons {position:relative;}
#section #nav-icons a {margin-left:7px; }
#title {margin:0; padding:25px 25px 45px 25px; background:url("../design/section.png") 0 100% no-repeat;}
#section {overflow:hidden; margin:0 0 30px 0; padding:5px 25px 0 25px; background:url("../design/hp-section.png") 575px 0 repeat-y;}
#section2 {overflow:hidden; margin:0 0 30px 0; padding:5px 25px 0 25px;}
#content {float:left; width:525px; overflow:hidden; text-align:justify;}
#content2 {float:left; width:855px; overflow:hidden; text-align:justify;}
#content2 #nav-icons a {margin-left:10px;}
#aside {float:right; width:330px; overflow:hidden;}
#contact {padding:15px 0;}
#content address {margin:0; font-style:normal;}
#content address span {margin:0 3px;}
#footer {padding:15px 0 30px 0;}
#footer p {margin:0;}

/* --------------------------------------------------------------------------------------------------------------------------------------------------
PAGE: HOMEPAGE (body#hp)
-------------------------------------------------------------------------------------------------------------------------------------------------- */

#hp #section {margin:30px 0; padding:0; background:url("../design/hp-section.png") 600px 0 repeat-y;}
#hp #content {float:left; width:570px; overflow:hidden;}
#hp #aside {float:right; width:330px; overflow:hidden;}
#welcome {position:relative; height:380px; overflow:hidden; background:url("../design/welcome.png") 0 0 no-repeat;}
#welcome #imac {position:absolute; top:30px; right:0; width:398px; height:330px; overflow:hidden; background:url("../design/imac.png") 0 0 no-repeat;}
#welcome #imac #slider {position:relative; top:13px; left:14px; width:371px; height:211px; overflow:hidden; margin:0;}
#welcome #welcome-inner {position:absolute; top:0; left:0; width:515px; padding:45px 0 0 0;}
#welcome #welcome-inner h2 {margin:0; font-size:260%; line-height:1.1; letter-spacing:-1px;}
#welcome #twitter {position:absolute; top:255px; left:0; width:515px; background:url("../design/twitter.png") 0 50% no-repeat; font-size:85%;}
#welcome #twitter ul {margin:50px 0 0 75px; list-style:none;}
.products {margin:15px 0; list-style:none;}
.products li {padding:15px 0;}
.products li.last {border:0;}
.products .products-img {float:left; width:160px; height:120px;}
.products .products-img img {width:160px; height:120px; border:1px solid #E8E8E8;}
.products .products-desc {float:right; width:390px;}
.products .products-desc h3 {margin:0 0 10px 0; font-size:140%;}
.products .products-desc p {margin:0;}
.articles {margin:15px 0; list-style:none;}
.articles li {padding:15px 0 15px 50px; background:url("../design/articles.png") 0 10px no-repeat;}
.articles li.last {border:0;}
.articles li h3 {margin:0; font-size:110%;}
.articles li p {margin:0;margin-bottom:10px}

.downloads {margin:15px 0; list-style:none;}
.downloads li {padding:10px 0;}
.downloads li.last {border:0;}
.downloads .downloads-img {float:left; width:160px; height:120px;}
.downloads .downloads-img img {width:160px; height:120px; border:1px solid #E8E8E8;}
.downloads .downloads-desc {float:left; width:450px;}
.downloads .downloads-desc h3 {margin:0 0 10px 20px; font-size:140%;}
.downloads .downloads-desc p {margin:0 0 10px 20px;}
.downloads .downloads-desc ul {margin:0 0 10px 50px;}

/* --------------------------------------------------------------------------------------------------------------------------------------------------
PAGE: SUBPAGE
-------------------------------------------------------------------------------------------------------------------------------------------------- */

.gallery li {display:block; float:left; margin-right:10px; width:168px;}
.gallery li.last {margin:0;}
.sponsors {margin:0; list-style:none; font-size:85%;}
.sponsors li {padding:10px 0;}
.sponsors li a {font-size:115%;}
.manual-menu li {display:block; float:left; margin-right:10px; width:150px;}
.manual-menu li.last {margin:0;}

/* --------------------------------------------------------------------------------------------------------------------------------------------------
OTHERS
-------------------------------------------------------------------------------------------------------------------------------------------------- */

.box {min-height:1px; _height:1%;}
.box:after {display:block; visibility:hidden; clear:both; line-height:0; font-size:0; content:".";}
.fix {float:none; clear:both; width:0; height:0; margin:0; padding:0; border:0; line-height:0; font-size:0;}
.f-left {float:left !important;}
.f-right {float:right !important;}
.t-left {text-align:left !important;}
.t-center {text-align:center !important;}
.t-right {text-align:right !important;}
.t-justify {text-align:justify !important;}
.va-top {vertical-align:top !important;}
.va-middle {vertical-align:middle !important;}
.va-bottom {vertical-align:bottom !important;}
.nom {margin:0 !important;}
.nomt {margin-top:0 !important;}
.nomb {margin-bottom:0 !important;}
.hidden {position:absolute; left:-1000em; top:auto; width:1px; height:1px; overflow:hidden;}
.noscreen {display:none;}
.smaller {font-size:85%;}
.input-text {padding:5px;}
.input-submit {padding:3px;}

#svg-icon {
    vertical-align: middle;
    display: block;
        margin-left: auto;
        margin-right: auto;
}

.imgBorder {
  background-color: white;
  box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
  -moz-box-shadow: 0 1px 2px rgba(34,25,25,0.4);
  -webkit-box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
}

/*TABLE*/

table {
    overflow:hidden;
    border:1px solid #d3d3d3;
    background:#fefefe;
    width:100%;
    margin:2% auto 0;
    -moz-border-radius:5px; /* FF1+ */
    -webkit-border-radius:5px; /* Saf3-4 */
    border-radius:5px;
    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

th, td {padding:18px 28px 18px; text-align:center; }

th {padding-top:22px; text-shadow: 1px 1px 1px #fff; background:#e8eaeb;}

td {border-top:1px solid #e0e0e0; border-right:1px solid #e0e0e0;}

tr.odd-row td {background:#f6f6f6;}

td.first, th.first {text-align:left}

td.last {border-right:none;}

/*
Background gradients are completely unnecessary but a neat effect.
*/

td {
    background: -moz-linear-gradient(100% 25% 90deg, #fefefe, #f9f9f9);
    background: -webkit-gradient(linear, 0% 0%, 0% 25%, from(#f9f9f9), to(#fefefe));
}

tr.odd-row td {
    background: -moz-linear-gradient(100% 25% 90deg, #f6f6f6, #f1f1f1);
    background: -webkit-gradient(linear, 0% 0%, 0% 25%, from(#f1f1f1), to(#f6f6f6));
}

th {
    background: -moz-linear-gradient(100% 20% 90deg, #e8eaeb, #ededed);
    background: -webkit-gradient(linear, 0% 0%, 0% 20%, from(#ededed), to(#e8eaeb));
}

/*
I know this is annoying, but we need additional styling so webkit will recognize rounded corners on background elements.
Nice write up of this issue: http://www.onenaught.com/posts/266/css-inner-elements-breaking-border-radius

And, since we've applied the background colors to td/th element because of IE, Gecko browsers also need it.
*/

tr:first-child th.first {
    -moz-border-radius-topleft:5px;
    -webkit-border-top-left-radius:5px; /* Saf3-4 */
}

tr:first-child th.last {
    -moz-border-radius-topright:5px;
    -webkit-border-top-right-radius:5px; /* Saf3-4 */
}

tr:last-child td.first {
    -moz-border-radius-bottomleft:5px;
    -webkit-border-bottom-left-radius:5px; /* Saf3-4 */
}

tr:last-child td.last {
    -moz-border-radius-bottomright:5px;
    -webkit-border-bottom-right-radius:5px; /* Saf3-4 */
}