/*~~~~~~~~~~*/
/* Defaults */
/*~~~~~~~~~~*/

@import url('http://fonts.googleapis.com/css?family=Oxygen');

body {
  font-family: 'Oxygen', sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.5em;
}
textarea, input {
  font-size: 1em;
  line-height: 1.5em;
}

body#wagn {
  min-width: 320px;
}
#wrapper {
  padding: 0 2%;
}
li {
  line-height: 1.5em;
  margin-bottom: .5em
}

h1,
h2 {
    color: #000; 
    font-weight: normal;
}
.titled-view > h1,
h1 {
    font-size: 1.5em; 
    line-height: 1.5em;
}
h2 {
    font-size: 1.3em; 
    line-height: 1.3em;
}
pre {
    background: #C6DAE1;
}

a,
.submenu a,
a.external-link {
    color: #3888a6;
}
a.external-link {
    padding-right: 0px !important;
    background: transparent;    
}
.card-frame > .card-header {
   background: #186886;
    color: #fff;
    font-size: 1.1em;
}
header,
#top-bar {
  display: block;
  border-bottom: 4px solid #666;
  padding: 15px;
  margin-bottom: 30px;
  margin-top: 0;
  overflow:hidden;
  text-align: right;
  font-size: 16px;
  a {
    color: #222;
    font-weight: normal;
    text-transform: lowercase;
    white-space: nowrap;
  }
  
  .navbox-form {
    padding: .8em 0;
    display: block;
  }
  .navbox {
    border: 1px solid #666;
    background: #8CB4C3;
    width: 350px;
    max-width: 100%;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    padding: 2px;
    display: inline-block;
  }
  #top-menu {
    white-space: nowrap;
    a {
      margin-left: 40px;
      font-weight: bold;
    }
  }
}

#top-logo {
  float: left;
  max-width: 40%;
  padding: 0 10px 10px 0;
}
#top-logo img {
  max-height: 110px;
  max-width: 100%;

}

#logging a {
  margin-left: 15px;    
}


body#wagn,
body#slide-layout {
    background: #fff;
}
#container {
  margin-left: 180px;
  margin-right: 20px;
}
article,
#primary {
  width: 100%;
}
aside,
#secondary {
  position: absolute;
  left: 0;   
  width: auto;
  max-width: 150px;
  text-align: right;
  padding-right: 25px;
  border-right: 4px solid #666;
  h1, h2 {
    text-transform: lowercase;
    font-size: 1.4em;
    line-height: 1.3em;
    padding: 5px 0;}
  a {
    font-size: 1.2em;
  }
  p {
    padding: 4px 0;
    strong {
      font-size: 1.8em;
    }
  }
}
article, aside,
#primary, #secondary {
  padding-bottom: 80px;
  margin-bottom: 30px;
}

#main > .titled-view > .card-header {
  font-size: 2.4em;
  line-height: 1.5em;
  margin-bottom: .6em;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/* Customization for home card */
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

#main > .SELF-go_together,
#main > .SELF-go_together .card-header {
    text-align: center;
}
#main > .SELF-go_together .card-header .card-menu-link {
    display:none;  
}
.SELF-go_together .shade-view h1 {
    font-size: 1.5em;
    line-height: 1.2em;
    margin: .5em;
}
.SELF-go_together .shade-view .ui-icon {
  display:inline-block;
}
.SELF-go_together .SELF-home_bullet {
    display: block;
    margin: 50px 0;
}
.SELF-go_together .shade-content { 
    display: none;
    margin: 15px 0 30px 0;
}
.SELF-go_together .shade-content p {
    font-size: 15px;
}
.SELF-go_together .shade-content strong {
    font-size: 1.1em; 
}

.SELF-blog .titled-view {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 2px solid #666;
}
.SELF-blog .titled-view > h1 {
    padding: 10px 0 20px 0;
}
.SELF-blog > .content > div > a {
  float: right;
  padding-left: 20px
}




