/* ------------------------------------------------

        1. Default stylesheets                      

------------------------------------------------ */

body{
    direction: rtl;
    unicode-bidi: embed;
}

th,
td,
table,
form{
    text-align: right;
}

.rev-slider {
    direction: ltr;
}

.rev_slider_wrapper .mad-actions {
    direction: rtl;
}

/* ------------------------------------------------

        2. General classes                      

------------------------------------------------ */

.align-right{
    text-align: left;
}

.align-left{
    text-align: right;
}

.f-right{
    float: left;
}

.f-left{
    float: right;
}

img.alignright{
    float: left;
    margin-left: 0;
    margin-right: 1.875rem;
}

img.alignleft{
    float: right;
    margin-right: 0;
    margin-left: 1.875rem;
}

th,
td,
table,
form,
[class*="table-type"] table tr > td, 
[class*="table-type"] table tr > th{
    text-align: right;
}

/* ------------------------------------------------

        3. Main

------------------------------------------------ */

/* -------------------------- Header ------------------------- */

/* main menu */

.mad-navigation .sub-menu {
    left: auto;
    right: 0;
}

.mad-navigation .sub-menu .menu-item-has-children::after {
    right: auto;
    left: 0;
    content: "arrow_left";
}

.mad-navigation > li:not(.mega-menu) > .sub-menu {
    left: auto;
    right: -1rem;
}

.mad-navigation li:not(.mega-menu) .sub-menu .sub-menu:not(.mad-reverse) {
    left: auto;
    right: calc(100% + 36px);
}

.mad-navigation .sub-menu .menu-item-has-children {
    padding-right: 0;
    padding-left: 2.8rem;
}

.mad-navigation > li > a::after {
    margin-left: 0;
    margin-right: 0.25rem;
}

/* main menu end */

.mad-actions {
    padding-left: 0;
    padding-right: 3.5rem;
}

.mad-actions .mad-item-link .mad-count {
    right: auto;
    left: 0;
}

.arcticmodal-close {
    right: auto;
    left: 4rem;
}

.mad-modal--search form button {
    margin-left: 0;
    margin-right: 0.5rem;
}

.mad-modal--search .mad-title {
    margin-right: 0;
    margin-left: 2rem;
}

.mad-icon-boxes.our-info.small-size .mad-icon-box-icon {
    margin-right: 0;
    margin-left: 0.625rem;
}

.mad-navigation .sub-menu.mad-reverse {
    left: -1rem;
    right: auto;
} 

.mad-navigation .sub-menu .sub-menu.mad-reverse {
    left: calc(100% + 36px);
    right: auto;
}

/* ----------------------- End of Header --------------------- */

/* ----------------------- Shortcodes ------------------------ */

.mad-panels-title > button:before {
    left: auto;
    right: 0;
}

.mad-panels-title > button {
    padding-left: 0;
    padding-right: 3rem;
}

.mad-panels.mad-panels--style-2 .mad-panels-title > button:before, .mad-panels.mad-panels--style-2 .mad-panels-title > button:after {
    left: auto;
    right: 1.875rem;
}

.mad-alert-box-inner::before {
    right: 2rem;
    left: auto;
}

.mad-alert-box-close {
    right: auto;
    left: 2rem;
}

.mad-alert-box-inner {
    padding-right: 4.5rem;
    padding-left: 3.75rem;
}

[class*="btn"] > i:not(:only-child):last-child {
    margin-left: 0;
    margin-right: 1rem;
}

.mad-read-more.big-size .svg {
    right: auto;
    left: -4.5rem;
}

.calendar_wrap table tr td:not(:last-child) {
    border-right: none;
}

.calendar_wrap table tr td:not(:last-child) {
    border-left: 1px solid #f2e4df;
}

.mad-read-more {
    padding-right: 0;
    padding-left: 1.75rem;
}

.mad-read-more.big-size {
    padding-right: 0;
    padding-left: 2rem;
}

.mad-read-more.huge-size {
    padding-left: 2.5rem;
    padding-right: 0;
}

