.main_mini {
    margin: 0 auto;
}

.main_med {
    margin: 0 auto;
    width: 800px;
}

.cap_red {
    color: #CD0003;
    display: block;
    font-size: 10pt;
    margin-top: -15px;
    padding: 3px;
    width: 100%;
}

#plan_panel, #plan_panel_users, .plan_panel, .plan_panel_users {
    display: none;
}

   


.main_medium {
    margin: 50px auto;
    padding: 10px;
    width: 650px;
}

.main_small {
    margin: 50px auto;
    padding: 10px;
    width: 550px;
}



#base_form .tb, .base_form .tb {
  /*  font-family: 'BYekan';*/
    font-size: 9pt;
    font-weight: normal;
}

 
#base_form tr, .base_form tr {
    margin: 0;
    padding: 0;
    text-align: center;
}

.divx {
    background: #4665AA;
    color: #FFF;
    display: block;
    height: 10px;
    margin: 2px;
    text-align: center;
}

.yellow_bg {
    background: #fdfdda;
}

.blue_bg {
    background: #E2EAF6;
}


.divy {
    border: 1px solid #D9D9D9;
    display: block;
    font-size: 9pt;
    margin: 1px 0;
    text-align: center;
    padding: 0px 25px;
    max-height: 30px;
}

.fix_2 {
    height: 34px;
    line-height: 34px;
}


.divz {
    border: 1px solid #D9D9D9;
    display: block;
    font-size: 11px;
    height: 29px;
    margin: 1px 0;
    min-width: 150px;
    overflow: hidden;
    text-align: center;
    padding: 0 22px;
}


.p0 {
    background: #ffffff;
    background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%);
    background: -webkit-linear-gradient(top, #ffffff 0%, #e5e5e5 100%);
    background: linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%);
    border: 1px solid #D0D0D0;
    color: #CD0003;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e5e5e5', GradientType=0);
    margin: 0;
    padding: 5px 2px;
    text-align: center;
}



#base_form table th img, .base_form table th img {
    border: 0;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

.tf {
    background: #47639E;
    border: 1px solid #8598BF;
    margin: 0;
    padding: 10px 2px;
    text-align: center;
}


.rtl {
    direction: rtl;
}

.ltr {
    direction: ltr;
    font-family: Verdana;
}

.text_right {
    text-align: right;
}

.text_left {
    text-align: left;
}

.text_center {
    text-align: center;
}

.w150 {
    width: 150px;
}

.w165 {
    width: 165px;
}

.box_g {
    /*  color: #29487D;*/
    display: block;
    height: 75px;
    line-height: 53px;
    margin: 0;
    min-width: 120px;
    padding: 3px;
    position: relative;
    text-align: center;
}


.price_fa:before {
    content: "";
}

.price_fa, .price_en_fa {
    color: #CD0003;
    font-size: 0.85em;
    left: 5px;
    line-height: 15px;
    padding: 2px 10px;
    position: absolute;
    top: 128px;
}

    .price_en_fa:before {
        content: "غŒظˆط±ظˆ";
    }

.price_en:before {
    content: "Euro";
}

.price_en {
    color: #CD0003;
    font-family: "BYekan";
    font-size: 0.85em;
    line-height: 15px;
    position: absolute;
    right: 5px;
    top: 150px;
}

.box_g img {
    border: 0;
    margin: 0;
    padding: 0;
}


/*#base_form table th, .base_form table th {
    font-weight: normal;
    line-height: 27px;
    position: relative;
}*/
#base_form table th, .base_form table th {
    font-weight: normal;
    line-height: 27px;
    position: relative;
    display: inline-block;
    text-align: center;
}

@media (max-width: 768px) {
    .divz {
        font-size: 87%;
        height: inherit;
    }

    #base_form table th {
        vertical-align: top;
        display: block;
    }
}

.g1 {
    background: #E3E3E3 !important;
}

.g2 {
    background: #F6F6F6 !important;
}

.g3 {
    background: #EBEBEB !important;
}

.g4 {
    background: #FFFFFF !important;
}

.b1 {
    background: #193D78 !important;
}

