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, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, form {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    outline: none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* end of css reset */

html {
    overflow-y: auto;
}
html, body {
    margin:0;
    padding:0;
    height: auto;

    font-family:  verdana, sans-serif;

    font-size: 14px;
    line-height: 20px;
    color: #30404f;
    background-color: #FFFFFF;
    empty-cells: show;

    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;

}
div {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;    
}
table.center {
    margin-left:auto;
    margin-right:auto;
}
td {
    margin:0;
    padding:0;
    font-family: verdana, sans-serif;
    color: #000000;
    empty-cells: show;
}
ul {
    margin-top: 1em;
    margin-bottom: 2em;
    list-style: disc;
    padding-left: 35px;
}
#navi ul {
    margin: 0;
}
ol {
    margin-top: 1em;
    margin-bottom: 2em;    
    list-style: decimal;
    padding-left: 35px;
}
a, a:visited {
    color: #000000;
    text-decoration: none;
    font-weight: normal;
}
a:hover {
    color: #999999 !important;
    cursor: pointer;
}
sub { 
    vertical-align: sub;
    font-size: smaller;
}
sup { 
    vertical-align: super;
    font-size: smaller;
}
input {
    margin: 5px 0px;
    padding: 5px 5px;
    font-size: 14px;
    border-radius: 0px;
    border: 1px solid #7a8899;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    outline: none;
}
input[type=text], input[type=password] {
    width: 210px;
    border: 0px solid #7a8899;
    background-color: #f4f6f7;
}
input[type=file] {
    border: 1px solid #7a8899;
    width: 100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
input[type=button], input[type=submit], button {
    border: 0px solid #47cc74;
    border-radius: 3px;
    background-color: #47cc74;
    color: #fff;
    cursor: pointer;
    padding: 10px 15px;
    width: auto !important;
    font-size: 14px;
}
input[type=button]:hover, button:hover {
    background-color: #7ee6a1;
}
input[type=button]:focus, button:focus {
    background-color: #7ee6a1;
    box-shadow: none;
    outline: none;
}
input[type=radio] {
    width: auto !important;
    margin-right: 10px;
}
input[type=checkbox] {
    width: 18px !important;
}

select {
    min-width: 100px;
    margin: 5px 0px;
    padding: 5px 5px;
    background: #f4f6f7;
    background-color: #f4f6f7;
    border: 0px solid #7a8899;
    border-radius: 0px;
    font-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;    
    padding-right: 22px;
}
.select-container {position:relative; display: inline;}
.select-container:after {content:""; width:0; height:0; position:absolute; pointer-events: none;}
.select-container:after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    top: 5px;
    right: 10px;
    border-top: 8px solid black;
    opacity: 0.5;
}
select::-ms-expand {
    display: none;
}

