/**
 * Common Block
 */

/* --- Blocks --- */
.block {
  margin: 0;
}

.block-inner {
  padding: 0;
}

.block-title {
  color: #333;
  font-size: 2em;
  font-weight: 100;
  text-transform: uppercase;
}

.block-content .node-content{
	/*  min-height: 100px;*/
}

/* --- Block Lists --- */
.block ul li {
  margin: 0 0 0 0.5em;
}

/* Block Item list */
.block.block-comment .item-list ul li {
	background: none;
	border-bottom: solid 1px #ddd;
	padding: 0px 0px 10px 0px;
	margin: 0px 0px 10px 0px;
}

.block.block-comment .item-list ul li a {
	color: #333333;
	font-weight: bold;
	font-size: 1.083em;
}

.block.block-comment .item-list ul li a:hover,
.block.block-comment .item-list ul li a:focus,
.block.block-comment .item-list ul li a:active {
	color: #f04d4d
}

.block.block-comment .item-list ul li span {
	display: block;
	color: #999999;
	font-size: 0.917em;
	margin-bottom: 0.5em;
}

/* Block More Links */
.block .more-link {
  margin-top: 5px;
}

/* Custom BLock */
.contact-info-block  p {
  padding-left: 2em;
}

.contact-info-block .address {
  background: url(../images/ico_address.png) no-repeat 0 4px;
}

.contact-info-block .email {
  background: url(../images/ico_email.png) no-repeat 0 4px;
}

.contact-info-block .email a {
  border-bottom: 1px dotted #999;
  color: #f04d4d;
}

.contact-info-block .email a:hover,
.contact-info-block .email a:focus {
  text-decoration: none;
}

.contact-info-block .phone {
  background: url(../images/ico_phone.png) no-repeat 0 1px;
}

.member-block .member-block-content {
  float: left;
  margin-bottom: 1.667em;
  width: 50%;
}

.member-block .member-block-content img {
  float: left;
  margin-right: 0.833em;
}

.member-block .member-block-content .title {
  background: url(../images/arrow-5.png) 0 0 no-repeat;
  color: #333;
  font-family: 'Droid Sans', sans-serif; 
  font-size: 1.167em;
  margin-top: 0;
  padding-left: 1em;
}

.member-block .member-block-content p {
  margin-top: 0;
}

.member-block .member-block-content ul {
  list-style: none;
  margin: 0;
}

.member-block .member-block-content ul li a {
  background: url(../images/ico_social.png) no-repeat;
  display: block;
  float: left;
  height: 21px;
  margin-right: 2px;
  text-indent: -999em;
  width: 21px;
}

.member-block .member-block-content ul li.twitter a {
  background-position: 0 0;
}

.member-block .member-block-content ul li.twitter a:hover,
.member-block .member-block-content ul li.twitter a:focus {
  background-position: 0 -26px;
}

.member-block .member-block-content ul li.facebook a {
  background-position: -24px 0;
}

.member-block .member-block-content ul li.facebook a:hover,
.member-block .member-block-content ul li.facebook a:focus {
  background-position: -24px -26px;
}

.member-block .member-block-content ul li.pinterest a {
  background-position: -48px 0;
}

.member-block .member-block-content ul li.pinterest a:hover,
.member-block .member-block-content ul li.pinterest a:focus {
  background-position: -48px -26px;
}

/* Popular Tags */
.item-list .popular_tags li {
  background: none;  
  float: left;
  padding: 0 .5em 1.25em 0;
}

.item-list .popular_tags li a {
  background: #f04d4d;
  color: #fff;
  display: block;
  padding: .25em .833em;
}

.item-list .popular_tags li a:hover,
.item-list .popular_tags li a:focus {
  background: #ccc;
  color: #333;
  text-decoration: none;
}

/* --- Sidebar Blocks --- */
.sidebar .block {
  margin-bottom: 2.5em;
}

.sidebar .block-title {
  color: #333;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: .5em;
  margin-top: 0;
  text-transform: uppercase;
}

/* --- First Panels Blocks --- */
#panel-first-wrapper .block-title {
  color: #fff;
  font-size: 1.5em;
  margin: 1.5em 0 1em;
}

#panel-first-wrapper .block-content ul {
  list-style: none;
  margin-left: 0;
}

#panel-first-wrapper .block-content ul li {
  background: url(../images/arrow-4.png) no-repeat 0 7px;
  margin-left: 0;
  padding: 0 0 1em 0.8em
}

