/**
 * Author Dan Partac
 * Copyright (C) 2005 - 2012 Dan Partac. All rights reserved.
 * @license  commercial
 * General Template Styling
 */
 
 
 /* general */
body {
  margin:0; padding:0;
  font-family: Helvetica, Verdana, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #666;
  background-color:#eee;
  /*overflow-x: hidden; overflow-y: auto*/
  cursor: url(../images/arrow.cur), default;
}

body.no-image {background-image: none;} 
body.none, body {background-image: none; background-color: inherit;} 
body.abstract {background-image: url(../images/pattern/abstract.png); background-repeat: repeat;} 
body.dots-grid {background-image: url(../images/pattern/dots-grid.png); background-repeat: repeat;} 
body.abstract-grid {background-image: url(../images/pattern/abstract-grid.png); background-repeat: repeat;} 
body.oblique-lines {background-image: url(../images/pattern/oblique-lines.png); background-repeat: repeat;} 
body.grid-lines {background-image: url(../images/pattern/grid-lines.png); background-repeat: repeat;} 
body.horizontal-lines {background-image: url(../images/pattern/horizontal-lines.png); background-repeat: repeat;} 
body.cool-lines {background-image: url(../images/pattern/cool-lines.png); background-repeat: repeat;} 
body.cool-vlines {background-image: url(../images/pattern/cool-vlines.png); background-repeat: repeat;} 
body.cool-olines {background-image: url(../images/pattern/cool-olines.png); background-repeat: repeat;} 
body.vertical-lines {background-image: url(../images/pattern/vertical-lines.png); background-repeat: repeat;} 
body.aid {background-image: url(../images/pattern/aid.png); background-repeat: repeat;} 
body.aluminium {background-image: url(../images/pattern/aluminium.png); background-repeat: repeat;} 
body.bedsheet {background-image: url(../images/pattern/bedsheet.png); background-repeat: repeat;} 
body.climpek {background-image: url(../images/pattern/climpek.png); background-repeat: repeat;} 
body.connect {background-image: url(../images/pattern/connect.png); background-repeat: repeat;} 
body.crosslines {background-image: url(../images/pattern/crosslines.png); background-repeat: repeat;}
body.digital {background-image: url(../images/pattern/digital.png); background-repeat: repeat;} 
body.denim {background-image: url(../images/pattern/denim.png); background-repeat: repeat;} 
body.egg {background-image: url(../images/pattern/egg.png); background-repeat: repeat;} 
body.fabric {background-image: url(../images/pattern/fabric.png); background-repeat: repeat;} 
body.fibers {background-image: url(../images/pattern/fibers.png); background-repeat: repeat;} 
body.freckles {background-image: url(../images/pattern/freckles.png); background-repeat: repeat;} 
body.grip {background-image: url(../images/pattern/grip.png); background-repeat: repeat;} 
body.noise {background-image: url(../images/pattern/noise.png); background-repeat: repeat;} 
body.lined {background-image: url(../images/pattern/lined.png); background-repeat: repeat;} 
body.lights {background-image: url(../images/pattern/lights.png); background-repeat: repeat;} 
body.project {background-image: url(../images/pattern/project.png); background-repeat: repeat;} 
body.rose {background-image: url(../images/pattern/rose.png); background-repeat: repeat;} 
body.squares {background-image: url(../images/pattern/squares.png); background-repeat: repeat;} 
body.textile {background-image: url(../images/pattern/textile.png); background-repeat: repeat;} 

#header { background: rgb(246,246,246); background: rgba(255,255,255,0.8); }

#site-wrapper {
  /*background-color:#eee;*/ position:relative;
}
 

/* -- form validation */
input.invalid, textarea.invalid { background: #fef4f4; border-color: #ddd}
label.invalid { color: #ff0000; }

/* -- buttons */
#editor-xtd-buttons {
  padding: 0px;
}


/* Tooltips */
div.tooltip {
  float: left;
  background: #ffc;
  border: 1px solid #D4D5AA;
  padding: 5px;
  max-width: 200px;
}

div.tooltip h4 {
  padding: 0;
  margin: 0;
  font-size: 12px;
  font-weight: bold;
  margin-top: -15px;
  padding-top: 15px;
  padding-bottom: 5px;
}

div.tooltip p {
  font-size: 11px;
  margin: 0;
}


/* System Messages */
#system-message-container {
  margin: 1.5em 0;
  clear:both; width: 100%;
}
.error {
  padding:0px;
}

.error h2 {
  color:#000 !important;
  font-size: 12px !important;
  text-transform:uppercase;
  padding:0 0 0 0px !important
}

#system-message {
  border-left:0;
  border-right:0;
}

#system-message dt {
  font-weight: bold;
}
#system-message dd {
  font-weight: bold;
  text-indent: 0px;
  padding:0
}
#system-message dd ul {
  color: #000;
  list-style: none;
  padding: 0px;
  margin:0;
}
#system-message dd ul li {}

/* System Standard Messages */
#system-message dt.message {
  position:absolute;
  top:-2000px;
  left:-3000px;
}

#system-message dd.message  ul {
  /*background: #fff;*/
   padding: 1.5em 20px;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  border:0;
  background-image: none;
}

#system-message dd.message ul li{background:none !important; padding: 0;}

/* System Error Messages */
#system-message dt.error {
  position:absolute;
  top:-2000px;
  left:-3000px;
}

#system-message dd.error ul {
  background: #e90000;/**/
   padding: 0.75em 20px;
  color: #fff;
}


/* System Notice Messages */
#system-message dt.notice {
  position:absolute;
  top:-2000px;
  left:-3000px;
}

#system-message dd.notice  ul {
  /*background:#fff;*/
   padding: 1.5em 20px;
}
#system-message dd.notice ul { color: #000;  }

#system-message {
    margin: 0px;
    padding: 0;
}

#system-message dt {
    font-weight: bold;
}

#system-message dd {
    font-weight: bold;
    padding: 0;
}


/* content styling */
fieldset {
  margin: 1.5em 0 ;
  padding: 1.5em 0;
  border: 0
}

strong {
    font-weight:bold; color: #111
}

em {
    font-style:italic
}


/*   breadcrumbs  # */
#pathway.hb .main-inner {}
.breadcrumbs img {
    display:none;
}

.breadcrumbs a {
    background: url(../images/arrow-b.png) no-repeat right 3px;
  padding: 0 16px 0 0;
  margin-left: 5px;
}

.breadcrumbs span {margin-left: 5px; color: #666}

.breadcrumbs span.showHere {margin-left: 0; color: #222; font-weight:bold;}

#pathway .main-inner {background:none;}

.breadcrumbs {
  color:#999; padding: 13px 0; margin-left: 0; float: left;
  font-family: Helvetica, Verdana, Arial, sans-serif;
}


/*   main  # */
div.blog {}
div.blog div.items-row {position:relative; margin: 0 -20px}
div.blog div.items-row div.blog-item {display:inline-block; position:relative; vertical-align:top;}
div.blog div.items-row.cols-4 div.blog-item { width: 24.9%;}
div.blog div.items-row.cols-3 div.blog-item { width: 33%;}
div.blog div.items-row.cols-2 div.blog-item { width: 49.9%;}
div.blog div.items-row.cols-1 div.blog-item { width: 100%;}

.blog-item {
  padding:0px;
  display:block
}

.blog-item .item-inner {margin: 0 20px;}

/* checking div integrity 
div {background: url(../images/pb3.png) repeat left top;} */

.item h2 {}

.item-page {
  margin:0;
  padding:0;
  display:block;
  overflow:hidden
}

.item-page h2:first-child {margin:0}


.blog .category-desc {
  padding:0;
  margin: 1.5em 0
}

.blog .cat-children .category-desc {
  padding:0;
  margin:1.5em 0
}

.items-row h2 {}

ul.subcategories {
  margin: 1.5em 20px 1.5em 0
}
.subcategories-link {
  font-weight:bold
}

ul {
  list-style-position:outside;
  list-style-type:none;
  padding: 0;
}

ol {
  list-style-position:outside;
  list-style-type:none;
}

ul li,
ol li {
  padding:0;
  margin: 0;
}

.category-list {
  padding:0;
  display:block;
}

.category-list h1 {}

.categories-list {
  padding:0
}

.categories-list ul {
  padding:0
}

.categories-list ul li {
  background:none;
  padding: 0;
}

.categories-list ul ul {
  margin-left:15px
}

.category-desc {
  margin: 0;
  padding-left:0px;
}

.category-desc p {margin:0}

.small {}

.image-left {
  float:left;
  margin:0 15px 0 0;
}

.image-right {
  float:right;
  margin:0 0 0 15px
}

.archive {
  padding:0 5px
}

.archive form {
  padding:0 5px
}

ul#archive-items {
  margin:1.5em 0;
  list-style-type:none;
  padding:0
}

ul#archive-items li.row0,
ul#archive-items li.row1 {
  padding:0.75em 0;
  margin:0.75em 0;
}

/*   columns   */
.items-row {clear:both;}
.cols-4 .column-1 {
  width:23%;
  float:left
}

.cols-4 .column-2 {
  width:23%;
  margin-left:1%;
  float:left;
}

.cols-4 .column-3 {
  width:23%;
  margin-left:1%;
  float:left
}

.cols-4 .column-4 {
  width:23%;
  margin-left:0;
  float:right
}

/*   readmore   */

.readmore a {
  background: #f0f0f0 url(../images/readmore.png) no-repeat 5px top;
    border: 0;
    border-radius: 10px; -webkit-border-radius: 10px;
    color:#222; font-weight:bold;
    font-family: Helvetica,Verdana,Arial,sans-serif !important;
    font-size: 10px;
  display:inline-block;
    padding: 1px 7px 1px 20px;
    text-decoration: none;
    text-transform: uppercase;
  text-align:center; text-shadow: none !important;
  -moz-transition: background-color 0.2s ease-out 0s; 
  -webkit-transition: background-color 0.2s ease-out 0s; 
  transition: background-color 0.2s ease-out 0s; 
}
.browserIE9 .readmore a {padding-top: 2px}
.browserIE7 .readmore a,
.browserIE8 .readmore a {padding-top: 1px}