textarea {
    margin: 5px 0px;
    font-family: 'Roboto', verdana, sans-serif;
    font-size: 14px;
    padding: 5px;
    border-radius: 0px;
    border: 1px solid #7a8899;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    width: 100%;
}
p {
    padding: 0px;
    margin: 0px;
}
h1 {
    padding: 0px;
    margin: 0px;
    font-size: 20px;
    font-weight: bold;
}
h2 {
    padding: 0px;
    margin: 0px;
    font-size: 18px;
    font-weight: bold;
}
h3 {
    padding: 0px;
    margin: 0px;
    font-size: 14px;
    font-weight: bold;
}
b, strong {
    font-weight: bold;
}
hr {
    border: none;
    height: 1px;
    background-color: #304050;
    margin: 10px 0;
}
#mainContainer {
   max-width: 1600px; background-color: #fff; margin: auto;
}
#container {
   min-height:100%;
   position:relative;
}
#navi {min-height: 80vh;}
#navi ul {padding-left: 17px; border-left: 3px solid #eaedf1; line-height: 40px;}
#navi a {
    color: #7a8899;
}
#navi a:hover {
    color: #fff !important;
}
.iconNavi {
   font-size: 25px;
   width: 20px;
   margin-right: 5px;
   display: inline-block;
   text-align: center;
}
.icon {
   font-size: 18px;
   width: 12px;
   margin-right: 5px;
   display: inline-block;
   text-align: center;
}
.btnRed {
    background-color: #990000;
    box-shadow: 0 2px 0 0 #6c3030;
}
.btnRed:hover {
    background-color: #d66262;
    box-shadow: 0 2px 0 0 #6c3030;
}
.naviLinkHolder {display: inline-block; vertical-align: top;} 
.active {
    color: #7a8899;
    background-color: #cbd0d7;
    display: block;
    border-left: 3px solid #47cc74 !important;
}
.active a {color: #7a8899 !important;}
.adminTable {
    border: 1px #666 solid;
    padding: 2px;
    width: 100%;
}
.adminTable td {
    padding: 5px;
}
.adminTable td:first-child {
    width: 150px;
    vertical-align: middle;
}
.listTable {
    padding: 2px;
    width: 100%;
}
.listTable tr {

}
.listTable tr:nth-child(odd) {
    background-color: #f4f6f7;
}
.listTable tr:first-child {
    background-color: #fff;
}
.listTable tr:first-child td {
    vertical-align: top;
}
.listTable td {
    padding: 5px;
    vertical-align: middle;
    border-bottom: 1px solid #7a8899;
}
.border {
    border: 1px #ccc solid;
    padding: 2px;
}
.border:hover span {
    cursor: pointer;
}
.pointer {
    cursor: pointer;
}

.colorTable { width: 300px;  border: 1px solid #ccc;}
.colorTable td {border: 1px solid #ccc;}

.checkboxItem {display: inline-block; margin-right: 10px; margin-top: 10px; padding: 2px 5px; border: 1px solid #ccc;}

#overlay { height: 100%; width: 100%; display: none; position: fixed; z-index: 1; top: 0; left: 0; background-color: rgb(0,0,0); background-color: rgba(0,0,0, 0.9);}
#overlay-content { color: #fff; position: relative; top: 25%; width: 100%; text-align: center; margin-top: 30px;}
#overlay a { padding: 8px; text-decoration: none; color: #818181; display: block; transition: 0.3s; }
#overlay a:hover, .overlay a:focus { color: #f1f1f1; }
#overlay .closebtn { position: absolute; top: 20px; right: 20px; font-size: 30px;}

#naviSmall {display: none;}

#onePage {float: left; width: calc(100% - 250px); overflow: auto;}
#onePage input {width: 300px;}

#headerContainer { padding-left: 10px; height: 36px; background-color: #304050; color: #fff; }
#headerContainer span {float: left; padding: 10px;}
#headerContainer a {color: #fff;}

#contentSubmenuSmall {display: none;}

#contentMenuContainer { float: left; color: #777777; background-color: #f3f3f4; padding: 0 10px; height: calc(100vh - 60px); min-width: 550px; max-width: 550px; overflow: auto;}
#contentFormContainer { float: left; color: #777777; background-color: #f3f3f4; padding: 0 10px; width: calc(100% - 800px); height: calc(100vh - 60px); overflow: auto; }


.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
 
    position: absolute;
    z-index: 1;

    top: -5px;
    right: 105%; 
}

.tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 50%;
    left: 100%; 
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent black;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ddd;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 28px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #47cc74;
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

#hint {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    visibility: hidden;
    background-color: #d2e7d2;

    padding: 0px 5px;
    border: 1px solid #f9f9f9;
    box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.3);
    max-width: 600px;
    border-radius: 3px;
}
#hintContainer {
    width: 100%;
}


@media screen and (max-height: 450px) {
  #overlay a {font-size: 20px}
  #overlay .closebtn { font-size: 40px; top: 15px; right: 15px; }
}

@media screen and (max-width: 1000px) {
    #naviSmall {height: 35px; display: block; }
    #navi {display: none;}
    #contentMenuContainer {height: calc(100vh - 60px); } 
    #contentFormContainer {height: calc(100vh - 60px); width: calc(100% - 550px);}  
    #onePage {float: none; width: 100%; height: calc(100vh - 60px); }
    #headerContainer {padding: 20px 10px; height: 70px;}
    #headerContainer span {padding: 0px;}
}

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

    #contentMenuContainer {height: 200px; float: none; min-width: none; max-width: none; padding-bottom: 5px;}
    #contentFormContainer {height: calc(100vh - 200px - 75px); width: auto; border-top: 1px solid #ccc; float: none; width: auto; padding-top: 5px}

    #naviSmall select { width: calc(100% - 5px);  }
    #naviSmall {height: 100px; }   
    #contentFormContainer {height: auto; }
    #onePage {float: none; width: 100%; height: calc(100vh - 170px); }
    #contentSubmenu {display: none;}
    #contentSubmenuSmall {display: block;}
    #contentSubmenuSmall select { width: calc(100% - 5px);  }
}

.inputBox {
    width: 50%; 
    padding-bottom: 30px;
  }

  .inputBox2 {
    width: 100%; 
    padding-bottom: 30px;
  }

