/* Direction-Based Styles */
html[dir="ltr"] {
    .nav-link-en {
        display: none;
    }

    .nav-link-ar {
        display: block;
    }

    .close {
        text-align: right !important;
    }
    .control .text-muted {
       left:10px
    }
    .bootstrap-datetimepicker-widget.dropdown-menu{ right: 0px !important; left: inherit !important;}
    .bootstrap-datetimepicker-widget.dropdown-menu.bottom:before {right: 7px !important;left: inherit !important; }
    .bootstrap-datetimepicker-widget.dropdown-menu.bottom:after{right: 8px !important;left: inherit !important;}
    footer.site-footer .region-footer-second .copyright-area .copyright-text { text-align: right;}   
    footer.site-footer .nav>li {text-align: left; }
       
        
   
    .page-heading .breadcrumb {
        font-size: 1.2rem;
    }
}

html[dir="rtl"] {
    --bs-body-font-size:0.80rem !important; 

    .nav-link-ar {
        display: none;
    }

    .nav-link-en {
        display: block;
    }

    .close {
        text-align: left !important;
    }
    .control .text-muted {
        right:10px
     }
     .bootstrap-datetimepicker-widget.dropdown-menu{ left: 0px !important; right: inherit !important;}
     .bootstrap-datetimepicker-widget.dropdown-menu.bottom:before {left: 7px !important;right: inherit !important; }
     .bootstrap-datetimepicker-widget.dropdown-menu.bottom:after{left: 8px !important;right: inherit !important;}
     .pagination > li > a, html[dir="rtl"] .pagination > li > span {width: auto; }
      li a {margin-right: 3px  !important;}
      html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {  font-size: 99% ;}
      footer.site-footer .region-footer-second .copyright-area .copyright-text { text-align: left;}   
      .form-control,.btn{
        font-size:0.75rem !important; 
      }
      footer.site-footer .nav>li {text-align: right; }
      footer.site-footer .nav>li a {  font-size: 0.8rem !important;}
      @media screen and (max-width: 800px) {  footer.site-footer .nav>li a {font-size: 12px !important; } }
     .input-group-addon:last-child {
        border-right: 0 !important;
        border: 1px solid #ccc !important;
    }

    .navbar-right .dropdown-menu { right:  0px !important;}
   
}

/* rotateIcon */


@keyframes horizontalFlip {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* Apply animation when hovering over <a> */
.card-body:hover i {
    animation: horizontalFlip 0.5s linear;
}

/* label */
label {
 
    margin-bottom: 5px !important;
   
}

/* card-body */
.card-body hr{
border: 1px solid #fff;
    width: 100%;
    margin: 0px 10px 10px 0px; 
    height: 0px !important;
}
.card-body .count-line{
    width: 100%;
    }
/* iframe 
html:not(.js) body .container , html:not(.js) body td{
    padding-left: 0px !important;
    padding-right: 0px !important;
}
*/
html:not(.js) .pva-floating-style{ display: none !important; }
html:not(.js):first{
overflow: hidden; /* Hide the scrollbar */
-ms-overflow-style: none; /* For Internet Explorer and Edge */
scrollbar-width: none; /* For Firefox */
}

html[dir="ltr"]:not(.js) .crmEntityFormView .money .input-group.readonly>.input-group-addon, .form-readonly .money .input-group>.input-group-addon {
    position: absolute;
    z-index: 3;
    right: 97%;
    top: 5px;
    border: 0px !important;
}
html[dir="rtl"]:not(.js) .crmEntityFormView .money .input-group.readonly>.input-group-addon, .form-readonly .money .input-group>.input-group-addon {
    position: absolute;
    z-index: 3;
    left: 97%;
    top: 5px;
    border: 0px !important;
}
.quickform body {
 margin-top:  0px !important;
}
/* Font Styles */
.fa,
.far,
.fas {
    font-family:  "Glyphicons Halflings","Font Awesome 5 Free","Font Awesome 6 Free" !important;
}
.profile-page-heading {display: none !important;}


    
.page-header .xrm-attribute-value, .page-header h1 {
    font-family: "Lenos", serif !important;
    font-size: 2.3rem !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    color: #d73535 !important;
    display: none;
}
.btn-group .xrm-attribute-value{
    font-size: 1rem !important;
}
.sidebar * {
    font-size: var(--bs-body-font-size) !important;
}

/* Ideas Styles */
#ideas{ padding-top: 30px;}

/* Button Styles */
.btn {
    border-radius: 0px !important;
}
.btn-orange {
    background: #ea7606 !important;
}

.btn-blue {
    background: #98d6f6 !important;
}

.btn-yellow {
    background: #e9e076 !important;
}

.btn-pink {
    background: #f1909c !important;
}

/* Column Block Styles */
.columnBlockOrangeLayout {
    background: #e9e076 !important;
}

.columnBlockBlueLayout {
    background: #98d6f6 !important;
}

.columnBlockLayout {
    position: relative;
}

/* Header and Navbar Styles */
.navbar-nav .open .dropdown-menu>li>a {
    line-height: 21px !important;
}
.navbar {
    min-height: auto !important; 
    margin-bottom: 0px !important; 
    border: 0px  !important
}
.ulmenuparent{ width: inherit !important;  min-width: 16em !important;}
#page-wrapper #page #header .navbar-brand img { top: 0px;}
	
#header a {
    margin: 0px !important;
}

