html, body {
    margin: 0;
    padding: 0;
}

div.ui-dialog {
    z-index: 1050;
}

#email-print {
    position: relative;
    text-align: right;
}
#menu-path-anchor {
    position: relative;
    height: 0;
}
body#main {
    background-color: white; /*#F5F5F5;*/
}

.btn {
    padding: 6px 12px;
}

#top-back {
    position: absolute;
    min-width: 960px;
    left: 0;
    top: 0;
    overflow: visible;
    width: 100%;
    height: 80px;
    background-image: none;
    background-color: #373B40;
    background-repeat: no-repeat;
    background-position: 50% -7px;
    border-bottom: 4px solid #a8d936;
    /*  box-shadow: 0 0 6px #AAA; */
    z-index: 1;
}
#menu-top-left a {
    padding-left: 8px;
    padding-right: 8px;
    line-height: 20px;
    margin: 0 3px;
    border-radius: 50%;
    width: 34px;
    height: 34px;
}

#cms-word-count {
    position: fixed;
    top: 10px;
    left: 20px;
    z-index: 9999;
    font-size: 18px;
    color: white;
    background-color: #00000069;
    padding: 10px;
}

#cms-word-count.low {
    color: #ffc4c4;
    background-color: #c3171769;
}


#menu-top-left .btn.publish {
    position: fixed;
    right: 18px;
    top: 48px;
    color: white !important;
    background-color: #73b609;
    z-index: 9999;
}

#menu-top-left .btn.edit {
    position: fixed;
    right: 46px;
    top: 16px;
    color: white !important;
    background-color: rgba(12, 124, 213, 0.3);
    z-index: 9999;
}

html.cms #menu-top-left .btn.edit i:before {
    content: "\e067";
}


html.cms #menu-top-left .btn.edit {
    background-color: #0c7cd5;
}


#menu-top-left .btn.meta-edit {
    position: fixed;
    display: none;
    right: 82px;
    top: 16px;
    color: white !important;
    background-color: #0c7cd5;
    z-index: 9999;
}

#menu-top-left .btn.img-upload {
    position: fixed;
    display: none;
    right: 118px;
    top: 16px;
    font-size: 16px;
    color: white !important;
    background-color: #0c7cd5;
    z-index: 9999;
}
html.cms #menu-top-left .btn.img-upload,
html.cms #menu-top-left .btn.meta-edit {
    display: inline-block;
}

#main-layout #top {
    width: 100%;
    z-index: 1011;
    padding: 0;
    padding-bottom: 32px;
    position: relative;
    margin-bottom: 40px;
    overflow: visible;
    height: auto;
    /*	background:url(/img/top-menu4.png); */
    margin-left: 80px;
    margin-top: 13px;
    width: 866px;
}
#main-menu {
    position: relative;
    left: 117px;
    top: 10px;
    width: 495px;
    z-index: 1000;
}

#fixed-page-content {
    width: 960px;
    overflow: hidden;
    margin: 0 auto;
    margin-top: 67px;
    text-align: left;
}

#page-content {
    overflow: hidden;
    margin: 0 auto;
    text-align: left;
}

div#top-bar {
    margin-top: 24px;
    margin-bottom: 12px;
}

div#top-bar > h1 {
    text-align: left;
}

.menu-path-main, .menu-path {
    color: #888;
    font-size: 10px;
    z-index: 1000; }
.menu-path-main {
    position: absolute;
    left: 20px;
    top: 84px;
    width: 400px;
    height: 15px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
#logo {
    position: absolute;
    top: 12px;
    z-index: 1;
    left: 73px;
}
#wrapper {
    z-index: 10;
    height: auto;
    background-color: white;
    display: block;
    overflow: hidden;
    border: 1px solid #EDEFEF;
}
#topshadow {
    position: absolute;
    top: 20px;
    left: 0;
    height: 76px;
    width: 100%;
    background-image: url(/img/backtop.png);
    background-repeat: no-repeat;
}
#main-layout div#left, #main-layout div#right {
    position: relative;
    top: 0;
    height: auto;
    overflow: hidden;
    padding: 0;
    margin: 0;
    z-index: 10;
}
#main-layout div#left {
    float: left;
    width: 25%;
    margin: 0;
    overflow: visible;
    height: 100%;
}
#bottomshadow {
    position: relative;
    height: 67px;
    width: 100%;
    clear: left;
    z-index: 0;
    /*background-image: url(/img/topshadow.png);*/
    padding: 0;
    top: 0;
    margin: -47px 0 0;
    visibility: hidden;
}

