// Import the common includes for all files.
@import "base";

/* =============================================================================

   GENERIC ELEMENTS
   
   ========================================================================== */
   
@include styleguide-reset;

body {
  background: $color-background image-url("spark_bg_tile.png");
}
p, 
blockquote,
pre,
h1,
h2,
h3,
h4,
h5,
h6,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
max-width: $line-length-normal;
}
img {
  margin: $rhythm-space 0;
}
legend  {
  padding: 0;
}
h2,
h3 {
  color: #555;
}
textarea {
  height: 200px;
}
fieldset {
  border: 0px solid transparent;
  margin: 1em 0;
  padding: 0em;
}
tr,
td {
  background-color:transparent;
}

/* =============================================================================

   DRUPAL ADDMIN INTERACTION PATTERNS
   
   ========================================================================== */

/* SKIP LINK */

#skip-link {
  left: 50%; /* LTR */
  margin-left: -5.25em; /* LTR */
  margin-top:0;
  position:absolute;
  width:auto;
  z-index: 50;
}
#skip-link a,
#skip-link a:link,
#skip-link a:visited {
  background:#444;
  border-radius:0 0 10px 10px;
  color: $color-text-light;
  display:block;
  font-size:0.94em;
  padding:1px 10px 2px 10px; /* LTR */
  text-decoration: none;
}
#skip-link a:hover,
#skip-link a:focus,
#skip-link a:active {
  outline:0;
}

/* MESSAGES */

div.messages {
  background-position: 8px 8px; /* LTR */
  background-repeat: no-repeat;
  border: 1px solid;
  margin: 6px 0;
  padding: 10px 10px 10px 40px; /* LTR */
}

div.status {
  background-image: url(../images/success.svg);
  border-color: #ddd;
  border-left: 4px solid $color-success; /* ltr */
}
div.status,
.ok {
  color: $color-text;
}
div.status,
table tr.ok {
  background-color: #fff;
}
div.warning {
  background-image: url(../images/warning.svg);
  border-color: #ddd;
  border-left: 4px solid $color-warning; /* ltr */
}
div.warning,
.warning {
  color: $color-text;
}
div.warning,
table tr.warning {
  background-color: #fff;
  border-left: 4px solid $color-warning; /* ltr */
}
div.error {
  background-image: url(../images/error.svg);
  border-color: #ddd;
  border-left: 4px solid $color-error; /* ltr */
}
div.error,
.error {
  color: $color-text;
}
div.error,
table tr.error {
  background-color: #fff;
  border-left: 4px solid $color-error; /* ltr */
}

/* FORM ELEMENTS */

#edit-submit,
.form-submit {
  @extend %button-primary;
}
#edit-cancel {
  background-color: #555;
}
.form-item  {
  margin-right: .25em;
}
#diff-inline-form select,
div.filter-options select {
  padding:0;
}
.form-select  {
  max-width: 300px;
  background: #fff url("../images/select_sprite.svg");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 45px;
}
input[type="text"] {
  max-width: 300px;
}
.machine-name-label {
  margin-left:10px;
}
/* Animated throbber */
html.js input.form-autocomplete {
  background-position: 97% 10px; /* LTR */
  background-size: 22px;
  -webkit-transition: none;
}
html.js input.throbbing {
  background-position: 97% -19px; /* LTR */
  background-size: 22px;
}
.form-managed-file .form-file, .form-managed-file .form-submit {
  margin: 0;
  display: inline-block;
  margin-right: .5em;
  line-height: 1em; /* corrects vertical alignment of default filename text */ 
}
ul.tips, div.description, .form-item div.description {
  font-size: 0.9em;
  line-height: 1.231em;
  margin: 5px 0;
  color: #aaa;
}
ul.tips:hover, div.description:hover, .form-item div.description:hover {
  color: inherit;
  transition: all 1s;
}

/* ADMIN LISTS */

div.admin {
  padding:0;
}
.block .body ul {
  margin:0;
}
div.admin-panel {
  margin:0 0 2em;
  padding:0 20px 0 0;
}
div.admin-panel .body {
  padding:0;
}
ul.admin-list {
  margin:0 0 2em;
  padding:0;
}
.admin-panel h3 {
  font-size: ms(1);
  margin:0 0 15px 30px;
  padding:0 0 5px;
  border-bottom:1px solid #ddd;
  text-transform: uppercase;
  font-weight: 200;
}
ul.admin-list li {
  background:image-url("list-item.png") no-repeat scroll 0 0 transparent;
  list-style-image:none;
  list-style-type:none;
  margin:0 0 1em;
  padding:0 0 0 2.5em;
}
ul.admin-list li a {
  font-size: 1em;
  font-weight: 900;
}
ul.admin-list .label {
 color:#555;
 font-size: ms(1);
}
.compact-link {
  text-align:right;
  margin:-1em 0 0; /* pushes link up into the padding of #content so list has an even margin all around */
}
ul.admin-list.compact li {
  background:none;
  margin:0;
}

/* CONTEXTUAL LINKS */

.contextual-links-trigger  {
  transition: none;
}

/* SHORTCUTS */
   
div.add-or-remove-shortcuts {
  float: right;
  margin-top: -50px;
}
div.add-or-remove-shortcuts a span.icon {
  display: block;
  width: 24px;
  background: transparent url("../images/no_shortcut.svg") no-repeat scroll 0 0;
  height: 24px;
  float: right;
  margin-left: 8px;
}
div.add-shortcut a:focus span.icon,
div.add-shortcut a:hover span.icon {
  background: transparent url("../images/shortcut.svg") no-repeat scroll 0 0;
  -webkit-trnsition: all 1s;
}
div.remove-shortcut a span.icon {
  background: transparent url("../images/no_shortcut.svg") no-repeat scroll 0 0;
}
div.remove-shortcut a:focus span.icon,
div.remove-shortcut a:hover span.icon {
  background: transparent url("../images/no_shortcut.svg") no-repeat scroll 0 0;
  -webkit-trnsition: all 1s;
}
div.add-or-remove-shortcuts a span.text  {
  padding-top: 8px;
}
div.add-or-remove-shortcuts a:focus span.text,
div.add-or-remove-shortcuts a:hover span.text {
  background-color: inherit;
  font-size: .9em;
  color: $color-text-title;
  -webkit-trnsition: all 1s;
}

