@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic);
@import url(http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold);
/* Developed by www.devsaran.com */
/*-------------------------------------------*
/*Reset
/*-------------------------------------------*/

/* Default Style
--------------------------------*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    /*font-size:100%;*/
    vertical-align:baseline;
    background:transparent;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
    border: 1px solid #bbbbbb;
    background: #d8d8d8 url(images/quote.png) no-repeat;
    padding: 10px 5px 5px 47px;
    text-shadow: 1px 1px #fff;
    margin: 5px 0;
    border-radius: 7px;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

pre {
    background: #d8d8d8;
    text-shadow: 1px 1px #fff;
    border: 1px solid #bbbbbb;
    padding: 7px;
    margin: 5px 0;
    border-radius: 7px;
}

code {
    background: #d8d8d8;
    text-shadow: 1px 1px #fff;
    border: 1px solid #bbbbbb;
    display: block;
    padding: 7px;
    margin: 5px 0;
    border-radius: 7px;
}

ins {
    background-color:#fdfc9b;
    text-decoration:none;
}

mark {
    background-color:#fdfc9b;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

hr {
    height:1px;
    background: #9f9f9f;
    margin: 7px 0;
    border: none;
    clear: both;
    float: none;
    width: 100%;
}

input, select {
    vertical-align:middle;
}

select {
    border-radius: 4px;
    border: 1px solid #ACACAC;
    padding: 3px 4px;
}

.clear {
    clear: both;
}

.clearfix:after {
    display: block;
    visibility: hidden;
    content: ".";
    clear: both;
    text-indent: -9999px;
    height: 0;
}
.remove-margin {
    margin-right: 0 !important;
}

fieldset {
    border: 1px solid #ccc;
    margin: 0 0 1.4615em;
    padding: 1.5385em;
}

table {
    border-collapse:collapse;
    border-spacing:0;
    margin-bottom: 15px;
    width: 100%;
}

th, tr, td {
    vertical-align: middle;
}

.sticky-header th, .sticky-table th {
    border-bottom: 3px solid #ccc;
    padding-right: 1em;
    text-align: left;
}

/*-------------------------------------------*
/*Body, Common Classes &Structure
/*-------------------------------------------*/
body {
    font-size: 14px;
    line-height: 1.5em;
    color: #666666;
    font-family: 'Raleway','Open Sans', arial, serif;
    background:#ffffff;
}
.bodyPagina
{
    background-color: #ffffff;
}
a {
    text-decoration: none;
    color: #2E70B1;
    -webkit-transition: color 0.5s ease-in-out;
    -moz-transition: color 0.5s ease-in-out;
    -o-transition: color 0.5s ease-in-out;
    -ms-transition: color 0.5s ease-in-out;
    transition: color 0.5s ease-in-out;
}
a:hover {
    text-decoration: none;
    color: #B81007;
}

p {
    margin: 0 0 0.8em;
}

strong {
    font-weight: 700;
}

em {
    font-style: italic;
}
#wrap {
    padding-bottom: 50px;
    background-color: #ffffff;
    min-width: 1000px;
    min-height: 600px;
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.patuaFont {
    font-family: 'Patua One',cursive;
}
#articoloHeader {
    float: left;
    margin-left: 30px;
    margin-top: 20px;
    font-family: 'Patua One',cursive;
}
#articoloHeader a {
    color: #00BFF4;
}
.titoloArticoloHeader  {
    color: #4E606E;
    font-size: 20px;
    margin-bottom: 10px;
    display: block;
    font-family: 'Patua One',cursive;
}
#articoloWelcome {
    width: 300px;
}
.titoloWelcome {
    font-size: 48px;
    color: #333333;
    display: block;
    margin-bottom: 30px;
}
.tdPagineHome {
    padding-top: 30px;
    vertical-align: top !important;
    width: 33%;
    padding-left: 0 !important;
}
.titoloPageHome a{
    font-size: 22px;
    color: #4D5F6D;
    display: block;
    margin-bottom: 20px;
    margin-top: 20px;
}
.bodyHome {
    padding-right: 20px;
}
.bodyHome a{
    color: #999999;
    font-size: 14px;
}
#boxNews, #boxMateriale {
    background-color: #4E606E;
    width: 260px;
    height: 215px;
    padding: 20px;
    position: relative;
}
.h2BoxHome {
    color: #ffffff;
    font-size: 22px;
}
.linkHome a{
    color: #00BFF5;
    font-size: 18px;
    text-decoration: underline;
}
.bodyNewsHome a, .bodyMaterialeHome a {
    font-size: 14px;
    color: #FFFFFF;
}
.titoloNewsHome a, .titoloMaterialeHome a {
    color: #60EEFF;
    font-size: 14px;
    display: block;
    margin-top: 10px;
}
.divMaterialeHome {
    border-bottom:2px solid #71808B;
}
.divMaterialeHome:last-child {
    border:0;
}
.linkAbsoluteHome {
    position: absolute;
    left: 20px;
    bottom: 10px;
}
.imgDownloadFileHome {
    background: url('images/file-arrow.png') no-repeat center center;
    float: left;
    width: 29px;
    height: 29px;
    margin-right: 10px;
}
.navigazione a{
    text-transform: uppercase;
    color: #4E606E;
    font-size: 16px;
    font-weight: bold;
}
.divGerarchico {
    margin-top: 100px;
    width: 1000px;
    min-width: 1000px;
}
.tdGerarchico {
    vertical-align: top;
    text-align: center;
}
.tdGerarchico a {
    width: 260px;
    height: 70px;
    line-height: 1.4em;
    background-color: #D6E6F3;
    padding: 20px;
    font-size: 20px;
    color: #333333;
    text-transform: uppercase;
    word-wrap: break-word;
    margin-right: 20px;
    display: table-cell;
    vertical-align: middle;
}
.divNews {
    padding: 30px 0;
    border-bottom: 1px solid #CCCCCC;
    float: left;
    width: 100%;
}
.divNews:last-child {
    border: 0;
}
.bodyNews a {
    font-size: 14px;
    color: #333333;
}
.titoloNews a {
    text-decoration: none;
}
.imgNews {
    float:right;
    margin-left: 20px;
}
.bodyFooter {
    color: #CCCCCC;
}
#footerInt {
    border-top: 1px solid #71808B;
    padding-top: 20px;
    text-align: center;
    padding-bottom: 20px;
}
#footerInt p {
    margin: 0;
}
#footerIntAbove {
    text-align: center;
}
.mapDovesiamo {
    float: right;
    border: 1px solid #666666;
}
.h5Contatti {
    display: block;
    font-size: 20px !important;
    margin-bottom: 10px;
}
.divDoveSiamo {
    clear: both;
}
.divContatti {
    float: left;
    margin-top: 50px;
    width: 100%;
}
.webform-container-inline label {
    width: 140px;
    display: inline-block;
}
.form-submit, h4 a {
    color: #39E5FF !important;
    background-color: #4E606E !important;
    text-shadow: none !important;
    padding: 5px 50px !important;
}
h4 a {
    padding: 10px 40px !important;
}
h4 {
    margin-top: 20px;
}
.tdMateriale {
    width: 50%;
    padding-top: 20px;
}
.imgDownloadFile {
    background: url('images/download.png') no-repeat center center;
    float: left;
    width: 31px;
    height: 31px;
    margin-right: 10px;
}
.bodyMateriale a {
    font-size: 14px;
    color: #333333;
}
.footerMenuParent{
    color: #ffffff;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}
.footerMenuSub {
    color: #cccccc !important;
    font-size: 13px;
    display: block;
    word-wrap: break-word;
}
.file a{
    font-family: 'Patua One',cursive;
    color: #00bff5 !important;
    font-size: 18px;
    text-decoration: underline !important;
}
/*-------------------------------------------*
/*Headings
/*-------------------------------------------*/
h1,
h2,
h3,
h4 {
    color: #000;
    line-height: 1.5em;
    font-weight: normal;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.2em;
}
h2,.page-title {
    font-size: 48px;
    font-family: 'Patua One',cursive;
    color: #333333;
    line-height: 1em;
    margin-bottom: 10px;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 16px;
}

h3 {
    margin-top: 12px;
    margin-bottom: 8px;
}

h1 a,
h2 a,
h3 a,
h4 a {
    color: #000;
}
h5 {
    color: #4D5F6D;
    font-size: 22px;
}
h6 {
    color: #7D92A5;
    font-size: 18px;
    font-weight: normal;
}
/*-------------------------------------------*
/*Header
/*-------------------------------------------*/
#header {
    min-width: 1000px;
    min-height: 750px;
}
#headerPages {
    min-width: 1000px;
    min-height: 288px;
    background: url('images/bckHeader.jpg') no-repeat center top;
}
#intHeader {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
#logo{
    width: 230px;
    height: 190px;
    background-color: #4E606E;
    text-align: center;
    padding: 40px 10px 10px 10px;
    cursor: pointer;
    float: left;
}
#logo a {
    color: #ffffff;
}
.nomeSito {
    font-size: 48px;
}
#sloganSito {
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top:2px solid #AECDE7;
    margin-top:20px;
    padding-top:10px;
    color:#AECDE7;
    font-size:20px;
}
/*-------------------------------------------*
/*  6.  Prev & Next Navigation
/*-------------------------------------------*/
.views-slideshow-controls-text-previous{
    display: inline-block;
    width: 50px;
    height: 300px;
    background:url(images/backArrow.png) no-repeat;
    font-size: 1px;
    color: transparent;
    z-index:200;
    position: absolute;
    top: -306px;
    left:0;
}
.views-slideshow-controls-text-next{
    display: inline-block;
    width: 50px;
    height: 300px;
    background:url(images/nextArrow.png) no-repeat;
    font-size: 1px;
    color: transparent;
    z-index:200;
    position: absolute;
    top: -306px;
    left: 950px;
}
.view-slideshow .views-content-counter {
    background-color: #1E316F;
    height: 15px;
    width: 15px;
    margin-left: 5px;
    text-indent: -9999px;
    cursor: pointer;
}
.views-slideshow-controls-text-pause{
    display:none;
}
.view-slideshow .active .views-content-counter {
    background-color: #BA1D1D;
}
.views_slideshow_controls_text, .views-field-counter {
    position:relative;
}
/*-------------------------------------------*
/*  6.  Navigation
/*-------------------------------------------*/
#navigation {
    font-size: 20px;
    float: left;
    height: 210px;
    min-width: 220px;
    background-color: #60707D;
    padding: 20px 10px 10px 20px;
    font-family: 'patua one';
}

