/*
 */
/* Form ---------------------------------*/
select,textarea,input[type="text"],input[type="password"],input[type="url"],input[type="email"] {
  border: 1px solid #e7e7e7;
  border-top-color: #ccc;
  height: 32px;
  line-height: 32px;
  padding: 2px 9px;

  -webkit-box-shadow: inset 0 2px 4px #eee;
  -moz-box-shadow: inset 0 2px 4px #eee;
  box-shadow: inset 0 2px 4px #eee;

  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

textarea {
  height: auto;
}

select {
  padding: 2px;
}

input[type="text"]:focus,input[type="password"]:focus,input[type="url"]:focus,input[type="email"]:focus,textarea:focus {
  background: #fffef4;
}

button,.button,input[type="submit"],input[type="button"],.pagenav-prev a,.pagenav-next a {
  display: block;
  float: left;
  height: 32px;
  line-height: 34px;
  margin: 0 5px 2px 2px;
  padding: 0 12px;
  border: none;
  background: #d35209;
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;
  color: #fff !important;
  cursor: pointer;

  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

button:hover,.button:hover,input[type="submit"]:hover,input[type="button"]:hover,.pagenav-prev a:hover,.pagenav-next a:hover {
  background: #252525 !important;
  color: #fff;
}

input[type=checkbox],.checkbox,input[type=radio],.radio {
  height: auto !important;
  background: transparent !important;
  border: none !important;
  margin-top: 7px;
}

select[size] {
  height: auto;
}

select[size="1"] {
  height: 32px !important;
}

.invalid {
  background: #fffef4;
  border: 1px dashed #d35209;
  color: #000;
}

label {
  font-size: 13px;
}

label.invalid {
  color: #ea3c3c;
  background: #fff;
  border: none;
}

legend.hidelabeltxt {
  display: none;
}

fieldset.filters {
  margin-bottom: 20px;
}

fieldset.filters > div > * {
  float: left;
  margin-right: 10px;
}

fieldset.filters > div > select {
  margin-top: 4px;
}

/* Common */
section article {
  margin-top: 20px;
}

section article:first-child {
  margin-top: 0;
}

section > header {
  margin: 0 0 20px 0;
  padding: 0;
}

section > header h1 {
  font-size: 32px;
  line-height: 32px;
}

section > header h2 {
  font-size: 24px;
}

section > header h2 small {
  font-size: 20px;
  color: #666;
}

section > header div img {
  float: left;
  margin: 0 20px 20px 0;
}

section > header div p {
  font-size: 11px;
}

section img {
  /* to avoid problems with too big images in category/blog view */
max-width: 100% !important;
  height: auto !important;
}

/* Categories list */
section.categories-list ul {
  clear: both;
}

section.category .children,section.blog .children {
  clear: both;
  margin-top: 32px;
}

section.categories-list ul ul {
  padding-left: 18px;
}

section.categories-list ul ul li a {
  font-size: 12px;
}

section.categories-list li,section.category .children li,section.blog .children li {
  list-style: inside;
  clear: both;
  margin-top: 10px;
  overflow: hidden;
  padding-left: 10px;
}

/* category title */
section.categories-list li > a,section.category .children li > a,section.blog .children li > a {
  font-size: 14px;
}

/* category desc */
section.categories-list li > div p,section.category .children li > div p,section.blog .children li > div p {
  color: #999;
  font-size: 11px;
  line-height: 1.2;
  margin: 0;
}

/* category items counter */
section.categories-list li > dl,section.category .children li > dl,section.blog .children li > dl {
  font-size: 10px;
  margin: 0;
}

section.categories-list li > dl > dt,section.category .children li > dl > dt,section.blog .children li > dl > dt {
  float: left;
}

section.categories-list li > dl > dd,section.category .children li > dl > dd,section.blog .children li > dl > dd {
  float: left;
  font-weight: bold;
  margin-left: 5px;
}

/* Category */
/* Information showed if no items in category */
section.category .children h3,section.blog .children h3 {
  font-size: 24px;
  line-height: 24px;
  margin: 20px 0;
}

/* filters */
.filters .hidelabeltxt {
  display: none;
}

.filters .display-limit {
  float: right;
}

.filters .display-limit select {
  display: inline !important;
  float: none;
}

/* tables */
table {
  width: 100%;
}

th {
  padding: 6px 10px;
  border-bottom: 4px solid #F47C38;
  border-top: 1px solid #eee;
  font-size: 20px;
  font-weight: normal;
  text-align: left;
}

th a {
  color: #fff;
}

tbody tr td {
  border-bottom: 1px solid #eee;
  border-left: 1px solid #eee;
  padding: 6px 10px;
}

tbody tr td:first-child {
  border-left: none;
}

tbody tr.cat-list-row0 td {
  background: #f9f9f9;
}

tbody tr.cat-list-row1 td {
  background: #fff;
}

/* Blog */
section.blog .leading {
  margin-bottom: 20px;
}

section.blog .items-row {
  clear: both;
  margin-bottom: 20px;
  overflow: hidden;
}

section.blog .items-row article header li {
  border: none;
  padding: 0 0 3px;
}

section.blog .items-row.cols-2 article > time,section.blog .items-row.cols-3 article > time,section.blog .items-row.cols-4 article > time,section.blog .items-row.cols-5 article > time {
  display: none;
}

section.blog .items-row.cols-2 article > header,section.blog .items-row.cols-3 article > header,section.blog .items-row.cols-4 article > header,section.blog .items-row.cols-5 article > header {
  margin-left: 0;
}

section.blog .items-more {
  clear: both;
}

section.blog .items-more h3 {
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 20px;
}

section.blog .items-more ol {
  margin-top: 0;
}

/* Articles */
article {
  position: relative;
}

article time {
  display: block;
  float: left;
  font-size: 16px;
  margin-right: 16px;
  padding: 5px 10px;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  width: 64px;
}

article header {
  margin-bottom: 15px;
}

article time + header {
  margin-left: 100px;
}

article header h1 {
  line-height: 50px;
  margin: 0 0 1px;
}

article header h2 {
  line-height: 15px;
}

article header ul {
  position: relative;
  overflow: hidden;
  padding: 12px 0 !important;
  border-top: 1px solid #eee;
  border-bottom: 2px solid #d20309!important;
}

article header li {
  list-style: none;
  border-left: 1px solid #eee;
  float: left;
  margin-right: 10px;
  padding-left: 10px;
  line-height: 16px;
}

article header li:first-child {
  border-left: none;
  padding-left: 0;
}

article header + div,article header + p {
  clear: both;
}

.img-intro-none {
  float: none;
}

.img-intro-none img {
  margin: 0 auto;
  float: none !important;
}

.img-intro-left {
  float: left;
  margin: 0 20px 20px 0;
}

.img-intro-right {
  float: right;
  margin: 0 0 20px 20px;
}

.img-fulltext-none {
  float: none;
}

.img-fulltext-none img {
  margin: 0 auto;
}

.img-fulltext-left {
  float: left;
  margin: 0 20px 20px 0;
}

.img-fulltext-right {
  float: right;
  margin: 0 0 20px 20px;
}

.img_caption {
  font-style: italic;
  margin: 0;
  text-align: center;
}

.item-page ul {
  list-style-type: disc !important;
  list-style-position: inside !important;
  padding-left: 16px;
}

/* User */
section.login .login-fields {
  padding-bottom: 10px;
}

.profile-edit legend {
  font-size: 24px;
  color: #252525;
}

/* Contact */
.contact-image {
  border: 1px solid #eee;
  float: right;
  padding: 3px;
}

dt.inline {
  float: left;
}

.contact h3 {
  margin: 32px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #eee;
}

/* Newsfeed */
/* IFrame */
section.contentpane iframe {
  border: 1px solid #eee;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

/* tooltips */
.tip {
  max-width: 350px;
  padding: 3px;
  border: 1px solid #eee;

  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background: #fff;
}

.tip-title {
  background: #333;
  color: #fff;
  line-height: 20px;
  padding: 0 5px;

  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.tip-text {
  color: #555;
  font-size: 10px;
}

/* System messages */
#system-message dt {
  display: none;
}

#system-message dd ul {
  list-style: none !important;
}

#system-message dd {
  border: 2px dashed #eee;
  padding: 12px;
  color: #252525;
  font-size: 16px;
  text-align: center;
  margin: 0 25px;
}

#system-message dd.notice {
  border-color: #536d9b;
  color: #536d9b;
}

