

.callback-offset, .callback-offset-back{
    width: 100%;
    position: absolute;
}

.callback-offset-back{
    top: 0;
    height: 50px;
    border-bottom: 1px dashed #ffed0d;
}

.callback-offset{
    bottom: 0;
    height: 60px;
    border-top: 1px dashed #ffed0d;
}

code{
    color: #caaee1;
    font-family: monospace;
}

#examples{
    background-color: #191919;
    background-color: rgba(0,0,0,0.3);
    padding: 5px;
    margin: 10px 0;
    overflow: hidden;
}

#examples > hr{ margin: 20px 10px; }

.contentScroll:not(.popUp){
    overflow: auto;
    position: relative;
    padding: 20px 20px 50px 20px;
    /*background: #333;*/
    margin: 10px;
    width: 740px;
    max-width: 97%;
    -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}

.contentScroll.hidden{ display: none; }

.contentScroll.light{
    background-color: #ddd;
    color: #333;
}

.contentScroll hr{
    margin-bottom: -10px;
    border-top: 1px solid rgba(0,0,0,0.7);
}

.contentScroll.light hr{
    border-bottom: 1px solid rgba(255,255,255,0.6);
    border-top: 1px solid rgba(0,0,0,0.1);
}

.contentScroll p{ margin: 30px 0; }

.contentScroll p:last-child{ margin-bottom: 5px; }

.contentScroll p:nth-child(odd), .contentScroll.light p:nth-child(odd){
    background: #444;
    background: rgba(255,255,255,0.1);
    padding: 5px 10px;
    -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
}

.contentScroll p:nth-child(3n+3){
    color: #bbb;
    background: none;
    padding: 0;
}

.contentScroll.light p:nth-child(odd){
    background: #fff;
    background: rgba(255,255,255,0.8);
}

.contentScroll.light p:nth-child(3n+3){ color: #666; }

.contentScroll p.full:nth-child(odd), .contentScroll p.half:nth-child(odd),
.contentScroll p.full:nth-child(3n+3), .contentScroll p.half:nth-child(3n+3){
    background: none;
    padding: 0;
}

.contentScroll h2{
    font-size: 200%;
    line-height: 130%;
}

.contentScroll h2:first-child{ margin-top: 5px; }

.contentScroll:nth-child(odd) h2{
    font-family: "Oswald", sans-serif;
    font-weight: 300;
    font-style: normal;
}

hr + .contentScroll:nth-child(odd) h2{
    font-family: "Lobster Two", "Georgia", serif;
    font-weight: 700;
    font-style: italic;
}

.contentScroll.light h2{ color: inherit; }

.contentScroll img{
    margin: 0;
    -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
    padding: 3px;
    background: rgba(0,0,0,0.2);
}

.contentScroll.light img{ background: rgba(255,255,255,0.4); }

.contentScroll input[type='text'], .contentScroll textarea{
    border: none;
    background: transparent;
    background-color: #bbb;
    background-color: rgba(255,255,255,0.6);
    min-height: 20px;
    padding: 5px;
    -moz-box-shadow: inset -1px -1px 1px rgba(255,255,255,0.6), inset 3px 3px 20px rgba(0,0,0,0.5);
    -webkit-box-shadow: inset -1px -1px 1px rgba(255,255,255,0.6), inset 3px 3px 20px rgba(0,0,0,0.5);
    box-shadow: inset -1px -1px 1px rgba(255,255,255,0.6), inset 3px 3px 20px rgba(0,0,0,0.5);
    -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
    width: 50%;
    font-size: inherit;
    font-family: inherit;
    color: #222;
}

.contentScroll textarea{
    min-height: 80px;
    width: 70%;
}

.contentScroll .half img{
    max-width: 48%;
    margin: 0 0 2% 2%;
}

.contentScroll .half img:nth-child(odd){ margin: 0 2% 2% 0; }

#demo.showcase{ min-width: 740px; }

.showcase .contentScroll{
    float: left;
    width: 340px;
    height: 300px;
}

.showcase .horizontal-images.contentScroll{
    height: 140px;
    width: 700px;
    max-width: 97%;
    padding: 5px 5px 0 5px;
}

.showcase .horizontal-images.contentScroll h2, .showcase .horizontal-images.contentScroll li img{ height: 119px; }

.showcase .horizontal-images.contentScroll h2{
    color: #fff;
    background-color: #eb3755;
    padding: 10px 20px;
    margin: 0;
    -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
    font-size: 165%;
}

.horizontal-images.contentScroll ul, .vertical-images.contentScroll ul{
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
}

.horizontal-images.contentScroll li{
    margin: 0 3px;
    float: left;
}

.vertical-images.contentScroll li{ margin: 3px 0; }

.horizontal-images.contentScroll li:first-child{ margin-left: 0; }

.vertical-images.contentScroll li:first-child{
    margin-bottom: 3px;
    margin-top: 0;
}

.horizontal-images.contentScroll li:last-child{ margin-right: 0; }

.vertical-images.contentScroll li:last-child{ margin-bottom: 0; }

.horizontal-images.contentScroll li img{
    width: auto;
    padding: 0;
}

.showcase #contentScroll-1.contentScroll{ height: 620px; }

.showcase #contentScroll-2.contentScroll{ height: 620px; }

.showcase #contentScroll-2.contentScroll h2{ color: #333; }a

                                               .showcase #contentScroll-3.contentScroll{
                                                   background-color: #412626;
                                                   background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAJ0lEQVQIW2NkwA7+M2IR/w8UY0SXAAuCFCNLwAWRJVAEYRIYgiAJALsgBgYbCawOAAAAAElFTkSuQmCC");
                                                   margin-right: 40px;
                                                   width: 310px;
                                               }