#navigation a {
    -webkit-transition: color 0.2s ease-in-out;
    -moz-transition: color 0.2s ease-in-out;
    -o-transition: color 0.2s ease-in-out;
    -ms-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
}

#reserved-menu {
    clear: both;
    margin-bottom: 40px;
    margin-top: 40px;
}
/*** ESSENTIAL Navigation Style ***/
#main-menu .menu , #main-menu .menu * {
    margin: 0;
    padding: 0;
    list-style: none;
}

#main-menu .menu {
    line-height: 1.0;
}

#main-menu .menu ul {
    position: absolute;
    top: -999em;
    width: 10em; /* left offset of submenus need to match (see below) */
}

#main-menu .menu ul li {
    width: 100%;
}

#main-menu .menu li:hover {
    visibility: inherit; /* fixes IE7 'sticky bug' */
}

#main-menu .menu a {
    display: block;
    position: relative;
}

#main-menu .menu li.first
{
    margin-left:0px;
}
#main-menu .menu li.first a {
    margin-left:0px;
}
#main-menu .menu li.last
{
    margin-right:0px;
}

#main-menu .menu li:hover ul {
    left: 0;
    top: 4em; /* match top ul list item height */
    z-index: 99;
}

#main-menu ul.menu li:hover li ul { top: -999em }
#main-menu ul.menu li li:hover ul {
    left: 10em; /* match ul width */
    top: 0;
}