/* TABS */
   
.tabs.primary {
  margin: 1em 0 0;
  padding: 0 ;
}
ul.primary {
  border:0 solid transparent;
  padding:0;
  line-height:2.09em;
  background: none;
}
ul.primary li a {
  font-size:1.2em;
  padding: .5em 0;
  margin: 0 1em 0 .1em; /* LTR */
  border:0px solid transparent;
  color: #ccc;
  vertical-align:text-bottom;
  background: none;
}
ul.primary li.active a {
  color: $color-text-light;
  border-top:0px solid transparent;
  border-right:0px solid transparent;
  border-bottom:4px solid;
  border-color: $color-link-alternate;
  border-left:0px solid transparent;
  background: none;
}
ul.primary li a:hover {
  color: $color-text-light;
  background: none;
  border-bottom: 4px solid;
  border-color: $color-link-alternate;
}
ul.secondary {
  margin:0 -3.5em;
  padding:.5em 3.5em;
  background-color: #3b3b3b;
  box-shadow: 0px 10px 20px #f5f5f5;
}
ul.secondary li {
  border:0 solid transparent;
  margin: 0 1em 0 .1em; /* LTR */
  padding:0;
  font-weight: bold;
}
ul.secondary li a {
  font-size:.9em;
  line-height:20px;
  color:#CCC;
  padding:0;
}
.secondary a:hover {
  color: $color-text-light;
}
ul.secondary a.active {
  border:0 solid transparent;
  color: $color-text-light;
}

/* ACTION LINKS */

ul.action-links {
  margin: 0;
}
.action-links li {
  display: inline-block;
  margin-right: .5em;
  margin-left: 0;
  font-size: 1.2em;
  font-weight: 900;
}
.action-links li a:hover  {
  text-decoration: none;
}
.action-links li:before {
  content: "\2295";
  font-size: 2em;
  top: .1em;
  color: $color-icon;
  position: relative;
  margin-right: .1em;
}

/* SECONDARY LINKS */
   
#secondary-links ul.links li {
  padding:0 10px 10px 0; /* LTR */
}
#secondary-links ul.links li a {
  font-size:0.923em;
  color: $color-text-light;
  text-align:center;
  padding:5px;
  overflow:hidden;
}
#secondary-links ul.links li a:hover {
}
ul.links li,
ul.inline li {
  padding-right:1em; /* LTR */
}
ul.inline li {
  display:inline;
}
#secondary-links ul.links li.active-trail a,
#secondary-links ul.links li a.active {
}

/* FIELDSET */
  
.fieldset-legend  {
  font-size: ms(1);
  font-weight: 200;
  line-height: normal;
  margin: 0;
  padding: 0;
}
.fieldset-wrapper .form-select {
  display: inline-block;
  margin-right: .5em;
}

/* SUMMARY AND DETAILS */

summary:focus {
  outline:0px solid transparent; /*hides browser focus border on this element since it contains no user action. Should not effect a11y.*/
}
summary {
  background:url("../misc/menu-expanded.png") no-repeat scroll 0 100% #eee;
  height:2em;
  border:0px solid transparent;
  padding:0 10px;;
  background:#f5f5f5;
  border-radius:4px 4px 0 0;
  line-height:2em;
}
summary::-webkit-details-marker {
  display: none;
}
.collapse-processed > summary:before {
  background-position:0 70%;
  height: 1.6em;
  width: 1em;
}
.collapse-processed > summary {
  padding-left: 0.75em;
  padding-right: 0.75em;
}
details {
  border:0px solid transparent;
}
details > .details-wrapper,
.container-inline .details-wrapper {
  padding:10px;
  border:solid #eee;
  border-width:0px 1px 1px 1px;
  margin:0 0 1em;
}

/* FILTERS */

.filter-wrapper {
  border-top: 0;
  padding: 10px 2px;
}
.filter-wrapper .fieldset-wrapper {
  padding: 0px;
}
.filter-wrapper .form-item,
.filter-wrapper .filter-guidelines,
.filter-wrapper .filter-help {
  font-size: 0.9em;
  padding: 0; 
}
#edit-filters  {
  float: left;
  display: inline-block;
  width: 60%;
}
#edit-options  {
  float: left;
  display: inline-block;
  width: auto;
}
.exposed-filters .form-item {
  float: left; /* LTR */
  line-height:3.2em;
  margin-bottom: .5em;
}
.exposed-filters .form-item label {
  float: left; /* LTR */
  font-weight: normal;
  margin-right: 0.25em;
  width: inherit;
  padding-right: 5px;
}
.exposed-filters .filters {
  float:none;
  margin-right:0;
  width:100%;
}
.exposed-filters .current-filters ul, .exposed-filters .block ul, .exposed-filters .item-list ul {
  margin: 0;
}
div.exposed-filters .container-inline .form-actions, .container-inline.form-actions {
  margin:0;
}
.exposed-filters .additional-filters {
  padding:12px 0 0 0;
  margin-right: 0.2em;
}
div.item-list ul.current-filters  {
  margin: .5em 0;
}
ul.current-filters li {
  margin: 1em 0;
  display: inline;
}
.exposed-filters .form-item label { 
  padding: .8em 0;
  line-height: normal;
}
div.exposed-filters div#edit-actions {
  float: left;
  display: inline-block;
}
div.exposed-filters div#edit-actions .form-select {
  max-width: 300px;
}
.container-inline  {
  border:none;
}

/* TIPS */

