/*----------------------------------------------
    global
------------------------------------------------*/
.container-right-center,
.container-y-center,
.content-right-center,
.content-y-center {
    display: inline-block;
    position: relative;
}

.container-right-center {
    right: 50%;
}

.container-y-center {
    top: 50%;
}

.content-right-center {
    right: -50%;
}

.content-y-center {
    height: 100%;
    top: -50%;
}

.border-red {
    border: 1px solid red;
}

.border-green {
    border: 1px solid green;
}

.border-blue {
    border: 1px solid blue;
}

.border-white {
    border: 1px solid white;
}

.margin-bottom-5 {
    margin-bottom: 5px !important;
}

.margin-bottom-10 {
    margin-bottom: 10px !important;
}

.margin-bottom-15 {
    margin-bottom: 15px !important;
}

.margin-bottom-20 {
    margin-bottom: 20px !important;
}

.margin-top-5 {
    margin-top: 5px !important;
}

.margin-top-10 {
    margin-top: 10px !important;
}

.margin-top-15 {
    margin-top: 15px !important;
}

.margin-top-20 {
    margin-top: 20px !important;
}

.margin-right-5 {
    margin-right: 5px !important;
}

.margin-right-10 {
    margin-right: 10px !important;
}

.margin-right-15 {
    margin-right: 15px !important;
}

.margin-right-20 {
    margin-right: 20px !important;
}

.margin-left-5 {
    margin-left: 5px !important;
}

.margin-left-10 {
    margin-left: 10px !important;
}

.margin-left-15 {
    margin-left: 15px !important;
}

.margin-left-20 {
    margin-right: 20px !important;
}

.dir-rtl {
    direction: rtl;
}

.dir-ltr {
    direction: ltr;
}

.panel-independent {
    box-shadow: 0 1px 2px 0 rgba(25, 25, 25, 0.2);
    border-radius: 5px;
}

/*----------------------------------------------
    search
------------------------------------------------*/

#search-filter {
    position: absolute;
    z-index: 3;
    margin: 2px;
}

#search-filter button {
    background: none;
    border: none;
    border-left: 1px solid #cccccc;
}

/*----------------------------------------------
    side bar search
------------------------------------------------*/
#side-bar-search {
    margin-bottom: 15px;
}

#side-bar-search .my-input-group {
    width: 100%;
    position: relative;
    display: block;
    margin: auto;
}

#side-bar-search input {
    background: #f6f6f6;
    padding-left: 41px;
    padding-right: 5px;
    height: 36px;
    font-size: 13px;
    width: 100%;
}

#side-bar-search button {
    position: absolute;
    z-index: 1;
    left: 0px;
    top: 0px;
    width: 36px;
    height: 100%;
    color: #999999;
    border: none;
    background: none;
    border-right: 1px solid #999999;
}

/*----------------------------------------------
    side bar search guide
------------------------------------------------*/
#side-bar-search-guide {
    margin-top: 10px;
    margin-bottom: 10px;
}

#side-bar-search-guide span {
    margin-right: 10px;
}

/*----------------------------------------------

------------------------------------------------*/

#menu .nav > li div > ul > li > a {
    white-space: normal;
}

/*----------------------------------------------
    category-filter
------------------------------------------------*/

.category-filter.active {
    border-style: solid;
    border-color: #00c375 !important;
    border-width: 5px 5px 5px 5px;
}

.category-filter.active .img-bloc-11-margin-top {
    display: block !important;
}

/*----------------------------------------------

------------------------------------------------*/

.download-file div {
    margin-bottom: 10px;
}

/*----------------------------------------------
    product-layout
------------------------------------------------*/
.product-layout .product-thumb img {
    height: auto;
}

.product-list .product-thumb img {
    max-width: 190px;
}

.product-grid .product-thumb img {
    max-width: 100%;
}

/*----------------------------------------------

------------------------------------------------*/
#cat_accordion a.active2 {
    color: red;
}

/*----------------------------------------------

------------------------------------------------*/
.panel {
    margin-top: 10px;
}

/*----------------------------------------------

------------------------------------------------*/
.form-control {
    text-align: center;
}

/*----------------------------------------------
    owl
------------------------------------------------*/

#slideshow .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    margin: 0px;
}

#slideshow div.owl-prev,
#slideshow div.owl-next {
    position: absolute;
    width: 30px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    margin: 0px;
    top: -30px;
}

#slideshow div.owl-prev {
    right: 0px;
}

#slideshow div.owl-next {
    left: 0px;
}

#slideshow div.owl-dots {
    position: absolute;
    width: 100%;
    top: 90%;
}

