body, html {color: #4C4C4C; margin: 0; padding: 0; width: 100%; height: 100%; line-height: 20px;
    font-family: 'Roboto Condensed', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
section {position: relative; display: block; }
img, a {border: none;}
pre {position: relative; display: block; padding: 10px; background: whitesmoke; border-radius: 5px; border: 1px solid rgb(200,200,200); clear: both;}

a {color: #16A975;}
a.active{ color:#000; text-decoration: none}
input[readonly],textarea[readonly],select[readonly] {background: rgb(230,230,230) !important; cursor: no-drop; pointer-events: none;}
input[disabled],textarea[disabled],select[disabled] {background: rgb(230,230,230) !important;}

input.inputbox {position: relative; border: 1px solid rgb(200,200,200); padding: 0 10px; height: 30px; vertical-align: middle;}

body, p, span, i, strong, td, li, a {font-size: 15px;}
body{
    background: url('../img/login_bg.jpg') no-repeat top center;
    background-size: cover;
    background-attachment: fixed;
}

h1,h2,h3,h4,h5{
    font-weight:normal;
}
input, select, textarea, button{
    font-family: 'Roboto Condensed', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
input[type="text"], input[type="password"], textarea, input[type="number"], select{
    padding: 5px 10px;
    background-color: #fff;
    -webkit-border-radius:3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    width: 180px;
    border: 1px solid #CCCCCC;
    transition: border 0.3s, background 0.3s;
    font-size: 15px;
    outline: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
input:not([type="button"]):not([type="submit"]).small, select.small{
    width: 80px;
}
input:not([type="button"]):not([type="submit"]).medium{
    width: 280px;
}
input:not([type="button"]):not([type="submit"]).long{
    width: 400px;
}
input:not([type="button"]):not([type="submit"]).datepickerSized{
    width: 90px;
}
textarea{
    resize: none;
    width: 400px;
    height: 100px;
}
input[type="text"]:hover, input[type="password"]:hover, input[type="text"]:focus, input[type="password"]:focus, textarea:focus, input[type="number"]:focus{
    background-color: rgb(227, 234, 252);
    border: 1px solid rgba(43, 71, 116, 0.51);
}

#system-message{
    padding: 15px;
    border: 1px solid #D5D6D8;
    background-color: #F2F3F5;
    margin: 10px 0;
}
#system-message.success{
    border: 1px solid #27ae60;
    background-color: #40d47e;
    color: #fff;
}
#system-message.failure{
    border: 1px solid #c0392b;
    background-color: #e74c3c;
    color: #fff;
}


input[type="submit"], input[type="button"], button, .button{
    padding: 5px 10px;
    cursor: pointer;
    color: #000;
    background-color: #e7e5e6;
    border-width: 0 0 2px 0;
    border-bottom: 2px solid #dad8d9;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    display: inline-block;
}
a  .button{
    text-decoration: none;
}
input[type="submit"]:hover, input[type="button"]:hover, button:hover, .button:hover{
    border-width: 0px 0 1px 0;
    margin-top: 1px;
    /*padding-bottom: 6px;*/
    padding: 4px 10px 6px;
}

input[type="submit"].red, input[type="button"].red, button.red, .button.red{
    background-color: #e74c3c;
    border-color: #c0392b;
    color: #fff;
}
input[type="submit"].green, input[type="button"].green, button.green, .button.red{
    background-color: #40d47e;
    border-color: #27ae60;
    color: #fff;
}
input[type="submit"].medium, input[type="button"].medium, button.medium{
    padding: 5px 17px;
    font-size: 16px;
}
input[type="submit"].large, input[type="button"].large, button.large{
    padding: 8px 25px;
    font-size: 18px;
}


#login-box{
    width: 350px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -200px;
    margin-left: -175px;
    background-color: #fff;
    padding: 20px;
    box-sizing: border-box;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#login-box h1{
    text-align: center;
    margin: 50px 0 30px;
    padding: 0;
}

#login-box input[type="text"], #login-box input[type="password"]{
    width: 100%;
    margin-bottom: 5px;
}