.readmore a:hover {background-color: #3396c4 !important; color:#fff !important; background-position: 5px bottom }

/*   details   */

.article-info {
  font-size: 10px; line-height: 1.8; color: #999;
  float:left; margin-top:0
}

.article-info-term {
  display:none
}

dd.category-name,
dd.create,
dd.modified,
dd.createdby {
  float:left;
  padding-right:5px;
  padding-left:0;
}

.archive .article-info dd,
.article-info dd {
  padding:0; margin: 0 5px 0 0; display:inline-block
}

dd.createdby {

}

.article-info dd span {
    text-transform:none;
    display:inline-block;
    padding:0 5px 0 0px;
    margin:0 10px 0 0px;
}

/*   icons   */

ul.actions {
  float: right;
  text-align:right;
  padding:0 ;
  width:40px;
  margin:0
}

ul.actions li {
  display:inline;
  background:none; padding-left: 0
}

ul.actions a {
  text-decoration:none
}

ul.actions img {width: auto}

/*   items more   */

.items-more {}

.items-more h3 {
  font-weight:normal;
  margin:0;
  padding:0;
}

.items-more ol {
  list-style-type:none;
}

.items-more ol li {
  padding:0;
}

.items-more ol li a {
  display:inline;
  margin:0;
  font-weight:normal;
  padding:0;
}


/* Pagination ---*/
.pagination {
  padding:0;
  display:block; overflow: hidden; /*float:left; clear:left; margin:1.5em 0;*/
}

.browserSafari .pagination, .browserChrome .pagination{margin:1.5em 0 0;}

.pagination ul li {margin: 0/*0 7px 0 0*/; }
.pagination li a,
.pagination li strong { 
    color: #444; text-shadow: none !important;
    line-height: 1.5;
    margin: 0/*0 5px 0 0*/;
    padding: 1px 7px;
    text-decoration: none !important;
  font-family: Helvetica, Verdana, Arial, sans-serif !important;
}

li.pagination-start span,
li.pagination-start a {}

li.pagination-end span,
li.pagination-end a { }

.pagination li span { color: #999;}

.pagination li span:focus, .pagination li span:hover {}


.pagination ul li, ul.pagenav li {padding: 0; background:none; float:left; display: inline;}
.pagination ul li span.pagenav, .pagination ul li a.pagenav, ul.pagenav li a {
    font-size: 11px;
    margin: 0 1px 0 0;
    padding: 9px 13px;
    text-transform: uppercase;
  background: #ddd;
  display:block;
}
.pagination ul li span.pagenav {color:#999; font-family: Helvetica, Verdana, Arial, sans-serif !important;} 
.pagination ul li a.pagenav, ul.pagenav li a {color:#666;}

.pagination ul li span.pagenav:hover { background: #fff; cursor: url(../images/arrow.cur), default;}

.pagination li a:hover,
.pagination li strong:hover,
.pagination li a:focus,
.pagination li strong:focus { 
    color: #fff;
  background:#999;
}

.pagination ul li a.pagenav:hover, ul.pagenav li a:hover, 
.pagination ul li a.pagenav:focus, ul.pagenav li a:focus {
  color:#fff !important;
  background: #111 !important;
  text-decoration:none;
}

div.pagination ul {float:left;  }
div.pagination p.counter {float:right; display:none;}

div.pagination:hover p.counter {/*display:block;*/}

.pagination li.pagination-start span,
.pagination li.pagination-start a {border-radius: 20px 0 0 20px;}
.pagination li.pagination-end span,
.pagination li.pagination-end a {border-radius: 0 20px 20px 0;}


/* forms  */

#member-registration {
  padding:0 5px
}
#member-registration fieldset {
border:solid 1px #ddd
}

form fieldset dt {
  clear:left;
  float:left;
  width:7em;
  padding:3px 0
}

form fieldset dd {
  float:left;
  padding:3px 0
}

/*  search  */
.search fieldset.phrase, fieldset.word, fieldset.only {border-bottom: 0; padding: 1.5em 0 0}
div.search legend {display:none}
.searchintro {
  display:none
}

#searchForm,
#finder-search {}

/*topbar*/
#topbar.main { width: 100%; max-width: 100%; background: #f6f6f6 }
body.dark #topbar.main { background: #111}
#topbar .main-inner { max-width: 940px; margin: 0 auto; }

/* header contact */
#contact {float:right; font-size: 11px;}
#contact p, #contact ul {margin: 5px 0}
#contact ul li:last-child {padding-right: 0 !important}

#contact a {text-shadow: 1px 1px 1px #fff}
body.dark #contact a {text-shadow: 1px 1px 1px #000}

.today {float:left; margin: 5px 0 0 0; font-size: 11px}
.today p.typo-icon {margin:0}

.today p.typo-icon span.icon {top:-1px}


/* topmenu */
#topmenu {position:absolute; top:30px; right: 0}
#topmenu ul {margin:0 }
#topmenu li {display: inline; padding: 0 5px 0 0; margin: 0 0 0 5px; border-right: 1px solid #ccc}
body.dark #topmenu li { border-right: 1px solid #666 }
#topmenu li:last-child { border-right: 0 !important; padding: 0}

/* search module */
#search {float: left; padding: 27px 0 0 20px}
#search .inputbox {  
  border-radius: 15px;
  -webkit-border-radius: 15px
}

#search .inputbox {
  width: 200px;
  background-color: #fff;
  background-image: url(../images/search-icon.png);
  background-repeat: no-repeat;
  background-position: 6px center;
  padding-left:25px;
    color: #666;
  line-height:10px; font-size:11px;
  border: inherit;
  border:1px solid #ddd;
}

#search .inputbox.loading {
  background-image: url(../images/loading.gif);
  background-repeat: no-repeat;
  background-position: 5px center;
}  

#search .inputbox:focus, #search:hover  .inputbox {
  color: #333;
  border:1px solid #ccc;
}
  
#search .inputbox:focus { outline:none !important;}

.form-limit {
  margin:20px 0 0;
  text-align:right;
  padding:0 10px 0 20px;
}

.inputbox:focus {

}

.highlight {
  font-weight:bold;
}

.ordering-box {
  width:40%;
  float:right;
}

.phrases-box {
  width:60%;
  float:left;
  margin-top: 4px
}

.only,
.phrases {
  margin:0;
  padding:1.5em 0;
  line-height:1.5em;
  border-top: 1px solid #eee;
}

label.ordering {
  display:block;
  margin:1.5em 0
}

.word {
  padding:1.5em 0 0;
  height:36px;
}

.word input {}

.word input:focus {
  
}

.word label {
    font-weight:bold
}

fieldset.only label,
fieldset.phrases label {
    margin:0 10px 0 0px
}

.ordering-box label.ordering {
    margin: 4px 10px 5px 0;
    float:left
}


form .search label,
form .finder label {
  display:none
}

form #finder-filter-select-list label {
  display:block;
  margin-top: 10px;
  margin-bottom: 2px;
}

/*   selects   */
.phrases .inputbox {
  width:10em;
}

.phrases .inputbox option {
  padding:2px;
}


/*   search results   */

dl.search-results {

}

dl.search-results dt.result-title {
  padding:15px 15px 0px 5px;
  font-weight:bold;
}

dl.search-results dd {
  padding:2px 15px 2px 5px
}

dl.search-results dd.result-text {
  padding:10px 15px 10px 5px;
  line-height:1.7em
}

dl.search-results dd.result-url {
  padding:2px 15px 15px 5px;
}

dl.search-results dd.result-created {
  padding:2px 15px 15px 5px
}

dl.search-results dd.result-category {
  padding:10px 15px 5px 5px
}

/* # contacts # */

.contact {
  padding: 0
}

.contact-category {
  padding: 0
}

.contact-category  #adminForm fieldset.filters {
  border:0;
  padding:0
}

.contact-image {
  margin: 1.5em 0;
  overflow:hidden;
}

.contact-image img {
/* as you like
float:right;
float:left */
}

address {
  font-style:normal;
  margin:1.5em 0;
}

address span {
  display:block
}

span.contact-image {
    margin-bottom:1.5em;
    overflow:hidden;
    display:block
}

div.contact textarea, 
div.contact input {width:80%}

div.contact h3 {display:none}
div.contact fieldset {padding:0; margin:0}
div.contact legend {padding:0; margin:0; float:left; color:#999; font-size: 11px}

.contact-address
 {
margin:1.5em 0;

}


.contact-email div {
  padding:2px 0;
  margin:0 0 10px 0;
}

.contact-email label {
  width:17em;
  float:left;

}

#contact_textmsg {padding: 2px 0 10px 0}

#contact-email-copy {
  float:left;
  margin-right:10px;

}

.contact .button {
  float:none !important;
  clear:left;
  display:block;
  /*margin:20px 0 0 0*/
}



dl.tabs {
    float: left;
    margin: 50px 0 0 0;
    z-index: 50;
    clear:both;


}

dl.tabs dt {
    float: left;
    padding: 4px 10px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
    margin-right: 3px;
    background: #f0f0f0;
    color: #666;
}

dl.tabs dt.open {
    background: #F9F9F9;
    border-bottom: 1px solid #F9F9F9;
    z-index: 100;
    color: #000;

}

div.current {
    clear: both;
    border: 1px solid #ccc;
    padding: 10px 10px;

}


div.current dd {
    padding: 0;
    margin: 0;
}

dl#content-pane.tabs {
    margin: 1px 0 0 0;
}


/*   user profile  # */

#users-profile-core,
#users-profile-custom {
  margin:10px 0 15px 0;
  padding:15px;
}

#users-profile-core dt,
#users-profile-custom dt {
  float:left;
  width:12em;
  padding:3px 0;
}

#users-profile-core dd,
#users-profile-custom dd {
  padding:3px 0;
}

#member-profile fieldset,
.registration fieldset {
  margin:10px 0 15px 0;
  padding:15px;
}

#users-profile-core legend,
#users-profile-custom legend,
.profile-edit legend,
.registration legend {
  font-weight:bold
}

.profile-edit form#member-profile fieldset dd,
.registration form#member-registration fieldset dd { float:none; padding:5px 0}

.profile-edit form#member-profile fieldset dd input,
.profile-edit form#member-profile fieldset dd select,
.registration form#member-registration fieldset dd input {width:17em}

.profile-edit form#member-profile fieldset dt,
.registration form#member-registration fieldset dt {padding:5px 5px 5px 0; width:13em}


span.optional {}

/* tables  */

table {
  border-collapse:collapse
}