.showcase #contentScroll-3.contentScroll h2{ color: #eb3755; }

.showcase #contentScroll-4.contentScroll{ background-color: #1C383F; }

.showcase #contentScroll-4.contentScroll h2{ color: #ddd; }

.showcase #contentScroll-6.horizontal-images.contentScroll{
    padding: 10px 0 5px 0;
    background-color: #444;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAG0lEQVQIW2NkYGA4A8QmQAwGjDAGNgGwSgwVAFVOAgV/1mwxAAAAAElFTkSuQmCC");
}

.showcase #contentScroll-6.horizontal-images.contentScroll .mCSB_scrollTools{
    margin-left: 10px;
    margin-right: 10px;
}

.showcase #contentScroll-6.horizontal-images.contentScroll ul{
    margin-left: 10px;
    margin-right: 10px;
}

.showcase #contentScroll-6.horizontal-images.contentScroll h2{
    color: #222;
    background-color: #c2beb2;
}

.showcase #contentScroll-6.horizontal-images.contentScroll h2, .showcase #contentScroll-6.horizontal-images.contentScroll li img{ height: 105px; }

.showcase #contentScroll-7.contentScroll{ height: 620px; }

.showcase #contentScroll-8.contentScroll{
    width: 670px;
    height: 580px;
    padding: 0;
    background-color: #151515;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAK0lEQVQIW2NkwAL+//9vzIguDhZkZDyLIgETBCmGSyALwiXQBcES2ARBEgCUVxc3f8oLcQAAAABJRU5ErkJggg==");
    border: 5px solid rgba(0,0,0,0.5);
    margin-right: 40px;
    margin-bottom: 50px;
}

.showcase #contentScroll-8.contentScroll h2{
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.showcase #contentScroll-8.contentScroll p{
    width: 710px;
    float: left;
    margin: 15px 20px;
}

.showcase #contentScroll-8.contentScroll hr + p{ margin-top: 30px; }

.showcase #contentScroll-8.contentScroll p:nth-child(3n+1){
    width: 1460px;
    clear: both;
}

.showcase #contentScroll-9.contentScroll{
    height: 620px;
    background-color: #c2beb2;
    padding: 5px;
}

.showcase #contentScroll-9.contentScroll .mCSB_container{ margin-right: 21px; }

.showcase #contentScroll-9.contentScroll h2{
    height: 85px;
    padding: 10px;
    margin-bottom: 0;
    margin-top: 15px;
    font-size: 180%;
    color: #333;
}

.showcase #contentScroll-9.contentScroll img{
    padding: 0;
    vertical-align: bottom;
}

#iframe-container{
    width: 90%;
    max-width: 1110px;
    background: #000;
    overflow: hidden;
}

#iframe-container iframe{ vertical-align: bottom; }

#infinite-scroll .offset{
    display: block;
    width: 100%;
    height: auto;
    color: #ffed0d;
    -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
}

#infinite-scroll .offset p{
    margin-bottom: 60px;
}

#infinite-scroll .offset .indicator{
    display: block;
    width: 100%;
    height: 100px;
    background: #ffed0d;
    -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
}

#examples.resizable{
    background:#444;
    padding-bottom: 30px;
}