#login-box .header{
    background: #e67e22;
    border-top: 5px solid #d35400;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin: -20px -20px 20px -20px;
    /*height: 50px;*/
    box-sizing: border-box;
    padding: 20px;
    color: #fff;
    font-size: 25px;
    text-align: center;
}

#login-box .header small{
    display: block;
    margin-top: 6px;
    font-size: 13px;
    /*font-style: italic;*/
}

#login-box .message{
    color: #e74c3c;
    text-align: center;
    margin: 10px 0;
    font-size: 18px;
}

#login-box button{
    width: 100%;
    font-size: 20px;
    border-width: 0 0 3px 0;
}
#login-box button:hover{
    margin-top: 2px;
    border-width: 0 0 1px 0;
}

.clear{
    clear: both;
}

/*!**/
 /** Require ICOMOON*/
 /**!*/
/*.button {position: relative; display: inline-block; height: 30px; line-height: 30px; border-radius: 5px; background: #16A975; color: white; padding: 0 20px; cursor: pointer;}*/
/*.button:hover {background: #0E9867;}*/

/*.button.sharp {border: 1px solid #0E9867;}*/
/*.button.flat {border-bottom: 2px solid #0E9867;}*/
/*.button.right {}*/
/*.button.right::after {content: "\f078"; float: right; width: 30px; height: 30px; line-height: 30px; text-align: center; font-family: 'icomoon'; margin: 0 -20px 0 0;}*/
/*.button.left::after {content: "\f0a4"; float: left; width: 30px; height: 30px; line-height: 30px; text-align: center; font-family: 'icomoon'; margin: 0 0 0 -20px;}*/

ul{
    padding: 0;
    margin: 0;
    list-style: none;
}

#flash-wrapper {position: fixed; top: 20px; right: 20px; pointer-events: none; z-index: 100}
#flash-wrapper .flash {display: block; margin: 5px 0 0 0; background: white; padding: 20px; border-radius: 3px; border: 1px solid #d4d4d4; border-top: 2px solid #047cff;}
#flash-wrapper .error { border: 1px solid #ffd3c5; border-top: 2px solid #bc1910; color: #bc1910}

.wrap{
    display: table;
    width: 100%;
    height: 100%;
}
.info-header, .contents-wrap{
    display: table-row;
    width: 100%;
}
.info-header{
    height: 70px;
}
.info-header .sidebar{
    background-color: #d35400;
    text-align: center;
    color: #fff;
    font-size: 20px;
    vertical-align: middle;
}

.info-header .sidebar small{
    display: block;
    font-size: 14px;
}
.info-header .restwidth{
    display: table-cell;
    background-color: #e67e22;
    vertical-align: middle;
    color: #fff;
}

.info-header .restwidth .lang-select{
    float: left;
    padding: 0px 20px;
    font-size: 18px;
}
.info-header .restwidth .lang-select select{
    font-size: 18px;
    padding: 3px 5px;
    margin-left: 15px;
}
.info-header .restwidth .user-info{
    text-align: right;
    padding: 0px 20px;
    float: right;
}

.sidebar{
    width: 300px;
    display: table-cell;
    background: #2c2c2c;
    color: #fff;
}
.contents-wrap .contents {
    display: table-cell;
}
.sidebar a{
    color: #fff;
    text-decoration: none;
}

.sidebar ul{
    margin-top: 50px;
}
.sidebar ul li a{
    display: block;
    padding: 17px 20px 17px;
    font-size: 18px;
    font-weight: lighter;
    transition: background 0.4s;
}
.sidebar ul li a span{
    margin-right: 15px;
    font-size: 110%;
    vertical-align: middle;
}
.sidebar ul li a:hover, .sidebar ul li a.active{
    background-color: rgba(0,0,0,0.9);
}