/*----------------------------------------------
    tree_lesson
------------------------------------------------*/

.tree {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #fbfbfb;
    border: 1px solid #999;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

.tree li {
    list-style-type: none;
    margin: 0;
    padding: 10px 5px 0 5px;
    position: relative;
    cursor: pointer;
    max-width: 150px;
}

.tree li::before,
.tree li::after {
    content: "";
    right: -20px;
    position: absolute;
    left: auto;
}

.tree li::before {
    border-right: 1px solid #999;
    bottom: 50px;
    height: 100%;
    top: 0;
    width: 1px;
}

.tree li::after {
    border-top: 1px solid #999;
    height: 20px;
    top: 25px;
    width: 25px;
}

.tree li span {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 1px solid #999;
    border-radius: 5px;
    display: inline-block;
    padding: 3px 8px;
    text-decoration: none;
    min-width: 150px;
    max-width: 150px;
    text-align: center;
    vertical-align: middle;
}

.tree li.parent_li > span {
    cursor: pointer;
}

.tree > ul > li::before,
.tree > ul > li::after {
    border: 0;
}

.tree li:last-child::before {
    height: 50px;
}

.tree li.parent_li > span:hover,
.tree li.parent_li > span:hover + ul li span {
    background: #e3dd44;
    border: 1px solid #94a0b4;
    color: #000;
}

.shopDiv {
    width: 192px !important;
}

.shop {
    float: left;
    margin-top: 18px;
}

.blue-tooltip-tree + .tooltip > .tooltip-inner {
    background-color: #20246b;
    font-family: "WYekan";
    font-size: 15px;
}

.blue-tooltip-tree + .tooltip > .tooltip-arrow {
    border-bottom-color: #20246b;
}

.modal-body ul li {
    list-style: none;
    direction: rtl;
}

/*----------------------------------------------
    product filter
------------------------------------------------*/
#list-view i,
#grid-view i {
    padding: 4px 0px;
}

.tooltip > .tooltip-inner {
    background-color: #20246b;
    font-family: "WYekan";
    font-size: 15px;
}

.tooltip > .tooltip-arrow {
    border-bottom-color: #20246b;
}

/*----------------------------------------------
    header
------------------------------------------------*/
.drop-icon i {
    padding: 6px 0px;
}

#top-links ul.dropdown-menu {
    right: auto;
    left: 0px;
    min-width: 100%;
}

#add-credit {
    position: absolute;
    font-size: 20px;
}

@media (max-width: 991px) {
    #header #cart,
    #header.style3 #cart {
        text-align: center;
    }
}

/*----------------------------------------------
    social icon
------------------------------------------------*/
#footer .link a img {
    display: inline-block;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#footer .link a img:hover {
    opacity: 0.7;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#footer .link {
    margin-bottom: 10px;
}

#powered {
    text-align: center;
    direction: ltr;
}

/*----------------------------------------------
    download file
------------------------------------------------*/
.download-file-link div {
    margin-bottom: 10px;
}

/*----------------------------------------------
    comment
------------------------------------------------*/
.print-error-msg,
.print-success-msg {
    display: none;
}

/*----------------------------------------------
    jquery-ui-1.8.14.css
------------------------------------------------*/
.ui-widget-content {
    background-color: #f5f5f5 !important;
    color: #000000 !important;
    direction: rtl;
    border-style: none !important;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    color: #000000 !important;
    text-align: center !important;
    vertical-align: middle !important;
    background-color: #ffffff !important;
    border-style: none !important;
    top: 500px;
}

.ui-datepicker
    .ui-widget
    .ui-widget-content
    .ui-helper-clearfix
    .ui-corner-all
    .ui-datepicker-rtl {
    position: absolute;
    left: 650px !important;
    z-index: 1;
    display: block;
}

.ui-widget-header {
    background-color: #01a161 !important;
    border-style: none !important;
}

.ui-widget {
    font-size: 16px !important;
    font-family: "wYekan", tahoma !important;
}

.ui-widget-header .ui-icon {
    background-image: url("/asset/image/images/ui-icons_ffffff_256x240.png") !important;
}

/**/
.ui-datepicker td {
    padding: 2px !important;
}

.ui-widget-content .ui-state-hover,
.ui-widget-content .ui-state-focus {
    background-color: #01a161 !important;
    color: #ffffff !important;
}

.ui-widget-header .ui-state-hover,
.ui-widget-header .ui-state-focus {
    border: none !important;
    background: none !important;
}

/*----------------------------------------------
   course
------------------------------------------------*/
.course-list .course-list-item {
    padding-top: 12px;
    padding-bottom: 12px;
}