ul.tips,
div.description,
.form-item div.description {
  font-size:0.923em;
  line-height:1.231em;
  margin:5px 0;
}
ul.tips li {
  margin:0.25em 0;
  list-style: none;
}
body div.form-type-radio div.description,
body div.form-type-checkbox div.description {
  margin-left: 1.5em; /* LTR */
}

/* TABLES */

tr.odd,
tr.even {
  background-color:transparent;
}
tr.drag {
  background-color: $color-dragging;
}
a.tabledrag-handle .handle  {
  background: url(../images/drag-handle.png) no-repeat 6px 8px;
  height: 20px;
  margin: -0.4em 0.5em; /* LTR */
  padding: 0.42em 0.5em; /* LTR */
  width: 13px;
}
tr.drag-previous {
  background-color: $color-dragging;
}
tr.region-title  {
  background-color:transparent;
  border:0px solid transparent;
}
table th.active img {
  position:absolute;
  top: 3px;
  right: 3px; /* LTR */
}
table td.active {
  background-color: #e5e5e5;
}
table tr.selected td.active,
table tr.selected td {
  background: $color-background-alternate;
}
table td ul.inline {
  margin: 0;
}
table.system-status-report tr {
  border-bottom:1px solid #ddd;
}
table.system-status-report tr.ok {
  background-color: transparent;
  color: $color-success;
}
table.system-status-report tr.info {
  background-color: transparent;
  color: $color-highlight;
}
table.system-status-report tr.warning {
  background-color: transparent;
  color: $color-warning;
}
table.system-status-report tr.error {
  background-color: transparent;
  color: $color-error;
}
table.sticky-header {
  z-index: 2;
}
#system-modules label {
  font-weight:normal;
}
#system-modules .expand .inner {
  outline:0px solid transparent;
}
tr.odd .form-item,
tr.even .form-item,
tr.odd .form-actions,
tr.even .form-actions {
  margin:0;
  padding:0;
  white-space:nowrap;
}
.tabledrag-changed:after {
  content:" previewing, save blocks to confirm";
  color: $color-warning;
}
/**
 * Exception for webkit bug with the right border of the last cell
 * in some tables, since it's webkit only, we can use :last-child
*/
tr td:last-child {
  border-right:none; /* LTR */
}

/* VERTICAL TABS */

div.vertical-tabs fieldset {
    box-shadow: none;
}
.vertical-tabs:focus,
ul.vertical-tabs-list:focus,
li.selected:focus {
  outline:0px solid transparent;
}
.vertical-tabs details > .details-wrapper {
  border:1px solid transparent;
  padding:10px 20px;
}
.vertical-tabs-pane div.form-item {
  display:block;
}
div.vertical-tabs ul li.vertical-tab-button a:hover,
div.vertical-tabs ul li.vertical-tab-button a:focus {
  background: #e9e9e9;
  outline:0px solid transparent;
}
.vertical-tabs-list li a:first-child {
height: 40px;
}

/* DROPBUTTON */

.js .dropbutton-widget {
  background:#f5f5f5;
  border:0px solid transparent;
  border-radius:4px;
  -moz-box-shadow:0px 1px 2px rgba(0,0,0,0.3);
  -webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.3);
  box-shadow:0px 1px 2px rgba(0,0,0,0.3);
}
.dropbutton-widget .dropbutton {
  line-height:1.8em;
}
.js .dropbutton-widget a {
  color:#555;
}
.js .dropbutton-widget a:hover {
  color:#000;
}
.dropbutton-multiple .dropbutton {
  border-right:1px solid #ddd;
}
.dropbutton-toggle button {
  background:none;
}
.dropbutton .secondary-action {
  border-top:1px solid #ddd;
}
tr.selected > .dropbutton-widget {
  background: $color-background;
}

/* OVERLAY (not recommended for use with Ember theme) */
   
div#overlay {
  min-width:200px;
  max-width:800px;
}
#overlay-content {
  padding:0;
}
.overlay #branding {
  background-color: $color-background-dark;
  padding:20px 20px 0px;
  border-bottom:1px solid #ddd;
}
#overlay-titlebar,
.overlay .breadcrumb,
.overlay .region-help,
.overlay #left,
.overlay #footer {
  display:none;
}
.overlay #content {
  padding:0;
  margin:0;
  border:0 solid transparent;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.overlay .content,
.overlay .actions {
  padding:20px 20px 0;
}
.overlay #page {
  margin:0;
  padding:0;
}
.overlay #content {
  padding: 0;
}

/* =============================================================================
   
   STYLING SPECIFIC TO REGIONS
   
   ========================================================================== */

/* Branding region (includes page title, shortcut, contextual links and breadcrumb) */

#branding {
  @include box-sizing(border-box);
  background-color: $color-background-dark;
  padding: 1em $inset-space 0;
  // position: fixed;
  width: 100%;
  // z-index: 100;
  color: $color-text-title;
}
#branding h1.page-title {
  margin-top: 0;
  font-size: 2.75em;
  font-weight: 200;
}

/* CONSOLE REGION */

#console {
  margin: 9px 0 10px;
}

/* HELP REGION */

#help {
  margin:1em 0;
  line-height:1.6em;
}
.region .region-help ul {
  margin:0 0 20px 0;
}
#help div.more-help-link {
  text-align: right; /* LTR */
}
.region-help {
  margin-bottom:1em;
}
.region-help p {
  font-size:1.1em;
  color:#555;
}

/* PAGE REGION */

#content {
  clear:left;
}
#page {
  margin: 1em $inset-space 0;
  position:relative;
}

/* Update status */

.versions table.version {
  border:none;
}

/* =============================================================================
   
   STYLING SPECIFIC TO UIs
   
   ========================================================================== */

/* MAINTENANCE UI */