#main-menu ul.menu li li:hover li ul { top: -999em }
#main-menu ul.menu li li li:hover ul {
    left: 10em; /* match ul width */
    top: 0;
}

/*** navigation skin ***/
#main-menu .menu {
    float: left;
}
#main-menu .menu a:after {
    clear: both;
    display: block;
    content: "";
    position: relative;
    width: 0;
    left: 0%;
    height: 3px;
    background: #BFD3E2;
    -webkit-transition: width 0.2s, left 0.2s;
    -moz-transition: width 0.2s, left 0.2s;
    -o-transition: width 0.2s, left 0.2s;
    transition: width 0.2s, left 0.2s;
    border-radius: 6px;
}
#main-menu .menu a:hover:after, #main-menu .menu a:focus:after {
    width: 100%;
    left: 0;
}

#main-menu .menu a{
    color: #ffffff;
    margin-top:5px;
    text-decoration: none;
    text-align: left;
    word-wrap: break-word;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#main-menu .menu a:focus,
#main-menu .menu a:hover,
#main-menu .menu a:active
{
    color: #ffffff;
}

#main-menu .menu a.active
{
    color: #ffffff;
}

#main-menu .menu a.active-trail
{
    color: #ffffff;
}

#main-menu .menu ul a:focus,
#main-menu .menu ul a:hover,
#main-menu .menu ul a:active
{
    background: #ffffff;
}