#navbar-top {
    padding: 0px !important;
    margin: 0px !important;
}
.navbar-nav {
    margin: 0px;
}
.dropdown-toggle::after {
    display: none !important;
}

/* Block Title Styles */

.crmEntityFormView .tab-title{
    border-bottom: 0px !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    color: #ea7606 !important;
}

.block-title {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    color: #ea7606 !important;
}
/*.tab-pane .block-title { position: absolute; padding-top: 10px;}*/
@media (max-width: 576px) {
    .tab-pane .block-title {  display: none;}
}

/* Panel and List Group Styles */
.panel-heading {
    background-color: #7d1d48 !important;
}
/*
.col-md-12 .panel-heading {
    background-color: #f5f5f5 !important;
}
    */
.panel-heading * {
    color: #fff !important;
}
ol.progress.list-group {
    display: inherit !important;
    margin-bottom: 20px !important;
    border-radius: 0px !important;
   
}
.list-group-item{ border:0px !important;}
.list-group-item.active {
    background-color: #e9e076 !important;
    border-color: #e9e076 !important;
    color: #ea7606 !important;
}

/* Badge Styles */
.badge {
    background-color: #e9e076 !important;
    color: #ea7606 !important;
}

/* Table Styles */
.table {
    --bs-table-striped-bg: #eee !important;
}

.msos-disabled{
    --bs-table-striped-bg: #eee !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.table>:not(:first-child){
    border-top: 0px !important
}

.table>thead>tr>th,
.table>thead>tr>td,
.table>tbody>tr>th,
.table>tbody>tr>td,
.table>tfoot>tr>th,
.table>tfoot>tr>td {
    border: 0px !important;
}

table.forums td {
    padding: 10px !important;
}

/* Form Control Styles */
.form-control {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.input-group-addon{ width: auto;}
.input-group-addon .fa{  padding: 0px !important;}
.input-group {
    width: auto !important; 
}
.lookup .input-group input[type="text"]{ width:auto  !important; }
.datetimepicker.input-group input[type=text] {  width: auto !important;  }

.input-group-btn {
    width: 47px !important;
    color: #ffffff !important;
}

/* Tabs and Navigation Styles */
#divTabs .nav-link {
    color: #7d1d48 !important;
}

#divTabs .nav-link.active,
#divTabs .nav-item.active {
    background: #7d1d48 !important;
    color: #e9e076 !important;
    border: 0px !important;
}

#divTabs .nav-item.active .nav-link {
    background: transparent !important;
    border: 0px !important;
    color: #e9e076 !important;
}

#divTabs .nav-tabs {
    border-bottom: 2px solid #7d1d48 !important;
}

#divTabs .tab-content {
    border: 0px !important;
}
#divTabs .nav>li>a:hover, #divTabs .nav>li>a:focus {
    background-color: rgba(236, 227, 121, 0.3) !important;
    border-radius: 0px  !important;
}