body.in-maintenance #sidebar-first {
  float:left; /* LTR */
  width:200px;
}
body.in-maintenance #content {
  clear:none;
  float:right; /* LTR */
  padding-right: 20px; /* LTR */
  width: 550px;
}
body.in-maintenance #page {
  margin:0 auto;
  overflow:auto;
  padding-top:2em;
  width:770px;
}
body.in-maintenance #branding h1 {
  float:none;
  margin:0 auto;
  width:770px;
}
body.in-maintenance .form-radios .form-type-radio {
  padding:2px 0;
}
body.in-maintenance div.form-item:after {
  clear:none;
  content:"";
  display:none;
}
body.in-maintenance .form-submit {
  display:block;
}
body.in-maintenance #logo {
  margin-bottom:1.5em;
}
ol.task-list {
  list-style-type:none;
  list-style-image:none;
  margin-left:0; /* LTR */
}
ol.task-list li {
  color:#adadad;
  padding:0.5em 1em 0.5em 20px; /* LTR */
}
ol.task-list li.active {
  background:transparent image-url("task-item.png") no-repeat 3px 50%; /* LTR */
  color:#000;
  padding:0.5em 1em 0.5em 20px; /* LTR */
}
ol.task-list li.done {
  background:transparent image-url("task-check.png") no-repeat 0 50%;
  color:green;
}

/* DASHBOARD UI */

#dashboard .region {
  margin:0;
}
#dashboard div.block h2 {
  font-size:1em;
  margin:0;
  padding:3px 10px;
}
#dashboard div.block div.content {
  padding:10px 10px 20px; /* LTR */
}
#dashboard div.block div.content ul.menu {
  margin-left:20px; /* LTR */
}
#dashboard .dashboard-region .block {
  border:1px solid #ddd;
}
#dashboard div#dashboard_main {
  margin-right:1.5%;
  width:48%;
}
#dashboard div#dashboard_sidebar {
  width:48%;
}
#dashboard .canvas-content a.button {
  color: $color-text-light;
  margin:10px 0 0;
  text-decoration: none;
}
#dashboard .ui-sortable {
  border:2px dotted #ccc;
  padding:10px 10px 0;
}
#dashboard #disabled-blocks .region {
  background-color:transparent;
  border:none;
  padding:0;
}
#dashboard #disabled-blocks .block {
  background-color:#666;
}
#dashboard #disabled-blocks .block, #dashboard .block-placeholder {
  background-color:#666;
  border-radius:4px;
  float:left;
  margin:3px 6px 3px 0;
  padding:5px 4px 5px 8px;
}

/* CONTENT TYPES UI */

#field-display-overview input.field-formatter-settings-edit {
  margin:0;
  padding:1px 8px;
}
#field-display-overview tr.field-formatter-settings-changed {
  background:#ffb;
}
#field-display-overview tr.drag {
  background:#fe7;
}
#field-display-overview tr.field-formatter-settings-editing {
  background:#D5E9F2;
}
#field-display-overview .field-formatter-settings-edit-form .form-item {
  margin:10px 0;
}
#field-display-overview .field-formatter-settings-edit-form .form-submit {
  margin-bottom:0;
}

/* PEOPLE UI */

#permissions td.module {
  background-color: #f5f5f5;
  background-image: none;
  font-weight: bold;
}

/* APPEARANCE UI */

.theme-default .screenshot,
.theme-selector .screenshot {
    border:2px solid #999;
    padding: 0px;
}
.theme-selector .no-screenshot {
    background: #ddd;
}
img.screenshot  {
  margin: 0;
}
.theme-default h3 {
  font-weight: normal;
  color: $color-link-alternate;
}
.system-themes-list h2 {
  font-size: $font-size-small;
}

/* =============================================================================
   
   STYLING SPECIFIC TO BLOCKS
   
   ========================================================================== */
   
/* Recent content block */

#dashboard div#block-node-recent div.content {
  padding:0;
}
#block-node-recent table,
#block-node-recent tr {
  border:none;
}
#block-node-recent .more-link {
  padding:0 5px 5px 0; /* LTR */
}

/* User login block */

#user-login-form .openid-links {
  margin-left:0; /* LTR */
}
#user-login-form .openid-links .user-link {
  margin-left:1.5em; /* LTR */
}

/* Disable overlay message */

#overlay-disable-message {
  background-color:#addafc;
}
#overlay-disable-message a,
#overlay-disable-message a:visited {
  color:#000;
}
#overlay-disable-message a:focus,
#overlay-disable-message a:active {
  outline: none;
  text-decoration:underline;
}
.overlay-disable-message-focused a {
  padding:0.4em 0.6em;
}
.overlay-disable-message-focused #overlay-dismiss-message {
  background-color:#59a0d8;
  border-radius:8px;
  color: $color-text-light;
}

/* =============================================================================
   
   STYLING SPECIFIC TO OVERLAY
   
   ========================================================================== */

div#overlay {
min-width: 320px;
max-width: 960px;
}
 
#overlay #page {
padding: 2em;
}

/* =============================================================================

   STYLES SPECIFIC TO CONTRIBUTED MODULES
   navbar, ctools, media, views, views UI, panels, panelizer, workbench
   
   ============================================================================= */  

/* Navbar (coming soon) */

/* Ctools */

.ctools-button-processed {
  background-color: $color-background;;
  border: 1px solid #ddd;
  font-size: inherit;
  padding-bottom: 0;
  padding-top: 0;
}
.ctools-button-processed input {
  color: $color-link;
  text-shadow: none;
}
.ctools-button-processed input:hover {
  color: $color-link;
  text-shadow: none;
}
.ctools-button-processed li {
  line-height: 1em;
  background-color: $color-background;
  border: 0px solid transparent;
}
.ctools-content ul.actions .right {
  background-color: $color-background;
}

/* VIEWS */
   
