﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: rgba(0,0,0, 0);
  -moz-tap-highlight-color: rgba(0,0,0, 0);
  tap-highlight-color: rgba(0,0,0, 0);
  font: 300 16px/100% 'Arial', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}

[sidebarjs] .img {
  display: block;
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  margin-right: 16px;
  opacity: .8;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.img.products2 {
    background-image: url('../img/products2.png');
}
.img.sell1 {
  background-image: url('../img/sell1.png');
}
.img.author {
  background-image: url('./img/code.png');
}
.img.wiki {
  background-image: url('./img/wiki.png');
}
.img.bugs {
  background-image: url('./img/bugs.png');
}

/* –––––––––––––––––––––––––––––––––––––––
                Basic Demo
–––––––––––––––––––––––––––––––––––––––– */
header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
  padding: 12px;
  background: #00BFFF;
}
.icon {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background .1s;
}
.icon:active {
  background: rgba(255,255,255, .2);
}
.hamburger-icon:before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  margin: auto;
  width: 70%;
  height: 2px;
  border-radius: 2px;
  background: #FFF;
  box-shadow: 0 -6px 0 #FFF, 0 6px 0 #FFF;
}
[sidebarjs] .large-img {
  position: absolute;
  top: 48%; left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 110px;
  height: 110px;
  margin: auto;
}
header h1 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22px;
  margin: auto;
  font: 300 22px/100% 'Arial', sans-serif;
  color: #FFF;
  cursor: default;
  text-align: center;
}
header .back-button {
    z-index: 2;
  position: absolute;
  top: 0;
  left: 36px;
  right: 0;
  bottom: 0;
  height: 22px;
  margin: auto;
  font: 300 12px/100% 'Arial', sans-serif;
  color: #FFF;
  cursor: pointer;
  text-align: left;
  vertical-align: middle;
  padding-left: 10px;

}
header .back-button-search {
    z-index: 2;
  position: absolute;
  top: 0;
  left: 0px;
  bottom: 0;
  width: 22px;
  height: 22px;
  margin: auto;
  font: 300 12px/100% 'Arial', sans-serif;
  color: #FFF;
  cursor: pointer;
  text-align: left;
  vertical-align: middle;

}
header .searchbox {
    z-index: 2;
  position: absolute;
  top: 0;
  left: 42px;
  right: 0;
  bottom: 0;
  height: 22px;
  margin: auto;
  font: 300 12px/100% 'Arial', sans-serif;
  color: #00BFFF;
  cursor: pointer;
  text-align: left;
  vertical-align: middle;
  
    margin-right: 10px;

}
header input[type=search] {
    width: 130px;
    box-sizing: border-box;
    border: 0px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: #00BFFF;
    color: #FFF;
    width: 100%;
}
header input[type=search]::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  color: #FFF;
  text-decoration-line:underline;
}
header input[type=search]:-moz-placeholder, textarea:-moz-placeholder {
  color: #FFF;
  text-decoration-line:underline;
}
header .user-thumb-right {
    z-index: 2;
  position: absolute;
  top: 0;
  right: 10px;
  bottom: 0;
  height: 22px;
  margin: auto;
  font: 300 12px/100% 'Arial', sans-serif;
  color: #FFF;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  

}
header .search-icon-right {
    z-index: 2;
  position: absolute;
  top: 0;
  right: 42px;
  bottom: 0;
  height: 22px;
  margin: auto;
  font: 300 12px/100% 'Arial', sans-serif;
  color: #FFF;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  

}


/* –––––––––––––––––––––––––––––––––––––––
              Advanced Demo
–––––––––––––––––––––––––––––––––––––––– */
[sidebarjs] * {
  font: 300 16px/100% 'Arial', sans-serif;
}

[sidebarjs] h3 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: flex-end;
  -ms-flex-align: end;
  align-items: flex-end;
  min-height: 80px;
  padding: 16px;
  background: #2196F3;
  color: #FFF;
  font-size: 20px;
}

[sidebarjs] nav {
  overflow-x: hidden;
  overflow-y: auto;
}

[sidebarjs] nav > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0,0,0, .1);
}
[sidebarjs] nav > div:first-child {
  border-top: none;
}
[sidebarjs] nav a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -moz-align-items: center;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
  color: deepskyblue;
 font-weight: 600;
  padding: 16px;
  transition: background 0.3s ease;
}
.copied-from-above{
     color: rgba(0,0,0, .64);
}
[sidebarjs] nav a:active {
  color: inherit;
  background: rgba(0,0,0, .1);
}

#selected {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  margin: auto;
  width: 110px;
  height: 84px;
}
#selected .img {
  margin: auto;
  width: 64px;
  height: 64px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#selected .label {
  text-align: center;
  padding: 12px;
}

.basic {
  position: absolute;
  right: 0; bottom: 16px; left: 0;
  margin: auto;
  text-align: center;
  color: #2196F3;
  font-size: 12px;
  line-height: 140%;
}

section {
  padding: 16px;
}

input[type="radio"] {
  display: none;
}
input[type="radio"] + label {
  position: relative;
  padding: 0 20px;
  font-size: 90%;
}
input[type="radio"] + label:before {
  content: "";
  position: absolute;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #2196F3;
  background-color: #2196F3;
  box-shadow: inset 0 0 0 9px white;
  -webkit-transition: all .3s ease;
  -miz-transition: all .3s ease;
  transition: all .3s ease;
}
input[type="radio"]:checked + label:before {
  box-shadow: inset 0 0 0 3px white;
}

h2 {
  margin: 12px 0;
}

@import url('https://rawgit.com/SidebarJS/sidebarjs/master/demo/demo.css');

[sidebarjs] h3 {
  line-height: 120%;
}

html, body, app {
  height: 100%;
}
body {
  min-height: auto;
}
app {
  display: block;
}
main p {
  font-size: 14px;
  line-height: 140%;
}
main .app__js-toggle-buttons {
  display: flex;
  justify-content: space-between;
  position: fixed;
  z-index: 9999;
  left: 16px;
  bottom: 16px;
  right: 16px;
}

main .app__js-toggle-button {
  width: 48%;
  font-size: 14px;
  text-align: center;
  padding: 12px 15px;
  border-radius: 2px;
  background: #eeeeee;
  box-shadow: 0 3px 6px rgba(0,0,0, .16), 0 3px 6px rgba(0,0,0, .23);
}