thead th  {border: 1px solid #ccc;}
tbody td {border: 1px solid #ffff00;}
table.weblinks,
table.category
 {
  margin:10px 10px 20px 0px;
  width:99%;
}

table.weblinks td {
  border-collapse:collapse;
}

table.weblinks td,
table.category td
 {
  padding:7px;
}

table.weblinks th,
table.category th
 {
  padding:7px;
  text-align:left
}

td.num {
  vertical-align:top;
  text-align:left;
}

td.hits {
  vertical-align:top;
  text-align:center
}

td p {
  margin:0;
  line-height:1.3em
}

.filter {
  margin:10px 0
}

.display-limit,
.filter {
  margin-right:7px
}


/*   category table   */

table.category th a img {
  padding:2px 10px
}

.filter-search {
  float:left;

}
.filter-search .inputbox {width:6em}

legend.element-invisible {
  position:absolute;
  /* need margin top and left doesn't work for the legend element */
  margin-left:-3000px;
  margin-top:-3000px;
  height:0px;
}

.cat-items {
  margin-top: 0
}


/*  footer  */
#pathway {max-width:none; width: 100%; background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #f0f0f0; }
body.dark #pathway { border-top: 1px solid #555; border-bottom: 1px solid #555; background: #333;}
#pathway .main-inner {max-width:940px; margin: 0 auto;}/**/

#footer-wrapper{ overflow: hidden }
#footer { float:left; }
#footer, #footernav {padding: 13px 0}
#footernav {float:right}
#footernav ul.menu {margin: 0}
#footernav ul.menu > li > ul {display: none}
#footernav ul.menu > li {display: inline; padding: 0 10px 0 0}
#footernav ul.menu > li:last-child { padding: 0 }

/* spotlights */
.spotlight .moduletable {
  text-align:left;
  float:left;
  width: 245px;
}

/*
#top-wrapper .moduletable,
#top-portfolio .moduletable,
#bottom-portfolio .moduletable {margin-bottom:0}
*/

#filter-tools:hover ul li > span,
#filter a, #sort a {background-color: rgb(255,255,255); background-color: rgba(255,255,255,0.9);}

body.dark #filter-tools:hover ul li > span { background-color: rgb(34,34,34) !important; background-color: rgba(0, 0, 0, 0.8) !important; color: #fff !important}

body.dark #filter a, body.dark #sort a {color:#eee !important; background-color: rgb(34,34,34); background-color: rgba(0,0,0,0.8);}

body.dark #filter a.active, body.dark #sort a.active {color: #fff !important}

body.dark #filter a:hover, body.dark #sort a:hover { background: #111 }

#filter span, #sort span {background-color: #fff !important}

body.dark #filter span, body.dark #sort span {background-color: #555 !important; color: #eee}

body.dark #filter ul li > span, body.dark #sort ul li > span  {background-position: 8px 8px;}
#filter span, #sort span { /*padding: 8px 8px 8px 30px;*/}

#bottom-wrapper {}

.spotlight.columns-1 .moduletable {width: 100%}
.spotlight.columns-2 .moduletable {width: 49.9%}
.spotlight.columns-3 .moduletable {width: 33.2%}
.spotlight.columns-4 .moduletable {width: 24.9%}

.spotlight .moduletable .inner {margin: 0 20px}

.box ul {
  list-style-type:none
}

#bottom .newsfeed-item {
  padding:0;
  margin-bottom:10px
}


#bottom ul.latestnews {
  padding-left:0
}

#footer p {
  margin:0
}

p.syndicate {
  float:left;
  display:block;
  text-align:left;
}


/*   Error Message contact form   */
p.error {
  padding:10px;
}

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

.contentpaneopen_edit img {

}

a.mceButton:hover  {background:none !important}

/*   pagebreak   */
table.contenttoc {
  padding:10px;
  margin:10px;
}

table.contenttoc tr td {
  padding:1px 0px
}

.pagenavcounter {
  font-weight:bold;
}


/*   edit   */
legend {
  padding:3px 5px;
}

form#adminForm {

}

.edit form#adminForm fieldset {
  padding:20px 15px;
  margin:10px 0 15px 0;
}

.formelm {
  margin:5px 0
}


.formelm label {
  width:13em;
  display:inline-block;
  vertical-align:top;
}

form#adminForm .formelm-area {
  padding:5px 0
}

form#adminForm .formelm-area label {
  vertical-align:top;
  display:inline-block;
  width:7.9em
}

.formelm-buttons {
  text-align:right;
  margin-bottom:10px
}

.button2-left {

}

a.modal-button,
.button2-left .blank a,
.button2-left a,
.button2-left div.readmore a {background:#eee;
padding:4px !important;
margin:0 !important;
line-height:1.2em; border:solid 1px #ddd;
font-weight:bold; text-decoration:none;
margin-top:10px !important}

/*   tooltip   */
.tip {
  font-size:0.8em;
  text-align:left;
  padding:3px;
  max-width:400px
}

.tip-title {
  font-weight:bold;
}


/*  modules  */

/*   newsflash   */

/* newsflash horizontal */
.newsflash-horiz {
  overflow:hidden;
  list-style-type:none !important;
  margin:0 5px!important;
  padding:20px 10px !important
}

.newsflash-horiz li {
  float:left;
  width:30%;
  margin:0 1% !important;
  padding:10px 5px;
}

ul.newsflash-horiz li h4 {}

.newsflash-horiz li img {
    display:block;
    margin-bottom:10px
}

/* newsflash vertical */

.newsflash-vert {
    padding:0
}


/*   banner   */

.banneritem {
  margin: 10px 0px 10px 0px;
  padding:0px;
}

.banneritem a {
  font-weight:bold
}


/*   latest, popular   */

#nav .module_content ul.latestnews,
#nav .module_content ul.mostread {
  margin:10px 0 0 0
}

ul.latestnews,
ul.mostread {
  padding-left:10px;
  list-style-type:none !important;
}

ul.latestnews li a,
ul.mostread li a {
    padding:2px 2px 2px 15px ;
    display:block;
    text-decoration:none
}


/*   newsflash   */
.newsflash {
    margin:0px;

}

/*   newsfeed   */
.newsfeed {
  padding:0 5px
}

ul.newsfeed {
  padding:0 !important
}

.newsfeed-item {
  padding:5px 0 0 0;
  margin:0
}

.feed-item-description img {margin: 5px 10px 10px 0}

.newsfeed-item h5 a {
  font-size:1.1em;
  font-weight:bold !important
}

dl.newsfeed-count dt,
dl.newsfeed-count dd {
  display:inline
}

/*   weblinks   */

dl.weblink-count dt,
dl.weblink-count dd {
  display:inline;
}

/*   login   */

#form-login {text-align:left;}

#form-login fieldset {}
.login fieldset {border-top: 1px solid #eee; border-bottom: 1px solid #eee;}

#form-login .inputbox {}

#form-login fieldset.input {}

#form-login label {
  margin-right:10px;
  width:150px;
  display:block;
  /*/float:left*/
}

#form-login-remember label {
  float:none;
  width:auto;
  display:inline
}

.logout-button {
  margin-top:10px
}


#modlgn-username,
#modlgn-passwd {
  width:9em
}

.module_content #form-login-username label,
.module_content #form-login-password label {
  float:left;
  width:5.2em
}

.login-fields {
  margin:10px 0
}

.login-fields label {
  float:left;
  width:9em
}

.login-description img,
.logout-description img {
  float:left;
  margin-right:20px
}

.login-description,
.logout-description {
  overflow:hidden;
  padding-left:5px;
  margin:20px 0 10px 0
}

.logout-description {
  margin-bottom:20px
}



/*   random   */

#right .random-image,
#nav .random-image {
  margin-top:10px;
  margin-left:10px
}



/*   content-module  */
.category-module li {
  padding:5px 0 5px 0
}

.category-module span {
  display:block;
  font-size:0.85em;
}

.category-module a span {
  display:inline
}

a.mod-articles-category-title {
  text-decoration:none;
  font-weight:bold
}



/* #  Categories list  */
.categories-listalphabet ul {
  padding:0;
  margin:20px 10px 10px 0;
  list-style-type:none;
  list-style-position:inside
 }
.categories-listalphabet ul li {
  display :inline;
  padding:5px;
  border-right:solid 1px #ddd
}


.categories-list ul {
  list-style-type:none;
  margin:0
}
.categories-list dl dt,
.categories-list dl dd {
  display:inline
}

.cat-children {
  padding-left:5px
}
.cat-children ul dl dt,
.cat-children ul dl dd { display:inline}

.cat-children ul {
  list-style-type:none;
  margin:0;
  padding:0;
}
 .cat-children ul {
  margin:20px 20px 20px 0;
}
.cat-children ul ul {
  margin:20px
}

.cat-children ul li {
  margin:10px 0 10px 0
}


/* mod stats  */


.stats-module dl {
  margin:10px 0 10px 0
}
.stats-module dt {
  float:left;
  margin:0 10px 0 0;
  font-weight: bold;
}
.stats-module dt,
.stats-module dd {
  padding:2px 0 2px 0
}
/* syndicate */

a.feed-link {
margin-top:15px;
display:block;
text-decoration:none
}

.feed-link img {border:0}

/* pagenav */
ul.pagenav {
  list-style-type:none;
  padding:0;
  overflow:hidden
}
ul.pagenav li {
  display:inline-block;
  padding:1px;
  margin:0;
  border:solid 0px #cc0000;
  position:relative;

}

ul.pagenav li {
  line-height:2em
}

ul.pagenav li a {
  border:solid 1px #ccc;
  display:inline;
  background:#eee;
  padding:2px;
  text-decoration:none;

}
ul.pagenav li.pagenav-prev {float:left}
ul.pagenav li.pagenav-next {float:right}

/* pagebreak */

#article-index {
  width:25%;
  float:right;
  border:solid 1px #eee;
  padding:10px;
  margin: 10px 0px 20px 30px;
  background:#f9faf9
}
#article-index h3 {
  margin:0;
}

#article-index ul {
  list-style-type:disc;
  color:#666
}


/* mailto window */
#mailto-window {
  background:#f5f5f5;
  padding:15px;
  border:solid 1px #ddd;
  position:relative
}
#mailto-window label {
  width:10em
}

.mailto-close {
  position:absolute;
  right:0;
  top:5px;
  background:none;
}


.mailto-close a {
  background:#f5f5f5 url(../images/close.png) no-repeat !important;
  min-width:25px;
  display:block;
  min-height:25px;
  overflow:visible
}

.mailto-close a  span {
  position:absolute;
  left:-3000px;
  top:-3000px;
  display:inline

}
#mailto-window  .inputbox {
  border:1px solid #ccc;
  padding:3px;
}

#mailto-window p {
  margin-top:20px
}

#mailto-window button {
  margin:0 5px 0 0
}

.clr{
  clear:both;
}

/*   feed display module  */

div.feed {
  display:block;
  padding: 5px 10px;
}

/* responsive image style  */
img { /*width: 100%;*/ max-width: 100%}

/*   image round style  */
img.round {
  border-radius: 4px;
  -webkit-border-radius: 4px;
}

/* image float style  */
img.left {float:left; margin-right: 15px; width: auto}
img.right {float:left; margin-left: 15px; width: auto}

