@baseTemplate

@*--
@indent: 0.3em;
@form-label-width: 12em;
@form-field-height: 2em;
@tab-height: 2em;
@tab-border: 1px solid black;

fieldset {
& {
    border: none;
}

dl {
    display: block;
    margin: 0;
    padding: 0;
    background: none;
}

dt {
    display: block;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: @form-label-width;
    height: @form-field-height;
    margin: 0;
    padding: 0;
    float: left;
    clear: both;
    background: none;
    line-height: @form-field-height;
    overflow: hidden;
}

dd {
    display: block;
    min-height: @form-field-height;
    margin: 0 0 0 @form-label-width;
    padding: 0;
    background: none;
    line-height: @form-field-height;
}

label {
    display: inline-block;
    width: @form-label-width;
}

textarea {
    vertical-align: text-top;
}
    }

.img-fulltext-left,
.img-intro-left {
    float: left;
    display: block;
    border: none;
    padding: 0;
    margin: 0 @indent @indent 0;
}

.img-fulltext-right,
.img-intro-right {
    float: right;
    display: block;
    border: none;
    padding: 0;
    margin: 0 0 @indent @indent;
}

ul.pagenav {
& {
    clear: both;
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
}

li, li:before {
    display: block;
    background: none;
    margin: 0;
    padding: 0;
    width: 50%;
    text-align: center;
    content: normal;
}

li.pagenav-prev {
    float: left;
}

li.pagenav-next {
    margin: 0 0 0 50%;
}
    }

div.item-page {
dl.tabs {
& {
    display: block;
    margin: 0;
    padding: 0;
}

&:before {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: block;
    float: left;
    width: 1em;
    height: @tab-height;
    overflow: hidden;
}

dt {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: block;
    float: left;
    height: @tab-height;
    overflow: hidden;
    border-left: @tab-border;
    border-top: @tab-border;
}

dt.open {
}

dt.closed {
}

dt {
h3 {
    margin: 0;
    padding: 0 @tab-height*.5;
    line-height: @tab-height;
    font-size: 100%;
    overflow: hidden;
}

h3 a {
    text-decoration: none;
}
    }

&:after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: block;
    border-left: @tab-border;
    content: " ";
    overflow: hidden;
    height: @tab-height;
}
    }

div.current {
& {
    clear: both;
    border: @tab-border;
}

dd.tabs {
    margin: 0;
    padding: 0;
}
    }

div.pagination {
ul {
    clear: both;
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
}

li {
    display: block;
    width: 50%;
    margin: 0;
    padding: 0;
    text-align: center;
    float: left;
    white-space: nowrap;
}

&:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
    }
    }

.edit.item-page {
select + div
{
    width:100% !important;
}

div>ul
{
    border:1px solid #B9C2CB;
}

.search-field {
& {
    overflow: visible;
}

>input {
     width:100% !important;
 }
    }

ul>li:before {
    content: normal;
}
    }

.edit.item-page fieldset {
& {
    border: 1px solid  #eee;
}

legend {
    padding: 7px;
    font-weight: bold;
}
    }

#editor-xtd-buttons {
    float:left;
    padding:0;
}

.toggle-editor {
    float: right;
}

#searchForm {
.phrases-box {
    display: block;
    float: left;
}

.ordering-box {
    text-align: right;
}

.phrases-box, .ordering-box, .only {
label {
    display: inline-block;
    width: auto;
    height: @form-field-height;
    margin: 0;
}
    }
    }

#mod-finder-searchform
{
label
{
    display: block;
}

input.inputbox
{
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    max-width: 300px;
}
    }

#login-form
{
fieldset label
{
    width:100%
}

#form-login-username label,
#form-login-password label
{
    display: block;
}

#form-login-username input,
#form-login-password input
{
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    max-width: 300px;
}
    }

.breadcrumbs img
{
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}

dl.stats-module {
& {
    padding: @indent 0 @indent @indent;
    margin: 0;
}

dt {
    float: left;
    display: block;
    line-height: 1.5em;
    min-height: 1.5em;
    width: 10em;
    padding: @indent @indent 0 0;
    margin: 0;
    font-weight: bold;
}

dd {
    display: block;
    line-height: 1.5em;
    min-height: 1.5em;
    margin: 0 0 0 10em;
}
    }

div.mod-languages {
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

li {
    background: none;
    margin: 0 @indent;
    padding: 0;
}

ul.lang-inline li {
    display: inline;
}

ul.lang-block li {
    display: block;
}

img {
    border: none;
    margin: 0;
    padding: 0;
}
    }

div.clr
{
    clear: both;
}

#system-message ul li
{
    background-image: none;
}

ul.actions
{
&, li, li img {
    display: inline;
    margin: 0;
    padding: 0;
    border: none;
}

li {
    background: none;
    list-style: none;
}
    }

.items-row {
& {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.item {
    display: table-cell;
    vertical-align: top;
}

.row-separator {
    display: none;
}
    }

div.pagination {
p.counter {
    display: inline-block;
    margin: 0.5em @indent 0 0;
    padding: 0;
    background: none;
}

ul, ul li, ul > li:before {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0 @indent;
    background: none;
    content: normal;
}
    }

div.tip-wrap
{
& {
    background: #fff;
    border: 1px solid #aaa;
}

div.tip {
    padding: @indent;
}

div.tip-title {
    font-weight: bold;
}
    }

table.category {
& {
    width: 100%;
}

thead th img
{
    padding: 0 0 0 @indent;
    margin: 0;
    border: none;
}
    }

span.hasTip a img
{
    padding: 0;
    margin: 0;
    border: none;
}

div.category-list div.pagination {
    display: block;
}

div.categories-list, div.cat-children {
ul li {
span.item-title {
    display: block;
    margin: 0 0 @indent 0;
}
div.category-desc {
    margin: 0 0 @indent 0;
}
    }

dl {
& {
    display: block;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    background: none;
}

dt, dd {
    display: inline-block;
    padding: 0;
    margin: 0;
    background: none;
}
    }
    }

div.img_caption p.img_caption
{
    padding: @indent 0;
    margin: 0;
}

form .search label, form .finder label
{
    display:none;
}

#search-searchword {
    margin-bottom:5px
}