#panel-first-wrapper .block-content ul li a {
  color: #f04d4d;
}

#panel-first-wrapper .block-content ul li a:hover,
#panel-first-wrapper .block-content ul li a:focus {
  color: #ccc;
  text-decoration: none;
}

#panel-first-wrapper .block .more-link {
  text-align: left;
}

#panel-first-wrapper .block .more-link a {
  color: #fff;
  border-bottom: 1px dotted #666;
  font-size: 1.167em;
}

#panel-first-wrapper .block .more-link a:hover,
#panel-first-wrapper .block .more-link a:focus,
#panel-first-wrapper .block .more-link a:active {
  color: #f04d4d;
  text-decoration: none;  
}


/**
 * Specfic Blocks
 */

/* --- Menu Block --- */

.block-menu ul.menu {
  margin-bottom: 0;
  margin-left: 0;
}

.block-menu ul.menu ul {
  margin-left: 0;
}

/* --- Node Blocks --- */
.block-node table {
  overflow: hidden;
  width: 100%;
}

.block-node tbody {
  border-top: 0;
}

.block-node table tr td {
  border-bottom: 1px dotted #ccc;
}

.block-node table .title-author {
  padding-left: 0;
  padding-right: 0;
}

.block-node table .node-title {
  font-size: 1em;
}

.block-node table .node-title a {
  color: #666;
}

.block-node table .node-title a:hover,
.block-node table .node-title a:active,
.block-node table .node-title a:focus {
  color: #fff;
}

.block-node table .node-author {
  color: #999;
  font-size: 1em;
}

body.not-logged-in .block-node table td.edit,
body.not-logged-in .block-node table td.delete {
  display: none; /* Hide Edit & Delete TD if not log-in */
}

/* --- Forums Block --- */
.block-forum .item-list ul {
  margin: 0;
  padding: 0;
}

.block-forum .contextual-links-wrapper {
  display: none; /* Drupal Bug. Temporary hiding this link */
}


/* --- Aggregator Blocks --- */

.block-aggregator .item-list ul {
  margin: 0;
  padding: 0;
}

.block-aggregator .item-list ul li {
  background-image: none;
  border-bottom: 1px dotted #ccc;
  padding: .5em 0;
}

.block-aggregator .item-list ul li:first-child {
  padding-top: 0;
}

.block-aggregator .item-list ul li a {
  color: #666;
}

.block-aggregator .item-list ul li a:hover,
.block-aggregator .item-list ul li a:active,
.block-aggregator .item-list ul li a:focus {
  background: #333;
  color: #fff;
  text-decoration: none;
}

/* Search blocks in header */
#header #search-block-form {
  margin: 0;
  padding: 0; 
  position: absolute;
  right: 0;
  top: 15px; 
  z-index: 500;
}

#header #search-block-form .form-item {
  margin: 0;
}

#header .block-search .container-inline div {
  display: block;
  float: left;
}

#header #search-block-form .form-text,
#header #search-block-form .form-text:hover {
  background: url(../images/ico_search.png) no-repeat center center #000;
  border: 5px solid #2d2d2d;
  color: #ffdede;
  font-style: normal;
  font-size: 1em;
  height: 40px; 
  width: 40px;
}

#header #search-block-form .form-text:focus {
  background: url(../images/ico_search_hover.png) no-repeat 95% center #f04d4d;
  padding: 10px 25px 10px 17px;
  width: 170px;  
}

#header #search-block-form .form-submit {
  display: none;
}

/* --- User Blocks --- */

.block-user .form-item-name input {
  width: 90%;
}

.block-user .form-item-pass input {
  width: 90%;
}

.block-user .item-list li {
  display: block;
}

.block-user p {
  margin: 0;
}

/* --- Poll Blocks --- */

.block-poll .title {
  font-weight: bold;
  margin-bottom: 1em;
}

.block-poll .links {
  margin-top: .5em;
}

/* --- Quicktabs Blocks --- */
.block-quicktabs .block-inner .block-inner {
  margin: 0; /* Prevent extra padding in nested blocks */
  padding: 0;
}

/* --- Views Blocks --- */
/**
 * Misc.
 */

/* Login Block - horizontal (theme setting) basic styles */
.lb-h {
  margin-top: 1px;
  min-width: 320px;
}

.region-header .lb-h {
  float: right;
}

.lb-h .block-inner,
.lb-h .block-content {
  background: none;
  padding: 0;
}

.lb-h #user-login-form {
  margin: 0;
}