@media screen and (min-width: 800px) { 
.sf-accordion-toggle{ display: none;}
}
@media screen and (max-width: 800px) { 
  
   #page-wrapper #page #header #navbar-top .social-menu {
        display: none !important;
        z-index: inherit  !important;
        }

        #header .navbar-nav {
            display: block !important;
           
        }
        .site-footer .navbar-nav {
            text-align: center !important;
        }
        #superfish-main > li {display: contents;}

        footer.site-footer .site-map-block .navbar-nav {
            justify-content: center !important;
            
        }
        
        footer.site-footer .site-map-block .navbar-nav li {
            flex-basis: auto !important;
        }
}
/* validation Styles */
#ValidationSummaryEntityFormView *{
    font-size: inherit !important;
}
/* Modal Styles */
.modal {
     background-color: rgba(0, 0, 0, 0.5);
  
  }
  .modal-title{
    font-family: "Lenos", serif !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    color: #d73535 !important;
}
.section-title h3{
    border-bottom: 0px !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    color: #ea7606 !important;
}

.modal-header {
    display: block !important;
}

.profilePicModal{
    top:0px !important
}
.modal-dialog {
    display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        margin: auto;
   
}
 


.modal-content{ width: 100%;}

/* Tab Pane Styles */
.tab-content {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.tab-content div[class^="col-"] {
    display: flex !important;

}

.tab-pane {
    display: none;
}

.tab-pane.show {
    display: block;
}

/* form control */
.form-control:focus{
    box-shadow: none !important;
}
/* Search */

.form-search .input-group {
     border: 0px !important; 
     border-radius: 0px !important;  
}
.dropdown-menu  .form-control:focus{ box-shadow: none !important;}
.dropdown-search {
    width: 250px !important;
    background: #7d1d48 !important;
    padding: 0px 20px 0px 20px !important;
}
.form-search button[type="submit"] { 
    background-color: #e9e076 !important;
    color: #ea7606  !important;
}

/* Theme Styles */
:root {
    --portalThemeOnColor3: #7d1d48;
  }


/* Other Styles */


.crmEntityFormView,
.entitylist,
.modal-content,
.popover-content {
    border: 0px !important;
}

.well,
.userFullName {
    background: #98d6f6;
    border: 0px;
    color: #000 !important;
    font-weight: bold !important;
    font-family: "Lenos", serif !important;
}

#title a,
.breadcrumb a {
    color: #ea7606 !important;
}

.views-field-nothing {
    color: #7d1d48;
}

ol.progress{
    font-size: inherit !important;
    box-shadow: none !important;
}

ol.progress.top li {
    font-weight: bold !important;
}

/* Forms */
.notes h5{
    font-weight: 600 !important;
    text-transform: uppercase !important;
    color: #ea7606 !important;
}
.notes .glyphicon{
    color: #d73535 !important;
}

/*Loading Popup with Animation */
#loadingPopup{
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; color: white; font-size: 20px; z-index: 100;
}
html[dir=rtl] #loadingPopup { right: 0;}
/* Spinner animation */
#loadingPopup .spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

html[dir=rtl] #loadingPopup .spinner {
    margin-left: 10px;
    margin-right: 0px;
}

/* Spinner animation keyframes */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* Page style */
#pageHeaderTitle {
    margin: 2rem 0;
    text-transform: uppercase;
    text-align: center;
    font-size: 2.5rem;
}

.pagination>.disabled>a{
    background-color: #eee;
}

.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus, .pagination > .active > span, .pagination > .active > span:hover, .pagination > .active > span:focus {
     border-radius: 0px !important;
     background-color: #e9e076 !important;
     color: #ea7606 !important;
     border: 0px;
}

/* Cards */
.postcard {
    display: flex !important;
    flex-wrap: wrap;
    margin: 0 0 2rem 0;
    overflow: hidden;
    position: relative;
    color: #ffffff;
    width: 100%;
}

.postcard__text .small *,
.fa-calendar-alt:before {
    font-size: 12px !important;
}


.postcard.dark {
    background-color: #18151f;
}

.postcard.light {
    background-color: #e9e076;
}

.t-dark {
    color: #18151f;
}