.cols-2 .column-1,
.cols-2 .column-2,
.cols-3 .column-1,
.cols-3 .column-2,
.cols-3 .column-3
{
    float: left;
    clear: right;
}

.cols-2 .column-1 { width: 50%; }
.cols-2 .column-2 { width: 50%; }
.cols-3 .column-1 { width: 33%; }
.cols-3 .column-2 { width: 33%; }
.cols-3 .column-3 { width: 34%; }

.row-separator
{
    clear: both;
    float: none;
    font-size: 1px;
    display: block;
}

ul.categories-module li h1, ul.categories-module li h2,
ul.categories-module li h3, ul.categories-module li h4,
ul.categories-module li h5, ul.categories-module li h6
{
    display: inline;
}

.only, .phrases
{
    border: solid 1px #ccc;
    margin:10px 0 0 0px;
    padding:15px ;
    line-height:1.3em;
}

div.tags
{
    display: inline;
}

.tag-category ul>li:before
{
    content: normal
}

ul.list-striped > li:before
{
    content: normal;
}

.list-striped
{
    border-top: 1px solid #ddd;
}

.list-striped li, .list-striped dd
{
    border-bottom: 1px solid #ddd;
}

#fancybox-wrap {
    padding: 0;
}

#fancybox-wrap *{
    box-sizing: content-box;
}

#article-index {
    float: right;
}

.jmodedit {
    display: inline-block;
    padding: 3px 6px;
    margin-bottom: 0;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    color: #333;
    background-color: #F7F7F7;
    border: 1px solid #bbb;
    border-radius: 0px;
    box-sizing: content-box;
}

.jmodedit .icon-edit:before {
    content: 'Ŀ';
    color: #808080;
}

.jmodedit [class^="icon-"]:before,
.jmodedit [class*=" icon-"]:before {
    font-family: 'Billion Web Font';
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    text-align: center;
    text-transform: none;
    width: 1em;
}

.tooltip.in {
    opacity: 0.8;
    filter: alpha(opacity=80);
}
.fade.in {
    opacity: 1;
}

.tooltip {
    max-width: 400px;
}

.tooltip {
    position: absolute;
    z-index: 1030;
    display: block;
    visibility: visible;
    font-size: 11px;
    line-height: 1.4;
    opacity: 0;
    filter: alpha(opacity=0);
}

.tooltip .tooltip-arrow {
    border: 0 !important;
}

.tooltip-arrow:before, .tooltip-arrow:after {
    content: "";
    position: absolute;
}

.tooltip.bottom .tooltip-arrow:before {
    border: 5px solid transparent !important;
    border-bottom: 5px solid #bbb !important;
    top: -5px;
}

.tooltip.bottom .tooltip-arrow:after {
    border: 5px solid transparent !important;
    border-bottom: 5px solid #fff !important;
    top: -4px;
}

.tooltip.top .tooltip-arrow:before {
    border: 5px solid transparent !important;
    border-top: 5px solid #bbb !important;
    bottom: -5px;
}

.tooltip.top .tooltip-arrow:after {
    border: 5px solid transparent !important;
    border-top: 5px solid #fff !important;
    bottom: -4px;
}

.tooltip.right .tooltip-arrow:before {
    border: 5px solid transparent !important;
    border-right: 5px solid #bbb !important;
    left: -5px;
}

.tooltip.right .tooltip-arrow:after {
    border: 5px solid transparent !important;
    border-right: 5px solid #fff !important;
    left: -4px;
}

.tooltip.left .tooltip-arrow:before {
    border: 5px solid transparent !important;
    border-left: 5px solid #bbb !important;
    right: -5px;
}

.tooltip.left .tooltip-arrow:after {
    border: 5px solid transparent !important;
    border-left: 5px solid #fff !important;
    right: -4px;
}

.tooltip .tooltip-inner {
    background-color: #fff;
    border: 1px solid #bbb;
    border-radius: 0px;
    color: #808080;
    padding: 8px 12px;
    -webkit-box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow:    2px 2px 0px 0px rgba(0, 0, 0, 0.2);
    box-shadow:         2px 2px 0px 0px rgba(0, 0, 0, 0.2);
}

.fade {
    opacity: 0;
    -webkit-transition: opacity .15s linear;
    -moz-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear;
}

#sbox-content iframe {
    width: 100%;
    height: 100%;
}

.contentpane {
    background-color: inherit !important;
}

.control-group {
    margin-top: 10px;
}

.control-group .controls input {
    min-height: 34px;
}

.element-invisible {
    position: absolute;
    padding: 0;
    margin: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.list-striped.list-condensed {
    list-style: none;
    margin: 10px 0 0 0;
    border: 0;
    padding: 0;
}

.list-striped.list-condensed li {
    padding: 4px 5px;
}

.list-striped.list-condensed .list-edit.width-50 {
    width: 50px;
}

--*@