#resizable.contentScroll{
    overflow: hidden;
    width: 640px;
    max-width: 80%;
    -webkit-box-sizing: contentScroll-box; -moz-box-sizing: contentScroll-box; box-sizing: contentScroll-box; /* jquery ui resizable bug: http://bugs.jqueryui.com/ticket/8932 */
}

#resizable.contentScroll h2{ color: #444; }

#resizable.contentScroll p{ width: 1000px }

.contentScroll.fluid{
    width: 90%;
    max-width: 1680px;
}

.contentScroll.fluid h2{
    color: #eb3755;
    font-family: "Lobster Two", "Georgia", serif;
    font-weight: 700;
    font-style: italic;
}

.contentScroll.nested{ height: 600px; }

.contentScroll.nested .nested{
    margin: 0 auto;
    background-color: rgba(0,0,0,0.1);
    height: 400px;
}

#contentScroll-1.contentScroll.nested{ margin-bottom: 40px; }

#contentScroll-1.contentScroll.nested p{ width: 1000px; }

#contentScroll-1.contentScroll.nested .nested{
    margin: 20px;
    width: 600px;
    height: 300px;
}

.contentScroll.zero-height{ height: 0; }

.contentScroll.zero-width{ width: 0; }

.init-hidden #examples{ min-height: 420px; }

.full-page .contentScroll{ height: 800px; }

.full-page-alt #mCSB_1_container{
    width: 97% !important; /* override plugin property */
    min-width: 480px;
}

.full-page-alt #mCSB_1_scrollbar_vertical{
    position: fixed;
    margin-right: 30px;
    margin-top: 16px;
    margin-bottom: 16px;
}

.full-page-alt #mCSB_1_scrollbar_horizontal{
    position: fixed;
    margin-bottom: 30px;
    margin-left: 16px;
    margin-right: 16px;
}

.full-page-alt .outer.contentScroll{ width: 960px; }

.full-page-alt .horizontal-images.contentScroll{
    height: 275px;
    width: 100%;
    margin: 20px auto 10px auto;
}

.full-page-alt .horizontal-images.contentScroll img{ height: 200px; }

.contentScroll table{
    width: 100%;
    border-collapse: collapse;
    border-top: 1px dashed #666;
    border-left: 1px dashed #666;
    border-right: 1px dashed #666;
    background: rgba(0,0,0,0.1);
}

.contentScroll table tr{ border-bottom: 1px dashed #666; }

.contentScroll table td{ padding: 10px 20px 9px 20px; }

.sortable{ min-width: 800px; }

#sortable ul{
    margin-top: 20px;
    margin-bottom: 10px;
}

#sortable li{
    margin: 10px 40px;
    background: #444;
    padding: 5px 10px;
    color: #fff;
    -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
}

#sortable li:active, #sortable .ui-sortable-helper{ background: #eb3755; }

#examples.tabs, #examples.accordion, #examples.autocomplete{
    padding: 5px 20px 20px 20px;
    background-color: #333;
}

#examples.tabs h3, #examples.accordion h3{
    color: #222;
    font-family: inherit;
    font-style: inherit;
}

#tabs{ margin-bottom: 20px; }

#tabs, #tabs-2, #accordion{
    width: 600px;
    max-width:95%;
}

#examples.tabs .ui-widget-contentScroll{ background-image: none; }

#autocomplete{
    border: none;
    background: #fff;
    min-height: 20px;
    padding: 5px 8px;
    font-size: inherit;
    font-family: inherit;
    color: #222;
    margin-top: 15px;
}

#autocomplete:focus{ outline: none; }

.ui-menu a{
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
}

.ui-menu .mCSB_container{ padding: 2px; }

.ui-menu .mCSB_scrollTools{
    right: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.bootstrap #examples{ background: transparent; }

.bootstrap #myModal-2 .modal-body{
    max-height: 340px;
    -webkit-box-sizing: contentScroll-box; -moz-box-sizing: contentScroll-box; box-sizing: contentScroll-box;
    margin-bottom: -15px;
}

.bootstrap #myTab{ max-width: 600px; }

.bootstrap #myTab .tab-pane{ padding: 15px 5px 15px 15px; }

body.colorbox-demo #cboxcontentScroll, body.colorbox-demo #cboxcontentScroll p, body.colorbox-demo #cboxcontentScroll a:hover{ color: #333; }

.all-themes #examples{ padding: 15px 0 0 15px; }

.all-themes .contentScroll{
    width: 310px;
    height: 500px;
    margin: 0 20px 20px 0;
    float: left;
}

