﻿@font-face {
    font-family: 'Yekan';
    src: url('/fonts/yekan.eot');
    src: url('/fonts/yekan.eot?#iefix') format('embedded-opentype'), url('/fonts/yekan.woff') format('woff'), url('/fonts/yekan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IRANYekan';
    src: url(/fonts/IRANYekan.eot);
    src: url(/fonts/IRANYekan.eot?#iefix) format("embedded-opentype"),url(/fonts/IRANYekan.woff2) format("woff2"),url(/fonts/IRANYekan.woff) format("woff"),url(/fonts/IRANYekan.ttf) format("truetype");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: 'Vazir';
    src: url('/fonts/Vazir-FD.eot') format('embedded-opentype'), url('/fonts/Vazir-FD.woff2') format('woff2'), url('/fonts/Vazir-FD.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Vazir';
    src: url('/fonts/Vazir-Bold-FD.eot') format('embedded-opentype'), url('/fonts/Vazir-Bold-FD.woff2') format('woff2'), url('/fonts/Vazir-Bold-FD.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

html {
    font-size: 13px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    /*margin-bottom: 60px;*/
    font-family: IRANYekan, Vazir, Tahoma, sans-serif;
    text-align: right;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 0;
    padding-bottom: 10px;
}
.body-content {
    margin-top: 15px;
    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
 {
    max-width: 280px;
}

button,
input,
optgroup,
select,
textarea {
    font-family: 'Vazir', 'Yekan', Tahoma, sans-serif;
    font-size: 13px;
}

a {
    text-decoration:none;
}

.box-shadow1 {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.box-shadow2 {
    box-shadow: 0px 0px 8px 0px rgba(0.017349243164081683, 0.017349243164081683, 0.017349243164081683, 0.2);
}

.new-site-title {
    box-shadow: 0px 0px 8px 0px rgba(0.017349243164081683, 0.017349243164081683, 0.017349243164081683, 0.2);
    color: rgba(84, 84, 84, 1) !important;
    font-weight:bold;
    line-height:2;
    font-size:22px;
}

.news-border {
    border-radius: 8px;
    /*padding: 16px;*/
    border: 1px solid #E5E7EB;
}

.swiper-pagination{
    position:unset;
    margin-top:10px;
}

.news-title {
    display:block;
    height: 60px !important;
    overflow: hidden;
    text-align:center;
    font-weight: bold;
    font-size: 17px;
}
/*
.navbar > .container,
.navbar > .container-fluid,
.navbar > .container-sm,
.navbar > .container-md,
.navbar > .container-lg,
.navbar > .container-xl,
.navbar > .container-xxl {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}*/
.MainNavbar {
    box-shadow: 0px 4px 10px 3px #F2F2F2;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    background-color: white;
}
/*
.MainFooter {
    box-shadow: 0px 4px 10px 3px #F2F2F2;
    background-color: white;
}*/

.navbar-nav {
    /*font-size: 13px;*/
    font-weight:bolder;
}
.navbar-nav li {
    padding-right: 10px;
}

.card-body {
    padding: 0.5rem;
}

.layout-boxed html,
.layout-boxed body {
    height: 100%;
}

.body-content {
    padding: 0;
    background-color: white;
}

.dl-horizontal dt {
    white-space: normal;
}

select {
    height: 36px !important;
}

.longinput {
    max-width: 100% !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: white;  /* RGBA(255, 255, 255, 0.8);*/
    margin-right: 5px;
    /*font-size: 13px;
    font-weight: bolder;*/
}
/*
    .navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
        color: rgb(255, 255, 255);
        text-shadow: 1px 1px 3px #333;
    }

.navbar-brand {
    margin-right: 1rem;
    margin-left: 1rem;
}*/

#topbar {
    padding-top: 3px;
    padding-bottom: 3px;
}

.dropdown-item:hover {
    background-color: rgb(219, 219, 219);
}

.ltrfield {
    direction: ltr;
}

.ltrfieldEng {
    direction: ltr;
    text-align: left;
    font-family: Arial;
}

.card-header.note-toolbar .dropdown-menu {
    min-width: 150px;
    direction: ltr;
    text-align: left;
}

.note-toolbar {
    direction: ltr;
    text-align: left;
}

.note-editor.note-frame.codeview .note-editing-area .note-codable {
    display: block;
    direction: ltr;
}

.onerow-cell {
    display: table-cell;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.loader {
    border: 12px solid #f3f3f3; /* Light grey */
    border-top: 12px solid blue;
    border-bottom: 12px solid blue;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.modal-footer {
    justify-content: flex-start;
}

.list-group-item {
    padding: .5rem .5rem;
}

.alert-dismissible .close {
    padding: .75rem 2rem;
}

.BrandLogo {
    /*max-width:100px;*/
    max-height: 120px;
    background-color: white;
    border-radius: 10px;
    margin-bottom: 10px;
}

.main-footer {
    padding: 30px 10px 10px 10px;
    margin-top: 0px;
    background-color: #FFF;
    box-shadow: 0px 4px 10px 3px #F2F2F2;
    line-height:2rem;
}

/*.main-footer a {
    color: #ddd;
}

.main-footer a:hover {
    color: #FFF;
}

.main-footer a:visited {
    color: #ddd;
}*/

.iconic-btn {
    margin-bottom: 7px;
    padding: 0 5px;
}

    .iconic-btn a {
        padding: 8px;
        font-weight: bold;
    }

        .iconic-btn a:hover {
            color: white;
            text-decoration: none;
        }

.btn-primary {
    color: #fff;
    background-color: #2C7CB0;
    border-color: #2C7CB0;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #276D9B;
        border-color: #276D9B;
    }

.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: none;
}

/*.navbar-toggler {
    background-color: #ffc107;
    color: #212529;
}*/
/*.navbar-dark .navbar-toggler {
    color: white;
    border-color: rgba(255,255,255,.1);
    line-height: inherit;
}*/

.table-responsive {
    direction: ltr;
}

    .table-responsive > table {
        direction: rtl;
        max-width: none;
        -webkit-overflow-scrolling: touch !important;
    }

.social-icon {
    width: 26px;
    height: 26px;
    margin: 2px 3px 2px 3px;
}
/*h1{
    font-size:1.6rem;
}
h2 {*/
/*font-size: 16px;*/
/*font-size:1.4rem;
}
h3{
    font-size:1.2rem;
}
h4{
    font-size:1rem;
}*/

h1 {
    font-size: 1.286rem;
}

h2 {
    font-size: 1.17rem;
}

h3 {
    font-size: 1rem;
}

h4 {
    font-size: .83em;
}

h5 {
    font-size: .75em;
}

h1, h2, h3, h4,
h5, h6, b,
strong {
    font-weight: bolder
}

.video-list-group {
    padding: .5rem .5rem .5rem .5rem;
    border-bottom: 1px solid #ef5661;
    background-color: rgba(0,0,0,.06);
    height: 40px;
}

    .video-list-group .title {
        font-family: Vazir;
        color: #000;
        white-space: nowrap;
        position: absolute;
        right: 10px;
        top: 15px;
    }

    .video-list-group .link {
        font-family: Vazir;
        white-space: nowrap;
        font-size: 14px;
        position: absolute;
        left: 10px;
        top: 10px;
    }

.video-list-group-box {
    background-color: #fff;
    -webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,.5);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.5);
    border-radius: 6px;
    border-color: #81a6de;
}


.card-link {
    font-size: 14px;
    color: #1e2f38;
}

.duration {
    color: #17a2b8;
    font-size: 1.1rem;
    word-spacing: 1px;
    float: right;
    /*visibility:hidden;*/
    display: none;
}

.price {
    /*font-size: 1.143rem;*/
    font-weight: bold;
    color: #28a745;
    float: left;
    text-shadow: 0px 0px 3px #03ff26;
}

.price-not-free {
    /*font-size: 1.143rem;*/
    font-weight: bold;
    color: #856404;
    float: left;
}

.price-old {
    /*font-size: 1.143rem;*/
    font-weight: bold;
    float: left;
    color: #acacac;
    text-decoration: line-through;
}

.term-price {
    /*font-size: 1.143rem;*/
    font-weight: bold;
    color: #28a745;
    /*float: left;*/
    position: absolute;
    left: 7px;
    bottom: 0px;
    background-color: white;
    text-shadow: 0px 0px 3px #03ff26;
}

.term-price-not-free {
    font-size: 1.15rem;
    font-weight: bold;
    color: #856404;
    /*float: left;*/
    /*position: absolute;
    left: 7px;
    bottom: 0px;*/
    float: left;
    margin: 0 5px;
    background-color: white;
}

.term-price-old {
    /*font-size: 1.143rem;*/
    font-weight: bold;
    /*float: left;*/
    /*position: absolute;
    left: 90px;
    bottom: 0px;*/
    float: left;
    margin: 3px 5px 0 5px;
    color: #acacac;
    text-decoration: line-through;
    background-color: white;
}

.term-price-percent {
    font-size: 1rem;
    font-weight: bold;
    color: white;
    float: left;
    margin: 5px 5px 0 5px;
    line-height: 20px;
    vertical-align: middle;
    /*float: left;*/
    /*position: absolute;
    left: 20px;
    bottom: 0px;*/
    /*background-color: white;*/
}

#divVideo {
    display: block;
    margin-bottom: 10px;
}

.video-inner {
    max-width: 800px;
    width: 90%;
    position: absolute;
    top: 10%;
    /*left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);*/
    padding: 1em;
    text-align: center;
    z-index: 182;
}

    .video-inner .title {
        font-size: 1.5em;
        font-weight: 400;
        color: #fff;
        margin-top: 0.5em;
        /*height: 2em;*/
        line-height: 2em;
        margin: 0;
        background-color: rgba(80,80,80,0.6);
    }

.btn-class-title {
    font-weight: bold;
    padding: .75rem 1rem;
    margin: 5px 0;
}

.class-group-header {
    padding: .4rem .6rem;
    background-color: #edcb74;
    background-image: url('/Images/woodbg4.jpg');
}

.class-group-title {
    text-align: right !important;
    /*color: #fff !important;*/
    color: #07283e;
    background-color: transparent;
    font-weight: 700 !important;
    font-size: 14px;
    text-decoration: none;
    text-shadow: 0px 0px 6px #fff;
    display: block;
    width: 100%;
}

.img-thumb {
    float: left;
    display: inline-block;
    height: 260px;
    width: 260px;
    text-align: center;
    padding: 4px;
    margin: 3px 3px 20px 3px;
    line-height: 1.42857143;
    background-color: #EEE;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.GalleryImg {
    padding: 5px;
    margin : 5px;
    background-color: #EEE;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.BodyDiv {
    text-align: right;
    direction: rtl;
    line-height: 30px;
    display: table;
}

.home-rounded-box {
    border: 4px solid #dddddd;
    margin-bottom: 20px;
    border-radius: 16px;
    padding: 24px;
    /*background-color: #f2f2f2;*/
}

    .home-rounded-box .main-title {
        align-items: center;
        justify-content: center;
        display: flex;
        color: #313131;
        /*color: #d50500;*/
        padding-bottom: 12px;
        font-size: 1.375rem;
        font-weight: bold;
        border-bottom: 1px solid #ffc107;
        line-height: 2.375rem;
    }

.home-rounded-box-gray {
    border: 4px solid #dddddd;
    margin-bottom: 20px;
    border-radius: 16px;
    background-color: #f2f2f2;
    padding: 16px;
}

@media (min-width: 992px) {
    .col-lg-24 {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

.icon-overlay {
    color: #ddd;
    text-shadow: 0px 0px 5px rgba(0,0,0,.5);
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon-overlay:hover {
    color: #F2F2F2;
    text-shadow: 0px 0px 5px rgba(0,0,0,.8);
}