﻿.dir-rtl {
    direction: rtl;
}

.dir-ltr {
    direction: ltr;
}

.dir-rtl.custom-control.custom-checkbox {
    padding-left: 0;
}

.dir-rtl label.custom-control-label {
    padding-right: 1.5rem;
}

    .dir-rtl label.custom-control-label::before, .dir-rtl label.custom-control-label::after {
        right: 0;
        left: auto;
    }

.input-group {
    margin-bottom: 10px;
}

    .input-group .input-group-text, .input-group .form-control {
        direction: rtl;
    }

@font-face {
    font-family: 'IranNastaliq';
    src: url('/Content/Fonts/IranNastaliq.eot?#iefix') format('eot'), url('/Content/Fonts/IranNastaliq.ttf') format('truetype'), url('/Content/Fonts/IranNastaliq.woff') format('woff');
}

@font-face {
    font-family: 'IranSansWeb';
    src: url('/Content/Fonts/IRANSansWeb_Medium.eot?#iefix') format('eot'), url('/Content/Fonts/IRANSansWeb_Medium.ttf') format('truetype'), url('/Content/Fonts/IRANSansWeb_Medium.woff') format('woff');
}

@font-face {
    font-family: 'WebYekan';
    src: url('Fonts/WebYekan.eot') format('eot');
    src: url('Fonts/WebYekan.eot?#iefix') format('embedded-opentype'), url('Fonts/WebYekan.woff') format('woff'), url('Fonts/WebYekan.ttf') format('truetype'), url('Fonts/WebYekan.svg') format('svg'); /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
}

@font-face {
    font-family: 'Droid Arabic Kufi';
    src: url('Fonts/Droid Arabic Kufi.eot') format('oet');
    src: url('Fonts/Droid Arabic Kufi.eot?#iefix') format('embedded-opentype'), url('Fonts/Droid Arabic Kufi.woff') format('woff'), url('Fonts/Droid Arabic Kufi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/*body {
    padding-top: 50px;
    padding-bottom: 20px;
}*/

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default 
input,
select,
textarea {
    max-width: 280px;
}
*/

.text-left-not-xs, .text-left-not-sm, .text-left-not-md, .text-left-not-lg {
    text-align: left;
}

.text-center-not-xs, .text-center-not-sm, .text-center-not-md, .text-center-not-lg {
    text-align: center;
}

.text-right-not-xs, .text-right-not-sm, .text-right-not-md, .text-right-not-lg {
    text-align: right;
}

.text-justify-not-xs, .text-justify-not-sm, .text-justify-not-md, .text-justify-not-lg {
    text-align: justify;
}

@media (max-width: 767px) {
    .text-left-not-xs, .text-center-not-xs, .text-right-not-xs, .text-justify-not-xs {
        text-align: inherit;
    }

    .text-left-xs {
        text-align: left;
    }

    .text-center-xs {
        text-align: center;
    }

    .text-right-xs {
        text-align: right;
    }

    .text-justify-xs {
        text-align: justify;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .text-left-not-sm, .text-center-not-sm, .text-right-not-sm, .text-justify-not-sm {
        text-align: inherit;
    }

    .text-left-sm {
        text-align: left;
    }

    .text-center-sm {
        text-align: center;
    }

    .text-right-sm {
        text-align: right;
    }

    .text-justify-sm {
        text-align: justify;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .text-left-not-md, .text-center-not-md, .text-right-not-md, .text-justify-not-md {
        text-align: inherit;
    }

    .text-left-md {
        text-align: left;
    }

    .text-center-md {
        text-align: center;
    }

    .text-right-md {
        text-align: right;
    }

    .text-justify-md {
        text-align: justify;
    }
}

@media (min-width: 1200px) {
    .text-left-not-lg, .text-center-not-lg, .text-right-not-lg, .text-justify-not-lg {
        text-align: inherit;
    }

    .text-left-lg {
        text-align: left;
    }

    .text-center-lg {
        text-align: center;
    }

    .text-right-lg {
        text-align: right;
    }

    .text-justify-lg {
        text-align: justify;
    }
}
