#center {
  text-align: center;
}

html.js #center {
  display: none;
}

#header,
#container {
  width: 1000px;
  margin: 5px auto;
  text-align: left;
  position: relative;
}

#social-red {
  float: left;
  left: -21px;
  position: absolute;
  width: 31px;
  overflow: hidden;
  top: 100px;
}

#social-red-center {
  background-image: url('../images/social_red_center.png');
  width: 31px;
  padding-left: 6px;
  height: 108px;
}

#social-red-top {
  background-image: url('../images/social_red_top.png');
  height: 7px;
  width: 31px;
}

#social-red-bottom {
  background-image: url('../images/social_red_bottom.png');
  height: 8px;
  width: 31px;
}

#shadow_left_wrapper {
  background: url(../images/drop_shadow_left.png) repeat-y 0px 0px white;
  padding: 0 0 0 30px;
}

#shadow_right_wrapper {
  padding: 0 30px 0 0;
  background: white url(../images/drop_shadow_right.png) repeat-y 100% 0px;
}

#drop_shadow_bottom,
#drop_shadow_top {
  width: 100%;
  height: 35px;
  position: relative;
  z-index: 1;
}

#drop_shadow_top {
  background: url(../images/drop_shadow_top.png) repeat-x;
}

#drop_shadow_bottom {
  background: url(../images/drop_shadow_bottom.png) repeat-x;
}

#drop_shadow_top div.left,
#drop_shadow_bottom div.right,
#drop_shadow_bottom div.left,
#drop_shadow_top div.right {
  width: 35px;
  height: 35px;
  position: absolute;
  top: 0px;
  z-index: 2;
}

#drop_shadow_top div.left {
  left: 0px;
  background: url(../images/drop_shadow_corners.png) no-repeat;
}

#drop_shadow_top div.right {
  right: 0px;
  background: url(../images/drop_shadow_corners.png) no-repeat 0px -35px;
}

#drop_shadow_bottom div.left {
  left: 0px;
  background: url(../images/drop_shadow_corners.png) no-repeat 0px -105px;
}

#drop_shadow_bottom div.right {
  right: 0px;
  background: url(../images/drop_shadow_corners.png) no-repeat 0px -70px;
}

#content {
  min-height: 400px;
  margin: 0 -20px;
  padding: 0 20px;
}

body.front #content {
  background: url('../images/front_gradient.png') repeat-x;
}

body.layout-2 #left {
  width: 580px;
  float: left;
}

#right {
  width: 340px;
  float: left;
  margin-left: 20px;
}

#toppers {
  position: absolute;
  top: 28px;
  width: 730px;
  right: 0px;
}

#footer_menu {
  background: url(../images/footer_menu_right.png) no-repeat 100% 100%;
  position: absolute;
  top: 25px;
  right: 50px;
  padding-right: 10px;
  line-height: 100%;
}

#footer_menu_wrapper {
  background: url(../images/footer_menu_left.png) no-repeat 0 100%;
  padding-left: 10px;
}

#footer_menu li {
  background: url(../images/footer_menu.png) repeat-x 0 100%;
  display: block;
  float: left;
}

#footer_menu li a {
  color: white;
  padding: 5px 15px;
  font-size: 12px;
  display: block;
}

#footer_menu li.first a {
  margin-left: -10px;
}

#footer_menu li.last a {
  margin-right: -10px;
}

#footer {
  height: 690px;
  width: 100%;
  background: url(../images/footer-side.png) repeat-x;
}

#content-linkblock {
  width: 100%;
  border-bottom: solid #ffffff 5px;
  background-color: #ffffff;
  font-size: 10px;
  color: #666666;
  padding-top: 10px;
}


/**
 * Button styles
 */
.form-button-wrapper,
li.button a,
a.button {
  background-image: url(../images/bkg_button-right.png);
}

body #views-ajax-pad .form-buttons .form-submit, /* Views UI */
.form-button-wrapper input,
li.button a span,
a.button span {
  background-image: url(../images/bkg_button.png);
  height: 26px;
  color: white;
  font-weight: bold;
  font-size: 12px;
  padding: 0 0 0 10px;
  vertical-align: middle;
}