.content-brick, .item, .col {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* mainnav */
ul.mini.menu {display:none;}

.mainnav ul.menu {margin:0; padding:0;}
.mainnav ul.menu li a {text-decoration:none;}

.mainnav .menu {
  float: left;
  white-space: nowrap;
}

.mainnav .menu,
.mainnav .menu li {
  margin: 0;
  padding: 0;
}

.menu li {background: none; padding-left:0}

.mainnav .menu > li {
  display: inline-block;
  float:left;
  background: url(../images/menu.png) no-repeat right bottom;
  padding-right: 1px;
  line-height: 1.1;
  list-style: none;
  position:relative
}
body.dark .mainnav .menu > li {  background: url(../images/menu-dark.png) no-repeat right bottom}
  
.mainnav .menu > li:last-child, 
.mainnav .mini .menu li  {background:none !important; padding: 0;}
.mainnav .menu li a  {text-shadow: none}
.mainnav .menu > li > a {
  border-bottom: 5px solid transparent;
  color: #999;
  display: block;
  float: left;
  height: 50px;
  line-height: 53px;
  padding: 0 20px;
}

.mainnav .menu > li:hover > a,
.mainnav .menu > li > a:hover,
.mainnav .menu > li > a:active,
.mainnav .menu > li > a:focus {
  border-bottom-color: #333;
  color: #333;
  text-decoration: none;
}

body.dark .mainnav .menu > li:hover > a, 
body.dark .mainnav .menu > li > a:hover, 
body.dark .mainnav .menu > li > a:active, 
body.dark .mainnav .menu > li > a:focus {
    border-bottom-color: #bbb;
}
.mainnav .menu > li.active > a {
  border-bottom-color: #3396c4 !important;
}

/* 2nd level and above ---*/
.menu ul {
  padding: 0; margin:0
}

.mainnav .menu > li.deeper ul {
  background: rgb(255,255,255);
  background: rgba(255,255,255,0.9);
  border: 4px solid rgb(51,51,51);
  border: 4px solid rgba(0,0,0,0.7);
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
  left: -999em; top: -4px; opacity: 0; filter: alpha(opacity=0);
  margin: 0;
  margin-top: 55px;
  width: 200px;
  padding: 0;
  position: absolute;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-transition: left 0s ease-out 0s, opacity 0.3s ease-out 0.1s, top 0.2s ease-out 0.1s/**/; 
  -webkit-transition: left 0s ease-out 0s, opacity 0.2s ease-out 0.1s, top 0.2s ease-out 0.1s/**/; 
  transition: left 0s ease-out 0s, opacity 0.3s ease-out 0.1s,top 0.2s ease-out 0.1s/**/;
  z-index:100;
}

body.dark .mainnav .menu > li.deeper ul {
  background: rgb(34,34,34);
  background: rgba(0,0,0,0.8);
  border: 4px solid rgb(51,51,51);
  border: 4px solid rgba(255,255,255,0.7);
  box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.1);
  -webkit-box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.1);
}

.browserSafari .mainnav .menu > li.deeper ul { -webkit-transition: top 0.2s ease-out 0.2s }

.mainnav .menu > li.deeper li.deeper:hover ul {margin-top: 0;}

.mainnav .menu > li.deeper ul li {
  border-bottom: 1px solid #666;
  float: none;
  list-style: none;
}

body.dark .mainnav .menu > li.deeper ul li {border-bottom: 1px solid #666}

.mainnav .menu > li.deeper ul li:last-child {border-bottom:0 !important;}

.mainnav .menu > li.deeper ul li span.separator,
.mainnav .menu > li.deeper ul li a {
  display: block;
  height: 30px; 
  line-height: 30px;
  padding: 0 15px;
  white-space: nowrap;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  transition: background-color .3s ease 0s;
  -o-transition: background-color .3s ease 0s;
  -moz-transition: background-color .3s ease 0s;
  -webkit-transition: background-color .3s ease 0s;
}

.mainnav .menu li ul li {position:relative; border: 0;}

/* hover */
/*.mainnav .menu li > li:hover > ul,*/
.mainnav .menu > li:hover > ul {
  top: 0; left: 0; opacity: 1; filter: alpha(opacity=100);
  position: absolute;
}

.mainnav .menu > li ul li:hover span.separator {cursor: pointer;}
.mainnav .menu > li ul li:hover a {text-decoration: none;}
body.dark .mainnav .menu > li ul li:hover > a { color: #fff}

.mainnav .menu > li ul li:hover { background-color: #eee;}
body.dark .mainnav .menu > li ul li:hover { background-color: #222;}
body.dark .mainnav .menu.mini > li ul li:hover { background-color: #222 !important;}

.mainnav ul.menu li.deeper li.deeper > ul {
  left: -4px; top: -999em; opacity: 0; filter: alpha(opacity=0);
  -moz-transition: opacity 0.3s ease-out 0s, left 0.2s ease-out 0s; 
  -webkit-transition: opacity 0.2s ease-out 0s, left 0.2s ease-out 0s; 
  transition: opacity 0.3s ease-out 0s, left 0.2s ease-out 0s;
  margin-left: 192px;  
}
.browserSafari .mainnav ul.menu li.deeper li.deeper > ul { -webkit-transition: left 0.3s ease-out 0.2s; }

.mainnav ul.menu li.deeper li.deeper:hover > ul  {
  position:absolute; 
  left: 0; top:-4px;
  opacity: 1; filter: alpha(opacity=100);
}

/* Normal state */
.mainnav .menu li a { color:#000; }
body.dark .mainnav .menu li a { color:#ccc; }

/* Active state */
/*.mainnav li.mini  > a,
.mainnav li.mini  > a:hover,
.mainnav li.mini  > a:focus,
.mainnav li.mini:hover  > a,
.mainnav li.mini:focus  > a,
.mainnav ul.mini > li.mini > ul,*/
.mainnav ul.menu > li.active.deeper ul {
  border-color: #3396c4;
}
.mainnav .menu li ul li.active,
.mainnav .menu li ul li.active:hover,
.mainnav .menu li ul li.active:active,
.mainnav .menu li ul li.active:focus {background-color: #3396c4 !important}

.mainnav .menu > li.deeper.active ul li {border-color: #3396c4 !important}

.mainnav .menu ul li.active > a { color:#fff !important; }

/* menu icons */
.menu li img {
  margin-right: 8px;
    vertical-align: middle;
}

/* arrows */
.menu li ul > li.deeper {background-image: url(../images/arrow-b.png); background-repeat: no-repeat; background-position:92% center;}
body.dark .menu li ul > li.deeper {background-image: url(../images/arrow-w.png); background-repeat: no-repeat; background-position:92% center;}
body.dark .menu li ul > li.deeper:hover {}
.menu li ul > li.deeper.active {background-image: url(../images/arrow-w.png) !important; background-repeat: no-repeat; background-position: 92% center;}


/* Joomla menu */
#main-wrapper ul.menu { margin: 0 0 1.5em; }
#main-wrapper ul.menu li { border-bottom: 0; }

#main-wrapper div.moduletable.hilite ul.menu li a {background-color: rgba(255,255,255,0.2) !important; color: #333 !important;}
#main-wrapper div.moduletable.hilite.red ul.menu li a,
#main-wrapper div.moduletable.hilite.orange ul.menu li a,
#main-wrapper div.moduletable.hilite.blue ul.menu li a,
#main-wrapper div.moduletable.hilite.turquoise ul.menu li a,
#main-wrapper div.moduletable.hilite.magenta ul.menu li a,
#main-wrapper div.moduletable.hilite.purple ul.menu li a,
#main-wrapper div.moduletable.hilite.green ul.menu li a,
#main-wrapper div.moduletable.hilite.yellow ul.menu li a,
#main-wrapper div.moduletable.hilite.orange ul.menu li a,
#main-wrapper div.moduletable.hilite.brown ul.menu li a {color: #fff !important;}

#main-wrapper div.moduletable.hilite.red ul.menu li a,
#main-wrapper div.moduletable.hilite.orange ul.menu li a,
#main-wrapper div.moduletable.hilite.blue ul.menu li a,
#main-wrapper div.moduletable.hilite.turquoise ul.menu li a,
#main-wrapper div.moduletable.hilite.magenta ul.menu li a,
#main-wrapper div.moduletable.hilite.purple ul.menu li a,
#main-wrapper div.moduletable.hilite.green ul.menu li a,
#main-wrapper div.moduletable.hilite.yellow ul.menu li a,
#main-wrapper div.moduletable.hilite.orange ul.menu li a,
#main-wrapper div.moduletable.hilite.brown ul.menu li a {background-image: url(../images/arrow-w.png); }

#main-wrapper div.moduletable.hilite ul.menu li a:hover,
#main-wrapper div.moduletable.hilite ul.menu li a:focus {background-color: #222 !important; background-color: rgba(255,255,255,0.3) !important;}

#main-wrapper ul.menu li li {
  border-bottom: 0; border-top: 0; /*background: url(../images/pb3.png) repeat-x top;*/
}

#main-wrapper ul.menu li a {
  font-size: 12px;
    line-height: 1.5;
    margin: 0 0 1px !important;
    padding: 9px 0 8px 10px;
  text-indent:15px;
  background: url(../images/arrow-b.png) no-repeat 10px center #F6F6F6; color: #666;
  display:block
}
body.dark  #main-wrapper ul.menu li a {background: url(../images/arrow-w.png) no-repeat 10px center #666; color: #ccc}
body.dark  #main-wrapper ul.menu li a:hover {background: url(../images/arrow-w.png) no-repeat 10px center #333; color: #fff}

#main-wrapper div.moduletable_hilite ul.menu li a { border:0 !important;}

#main-wrapper ul.menu li.active > a {
    font-weight: normal; color: #fff; background-color: #111; background-image: url(../images/arrow-w.png);
}

#main-wrapper ul.menu li:last-child a {}

#main-wrapper ul.menu li a:hover, #main-wrapper ul.menu li a:focus {background-color: #ddd; text-decoration: none; color: #444; background-image: url(../images/arrow-b.png);}

#main-wrapper ul.menu li li a {text-indent:20px; background-position: 15px center}


.main-inner { /*background: url(../images/pg.png) repeat-x bottom*/ }

/* header */
#site-wrapper  { }

#header {border-top: 2px solid #3396c4; width: 100%; max-width: none; }

#header .main-inner { max-width: 940px; margin: 0 auto; background:none;  }

/* mainnav */
#mainnav-wrapper {/*height:45px;*/ position:relative; /*z-index: 10;*/}
.browserSafari .mainnav ul.menu {}

#mainnav-wrapper {background: url(../images/mainnav.png) repeat-x left bottom #fff; max-width: none; border-top: 1px solid #ddd}
body.dark #mainnav-wrapper { border-top: 1px solid #555}
#mainnav-wrapper .main-inner {background:none; width: 940px;/**/ margin: 0 auto}

.mainnav { display:block;} 


/* main layout */
.wrap { width: 100%; display:block }
.main { max-width:980px; width: 100%; margin: 0 auto; display:block; clear:both }

.main-inner { margin: 0 20px; display:block; position:relative }
.browserIE7 .main, 
.browserIE8 .main {max-width: 980px; }

#main-wrapper .main-inner.ht {}


/* checking div integrity 
div {background: url(../images/pb3.png) repeat left top;} */

/* portfolio */
#top-portfolio {}
#bottom-portfolio {}

#top-portfolio div.moduletable {padding-top: 3em; margin-top: 0}
#bottom-portfolio div.moduletable {padding-top: 1.5em; margin-top: 0}

#filter a, #sort a {
  text-shadow: none
}


div.description p.video,
div.description p.image > a { display:block; border: 1px solid #ccc; padding: 4px; border-radius: 4px; -webkit-border-radius: 4px; }
body.dark div.description p.video,
body.dark div.description p.image > a { border: 1px solid #777; background: #666; }

div.description p.readmore a {background-image: url(../images/readmore-small.png)}
div.description p.readmore.preview a {background-image: url(../images/preview.png)}

/* content */
#main-wrapper .main-inner {background: none}
#content {width: 100%; float:left;}
#content.hl,
#content.hr {width: 720px; float:left;}
#content.hr.hl {width: 500px; float:left;}
.component-wrapper {margin: 1.5em 0}


#content.hl .component-wrapper {margin: 1.5em 0 1.5em 20px;}
#content.hr .component-wrapper {margin: 1.5em 20px 1.5em 0;}
#content.hl.hr .component-wrapper {margin: 1.5em 20px 1.5em 20px;}

#content #left-inner {width:45%; float:left; margin-right: 4%}
#content #left-inner div.moduletable {margin-top:0 !important; margin-bottom: 1.5em !important;}


/* spacing */
#top-wrapper,
#content,
#left, #right { padding-top: 1.5em}

#top-wrapper.ht,
#content.ht, #content.ct,
#left.ht, #right.ht { padding-top: 0 }

/*   left right # */
#left, #right {width: 220px; float:left}

#content div.moduletable {/*margin-bottom: 1.5em;*/}
#content div.moduletable .inner{margin: 0 /*20px*/;}
#content-top {}
#content-bottom {}
#content.hr div.moduletable .inner {margin: 0 20px 0 0;}
#content.hl div.moduletable .inner {margin: 0 0 0 20px;}
#content.hl.hr  div.moduletable .inner {margin: 0 20px;}
#left div.moduletable .inner{margin: 0 20px 0 0;}
#right div.moduletable .inner{margin: 0 0 0 20px;}/**/

ol, p, pre, blockquote, ul, dl, dt, dd  {
  line-height:1.5; margin: 1.5em 0;
}

.moduletable ol:last-child, .moduletable p:last-child, .moduletable pre:last-child, .moduletable blockquote:last-child, 
.moduletable ul:last-child, .moduletable dl:last-child, .moduletable dt:last-child, .moduletable dd:last-child {}

.spotlight .moduletable ol:last-child, .spotlight .moduletable p:last-child,
.spotlight .moduletable pre:last-child, .spotlight .moduletable blockquote:last-child, 
.spotlight .moduletable ul:last-child, .spotlight .moduletable dl:last-child, 
.spotlight .moduletable dt:last-child, .spotlight .moduletable dd:last-child {/*margin-bottom: 0*/}

.item-page ol:last-child, .item-page p:last-child, .item-page pre:last-child, .item-page blockquote:last-child, 
.item-page ul:last-child, .item-page dl:last-child, .item-page dt:last-child, .item-page dd:last-child {/*margin-bottom: 0*/}

.contents p,
.contents ul {margin: 0.75em 0 !important}

.moduletable ul.menu {margin: 1.5em 0 !important; padding:0}
.moduletable.hilite ul.menu {margin:0 !important}
.moduletable ul.menu li {padding:0}

#content-top ol:last-child, #content-top p:last-child, #content-top pre:last-child, #content-top blockquote:last-child, 
#content-top ul:last-child, #content-top dl:last-child, #content-top dt:last-child, #content-top dd:last-child {/*margin-bottom: 1.5em*/}

dt, dd {
  margin-top: 0 !important;
  margin: 0; font-weight:normal;
}

small, .small {
    font-size: 11px;
  /*line-height:1.66;
  margin: 1.66em 0;*/
}

div.registration h1, div.login h1 {margin-bottom:10px !important;}

h1, h2, h3, h4, h5, .moduletable h3 { color:#111;}
h1, .column h1, .typo-column h1 {font-size:28px; line-height:1.285; margin:0.642em 0; letter-spacing: -0.04em;}
h2, .column h2, .typo-column h2 {font-size:24px; line-height:1.5; margin: 0.75em 0; letter-spacing: -0.035em;}
h3, .column h3, .typo-column h3 {font-size:20px; line-height:1.8; margin:0.9em 0; letter-spacing: -0.03em;}
h4, .column h4, .typo-column h4 {font-size:16px; text-transform:none; line-height:1.125; margin:1.125em 0; letter-spacing: -0.01em;}
h5, .column h5, .typo-column h5 {font-size:14px;line-height:1.285;margin:1.285em 0;}

.blog h2 {padding: 0;}
.blog h2 a {margin:0;padding:0;background:none; color: #111;}
body.dark .blog h2 a { color: #eee;}

.blog .items-row.cols-2 h2,
.blog .items-row.cols-3 h2,
.blog .items-row.cols-4 h2 {font-size:16px; text-transform:none; line-height:1.125; margin:1.125em 0; letter-spacing: -0.01em;}

.blog-featured h1:first-child, .item-page h1:first-child, .contact h1:first-child, .blog h1:first-child,
.componentheading, div.search h1:first-child, div.registration h1:first-child, div.login h1:first-child {
  /*font-weight: 300 !important;*/
    margin: 0 !important;
    padding: 0 !important;
  line-height: 1.894;
  font-size: 19px;
    text-transform: uppercase;  
  letter-spacing: -0.03em;
  font-weight:normal;
}

.contact h1, div.search h1, div.registration h1, div.login h1 {margin-top: 0 !important; }

.item-page h1, .blog h1, .contact h1, div.search h1, div.registration h1, div.login h1 {}
 
/* module styling */
div.moduletable {
    margin-bottom: 1.5em; margin-top: 1.5em;
    padding: 0;
    position: relative;
}
div.moduletable .inner {position:relative;}
div.moduletable .box-ct {width: 100%}
div.moduletable h3 {
  text-transform:uppercase;
  line-height: 1.894;
  font-size: 19px;
  padding: 0;
  margin: 0;
  font-weight:300 !important;
  letter-spacing: -0.03em;
}

div.moduletable span.mod-desc {
  font-size:12px;line-height:1.5; 
  /*font-weight: 300;*/ color:#666;
  display:block;
  margin: /*-0.75em 0 2.25em*/ -0.75em 0 0 /*1.5em*/
}

/* TipTip CSS  */
#tiptip_holder {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99999;
}

#tiptip_holder.tip_top {
  padding-bottom: 5px;
}

#tiptip_holder.tip_bottom {
  padding-top: 8px;
}

#tiptip_holder.tip_right {
  padding-left: 5px;
}

#tiptip_holder.tip_left {
  padding-right: 5px;
}

#tiptip_content {
  font-size: 11px;
  color: #fff;
  text-shadow: 0 0 2px #000;
  padding: 4px 8px;
  /*border: 1px solid rgba(255,255,255,0.25);*/
  background-color: rgb(25,25,25);
  background-color: rgba(25,25,25,0.92);
  background-image: gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000));
  background-image: -o-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000));
  background-image: -ms-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000));
  background-image: -moz-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000));
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000));
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
}