.views-admin ul,
.views-admin menu,
.views-admin dir {
  padding: 0;
}
.views-admin pre {
  margin-bottom: inherit;
  margin-top: inherit;
  white-space: inherit;
}
.views-group-box .form-item {
  margin-left: inherit;
  margin-right: inherit;
}
 .views-displays .secondary {
   border-bottom: 0 none;
   margin: 0;
   overflow: visible;
   padding: 0;
 }
.views-displays .secondary > li {
  border-right: 0 none;
  padding: 0;
}
.views-displays .secondary .action-list {
  top: inherit;
}
.views-display-tab .fieldset-legend {
  left: 0;
}
.views-display-tab .fieldset-wrapper > .views-ui-display-tab-bucket .actions {
  right: 0;
  top: 0;
}
.views-display-columns > * {
  margin-left: 0;
  padding-left: 0;
  padding-right: 1em;
}
.views-display-columns > *:first-child {
  margin-left: 0;
  padding-left: 0;
}
.views-ui-dialog .ui-dialog-titlebar-close {
  border: 0px solid transparent;
  top: 0;
}
.box-padding {
  padding-left: 0;
  padding-right: 0;
}
.box-margin {
  margin: 0;
}
.views-admin .icon.linked {
  background-position: center -157px;
}
.views-admin .icon.unlinked {
  background-position: center -199px;
}
.views-admin .icon.add {
  background-position: center 7px;
}
.views-admin a.icon.add {
  background-position: center 7px, left top;
}
.views-admin .icon.delete {
  background-position: center -56px;
}
.views-admin a.icon.delete {
  background-position: center -56px, left top;
}
.views-admin .icon.rearrange {
  background-position: center -115px;
}
.views-admin a.icon.rearrange {
  background-position: center -115px, left top;
}
.views-admin span.icon {
  float: none;
}
.views-displays .secondary a:hover > .icon.add {
  background-position: center 7px;
}
.views-displays .secondary .open a:hover > .icon.add {
  background-position: center 7px;
}
/*.form-item {
  margin-top: 0;
}
.form-type-checkbox {
  margin-top: 0;
}
.container-inline {
  padding-top: 0;
}*/
.views-admin fieldset fieldset.container-inline {
  margin-bottom: 0;
  margin-top: 0;
  padding-top: 0;
}
.views-admin fieldset fieldset.container-inline > .fieldset-wrapper {
  padding-bottom: 0;
}
.views-admin .form-type-checkbox + .form-wrapper {
  margin-left: 0;
}
.views-admin .form-type-checkbox label,
.views-admin .form-type-radio label {
  line-height: inherit;
}
.views-admin-dependent .form-item {
  margin-bottom: 0;
  margin-top: 0;
}
.horizontal > * + * {
  margin-left: 0;
  padding-left: 0;
}
.views-ui-view-title {
  font-weight: inherit;
}
.view-changed {
  margin-bottom: 0;
}
.views-admin h1.unit-title {
  font-size: 2.5em;
  line-height: normal;
  margin-top: 0em;
}
.form-item-description-enable label {
  font-weight: inherit;
}
.form-item-page-create,
.form-item-block-create {
  margin-top: inherit;
}
.form-item-page-create label,
.form-item-block-create label {
  font-weight: inherit;
}
.views-attachment .options-set label {
  font-weight: inherit;
}
td.group-title {
  font-weight: inherit;
}
.views-ui-dialog td.group-title span {
  height: inherit;
}
.views-operator-label {
  font-weight: 500;
}
.grouped-description,
.exposed-description {
  padding-top: 0;
  padding-right: 0;
}
.views-displays {
  border: 0px solid transparent;
  padding-bottom: 0;
}
.views-display-top {
  background-color: transparent;
  border: 0px solid transparent;
  padding: 0;
  border-bottom: 1px solid #999;
  margin-bottom: 1em;
  height: 2.8em;
}
.ctools-button-processed {
  font-size: 1em;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 2px 2px 2px rgba(0,0,0,.1);
}
.views-display-top .ctools-button-processed {
  right: 0;
}
.views-display-top .secondary {
  margin-right: 0;
}
.views-display-top .secondary > li {
  margin-right: 1em;
}
#views-display-extra-actions li {
  padding: 0;
}
ul#views-display-menu-tabs li {
  padding: 0;
  margin: 0 1em 0 0;
  color: $color-text;
  line-height: 2.5em;
  text-shadow: none;
  background-color: $color-background-medium;
  border-radius: 0;
}
.views-displays .secondary a {
  border: 0px solid transparent;
  font-size: inherit;
  line-height: inherit;
  padding: 0;
  color: $color-text-light;
}
.views-displays ul.secondary li.active a.active.error,
.views-displays .secondary a.error {
  border: 0;
  color: $color-error;
}
.views-displays .secondary a:hover,
.views-displays .secondary .active a {
  background-color: inherit;
  color: $color-text;
  border: 0px solid transparent;;
}
.views-displays .secondary .open > a {
  background-color: inherit;
  border: 0px solid transparent;
}
.views-displays .secondary .open > a:hover {
  background-color: inherit;
}
.views-displays .secondary .action-list  li {
  background-color: inherit;
  border: 0px solid transparent;
  padding: 0px;
}
#edit-display-settings-title {
  font-size: 14px;
  line-height: inherit;
  margin: 0;
}
#edit-display-settings-top {
  padding-bottom: 0px;
}
#edit-display-settings-content {
  margin-top: 0px;
}
#edit-display-settings-main {
  margin-top: 0px;
}
.views-display-column + .views-display-column {
   margin-top: 0;
 }