#system-message dd.error {
  border-color: #E92424;
  color: #E92424;
}

#system-message-container {
  padding: 10px 0;
}

/* Pagination */
.pagination {
  clear: both;
  margin: 48px 0 32px;
}

.pagination ul {
  border-top: 1px solid #eee;
}

.pagination ul li {
  display: inline-block;
}

.pagination ul li a,.pagination ul li span,.pagination-prev span,.pagination-prev a {
  display: block;
  width: 32px;
  height: 14px;
  line-height: 14px;
  padding: 8px 6px 6px;
  border-right: 1px solid #e5e5e5;
  cursor: pointer;
  text-align: center;
}

li.counter {
  float: right;
}

.pagination-start span.pagenav,.pagination-end span.pagenav,.pagination-prev span.pagenav,.pagination-next span.pagenav {
  color: #ccc !important;
  cursor: default;
}

.pagination-start span,.pagination-prev span,.pagination-next span,.pagination-end span {
  border-right: 1px solid #eee !important;
}

.pagenav {
  overflow: hidden;
  padding-left: 0 !important;
}

.pagenav .pagenav-prev,.pagenav .pagenav-next {
  display: block;
}

.pagenav .pagenav-prev {
  float: left;
}

.pagenav .pagenav-next {
  float: right;
}