.mad-read-more:not(.no-arrow):after {
    right: auto;
    left: 0;
}

.mad-read-more:not(.no-arrow):after,
.mad-dir:after {
    content: 'chevron_left';
}

.shop-cart-form .mad-close-item:before,
.shop-cart-form table tr td[data-cell-title="Actions"] .mad-link:before {
    margin-right: 0;
    margin-left: 6px;
}

.mad-read-more.small-size {
    padding-right: 0;
    padding-left: 1.5rem;
}

.mad-read-more.small-size .svg {
    right: auto;
    left: -3.5rem;
}

.mad-read-more .svg {
    right: auto;
    left: -4rem;
    transform: rotate(180deg);
}

.mad-icon-boxes.hr-type .mad-icon-box {
    text-align: right;
}

[class*="form-col"].with-icon input {
    padding-left: 1.25rem;
    padding-right: 3.75rem;
}

[class*="form-col"].with-icon i {
    left: auto;
    right: 22px;
}

.mad-pricing-tables .mad-pricing-table-price:before {
    left: auto;
    right: 0;
}

.mad-pricing-tables.type-3 .mad-pricing-table-price:before {
    display: inline-block;
}

.mad-pricing-tables.type-3.with-bg .mad-pricing-table .mad-wave {
    margin-left: 0;
    margin-right: -2rem;
}

.mad-progress-bar-indicator {
    left: auto;
    right: 0;
}

.mad-progress-bar-title::after {
    right: auto;
    left: 0;
}

.mad-progress-bar-title {
    padding-right: 0;
    padding-left: 5rem;
}

.mad-tabs:not(.mad-tabs--unstyled) .mad-tabs-nav > span:not(:last-child) {
    margin-right: 0;
    margin-left: 2.5rem;
}

.mad-tabs.mad-tabs--style-2 .mad-tabs-nav > span:not(:last-child) {
    margin-right: 0;
    margin-left: 0.5rem;
}

.mad-tabs.mad-tabs--tour-sections .mad-tabs-nav {
    margin-right: 0;
    margin-left: 2rem;
}

.mad-tabs.mad-tabs--tour-sections .mad-tabs-nav > span {
    margin-left: 0!important;
}

.mad-dir {
    padding-right: 0;
    padding-left: 1.5rem;
}

.mad-dir:after {
    right: auto;
    left: 0;
}

.mad-dropcap > *:first-child:first-letter {
    float: right;
    margin-right: 0;
    margin-left: 1rem;
}

.mad-pricing-table b {
    display: inline-block;
}

.g-map-wrap .g-map-section {
    right: auto;
    left: 13%;
}

form.one-line-2 input {
    padding-right: 1.5rem;
    padding-left: 3rem;
}

form.one-line-2 button {
    right: auto;
    left: 1rem;
}

.mad-img-holder.right-side > .mad-img {
    margin-right: 0;
    margin-left: -44rem;
}

.owl-carousel.nav-type-2 .owl-nav {
    flex-direction: row-reverse;
    right: auto;
    left: 0;
}

.mad-list--icon > li > .icon, .mad-entity-content ul:not(.mad-list--icon):not(.mad-list--unstyled) > li::before {
    left: auto;
    right: 1px;
}

input[type="checkbox"] + label[for], input[type="radio"] + label[for] {
    padding-left: 0;
    padding-right: 3rem;
}

input[type="checkbox"] + label[for] {
    padding-right: 3.5rem;
}

input[type="checkbox"] + label[for]::before, 
input[type="radio"] + label[for]::before {
    left: auto;
    right: 0;
}

input[type="checkbox"] + label[for]::after, 
input[type="radio"] + label[for]::after {
    left: auto;
    right: 0.5rem;
}

input[type="checkbox"] + label[for]::after {
    right: 0;
}

.payment-option li input[type="radio"] + label {
    margin-right: 0;
    margin-left: 1.875rem;
}

.mad-custom-select .mad-selected-option {
    padding-right: 1.375rem;
    padding-left: 3.5rem;
}