.all-themes .contentScroll h2, .all-themes .contentScroll p, .all-themes .contentScroll hr{
    width: 240px;
    -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}

.all-themes #contentScroll-m h2, .all-themes #contentScroll-m p, .all-themes #contentScroll-m hr,
.all-themes #contentScroll-md h2, .all-themes #contentScroll-md p, .all-themes #contentScroll-md hr{ width: 270px; }

.all-themes .contentScroll.expanded-contentScroll h2, .all-themes .contentScroll.expanded-contentScroll p, .all-themes .contentScroll.expanded-contentScroll hr,
.all-themes #contentScroll-m.expanded-contentScroll h2, .all-themes #contentScroll-m.expanded-contentScroll p, .all-themes #contentScroll-m.expanded-contentScroll hr,
.all-themes #contentScroll-md.expanded-contentScroll h2, .all-themes #contentScroll-md.expanded-contentScroll p, .all-themes #contentScroll-md.expanded-contentScroll hr{ width: 540px; }

.max-height-example .contentScroll{
    height: auto;
    max-height: 400px;
}

.max-width-example{ min-width: 620px; }

.max-width-example .contentScroll{
    height: auto;
    width: auto;
    max-width: 50%;
    min-width: 600px;
    display: inline-block;
    vertical-align: bottom;
}

.max-width-example .contentScroll ul{
    max-height: 135px;
    overflow-y: hidden;
}

.max-width-example .contentScroll img, .max-width-example .contentScroll ul li > a{
    height: 130px;
    border: 3px solid #444;
}

.max-width-example .contentScroll ul li > a{
    display: block;
    padding: 20px;
    -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
    background: rgba(0,0,0,0.3);
}

.snap-scrolling-example .contentScroll{
    height: auto;
    width: 853px;
}

.snap-scrolling-example .contentScroll img{ height: 160px; }

.textarea-example .contentScroll{ width: 360px; }

.textarea-example .contentScroll form{ margin: 25px 0 15px 0; }

.textarea-example .contentScroll textarea, .textarea-example .textarea-clone{
    width: 300px;
    padding: 0 10px;
    line-height:25px;
    -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}

.textarea-example .contentScroll textarea{
    height:160px;
    resize:none;
    overflow:hidden;
    outline:none;
    margin: 0;
    border:none;
    background:transparent;
    box-shadow: none;
}

.textarea-example .contentScroll .textarea-wrapper{
    height:182px;
    overflow:hidden;
    background-color: #bbb;
    background-color: rgba(255,255,255,0.6);
    -moz-box-shadow: inset -1px -1px 1px rgba(255,255,255,0.6), inset 3px 3px 20px rgba(0,0,0,0.5);
    -webkit-box-shadow: inset -1px -1px 1px rgba(255,255,255,0.6), inset 3px 3px 20px rgba(0,0,0,0.5);
    box-shadow: inset -1px -1px 1px rgba(255,255,255,0.6), inset 3px 3px 20px rgba(0,0,0,0.5);
    -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
}

.textarea-example .textarea-clone{
    position:absolute;
    top:-9999px;
    left:-9999px;
    visibility:hidden;
    min-height: 160px;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.textarea-example .contentScroll .textarea-wrapper .mCSB_scrollTools{ margin: 10px 5px; }

.scrollTo-demo .contentScroll{ height: 290px; }

.scrollTo-demo .demo-y{ height: 600px; }

.scrollTo-demo .demo-x{
    width: 660px;
    background-color: #252525;
}

.scrollTo-demo .demo-x p{
    float: left;
    width: 300px;
    margin-left: 30px;
    height: auto;
    padding: 5px 10px;
    background-color: #333;
    -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
}

.scrollTo-demo .demo-x hr + p{ margin-left: 0; }

.scrollTo-demo .demo-yx{ background-color: #424242; }

.scrollTo-demo .demo-yx p{ width: 1000px; }

.scrollTo{ font-size: 12px; }

.scrollTo + .scrollTo{ margin-top: 20px; }

.scrollTo ul li:first-child span{
    display: block;
    padding: 3px 15px;
}

#test-id{
    background-color: #eb3755;
    color: #fff;
}

.rtl-demo #contentScroll-1{ width: 500px; }

.rtl-demo #contentScroll-1 p{ width: 1000px; }

.transitions #examples{
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
}

.transitions .contentScroll{
    -webkit-transition: all .6s ease-out;
    -moz-transition: all .6s ease-out;
    -o-transition: all .6s ease-out;
    transition: all .6s ease-out;
}