li.button a span img,
a.button span img {
  vertical-align: middle;
  margin: -1px 0 0 1em;
}

.form-button-wrapper:active,
li.button a:active,
a.button:active {
  background-position: right -26px;
}

.form-button-wrapper input:active,
li.button a span:active,
a.button span:active {
  background-position: left -26px;
}

a.float {
  float: left;
}

li.button-gray a,
li.button-gray a:active,
a.button-gray,
a.button-gray:active {
  background-image: url(../images/share_bg.png);
  background-position: right 0;
}

li.button-gray a span,
a.button-gray span {
  background-image: url(../images/share_bg.png);
  background-position: 0 -26px;
  color: #003C68;
}

li.button-red a,
a.button-red {
  background-image: url(../images/bkg_button_red-right.png);
  padding: 0 15px 0 0;
}

li.button-red a span,
a.button-red span {
  background-image: url(../images/bkg_button_red.png);
  height: 30px;
  font-size: 15px;
  padding: 4px 0 0 15px;
  color: #ffd1d1;
}

li.button-red a:active,
a.button-red:active {
  background-position: right -34px;
}

li.button-red a span:active,
a.button-red span:active {
  background-position: left -34px;
}


/**
 * TEST BTN STYLES
 */
#views-ui-preview-form input#preview-submit {
  margin: 0;
}

html.js input#edit-extension {
  display: none;
}

.filefield-element div.ahah-progress-throbber {
  padding: 26px 0 0 26px;
  vertical-align: bottom;
  background: url(../images/bkg_button.png) -10px -1px repeat-x;
  display: inline;
  float: none;
  position: relative;
  overflow: hidden;
  margin: 0;
}

.filefield-element div.throbber {
  float: none;
  display: block;
  height: 20px;
  width: 20px;
  position: absolute;
  top: 0;
  left: 0;
}

.filefield-element .form-button-wrapper:hover div.ahah-progress-throbber {
  background-position: -10px -20px;
}

form#views-ui-preview-form input#preview-submit {
  margin: 0;
}

/**
 * END TEST BTN STYLES
 */


/**
 * Secondary links
 */
ul.secondary-links {
  float: right;
  margin-right: 20px;
}

ul.secondary-links li {
  display: inline;
}

ul.secondary-links li a {
  color: black;
  padding: 0 8px;
  font-size: .85em;
}

/**
 * Search
 */
input.fancy-textfield {
  border: none;
  -moz-border-radius: 3px;
  border-radius: 3px;
  color: black;
  padding: 6px 8px;
  font-size: 12px;
  width: 184px;
  position: absolute;
  top: 5px;
  left: 17px;
  height: 16px;
  line-height: 12px;
}

#search-theme-form  .form-button-wrapper {
  margin: 0;
  padding: 0;
  background: none;
}

#search-theme-form  .form-submit {
  background: url(../images/sherlock.png) no-repeat 50% 50%;
  padding: 20px 0 0 0;
  height: 0;
  width: 20px;
  overflow: hidden;
  margin: 5px;
}

#edit-search-theme-form-1-wrapper {
  background: url(../images/search_left.png) no-repeat;
  height: 38px;
}

#search-theme-form  .form-actions {
  position: absolute;
  top: 5px;
  right: 13px;
  margin: 0;
}

#search-theme-form {
  position: relative;
  width: 230px;
  height: 38px;
  background: url(../images/search_back.png) repeat-x;
  float: right;
}

/**
 * Primary links
 */
#toppers ul.primary-links {
  float: right;
  background: url(../images/primary_links_back.png) repeat-x;
  height: 38px;
}

#toppers ul.primary-links li {
  padding: 9px 0 0 0;
  display: block;
  float: left;
}

#toppers .primary-links a {
  color: white;
  font-weight: bold;
  padding: 10px 13px 11px 13px;
  font-size: 12px;
}

/**
 * Language switcher
 */
#your-source-custom-language-switcher {
  float: right;
  background: url(../images/primary_links_back.png) repeat-x;
  height: 38px;
}

#your-source-custom-language-switcher .form-item {
  background: url(../images/language_switcher_right.png) no-repeat 100% 0;
  height: 38px;
  padding: 8px 30px 8px 5px;
}