.b2 {
    background: #234E8E !important;
}

.b3 {
    background: #1F5F9F !important;
}

.b4 {
    background: #2972B0 !important;
}

.b5 {
    background: #3591CA !important;
}

.b6 {
    background: #44A3D5 !important;
}

.b7 {
    background: #52B5D5 !important;
}

.b8 {
    background: #64C3DE !important;
}

.opt_yes {
    color: #69C122;
    margin-left: 5px;
}

.opt_no {
    color: #F2300A;
    margin-left: 5px;
}



.selected_tb .divx {
    background: #F2300A;
}

.selected_tb .divg {
    color: #990033;
    text-align: center;
}

.selected_tb .price_fa, .selected_tb .price_en {
    color: #0045A6;
}

.selected_tb .divg {
    background: #FFF url(../Images/bgr.png) repeat;
    border-bottom: 2px solid #990033;
    border-top: 10px solid #990033;
}

.selected_tb .tf {
    background: #990033;
}

.logo_top {
    height: 69px;
}

.radio_fun {
    color: #FFF;
    display: block;
    font-size: 13px;
    line-height: 18px;
    margin: 0 auto;
    width: 70px;
}

@keyframes hover-color {
    from {
        border-color: #585858;
    }

    to {
        border-color: #8ac449;
    }
}

.magic-radio, .magic-checkbox {
    display: none;
    position: absolute;
}

    .magic-radio[disabled], .magic-checkbox[disabled] {
        cursor: not-allowed;
    }

    .magic-radio + label, .magic-checkbox + label {
        cursor: pointer;
        display: block;
        padding-right: 30px;
        position: relative;
        vertical-align: middle;
    }

        .magic-radio + label:hover:before, .magic-checkbox + label:hover:before {
            animation-duration: 0.4s;
            animation-fill-mode: both;
            animation-name: hover-color;
        }

        .magic-radio + label:before, .magic-checkbox + label:before {
            background: url(../Images/unchecked.png) no-repeat;
            content: '';
            display: inline-block;
            height: 20px;
            position: absolute;
            right: 0;
            top: 0;
            width: 20px;
        }

        .magic-radio + label:after, .magic-checkbox + label:after {
            content: '';
            height: 8px;
            position: absolute;
            right: 7px;
            top: 7px;
            width: 8px;
        }

    .magic-radio[disabled] + label, .magic-checkbox[disabled] + label {
        color: #e4e4e4;
        cursor: not-allowed;
    }

        .magic-radio[disabled] + label:hover, .magic-radio[disabled] + label:before, .magic-radio[disabled] + label:after, .magic-checkbox[disabled] + label:hover, .magic-checkbox[disabled] + label:before, .magic-checkbox[disabled] + label:after {
            cursor: not-allowed;
        }

            .magic-radio[disabled] + label:hover:before, .magic-checkbox[disabled] + label:hover:before {
                animation-name: none;
                border: 1px solid #e4e4e4;
            }

        .magic-radio[disabled] + label:before, .magic-checkbox[disabled] + label:before {
            border-color: #e4e4e4;
        }

    .magic-radio:checked + label:before, .magic-checkbox:checked + label:before {
        animation-name: none;
    }

    .magic-radio:checked + label:after, .magic-checkbox:checked + label:after {
        display: block;
    }

    .magic-radio + label:after {
        height: 8px;
        right: 7px;
        top: 7px;
        width: 8px;
    }

    .magic-radio:checked + label:before {
        background: url(../Images/checked.png) no-repeat;
    }

    .magic-radio:checked[disabled] + label:before {
        background: none;
        border: 1px solid #CCCCCC;
    }

    .magic-radio:checked[disabled] + label:after {
        background: #CCCCCC;
    }

    .magic-checkbox + label:before {
        border-radius: 3px;
    }

    .magic-checkbox + label:after {
        border-color: #fff;
        border-right: 0;
        border-style: solid;
        border-top: 0;
        border-width: 2px;
        box-sizing: border-box;
        height: 12px;
        right: 7px;
        top: 2px;
        transform: rotate(45deg);
        width: 6px;
    }

    .magic-checkbox:checked + label:before {
        background: #CCCCCC;
        border: #CCCCCC;
    }

    .magic-checkbox:checked[disabled] + label:before {
        background: #CCCCCC;
        border: #CCCCCC;
    }