.mad-custom-select .mad-selected-option::after, 
.mad-custom-select .mad-selected-option::before {
    right: auto;
    left: 0.875rem;
}

.mad-testimonials:not(.no-qotes) .mad-testimonial .mad-testiomonial-info:after {
    right: auto;
    left: 100%;
    margin-right: 0;
    margin-left: -1.5rem
}

/* -------------------- End of Shortcodes ---------------------*/

/* -------------------- Content elements --------------------- */

.mad-contact-line input {
    margin-right: 0;
    margin-left: 0.5rem;
}

.mad-insta-title > a i {
    left: auto;
    right: 0;
    margin-right: 0;
    margin-left: 1rem;
}

.mad-insta-title {
    padding-left: 0;
    padding-right: 4rem;
}

.mad-service-price {
    right: auto;
    left: 1rem;
}

.mad-service-wrap .mad-service-bg.right-side {
    left: auto;
    right: 0;
}

.mad-service-wrap .mad-service-bg {
    right: auto;
    left: 0;
}

.mad-entities.type-2:not([class*="img-drop"]):not(.var-2) .mad-entity-media a {
    margin-right: 0;
    margin-left: -12rem;
}

.mad-entities.type-2:not([class*="img-drop"]):not(.var-2) .mad-entity-media:first-child a {
    margin-left: 0;
    margin-right: -12rem;
}

.mad-cta .row > [class*="col-"]:not(:only-child):last-child {
    text-align: left;
}

.shopping-cart,
.mad-icon-boxes.hr-type .mad-icon-box, 
.mad-icon-boxes.our-info .mad-icon-box {
    text-align: right;
}

.mad-label {
    left: auto;
    right: 0;
}

.mad-products.mad-product-single .mad-product-calc .quantity {
    margin-right: 0;
    margin-left: 0.5rem;
}

.mad-product-single .mad-product-info ul li span {
    display: inline-block;
}

.mad-back-to-top {
    right: auto;
    left: 3.875rem;
}

.mad-hr-list ul li:not(:last-child):after{
    right: auto;
    left: 0;
}

.mad-hr-list ul li:not(:last-child) {
    padding-right: 0;
    padding-left: 0.9375rem;
    margin-right: 0;
    margin-left: 0.9375rem;
}

.mad-dropdown-element.shopping-cart {
    right: auto;
    left: -3.5rem;
    text-align: right;
}

.mad-dropdown-element {
    left: auto;
    right: 0;
}

.mad-section-side-title {
    left: auto;
    right: 0;
}

.row:not(.col-no-space) .mad-offset-left, .mad-offset-left {
    padding-left: 0;
    padding-right: 7.5rem;
}

.mad-section-side-title.right-side {
    left: 0;
    right: auto;
}

.row:not(.col-no-space) .mad-offset-right, .mad-offset-right {
    padding-right: 0;
    padding-left: 7.5rem;
}

.mad-instafeed.style-2:not(.size-2) .mad-grid:not(.mad-grid--no-gutters):not(.owl-carousel) .mad-col:nth-child(6) {
    margin-left: 0;
    margin-right: -7.5rem;
}

.mad-instafeed .mad-wave-item .mad-wave.type-2 {
    margin-right: 0;
    margin-left: -3rem;
}

form.one-line .btn {
    right: auto;
    left: 0;
}

.mad-our-info li i {
    margin-right: 0;
    margin-left: 1rem;
}

.with-side-menu .mad-gallery .mad-gallery-item {
    width: 25%;
}

.with-side-menu .mad-gallery .mad-gallery-item.x2 {
    width: 50%;
}

.mad-event-date .mad-event-num {
    margin-right: 0;
    margin-left: 1rem;
}

.mad-calc .btn:not(.with-text) {
    margin-left: 0;
    margin-right: -4px;
}