#main-menu .menu li ul
{
    border-right: 1px solid #ECECEE;
}

li.sfHover {
    color: #000;
}

#main-menu .menu li li {
    background: #EFEFEF;
    border-bottom: 1px solid #ECECEE;
}

#main-menu .menu li li li {
    background: #EFEFEF;
}

#main-menu .menu ul a {
    padding: .75em 1.2em;
}

/*** arrows **/
#main-menu .menu a.sf-with-ul {
    padding-right: 2.25em;
    min-width: 1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
    position: absolute;
    display: block;
    right: .75em;
    width: 9px;
    height: 5px;
    text-indent: -999em;
    overflow: hidden;
    /*background: url('images/arrows-down.png');*/
}

a > .sf-sub-indicator {
    /* give all except IE6 the correct values */
    top: 1.9em;
    background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}

/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
    background-position: -9px 0px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
#main-menu .menu ul .sf-sub-indicator {
    top: 1em;
    width: 5px;
    height: 9px;
    background: url('images/arrows-side.png');
}
#main-menu .menu ul a > .sf-sub-indicator {
    background-position: 0 0;
}

/* apply hovers to modern browsers */
#main-menu .menu ul a:focus > .sf-sub-indicator,
#main-menu .menu ul a:hover > .sf-sub-indicator,
#main-menu .menu ul a:active > .sf-sub-indicator,
#main-menu .menu ul li:hover > a > .sf-sub-indicator,
#main-menu .menu ul li.sfHover > a > .sf-sub-indicator {
    background-position: -5px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
    margin: 0 !important;
    border-right: none !important;
    border-bottom: none !important;
    background: url('images/shadow.png') no-repeat bottom right;
    padding: 3px !important;
}

.sf-shadow ul ul {
    padding-left: 0 !important;
}

.sf-shadow ul.sf-shadow-off {
    background: transparent;
}

/*-------------------------------------------*
/* Home Quote
/*-------------------------------------------*/
#home-quote {
    text-align: center;
    background: #F9F9F9;
    color: #666;
    /*font-size: 16px;*/
    border-top: 1px solid #EEE;
    border-bottom: 1px solid #EEE;
    padding: 20px;
}

#home-quote h2 {
    margin: 0 0 10px;
}