.lb-h #user-login-form label {
  line-height: 1.2;
}

.lb-h .form-item {
  float: left;
  margin: 0;
}

.lb-h input.form-text {
  margin: 0 3px 0 0;
  width: 110px;
}

.lb-h #edit-actions {
  margin: 0;
}

.lb-h input.form-submit {
  margin: 0;
  position: absolute;
  top: 1.2em;
}

.lb-h .form-required,
.lb-h .item-list {
  display: none;
}

.lb-h h2 {
  display: none;
}

/* Skinr block title alignment */
.ta-l .block-title,
.ta-l .mini-panel-title {
  text-align: left;
}

.ta-r .block-title,
.ta-r .mini-panel-title {
  text-align: right;
}

.ta-c .block-title,
.ta-c .mini-panel-title {
  text-align: center;
}

/* Mini panels */
.mini-panel-title {
  margin: 0 10px;
}

/* Block wrapper for Mini Panels */
.block-panels_mini .mini-panel-title {
  margin: 0 10px;
}

/* Block Widget */
.block-widgets .twtr-widget {
  font-family: Arial, Helvetica, sans-serif !important;
}

.block-widgets .twtr-widget .twtr-tweet-wrap {
  background: none !important;   
  padding: 0px 0px 1.667em 0;
  margin-bottom: 1.5em;
  border-bottom: 1px solid #222;
}

.block-widgets .twtr-widget .twtr-tweet {  
	border: none;
}

.block-widgets .twtr-widget #tweet-id-2 {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.block-widgets .twtr-widget .twtr-ft div {
  padding: 1.667em 0 0;
}

.block-widgets .twtr-widget .twtr-ft div > a {
  display: none;  
}

.block-widgets .twtr-widget .twtr-ft span { 
  background: url(../images/ico_twitter.png) no-repeat 0 0; 
  float: left;
  text-align: left;
  padding-left: 2.5em;
}

.block-widgets .twtr-widget .twtr-ft span a {
  border-bottom: 1px dotted #666;
  color: #ccc !important;
  font-size: 1.167em;
}

.block-widgets .twtr-widget .twtr-ft span a:hover,
.block-widgets .twtr-widget .twtr-ft span a:focus {
  color: #f04d4d !important;
  text-decoration: none !important;
}

.block-widgets .twtr-widget h3, 
.block-widgets .twtr-widget h4, 
.block-widgets .twtr-widget p {
  line-height: 1.6 !important;
}

.block-widgets .twtr-widget .twtr-hd {
  display: none;
}

.block-widgets .twtr-widget em, 
#twtr-widget-1 .twtr-tweet em a,
.block-widgets .twtr-widget .twtr-new-results {
  color: #555 !important;
  font-size: 11px !important;
}

#twtr-widget-1 .twtr-tweet em a:hover {
  color: #ccc !important;
  text-decoration: none !important;
}

.block-widgets #tweet-id-1 {
  display: none;
}

#twtr-widget-1 .twtr-tweet a:hover,
#twtr-widget-1 .twtr-tweet a:focus {
  color: #f04d4d !important;
  text-decoration: none !important;
}

/* Social Share */
#social-share-wrapper {
  right: 0;
  position: absolute;
  top: 100px;
}

#social-share-wrapper a {
  background: url(../images/bg-social.png) no-repeat;
  display: block;
  height: 33px;
  margin-bottom: 0.833em;
  text-indent: -999em;
  width: 33px;
}

#social-share-wrapper a.icon-social-1 {
  background-position: 0 0;
}

#social-share-wrapper a.icon-social-1:hover,
#social-share-wrapper a.icon-social-1:focus {
  background-position: 0 -43px;
}


#social-share-wrapper a.icon-social-2 {
  background-position: -43px 0;
}

#social-share-wrapper a.icon-social-2:hover,
#social-share-wrapper a.icon-social-2:focus {
  background-position: -43px -43px;
}

#social-share-wrapper a.icon-social-3 {
  background-position: -86px 0;
}

#social-share-wrapper a.icon-social-3:hover,
#social-share-wrapper a.icon-social-3:focus {
  background-position: -86px -43px;
}

/* Colorbox */
#colorbox #cboxLoadedContent {
  margin-bottom: 32px;
}

#colorbox #cboxPrevious,
#colorbox #cboxNext {
  background: url(../images/btn-slideshow.png) no-repeat 0 0;
  bottom: auto;
  display: none !important;
  height: 34px;
  top: 163px;
  width: 34px;
}

