@font-face {
    font-family: "IranSans";
    src: url("../fonts/iransans/eot/IRANSansWeb.eot");
    src: url("../fonts/iransans/woff/IRANSansWeb.woff") format("woff"),
    url("../fonts/iransans/ttf/IRANSansWeb.ttf") format("ttf"),
    url("../fonts/iransans/woff2/IRANSansWeb.woff2") format("woff2");
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    direction: rtl;
    font-family: 'IranSans';
}

table.dataTable thead th,
table.dataTable tbody tr {
    text-align: center;
}

table.dataTable thead > tr > th.sorting::before, table.dataTable thead > tr > th.sorting::after, table.dataTable thead > tr > th.sorting_asc::before, table.dataTable thead > tr > th.sorting_asc::after, table.dataTable thead > tr > th.sorting_desc::before, table.dataTable thead > tr > th.sorting_desc::after, table.dataTable thead > tr > th.sorting_asc_disabled::before, table.dataTable thead > tr > th.sorting_asc_disabled::after, table.dataTable thead > tr > th.sorting_desc_disabled::before, table.dataTable thead > tr > th.sorting_desc_disabled::after, table.dataTable thead > tr > td.sorting::before, table.dataTable thead > tr > td.sorting::after, table.dataTable thead > tr > td.sorting_asc::before, table.dataTable thead > tr > td.sorting_asc::after, table.dataTable thead > tr > td.sorting_desc::before, table.dataTable thead > tr > td.sorting_desc::after, table.dataTable thead > tr > td.sorting_asc_disabled::before, table.dataTable thead > tr > td.sorting_asc_disabled::after, table.dataTable thead > tr > td.sorting_desc_disabled::before, table.dataTable thead > tr > td.sorting_desc_disabled::after {
    left: 10px !important;
    right: auto !important;
}

#myform_wrapper div.row div:nth-child(2) {
    order: -1 !important;
}

#myform_wrapper div.row div:nth-child(2) div {
    text-align: right !important;
}

#myform_wrapper div.row div:nth-child(2) div label {
    width: 80%;
    text-align: right !important;
}

#myform_wrapper div.row div:nth-child(2) div label input {
    margin-right: 10px !important;
    width: 100%;
}

#myform_wrapper div#myform_paginate ul {
    justify-content: right;
}

#myform_wrapper div#myform_info,
#myform_wrapper div#myform_length {
    text-align: left;
}

table td:nth-child(3) input {
    text-align: left;
}

@media screen and (max-width: 700px) {
    #myform_wrapper div#myform_info,
    #myform_wrapper div#myform_length {
        text-align: center;
    }

    #myform_wrapper div.row div:nth-child(2) div label {
        margin-bottom: 10px;
    }
}

/* Responsive Table in Phone Start --------------------------------------------------------------------------------------------------------------------------------*/

/*table {*/
/*    border: 1px solid #ccc;*/
/*    border-collapse: collapse;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    width: 100%;*/
/*    table-layout: fixed;*/
/*}*/

/*table caption {*/
/*    font-size: 1.5em;*/
/*    margin: .5em 0 .75em;*/
/*}*/

/*table tr {*/
/*    background-color: #f8f8f8;*/
/*    border: 1px solid #ddd;*/
/*    padding: .35em;*/
/*}*/

/*table th,*/
/*table td {*/
/*    padding: .625em;*/
/*    text-align: center;*/
/*}*/

/*table th {*/
/*    font-size: .85em;*/
/*    letter-spacing: .1em;*/
/*    text-transform: uppercase;*/
/*}*/

@media screen and (max-width: 700px) {
    table {
        border: 0;
    }

    table caption {
        font-size: 1.3em;
    }

    table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
    }

    table td::before {
        /*
        * aria-label has no advantage, it won't be read inside a table
        content: attr(aria-label);
        */
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    table td:nth-child(3) input {
        direction: ltr;
    }

    table td:last-child {
        border-bottom: 0;
        text-align: left;
    }
}

/* Responsive Table in Phone End --------------------------------------------------------------------------------------------------------------------------------*/