/* *** Float containers fix:
 http://www.csscreator.com/attributes/containedfloat.php *** */
.clearfix:after {
    /* content: "."; */
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clearfix {
    display: inline-block;
}
/* Hides from IE-mac \*/
* html .clearfix {
    height: 1%;
}
.clearfix {
    display: block;
}
/* End hide from IE-mac */

/* common right panel styles */

#right #top-band {
    position: relative;
    height: 80px;
    clear: none;
    background-color: #E8E8E8;
    padding: 0;
    margin-bottom: 60px;
    margin-left: 0;
    top: 0;
    left: 0;
}
#right #top-band #band {
    position: relative;
    background-color: #FA0;
    width: 3px;
    height: 100%;
}
#right #r-pad {
    position: relative;
    left: 12px;
    width: 150px;
}
#most-top-menu {
    padding: 10px;
    padding-bottom: 8px;
    margin: 0;
    min-height: 19px;
}
.menu-top #menu-top-left {
    float: right;
    display: inline-block;
    color: #797979;
    margin-top: 2px;
}
.menu-top * a {
    color: #777;
    font-size: 11px;
    /*text-shadow: 0 1px #FFF;*/
}
.menu-top * a:hover {
    color: #80B906;
    text-shadow: none;
}
.menu-top #menu-top-right {
    float: right;
    display: inline;
    text-align: right;
}
#main-menu {
    display: block;
}
/* this only moves vlinks down in left column */
* #left #vlinks1, * #left #vlinks {
    position: relative;
    width: 66%;
    top: 140px;
    left: 13%;
}
* #right #vlinks, * #right #vlinks1 {
    position: relative;
    width: 160px;
    left: 0;
    overflow: hidden;
}
.dynamic-tab-pane-control {
    margin-top: 12px;
    margin-bottom: 12px;
}
div.dynamic-tab-pane-control#order-tabs {
    margin: 0;
}
div#middle ul.llist li {
    margin-bottom: 7px;
    padding-bottom: 7px;
    border-bottom: 1px solid #DEDEDC;
}
#search {
    display: block;
    left: 83%;
    position: absolute;
    top: 15px;
    width: auto;
    height: 21px;
}
#search form {
    background: none;
    width: auto;
    height: 18px;
}
#search form input {
    border: none;
    background: none;
    color: #DDD;
    width: 72%;
    height: 19px;
    float: left;
    background-color: #41454B;
    padding: 2px;
}
#search form input:focus {
    outline: #8BE207 auto 5px;
}
#srchbtn {
    display: block;
    width: 25px;
    height: 21px;
    float: left;
    text-decoration: none;
    background-image: url(../img/search-btn.png);
    margin-left: 2px;
}

a#srchbtn:hover {
    text-decoration: none
}
#lang-container {
    position: absolute;
    left: 73%;
    top: 14px;
    width: auto;
}
/* Login Button */
#langButton {
    display: inline-block;
    position: relative;
    z-index: 30;
    cursor: pointer;
    background: url(/img/down-triangle.png);
    background-position: 90% 9px;
    background-repeat: no-repeat;
    transition: all linear 200ms;
}
/* Login Button Text */
#langButton span {
    color: #8C8C8C;
    font-size: 11px;
    /*padding: 2px 15px 2px 5px;*/
    padding: 5px 5px;
    width: 59px;
    height: 27px;
    display: block
}
#langButton:hover {
    /*	background-color:#ECEEEE; */
    background-color: #2A2C30;
}

#langButton span:hover {
    color: #a8d936; /*#84BE18*/
}

/* Login Box */
#langBox {
    position: absolute;
    top: 26px;
    right: 0;
    display: none;
    z-index: 29;
    min-width: 199px;
    background: white;
    border: 1px solid;
    -webkit-box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
    border-color: #E5E5E5 #E5E5E5 white white;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    -khtml-border-radius: 3px;
}
/* If the Login Button has been clicked */