#views-ui-preview-form .form-type-checkbox {
  margin-top: 0px;
  margin-left: 0px;
  float: none;
}
#views-ui-preview-form .form-type-textfield {
  margin-top: 0;
  display:inline-block;
}
#views-ui-preview-form .arguments-preview {
  font-size: inherit;
}
#views-ui-preview-form .arguments-preview,
#views-ui-preview-form .form-type-textfield {
  margin-left: 0px;
}
#views-ui-preview-form .form-type-textfield label {
  float: none;
  font-weight: normal;
  height: inherit;
  margin-right: 0;
}
#views-ui-preview-form .form-type-textfield .description {
  white-space: normal;
  max-width: 300px;
}
.views-ui-display-tab-bucket {
  border: 0px solid transparent;
  line-height: inherit;
  padding-top: 0px;
}
.views-ui-display-tab-bucket + .views-ui-display-tab-bucket {
  border-top: 0px solid transparent;
}
.views-ui-display-tab-bucket > h3,
.views-ui-display-tab-bucket > .views-display-setting {
  padding: inherit;
}
.views-ui-display-tab-bucket h3 {
  font-size: inherit;
  margin: .5em 0;
  font-weight: 900;
  border-top: 1px solid #ddd;
  padding: .5em 0 0;
}
.views-ui-display-tab-bucket .horizontal.actions {
  margin-right: 0px;
}
.views-ui-display-tab-bucket .actions.horizontal li + li {
  margin-left: 0px;
  padding-left: 0px;
}
.views-ui-display-tab-bucket.access {
  padding-top: 0;
}
.views-ui-display-tab-bucket.page-settings {
  border-bottom: medium none;
}
.views-display-setting .views-ajax-link {
  margin-left: 0em;
  margin-right: 0em;
}
.views-ui-display-tab-bucket .views-display-setting {
  color: inherit;
  font-size: inherit;
  padding-bottom: 0px;
}
.views-ui-display-tab-bucket .even {
  background-color: transparent;
}
.views-ui-display-tab-bucket .views-group-text {
  margin-top: 0px;
  margin-bottom: 0px;
}
.views-display-setting .label {
  margin-right: .5em;
}
#edit-displays-preview-controls .fieldset-wrapper > .form-item {
  margin-top: 0em;
  display: block;
}
#edit-displays-preview-controls .form-submit {
  margin-right: 0em;
  display: block;
}
#views-ui-preview-form > div > div {
  display: block;
  margin: 2.2em .5em 0 0;
}
#edit-displays-preview-controls .form-type-textfield {
  margin-left: 0em;
}
#edit-displays-preview-controls .form-type-textfield label {
  border-left: 0px solid transparent;
  padding-left: 0em;
}
#edit-displays-preview-controls .form-type-textfield label:after {
  content: ":";
}
.views-ui-dialog {
  font-size: inherit;
  padding: 0;
}
.views-ui-dialog .ui-dialog-titlebar-close {
  display: none;
}
.views-ui-dialog .ui-dialog-titlebar-close span {
  display: block;
}
.views-filterable-options .form-type-checkbox {
  border: 0px solid transparent;
  padding: 0;
}
.views-filterable-options {
  border-top:  0px solid transparent;
}
.views-filterable-options .even .form-type-checkbox {
  background-color: transparent;
}
#views-filterable-options-controls {
  margin: 0em 0;
}
.views-ui-dialog .views-filterable-options {
  margin-bottom: 0px;
  line-height: 2em;
}
#views-filterable-options-controls input,
#views-filterable-options-controls select {
  display: inline-block;
}
.views-ui-dialog #edit-selected {
  margin: 0;
  padding: 0;
}
.views-ui-dialog #views-ajax-title,
.views-ui-dialog .views-override {
  background-color: transparent;
}
.views-ui-dialog .views-override {
  padding: 0 2em 1em;
  border-bottom: 1px solid #ccc;
}
.views-ui-dialog .views-override > * {
  margin: 0;
}
.views-ui-dialog #views-ajax-title {
  font-size: 2em;
  padding: .5em;
  display: block;
  margin: 0;
  background: $color-background-dark;
  color: $color-text-light;
}
.views-ui-dialog fieldset .form-item {
  margin: .5em 1em;
}
.views-ui-dialog #views-progress-indicator {
  font-size: inherit;
  right: 0;
  top: 0px;
}
.views-ui-dialog #views-progress-indicator:before {
  content: "\003C\00A0";
}
.views-ui-dialog #views-progress-indicator:after {
  content: "\00A0\003E";
}
.views-ui-dialog .scroll {
  border: 1px solid #CCC;
  border-width: 0;
  padding: 1em 2em 3em;
}
.views-ui-dialog fieldset .item-list {
  padding-left: 2em;
}
.views-ui-dialog #edit-options {
  float: none;
  display: block;
  width: auto;
}
.views-ui-dialog .form-buttons {
  background-color: #F3F4EE;
  padding: 1.5em 2em;
  position: absolute;
  bottom: 0;
  width: 100%;
}
.form-type-checkboxes #edit-options-value,
.form-type-checkboxes #edit-options-validate-options-node-types {
  border: 0px solid transparent;
  margin-top: inherit;
  padding: inherit;
}
#views-ui-rearrange-filter-form tr td[rowspan] {
  border: 0px solid transparent;
}
#views-ui-rearrange-filter-form tr[id^="views-row"] {
  border-right: 0px solid transparent;
}
#views-ui-rearrange-filter-form tr[id^="views-row"].even td {
  background-color: transparent;
}
#views-ui-rearrange-filter-form .views-group-title {
  border-top: 0px solid transparent;
}
#views-ui-rearrange-filter-form .group-empty {
  border-bottom: 0px solid transparent;
}
.form-item-options-expose-required,
.form-item-options-expose-label,
.form-item-options-expose-description {
  margin-bottom: 0px;
  margin-left: 0px;
  margin-top: 0px;
}
#views-preview-wrapper {
  border: 0px solid transparent;;
  padding: 0px;
}
#views-ui-preview-form {
  margin: 0px;
}
#views-live-preview {
  margin: 0px;
}
#views-live-preview h1.section-title {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
#views-live-preview .view > * {
  margin-top: 0px;
}
#views-live-preview .preview-section {
  border: 1px dashed #DEDEDE;
  margin: 0px;
  padding: 0px;
}
#views-live-preview li.views-row + li.views-row {
  margin-top: 0px;
}
#views-live-preview div.views-row + div.views-row {
  margin-top: 0px;
}
.views-query-info table {
  border-color: inherit;
  border-spacing: 0;
  margin: inherit;
}
.views-query-info table tr {
  background-color: inherit;
}
.views-query-info table th,
.views-query-info table td {
  color: inherit;
  padding: 0px;
}
#views-live-preview .view-content > .item-list > ul {
  padding-left: 0px;
}
#edit-options-exception.collapsible {
  margin-top: 0;
}
/* Hide the drupal system throbber image */
.ajax-progress .throbber {
  display: none;
}
#views-ajax-body form {
  margin: 1em 0;
}
.views-exposed-form .views-exposed-widget .form-submit {
  margin-top: 2.4em;
}
ul#views-display-menu-tabs {
  margin-top: .5em;
}
ul#views-display-menu-tabs li  {
  background-color: transparent;
  color: $color-text;
  border-bottom:4px solid transparent;
  border-radius: 0;
}
.views-displays .secondary a  {
  color: $color-text;
}
.views-displays .secondary .active a,
.views-displays .secondary .active a:hover   {
  color: $color-text;
  border-bottom:4px solid;
  border-color: $color-link-alternate;
}
.views-displays .secondary .action-list {
  background: #fff;
  border: 1px solid #ddd;
  padding: .5em;
}
.action-list input.form-submit {
  color: $color-link;
  padding: 0;
  margin: 0;
}
.views-displays .secondary .action-list input.form-submit {
  color: $color-text;
  text-shadow: none;
  font-weight: normal;
}