/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/*  Customization for Recent activity and Wagn News sidebar cards */
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/



/* customizing github feed
.SELF-guthub_feed blockquote { display:inline; }
*/


/*~~~~~~~~~~~~~~~*/
/*  howto videos */
/*~~~~~~~~~~~~~~~*/


div.RIGHT-howto_video {
  text-align: center;
  display: block;
}



/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/* special tables inside of card content */
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/



.SELF-hosting_and_consulting table,
.SELF-issue_severity_chart table {
  border: 1px solid #888;
  width: 100%;
  border-collapse: collapse;
}
.SELF-issue_severity_chart td,
.SELF-hosting_and_consulting td,
.SELF-hosting_and_consulting th {
  padding: 5px;
  border: 1px dotted #888;
  text-align: center;
}
.SELF-hosting_and_consulting th {
  font-weight: bold;
  color: #000;
}



.RIGHT-tag .pointer-item.item-link a {
 background: #E7F8D6; 
}

/* inline & color "Draft blog entries" */
.SELF-draft_blog_entry .pointer-list,
.SELF-draft_blog_entry .item-link {
  display: inline;
}
.SELF-draft_blog_entry .item-link a {
 background: #E7F8D6; 
}

/* user cards */

.TYPE-user .RIGHT-image.content-view {
  display: block;
  margin: 0 0 10px 2%;
  max-width: 40%;
}
.TYPE-user .RIGHT-image img {
  border-radius: 8px;
  max-width: 100%;
}

/* inclusion syntax table */

.SELF-inclusion_syntax th {
  background: #eee;
}
.SELF-inclusion_syntax td {
  padding: 15px;
}
.SELF-inclusion_syntax td.w-incl-key p,
.SELF-inclusion_syntax td.w-incl-val p {  font-weight: bold;
}
.SELF-inclusion_syntax td.w-incl-val p em {
  font-weight: normal;
}
.TYPE_PLUS_RIGHT-deck-story .story-right .TYPE-image .content {
    width: 90%;
    border: 3px solid #666;
    border-radius: 20px;
    display: block;
    text-align: center;
}
.TYPE_PLUS_RIGHT-deck-story .story-right img {
    width: 100%;
    border-radius: 16px;
}
.TYPE_PLUS_RIGHT-deck-story .story-right {
    float: right;
    display: block;
    width: 40%;
    padding: 0 0 0 40px;
}
.TYPE_PLUS_RIGHT-deck-story .story-right .missing-view {
  display: none !important;    
}
.TYPE_PLUS_RIGHT-deck-story .story-right p,
.TYPE_PLUS_RIGHT-deck-story .story-right div {
    font-size: 15px;
    font-style: italic;
}
.TYPE_PLUS_RIGHT-deck-story .story-right > .RIGHT-quote {
    display: block;
    padding: 40px 0 0 0;    
}
.TYPE_PLUS_RIGHT-deck-story >  .content > h1 {
    padding-top: 30px;
    border-top: 2px solid #666;
}
.TYPE_PLUS_RIGHT-deck-story .RIGHT-content {
    margin: 30px 0;
    display: block;
}
.comment-box {
    background: inherit;
}
blockquote .titled-view > .card-header {
  margin-bottom: 0;
  padding-bottom: 0;
}

blockquote .titled-view > .card-header h1 {
  font-size: 1.2em;
}
.SELF-menu-example > .content .ui-icon {
  display: inline-block;
}

.ui-icon {
  background-image: url('/assets/smoothness/ui-icons_888888_256x240.png')
}