#langButton.active span {
    background: white;
    border: 1px solid;
    /*	-webkit-box-shadow: rgba(0,0,0,0.25) 0 1px 1px;
        -moz-box-shadow: rgba(0,0,0,0.25) 0 1px 1px;
        box-shadow: rgba(0,0,0,0.25) 0 1px 1px;*/
    border-color: #E5E5E5 #E5E5E5 #DBDBDB #FFF;
    text-shadow: none;
    border-radius: 2px;
}
/* A Line added to overlap the border */
#langButton.active em {
    position: absolute;
    padding: 0;
    margin: 0;
    width: 59px;
    height: 4px;
    background: white;
    bottom: -2px;
    border-right: 1px solid #DBDBDB;
}
#langs ul {
    list-style-image: url(../img/rarrow.png)
}
#langs ul li {
    margin-top: 5px
}
#langs {
    padding: 10px;
}
/* fixes for old 3 column pages sfcon, sm, litecon */
div#top-bar #links a {
    text-shadow: 0 1px #FEFEFE;
}
div#cols, div#mainframe {
    margin-top: 5px;
}
#adrem {
    position: absolute;
    background-color: #373B40;
    width: 79px;
    height: 35px;
    background-image: url(/img/adrem-software.png);
    top: 5px;
    left: -44px;
}
/* fixes for default styles */
section {
    overflow: hidden;
    padding-bottom: 10px;
    padding-top: 10px;
    position: relative;
}

body#main.html5 div#container {
    min-height: 0
}
body#main.html5 #main-layout #top {
    margin-bottom: 0
}
body#main.html5 {
    text-align: left;
}
body#main.html5 div.inner {
    width: 960px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    position: relative;
}

body#main.html5 #most-top-menu {
    z-index: 9999;
    display: block;
    position: relative;
}

body#main.html5 div.inner.textbox {
    padding: 25px;
    width: 890px;
}

section .inner.textbox {
    margin-top: 10px;
    background-color: white;
    border: 1px solid #BFBFBF;
    -webkit-box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.1);
}

/* new responsive menu */

.icon-bar {
    background-color: #DDD;
}
#menu-main {
    position:fixed !important;
    width: 100%;
    background-color: white;
    font-size: 13px;
    line-height: 21px;
    z-index: 997 !important;
    padding: 3px 0;
    top: 0;
    transition: all ease-out 280ms;
     /*box-shadow: 0 1px 16px rgba(0,0,0,0.1);*/
    box-shadow: 0 10px 20px 0 rgba(0,0,0,0.07), 0 2px 9px 0 rgba(0,0,0,0.12)
}

#menu-main.menu-hide {
    transform: translateY(-100%);
    box-shadow: none;
}

#menu-main.dark {
    background-color: #373B40;
}

#menu-main .navbar {
    margin-bottom: 0;
    padding-bottom: 10px;
}

#menu-main .navbar-nav {
}

#menu-main .navbar-nav > li > a {
    padding: 7px 12px;
    color: #DDD;
    color: rgba( 0, 0, 0, 0.8);
    font-size: 1em;
    margin: 0 2px;
}

#menu-main.dark .navbar-nav > li > a {
    color: rgba( 255, 255, 255, 0.8);
}

.lang-en #menu-main .navbar-nav > li > a {
    font-size: 1.1em;
}

.navbar-collapse {
    border-top: 15px solid rgba(0, 0, 0, 0);
}

.navbar-toggle {
    top: 10px;
}

#lang-item {
    color: #9F9F9F !important;
}

nav {
    position: relative;
}

#lang-item  {
    font-style: normal !important;
    padding: 0 !important;
    border-radius: 50%;
    line-height: 35px;
    width: 35px;
    text-align: center;
    text-transform: uppercase;
}

#menu-main .navbar-nav > li > a:focus,
#menu-main .navbar-nav > li > a:hover {
    background-color: #2A2C30;
    background-color: rgba( 0, 0, 0, 0.03);
    color: black;
}

#menu-main.dark .navbar-nav > li > a:focus,
#menu-main.dark .navbar-nav > li > a:hover {
    background-color: rgba( 255, 255, 255, 0.03);
    color: white;
}

#menu-main .navbar-nav > li > a.selected {
    color: rgba( 0, 0, 0, 0.5);
}

#menu-main.dark .navbar-nav > li > a.selected {
    color: rgba( 255, 255, 255, 0.5);
}

.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
    background-color: black;
    color: white;
}

#new-search {
   position: absolute;
   right: 65px;
}

.navbar-brand {
    z-index: 100;
    position: relative
}

.collapse.in * #new-search {
    margin-left: 12px;
    margin-top: 1px;
    position: inherit;
    right: inherit;
}

#new-search input {
    transition: all linear 0.1s;
    width: 32px;
    position: relative;
    z-index: 0;
}

#new-search input::placeholder {
    color: transparent;
}

#new-search input {
    color: transparent !important;
}

#new-search form:after {
    content: '\02315';
    color: #ffffff54;
    position: absolute;
    top: 2px;
    font-size: 27px;
    z-index: 0;
    right: 0;
    left: auto;
    margin-right: 8px;
    user-select: none;
    pointer-events: none;
    cursor: pointer;
}