.course-list .course-hover:hover {
    background-color: #e7e7e7;
}

.panel-independent-box-in-box {
    border-top: 1px solid #f1f1f1;
    padding-top: 30px;
    margin-top: 30px;
}

.panel-independent-box-in-box .independent-box-title {
    position: absolute;
    top: -10px;
}

.course-item-icon {
    top: 4px;
    position: absolute;
}

.course-item-icon .course-item-icon-circle {
    width: 40px;
    height: 40px;
    border: 1px solid black;
    border-radius: 50%;
    text-align: center;
    vertical-align: middle;
    background-color: #fff;
    position: relative;
    margin: auto;
    diplay: block;
}

.course-item-icon .course-item-icon-circle-play {
    border: 3px solid #1eb31a;
}

.course-item-icon .course-item-icon-center-line {
    border-right: 2px solid;
    height: 50px;
    width: 2px;
    position: absolute;
    right: 50%;
    bottom: 0px;
}

.course-item-icon .disable-circle {
    border: 2px solid #c2c2c2;
}

.course-item-icon-circle .circle-num-icon {
    line-height: 38px;
}

.course-item-icon-circle .circle-play-icon {
    line-height: 41px;
    color: #1eb31a;
}

.course-item-icon-circle .circle-lock-icon {
    line-height: 45px;
}

.play-video .play-video-click {
    cursor: pointer;
}

.play-video .disable {
    color: #c2c2c2;
}

.play-video .disable-click {
    cursor: not-allowed;
}

.course-button {
    border-radius: 5px;
    font-size: 18px;
}

.view-tab > li > a:hover,
.view-tab > li > a:focus {
    background-color: #f7f7f7;
}

.view-tab > li > a {
    margin-left: 1px;
    margin-right: 1px;
}

/*.view-tab,*/
.view-tab + div {
    background-color: #ffffff;
}

.view-tab > li {
    background-color: #ffffff;
}

/*----------------------------------------------
   user rating
------------------------------------------------*/
.user-rating {
    border: none;
    /*float: left;*/
}

.user-rating > input {
    display: none;
}

.user-rating > label:before {
    margin: 5px;
    font-size: 1.25em;
    font-family: FontAwesome;
    display: inline-block;
    content: "\f005";
}

.user-rating > label {
    color: #ddd;
    /*float: right;*/
}

/***** CSS Magic to Highlight Stars on Hover *****/

.user-rating>input:checked~label,
/* show gold star when clicked */
.user-rating:not(:checked)>label:hover,
/* hover current star */
.user-rating:not(:checked)>label:hover~label {
    color: #ff8a67;
}

/* hover previous stars in list */

.user-rating>input:checked+label:hover,
/* hover current star when changing rating */
.user-rating>input:checked~label:hover,
.user-rating>label:hover~input:checked~label,
/* lighten current selection */
.user-rating>input:checked~label:hover~label {
    color: #ff8a67;
}

/**********************************
                list-group-horizontal
 */
.list-group-horizontal .list-group-item {
    display: inline-block;
}

.list-group-horizontal .list-group-item {
    margin-top: 2px;
    margin-bottom: 2px;
    margin-left: 0px;
    margin-right: 0px;
    padding: 1px 6px;
    min-width: 40px;
    font-size: 15px;
    text-align: center;
}

.list-group-horizontal .list-group-item:first-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    margin-left: -5px;
}

.list-group-horizontal .list-group-item:last-child {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    margin-right: -5px;
}

/* تگ های روی تصاویر */

.textwatermark {
    position: relative;
    transform: rotate(-45deg);
    font-family: Pinar;
}

.textimage {
    top: -80px;
    color: #ff8100;
}

.textquestion {
    top: -83px;
    color: #5d3ee4;
}

.movietag {
    position: relative;
    top: -90px;
    height: 48px;
    text-align: center;
}

.moviediv {
    position: relative;
    transform: rotate(-45deg);
    top: -83px;
}

.movie {
    top: -83px;
    transform: rotate(45deg);
    font-size: 22px;
    color: #0176dd;
}

/*.flex-container {
     display: flex;

 }

 .flex-container>div {
     margin: 10px;
     padding: 20px;
     font-size: 30px;
     height: 200px;
 }*/

