@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(MaterialIcons-Regular.eot); /* For IE6-8 */
    src: local('Material Icons'),
        local('MaterialIcons-Regular'),
        url(./font/material-design-icons/MaterialIcons-Regular.woff2) format('woff2'),
        url(./font/material-design-icons/MaterialIcons-Regular.woff) format('woff'),
        url(./font/material-design-icons/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
  
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
  
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
  
    /* Support for IE. */
    font-feature-settings: 'liga';
}

/* toolbox indicator */
#：l {
    border-left: 10px solid #4c97ff;display:inline-block;
}

/* -------- styles of shadowbox -------- */
.shadowbox {
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    width: 100%;
    height: 100%;
}

.nav-fixed > .shadowbox {
    z-index: 2;
}

body > .shadowbox {
    top: 0px;
    z-index: 1000;
}

.collapsible-body > .shadowbox {
    position: absolute;
    z-index: 2;
}

.collapsible-body > .blue-dark {
    background-color: rgba(14, 6, 65, 0.8);
}

/* -------- tour card --------- */
.tourCards {
    position: fixed;
    z-index: 1002;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
}

.tourCards > * {
    width: 390px;
}

.item_highlight {
    position: relative;
    z-index: 1001;
}

/* -------- styles of card display or hide-------- */
.step_hide {
    visibility: hidden;
    opacity: 0;
    width: 200px;
}

.step_show {
    visibility: visible;
    opacity: 1;
    width: 390px;
}

/* -------- styles of uploader --------- */
.code-header {
    height: 45px;
    padding: 0px 6px;
    border-bottom: 1px solid #ddd;
}

.code-header > span.card-title {
    line-height: 3rem;
    font-size: 18px;
    font-weight: 200;
}

.select-wrapper input.select-dropdown {
    margin-bottom: 8px;
    border-bottom: 1.5px solid rgba(158, 158, 158, 0);
}

.select-wrapper:hover input.select-dropdown:hover {
    border-bottom: 1.5px solid rgba(158, 158, 158, 0.8);
}

.header-link {
    float: right;
    line-height: 3rem;
    margin: 0 10px;
}

.header-link > img {
    width: 22px;
    height: 22px;
    transform: translateY(5px);
}

/* -------- styles of footer --------- */
footer.page-footer {
    padding: 0;
    background-color: #2c4fcd;
}

/* -------- styles of error button --------- */
#error-btn {
    width: 20px;
    height: 20px;
    float: right;
    cursor: pointer;
    margin-right: 8px;
    display: none;
}

#err-msg:focus {
    outline: none;
    background-color: rgba(86, 86, 86, 0.8);
}

/* -------- styles of tooltip & tooltip's icon --------- */
.plugin_options {
    position: absolute;
    bottom: 200px;
    right: 24px;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    z-index: 2;
}

.options_hide {
    visibility: hidden;
    opacity: 0;
    height: 0;
}

.options_active {
    visibility: visible;
    opacity: 1;
    height: 49px;
}

.plugin_options a {
    color: rgb(150, 150, 150);
    font-size: 18px;
    font-weight: bold;
    margin-right: 10px;
}

.plugin_options .card-content {
    padding: 8px 12px;
}

.plugin_options .card-content > div{
    transform: translateY(-3px);
}

.plugin_options img {
    width: 25px;
    height: 25px;
    margin-right: 5px;
    transform: translateY(5px);
}

#Ardunio-main, #Serial-monitor {
    overflow: hidden;
}

#main_content > div > div:nth-child(2) {
    overflow: hidden;
    height: -moz-calc(100vh - 175px);     /* Firefox  */
    height: -webkit-calc(100vh - 175px);  /* WebKit   */
    height: -o-calc(100vh - 175px);       /* Opera    */
    height: calc(100vh - 175px);            /* Standard */
}

/* -------- styles of uploader's buttons --------- */
#uploader-btns a {
    padding: 0 0.5rem;
}

#uploader .row {
    margin-bottom: 2px;
    max-height: 43px;
}

#uploader input {
    margin-bottom: 2px;
}

/* -------- styles of Serial Monitor --------- */
#Serial-monitor .card-content > div.row {
    padding: 0;
    margin-bottom: 2px;
}

#Serial-monitor a.btn {
    min-width: 60px;
}

.card-serialMonitor
.select-wrapper input.select-dropdown {
    margin-bottom: 2px;
    border-bottom: 1.5px solid rgba(158, 158, 158, 0);
    height: 2rem;
    line-height: 2rem;
}

#commsBox {
    height: -moz-calc(100vh - 440px);
    height: -webkit-calc(100vh - 440px);
    height: -o-calc(100vh - 44px);
    height: calc(100vh - 440px);
    background-color: rgba(248, 248, 250, 0.966);
    padding: 6px;
    margin: 8px 0 6px 0;
    border: none;
    overflow-y: auto;
    resize: none;
    width:100%;
}

#commsBox:focus {
    outline: none;
}

/* -------- styles of Serial Monitor --------- */
#icon-tool {
    margin-top: 6px;
    position: fixed;
    right: 6px;
    transform: translate(80%);
    transition: all 0.3s linear;
}

#icon-tool:hover {
    transform: translate(0);
}

#icon-tool > li {
    cursor: pointer;
}

#icon-tool > li:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

#icon-tool > li.active {
    background-color:  #3258cd;
    border-color: #3258cd;
    color: #fff;
}

#icon-tool > li > i {
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

@media only screen and (min-width: 993px){
    .row .col.l0 {
        width: 0%;
        margin-left: auto;
        left: auto;
        right: auto;
        display: none;
    }
}