/* PANELS */

.dashboard-content {
  padding:0;
}
.dashboard-title {
  font-weight: 300;
  font-size: 2em;
  margin-bottom: .5em;
}
.dashboard-entry .dashboard-link {
  font-size:120%;
  font-weight:normal;
}
.ctools-button-processed {
  border:0;
  background: $color-background;
}
.ctools-button-processed li {
  background: transparent;
}
/**
 * Enlarge dropbutton arrow
 */
.ctools-twisty {
  border-width: 6px 6px 0;
  right: 4px;
}
.ctools-dropbutton-processed.open .ctools-twisty {
  border-bottom: 6px solid;
  top: 0.3em;
}
.dashboard-block {
  border-bottom:none;
  margin-bottom:0;
  padding-bottom:0;
}
.panels-dashboard .links {
  margin-top:0;
}
div.dashboard-block { /* panels dashboard, not dashboard */
  padding: 0;
  background: transparent;
  border:0px solid transparent;
  margin-bottom: 0;
}
dl.page-manager-wizards  {
  background: url('../images/list-item.png?1377114396') no-repeat scroll 0 0 transparent;
  margin: 0 0 1em;
  padding: 0 0 0 2.5em;
}
dl.page-manager-wizards dt {
  font-size: 1em;
  font-weight: 500;
}
dl.page-manager-wizards dd  {
  margin-left: 0;
}
#page-manager-edit .page-manager-wrapper,
#page-manager-edit .page-manager-tabs,
#page-manager-edit .page-manager-edit-operations ul,
#page-manager-edit .page-manager-edit-operations ul li  {
  background-color: transparent;
  border: 0px solid transparent;
}
#page-manager-edit .page-manager-edit-operations .inside {
  border: 0px solid transparent;
}
#page-manager-edit .page-manager-edit-operations li {
  background: transparent;
  border: 0px solid transparent;
}
#page-manager-edit .page-manager-edit-operations li.changed,
#page-manager-edit .page-manager-edit-operations li.changed-group .page-manager-group-title {
  background-color: transparent;
  border: 0px solid transparent;
}
#page-manager-edit table tr.even {
  background-color: transparent;
  border: 0px solid transparent;
}
#page-manager-edit .page-manager-ajax-pad {
  background: transparent;
  border-left: 1px solid #ddd;
}
#page-manager-edit .actions li a {
  color:inherit;
  background-color: transparent;
  border: 0px solid transparent;
}
#page-manager-edit .page-manager-changed {
  float: left; /* LTR */
  font-style: italic;
  color: inherit;
  padding-left: 1em;
  padding-right: 22px;
  background: none;
  background-color: transparent;
  border: 0px solid transparent;
}
#page-manager-list-pages-form .form-select,
#page-manager-list-pages-form input,
#ctools-export-ui-list-form .form-select,
#ctools-export-ui-list-form input {
  display: inline-block;
}
#page-manager-list-pages-form .form-item,
#ctools-export-ui-list-form .form-item {
  padding-right: .25em;
  float: none;
  display: inline-block;
}
#edit-pages-apply, 
#edit-pages-reset,
#ctools-export-ui-list-form .form-submit  {
  margin-top: 0;
  float: none;
}
body form#page-manager-list-pages-form,
body form#ctools-export-ui-list-form  {
  margin: 1em 0;
}

/* MEDIA */

/* Media - Field widget */

.media-widget {
  padding: 9px 0;
  margin: 0 10px 10px 0;
}
.media-widget:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.media-widget .form-item {
  margin: 0;
  padding-bottom: 0;
}
.media-widget .preview {
  background: #CCC;
  min-height: 110px;
  min-width: 110px;
  margin-right: 10px;
  border: 1px solid #CCC;
  float: left;
}
.media-widget .preview .media-item {
  margin: 0;
  border: 0;
}
.media-widget .button {
  display: block;
}
.media-thumbnails-select {
  float: left;
  margin: 1em 0;
  clear: both;
}
#media-browser-library-list {
  clear: both;
  float: left;
}
.media-list-thumbnails .form-type-checkbox {
  bottom: 138px;
  left: 2px;
}
.media-list-thumbnails img,
.media-list-thumbnails label {
  margin: 0;
}
.media-item .label-wrapper {
  text-align: left;
  bottom: 0;
  left: 5px;
  margin: 0;
  width: 90%;
  overflow: hidden;
}
.media-item {
  background: #eee;
  border: 1px solid #CCCCCC;
  padding: 18px;
}