/*-------------------------------------------*
/* Home Highlights
/*-------------------------------------------*/
.home-highlight-box {
    float: left;
    width: 290px;
    margin-right: 25px;
    text-align: center;
}

.home-highlight-box h2 {
    /*font-size: 16px;*/
    font-weight: bold;
    margin-bottom: 12px;
}

.home-highlight-box img {
    margin-bottom: 10px;
    -moz-box-shadow: 0px 0px 5px #CCC;
    -webkit-box-shadow: 0px 0px 5px #CCC;
    box-shadow: 0px 0px 5px #CCC;
}

/*-------------------------------------------*
/* Footer
/*-------------------------------------------*/
#footer{
    clear: both;
    background:#4E606E;
    position: relative;
    z-index:1;
    padding-top: 20px;
    color:#ffffff;
    text-align: left;
    min-width: 1000px;
    min-height: 250px;
}
#footer div{
    max-width:1000px;
    margin-left: auto;
    margin-right: auto;
}
#footer div span{
    font-size: 12px;
}
#footer a{
    color:#ffffff;
}
#footer a:hover{
    color:#00BFF5;
    text-decoration: underline;
}
.region-footer .menu {
    padding-left: 0;
}
.region-footer .menu li {
    list-style-type: none !important;
    list-style-image: none;
    font-size: 15px;
    float: left;
    margin-right: 20px;
}
.region-footer h2 {
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 10px;
}
/*-------------------------------------------*
/* Front-page Slider 
/*-------------------------------------------*/
#slider {
    position: relative;
    width: 1000px;
    min-height: 410px;
}

.main_view {
    float: left;
    position: relative;
}

.window {
    overflow: hidden;
    position: relative;
    width:930px;
    height:320px;
}

.image_reel {
    position: absolute;
    top: 0;
    left: 0;
}

.image_reel img {
    float: left;
}

.paging {
    padding: 5px 0 15px 0;
    text-align: center;
    background:url(images/slide-shadow.png) center -7px no-repeat;
    z-index: 100;
}

.paging a {
    text-indent:-9999px;
    background:url(images/slide-nav-button.png) no-repeat center;
    width:14px;
    height:14px;
    display:inline-block;
    margin: 4px;
    border:none;
    outline:none;
}

.paging a.active {
    background:url(images/slide-nav-button-hover.png) no-repeat center;
    border:none;
    outline:none;
}

.paging a:hover {
    font-weight: bold;
    border:none;
    outline:none;
}

.desc {
    width:930px;
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 101;
    background: url(images/30w087b.png);
    color: #fff;
    /*font-size: 1.7em;*/
    padding: 10px;
    border-radius: 0 0 3px 0;
    -moz-border-radius: 0 0 3px 0;
    -khtml-border-radius: 0 0 3px 0;
    -webkit-border-radius: 0 0 3px 0;
}

.desc p {
    margin: 0;
}

#header {
    z-index:2;
}

#slider {
    z-index:1;
}

/*-------------------------------------------*
/*Nodes &Pages
/*-------------------------------------------*/
#post-content {
    display: inline;
    margin: 0;
}

body.sidebar-first #post-content {
    float: left;
    margin: 0;
    padding: 0;
    width: 620px;
}

.node {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #EEE;
}

#post-content h1 {
    margin-bottom: 0px;
}

.page-title {
    margin-bottom: 10px !important;
}
#breadcrumbs {
    border-bottom: 1px solid #EEE;
    padding-bottom: 5px;
    /*font-size: 11px;*/
    margin-bottom: 20px;
}
.breadcrumb a {
    font-family: 'patua one',cursive;
    font-weight: normal !important;
    letter-spacing: 1px;
}
/*-------------------------------------------*
/*Sidebar
/*-------------------------------------------*/
#sidebar {
    float: right;
    width: 260px;
}

#sidebar .block {
    margin-bottom: 30px;
}

#sidebar .block h2 {
    color: #666;
    border-bottom: 1px solid #EEE;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-weight: bold;
}