.hamandaze {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.none {
    display: none;
}

.related_pro {
    position: relative;
}

.related_pro .owl-next,
.related_pro .owl-prev {
    position: absolute;
    top: -40px;
}

.related_pro .owl-next {
    left: 0;
}

.related_pro .owl-prev {
    left: 50px;
}

.related_slide {
    position: relative;
}

.related_slide .owl-next,
.related_slide .owl-prev {
    position: absolute;
    top: -40px;
}

.related_slide .owl-next {
    left: 0;
}

.related_slide .owl-prev {
    left: 50px;
}

span.btn {
    width: 80px;
}

a[rel~="next"],
a[rel~="prev"] {
    width: 80px;
}

div.owl-next,
div.owl-prev {
    background-color: black !important;
}

.closepopup {
    display: block;
    width: 100px;
    background-color: blue;
    position: relative;
    z-index: 10;
}

/* Header */
nav:after {
    content: "";
    clear: both;
    display: block;
}

nav ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

nav > ul > li:not(:last-child) {
    float: right;
    position: relative;
}

nav ul li > a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    padding: 1rem .5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul li:hover > a {
    font-weight: bold;
    background-color: #fdfdfd;
    transition-duration: 120ms;
    transition-timing-function: linear;
}

nav ul li > ul {
    background-color: white;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.2);
    border-radius: 0px 0px 10px 10px;
    position: absolute;
    padding: 0;
    min-width: 160px;
    visibility: hidden;
    transform: translateY(-5%);
    opacity: 0;
    transition: all 0.6s ease;
}

nav ul li.hover > ul {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
}

nav ul ul li a {
    color: black;
}

nav ul ul li:hover > a {
    background: #ece0ff;
    color: #0011ff;
    border-radius: 0px 0px 0px 0px;
    box-shadow: 0px 0px 15px rgb(91, 57, 122, 0.2);
}

nav ul ul li:hover:last-child > a {
    border-radius: 0px 0px 10px 10px;
}

nav ul ul li {
    position: relative;
}

nav ul ul ul {
    top: 0;
    right: 100%;
}

nav ul li .icon {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

@media screen and (max-width: 600px) {
    nav {
        min-height: 50px;
    }



    nav ul li .icon {
        display: block;
        float: none;
        position: unset;
        padding: 0;
        margin: 0;
        margin-left: .5rem;
    }

    nav ul.toggle {
        display: none;
    }

    nav ul.responsive {
        display: block;
        background: #f1f1f1;
    }

    nav ul.responsive li {
        float: none;
    }

    nav ul ul {
        position: relative;
    }

    nav ul ul ul {
        right: 0;
        padding: 0 0.5rem;
    }

    nav ul li > ul {
        border-radius: 0;
        position: relative;
        transition: all 0.3s ease;
        max-height: 0;
    }

    nav ul li.hover > ul {
        transform: unset;
        opacity: 1;
        visibility: unset;
        max-height: 100%;
    }

    nav ul ul {
        box-shadow: unset;
        transform: unset;
        opacity: 0;
        overflow: hidden;
        visibility: unset;
    }

    nav ul ul li:hover:last-child > a {
        border-radius: 0;
    }

    #samin-logo {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 0 1rem;
    }

    #samin-menu {
        width: auto;
    }

    div#samin-menu > nav {
        position: unset;
        padding: 0;
        justify-content: center;
        align-items: center;
    }

    div#samin-menu > nav ul#mytoggle {
        width: 100%;
        background: #f1f1f1;
        position: absolute;
        left: 0;
        top: 3rem;
    }

    div#bloc-0 {
        padding: 0;
        position: sticky;
        top: 0;
    }
    .account-btn {
        padding: 0 !important;
    }

    .account-btn ul.list-unstyled {
        padding: 0;
        margin: 0;
    }

    .account-btn ul.list-unstyled li {
        padding: 0;
    }

    .account-btn ul.list-unstyled li .btn-style {
        margin-top: 0;
        border-radius: 1.5rem;
    }

    .w-fit {
        width: fit-content !important;
    }
    .p-0 {
        padding: 0;
    }
    form {
        margin-bottom: 0;
    }
    div#bloc-5 > div > .row {
        margin: 0;
    }
    div#samin-logo .absolute-desktop-left {
        max-width: 30%;
        width: 25%;
    }
}
@media (min-width: 600px) {
    .absolute-desktop-left {
        position: absolute;
        left: 2rem;
    }
    #samin-logo > div:nth-of-type(1) {
        position: absolute;
        left: 15rem;
        top: 0.75rem;
    }

    div#bloc-0 > div.container {
        padding: 0;
        padding-top: 0.5rem;
    }
    div#samin-menu > nav {
        width: fit-content;
    }
    .input-half {
        width: calc(50% - 2rem);
        display: inline-block;
        margin: 1rem .5rem;
    }

    .input-half input {
        width: 100%;
    }
}
.help-block {
    color: red;
    text-align: center;
    width: 100%;
    display: inline-block;
    margin-bottom: .75rem;
}
