

html {
    height: 100%;
    margin: 0;
    line-height: 1.5;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial, sans-serif,
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Segoe UI Symbol";
}

body {
    background: #f5f5f5;
    color: #424242;
    font-size: 0.8em;
}

a {
    text-decoration: none;
    color: #424242;
    cursor: pointer;
}

.content {
    min-height: calc(100vh - 30px);
}


/**********************************
 * login
 **********************************/

.login-card {
    display : -webkit-box;     /* old Android */
    display : -webkit-flex;    /* Safari etc. */
    display : -ms-flexbox;     /* IE10        */
    display: flex;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;

    max-width: 800px;
    margin: calc(50vh - 210px) auto;
    padding: 2em;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.login-card .left-box {
    width: 210px;
    flex: 1 0 auto;
    margin-right: 40px;
    text-align: center;
    padding: 5px 10px;
}
.login-card .right-box {
    max-width: 500px;
    flex: 2 0 auto;
    display: block;
    margin-top: 10px;
    font-size: 0.9em;
}

.login-card ul {
    list-style: none;
}

.login-title {
    font-size: 1.2em;
    text-align: center;
}

.login-group {
    position: relative;
    margin: auto;
    margin-bottom: 45px;
}

@media screen and (max-width: 820px) {
    .login-card {
        display: block;
        margin: 10px;
        padding: 2em;
        background: #fff;
        border-radius: 2px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
        transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    }

    .login-card .left-box {
        margin-right: 40px;
        text-align: center;
        padding: 5px 10px;
    }
    .login-card .right-box {
        display: block;
        margin-top: 10px;
        font-size: 0.9em;
    }

    .login-card ul {
        list-style: none;
    }

    .login-title {
        font-size: 1.2em;
        text-align: center;
    }

    .login-group {
        position: relative;
        margin: auto;
        margin-bottom: 45px;
    }
}


/**********************************
 * header
 **********************************/

header {
    margin-top: 0;
    color: #424242;
    height: 100%;
    font-size: 1.2em;
}

header ul.title {
    display : -webkit-box;     /* old Android */
    display : -webkit-flex;    /* Safari etc. */
    display : -ms-flexbox;     /* IE10        */
    display: flex;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    frex-direction: row;
    margin: 0;
    padding-left: 0;
    background-color: #fafafa;
    box-shadow: 0 2px 20px 2px rgba(0,0,0,.1);
    list-style: none;
}

header ul.title > li {
    flex-grow: 1;
}

/* logo周り */
header ul.title ul.vertical {
    display : -webkit-box;     /* old Android */
    display : -webkit-flex;    /* Safari etc. */
    display : -ms-flexbox;     /* IE10        */
    display: flex;
    list-style: none;
    flex-direction: column;
    padding: 0;
    width: 250px;
    text-align: center;
    font-weight: 700;
}
header ul.title img.logo {
    margin: 10px 10px 0 10px;
}

/* Title欄 */
header ul.title li:nth-child(2) {
    flex-grow: 5;
    margin: 10px;
}
header ul.title li h1 {
    font-size: 1.5em;
    font-weight: 100;
}

header ul.title li:nth-child(3) {
    flex-grow: 0;
}
header .profile p {
    display : -webkit-box;     /* old Android */
    display : -webkit-flex;    /* Safari etc. */
    display : -ms-flexbox;     /* IE10        */
    display: flex;
    align-items: center;
    height: 65px;
    margin-left: 10px;
    margin-right: 10px;
}

/* Dropdown Profile */
ul li.drop {
    position: relative;
}
.dropOut .triangle {
    width: 0;
    height: 0;
    position: absolute;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
    top: -8px;
    left: 50%;
    margin-left: -8px;
}
.dropdownContain {
    width: 160px;
    position: absolute;
    z-index: 2;
    left: 50%;
    margin-left: -80px; /* half of width */
    top: -400px;
}
.dropOut {
    width: 160px;
    background: white;
    float: left;
    position: relative;
    margin-top: 0px;
    opacity: 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 6px rgba(0,0,0,.15);
    -moz-box-shadow: 0 1px 6px rgba(0,0,0,.15);
    box-shadow: 0 1px 6px rgba(0,0,0,.15);
    -webkit-transition: all .1s ease-out;
    -moz-transition: all .1s ease-out;
    -ms-transition: all .1s ease-out;
    -o-transition: all .1s ease-out;
    transition: all .1s ease-out;
}

.dropOut ul {
    float: left;
    padding: 10px 0;
    list-style: none;
}
.dropOut ul li {
    text-align: left;
    float: left;
    width: 125px;
    padding: 12px 0 10px 15px;
    margin: 0px 10px;
    color: #424242;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: background .1s ease-out;
    -moz-transition: background .1s ease-out;
    -ms-transition: background .1s ease-out;
    -o-transition: background .1s ease-out;
    transition: background .1s ease-out;
}

.dropOut ul li:hover {
    background: #f6f6f6;
}

.dropOut ul li button {
    background: #fff;
    border: none;
}
.dropOut ul li button:hover {
    background: #f6f6f6;
    border: none;
}

ul li:hover .dropdownContain { top: 65px; }
ul li:hover .underline { border-bottom-color: #777; }
ul li:hover .dropOut { opacity: 1; margin-top: 8px; }

.dropmark {
    color: #999;
    font-size: 0.8em;
    padding-left: 10px;
    padding-right: 30px;
}

@media screen and (max-width: 600px) {
    header ul.title {
        flex-direction: column;
    }

    header ul.title ul.vertical {
        margin: 0;
    }

    .dropmark {
        padding-right: 10px;
    }
}

@media screen and (max-width: 760px) {
    header ul.title {
        -webkit-flex-wrap:wrap;
        -ms-flex-wrap:wrap;
        flex-wrap:wrap;
    }

    header ul.title li:nth-child(2) {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 3;
        -webkit-order: 3;
        order: 3;
    }
    header ul.title li:nth-child(3) {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 2;
        -webkit-order: 2;
        order: 2;
    }
}

@media screen and (max-width: 900px) {
    header ul.title li h1 {
        margin: 10px;
        text-align: center;
        font-size: 1.2em;
    }
}


/**********************************
 * horizon-menu
 **********************************/

nav {
    background: #37474F;
    color: #F5F5F5;
}

nav > ul{
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    box-sizing: border-box;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    width: 95%;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
nav > ul > li {
    position: relative;
    -webkit-flex-basis: 150px;
    flex-basis: 150px;
}
nav > ul > li a {
    display: block;
    padding: 10px 15px;
    color: #F5F5F5;
    text-decoration: none;
}
nav > ul > li:hover {
    background: #FAFAFA;
}
nav > ul > li:hover a {
    background: #FAFAFA;
    color: #424242;
}
nav > ul > li > ul {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    position: absolute;
    list-style: none;
    margin: 2px 0 0 0;
    padding: 0;
    width: 300px;
    background: #FAFAFA;
    box-sizing: border-box;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border-radius: 3px;
    z-index: 10;
}
nav > ul > li:hover > ul li {
    overflow: visible;
    height: 38px;
    border-bottom: 1px solid #ccc;
}
nav > ul > li:hover > ul li:first-child {
    border-top: 1px solid #ccc;
}
nav > ul > li > ul > li {
    overflow: hidden;
    height: 0;
    transition: .2s;
    width: 300px;
    background: none;
}

nav > ul > li > ul > li a:hover {
     background: #009688;     color: #FAFAFA;
}


/**********************************
 * footer
 **********************************/

footer {
    width: 100%;
    height: 30px;
    background: #37474F;
    color: #E0E0E0;
}
footer ul {
    display : -webkit-box;     /* old Android */
    display : -webkit-flex;    /* Safari etc. */
    display : -ms-flexbox;     /* IE10        */
    display: flex;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    margin: 0;
    padding: 5px 0;
    box-shadow: 0 2px 20px 2px rgba(0,0,0,.1);
    list-style: none;
}

footer ul > li {
    flex-grow: 1;
}
footer ul > li > a {
    color: #E0E0E0;
}
footer ul > li > a:hover {
    text-decoration: underline;
}
footer ul li:nth-child(1) {
    text-align: right;
    padding-right: 5em;
}
footer ul li:nth-child(2) {
    flex-grow: 0;
    padding-right: 20px;
}

/**********************************
 * Dashboard
 **********************************/

.card-block {
    display : -webkit-box;     /* old Android */
    display : -webkit-flex;    /* Safari etc. */
    display : -ms-flexbox;     /* IE10        */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.vertical {
    display : -webkit-box;     /* old Android */
    display : -webkit-flex;    /* Safari etc. */
    display : -ms-flexbox;     /* IE10        */
    display: flex;
    flex-direction: column;
    margin-right: 50px;
}

.card {
    background: #fff;
    border-radius: 2px;
    display: inline-block;
    height: 56px;
    margin: 1em;
    position: relative;
    width: 280px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.card .card-data {
    font-size: 1.6em;
    text-align: right;
    padding: 5px 10px;
}

.card2x {
    background: #fff;
    border-radius: 2px;
    display: inline-block;
    min-height: 100px;
    margin: 1rem;
    position: relative;
    min-width: 260px;
    max-width: 572px;
    padding: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    line-height: 1.6;
}

h3.item {
    margin: 2em 0 0 0;
}


/**********************************
 * main
 **********************************/

main {
    padding: 25px 50px 40px;
}

main .flex {
    display: flex;
    flex-wrap: wrap;
}

main .flex1000 {
    display: flex;
    flex-wrap: wrap;
    width: 1000px;
}

p.search-result {
    font-size: 0.85em;
}

/**********************************
 * Responsive Design Table
 **********************************/

table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    table-layout: auto;
    width: 100%;
    box-sizing: border-box;
}
table th.tradingPerformance,
table td.tradingPerformance {
    background-color: #f9fbe7;
}
table th.requiredResults,
table td.requiredResults {
    background-color: #fff3e0;
}

table th {
    white-space: nowrap;
}
table tr {
    background: #fff;
    border: 1px solid #ddd;
    padding: .35em;
}
table tr:nth-child(even) {
    background: #FAFAFA;
}
table tbody tr:hover,
table tbody tr:hover td.tradingPerformance,
table tbody tr:hover td.requiredResults {
    background: #E3F2FD;
}
table th,
table td {
    padding: .625em;
    text-align: center;
}


/**********************************
 * Form starting stylings
 **********************************/

.group {
    position: relative;
    margin: 15px 60px 30px 20px;
}
.readdata {
    font-size: 1.2em;
    padding: 10px 10px 5px 5px;
    margin: -20px 0;
    display: block;
    width: 300px;
    border: none;
    color: #616161;
    background-color: #f5f5f5;
}
input[type="text"],
input[type="password"] {
    font-size: 1.2em;
    padding: 10px 10px 5px 5px;
    display: block;
    width: 300px;
    border: none;
    border-bottom: 1px solid #607D8B;
    background-color: #f5f5f5;
}
input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
}
input[type="text"].input-half,
td.input-half {
    width: 150px;
}
input[type="text"].input2x {
    font-size: 1.5ex;
    width: 700px;
}
.login-card input[type="text"],
.login-card input[type="password"] {
    width: 210px;
    background-color: #fff;
    ime-mode: inactive;
}

.note {
    display: block;
    color: #757575;
}

/* LABEL ======= */
label.input-label {
    color: #999;
    font-size: 1.2em;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 0;
    top: 10px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

/* active state */
input[type="text"]:focus ~ label.input-label,
input[type="text"]:valid ~ label.input-label,
input[type="text"]:invalid ~ label.input-label,
input[type="password"]:focus ~ label.input-label,
input[type="password"]:valid ~ label.input-label,
input[type="password"]:invalid ~ label.input-label,
label.float-label {
    top: -15px;
    font-size: 0.9em;
     color: #009688; }

input[readonly] ~ label.input-label,
input[readonly="readonly"] ~ label.input-label {
    top: -15px;
    font-size: 0.9em;
     color: #009688; }

.select-label,
.readdata-label {
    position:relative;
    top: -17px;
    font-size: 0.9em;
     color: #009688; }


/* BOTTOM BARS ======= */
.bar {
    position: relative;
    display: block;
    width: 315px;
}
.bar:before,
.bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
     background: #009688; }
.bar:before {
    left: 50%;
}
.bar:after {
    right: 50%;
}
.bar-half {
    width: 165px;
}
.bar2x {
    width: 715px;
}

.login-card login-bar {
    width: 225px;
}


/* active state */
input[type="text"]:focus ~ .bar:before,
input[type="text"]:focus ~ .bar:after {
    width: 50%;
}


/**********************************
  Material Design Button
 **********************************/

.raised {
    display: inline-block;
     background: #009688;     color: #FFF;
    font-size: 1.1em;
    line-height: 1;
    text-decoration: none;
    letter-spacing: 0.05em;
    padding: 0.7em 1.3em;
    margin: 0.5em;
    border: none;
    border-radius: 1px;
    cursor: pointer;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
    -webkit-tap-highlight-color: transparent;
    transition: .3s ease-out;
}

.raised:hover{
    box-shadow: 0 3px 3px 0 rgba(0,0,0,0.14), 0 1px 7px 0 rgba(0,0,0,0.12), 0 3px 1px -1px rgba(0,0,0,0.2);
}

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple .rp-effect {
    position: absolute;
    border-radius: 50%;
    opacity: 0.35;
    transform: scale(0);
    background: #FFF;
    animation: ripple 700ms;
    pointer-events: none;
}

@-webkit-keyframes ripple {
    to {
        opacity: 0;
        transform: scale(2.0);
    }
}

@keyframes ripple {
    to {
        opacity: 0;
        transform: scale(2.0);
    }
}


/**********************************
 * Material Design Radio Button
 **********************************/

@keyframes ripple {
    0% {
        box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.0);
    }
    50% {
        box-shadow: 0px 0px 0px $md-radio-ripple-size rgba(0, 0, 0, 0.1);
    }
    100% {
        box-shadow: 0px 0px 0px $md-radio-ripple-size rgba(0, 0, 0, 0);
    }
}

.radio-label {
    position:relative;
    top: -15px;
    font-size: 0.9em;
     color: #009688; }

.md-radio {
    margin: -7px 5px;
}
.md-radio.md-radio-inline {
    display: flex;
    height: 2.5em;
}

.md-radio input[type="radio"] {
    display: none;
}
.md-radio input[type="radio"]:checked + label.radio-label-sel:before {
     border-color: #009688;     animation: ripple 0.2s linear forwards;
}
.md-radio input[type="radio"]:checked + label.radio-label-sel:after {
    transform: scale(1);
}

.md-radio label.radio-label-sel {
    display: inline-block;
    position: relative;
    height: 10px;
    padding: 0 30px;
    cursor: pointer;
    vertical-align: bottom;
    font-size: 1.2em;
    color: #424242;
}
.md-radio label.radio-label-sel:before, label.radio-label-sel:after {
    position: absolute;
    content: '';
    border-radius: 50%;
    transition: all .3s ease;
    transition-property: transform, border-color;
}
.md-radio label.radio-label-sel:before {
    left: 0;
    top: 0;
    width: 1em;
    height: 1em;
    border: 2px solid rgba(0, 0, 0, 0.4);
}
.md-radio label.radio-label-sel:after {
    top: 5px;
    left: 5px;
    width: 9px;
    height: 9px;
    transform: scale(0);
     background: #009688; }


/* 吹き出し */

.balloon {
    display: none;
    position: absolute;
    padding: 12px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background: #424242;
    color: #fff;
}

.balloon:after {
    position: absolute;
    bottom: 100%;
    left: 25%;
    width: 0;
    height: 0;
    margin-left: -10px;
    border: solid transparent;
    border-color: rgba(66, 66, 66, 0);
    border-bottom-color: #424242;
    border-width: 7px;
    pointer-events: none;
    content: " ";
}

.balloon-parent:hover + .balloon {
    display: block;
}

.bikou {
    color: #3F51B5;
    background: #E0E0E0;
    font-size: 0.9em;
}

.RoHS {
    background: #E0E0E0;
    font-size: 0.9em;
}


a.tooltips {
    position: relative;
    display: inline;
}
a.tooltips span {
    position: absolute;
    width:140px;
    color: #FFFFFF;
    background: #424242;
    height: 26px;
    line-height: 26px;
    text-align: center;
    visibility: hidden;
    border-radius: 8px;
}
a.tooltips span:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -8px;
    width: 0; height: 0;
    border-right: 8px solid #424242;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}
a:hover.tooltips span {
    visibility: visible;
    opacity: 0.8;
    left: 100%;
    top: 50%;
    margin-top: -13px;
    margin-left: 15px;
    z-index: 999;
}


/* Error Messege */

.errmsg {
    color: #F44336;
    font-size: 1.2em;
    margin: 1em;
}

.errbutton {
    margin: 1em;
}


/* Common */

.align-center {
    text-align: center;
}
.align-left {
    text-align: left;
}
.align-right {
    text-align: right;
}

.info_color {
    color: #3F51B5;
}
.warning_color {
    color: #FFA000;
}
.error_color,
.accent_color {
    color: #F44336;
}

hr.dashed {
    margin: 2em 0;
    border: 0;
    height: 1px;
    border-top: 1px dashed #ccc;
}
hr.dotted {
    margin: 2em 0;
    border: 0;
    height: 1px;
    border-top: 1px dotted #ccc;
}
hr.fade {
    margin: 2em;
    border: 0;
    height: 1px;
    background: #fff;
    background-image: -webkit-linear-gradient(left, #fff, #666, #fff);
    background-image: -moz-linear-gradient(left, #fff, #666, #fff);
    background-image: -ms-linear-gradient(left, #fff, #666, #fff);
    background-image: -o-linear-gradient(left, #fff, #666, #fff);
}

.bold {
    font-weight: bold;
}


/**********************************
  Material Design Icon
 **********************************/

.info {
    display: inline-flex;
    vertical-align: top;
    font-size: 0.6em;
    color: #fff;
    border: 0.06em solid #424242;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    flex-flow: column wrap;
    width: 1.4em;
    height: 1.4em;
     background: #009688; }

.info-parent {
    position: absolute;
    top: -1.4em;
    width: 100%;
}
.letters2 {
    left: 2.3em;
}
.letters3 {
    left: 3.2em;
}
.letters4 {
    left: 4.1em;
}
.letters5 {
    left: 5.0em;
}
.letters6 {
    left: 5.9em;
}
.letters7 {
    left: 6.8em;
}
.letters8 {
    left: 7.7em;
}