/*-------------------------------------------*
/*Copyright
/*-------------------------------------------*/
#copyright {
    border-top: 1px solid #EEE;
    padding-top: 18px;
    margin-top:10px;
    /*font-size: 12px;*/
}

.credits {
    float: right;
}

/*************************/
.submitted {
    background: #dfdddd;
    padding: 4px 9px;
    border-radius: 4px;
    color: #383838;
    text-shadow: 1px 1px #fff;
    clear: both;
    display: block;
    margin-bottom: 2px;
}

.links {
    color: #000;
    margin-top: 10px;
    font-size: 14px;
}

.links li a {
    background: #d3d1d1;
    padding: 4px 5px;
    border-radius: 4px;
    color: #383838;
    text-shadow: 1px 1px #fff;
    font-weight: normal;
}

.links li a:hover {
    color: #B81007;
}

.content ul, .content ol {
    padding-left:20px;
}

.content table {
    /*background: #ececec;
    border: 1px solid #bbbbbb;*/
}

.content th {
    /*background: #dbdbdb;
    border-right: 1px solid #c8c7c7;*/
    padding: 5px 4px;
    text-shadow: 1px 1px #fff;
}

.content td {
    /*background: #ebebeb;
    border-right: 1px solid #c8c7c7;
    border-bottom: 1px solid #c8c7c7;
    color: #747474;*/
    text-align: left;
    padding-left: 4px;
}

/*-------------------------------------------*
/* Fix CKEditor style
/*-------------------------------------------*/
#main table.cke_editor {
    background: transparent;
    border: 0;
}
#main table.cke_editor td {
    background: transparent;
    padding: 0;
    border: 0;
}

/*-------------------------------------------*
/* Poll, Buttons, Form
/*-------------------------------------------*/
.poll .vote-form .choices .title {
    /*font-size: 14px;*/
    font-weight: normal;
    line-height: 2;
}

.poll .vote-form .choices {
    margin: 0;
}

.form-submit {
    -moz-transition: all 0.2s ease-in-out 0s;
    cursor: pointer;
    border:0;
    background: none repeat scroll 0 0 #1E316F;
    color: #fff;
    padding: 5px 20px;
    text-shadow: 1px 1px 1px #300033;
    margin-bottom: 10px;
    float:right;
    font-family: 'Open Sans Condensed','Open sans',serif;
    text-transform: uppercase;
    font-size:18px;
}

.form-submit:hover {
    background: none repeat scroll 0 0 #3256cb;
}

input.form-checkbox, input.form-radio {
    vertical-align: baseline;
}

.form-text {
    border-radius: 3px;
    border: 1px solid #acacac;
    padding: 4px 5px;
}

/*-------------------------------------------*
/* Menus and item lists 
/*-------------------------------------------*/
.item-list ul {
    margin: 0;
    padding: 0 0 0 1.5385em;
}

.item-list ul li {
    margin: 0;
    padding: 0;
}

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

ul.inline {
    clear: both;
}

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

/*-------------------------------------------*
/* Admin Tabs
/*-------------------------------------------*/
.tabs-wrapper {
    border-bottom: 1px solid #b7b7b7;
    margin: 0 0 5px 0;
}

ul.primary {
    border: none;
    margin: 0;
    padding: 0;
}

ul.primary li a {
    background: none;
    border: none;
    display: block;
    float: left;
    line-height: 1.5385em;
    margin: 0;
    padding: 0 1em;
    border-radius: 4px 4px 0 0;
    margin-right: 5px;
}

ul.primary li a:hover, ul.primary li a.active {
    background: #666;
    border: none;
    color: #fff;
}

ul.primary li a:hover {
    background: #888;
    text-decoration: none;
}

ul.secondary {
    background: #666;
    border-bottom: none;
    clear: both;
    margin: 0;
    padding: 0;
}

ul.secondary li {
    border-right: none;
}