/* Media - Media browser */

#media-browser-tabset #branding {
  padding: 10px 0 0 10px;
}
#media-browser-tabset ul.tabs.primary li {
  margin-right: 0;
  margin-left: .2em;
}
#media-browser-tabset ul.tabs.primary li a:link {
  position: relative;
  top: 1px;
  font-size: 1.2em;
  font-weight: normal;
  padding: .5em 1em;
  margin: 0;
  background: rgba(0, 0, 0, 0.06);
  border: 0px solid rgba(0, 0, 0, 0);
  color: #555;
  vertical-align: text-bottom;
  border-radius: 0;
}
#media-browser-tabset ul.tabs.primary li.ui-state-active a {
  background: transparent;
  border: 0px solid transparent;
  border-bottom: 0px solid transparent;
  color: $color-background-dark;
}
#media-browser-page .button {
  margin: 1em .5em 1em 0;
  min-width: 80px;
  font-size: 1.1em;
  color: $color-background-dark;
  border: 1px solid #DDD;
  border-radius: 4px;
  cursor: pointer;
  height: 2.2em;
  margin-right: 0.5em;
  padding: 6px 17px;
  text-align: center;
}

/* WORKBENCH */

div.admin.my-workbench .left,
div.admin.my-workbench .right {
  margin: 0;
}

/* FEATURES */

form div.buttons {
  text-align: left;
}

/* =============================================================================

   MEDIA QUERIES
   
   ========================================================================== */

@media (max-width: 960px) {

  /* dashboard */
  div#dashboard_sidebar {
    clear: both;
    margin: 0;
    width: 100% !important;
  }
  #dashboard div#dashboard_main {
	clear: both;
    margin-right: 0%;
    width: 100%;
  }
  /* configuration page */
  div.admin .right, div.admin .left {
    margin: 0;
    width: 100%;
  }

}

@media (max-width: 480px) {

  #overlay #page {
    margin: 0;
    padding: 1em;
  }
  #overlay  {
    padding: 1em;
  }
  div#overlay {
    width:100%;
  }
  body.admin-expanded {
    margin-left: 0;
  }
  #toolbar .screen-reader-text {
    display: none;
  }
  body.admin-expanded div#admin-toolbar {
    width: 100%;
  }
  body.admin-expanded div#admin-toolbar.vertical div.admin-blocks {
    width: 100% !important;
  }
  #tab-bar {
    display: none;
  }
  /* form elements */
  label {
    margin: .25em 0;
  }
  .form-item {
    display: block;
    width: 100%;
  }
  input.form-button-disabled,
  input.form-button-disabled:active {
  float: none;
  width: 100%;
  margin: 1em 0;
  }
  #edit-submit,
  .form-submit,
  input.form-autocomplete,
  input.form-text,
  input.form-file,
  textarea.form-textarea,
  select.form-select {
  min-width:100% !important;
  max-width:100% !important; /* form-text overflows the page in chrome. should be fixed in core */
  float: none;
  margin: 1em 0;
  }
  input.form-text:focus,
  input.form-file:focus,
  textarea.form-textarea:focus,
  select.form-select:focus {
  width: 100%;
  float: none;
  margin: 1em 0;
  }
  /* dashboard */
  #dashboard div#dashboard_main {
	clear: both;
    margin-right: 0%;
    width: 100%;
  }
  div#dashboard_sidebar {
    clear: both;
    margin: 0;
    width: 100% !important;
  }
  /* configuration page */
  div.admin .right, div.admin .left {
    margin: 0;
    width: 100%;
  }
  /* appearance page */
  .system-themes-list-enabled .theme-selector .screenshot, .system-themes-list-enabled .theme-selector .no-screenshot {
    clear: both;
    margin: 0 40px 20px 0;
  }
  .system-themes-list-disabled .theme-selector {
    float: left;
    padding: 0 20px 20px 0;
    width: 300px;
  }
  .color-form #placeholder {
    position:relative;
  }
  html.js #preview {
    margin-left: -15px;
  }
  /* vertical tabs */
  div.vertical-tabs {
    background: image-url("fc.png") repeat-y scroll -97px 0 $color-background;
    border: 1px solid #ddd;
  }
  div.vertical-tabs .vertical-tabs-list {
    width: 143px;
  }
  div.vertical-tabs .vertical-tabs-panes {
    margin: 0 0 0 163px;
  }

  /* workbench */
  div.admin.my-workbench .left,
  div.admin.my-workbench .right {
    float: none;
    width: 100%;
  }
  div.admin.my-workbench .left {
    margin-bottom: 20px;
  }
  div.admin.my-workbench .left .views-field-picture {
    float: left;
  }
  div.admin.my-workbench .left .views-field-name,
  div.admin.my-workbench .left .views-field-edit-node {
    text-align: right;
  }
}
.search-block-form {
	margin-top:20px;
	margin-bottom:20px;
}

.theme-info {
  h3 {
    font-size: ms(2);
  }
}

/* =============================================================================

   FADE IN ON PAGELOAD
   
   ========================================================================== */

/*@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.fade-in {
  opacity:0;
  -webkit-animation:fadeIn ease-in 1;
  -moz-animation:fadeIn ease-in 1;
  animation:fadeIn ease-in 1;

  -webkit-animation-fill-mode:forwards;
  -moz-animation-fill-mode:forwards;
  animation-fill-mode:forwards;

  -webkit-animation-duration:.3s;
  -moz-animation-duration:.3s;
  animation-duration:.3s;

  -webkit-animation-delay: 0.5s;
  -moz-animation-delay: 0.5s;
  animation-delay: 0.5s; 
}*/