#colorbox #cboxNext {
  background-position: 0 -34px;
  left: auto;
  right: 0;
}

#colorbox #cboxPrevious:hover,
#colorbox #cboxPrevious:focus {
  background-position: -34px 0;
}

#colorbox #cboxNext:hover,
#colorbox #cboxNext:focus {
  background-position: -34px -34px;
}

#colorbox #cboxCurrent {
  color: #666;
  font-family: Arial, Helvetica, sans-serif;
  left: 0;  
}

#colorbox #cboxTitle {
  bottom: 32px;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}

#colorbox #cboxContent:hover #cboxPrevious,
#colorbox #cboxContent:hover #cboxNext {
  display: block !important;
}

#colorbox #cboxClose {
  background: url(../images/btn-close.png) no-repeat 0 0;
}

/* Change Skin Switch */
#change_skin_menu_wrapper ul { 
  list-style: none;
  margin: 0;
  padding: 10px 0;
  text-align: center;
}

#change_skin_menu_wrapper ul li {
  display: inline;
  padding: 0 5px;
}

#change_skin_menu_wrapper ul li a {
  display: inline-block;
  height: 10px;
  text-indent: -999em;
  width: 10px;
}

#change_skin_menu_wrapper ul li.active a {
  height: 15px;
  width: 15px;
}

#change_skin_menu_wrapper a.color-default {
  background: #f04d4d; 
}

#change_skin_menu_wrapper a.color-brown {
  background: #9c835c; 
}

#change_skin_menu_wrapper a.color-orange {
  background: #e46143; 
}

#change_skin_menu_wrapper a.color-green {
  background: #669b75; 
}

#change_skin_menu_wrapper a.color-purple {
  background: #a08081; 
}

#change_skin_menu_wrapper a.color-dark {
  background: #333; 
}

/* Responsive Menu*/
.sf-responsive-wrapper {
  height: 40px;
  position: relative;  
  z-index: 9;
}

.sf-responsive-subwrapper {
  position: absolute;
  height: 200px;
  width: 500px;
  overflow: hidden;
  left: 0px;
}

.sf-responsive-button { 
  height: 40px;
  position: absolute;
  text-indent: -999em;
  width: 20px;
  z-index: 10000;
}
.sf-responsive-prev {
  background: url(../images/btn-prev.png) no-repeat center center #282828;
  left: 0;
}

.sf-responsive-next {
  background: url(../images/btn-next.png) no-repeat center center #282828;
  right: 0;
}

/* Image gallery */
.galleryformatter {
    margin: 1em auto 2em;
}
.galleryformatter-greenarrows .gallery-thumbs {
    padding: 0 44px;
    width: 482px !important;
}

.galleryformatter-greenarrows .gallery-thumbs .wrapper {
    background: none repeat scroll 0 0 transparent;
    border-bottom: medium none;
}
.galleryformatter-greenarrows .gallery-thumbs li {
    padding-right: 10px;
}
.galleryformatter .gallery-slides img, .galleryformatter-greenarrows .gallery-thumbs li img {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #E2E2E2;
    padding: 4px;
}
.galleryformatter-greenarrows .gallery-thumbs li a {
    padding-top: 10px;
}
.galleryformatter .gallery-thumbs .arrow, .galleryformatter-greenarrows .gallery-thumbs li.active a, .galleryformatter-greenarrows .gallery-thumbs li a:hover {
    background: url("../images/btn-photostream.png") no-repeat scroll 0 0 transparent;
}
.galleryformatter .gallery-thumbs .arrow {
    bottom: 20px;
    height: 30px;
    width: 30px;
}
.galleryformatter .gallery-thumbs .back {
    background-position: 0 0;
}
.galleryformatter .gallery-thumbs .back:hover {
    background-position: 0 -35px;
}
.galleryformatter-greenarrows .gallery-thumbs .forward {
    background-position: 0 -70px;
}
.galleryformatter-greenarrows .gallery-thumbs .forward:hover {
    background-position: 0 -105px;
}
.galleryformatter-greenarrows .gallery-thumbs li a:hover img, .galleryformatter-greenarrows .gallery-thumbs li.active a img {
    background: none repeat scroll 0 0 #222222;
    border-color: #222222;
}
.galleryformatter-greenarrows .gallery-thumbs li.active a, .galleryformatter-greenarrows .gallery-thumbs li a:hover {
    background-position: center -150px;
}