.postcard a {
    color: inherit;
}
.postcard a:hover {
    text-decoration: none;
}

/* Postcard Content */
.postcard__title {
    font-family: "Lenos", serif !important;
    font-size: 1.75rem !important;
    font-weight: bold !important;
    color: #ea7606 !important;
    margin-bottom: 30px !important;
}

.postcard__img {
    max-height: 180px;
    width: 100%;
    object-fit: cover;
    position: relative;
}

.postcard__img_link {
    display: none;
}

.postcard__bar {
    width: 50%;
    height: 5px;
    margin: 10px 0;
    border-radius: 5px;
    background-color: #424242;
    transition: width 0.2s ease;
}

.postcard__text {
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.postcard__preview-txt {
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
    height: 100%;
    color: #7d1d48;
}

/* Tagbox */
.postcard__tagbox {
    display: flex;
    flex-flow: row wrap;
    font-size: 14px;
    margin: 20px 0 0 0;
    padding: 0;

}

.postcard__tagbox .tag__item {
    display: inline-block;
    background: #ea7606;

    padding: 10px;
    margin: 0 5px 5px 0;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s;
    color: #ffffff !important;
}

.postcard__tagbox .tag__item .fa {
    margin-right: 5px !important;
}

.postcard__tagbox .tag__item:hover {
    filter: brightness(1.2);
}

/* Custom Colors and Hover Effects */
.postcard .green:hover .postcard__bar {
    width: 100px;
}

.green .postcard__title:hover {
    color: #79dd09;
}

.green .postcard__bar,
.green .tag__item {
    background-color: #79dd09;
}

#mainContent .container{

    width:  100% !important;
}
/* Copilot */
.pva-embedded-web-chat-widget {
    background-color: #7d1d48 !important;
    border: 1px solid #7d1d48 !important;
}

.formatted-number{
    font-family: "Lenos", serif;
    font-size: 25px !important;
    font-weight: bold;
    color: #ea7606;
    margin-bottom: 30px;
}
/* Media Queries */

@media (min-width: 1200px) {
    .forums  .h2,.forums h2 {
        font-size: 1.2rem  !important;
    }
  }

  @media (max-width: 767px) {
    html[dir=rtl] .table-fluid td {
        padding-left: 10px !important; 
        padding-right: 10px !important; 
    }
    html[dir=ltr] .table-fluid td {
        padding-left: 10px !important; 
        padding-right: 10px !important; 
    }
}
@media screen and (max-width: 800px) { 
    .after-content-region { width: 100% !important;}
    .multisteps .container{
        padding: 0px  !important;
    }

    .lisearch .dropdown-search { background-color: #ffffff !important; }
    .lisearch .dropdown-menu,.lisearch  .input-group { width: 100% !important;}


    /* Grid Buttons */
    .view-toolbar .toolbar-actions{width: 100% !important; }
    .pull-right .btn{margin-left: 0px !important;  margin-right: 0px !important; display: block; width: 100%; }
    .pull-right .input-group{margin-bottom: 10px !important; display: block !important; width: 100% !important; }
    .pull-right .input-group .query{ width: 85% !important;}

    
    .pull-left .btn{margin-left: 0px !important;  margin-right: 0px !important; display: block; width: 100%; }
    .pull-left .input-group {margin-bottom: 10px !important; display: block !important; width: 100% !important; }
    .pull-left .input-group .query{ width: 85% !important;}
}
@media screen and (min-width: 769px) {
    .postcard {
        flex-wrap: inherit;
    }



    .postcard__img {
        max-width: 300px;
        max-height: 100%;
        transition: transform 0.3s ease;
    }

    .postcard__text {
        padding: 3rem;
        width: 100%;
    }

    .postcard:hover .postcard__img {
        transform: scale(1.1);
    }

    .postcard:nth-child(2n+1) {
        flex-direction: row;
    }

    .postcard:nth-child(2n+0) {
        flex-direction: row-reverse;
    }
}

@media screen and (min-width: 1024px) {
    .postcard__text {
        padding: 2rem 2rem;
    }
}

/* Miscellaneous Styles */
.mt-5 {
    margin-top: 0px !important;
}