ul.secondary li a, ul.secondary li a:link {
    border: none;
    color: #ccc;
    display: block;
    float: left;
    line-height: 1.5385em;
    padding: 0 1em;
}

ul.secondary li a:hover, ul.secondary li a.active {
    background: #888;
    color: #fff;
    text-decoration: none;
}

ul.secondary a.active {
    border-bottom: none;
}

/*-------------------------------------------*
/* Tabs and Tags
/*-------------------------------------------*/
.field-name-field-tags {
    margin: 0 0 10px 0;
}

.field-name-field-tags a{
    display: inline-block;
    background: url(images/tag.png) no-repeat;
    padding: 0px 8px 0 16px;
    height: 22px;
    color: #6c6c6c;
    text-shadow: 1px 1px #fff;
    border-radius: 2px;
    /*font-size: 12px;*/
}

.field-name-field-tags a:hover{
    color: #205194;
}

.field-name-field-tags .field-item {
    margin: 0 1em 0 0;
}

.field-name-field-tags div {
    display: inline;
}

#main .field-label{
    color: #000;
}

#main .field-items .field-item{
}

/*-------------------------------------------*
/* Profile
/*-------------------------------------------*/
.profile {
    margin: 1.5385em 0;
}

.profile dd {
    margin-bottom: 1.5385em;
}

.profile h3 {
    border: none;
}

.profile dt {
    margin-bottom: 0;
}

.password-parent {
    width: 36em;
}

/*-------------------------------------------*
/* comment
/*-------------------------------------------*/
#comments {
    clear: both;
    margin-top: 14px;
    padding: 5px;
    border: 1px solid #dddddd;
    border-radius: 8px;
}

.comment {
    margin-bottom: 1.5em;
    padding: 5px;
    border-radius: 7px;
    min-height: 150px;
    border-bottom: 1px solid #d9d9d9;
}

h3.comment-title a{
    margin-bottom: 5px;
    /*font-size: 16px;*/
    color: #67696d;
}

.comment .new {
    color: red;
    text-transform: capitalize;
    margin-left: 1em;
}

.form-textarea-wrapper textarea {
    border-radius: 3px;
    border: 1px solid #acacac;
}

.comment .submitted {
    display:inline;
    background: #e5e5e5;
}

.comment .user-picture{
    float: left;
    padding: 4px;
    border: 1px solid #d9d9d9;
    margin-right: 7px;
    margin-bottom: 7px;
}

.comment-new-comments{
    display: none;
}

/*-------------------------------------------*
/* Navigation
/*-------------------------------------------*/
.item-list .pager {
    margin-bottom: 20px;
    float: right;
}

.item-list .pager li {
    background: #cfcfcf;
    border-radius: 3px;
    margin-right: 4px;
    color: #666666;
    font-weight: bold;
}
.item-list .pager li a {
    color: #666666;
}
/*-------------------------------------------*
/* Forum
/*-------------------------------------------*/
.field-name-taxonomy-forums div {
    display: inline;
    margin-top: 4px;
}

.field-name-taxonomy-forums .field-items {
}

#forum .title {
    /*font-size: 16px;*/
}

#forum .submitted {
    /*font-size: 12px;
    font-family: Lucida Grande, Verdana, Arial, sans-serif;*/
    background: transparent;
    padding: 0;
}

#forum .container {
    background: #a1a1a1;
    color: #fff;
}

#forum .container a {
    color: #000;
    font-weight: bold;
}

#forum div.indent {
    margin-left: 2px;
}

.forum-starter-picture {
    float: left;
    padding: 4px;
    border: 1px solid #d9d9d9;
    margin: 5px 7px 5px 0;
}

#forum th {
    background: #434343;
    text-shadow: none;
    color: #fff;
}

#forum th a {
    color: #fff;
}

#forum td.forum .icon, #forum .icon div {
    background: url(images/no-new-posts.png) no-repeat;
    width: 35px;
    height: 35px;
}

#forum .name a{
    /*font-size: 16px;*/
}