@media all and (max-width: 600px) {
  #top-bar {
    text-align:center;
    float:none;
    padding: 5px;
    margin-bottom: 10px;
  }  
  #top-bar .navbox-form {
    clear: both;
    padding: 10px 0;
  }
  #top-bar #top-menu a {
    margin: 0 3%;
  }
  #logging {
    float: right;
    max-width: 55%;
    text-align: right;
  }
  #main > .titled-view > .card-header h1  {
    font-size: 1.6em;
  }
  #container {
    margin-left: 150px;
  }
  #secondary {
    margin: 0;
    padding-right: 15px;
  }
}

/*
/* Black text in body and headers */
body, .reset,
h1, h2  {
  color: #000;
}

h1 { font-size: 20px; line-height: 36px; }

pre { line-height: 12px; }


/* light silver page background */
body#wagn {
  background: #ACACAC;
}

#logo {
  background: transparent;
  border: none;
}
/* When background image is possible (pretty sure it is; find example):
body#wagn {
  background: url(/images/body-bg.bmp) repeat-x #ACACAC;
}
*/

a:link,
.submenu a:link,
.item-link a:link,
a.card-menu-link:link,
a.external-link:link {
    color: #C39953;
}

a:visited,
.submenu a:visited,
.item-link a:link,
a.card-menu-link:link,
a.external-link:visited {
    color: #BA7827;
}

a:hover,
.submenu a:hover,
.item-link a:link,
a.card-menu-link:link,
a.external-link:hover {
    color: #FFD700;
}

a:active,
.submenu a:active,
.item-link a:link,
a.card-menu-link:link,
a.external-link:active {
    color: #FFA500;
}