html.js #your-source-custom-language-switcher .form-actions {
  display: none;
}

#edit-select-language-button {
  font-size: 11px;
  background: white;
  border: none;
  color: black;
  padding-right: 40px;
}

.ui-state-default .ui-icon {
  background: url(../images/select_arrow_down.png) no-repeat;
  margin-top: -4px;
}

/**
 * Custom form elements
 */
span.select {
	position: absolute;
	width: 98px;
	height: 23px;
	padding: 0 24px 0 8px;
	color: #000;
	font: 12px/21px Verdana, Arial, sans-serif;
	background: url(../images/select_white.png) no-repeat;
	overflow: hidden;
}

span.checkbox,
span.radio {
	width: 19px;
	height: 25px;
	padding: 0 5px 0 0;
	background: url(../images/checkbox.png) no-repeat;
	display: block;
	clear: left;
	float: left;
}

span.radio {
	background: url(../images/radio.png) no-repeat;
}

.views-exposed-form span.select {
	background-image: url(../images/select_gray.png);
	height: 24px;
	padding: 3px 27px 0 8px;
}

/**
 * Floating windows
 */
.float_window_top_left_td {
	background: url(../images/floating_window/fw_top_left_td.png) transparent no-repeat;
	width: 60px;
	height: 60px;
}

.float_window_top_center_td {
	background: url(../images/floating_window/fw_top_center_td.png) transparent repeat-x;
	text-align: center;
	vertical-align: middle;
	height: 60px;
}

.float_window_top_right_td {
	background: url(../images/floating_window/fw_top_right_td.png) transparent no-repeat;
	width: 60px;
	height: 60px;
}

.float_window_middle_left_td {
	background: url(../images/floating_window/fw_middle_left_td.png) transparent repeat-y;
	width: 60px;
	height: 100%;
}

.float_window_middle_center_td {
	text-align: left;
	vertical-align: top;
	height: 100%;
}

.float_window_middle_right_td {
	background: url(../images/floating_window/fw_middle_right_td.png) transparent repeat-y;
	width: 60px;
	height: 100%;
}

.float_window_bottom_left_td {
	background: url(../images/floating_window/fw_bottom_left_td.png) transparent no-repeat;
	width: 60px;
	height: 60px;
}

.float_window_bottom_center_td {
	background: url(../images/floating_window/fw_bottom_center_td.png) transparent repeat-x;
	height: 60px;
}

.float_window_bottom_right_td {
	background:url(../images/floating_window/fw_bottom_right_td.png) transparent no-repeat;
	width:23px;
	height:18px;
}

.float_window_content_container {
  background: white;
	padding-top: 10px;
}

.float_window_maximize_button,
.float_window_minimize_button,
.float_window_close_button,
.float_window_top_center_td h4 {
  top: 25px;
  z-index: 1;
  text-align: left;
}

/**
 * Login
 */
.float_window .gigya-login,
.float_window .drupal-login {
  background: #e6eff6;
  -moz-border-radius: 10px;
  border-radius: 10px;
  margin: 1em 0;
  padding: 10px;
}

/**
 * Coda Slider
 */
#block-views-banner-block_1 {
  margin: 0 -10px;
}

.coda-slider,
.coda-slider .panel {
  width: 600px;
  background: none;
}

.coda-slider .panel-wrapper {
  padding: 0;
  -moz-border-radius: 3px;
  border-radius: 3px;
  position: relative;
}

.coda-slider-wrapper {
  position: relative;
  padding: 0;
}

#coda-nav-1 ul {
  padding: 0 25px;
}

#coda-nav-1 {
  margin: 0 0 -10px 0;
}

#content .coda-nav ul li {
  background: none;
  padding: 0;
  margin: 0;
}

#content .coda-nav ul li a {
  display: block;
  width: 45px;
  padding: 5px 0;
  color: white;
  text-align: center;
  font-weight: bold;
  font-size: 1.3em;
  margin: 10px 3px 0 0;
  background: url(../images/coda_nav.png) no-repeat;
}

#content .coda-nav ul li a.current {
  background-image: url(../images/coda_nav_active.png);
  margin-top: 0;
  padding-bottom: 15px;
}

