.moc-header {
    background-color: #fff;
    position: relative;
    box-shadow: 0px 10px 10px 0px rgba(187, 187, 187, 0.1);
	z-index: 10003;

}
.moc-header .top-container{
    height:70px;
    border-bottom: solid 1px #efefef;
    line-height: 70px;
}
.moc-header .top-container .top-container-content {
    width:86%;
    margin: 0 auto;
}

.moc-header .navigation ul {
    list-style-type: none;
    padding: 0;
    overflow: hidden;
    display: flex;
    width: 86%;
    margin: 0 auto;
    height: 50px;
    justify-content: space-between;
    align-items: center;
}

.moc-header .navigation ul li img {
    height:22px;
    width: 22px;
    margin-left:6px;
    transform: rotate(0deg);
    transition: all .2s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.moc-header .navigation ul li {
    height: 100%;
    line-height: 50px;
    padding: 0 20px;
    cursor: pointer;
}
.moc-header .navigation ul li .nav-label{
    position: relative;
    display: flex;
    align-items: center;
}
.moc-header .navigation ul li .nav-label::after{
    content : "" ; 
    height:2px ; 
    width: 0 ;
    left:50%;
    transform: translateX(-50%);
    background-color: #28a745;
    position: absolute;
    opacity: .7;
    bottom:4px;
    transition: all .2s ease-out;
}

.moc-header .navigation ul li:hover {
    background-color: #f1f1f1;
}
.moc-header .navigation ul li:hover .nav-label::after{
    width: 50%;
}
.moc-header .navigation ul li:hover .nav-label img {
    transform: rotate(-180deg);
}

.moc-header .navigation ul li:hover .sub-nav {
    height:200px;
}

.moc-header .navigation ul li .sub-nav {
    position: absolute;
    left: 0;
    width: 100%;
    padding:0 10%;
    background-color: #fff;
    box-sizing: border-box;
    height:0 ; 
    transition: all .2s ease-in;
    overflow: hidden;
    box-shadow: 0px 10px 10px 0px rgba(187, 187, 187, 0.1);

}

.moc-header .navigation ul li .sub-nav .sub-nav-content {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 0px;
    display: grid;
    padding: 20px 0;
}


.tool-box li .tool-card {
    text-align: center !important;
}
.tool-box li .tool-card strong{
    font-size:15px;
    width:100%;
    font-weight: 400;
    color:#888;
}

.tool-cate{
    color:black;
    font-weight: bold;
    margin-left: 0;
}
.content{
	margin-left: 0 ;
}
.content-body{
	width: 86%;
    margin: 0 auto;
}
.moc-logo{
	color: #4caf50;
    font-size: 1.6rem;
    font-weight: 700;
    
}
.moc-logo a:link, .moc-logo a:visited{
    color: #4caf50;
}
.navigation li{
	min-width: 92px;
}
.moc-header .navigation ul li:first-child {
	min-width: 40px;
}

.tool-box li .tool-card:first-child {
    text-align: center !important;
    margin-left: 0;
}

.tool-content{
    border-radius: 5px;
    padding: 30px 0;
}
.form-field.text{
    margin-bottom:0;
    width: 50%;
}

.form-field.text #Canvas{
    overflow:hidden;
    overflow: scroll;
}

.form-field.text .CodeContainer{
    display: table-cell;
    width: 100%;
    height: 100%;
}


.form-field.text textarea{
    resize: none;
    height: 40.75rem;
}

.form-field.text .form-textarea{
    height: 40.75rem;
}

.tool-form.test{
    width: 40%;
    display: inline-block;
}
.tool-result.test{
    width: 50%;
    display: inline-grid;
    position: absolute;
}
.test .form-input{
    width: 80%;
}
#tool-result.test.dis{
    display: inline-block;
}

.test .btn.btn-success{
    width: 140px;
}
#tool-result.test{
    background-color :none;
    border: 0px ;
    margin: 0;
    padding: 0;
}
#tool-result.test td{
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
}

#tool-result.test table{
    width: 100%;
}


.tool-box.test li {
    width: 10%;
}

.test.tool-title.clearfix>a{
    color: #3f3fea;
}

.tool-content.test{
    padding:  0;
}

.tool-form.text{
    display: flex;
}

@media only screen and (max-width: 768px){
    .test .form-input{
        width: 100%;
    }
    .tool-form.test{
        width: 100%;
        display: block;
    }
    #tool-result.test{
        display: contents;
        width: 100%;
    }
    #tool-result.test.dis{
        display: contents;
        width: 100%;
    }
}
@media only screen and (max-width: 980px){
    .tool-box li .tool-card:first-child{
    	margin: 0 0 1rem 0;
    }
    .tool-form.text{
        display: block;
    }
    .form-field.text{
        width: 100%;
    }
    .moc-header .navigation ul{
        display: contents;
    }
    .moc-header .navigation ul li .sub-nav{
        background-color: #f1f1f1;
        position: inherit;
    }
    .moc-header .navigation ul li .nav-label::after{
        background-color: #f1f1f1;
    }
    .moc-header .navigation ul li:hover .sub-nav{
        height: 100%;
    }
    .moc-header .navigation ul li .sub-nav .sub-nav-content{
        grid-template-columns: auto;
    }
    .logo-bt {
        height: 22px;
        width: 22px;
        margin-left: 6px;
        transform: rotate(0deg);
        transition: all .2s cubic-bezier(0.075, 0.82, 0.165, 1);
        
    }
    .moc-header .navigation ul li .nav-label a{
        width: 100%;
    }
    .moc-logo .logo-bt{
        width: 20px;
        height: 20px;
        position: absolute;
        right: 7%;
    }
    .moc-logo{
        display: flex;
    }
    .logo-bt img#menu{
        width: 20px;
        height: 20px;
        display: inline;
    }
    .navigation_blak{
        display: none;
    }
    .tool-box.test li{
        width: 50%;
    }
}

.logo-bt img{
    display: none;
}
