#sotoonVasat
{
    width: 74%;
}

#kadrTamasSV
{
    width: calc(100% - 115px);
    overflow-y:auto;
    padding: 30px;
    margin: 30px 30px 20px 25px;
    background-color: hsl(0, 0%, 6%);
}

address
{
    font-style: normal;
}

#kadrTamasSV>div,address>div
{
    font-family: vazir;
    font-size: 0.875rem;
    /*diz line-height: 1;*/
}

#titrTMS
{
    padding: 10px 0px;
}

#titrTMS>h2
{
    height: 28px;
    width: calc(100% - 45px);
    padding-right: 25px;
    margin: 0px 10px;
    border-bottom: 1px solid;
    border-image: linear-gradient(to left, transparent 0%,  hsl(0, 83%, 35%) 10%, hsl(0, 83%, 35%) 90%, transparent 100%) 1;
    font-family: vazir;
    font-size: 1rem;
    line-height: 1;
    color: hsl(45, 87%, 53%);
}

#matnEbtedaTMS
{
    width: calc(100% - 40px);
    margin: 10px 20px;
    line-height: 1.5 !important;
}

.kadrTelTMS
{
    width: calc(100% - 60px);
    margin: 10px 30px;
}

span.iconTelTMS
{
    display: inline-block;
    height: 14px;
    width: 14px;
    margin-left: 5px;
    font-family: myIcon;
    font-size: 0.875rem;
    line-height: 1;
    color: hsl(45, 87%, 53%);
    vertical-align: middle;
}

span.matnTelTMS,span.telTMS
{
    display: inline-block;
    height: 20px;
    width: 80px;
    text-align: right;
}

#matnBalaFormTMS
{
    width: calc(100% - 40px);
    margin: 20px 20px;
}

#kadrNamTMS,#kadrMatnTMS
{
    width: calc(100% - 20px);
    margin: 10px;
}

span.titrVoroodi
{
    display: inline-block;
    height: 16px;
    width: 140px;
    padding: 10px 0px;
    margin-left: 10px;
    text-align: left;
    vertical-align: top;
}

#kadrNamTMS input
{
    height: 26px;
    width: calc(100% - 180px);
    padding: 5px 15px;
    border: 0px;
    font-family: vazir;
    font-size: 1rem;
    border-radius: 18px;
    line-height: 1;
    background-color: hsl(0, 0%, 10%);
    color: hsl(0, 0%, 100%);
    vertical-align: top;
    transition: background-color 0.2s;
}

#kadrNamTMS input:focus
{
    outline: none;
}

#kadrMatnTMS textarea
{
    display: inline-block;
    height: 92px;
    width: calc(100% - 180px);
    box-sizing: content-box;
    overflow-y: auto;
    resize: none;
    padding: 10px 15px;
    border: 0px;
    font-family: vazir;
    font-size: 1rem;
    border-radius: 18px;
    line-height: 1;
    background-color: hsl(0, 0%, 10%);
    color: hsl(0, 0%, 100%);
    vertical-align: top;
    transition: background-color 0.2s;
}

#kadrMatnTMS textarea:focus
{
    outline: none;
}

span#matnErrTMS
{
    visibility: hidden;
    float: right;
    display: inline-block;
    width: 130px;
    height: 16px;
    margin:4px 30px 0px 0px;
    font-family:vazir;
    font-size: 0.8125rem;
    line-height: 1;
    color: hsl(2, 100%, 59%);
}

a#btnErsalTMS
{
    float: left;
    display: inline-block;
    padding: 3px 5px;
    margin: 0px 0px 0px 50px;
    text-decoration: none;
    text-align: center;
    font-family: vazir;
    font-size: 1rem;
    line-height: 1;
    height: 23px;
}

a#btnErsalTMS:link,a#btnErsalTMS:visited
{
    color: hsl(40, 76%, 53%);
}

a#btnErsalTMS:hover
{
    color: hsl(40, 76%, 30%);
}

a#btnErsalTMS:active
{
    color: hsl(40, 76%, 20%);
}

#kadrEzafatSV
{
    background-color: hsl(130, 8%, 15%);
}


@media only screen and (max-width:767px)
{
    #sotoonVasat
    {
        width: 100%;
    }

    #kadrTamasSV
    {
        width: calc(100% - 30px);
        padding: 15px 15px 20px;
        margin: 0px;
    }

    #kadrTamasSV br
    {
        display: none;
    }

    span.titrVoroodi
    {
        display: block;
        height: 22px;
        width: calc(100% - 10px);
        padding: 5px 5px;
        text-align: right;
    }

    #kadrNamTMS input
    {
        display: block;
        height: 26px;
        width: calc(100% - 30px);
        /*diz padding: 0px 5px;*/
    }


    #kadrMatnTMS textarea
    {
        display: block;
        height: 92px;
        width: calc(100% - 30px);
        /*diz padding: 3px 5px;*/
    }

    span.telTMS
    {
        width: 100px;
        text-align: left;
    }
}