.coda-slider .views-field-field-links-url {
  position: absolute;
  bottom: 30px;
  right: 20px;
  z-index: 2;
}

/**
 * Nodes
 */
#content .node-video .flag-like-this a,
#content .node-video div.share-video {
  float: right;
  margin: 0 0 0 10px;
}

#custom_actions a.node-info-tab {
  display: none;
}

html.js #custom_actions a.node-info-tab {
  display: inline-block;
}

html.js #comments {
  display: none;
}

#custom_actions iframe {
  margin: 3px 5px 3px 0;
  z-index: 100;
}

#content .node-video div.share-video {
	background: url(../images/share_bg.png) no-repeat 100% 0;
	height: 26px;
	width: auto;
  padding: 0;
  overflow: hidden;
}

#content div.share-video ul.inline {
  display: block;
  margin: 0;
  float: left;
}

#content div.share-video ul.inline li {
  display: block;
  background: none;
  padding: 3px 3px 3px 0;
  margin: 0;
  float: right;
}

#content div.share-video ul.inline li a,
#content div.share-video ul.inline li a img {
  padding: 0;
  vertical-align: baseline;
}

#content div.share-video span.label {
  display: block;
  margin: 0;
  float: left;
  color: #003C68;
  font-size: 12px;
	background: url(../images/share_bg.png) no-repeat 0 -26px;
	height: 26px;
  padding: 3px 10px;
}

.node-profile .field-label {
  font-weight: normal;
  color: #003C68;
  margin: 1.2em 0 .3em 0;
  font-size: 1.1em;
}

#content .node .content {
  margin-bottom: 1em;
}

#content .node .content h4 {
  color: #1497c2;
  line-height: 21px;
}

/**
 * Views
 */
.views-exposed-form .form-actions {
  margin: 0;
}

.views-exposed-form {
  margin: 0 0 1em 0;
}

#content .view-videos table td {
  background: none;
  border: none;
  width: 45%;
}

.view-videos div.views-row {
  display: block;
  clear: both;
}

/* // #content .view-videos table td img { */
.view-videos .views-field-field-youtube-url img {
  border: 1px #bfbfbf solid;
  padding: 3px;
  line-height: 100%;
  float: left;
  margin: 0 10px 1em 0;
}

div.fieldgroup .content {
  margin: 0;
  padding: 0;
}

.views-field-totalcount span {
  color: #999;
}

#edit-sort-order-wrapper {
  display: none;
}

/**
 * Blocks
 */
#block-your_source_custom-sign_up {
  height: 285px;
  padding: 65px 0 0 40px;
  color: #003c68;
}

#block-your_source_custom-sign_up ul {
  margin: 1.5em 0;
}

#block-your_source_custom-sign_up ul li {
  background-image: url('../images/bullet_item_red.png');
  margin-left: .3em;
}

#block-your_source_custom-sign_up h3 {
  font-size: 1.6em;
  margin-bottom: 1em;
}

#block-your_source_custom-sign_up a.button {
  margin: 0 25px 0 0;
}

#block-your_source_custom-sign_up a.last {
  margin: 0;
}

#block-menu-menu-participate {
  border-top: solid 2px #D7D7D7;
  padding-top: 1.3em;
}

#block-menu-menu-participate ul li {
  padding: 0;
  background: none;
}

#comments ul.links {
  text-align: right;
}

#content li.comment_edit,
#content li.comment_delete,
#content li.comment_reply {
  background: none;
  display: inline;
}

#your-source-custom-select-translation {
	float: left;
	background-image: url("../images/share_bg.png");
	background-position: right 0;
}
#your-source-custom-select-translation span {
	background: url("../images/share_bg.png") no-repeat scroll 0 -26px transparent;
	color: #003C68;
	display: block;
	float: left;
	font-size: 12px;
	height: 26px;
	margin: 0;
	padding: 3px 10px;
}
#your-source-custom-select-translation span, #your-source-custom-select-translation #edit-video-language-wrapper {
	float:left;
	color: #167598;
}
.view-videos .views-submit-button .form-actions {
  float:left;
}
#edit-no-subtitles-wrapper {
  float:left;
  margin-right: 10px;
}