#tiptip_arrow, #tiptip_arrow_inner {
  position: absolute;
  border-color: transparent;
  border-style: solid;
  border-width: 6px;
  height: 0;
  width: 0;
}

#tiptip_holder.tip_top #tiptip_arrow {
  border-top-color: rgb(30,30,30);
  border-top-color: rgba(30,30,30,0.92);
}

#tiptip_holder.tip_bottom #tiptip_arrow {
  border-bottom-color: rgb(25,25,25);
  border-bottom-color: rgba(25,25,25,0.92);
}

#tiptip_holder.tip_right #tiptip_arrow {
  border-right-color: rgb(30,30,30);
  border-right-color: rgba(30,30,30,0.92);
}

#tiptip_holder.tip_left #tiptip_arrow {
  border-left-color: rgb(25,25,25);
  border-left-color: rgba(25,25,25,0.92);
}

#tiptip_holder.tip_top #tiptip_arrow_inner {
  margin-top: -7px;
  margin-left: -6px;
  border-top-color: rgb(25,25,25);
  border-top-color: rgba(25,25,25,0.92);
}

#tiptip_holder.tip_bottom #tiptip_arrow_inner {
  margin-top: -5px;
  margin-left: -6px;
  border-bottom-color: rgb(25,25,25);
  border-bottom-color: rgba(25,25,25,0.92);
}

#tiptip_holder.tip_right #tiptip_arrow_inner {
  margin-top: -6px;
  margin-left: -5px;
  border-right-color: rgb(25,25,25);
  border-right-color: rgba(25,25,25,0.92);
}

#tiptip_holder.tip_left #tiptip_arrow_inner {
  margin-top: -6px;
  margin-left: -7px;
  border-left-color: rgb(25,25,25);
  border-left-color: rgba(25,25,25,0.92);
}

/* Webkit Hacks  */
@media screen and (-webkit-min-device-pixel-ratio:0) {  
  #tiptip_content {
    padding: 4px 8px 5px 8px;
    background-color: rgba(45,45,45,0.88);
  }
  #tiptip_holder.tip_bottom #tiptip_arrow_inner { 
    border-bottom-color: rgba(45,45,45,0.88);
  }
  #tiptip_holder.tip_top #tiptip_arrow_inner { 
    border-top-color: rgba(20,20,20,0.92);
  }
}

/**** Isotope Filtering ****/

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.4s;
     -moz-transition-duration: 0.4s;
      -ms-transition-duration: 0.4s;
       -o-transition-duration: 0.4s;
          transition-duration: 0.4s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:         top, left, opacity;
          transition-property:         transform, opacity;
}

/* disable transforms 
.isotope .isotope-item {
  -webkit-transition-property: top, left, opacity;
     -moz-transition-property: top, left, opacity;
      -ms-transition-property: top, left, opacity;
       -o-transition-property: top, left, opacity;
          transition-property: top, left, opacity;
}*/




/* k2 account */

.k2AccountPage table {
    margin-top: 1.5em;
}
.k2AccountPage th.k2ProfileHeading {    
  background: none;
    font-weight: bold;
    padding: 0; color: #333333;
  font-family: Helvetica, Arial, sans-serif;
}

.k2AccountPage table.admintable td.key, .k2AccountPage table.admintable td.paramlist_key, .k2AccountPage td {background: none; border: 0;}

.k2AccountPage div.k2AccountPageUpdate {
    border-top: 0;
    text-align: left;
  text-indent: 120px;
}

.button2-left {margin:10px 5px 0 0;}
.k2ProfileHeading {}
div.k2AccountPageNotice, div.k2AccountPage #recaptcha, div.k2AccountPage .formRecaptcha {margin-left: 120px;}
.k2AccountPage div.k2AccountPageNotice {
    padding: 8px 0;
}

/* typography */
/* testing vertical rhythm */
#top-wrapper.testvr, #main-wrapper.testvr, 
#bottom-wrapper.testvr {
  background-image: url(../images/underline.png) !important; 
  background-repeat: repeat; background-position: top left;
   
}

/* nav */
.nav{
  list-style:none;
  /* Clear floats */
  float:left;
  width:100%;
  margin: 0 !important;
    padding: 0 !important;  
}
.nav li{
  float:left;
  margin-right:10px;
  position:relative;
  padding:0 !important;background:none !important;
}
.nav a{
  display:block;
  padding:2px 8px;
  background: #FFFFFF;
  text-decoration:none;
  text-shadow: none
}
.nav a:hover{
  color:#fff !important;
  text-decoration:none;
}

