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

@import url('https://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;
  }
}

// override nav-link
#logging a {
    display: inline-block;
}