/* Register */
#member-registration dt,#member-registration dd {
  display: inline-block;
  padding-bottom: 10px;
}

#member-registration dt {
  min-width: 170px;
}

#member-registration dd {
  min-width: 200px;
}

#member-registration dd:after {
  content: '\A';
  white-space: pre;
}

#gkMainbody .registration {
  width: 500px;
}

/* Banners ----------------------*/
.bannergroup:first-line,.bannergroup_text:first-line {
  font-size: 14px;
  color: #333;
}

div.banneritem {
  border-top: 1px solid #f0f0f0;
  padding: 8px 0;
  font-size: 11px;
  color: #999;
}

div.banneritem a {
  font-size: 13px;
}

div.bannerfooter {
  border-top: 1px solid #f0f0f0;
  font-size: 11px;
  font-style: italic;
  padding-top: 5px;
  text-align: right;
}

/* Social API */
#gkSocialAPI {
  border-top: 4px solid #D35209;
  margin: 20px 0 10px 0;
  padding: 10px 0;
}

/* reCAPTCHA */
#dynamic_recaptcha_1,#recaptcha_area {
  margin-bottom: -30px;
  max-width: 480px;
  min-height: 112px;
}

#gkMainbody #dynamic_recaptcha_1,#gkMainbody #recaptcha_area {
  margin-bottom: 10px;
}

/* Page break ---------------------------------*/
.pane-sliders .panel h3 {
  border-bottom: 1px solid #dedede;
}

.pagenavcounter {
  font-style: italic;
}

#article-index {
  float: right;
  margin: 0 0 30px 30px;
  width: 240px;
}

#article-index h3 {
  border-bottom: 4px solid #cb4900;
}

#article-index li {
  border-top: 1px solid #eee;
}

#article-index li:first-child {
  border-top: none;
  margin-top: 10px;
}

dl#tabs {
  height: 52px;
  padding: 0;
  background: #eee;
}

dl#tabs dt.tabs {
  float: left;
}

dl#tabs dt.tabs span h3 {
  float: left;
  padding: 0 20px;
  height: 52px;
  line-height: 53px;
  list-style-type: none;
  background: none;
  border: none;
  color: #888;
  font-size: 15px;
  text-transform: uppercase;
}

dl#tabs dt.tabs h3:hover {
  color: #cb4900;
  cursor: pointer;
}

dl#tabs dt.tabs.open h3 {
  background: #fbfbfb;
  color: #252525;
}

/* Search & smart search ------------------------*/
#searchForm label,#searchForm input {
  float: left;
  margin: 0 8px 0 0;
}

#searchForm fieldset,.search-results dt {
  margin: 12px 0 0;
  padding: 12px 0;
  border-top: 1px solid #eee;
}

#searchForm fieldset.word {
  border: none;
  background: #f9f9f9;
  padding: 20px;

  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

#searchForm fieldset legend {
  color: #252525;
}

.search-results dd {
  font-size: 13px;
}

.advanced-search-tip {
  background: #f0f0f0;
  font-size: 11px;
  padding: 12px 20px;
}

.advanced-search-tip p {
  margin: 0;
}

#finder-filter-select-list label {
  float: left;
  font-size: 12px;
  min-width: 140px;
  line-height: 30px;
  clear: both;
}

#finder-filter-select-list li {
  padding: 0 0 5px 0;
  overflow: hidden;
}

.autocompleter-queried {
  color: #cb4900 !important;
}

#___plusone_0 {
  float: left !important;
  margin-right: 10px !important;
}