/* dropdown */
.nav li ul {
  background: none;  
  list-style:none;
  position:absolute;
  top: 10px;  left:-9999px; 
  opacity:0; filter: alpha(opacity = 0);
  margin-top:0 !important;
  -moz-transition: left 0.0s ease-out 0s, opacity 0.3s ease-out 0.01s, top 0.2s ease-out 0.01s; 
  -webkit-transition: left 0.0s ease-out 0s, opacity 0.2s ease-out 0.01s, top 0.2s ease-out 0.01s; 
  transition: left 0.0s ease-out 0s, opacity 0.3s ease-out 0.01s, top 0.2s ease-out 0.01s;    
}

.browserSafari .nav li ul {-webkit-transition: top 0.2s ease-out 0.01s;}

.nav li:hover ul{ 
  left:0;  top:22px; 
  opacity:1; filter: alpha(opacity = 100);
}

.nav ul li{
  float:none;
}
.nav ul a{
  white-space:nowrap;color:#111; background-image:none; 
  /*here*/height:18px;line-height:18px; 

}

/*.nav li > ul  { left: -55em; position:absolute !important;}
.nav li:hover > ul  { left: 0; position:relative !important;}
*/

.nav li:hover a{ 
  background: #eee; color:#666 !important;
  text-decoration:none !important;
}
.nav li:hover ul a{ 
  text-decoration:none !important; background-image:none; /*here*/ 
}
.nav li:hover ul li a:hover{ 
  background:#999; text-decoration:none !important;
}
.nav li li {z-index:5;}

/* Top Panel */
#panel .nav li, #panel .nav li ul, #panel .nav li li, #panel .nav {width:100%;}

#panel .nav li a {  background: url(../images/arrow-down-white.png) no-repeat 95% center #333;}
#panel .nav li li a {background-image: none !important;}
#panel .nav li a:hover {background: url(../images/arrow-down-white.png) no-repeat scroll 95% center #555;}

#panel .nav li a {  border-radius: 10px; -webkit-border-radius: 10px;}

#panel .nav li a:hover, #panel .nav:hover li a {border-radius: 10px 10px 0 0; -webkit-border-radius: 10px 10px 0 0;}

#panel .nav li li a, #panel .nav:hover li li a {border-radius: 0; -webkit-border-radius: 0;}
#panel .nav li li:last-child a {border-radius: 0 0 10px 10px; -webkit-border-radius:0 0 10px 4px;}

#panel .nav li ul li {border:0;}

#panel .nav li ul li:hover a:hover {  }

#openpanel {
  font-family: Helvetica, Arial, sans-serif; 
    background-image: url(../images/panel.png);
    background-position: left bottom;
    background-repeat: no-repeat;
  position: absolute; top: 9px; right: 10px;
    text-transform: uppercase;
    z-index: 5000;
  width: 16px; height:16px;
  text-indent: -999em;
}
#openpanel:hover{ }
#openpanel.active { background-position: right bottom; }

span#layout-name,
span#color-name,
span#pattern-name {text-transform: capitalize}

#layoutinfo,
#patternsinfo, #themesinfo, 
#fontsinfo, #typoinfo { 
  position:absolute; top: 8px; right:31px;
  background-image: url(../images/panel-dark.png);
    background-position: right top;
    background-repeat: no-repeat;
  width: 16px; height: 16px; 
}

#themesinfo {right:60px}

#layoutinfo:hover,#patternsinfo:hover,
#themesinfo:hover, #fontsinfo:hover, 
#typoinfo:hover {
  background-image: url(../images/panel.png); 
  background-position: right top; 
}

#panel-wrapper {
  position:relative;
  top:0; color:#ccc;
}

#themetype {
  position:absolute; top: 8px; right:81px;
  background-image: url(../images/panel.png);
    background-position: right -32px;
    background-repeat: no-repeat;
  width: 16px; height: 16px; 
}

#panel {
  position: fixed; top: 50px;
  /*height: 42px; width:180px; left:-75px; left:0;*/
  color:#666;
  left:-240px; width:275px;
    z-index: 100;
}

.panel-tools { 
  margin: 0; float:left; position: relative; 
  border: 1px solid #ddd; border-left:0;
  border-radius: 0 20px 20px 0;
  -webkit-border-radius: 0 20px 20px 0;
  background: #fff; padding: 5px; width:290px; color:#999;
}

#panel:hover .panel-tools {}
#panel:hover .panel-tools:hover ul {z-index: 1001}

.panel-tools ul.nav ul {width: 100%;}

#fonts {
  width: 100%; 
}

#fonts > li {height: 22px;}
#fonts > li > ul, #patterns > li > ul {
  border-radius:0 0 5px 5px; -webkit-border-radius:0 0 5px 5px; 
  position:absolute; height: 250px; overflow-x:hidden; overflow-y:auto;
}

#font-name {font-size: 11px; }

#fonts > li:hover > ul {}

#typographyCheck input { margin: 1px 5px 0 5px; padding: 0 0 0 5px;}
#typographyCheck label { }

#styles-panel { width: 235px; padding-right: 35px; }
#fonts-panel { margin-left: -235px; width: 235px; margin-top: 15px }
#patterns-panel { margin-left: -235px; width: 235px; margin-top: 15px }
#layouts-panel { margin-left: -235px; width: 235px; margin-top: 15px }

#typographyCheck {display:none; width: 235px; margin-left: 5px; padding-top: 3px; height: 19px;}

#panel ul.nav li a {  color: #eee; }
#panel ul.nav li:hover li a { color:#eee !important;}
#panel .nav > li a { background: url(../images/arrow-down-white.png) no-repeat 95% center #333;}
#panel .nav > li a:hover { background: url(../images/arrow-down-white.png) no-repeat scroll 95% center #555;}
ul.nav strong { color: #fff; }

#panel .nav li a.default, #panel .nav li ul li.default:hover a:hover,
#panel .nav li a.blue-dark, #panel .nav li ul li.blue-dark:hover a:hover { background-color:#3396c4; color:#fff !important;}

#panel .nav li a.turquoise, #panel .nav li ul li.turquoise:hover a:hover,
#panel .nav li a.turquoise-dark, #panel .nav li ul li.turquoise-dark:hover a:hover{ background-color:#10CDE1; color:#fff !important;}

#panel .nav li a.red, #panel .nav li ul li.red:hover a:hover,
#panel .nav li a.red-dark, #panel .nav li ul li.red-dark:hover a:hover{ background-color:#d80e0e; color:#fff !important;}

#panel .nav li a.brown, #panel .nav li ul li.brown:hover a:hover,
#panel .nav li a.brown-dark, #panel .nav li ul li.brown-dark:hover a:hover{ background-color:#a84f00; color:#fff !important;}

#panel .nav li a.orange, #panel .nav li ul li.orange:hover a:hover,
#panel .nav li a.orange-dark, #panel .nav li ul li.orange-dark:hover a:hover { background-color:#FF6600; color:#fff !important;}

#panel .nav li a.yellow, #panel .nav li a.yellow:hover, #panel ul.nav:hover li a.yellow, #panel .nav li ul li.yellow:hover a:hover,
#panel .nav li a.yellow-dark, #panel .nav li a.yellow-dark:hover, #panel ul.nav:hover li a.yellow-dark, #panel .nav li ul li.yellow-dark:hover a:hover{ background-color:#ECD61A; color:#666 !important;}

#panel .nav li a.green, #panel .nav li ul li.green:hover a:hover,
#panel .nav li a.green-dark, #panel .nav li ul li.green-dark:hover a:hover{ background-color:#74B600; color:#fff !important;}

#panel .nav li a.pink, #panel .nav li ul li.pink:hover a:hover,
#panel .nav li a.pink-dark, #panel .nav li ul li.pink-dark:hover a:hover{ background-color:#f0084f; color:#fff !important;}

#panel .nav li a.purple, #panel .nav li ul li.purple:hover a:hover,
#panel .nav li a.purple-dark, #panel .nav li ul li.purple-dark:hover a:hover{ background-color:#7630AB; color:#fff !important;}

#panel .nav li a.magenta, #panel .nav li ul li.magenta:hover a:hover,
#panel .nav li a.magenta-dark, #panel .nav li ul li.magenta-dark:hover a:hover{ background-color:#AD278C; color:#fff !important;}

/* checking div integrity 
div {background: url(../images/pb3.png) repeat left top;} */

/* gk news show pro */
h4.nspHeader {margin-bottom:0; font-size: 14px; line-height: 1.285; margin-top: 0;/**/ font-weight: 300;}
.moduletable.news h4.nspHeader { padding: 0 15px; }

.nspList { margin: 0 }
.nspList li { padding: 0; background: none }
.nspLinks ul li h4 { margin: 0; font-size: 14px; line-height: 1.285; margin-top: 0; font-weight: 300 }
.nspLinks ul li p {margin-top: 0}
.nspLinks ul li {margin:0 !important}

.nspArt p.nspInfo, #botsl .nspArt p.nspInfo {
    font-size: 10px;
    line-height: 1.8;
    margin: 0;color: #999;
}

div.moduletable_portfolio .nspArtPage, 
div.moduletable_portfolio .nspArtScroll1 {/*width: auto !important*/}
.nspMain {/*margin-top: 1.5em;*/ }

.nspArts, .nspArt div {float:left; margin: 1.5em 0 0}
.nspLinksWrap {margin: 1.5em 0 0}
.nspTopInterface {margin:0;position:absolute; top: 10px; right:0; }

.moduletable.links .nspArts.right .nspTopInterface {width:50%}

.nspArt p, .nspArt div  {margin-top:0; margin-bottom: 1.5em}
.nspArt .nspText  {margin:0; float:none !important;}

