/*
 * Webasyst Sidebar 2.0 theme family
 *
 * Core CSS file
 *
 * @link http://www.webasyst.com/
 * @author Webasyst LLC
 * @copyright 2015 Webasyst LLC
 * @package Webasyst
 */

@import "./css/sidebar.css";

/* Reset
-------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, /* ol, ul, li, */ fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, credentials, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; }
article, aside, credentials, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; }

/* Common HTML elements, fonts, and colors
------------------------------------------ */
html,
body { width: 100%; height: 100%; min-height: 100%; font-family: 'PT Serif', Georgia, Times, serif; font-size: 15px; background: #222; }
a { color: #25c; outline:0 none; }
a:focus { outline:none; outline-offset:-4px; }
a:visited { color: purple; }
a:hover { color: #f55 !important; }
input[type="button"]::-moz-focus-inner { border: 0; }
input[type="submit"]::-moz-focus-inner { border: 0; }
a img { border: 0; }
p, dl, hr, h1, h2, h3, h4, h5, h6, ol, ul, pre, table, address, fieldset, blockquote, figure { margin-bottom: 20px; }
h1 { font-size: 2.0em; margin-bottom: 13px; }
h1 a { text-decoration:none; }
h2 { font-size: 1.65em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.1em; }
h5 { font-size: 1.0em; }
h6 { font-size: 1em; }
h1, h2, h3, h4, h5, h6 { line-height:1.3em; }
ul, ol { padding-top:0; }
ol { list-style: decimal; }
p { color: #444; line-height: 1.5em; }
input, textarea, select { margin:0; }
input, textarea { font-size: 1em; color: #000; }
input[type="button"]:focus { outline:none; outline-offset:-2px; }
fieldset { border:1px solid #bbb; padding:10px; position:relative; background:#e9e9e9; margin-bottom:10px; }
fieldset p label { width:98%; }
fieldset p input[type="text"] { width:98%; }
fieldset p select { width:99%; }
pre {margin-top: 16px; font-size: 90%; line-height: 24px; color: rgba(0,0,0,.75); background: rgba(0,0,0,.03); padding: 16px 20px;word-wrap: normal;}
blockquote { color: rgba(0,0,0,.6); font-size:0.9em; font-style: italic; border-left: 1px solid rgba(0,0,0,.1);padding-left: 24px; background: #eee; }
blockquote cite { font-size: 0.9em; }
hr { background-color: #ccc; height: 1px; border: 0; }
input::-webkit-input-placeholder { color: #ccc; }
input:-moz-placeholder,
input::-moz-placeholder { color: #ccc; }
input:-ms-input-placeholder { color: #ccc; }

/* Misc elements
---------------- */

.block { padding: 10px; }
.inline { display: inline !important; }
.inline-link { text-decoration: none !important; }
.inline-link b { border-bottom: 1px dotted; font-weight: normal; position: relative; top: -0.13em;}
.inline-link b i { font-style: normal; position: relative; top: 0.13em;}
.small { font-size: 0.9em; }
.large { font-size: 1.2em; }
.bold { font-weight: bold; }
.strike { text-decoration: line-through; }
.highlighted { background:  #ffc; }
.hint { color: #aaa; font-size: 0.9em; }
.hint a,
.hint:visited,
.hint a:visited { color: #888; }
.gray:not(button):not(input) { color: #aaa; }
.gray a,
a.gray:visited,
.gray a:visited { color: #888; }
.float-left { float: left; }
.float-right { float: right; }
.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }
.clear-left { clear: left; }
.clear-right { clear: right; }
.clear-both { clear: both; }
.shadowed { -moz-box-shadow: 0 5px 15px #aaa; -webkit-box-shadow: 0 5px 15px #aaa; box-shadow: 0 5px 15px #aaa; }
.nowrap { white-space: nowrap; }
.hr { border-top: 1px solid #ccc; margin-bottom: 15px; }
.uppercase { text-transform: uppercase; }

/* Menus
-------- */

ul.menu-v { margin: 0 0 20px -6px; padding: 0; }
ul.menu-v li { list-style: none; padding: 0; margin: 2px 0 6px; line-height: 1.1em; }
ul.menu-v li a { padding: 5px 6px; display: block; }
ul.menu-v li ul.menu-v { margin-left: 15px; margin-top: 10px; margin-bottom: 15px; }
ul.menu-v li ul.menu-v li a { padding: 2px 6px; }

ul.menu-h { margin: 0; padding: 0; }
ul.menu-h.bottom-padded { margin-bottom: 15px; }
ul.menu-h li { list-style: none; display: inline-block; padding: 0 10px 0 0; line-height: 1.1em; }
ul.menu-h li a { display: inline-block; padding: 3px 5px; }
ul.menu-h li a img.icon16 { position: relative; top: 3px; left: -3px; }
ul.menu-h li a i.icon16 { margin-top: -0.1em; }
ul.menu-h li.selected a { color: #000; text-decoration: none; }

/* Sign up & Login forms
------------------------ */

.wa-auth-adapters ul { padding: 0; min-height: 16px; }
.wa-auth-adapters ul li { list-style: none; float: left; padding: 0 15px 0 0; }
.wa-auth-adapters ul li a,
.wa-auth-adapters ul li span { display: block; padding: 0px 5px; }
.wa-auth-adapters ul li a img,
.wa-auth-adapters ul li span img { position: relative; top: 3px; left: -3px; }
.wa-auth-adapters p { clear: left; color: #888; font-size: 0.9em; width: 40%; }
.wa-auth-adapters.wa-connect { margin-top: 20px; }

.wa-form { float: left; margin: 10px 0; overflow: visible; }
.wa-form .wa-field { clear: left; margin: 0; padding-top: 3px; }
.wa-form .wa-field .wa-name { float: left; width: 155px; padding-top: 0.05em; padding-bottom: 10px; font-size: 0.95em; }
.wa-form .wa-field.wa-separator { height: 10px; }
.wa-form .wa-field .wa-value { margin-left: 180px; margin-bottom: 5px; position: relative; }
.wa-form .wa-field .wa-value input.wa-error { border: 2px solid red; }
.wa-form .wa-field .wa-value .wa-error-msg { font-size: 0.9em; color: red; display: block; }
.wa-form .wa-field .wa-value input[type="text"],
.wa-form .wa-field .wa-value input[type="email"],
.wa-form .wa-field .wa-value input[type="password"] { width: 30%; min-width: 260px;  margin:0;}
.wa-form .wa-field .wa-value textarea { min-width: 300px; height: 70px; }
.wa-form .wa-field .wa-value input.wa-captcha-input { width: 100px; min-width: 0; }
.wa-form .wa-field .wa-value label { display: block; }
.wa-form .wa-field .wa-value .wa-captcha img { margin-left: 0; }
.wa-form .wa-field .wa-value .errormsg { margin-left: 0; }
.wa-form .wa-field .wa-value.wa-submit { margin-top: 10px; }
.wa-form .wa-field .wa-value p label { display: block; margin: 0; }
.wa-form .wa-field .wa-value p { line-height: 1.6em; margin-bottom: 23px; position: relative; }
.wa-form .wa-field .wa-value p span { color: #777; font-size: 0.9em; display: block; }
.wa-form .wa-field .wa-value p i.icon16 { float: left; left: -20px; margin-top: 2px; position: absolute; }
.wa-form .wa-field .wa-value p input { display: block; margin-bottom: 2px; }
.wa-form .wa-field .wa-value p input[type="radio"],
.wa-form .wa-field .wa-value p input[type="checkbox"] { display: inline; }
.wa-form .wa-field .wa-value p .field.wa-required span:after { content: " *"; color: #faa; }
.wa-form .wa-field.wa-required .wa-name:after { content: " *"; color: #faa; }

.wa-captcha { padding: 7px 0 10px; }
.wa-captcha p { clear: left; margin: 0; }
.wa-captcha strong { font-size: 1.2em; }
.wa-captcha p img { float: left !important; margin-right: 5px; margin-top: -8px; }
.wa-captcha .wa-captcha-refresh { font-size: 0.8em; text-decoration: underline; color: #aaa; }
.wa-captcha .wa-captcha-input { display: inline !important; }
.wa-captcha .errormsg { display: inline-block; margin-left: 10px; }

input.error, textarea.error { border: 2px solid red; }
.errormsg { color: red; margin-left: 170px; display: block; }

/* Multi-column layout
---------------------- */

.row { clear: both; border-top: 1px solid #eee; padding: 20px 0; }
.row.no-border { border: none; }
.col { float: left; }
.col.w1 { width: 6%; }
.col.w2 { width: 12%; }
.col.w3 { width: 18%; }
.col.w4 { width: 24%; }
.col.w5 { width: 30%; }
.col.w6 { width: 36%; }
.col.w7 { width: 42%; }
.col.w8 { width: 48%; }
.col.w9 { width: 54%; }
.col.w10 { width: 60%; }
.col.w11 { width: 66%; }
.col.w12 { width: 72%; }
.col.w13 { width: 78%; }
.col.w14 { width: 84%; }
.col.w15 { width: 90%; }
.col.w16 { width: 96%; }

/* Misc .table table
-------------------- */

table th { color: #aaa; }
table th,
table td { padding: 5px; }

table.table { margin-top: 25px; width: 100%; border-spacing:0; border-collapse:collapse; }
table.table th { padding-left: 7px; padding-right: 7px; }
table.table td { padding: 15px 7px; border-bottom: 1px solid #ddd; vertical-align: top; }
table.table td.min-width { width: 1%; }
table.table td p { margin: 0; }
table.table td input.numerical { width: 50px; margin-right: 5px; text-align: right; }
table.table tr.no-border td { border: none; }
table.table tr.thin td { padding-top: 13px; padding-bottom: 0; }
table.table tr.service td { padding-top: 5px; padding-bottom: 5px; padding-left: 25px; font-size: 0.8em; color: #555; }

/* 16x16 Icons
-------------- */

i.icon16 { background-repeat:no-repeat; height:16px; width:16px; display:inline-block; text-indent:-9999px; text-decoration:none!important; background-image: url("img/icons.png"); background-size: 260px 160px /* 50% of the original size for auto @2x optimization */; }
* i.icon16 { text-decoration:none!important; vertical-align:top; margin: 0.2em 0.25em 0 0; }
.icon16.rss { background-position: -16px 0; }
.icon16.facebook { background-position: -32px 0; }
.icon16.twitter { background-position: -48px 0; }
.icon16.vk { background-position: -64px 0; }
.icon16.gplus { background-position: -80px 0; }
.icon16.pinterest { background-position: -96px 0; }
.icon16.youtube { background-position: -112px 0; }
.icon16.instagram { background-position: -128px 0; }

.icon16.userpic20 { background-position: -2px -2px; border-radius: 50%; background-size: auto; }
.icon16.color { border-radius: 50%; border: 1px solid rgba(0,0,0,0.2); width: 12px; height: 12px; background-image: none; }

.icon16.like { background-position:0 -16px; margin-top: 0; }
.icon16.star,
.icon16.star-full { background-position:-16px -16px; }
.icon16.star-half { background-position:-32px -16px; }
.icon16.star-empty { background-position:-48px -16px; }
.icon16.star-hover { background-position:-64px -16px; }

.icon16.remove { background-position:-96px -16px; }
.icon16.saved { background-position:-112px -16px; }
.icon16.stock-red { background-position:-128px -16px; }
.icon16.stock-yellow { background-position:-144px -16px; }
.icon16.stock-green { background-position:-160px -16px; }
.icon16.stock-transparent { background-position:-176px -16px; }
.icon16.checkmark { background-position:-192px -16px; }
.icon16.compare { background-position:-208px -16px; }
.icon16.compare.active { background-position:-224px -16px; }

.icon16.cart { background-position:-16px -32px; }
.empty .icon16.cart,
.icon16.cart.empty { background-position:0 -32px; }

.icon16.uarr { background: url('img/uarr.png'); background-position: 0 0; background-size: 16px 16px; }

.icon16.loading { background-image: url('img/loading16.gif'); background-position: 0 0; background-size: 16px 16px; }
.icon24.loading { background-image: url('img/loading.gif'); background-size: 24px 24px; height:24px; width:24px; display:inline-block; }
.icon32.loading { background-image: url('img/loading.gif'); background-size: 32px 32px; height:32px; width:32px; display:inline-block; }

/* 10x10 Icons
-------------- */

i.icon10 { background-repeat:no-repeat; height:10px; width:10px; display:inline-block; text-indent:-9999px; text-decoration:none!important; background-image: url("img/icons.png"); background-size: 260px 160px /* 50% of the original size for auto @2x optimization */; }
* i.icon10 { text-decoration:none!important; vertical-align:top; margin: 0.2em 0.1em 0 0; }
.icon10.darr { background-image: url('img/darr.png'); background-size: 16px 16px; }

.icon10.star,
.icon10.star-full { background-position:0 -100px; }
.icon10.star-half { background-position:-10px -100px; }
.icon10.star-empty { background-position:-20px -100px; }

/* Search input
--------------- */

.search { position: relative; }

.search input { width: 100%; height: 24px; padding: 0 15px; float: left; border: 0; border-radius: 13px; -webkit-appearance: none; margin-right: 0; -moz-box-sizing: border-box; box-sizing: border-box; border: 1px solid #ddd; }
.search input:focus { outline: 0; background: #fff; }

.search input::-webkit-input-placeholder { color: #aaa; font-weight: normal; }
.search input:-moz-placeholder,
.search input::-moz-placeholder { color: #aaa; font-weight: normal; }
.search input:-ms-input-placeholder { color: #aaa; font-weight: normal; }

/* Buttons
---------- */
.content button,
.content input[type=button],
.content input[type=submit] { background: #eee; font-family: 'PT Sans', Helvetica, Arial, sans-serif; color: #000; padding: 3px 11px 2px; font-size: 1em; border: 1px solid rgba(0,0,0,0.3); border-color: rgba(0,0,0,0.2) rgba(0,0,0,0.3) rgba(0,0,0,0.3) rgba(0,0,0,0.3); -webkit-appearance: none; border-radius: 15px;
background: #fcd630 -moz-linear-gradient(top, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.0) 100%); /* FF3.6+ */
background: #fcd630 -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.7)), color-stop(100%,rgba(255,255,255,0.0))); /* Chrome,Safari4+ */
background: #fcd630 -webkit-linear-gradient(top, rgba(255,255,255,0.7) 0%,rgba(255,255,255,0.0) 100%); /* Chrome10+,Safari5.1+ */
background: #fcd630 -o-linear-gradient(top, rgba(255,255,255,0.7) 0%,rgba(255,255,255,0.0) 100%); /* Opera 11.10+ */
background: #fcd630 -ms-linear-gradient(top, rgba(255,255,255,0.7) 0%,rgba(255,255,255,0.0) 100%); /* IE10+ */
background: #fcd630 linear-gradient(to bottom, rgba(255,255,255,0.7) 0%,rgba(255,255,255,0.0) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fde992', endColorstr='#fcd630',GradientType=0 ); /* IE6-9 */
 }
button:hover,
input[type=button]:hover,
input[type=submit]:hover { cursor: pointer; background: #fcd630 linear-gradient(to bottom, rgba(255,255,255,0.7) 0%,rgba(255,255,255,0.0) 100%); }
button:active,
input[type=button]:active,
input[type=submit]:active { background: #f3cd27; text-shadow: none; box-shadow: none; }
button:disabled,
input[type=button]:disabled,
input[type=submit]:disabled { background: #eee; color: #999; text-shadow: 0 1px 1px #fff; cursor: pointer; }
button.small,
input[type=button].small,
input[type=submit].small { font-size: 0.9em; padding: 3px 5px; }
button.large,
input[type=button].large,
input[type=submit].large { font-size: 1.6em; padding: 8px 25px; border-radius: 25px; }
button.gray,
input[type=button].gray,
input[type=submit].gray { background: #eee linear-gradient(to bottom, rgba(255,255,255,0.5) 0%,rgba(255,255,255,0.0) 100%); }

/* Misc elements
---------------- */

.mobile-only { display: none; }

.container { padding: 25px 35px; }

.sidebar.left { width: 170px; float: left; }
.sidebar.right { width: 190px; float: right; }
.content.left { margin-left: 200px; }
.content.right { margin-right: 200px; }
.content.right #page { margin-right: 50px; /* extra margin in case page tree is on the right */ }
.sidebar p { line-height: 1.3em; }

.sidebar.left.double { width: 270px; float: left; }
.content.left.double { margin-left: 300px; float: left; }
.sidebar.right.double { width: 270px; float: right; }
.content.right.double { margin-right: 300px; }

.sidebar.left.triple { width: 450px; float: left; }
.content.left.triple { margin-left: 450px; margin-top: 0; }
.sidebar.right.triple { width: 450px; float: right; }
.content.right.triple { margin-right: 450px; margin-top: 0; }

.content { padding: 25px 0; overflow: hidden; }
.content.top-padded { padding-top: 50px; }

.page p { max-width: 80%; }
.page.app-nav-ousted { margin-top: 51px; }

.welcome { text-align: center; padding: 80px 0 150px; }
.welcome p { max-width: 100%; }

.sub-links { margin-bottom: 20px; padding-left: 0; }
.sub-links li { list-style: none; line-height: 1.5em; }
.sub-links li a { text-decoration: none; }

.breadcrumbs { padding: 5px 0; }
.breadcrumbs a { color: #777; }
.breadcrumbs span.rarr { color: #ccc; margin: 0 3px; }

.tags { line-height: 2em; min-height: 50px; }
.tags a { color: green !important; display: inline !important; padding: 5px 7px !important; }
.tags a:hover { color: red !important; }

/* Sidebar theme layout
----------------------- */

#sidebar { width: 230px; min-height: 100%; float: left; }
#sidebar.bottom-padded { padding-bottom: 60px; }
#sidebar a { color: #bbb; text-decoration: none; }
#sidebar a:hover { color: #ddd !important; }
#sidebar .block { padding-left: 25px; padding-right: 20px; }

#sidebar .title { margin: 40px 30px 40px; font-size: 1.5em; font-family: 'PT Sans', 'Lucida Grande', Arial, sans-serif; text-align: center; }
#sidebar .title a { text-decoration: none; color: #000; font-weight: bold; color: #ccc; }
#sidebar .title a:hover { color: #fff !important; }
#sidebar .title img { margin: -20px; max-width: 100%; }

#sidebar .offline { text-align: center; margin-bottom: 15px; }
#sidebar .offline b { display: block; margin:5px; font-size: 110%; color: #aaa; }

#sidebar ul.menu-v li.selected a { color: #eee; }
#sidebar ul.menu-v li.selected ul li a { color: #aaa; font-weight: normal; }
#sidebar ul.apps { border-bottom: 1px solid #444; padding-bottom: 20px; font-family: 'PT Sans', Helvetica, Arial, sans-serif; font-size: 1.1em; }

#sidebar ul.apps li a i.marker { float: right; width: 13px; height: 13px; display: none; background: #eee; border-radius: 50%; position: relative; top: 2px; }
#sidebar ul.apps li.selected a i.marker { display: inline; }

#sidebar .auth { position: fixed; bottom: 0; left: 0; width: 210px; border-top: 1px solid #555; box-shadow: 0 -7px 8px -8px rgba(0,0,0,0.5); padding: 30px 10px; background: #333; text-align: center; font-size: 0.9em; }
#sidebar .auth a { }
#sidebar .auth a { padding-right: 3px !important; }
#sidebar .auth i.icon16.userpic20 { margin-right: 8px; margin-top: -3px; }

#sidebar #fixed-nav-sidebar { max-width: 230px; }
#sidebar #fixed-nav-sidebar.fixed { position: fixed; }

#tablet-toggle-sidebar { display: none; border: none; position: fixed; width: 30px; background: #000 url('img/tablet-toggle-sidebar.png') no-repeat; background-position: center center; left: 0; top: 0; bottom: 0; cursor: pointer; }
#tablet-toggle-sidebar:hover { background-color: #222; }

#main { background: #fff; margin-left: 230px; line-height: 1.5em; border-top: 5px solid #ddd; padding-bottom: 20px; min-height: 100%; }

.app-navigation { border-bottom: 1px solid #ccc; font-size: 110%; font-size: 0.95em; background: #f7f7f7; padding: 10px 30px 5px; font-family: 'PT Sans', 'Lucida Grande', Arial, sans-serif; min-height: 35px; }
.app-navigation .static-text { padding: 6px 23px; color: #555; font-weight: bold; }
.app-navigation ul.menu-h li { margin: 0 !important; }
.app-navigation ul.menu-h li a { text-decoration: none; text-transform: uppercase; padding: 10px 15px 10px 0; color: #777; }
.app-navigation ul.menu-h li.selected a { font-weight: bold; color: #000; }

.app-navigation .search { padding: 5px; }

#footer { clear: both; margin-top: 10px; color: #777; padding-bottom: 10px; font-size: 0.9em; }
#footer #sub-links { margin-left: 30px; }
#footer #sub-links ul { list-style: none; padding: 0; margin: 0; }
#footer #sub-links ul li { float: left;  padding: 0 15px 0 0; }
#footer #poweredby { text-align: center; float: right; padding-top: 0; }
#footer #poweredby .dots { font-size: 0.8em; text-decoration: none; display: inline-block; width: 54px; height: 9px; background: url("/wa-content/img/dots/all-dots-default-order.png") no-repeat 0 3px; padding-top: 3px; margin-left: 10px; }

/* Customized app-dependent UI colors
------------------------------------- */

body#site #sidebar ul.apps li a i.marker { background-color: #6cf; }
body#site #sidebar ul.apps li.selected a,
body#site #sidebar ul.menu-v li.selected a { color: #6cf; }
body#site #sidebar ul.menu-v li.selected ul.menu-v a { color: #bbb; }
body#site #main { border-color: #6cf; }

body#shop #sidebar ul.apps li a i.marker { background-color: #8d5; }
body#shop #sidebar ul.apps li.selected a,
body#shop #sidebar ul.menu-v li.selected a { color: #8d5; }
body#shop #sidebar ul.menu-v li.selected ul.menu-v a { color: #bbb; }
body#shop #main { border-color: #8d5; }

body#photos #sidebar ul.apps li a i.marker { background-color: #b9e; }
body#photos #sidebar ul.apps li.selected a,
body#photos #sidebar ul.menu-v li.selected a { color: #b9e; }
body#photos #sidebar ul.menu-v li.selected ul.menu-v a { color: #bbb; }
body#photos #main { border-color: #b9e; }

body#blog #sidebar ul.apps li a i.marker { background-color: #fc4; }
body#blog #sidebar ul.apps li.selected a,
body#blog #sidebar ul.menu-v li.selected a { color: #fc4; }
body#blog #sidebar ul.menu-v li.selected ul.menu-v a { color: #bbb; }
body#blog #main { border-color: #fc4; }

body#hub #sidebar ul.apps li a i.marker { background-color: #f85; }
body#hub #sidebar ul.apps li.selected a,
body#hub #sidebar ul.menu-v li.selected a { color: #f85; }
body#hub #sidebar ul.menu-v li.selected ul.menu-v a { color: #bbb; }

body#hub #main { border-color: #f85; }


/* TABLET
========= */

@media screen and (min-width: 761px) and (max-width: 1024px) {

    body { -webkit-text-size-adjust: 100%; }
    .container { padding: 25px; }

    #tablet-toggle-sidebar { display: block; }

    #sidebar { width: 30px; }
    #sidebar .block,
    #sidebar .title,
    #sidebar .offline,
    #sidebar .auth { display: none; }
    #sidebar .auth { width: 240px;}
    #main { margin-left: 30px; }

    #sidebar.visible { width: 230px; padding-left: 30px; }
    #sidebar.visible .block,
    #sidebar.visible .title,
    #sidebar.visible .offline,
    #sidebar.visible .auth { display: block; }
    #sidebar.visible #tablet-toggle-sidebar { background-image: url('img/tablet-toggle-sidebar-hide.png'); }
    #main.sidebar-visible { margin-left: 260px; }

}


/* MOBILE
========= */

@media screen and (max-width: 760px) {

    body { -webkit-text-size-adjust: 100%; }
    h1 { font-weight: bold; }
    h2.title { font-size: 1.5em; }
    h3.title { font-size: 1.3em; }
    p { max-width: 100% !important; }

    .mobile-only { display: block; }
    .non-mobile-only { display: none; }
    .block { padding: 10px 0; }
    .top-padded { padding-top: 10px; }

    #tablet-toggle-sidebar { display: block; }
    #sidebar.visible #tablet-toggle-sidebar { background-image: url('img/tablet-toggle-sidebar-hide.png'); }

    #sidebar {
        font-size: 100%;
        float: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 30px;
        height: 100%;
        overflow: auto;
        z-index: 20;
        background: #222;
    }

    #sidebar .block,
    #sidebar .title,
    #sidebar .offline,
    #sidebar .auth { display: none; }

    #sidebar.visible { width: 100%; padding-left: 30px; box-sizing: border-box; }
    #sidebar.visible .block,
    #sidebar.visible .title,
    #sidebar.visible .offline,
    #sidebar.visible .auth { display: block; }
    #sidebar.bottom-padded { padding-bottom: 0; }

    #main { margin-left: 30px; }
    #sidebar .block { padding: 0 20px; }
    #sidebar .auth { width: 100%; position: static; border: none; box-shadow: none; font-style: italic; padding-left: 0; padding-right: 0; }
    #sidebar .auth ul.menu-h { margin: 0 auto; }
    #sidebar ul.menu-h li a { padding: 5px 20px 10px; }
    #sidebar #fixed-nav-sidebar { max-width: 100%; }

    .sidebar { padding-top: 0 !important; }
    .sidebar.left { width: 100% !important; float: none !important; clear: both !important; }
    .sidebar.right { width: 100% !important; float: none !important; clear: both !important; }
    .content.left { margin-left: 0 !important; clear: both !important; }
    .content.right { margin-right: 0 !important; clear: both !important; }

    .container { min-width: 0; padding: 10px 10px 10px 40px; }

    .content { overflow-x: hidden; }
    .content img { max-width: 100%; height: auto !important; }

    #main { margin: 0; overflow: visible; min-height: auto; }
    /* background: #fff; margin-left: 230px; line-height: 1.5em; border-top: 5px solid #ddd; padding-bottom: 20px; min-height: 100%; overflow: hidden; */

    #footer { padding-bottom: 10px; font-size: 0.8em; }
    #footer .container { margin: 0; }
    #footer #copyright { padding-left: 0; }
    #footer #sub-links { margin-left: 0; margin-top: 30px; }
    #footer #sub-links ul li { float: none; margin-bottom: 5px; }
    #footer #poweredby .dots { padding-top: 0; background-position: 0 1px; margin-left: 3px; }

    .app-navigation { padding: 5px 15px 10px 40px; position: relative; text-align: center; }
    .app-navigation ul.menu-h li a { padding: 15px 10px 15px 0; }
    .app-navigation .float-right { float: none; /* override for mobile devices */ }

    .page { margin-right: 0; }

    i.icon16 { margin-top: 0; vertical-align: middle; }

    .comment-form-fields label { float: left; }

    .wa-form .wa-field .wa-name { float: none; padding-bottom: 0; }
    .wa-form .wa-field .wa-value { margin-left: 0; }
    .wa-form .wa-field .wa-value p span { display: block; }
    .wa-form .wa-field .wa-value input[type="text"],
    .wa-form .wa-field .wa-value input[type="email"],
    .wa-form .wa-field .wa-value input[type="password"] { min-width: 200px; }
    .wa-auth-adapters p { width: 80%; }
    .wa-captcha input.wa-captcha-input { width: 100px; }
    .errormsg { margin-left: 0; }

    .sub-links li { font-size: 110%; margin-bottom: 5px; }

}


/* WIDE
========= */

@media screen and (min-width: 1300px) {

    .container { padding: 30px; }

    #sidebar { width: 270px; }
    #sidebar .auth { width: 250px; }

    #main { margin-left: 270px; }

}

/* FOOTER NOTICE */
.s-footer-notice { margin: 1em 0; font-size: .9em; line-height: 1.3em; color: #bbb; text-align: center; }
.s-footer-notice a { color: inherit; text-decoration: underline; }