/* light brown and gold links */
.card-slot a:link{ color: #803A08; }
.card-slot a:hover{ color:#FFD700; }
.card-slot a:visited{ color:#B8860B; }
.card-slot a:active{ color:#FFA500; }

.card-slot .change-view .last-edited {
  color: #DAA520;
}

/* silver top bar and card headers and submenu text */
/* #menu {
  background: #888;
} */
.card-slot .card-header {
  background: #888  none repeat scroll 0;
}
.card-slot .submenu a {
  color: #888;
}

/* change to ledge logo */
/* .card-slot .content-view.ALL_TYPE */

/* cards in blog - no header/footer, no card outlines, big margin below entries, inline tags & authors, comments - pale header & 10px text */

.SELF-blog .card-header, .SELF-blog .card-footer {
  display: none;
}
.SELF-blog .card-slot {
  border-width: 0px;
  margin: 0px 0px 48px 0px;
}
.SELF-blog .card-slot.line.TYPE_PLUS_RIGHT-blog_entry-comment .card-header {
  background: #DADADA;
}
.TYPE-blog_entry .transcluded.TYPE-pointer[item="link"] > span > div.pointer-list
{ display: inline; }
.TYPE-blog_entry .transcluded.TYPE-pointer[item="link"] > span > div.pointer-list div
{ display: inline; }
.TYPE-blog_entry .transcluded.TYPE-pointer[item="link"] > span > div.pointer-list div a
{ background-color: #666666;}
.TYPE-blog_entry .transcluded.TYPE-search[item="link"] > span > div.search-result-list
{ display: inline; }
.TYPE-blog_entry .transcluded.TYPE-search[item="link"] > span > div.search-result-list div
{ display: inline; }
.TYPE_PLUS_RIGHT-blog_entry-comment p {
  font-size: 10px;
}


.w-gray 
{
  color: #888;
}

/* help text - light gray background, left-aligned, fixed padding */
.help, .instruction {
  background: #DDD;
  text-align: left;
  border: 0px solid #000;
  padding: 0px 8px;
  a:link{ color: #2E8B57}
  a:hover{ color:#3CB371; }
  a:visited{ color:#8FBC8F; }
  a:active{ color:#228B22; }
}

/* light gray comment background, disappear redundant "Comment:" label */
.card-slot .comment-box {
  background: #DADADA none repeat scroll 0;
  -moz-border-radius-bottomleft: 8px;
  -moz-border-radius-bottomright: 8px;
}
.card-slot hr {
  color: #DADADA;
  background-color: #DADADA;
  border: solid;
  height: 1px;
  margin: 5px 25px 5px 25px;
}
.comment-box br {
  line-height: 0px;
}

/* removing dashed line and gray area around edit modes */
.card-slot .edit-area, .card-slot span.transcluded:hover div.edit-area {
  background: white;
  border: 0px;
}

/* remove footers in sidebar - not getting class-specification right yet */
/*div.secondary .card-footer {
  display: none;
}*/

/* messing with tinyMCE */
.defaultSkin table.mceLayout tr.mceFirst td {
  border-top: 3px solid black;
  background-color: #ACACAC;
}
.defaultSkin table {
  background-color: #ACACAC;
}
.defaultSkin .mceButton {
  border: 0 none;
}
.defaultSkin table.mceLayout tr.mceLast td {
  line-height: 12px;
  background-color: #ACACAC;
}


/* inline and background-color the cards listed by any "+tags" card with item:link view */
/*
.RIGHT-tag[item="link"] .pointer-list,
.RIGHT-tag[item="link"] .pointer-list .pointer-item 
{
    margin: 0 auto;
    display:inline-block;
    vertical-align:top;
    overflow:hidden;
    padding-top: 20px;
    padding-right: 2in;
    width: 60px;
}
.RIGHT-tag[item="link"] .pointer-item a {
    background: #DADADA;
    margin: 0 auto;
    display:inline-block;
    vertical-align:top;
    overflow:hidden;
    padding-top: 20px;
    padding-right: 2in;
    width: 60px;
}

.RIGHT-tag[item="link"] > span > div.pointer-list,
.RIGHT-tag[item="link"] > span > div.pointer-list div,
.RIGHT-tag[item="link"]  > span > div.pointer-list div a,
.RIGHT-tag[item="link"]  > span > div.search-result-list,
.RIGHT-tag[item="link"]  > span > div.search-result-list div
{  
    margin: 0 auto;
    display:inline-block;
    vertical-align:top;
    overflow:hidden;
    padding-top: 20px;
    padding-right: 2in;
    width: 60px;
}
.RIGHT-tag[item="link"]  > span > div.pointer-list div a
{ 
    background-color: #666666;
}
*/

/* make *css taller */
.SELF-Xcss textarea 
{
  height: 30em;
}

/* fixing some stupidity built into Wagn - can be removed after the Wagn release with skins comes out */
/*.content-view {
  display: block;
}*/

/*#foot
{ 
  clear:both;
  display: block;
  width: 100%; 
  padding: 0; 
  margin: 0; 
  text-align: center; 
  margin-right: 0px;
}*/

/*#foot p
{
  background: #ddd;
}*/

/*#foot .wagn-badge 
{
   display: block;
   position: relative;
   left: 8px;
   margin-top: 10px; 
}*/

/*#foot .wagn-badge img 
{
   position: relative;
   right: 16px;
   z-index: -1;
}*/

.SELF-wagn_help-original > .content ul {
  list-style-type: none;
  margin: 1em;
  padding: 0;
}
.SELF-wagn_help-original > .content li {
  padding: .8em;
  margin: 0;
  background: #eeeeee;
}
.SELF-wagn_help-original > .content li:nth-child(even) {
  background: #ddd;
}
.SELF-wagn_help-original > .content h1 {
  font-size: 1.5em;
  padding: 0.6em 0 0.3em 0;
}
.SELF-wagn_help-original > .content aside {
  float: right;
  border: 1px solid #999;
  background: white;
  width: 33%;
  padding: 1em;
  margin: 36px 16px 2px 5px;
  overflow: auto;
  border-radius: 18px;
  -moz-border-radius: 18px;
  text-align: center;
}
.SELF-wagn_help-original > .content aside h2 {
  font-size: .9em;
}
.SELF-wagn_help-original > .content aside p {
  font-size: .8em;
}