.videoPoster {
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    transform: scale(-1, 1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

.mad-spec-item figure {
    margin-right: 0;
    margin-left: 1.5rem;
}

.mad-media-section:before {
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    transform: scale(-1, 1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

.mad-img-holder > .mad-img {
    margin-left: 0;
    margin-right: -260px;
}

.mad-tag-list li span {
    padding-right: 0;
    padding-left: 8px;
}

[class*="btn"] > i:not(:only-child):first-child {
    margin-right: 0;
    margin-left: 0.5rem;
}

.big-calendar.calendar_wrap table thead th, .big-calendar.calendar_wrap table tr td {
    text-align: right;
}

.calendar_wrap.big-calendar .mad-abs-title .mad-event-title {
    left: auto;
    right: 0;
    margin-left: 0;
    margin-right: -1.5rem;
}

.mad-contact-form.mad-search input {
    padding-right: 1.25rem;
    padding-left: 3.5rem;
}

.mad-contact-form.mad-search button {
    right: auto;
    left: 1rem;
}

.mad-sidebar .mad-entities.mad-entity-hr .mad-entity .mad-entity-media {
    margin-right: 0;
    margin-left: 1rem;
}

.mad-share-wrap > span {
    margin-right: 0;
    margin-left: 1rem;
}

.mad-entity .mad-testimonial blockquote:after {
    left: auto;
    right: -2.625rem;
}

.mad-widget .recentcomments li {
    padding-left: 0;
    padding-right: 2rem;
}

.mad-widget .recentcomments li:before {
    left: auto;
    right: 0;
}

.mad-entity-link-element > i {
    left: auto;
    right: 1rem;
}

.mad-entities.single-entity .mad-entity .mad-testimonials {
    float: right;
    margin-right: 0;
    margin-left: 2rem;
}

.tags-wrap > span {
    padding-right: 0;
    padding-left: 1rem;
}

.mad-page-nav > .mad-nav-right {
    text-align: left;
}

.comment-author-info {
    padding-left: 0;
    padding-right: 6.125rem;
}

.comment-author-avatar {
    float: right;
    margin-right: 0;
    margin-left: 1.25rem;
}

.mad-tt-element {
    background-position: top left;
}

.mad-read-more.no-icon {
    margin: 0;
}

.mad-page-nav > .mad-nav-right:before,
.mad-page-nav > .mad-nav-left:before {
    transform: rotate(180deg);
}

.comment .children {
    padding-left: 0;
    padding-right: 2.5rem;
}

form.one-line .mad-page-title:not(:last-child) {
    margin-right: 0;
    margin-left: 5.5rem;
}

form.one-line > *:not(:last-child) {
    margin-right: 0;
    margin-left: 0.5rem;
}

form.mad-contact-form select {
    border-right: 2px solid #e3e7e9;
}

.mad-lang > a:after {
    right: auto;
    left: 0;
    margin-left: 0;
    margin-right: 0.25rem;
}

.mad-lang > a {
    padding-right: 0;
    padding-left: 1rem;
}

.our-info > span i, .mad-lang i {
    margin-right: 0;
    margin-left: 0.5rem;
}

.mad-entities.type-3 .mad-entity .mad-entity-content {
    padding-left: 0;
    padding-right: 7rem;
}

.mad-entities.type-3 .mad-entity .mad-entity-date {
    left: auto;
    right: 0;
}

ul.mad-date-list > li {
    padding-left: 0!important;
    padding-right: 4.5rem!important;
}

.mad-date-list > li span {
    left: auto;
    right: 0;
}

.mad-filter > *:not(:last-child) {
    margin-right: 0;
    margin-left: 0.5rem;
}

.mad-coupons .mad-coupon {
    background-position: left -44px bottom -48px;
}

.mad-coupons.style-2:not(.shop-card) .mad-coupon.active .mad-coupon-header:after {
    right: auto;
    left: 1rem;
}

.mad-products.hr-type .mad-product > .shop-card {
    margin-right: 0;
    margin-left: 2rem;
}

.mad-header:not(.header-3):not(.header-4) .mad-actions > .mad-item > *:not(:last-child) {
    margin-right: 0;
    margin-left: 2rem;
}

.shopping-cart .mad-close-item {
    right: auto;
    left: 0;
}

.mad-products.mad-product-small .mad-product .mad-product-image:not(:last-child) {
    margin-right: 0;
    margin-left: 1rem;
}

.shopping-cart .mad-products.mad-product-small .mad-product .mad-product-description {
    padding-right: 0;
    padding-left: 1rem;
}

.shopping-cart .subtotal span {
    display: inline-block;
    padding-left: 0;
    padding-right: 3rem;
}

.mad-pagination > li:not(:last-child) {
    margin-right: 0;
    margin-left: 0.5rem;
}

.mad-pagination > li > a.mad-arrows i {
    transform: rotate(180deg);
}

.mad-product-single .mad-shop-actions > .mad-shop-action:not(:last-child):not([class*="content-element"]) {
    margin-right: 0;
    margin-left: 0.5rem;
}

.quantity button {
    right: auto;
    left: 1rem;
}

.mad-product-single .product-meta li.tags > span {
    margin-right: 0;
    margin-left: 1rem;
}

.shop-cart-form .mad-product .mad-close-item {
    margin-right: 0;
    margin-left: 3.75rem;
}

.checkbox-title input[type="checkbox"] + label[for], .checkbox-title input[type="radio"] + label[for] {
    padding-right: 0;
    padding-left: 3.5rem;
}

.checkbox-title input[type="checkbox"] + label[for]::before, .checkbox-title input[type="checkbox"] + label[for]::after {
    right: auto;
    left: 0;
}

.mad-entities.mad-entity-hr .mad-entity .mad-entity-media {
    margin-right: 0;
    margin-left: 1.5rem;
}

.mad-list--icon > li, .mad-entity-content > ul:not(.mad-list--icon):not(.mad-list--unstyled) > li {
    padding-left: 0;
    padding-right: 2.5rem;
}

.mad-header:not(.header-2):not(.header-4) .mad-header-item .mad-tel {
    padding-left: 0;
    padding-right: 3.5rem;
}

.mad-header:not(.header-2):not(.header-4) .mad-header-item .mad-tel i {
    padding-right: 0;
    padding-left: 0.25rem;
}

.mad-panels.mad-panels--style-2 .mad-panels-title > button {
    padding-left: 1.75rem;
    padding-right: 4rem;
}

form.mad-contact-form .mad-capcha:not(:last-child) {
    margin-right: 0;
    margin-left: 1rem;
}

@-moz-document url-prefix() {

    .calendar_wrap table td > a::before {
        margin-left: -1.25rem;
    }

    .calendar_wrap.calendar-medium table td > a:before {
        margin-left: -2.1rem;
    }

}

/* ----------------- End of Content elements ----------------- */

/* ------------------------- Footer -------------------------- */



/* ------------------------- End of Footer -------------------------- */

/* ------------------------------------------------

        4. Media queries

------------------------------------------------ */

/* RESPONSIVE */

@media only screen and (max-width:1480px){

 

}

@media only screen and (min-width:1480px){

 

}

@media only screen and (max-width:1280px){

 

}

@media only screen and (min-width:1200px){

 

}

@media only screen and (min-width:1024px){
 

}

@media only screen and (max-width:992px){

    .mad-icon-boxes.align-right {
        text-align: right!important;
    }

    .arcticmodal-close {
        left: 0.5rem;
    }

    .mad-col-full .mad-offset-right.no-space {
        padding-left: 0!important;
    }

}

@media (min-width: 992px){

    .calendar_wrap.big-calendar .mad-dropdown-element.left-side {
        right: auto!important;
        left: 100%!important;
    }

}

@media (max-width: 820px) and (min-width: 769px) {

     

}


@media only screen and (min-width:768px){


}

@media (max-width: 769px){

    .mad-navigation .sub-menu .menu-item-has-children::after {
        right: auto!important;
        left: 2rem!important;
    }

    .owl-carousel.nav-type-2 .owl-nav {
        left: auto!important;
        right: 0!important;
    }

}

@media only screen and (max-width: 480px){

    .mad-back-to-top {
        right: auto!important;
        left: 1rem!important;
    }

}