﻿body {
}

.fildmatlab {
}

#pageneme {
    background-color: rgb(94, 167, 86);
    font-weight: bold;
    color: gold;
    line-height: 40px;
    text-align: center;
    font-size: 14px;
    /*z-index:*/
}

#sectiontools {
    border-radius: 5px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    position: fixed;
    height: 40px;
    width: 40px;
    float: left;
    background-color: #ea5c1b;
    background-color: rgba(234, 92, 27, 0.57);
    transition: 1s all;
    left: 34px;
    overflow: hidden;
    z-index: 100;
}

    #sectiontools:hover {
        transition: 1s all;
        width: 200px;
    }

    #sectiontools span {
        padding: 3px;
        margin: 6px;
        display: inline-block;
        float: right;
        transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        background-color: floralwhite;
        font-weight: bold;
        border-radius: 5px;
        cursor: context-menu;
    }



#matlab fieldset {
    border: none;
    margin-top: 25px;
    margin-right: 25px;
    padding: 0;
    margin: 10px 25px 0 0;
}

#matlab > fieldset {
    padding: 0 10px 5px 10px;
    border: 3px solid #25C3E6;
    margin: 0 5px;
    border-radius: 5px;
}

#matlab fieldset legend {
    font-size: 8px;
    color: #FF5339;
    width: 100%;
    position: relative;
}

    #matlab fieldset legend img {
        opacity: 0;
        width: 10px;
        margin-left: 5px;
        transition: opacity 1s;
        cursor: pointer;
    }

    /*منوی ابزار*/
    #matlab fieldset legend .toolbut:hover {
        background-color: #FF5339;
    }

    #matlab fieldset legend .openm {
        transform: rotate(0);
        -ms-transform: rotate(0);
        -moz-transform: rotate(0);
        -webkit-transform: rotate(0);
        -o-transform: rotate(0);
    }

    #matlab fieldset legend .hidemtkh {
        transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        -o-transform: rotate(90deg);
    }

    #matlab fieldset legend .openkh {
        transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        -o-transform: rotate(45deg);
    }

    #matlab fieldset legend .toolbut {
        width: 24px;
        float: left;
        margin-top: -33px;
    }

    #matlab fieldset legend .toolbar {
        float: left;
        list-style: none;
        padding: 0;
        font-size: 11px;
        position: absolute;
        top: -10px;
        left: 30px;
        background-color: white;
        display: none;
        z-index: 100;
    }

        #matlab fieldset legend .toolbar li {
            /*float: right;*/
            border: 0.5px solid black;
            margin: 2px 0;
            padding: 0 2px;
            cursor: pointer;
            border-radius: 5px;
        }

        #matlab fieldset legend .toolbar > li {
            position: relative;
        }

            #matlab fieldset legend .toolbar > li:hover {
                background-color: #25c3e6;
                color: black;
                transition: all 1s;
            }

.matperap ul, .relation ul {
    opacity: 0;
    z-index: -100;
    list-style: none;
    position: absolute;
    top: -3px;
    left: 100px;
    padding: 0;
    margin: 0;
    background-color: white;
    transition: all 1s;
}

    .matperap ul li, .relation ul li {
        background-color: #25c3e6;
        color: black;
        width: 150px;
    }

.relation a {
    text-decoration: none;
    color: black;
}

.matperap:hover ul, .relation:hover ul {
    opacity: 1;
    z-index: 100;
    left: 140px;
    transition: all 1s;
}

#matlab fieldset legend .toolbar li .comentform {
    padding: 3px;
}

.comentform * {
    margin: 1px;
    width: 144px;
    border-radius: 5px;
    font-family: inherit;
    font-size: inherit;
}

#matlab > fieldset > legend {
    /*margin: 0 auto;*/
    font-size: 10px;
}



#matlab hr {
    margin-top: -8px;
    width: 0;
    transition: all 1s;
    float: right;
    opacity: 0;
    height: 1px;
    border-color: #FF5339;
    Background-color: #FF5339;
}

#matlab fieldset legend:hover img {
    opacity: 1;
    transition: all 1s;
}

#matlab fieldset legend:hover hr {
    width: 100%;
    opacity: 1;
    transition: width 1s;
}

/*#matlab fieldset .matperap {
    font-size: 11px;
    display: none;
}*/

.tab2 fieldset .khol {
    display: none;
}


.tab1 fieldset .linkmat {
    text-align: left;
    background-color: #25C3E6;
    padding-left: 5px;
    height: 24px;
    border-radius: 5px;
}

.tab1 .linkmat a {
    text-decoration: none;
    font-size: 12px;
}

/*#matlab fieldset .matperap span {
    float: left;
}*/

/*#matlab fieldset .matperap .lblspn {
    margin-right: 10px;
}*/


.errormsg {
    width: 100%;
    position: absolute;
    top: 0;
}

    .errormsg td {
        vertical-align: middle;
        text-align: center;
        font-weight: bold;
        border: 20px solid #25C3E6;
        border-radius: 20px;
    }

    .errormsg a {
        text-decoration: none;
        color: #FF5339;
    }

    .errormsg span {
        color: #FF5339;
    }