body.dark .moduletable.news .nspArt .nspText {background: #333}

/*margin: 0 0 1.5em 0;*/
.moduletable.news .nspArt .nspText {/*margin: 0 0 1.5em 0;*/
  padding: 0.75em 15px; background:#eee;
}
.nspArt:last-child .nspText {/* nspHead chars no more than 1 line */}
.box .nspArt:last-child .nspText {/*margin-bottom: 0 !important;*/}
.nspArt a.readon {font-size:10px;}
.nspArt a.readon.inline {}
.nspArt a.readon.fleft, .nspArt a.readon.fright {line-height: 1.8em; margin: 0 0 1.8em 0}
.nspMain img {}


.nspNext, .nspPrev {
    background: url(../images/nsp-nav-small.png) no-repeat -40px 0 #fff;
    height: 40px;
    width: 40px;
  margin: 0;
  -moz-transition: background 0.4s ease-out 0s; 
  -webkit-transition: background 0.4s ease-out 0s; 
  transition: background 0.4s ease-out 0s;
}
.nspPrev {
    background-position: 0px -40px;
  position:absolute; left: 5px
}

.nspNext {margin-right: 12px}

.nspNext:hover{background-position: 0 0; background-color: #3396C4 !important}
.nspPrev:hover {background-position: -40px -40px; background-color: #3396C4 !important}

.nspPagination {margin: 0 !important;}

.nspPagination li {
  margin: 0 1px 0 0 !important; padding:0;
    background: #ccc;
    cursor: pointer;
    float: left;
    height: 16px;
    margin: 0 1px 0 0 !important;
    text-indent: -999em;
    width: 16px;
}

.moduletable .nspPagination li:hover {background: #222}
.moduletable .nspPagination li.active {background: #3396C4}

.nspImageWrapper {margin: 0 17px 1.5em 0 !important}

.nspArt .nspImageWrapper img { border: 1px solid #ccc; padding: 4px; border-radius: 4px; -webkit-border-radius: 4px; background: #fff; }
body.dark .nspArt .nspImageWrapper img { border: 1px solid #777; background: #666; }
.moduletable.news .nspArt .nspImageWrapper img { background: none; border: 0; padding:0 }

.nspArt img.nspImage {    
    width: 100% !important;
  height: auto !important;
}

/**/
.nspCol2 {width: 50%; }
.nspCol3 {width: 33.33%}
.nspCol4 {width: 25%}

#left .nspArtPage,
#right .nspArtPage,
#left .nspArtScroll1,
#right .nspArtScroll1 {}

/* news module */
.moduletable.news .nspArt div {
    margin: 0 10px 1.5em 0;
}

.moduletable.news.modern .nspArt .nspHeader {position:absolute; top: 5px; left:5px; right: 25px; margin:0;}
.moduletable.news.modern .nspArt p.nspText {position:absolute; bottom: 5px; left:5px; right: 25px; margin:0;}
.moduletable.news.modern .nspArt  { position:relative; }

.moduletable.news .nspArt.nspCol2 { padding: 0 20px 0 0 !important}
.moduletable.news .nspArt.nspCol3 { padding: 0 20px 0 0 !important}
.moduletable.news .nspArt.nspCol4 { padding: 0 20px 0 0 !important}
.moduletable.news .nspArt:last-child  {/*padding: 0 !important*/}
.moduletable.news .nspArtScroll1 {width: 102.2%}

.moduletable.news .nspPrev { left: -1px }
.moduletable.news .nspNext { margin: 0 }
.moduletable.news .nspArt .nspImageWrapper { padding:15px 0 0 15px; border: 0 !important; margin-bottom: 0 !important }
.moduletable.news .nspTopInterface {/*position: absolute;*/ }

.moduletable.news .nspArtScroll1 {}
.moduletable.news .nspPrev {position:relative}

.moduletable.news .nspArt .nspInfo {}
.moduletable.news .nspArt .nspHeader {   
  float: left;
    font-size: 12px;
    text-transform: uppercase;
  margin-top: 1.5em;
}
/* news module */

/* slideshow */
#slideshow {clear:both; width: 100%; overflow: hidden; border-bottom: 1px solid #ddd}
.flex-control-nav li a.flex-active { background: #3396C4 !important}

/* slider */
.label {
    margin: 10% auto 0 auto;
}
h1.big {/*margin-top: 10%*/}
.label_slider {}

@media only screen and (max-width:480px) {.label { margin: 7% auto 0 auto; } }
@media only screen and (min-width:1400px) {.label { margin: 8% auto 0 auto; } }
@media only screen and (min-width:1600px) {.label { margin: 7% auto 0 auto; } }
@media only screen and (min-width:1900px) {.label { margin: 6% auto 0 auto; } }

/* totop link */
div.top-link {
  position: fixed; bottom: 0; right: 0;
  /*border-radius: 20px;
  -webkit-border-radius: 20px;*/
  display: none;
  z-index: 5; float: right;
}

#gototop {
  height: 40px; width: 40px; display:block; 
  background: url(../images/top.png) no-repeat center 4px;
  -moz-transition: background-color 0.2s ease-out 0s, background-position 0.3s ease-out 0.2s;
  -webkit-transition: background-color 0.2s ease-out 0s, background-position 0.3s ease-out 0.2s;
  transition: background-color 0.2s ease-out 0s, background-position 0.3s ease-out 0.2s;
}

body.dark #gototop { background-image: url(../images/top-dark.png); }

#gototop:hover{background-position: center -28px; background-color: #3396C4}

/* social */
#footer-social {float:right; margin: 11px -30px 0 0}
#footer-social p { margin: 2px 30px 0 0}
#header-social {}

.addthis_toolbox.addthis_32x32_style {
  border-radius: 8px 8px 0 0; 
  -webkit-border-radius: 8px 8px 0 0; 
  position: fixed; bottom: 0; right:0; z-index:11; 
  width: auto; right: 50%; margin-right: -94px; 
  padding: 5px 8px 0 8px; background: #fff;
  border:1px solid #ddd; border-bottom: 0
}
.addthis_internal_container {width: auto !important; margin:0; padding:0}
.addthis_toolbox a, 
.addthis_toolbox a {display: inline-block}

/* sbox */
#sbox-overlay {position:fixed; top:0; right:0; bottom:0; left: 0; width: 100% !important; height: auto !important;}

#sbox-window {
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.6);
    border-radius: 10px;
    overflow: visible;
    position: fixed; top: 10% !important;
}
#sbox-window.shadow {
    box-shadow: none;
    -webkit-box-shadow: none;
}

#sbox-btn-close {
    background: url(../images/close.png) no-repeat center center rgb(0,0,0,0);
    background: url(../images/close.png) no-repeat center center rgba(0,0,0,0.7);
    border: 0;
    height: 40px; width: 40px;
    position: absolute;
    right: 10px; top: 10px;
}

#sbox-btn-close:hover {
  background: url(../images/close.png) no-repeat center center #e90000;
} 

/* top social links */
.social-icons {float: right; margin: 5px 1px 0 0;}
.social-icons li {display:inline-block; margin: 0 0 0 1px; padding:0; float:left; background: none}
.social-icons li a {
  display: block; margin: 0; padding:0; width:30px; height:40px;
  -moz-transition: background-color 0.4s ease-out 0s, width 0.4s ease-out 0s; 
  -webkit-transition: background-color 0.4s ease-out 0s, width 0.4s ease-out 0s; 
  transition: background-color 0.4s ease-out 0s, width 0.4s ease-out 0s; 
  background-repeat: no-repeat; background-position: center 8px;
  opacity: 0.5; filter: alpha(opacity=50);
}
.social-icons li a.facebook { background-image: url(../images/facebook.png); }
.social-icons li a.facebook:hover { background-color: #3B5998}

.social-icons li a.twitter {background-image: url(../images/twitter.png); }
.social-icons li a.twitter:hover {background-color: #0099B9}

.social-icons li a.rss {background-image: url(../images/rss.png) }
.social-icons li a.rss:hover {background-color: #FF6600}

.social-icons li a:hover {width: 40px; background-position: 8px -22px; opacity: 1; filter: alpha(opacity=100);}

.flex-control-nav li a.flex-active {cursor: url(../images/arrow.cur), default;}

/* cool new login */
#div-overlay {background: url(../images/pb.png) repeat top left; position:fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 200; display:none; }

#login-wrapper {
  padding: 5px;
  z-index:201;
  width: 100%;
  position: fixed; width: 280px;
  top: -300%; left: 50%; margin-left: -140px
}

#login-wrapper-div { overflow:hidden; width: 280px;   }

#dnp-login {
  overflow:hidden;
  /*width: 280px; padding:0; margin: 0 auto;*/
}

#openlogin { text-indent: -999em;
  /*position:absolute; padding: 0; top: 2px; right: 0;*/
  float:right; 
  background: url(../images/user.png) no-repeat center 8px; 
  width: 30px; height: 40px; z-index: 15;
  -moz-transition: background-color 0.4s ease-out 0s, width 0.4s ease-out 0s; 
  -webkit-transition: background-color 0.4s ease-out 0s, width 0.4s ease-out 0s; 
  transition: background-color 0.4s ease-out 0s, width 0.4s ease-out 0s; 
  margin-top:5px;
  opacity: 0.5; filter: alpha(opacity=50);
}

#openlogin.active, #openlogin:hover { 
  background: #74B600 url(../images/user.png) no-repeat center -22px  !important;
  opacity: 1; filter: alpha(opacity=100); 
  width: 40px; 
}  

#openlogin:hover, #openlogin.active { /*background-position: left center; border-right: 5px solid #74B600;*/}

#login-wrapper a.button, #login-wrapper button.button, #login-wrapper input.button {
  line-height:14px;
  color: #fff;
  -webkit-box-shadow: none;  
  box-shadow: none;
  filter:none;
  background: #333;
  border: 1px solid #999;
  -moz-transition: -moz-box-shadow 0.5s ease 0s;
  -webkit-transition: -webkit-box-shadow 0.5s ease 0s;
  transition: box-shadow 0.5s ease 0s;  
  text-shadow:none;
}

#login-wrapper .button.validate {background:#3D9BD3; border: 1px solid #ccc;}
#login-wrapper .button.validate:hover, #login-wrapper .button.validate:focus {background:#5CC91A; border: 1px solid #fff;}

#login-wrapper p {margin:0}
 
#login-wrapper input.button:hover, 
#login-wrapper a.button:hover, 
#login-wrapper button.button:hover {
  filter:none; 
   background: #666;
  border:1px solid #999;
  box-shadow: 0 0 2px #fff;
  -webkit-box-shadow: 0 0 2px #fff;
}

#loginButtons {float:left; margin-top:15px;}
#loginButtons input.button {background: #e90000}

#login-wrapper input.button:focus, #login-wrapper a.button:focus {}
#login-form input.inputbox {padding: 7px 3px !important}

#login-wrapper .inputbox,
#login-wrapper input[type="email"],
#login-wrapper input[type="text"],
#login-wrapper input[type="password"],
#login-wrapper .validate-username, #login-wrapper .validate-password {
    background: transparent; border: 1px solid #999;
    box-shadow: none;  -webkit-box-shadow: none;
    color: #aaa;
  width: 250px; padding: 3px; margin:0; font-weight: normal;
  -moz-transition: all 0.5s ease 0s;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

#loginButtons a.button {
    padding: 4px 8px 3px  !important;
}

.browserSafari #loginButtons a.button {padding: 5px 8px 4px  !important;}
.browserSafari #loginButtons a.button,
.browserChrome #loginButtons a.button {line-height: 15px;}

#login-wrapper #member-registration div {margin-top:15px}

#login-wrapper #member-registration,
#login-wrapper #login-form  { width: 280px; padding:0 }

#login-wrapper .mod-login-form fieldset dt { width: 250px; font-style: normal}

#login-wrapper fieldset {border:0; padding:0; }
#login-wrapper #member-registration fieldset { margin:0; }
#login-wrapper label { color: #ccc}
#login-wrapper label.invalid { color: #e90000}

#login-wrapper legend,
#login-wrapper span.text {display: none}

#login-wrapper #member-registration {display: none; }
#member-registration strong{color: #fff; }
#login-wrapper #login-form  {display: block; }

.mod-login-form fieldset dt {width: 100%;}
.mod-login-form fieldset dt, .mod-login-form fieldset dl dd {padding:0}

#recaptcha_area, #recaptcha_table {
    background: none !important;
}

#login-wrapper .recaptchatable, #login-wrapper #recaptcha_area tr, 
#login-wrapper #recaptcha_area td, #login-wrapper #recaptcha_area th {
    background: none !important;
}