#new-search input:focus::placeholder {
    color: #ddd;
}

#new-search input {
    color: #eee;
    cursor: pointer;
}

#new-search input:focus:hover {
    background-color: transparent;
}

#new-search input:hover {
    background-color: #ff6e61;
}

#new-search input:focus {
    width: 150px;
    z-index: 100;
    padding-right: 28px;
    color: #eee !important;
    cursor: text;
}

#new-search form {
    background-color: transparent;
    position: relative;
}

#new-search form input {
    background-color: rgba(0, 0, 0, 0.05);
    box-shadow: none;
    border: none;
    height: 30px;
    color: #777;
    margin-top: 2px;
    margin-left: 10px;
    border-radius: 21px;
}

.dark #new-search form input{
    background-color: rgba(255, 255, 255, 0.05);
    color: #eee;
}

.navbar-collapse.in {
    margin-top: 45px;
}

#mnu-lang {
    position: absolute;
    right: 5px;
}

#mnu-lang .dropdown-menu {
    min-width: 100px;
}

.collapse.in * #mnu-lang {
    margin: 0;
    margin-top: 4px;
    /*margin-left: 10px;*/
    position: relative;
    right: 0;
    text-align: center;
}
.collapse.in * #mnu-lang > a {
    display: inline;
}

.collapse.in * #lang-item {
    /*display: inline;*/
}

.collapse.in #new-search {
    width: 80%;
}

#mnu-lang > a {
    font-size: 11px !important;
    font-style: italic;
}

#mnu-lang ul {
    background-color: #373B40;
}

#mnu-lang ul li a {
    color: #EEE;
}

#mnu-lang ul li a:hover,
#mnu-lang ul li a:focus {
    color: white;
    background-color: #83B612;
}

#footer {
    padding-bottom: 15px;
    text-align: center;
    z-index: 990;
    position: relative;
}
#footer p.copyright {
    float: left;
    font-size: 11px;
    margin-top: 7px;
}

#footer .menu-top {
    float: right;
    padding: 0;
}

h4 {
    font-size: 1.1em;
    font-weight: bold;
    margin: 16px 0 5px 0;
}

p {
    margin-bottom: 1em;
}

pre {
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.japanese {
    display: none;
}
.no-japanese {
    display: block;
}

body.lang-jp .japanese {
    display: block;
}

body.lang-jp .no-japanese {
    display: none;
}

#cookie-msg {
    width: 90%;
    max-width: 960px;
    padding: 15px;
    /*background-color: #39F;*/
    background-color: #44505C;
    margin: auto;
    color: #EEE;
    font-size: 13px;
    overflow: hidden;
    z-index: 16777271;
    position: fixed;
    bottom: -250px;
    right: 0;
    left: 0;
    box-shadow: -2px 0 3px rgba(0, 0, 0, 0.2);
}

#cookie-msg a {
    color: white;
}

#cookie-msg p {
    padding: 0;
    margin: 0;
    color: #d9e9ff;
    width: 95%;
    width: calc(100% - 30px);
    height: 20px;
    text-align: center;
    font-size: 13px;
    font-family: "Segoe UI", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 500;
}


#cookie-msg a.msg-close {
    float: right;
    font-weight: bold;
    font-size: 18px;
    width: 21px;
    height: 21px;
    line-height: 1;
    text-align: center;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
    background-color: #338AEE;
    border-radius: 50%;
    position: relative;
    top: -20px;

}

#cookie-msg a:hover.msg-close {
    background-color: #002A80;
}

.navbar-brand {
    padding: 10px 15px;
}

@media (min-width: 768px) {
    .navbar-right {
        margin-right: -25px !important;
    }
}

nav {
    text-align: center;
}

.navbar-center {
    display: inline-block;
    float:none;
    margin-left: -80px;
}

#general-terms {
    position: relative;
    z-index: 1001;
    background-color: #313940;
    color: white;
    width: 100%;
    margin: 0;
    padding: 15px 0;
    text-align: center;
}

#general-terms a {
    color: rgba(255, 255, 255, 0.77);
    margin: 0 15px;
}

#general-terms a:hover {
     color: #abd6ff;
}



#return-to-top {
    position: fixed;
    display: none;
    bottom: 100px;
    right: 20px;
    cursor: pointer;
    background: #000000;
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    transition: all ease-out 450ms;
    z-index: 10009;
}
#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    transition: all ease-out 180ms;
}

#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}
#return-to-top:hover i {
    color: #fff;
    top: 5px;
}
