::-webkit-scrollbar{
    width:5px;
    cursor: pointer;
}

::-webkit-scrollbar-thumb{
    border: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    background-color: #646667;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover{
    background-color: #888;
}

#toTop {
    position: fixed;
    left: 10px;
    font-family: tahoma;
    color: rgb(255, 255, 255);
    padding: 6px 10px;
    z-index: 999;
    border-radius: 3px;
    font-size: 11px;
    display: none;
    background: rgba(0, 0, 0, 0.701961);
    bottom: 10px;
    cursor: pointer;
}

.com { color: #93a1a1; }
.lit { color: #195f91; }
.pun, .opn, .clo { color: #93a1a1; }
.fun { color: #dc322f; }
.str, .atv { color: #D14; }
.kwd, .prettyprint .tag { color: #1e347b; }
.typ, .atn, .dec, .var { color: teal; }
.pln { color: #48484c; }

.prettyprint {
    padding: 8px;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
}
.prettyprint.linenums {
    -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
    -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
    box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
}

/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
    margin: 0 0 0 33px; /* IE indents via margin-left */
}
ol.linenums li {
    padding-left: 12px;
    color: #bebec5;
    line-height: 20px;
    text-shadow: 0 1px 0 #fff;
}
ol.linenums {
    font-size: 12px !important;
}
.widget-promo {
    margin-top: 70px;
    margin-bottom: 20px;
}
.widget-promo ul {
    margin-top: 30px;
    margin-left: 0;
    margin-bottom: 40px;
    list-style-type: none;
}

.widget-promo ul li {
    margin-bottom: 15px;
}
.widget-promo img {
    width: 391px;
    opacity: 0.8;
}
.widget-promo ul li i{
    float:left;
    margin-right:15px;
    margin-top:3px;
}
.widget-promo p.buttons div {
    padding: 8px 12px !important;
    line-height: 1.42857;
}

/* Common style */
.widget-preview {
    max-width: 1000px;
    width: 90%;
    margin-left: 34px;
}

.widget-preview div {
    float: left;
    width: 401px;
    color: #333;
}

.widget-preview figure {
    position: relative;
    overflow: hidden;
    margin: 0px 5px 5px 5px;
    background: #333;
}

.widget-preview figure img {
    position: relative;
    display: block;
    opacity: 0.98;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.widget-preview figcaption {
    position: absolute;
    top: 0;
    z-index: 11;
    padding: 0px;
    width: 100%;
    height: 100%;
    text-align: center;
}

.widget-preview figcaption h3 {
    margin: 0 0 10px 0;
    letter-spacing: 1px;
    font-weight: 300;
    font-size: 180%;
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
}

.widget-preview figcaption p {
    padding: 0 20px;
    font-weight: 300;
    font-size: 130%;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
}

.widget-preview figcaption h3,
.widget-preview figcaption p {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
}

.widget-preview figure .button {
    position: absolute;
    padding: 10px 30px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    font-weight: bold;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
}

.widget-preview figcaption,
.widget-preview figcaption h3,
.widget-preview figcaption p,
.widget-preview figure button {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Style for SVG */
.widget-preview svg {
    position: absolute;
    top: -1px; /* fixes rendering issue in FF */
    z-index: 10;
    width: 100%;
    height: 100%;
}

.widget-preview svg path {
    fill: #fff;
}

.widget-preview div:hover {
    cursor: pointer;
}

/* Hover effects */
.widget-preview div:hover figure img {
    opacity: 0.95;
}

.widget-preview div:hover figcaption h3,
.widget-preview div:hover figcaption p {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.widget-preview div:hover figcaption p,
.widget-preview div:hover figcaption h3 {
    opacity: 0;
}

.widget-preview figure .button {
    top: 50%;
    left: 50%;
    border: 3px solid #fff;
    background: transparent;
    color: #fff;
    opacity: 0;
    -webkit-transform: translateY(-50%) translateX(-50%) scale(0.25);
    transform: translateY(-50%) translateX(-50%) scale(0.25);
}

.widget-preview div:hover figure .button{
    opacity: 1;
    -webkit-transform: translateY(-50%) translateX(-50%) scale(1);
    transform: translateY(-50%) translateX(-50%) scale(1);
}

.prettyprint {
    background-color: #fff !important;
    margin-left: 14px !important;
}