.contents{
    padding: 15px;
    height: 100%;
    vertical-align: top;
    overflow-y: auto;
}

.contents .content-box{
    padding: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    display: inline-block;
    min-width: 49%;
    margin-bottom: 2%;
    position: relative;
}
.contents .content-box:not(.nd){
    margin-right: 1%;
}
.contents .content-box.full{
    display: block;
    width: 100%;
    min-height: 200px;
    /*margin-bottom: 15px;*/
}

.contents .content-box h1{
    background-color: #34495e;
    border-top: 5px solid #212e3c;
    color: #fff;
    margin: -20px -20px 20px -20px;
    padding: 16px 20px 20px;
    font-size: 25px;
    /*font-weight: lighter;*/
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.contents .content-box.full h1 span {
    font-size:100%;
    vertical-align: baseline;
    margin-right: 10px;
}

.switch-button{
    position: relative;
    display: inline-block;
    width: 60px;
    height: 25px;
    cursor: pointer;
    vertical-align: middle;
}
.switch-button .slider{
    display: table;
    height: 100%;
    width: 100%;
    border-collapse: collapse;
    vertical-align: middle;
}

.switch-button .slider > *{
    vertical-align: middle;
    display: table-cell;
    height: 100%;
}

.switch-button .slider .drag{
    width: 10%;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 5px;
}

.switch-button .slider .side{
    font-size: 22px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.switch-button .slider .side.on-side{
    background-color: #2ecc71;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}
.switch-button .slider .side.off-side{
    background-color: #e74c3c;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}
.switch-button .slider .side span{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -7.5px;
    margin-left: -7.5px;
}

.listing{
    width: 100%;
    margin: 30px 0;
}
.listing a{
    text-decoration: none;
}
.listing .tree{
    display: none;
}
.listing .item{
    text-decoration: none;
    display: table;
    /*-webkit-border-radius: 3px;;*/
    /*-moz-border-radius: 3px;;*/
    /*border-radius: 3px;*/
    width: 100%;
    color: #2c2c2c;
    margin: 1px 0;
}
.listing .item:hover > *{
    background-color: #d2cfdd;
}
.listing .item > *{
    background-color: #ece9f8;
}
.listing .name{
    display: table-cell;
    padding: 10px 20px;
}

.listing .edit{
    display: table-cell;
    margin: -10px -20px;
    width: 42px;
    padding: 10px;
    border-left: 1px solid #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.listing .edit a{
    color: #2c2c2c;
}

.listing .edit span{
    vertical-align: middle;
    margin-top: 2px;
    font-size:120%;
}

.listing .name > span{
    margin-right: 15px;
    font-size: 100%;
    vertical-align: middle;
}

.listing .item.has-children{
    cursor: pointer;
}
.listing .item:hover{
    background-color: #212e3c;
}
.listing .tree.depth_0{
    margin-left: 35px;
}
.listing .tree.depth_1{
    margin-left: 60px;
}
.listing .tree.depth_2{
    margin-left: 85px;
}
.listing .tree.depth_3{
    margin-left: 110px;
}

.lock-button{
    display: inline-block;
    vertical-align: middle;
    width: 23px;
    height: 32px;
    position: relative;
    margin-right: 10px;
    cursor: pointer;
}

.lock-button.middle{
    margin: 0px 5px;
}

.lock-button > span{
    background: url('../img/lock-sprite.png') no-repeat;
    display: inline-block;
    position: absolute;
}
.lock-button span.lock, .lock-button span.lock-locked{
    bottom: 0px;
    left: 0px;
    height: 14px;
    width: 23px;
    z-index: 1;
}
.lock-button span.lock{
    background-position: 0px -34px;
}
.lock-button span.lock-locked {
    background-position: 0px -20px;
    opacity: 0;
    z-index: 2;
}
.lock-button.locked span.lock-locked{
    opacity: 1;
}
.lock-button span.slider{
    width: 23px;
    height: 20px;
    top: 2px;
    left: 0px;
}
.lock-button.locked span.slider{
    top: 9px;
}

h3{
    margin-top: 20px;
    padding: 5px 10px;
    border-bottom: 2px solid #2ecc71;
}


h4{
    font-size: 18px;
    margin-top: 15px;
    padding: 5px 10px;
    /*border-bottom: 1px solid #2ecc71;*/
}

.product-listing{
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}
.product-listing.half{
    width: 50%;
}

.product-listing [class^="icon-"], .product-listing [class*=" icon-"] {
    vertical-align: middle;
}

.product-listing tr th{
    background-color: #16A975;
    color: #fff;
    font-weight: normal;
    text-align: left;
    font-size: 115%;
    padding: 7px 0px;
}

.product-listing tr:not(:last-child) th:first-child{
    padding-left: 15px;
    border-top-left-radius: 5px;
}
.product-listing tr:not(:last-child) th:last-child{
    padding-right: 15px;
    border-top-right-radius: 5px;
}
.product-listing tr td:first-child{
    padding-left: 15px;
}
.product-listing tr td{
    padding: 4px 5px;
    background-color: #ece9f8;
    border-bottom: 1px solid #fff;
    font-size: 90%;
}
.product-listing tr:hover td{
    background-color: #F4F3F8;
}
.product-listing tr td.icon span{
    font-size: 120%;
    vertical-align: middle;
}
.product-listing tr td.icon{
    width: 10px;
}
.product-listing tr:last-child th:first-child{
    padding-left: 15px;
    border-bottom-left-radius: 5px;
}
.product-listing tr:last-child th:last-child{
    padding-right: 15px;
    border-bottom-right-radius: 5px;
}
.product-listing.small tr td{
    padding: 2px 5px;
}

.product-listing.small tr th{
    padding: 4px 0px;
    font-size: 90%;
}
.product-listing.small tr td{
    font-size: 80%;
}
.product-listing.small{
    margin: 0px;
}
.product-listing.small [class^="icon-"], .product-listing.small [class*=" icon-"] {
    font-size: 80%;
}
.product-listing.small a{
    font-size: 100%;
}
.product-listing.orders tr td:last-child{
    text-align: right;
    padding-right: 10px;
}

.pagination li{
    display: inline-block;
    margin: 1px 0;
}
.pagination li a, .pagination li span{
    display: block;
    background-color: transparent;
    text-align: center;
    width: 41px;
    padding: 7px 0;
    /*font-weight: bold;*/
    font-size: 19px;
    text-decoration: none;
}



.pagination li a{
    background-color: #ece9f8;
}

.search-list{
    position: absolute;
    max-height: 200px;
    overflow: auto;
    width: 400px;
    z-index: 10;
}
.search-list ul{
    padding: 0px;
    margin: 0px;
    list-style: none;
    width: 383px;
}
.search-list ul li{
    display: block;
    border: 1px solid #ece9f8;
    background-color: #eee;
    color: #000;
    padding: 4px 8px;
    cursor: pointer;
    border-width: 1px 1px 0 1px;
    font-size: 12px;
}
.search-list ul li{
    border-bottom: 1px solid #ccc;
}
.search-list ul li:hover{
    background-color: #f8f8f8;
}
.search-list a{
    font-size: 12px;
    display: block;
}


.search-box{
    position: absolute;
    top: 90px;
    right: 30px;
}

.data-table table{
    width: 100%;
}
.data-table td{
    height: 30px;
}

.data-table table:not(.equal) tr td:first-child{
    width: 210px;
}
table.six-cols tr td:nth-child(odd){
    width: 10%;
}

.margintop{
    margin-top: 10px;
}

input[type="text"].blueborder{
    border: 2px solid #06387C;
}

.titleTip {position: absolute; z-index: 9999; top: 0px; left: 0px; width: auto; max-width: 300px; padding: 10px; height: auto; line-height: 20px; background: #34495e; color: white; }
.titleTip span {margin: 0 10px 0 0;}

span.info{
    color: #34495e;
    font-size: 125%;
    cursor: pointer;
}

.tabs{
    margin: 30px 0;
}
.tabs .headers{
    border-bottom: 4px solid #34495e;
    /*padding-left: 30px;*/
}
.tabs .headers .tab-header{
    display: inline-block;
    padding: 15px 25px;
    margin-right: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s;
}
.tabs .headers .tab-header.active{
    background-color: #34495e;
    color: #fff;
}
.tabs .tab-contents{
    padding: 20px;
    background-color: #F2F3F5;
}
.tabs .tab-contents > div{
    display: none;
}
.tabs .tab-contents > div.active{
    display: block;
}

.tab-contents table td{
    position: relative;
}

.tab-contents textarea{
    width: 400px;
}

.img-list{
    margin-bottom: 15px;
}

.img-list .image-wrapper{
    position: relative;
    display: inline-block;
    width: 232px;
    height: 180px;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
    margin: 3px;
}
.img-list .controls{
    position: absolute;
    bottom: 0px;
    right: 0px;
    background-color: #fff;
    padding: 5px;
    display: none;
}
.img-list .image-wrapper:hover .controls{
    display: block;
}
.img-list .controls > span{
    width: 22px;
    height: 22px;
    display: inline-block;
    background: url('../img/image-controls.png');
    cursor: pointer;
    vertical-align: middle;
}
.img-list .controls .move{
    background-position: -22px 0;
    cursor: move;
    margin-right: 5px;
}
.icon-list-numbered{
    cursor: move;
}
[class^="icon-"], [class*=" icon-"]{
    cursor: pointer;
    vertical-align: middle;
}
a [class^="icon-"], a [class*=" icon-"]{
    text-decoration: none;
}


table.stats{
    width: 100%;
}
table.stats th{
    text-align: right;
    padding-right: 20px;
}

table.order-table{
    border-collapse: collapse;
}
table.order-table tr:nth-child(even) td{
    background-color: rgba(0,0,0,0.05);
}
table.order-table tr td{
    padding: 2px 10px;
    height: 30px;
}
table.order-table tr td:first-child{
    font-weight:bold;
}
.icon-cross.red{
    color: red;
}
.icon-checkmark.green{
    color: green;
}
.order-table .total{
    font-size: 120%;
    font-weight:bold;
}

table.fullwidth{
    width:  100%;
}

table.users .icon a{
    text-decoration: none;
}

hr{
    border: 1px solid #000;
    border-top: 0px;
    margin: 20px 0;
}

.newsletter-table{
    width: 100%;
}
.newsletter-table textarea{
    width: 100%;
}

a span{
    text-decoration: none;
}
a.noline{
    text-decoration: none;
}

table.tdtops td{
    vertical-align: top;
}


#ajax-cover {
    position: fixed;
    width: 100%;
    height:100%;
    z-index: 123000;
    background-color: rgba(0,0,0,0.25);
    display: none;
    left: 0px;
    top: 0px;
    bottom:0px;
    right:0px;
}
#ajax-spinner {
    position: fixed;
    width: 86px;
    height: 86px;
    margin-left:-43px;
    margin-top:-43px;
    left: 50%;
    top: 50%;
    background: url('../img/ajax_loader.gif?V=1') no-repeat;
    z-index: 123456;
    color: green;
}

.csvForm{
    margin-top: 20px;
    border: 1px solid #dde;
    background-color: #eee;
    padding: 20px;
}

.csvForm table{
    margin: 0 auto;
}

.csvForm select{
    margin-top: 8px;
}

.xml-results{
    margin-top: 50px;
}

.xml-results .files{
    margin-top: 15px;
}

.xml-results .download-link{
    display: inline-block;
    text-align: center;
    margin-right: 20px;
}
.xml-results .download-link span{
    font-size: 200%;
}
.xml-results .download-link b{
    display: block;
    font-weight:normal;
    margin-top: 15px;
}