.hdis {
    background: #eee;
}

#base_form table, .base_form table {
    background: #fff;
    border-collapse: separate;
    border-spacing: 0;
     width: 100%; 
}

@media (max-width: 725px) {

    .base_form {
        width: 100%;
    }

    /* .ctable td {
        display: block;
    }*/
    .ctable td {
        display: block;
        /*  width: 84%;*/
    }

    .custom-select, .custom-select-dynamic {
        width: 100%;
        /* max-width: 130px; */
        display: inline-block !important;
    }

    .answer_form {
        background-color: transparent !important;
        border-bottom: none !important;
    }

    .label_form {
        text-align: right !important;
        border-left: none !important;
        border-right: none;
        margin-bottom: 4px;
        border-bottom: 1px solid #999DC9;
    }

    .base_form table th {
        width: 100%;
        border-radius: 20px;
        background: #E8EAF0;
        padding: 7px;
        margin-bottom: 10px;
    }

    .p0, .tf {
        border-radius: 0px 0px 15px 15px;
        -webkit-border-radius: 0px 0px 15px 15px;
        -moz-border-radius: 0px 0px 15px 15px;
    }

    .box_w span:first-child {
        border-radius: 15px 15px 0px 0px;
        -webkit-border-radius: 15px 15px 0px 0px;
        -moz-border-radius: 15px 15px 0px 0px;
    }
}

.base_form table th {
    border-radius: 20px;
    background: #E8EAF0;
    padding: 5px;
    margin-bottom: 10px;
    margin: 2px;
    display: inline-block;
    -webkit-box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.41);
    -moz-box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.41);
    box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.41);
}

.p0, .tf {
    border-radius: 0px 0px 15px 15px;
    -webkit-border-radius: 0px 0px 15px 15px;
    -moz-border-radius: 0px 0px 15px 15px;
}


.tb span:first-child {
    border-radius: 15px 15px 0px 0px;
    -webkit-border-radius: 15px 15px 0px 0px;
    -moz-border-radius: 15px 15px 0px 0px;
    background: #F6F6F6 url('../Images/bgr.png') repeat !important;
    border-bottom: 2px solid #303890;
    border-top: 10px solid #303890;
    color: #303890;
    display: block;
    font-size: 13pt;
}



.tb span:nth-child(odd) {
    background: linear-gradient(to bottom, rgba(235,241,246,1) 0%,rgba(190,194,205,1) 100%);
}

.tb th span:nth-child(even) {
    background: rgb(226,230,232);
    background: -moz-linear-gradient(0deg, rgba(226,230,232,1) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(226,230,232,1) 0%, rgba(255,255,255,1) 100%);
    background: linear-gradient(0deg, rgba(226,230,232,1) 0%, rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#e2e6e8",endColorstr="#ffffff",GradientType=1);
}




.tb .selected_tb .tf {
    background: #E65E25;
}

.tb .selected_tb span:first-child {
    background: #FFF url(../Images/bgr.png) repeat !important;
    border-bottom: 2px solid #E65E25;
    border-top: 10px solid #E65E25;
    color: #E65E25;
}



.tb .selected_tb span:nth-child(odd) {
    background: linear-gradient(to bottom, rgba(239,234,232,1) 0%,rgba(241,167,136,1) 100%);
}

.tb .selected_tb span:nth-child(even) {
    background: rgb(226,230,232);
    background: -moz-linear-gradient(0deg, rgba(226,230,232,1) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(226,230,232,1) 0%, rgba(255,255,255,1) 100%);
    background: linear-gradient(0deg, rgba(226,230,232,1) 0%, rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#e2e6e8",endColorstr="#ffffff",GradientType=1);
}



.label_form {
    width: fit-content;
    color: #38497D !important;
}

.table > :not(caption) > * > * {
    padding: 3px 10px;
    vertical-align: top;
    
   
}

.table {
    border-collapse: inherit !important;
}