#login-wrapper #recaptcha_image img {width: 250px !important; border-radius: 3px; -webkit-border-radius: 3px;}
#login-wrapper  div.recaptcha_input_area {margin-left: 0 !important}
#login-wrapper  .recaptcha_r3_c1,
#login-wrapper  .recaptcha_r2_c1 {display:none}

#recaptcha_response_field {color:#666 !important; background: #fff}

#member-registration fieldset {position:relative;}
span.spacer{position:absolute; top: 0; right:0;}
span.text{color: #999; font-size: 10px;}

#login-wrapper #recaptcha_area {margin-bottom: 1.5em; clear: both; width: 318px !important;}
#member-registration .recaptchatable label.recaptcha_input_area_text {line-height: 1.5 }
.loginToggleDiv {position: absolute; right: 0; top: 2px;}

.registration fieldset dt, .registration fieldset dd {
    min-height: 31px; 
    padding: 5px 0 5px 0;
}

.registration fieldset dt {min-width: 180px;margin-right: 5px;}

#login-wrapper input[type="email"]:hover,#login-wrapper input[type="email"]:focus,
#login-wrapper input[type="text"]:hover,#login-wrapper input[type="text"]:focus,
#login-wrapper input[type="password"]:hover,#login-wrapper input[type="password"]:focus,
#login-wrapper .inputbox:hover, #login-wrapper .validate-username:hover, #login-wrapper .validate-password:hover,
#login-wrapper .inputbox:focus, #login-wrapper .validate-username:focus, #login-wrapper .validate-password:focus
{ background: #000; color: #ccc; box-shadow: 0 0 2px #fff; -webkit-box-shadow: 0 0 2px #fff; }


#login-wrapper  {  }
#login-wrapper div.moduletable {margin: 20px 10px 0 10px; }

#login-wrapper h3 {color: #fff;  font-size: 12px; line-height: 1.7; font-weight: 400 !important;}

/* feedback */
#feedback-wrapper {
  padding: 5px;
  z-index:201;
  width: 100%;
  position: fixed; width: 280px;
  top: -300%; left: 50%; margin-left: -150px
}

#feedback-wrapper-div { overflow:hidden; width: 280px;   }

#dnp-feedback {
  overflow:hidden;
  /*width: 280px; padding:0; margin: 0 auto;*/
}

#openfeedback { text-indent: -999em;
  /*position:absolute; padding: 0; top: 2px; right: 0;*/
  float:right; 
  background: url(../images/feedback.png) no-repeat center 8px; 
  width: 30px; height: 40px; z-index: 15;
  -moz-transition: background-color 0.4s ease-out 0s, width 0.4s ease-out 0s; 
  -webkit-transition: background-color 0.4s ease-out 0s, width 0.4s ease-out 0s; 
  transition: background-color 0.4s ease-out 0s, width 0.4s ease-out 0s; 
  margin-top:5px;
  opacity: 0.5; filter: alpha(opacity=50);
}

#openfeedback.active, #openfeedback:hover { 
  background: #e90000 url(../images/feedback.png) no-repeat center -22px !important;
  opacity: 1; filter: alpha(opacity=100); 
  width: 40px; 
}  

#openfeedback:hover, #openfeedback.active { /*background-position: left center; border-right: 5px solid #74B600;*/}

#feedback-wrapper input.button {
  line-height:14px;
  color: #fff;
  -webkit-box-shadow: none;  
  box-shadow: none;
  filter:none;
  background: #333;
  border: 1px solid #999;
  text-shadow:none;
  width: 197px !important;
  float:right
}

#feedback-wrapper input.button:hover {
  filter:none; 
   background: #666;
  border:1px solid #999;
  box-shadow: 0 0 2px #fff;
  -webkit-box-shadow: 0 0 2px #fff;
}

#feedback-wrapper input.button:focus {}
#feedback-form input.inputbox {padding: 7px 3px !important}

#feedback-wrapper .inputbox,
#feedback-wrapper input[type="text"],
#feedback-wrapper textarea {
    background: transparent; border: 1px solid #999;
    box-shadow: none;  -webkit-box-shadow: none;
    color: #aaa;
  width: 190px; max-width: 190px;
  padding: 3px; margin:0; font-weight: normal;
  -moz-transition: all 0.5s ease 0s;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

#feedback-wrapper form  { width: 280px; padding:0 }
#feedback-wrapper table , #feedback-wrapper td  { border: 0; color: #ccc }

#feedback-wrapper input[type="text"]:hover,#feedback-wrapper input[type="text"]:focus,
#feedback-wrapper textarea:hover,#feedback-wrapper textarea:focus,
#feedback-wrapper .inputbox:hover, 
#feedback-wrapper .inputbox:focus
{ background: #000; color: #ccc; box-shadow: 0 0 2px #fff; -webkit-box-shadow: 0 0 2px #fff; }


#feedback-wrapper  {  }
#feedback-wrapper div.moduletable {margin: 20px 10px 0 10px; }

#feedback-wrapper h3 {color: #fff;  font-size: 12px; line-height: 1.7; font-weight: 400 !important;}

#feedback-wrapper div.rapid_contact  {margin: 1.5em 0}

/* rokajaxsearch */
#roksearch_results .roksearch_header, #roksearch_results .roksearch_row_btm {color:#fff}
#roksearch_results a#roksearch_link {background: url(../images/close-small.png) no-repeat center center #000}
#roksearch_results a#roksearch_link:hover {background: url(../images/close-small.png) no-repeat center center #e90000}
#roksearch_results .arrow-left {background: url(../images/arrow-w2.png) no-repeat center center}
#roksearch_results .arrow-right {background: url(../images/arrow-w.png) no-repeat center center}
#roksearch_results h3 {font-size:14px; color:#eee; font-family: Helvetica, Verdana, sans-serif}
#roksearch_results .roksearch_odd-hover h3, #roksearch_results .roksearch_even-hover h3 {background: url(../images/arrow-w.png) no-repeat 0 4px}

/* acy mailing*/
.acymailing_introtext {margin: 1.5em 0; float:left; clear:both}

.acymailing_form {margin: 0 0 1.5em !important; float:left}
.acymailing_form td {padding-left:0}

.acysubbuttons {text-align:left;}

/* a links */
#content a, #top-wrapper a, #bottom-wrapper a { text-shadow: 1px 1px #fff}
a {text-decoration:none; color: #3396c4; }
a:hover,a:focus,a:active {text-decoration:none; color: #333;}

/* general dark theme */
body.dark {color: #c1c1c1; background-color: #222 !important}
body.dark #header { background: rgb(34,34,34); background: rgba(0,0,0,0.3); }

body.dark #mainnav-wrapper {background: url(../images/mainnav-dark.png) repeat-x left bottom #444 }

body.dark #slideshow {background: #333; border-bottom: 1px solid #444}
body.dark .flexslider {background: #222; }

body.dark div.catItemExtraFields.portfolio ul li span.catItemExtraFieldsLabel,
body.dark div.moduletable h3, body.dark strong, body.dark h1, 
body.dark h2, body.dark h3, body.dark h4, body.dark h5 {color: #fff}
body.dark div.moduletable span.mod-desc {color: #999}
body.dark #content a, body.dark #top-wrapper a, body.dark #bottom-wrapper a { text-shadow: 1px 1px #333}
body.dark a:hover {color: #fff}

body.dark .panel-tools {background-color: #333; border: 1px solid #555; border-left:0}

body.dark #patternsinfo, body.dark #themesinfo, body.dark #fontsinfo, body.dark #typoinfo {}
body.dark #openpanel { background-image: url(../images/panel-dark.png) }

body.dark #themetype { background-image: url(../images/panel-dark.png) }

body.dark input[type="text"], body.dark input[type="email"], 
body.dark input[type="password"], body.dark textarea { background-color: rgb(51,51,51); background-color: rgba(20,20,20,0.6); border-color:#555; color: #999; }

body.dark input[type="text"]:hover, body.dark input[type="text"]:focus, 
body.dark input[type="email"]:hover, body.dark input[type="email"]:focus, 
body.dark input[type="password"]:hover, body.dark input[type="password"]:focus, 
body.dark textarea:hover, body.dark textarea:focus { background-color: #222; border-color:#999; color: #eee; }

body.dark #search .inputbox {background-color: #333; border-color:#555; color: #999; background-image: url(../images/search-icon-dark.png);}
body.dark #search .inputbox:focus, body.dark #search:hover .inputbox {  background-color: #222; border: 1px solid #999; color: #eee; }

body.dark .pagination ul li span.pagenav, body.dark .pagination ul li a.pagenav, body.dark ul.pagenav li a,
body.dark div.k2Pagination ul li span, body.dark div.k2Pagination ul li a {background-color: #666; color: #ccc}

body.dark div.k2Pagination ul li a, body.dark .pagination ul li a.pagenav, body.dark ul.pagenav li a {}

body.dark ul.pagenav li a:hover, body.dark ul.pagenav li a:focus,
body.dark div.k2Pagination ul li a:hover, body.dark div.k2Pagination ul li a:focus {background: #111}

body.dark div.k2Pagination ul li span:hover, body.dark .pagination ul li span.pagenav:hover {background: #222}

body.dark .breadcrumbs a {background: url(../images/arrow-w.png) no-repeat right 3px;}
body.dark .breadcrumbs span { color: #999 }
body.dark .breadcrumbs span.showHere { color: #eee }

body.dark .readmore a { background: #666 url(../images/readmore.png) no-repeat 5px bottom; color:#ccc;}


/* dark nsp */

body.dark .nspPagination li {background-color:#333}
body.dark .moduletable .nspPagination li:hover {background-color:#111}
body.dark .flex-direction-nav li a, 
body.dark .nspNext, body.dark .nspPrev { background-color:#666; background-image: url(../images/nsp-nav-small-dark.png); }

/* dark flexslider */
body.dark .flex-control-nav li a {background-color:#222}
body.dark .flex-direction-nav li a { background-image: url(../images/nsp-nav-small-dark.png); }

body.dark #openfeedback, body.dark #openlogin,
body.dark .social-icons li a {opacity: 0.8; background-position: 8px -22px}


/* logo */
h1.logo {
  margin: 0; padding:0; float:left; width: 175px; height: auto;
}
h1.logo a {
  display:block; padding: 5px 0; /* <- adjust the padding here if needed */
  width: 177px; height: 67px; /* <- update width and height here according to your logo */
  background: url(../images/logo.png) no-repeat left center;
}

body.dark h1.logo a {
  background: url(../images/logo-dark.png) no-repeat left center;
}

/* Begin Added Custom Styles */

.display {
  background-image: url(../images/display.png);
  background-repeat: no-repeat;
  background-position: center center;
  width: 180px;
  height: 126px;
  margin: auto;
}

.display img{
  margin: 4px 0 0 20px;
}

.tourbulls li{
  margin:10px 5% 0 5px;
  }

.sidequote {
  font-size: 24px;
  line-height: 30px;
  margin-top: 45px;
  margin-bottom: 0;
  }
  
  /*rsform validation**/
  #usermessage,#emailmessage,#passmessage{
	font-weight:bold;
	color:red;
  }