:root {
    --default: #fff;
    --black: #000;
    --text: #23293A;
    --primary: #0160A9;
    --secondary: #610C11;
    --muted: #EBEBEB;
    --emphasis: #304173;
    --gold:#B37D12;
    /* links */
    --link: #E31818;
    --link-hover: rgba(1, 96, 169, 0.64);
    /* borders */
    --border: #F2F5FB;
    --box-shadow: #DFE6EB;
    /* messages */
    --success: #22bb33;
    --warning: #f0ad4e;
    --danger: #bb2124;
    --alert: #5bc0de;
    --disabled: #aaaaaa;
    /* other */
    --dark: #23293A;
    --light: #304173;
    --teil: rgba(1, 96, 169, 0.64);
}

#search-form input[type="submit"]:disabled {
      opacity: 1 !important;
}


/*@media(max-width:960px){*/
/*a.uk-navbar-toggle {*/
/*    margin-top: 30px;*/
/*    }*/
/*}*/
 /*active item in menu*/
.uk-navbar-nav>li.uk-active>a,.uk-light .uk-navbar-nav>li.uk-active>a,.uk-nav-default>li.uk-active>a,.uk-nav-default>li:hover a, .uk-navbar-nav>li:hover a{
    font-weight: 600;
}

/* logo */
  a.uk-navbar-item.uk-logo img {
       height: 100px;
    }
/* menu in 1024 screen */
@media(width:1024px){
    a.uk-navbar-item.uk-logo img {
      width: 170px;
    }
    .uk-navbar-nav>li>a{
        font-size:14px !important;
    }
    div#custom_html-3 .uk-button{
            padding: 0 20px;
    }
}




/*dropdown menu in small devices*/
#tm-mobile div{
    background:var(--secondary);
}
/*uk-navbar-container*/
.uk-navbar-container.uk-navbar-transparent.uk-light {
    background: linear-gradient(360deg, transparent 0%, #000000 100%);
}

/* buttons */
a.el-link.uk-button, a.el-link.uk-button:hover{
    transition: background-color .5s;
}

/*class to add z-index*/
.relative-z-index {
    position:relative;
    z-index:999;
}
.rtl {
        .uk-cover,
    [uk-cover],
    .uk-position-top-center,
    .uk-position-bottom-center,
    .uk-position-center {
     --uk-position-translate-x: 50% !important;
    }
}



div#custom_html-3 {
    position: relative;
    right: 40px;
    z-index: 99999;
}

.uk-navbar-item, .uk-navbar-nav>li>a, .uk-navbar-toggle{
    margin-top: 18px !important;
    position: relative;
    z-index: 9999;
}

/*search style*/
.uk-navbar input.uk-search-input{
    width: 5% !important;
    border-bottom-color:transparent !important;
}
.uk-navbar input.uk-search-input:focus{
    width: 75% !important;
    transition: all 0.5s !important;
}
.uk-navbar input.uk-search-input {
    cursor: pointer;
}
@media(min-width:640px){
    span.mec-event-detail{
    position:relative;
}
span.mec-event-detail:before{
    content:"";
    position:absolute;
    display:block;
    width:2px;
    height:20px;
    background:var(--muted);
    right: -15px;
    top: -1px;
}
:lang(en-US) span.mec-event-detail:before{
     left: -9px;
     right:0;
}
#search-form input[type="submit"]{
transform: translateX(7%) !important;
}
}

/* input field */
input.uk-input::placeholder,input.sf-input-text::placeholder {
    line-height: 70px;
}
input.uk-input,input.sf-input-text {
    line-height: 50px;
}

input,input::placeholder {
    line-height: 50px !important;
}

/* section background image */
.section-bg:before{
    content:url('/wp-content/uploads/2022/06/Section-background.svg');
    position:absolute;
    display:block;
    transform: translateX(-50%) scale(0.8);
    left: 50%;
    /*top: 100px;*/
}


/* form of horses search */
input[type="submit"]:hover{
    cursor: pointer;
}


.extra-padding{
    padding-top:200px !important;
}

/* race plugin style */

.mec-wrap .mec-event-list-minimal .mec-event-date span{
    padding-left: 0;
}
@media(min-width:1024px){
.mec-calendar-topsec {
    display: flex !important;
    align-items: center;
    flex-direction: row-reverse;
}
}
h3.mec-color.mec-table-side-day {
    color: rgb(255 255 255 / 60%) !important;
    border-color: rgb(255 255 255 / 60%) !important;
}
.rtl .mec-calendar .mec-event-article, .rtl .mec-month-navigator,body.rtl .mec-wrap .mec-time-details  {
    direction:rtl;
}

article{
    border-bottom: 2px solid rgb(255 255 255 / 20%);
}
.mec-calendar .mec-event-article:hover{
    background-color: transparent;
}
.mec-calendar.mec-box-calendar {
    box-sizing: unset;
    border: unset;
}
.rest-container.uk-flex.uk-flex-middle {
    margin-left: 20px;
}
.mec-calendar .mec-calendar-topsec{
     background:transparent;
}
.mec-calendar-side.mec-clear {
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 6px;
    box-shadow: 0px 3px 6px rgb(0 0 0 / 16%) !important;
    padding:  0 !important;
    padding-top:30px !important;
}
.mec-event-footer {
    display: none !important;
}
.mec-calendar-events-side.mec-clear {
    border-radius: 6px;
}
.mec-calendar .mec-event-article{
    border-top: 1px solid rgb(255 255 255 / 20%);
}


.mec-calendar-side.mec-clear {
    background: #F7F7F7;
}
dt.mec-calendar-day-head {
    background-color: #fff !important;
}
.mec-calendar{ 
    box-shadow:unset;
}

.mec-event-time.mec-color{
    color: rgb(255 255 255 / 45%) !important;
    font-size: 16px !important;
}
@media(max-width:640px){
article.mec-event-article.mec-clear.mec-divider-toggle h4.mec-event-title,.col-md-9.col-sm-9,.col-md-3.col-sm-3.btn-wrapper{
   text-align: center !important;
}
body.rtl .mec-wrap .col-md-1, body.rtl .mec-wrap .col-md-10, body.rtl .mec-wrap .col-md-11, body.rtl .mec-wrap .col-md-12, body.rtl .mec-wrap .col-md-2, body.rtl .mec-wrap .col-md-3, body.rtl .mec-wrap .col-md-4, body.rtl .mec-wrap .col-md-5, body.rtl .mec-wrap .col-md-6, body.rtl .mec-wrap .col-md-7, body.rtl .mec-wrap .col-md-8, body.rtl .mec-wrap .col-md-9 {
    float: unset !important;
}
.mec-event-time.mec-color{
display:block !important;
}
.mec-event-list-minimal .btn-wrapper {
    margin: 0 !important;
}
.mec-event-time.mec-color>div{
margin-top:10px !important;
}
}
.mec-calendar .mec-event-article{
   border-top:unset !important;
}
hr{
   border-top: 2px solid rgb(255 255 255 / 20%);
}
@media(max-width:960px){
  .mec-calendar-events-side.mec-clear {
    margin-top: 30px;
    }
.mec-calendar .mec-calendar-topsec {
    display: grid;
}
.mec-calendar-side.mec-clear,.mec-calendar-events-side.mec-clear,.mec-month-container dl {
    width: 100%;
} 
.mec-calendar-side .mec-calendar-table {
    min-height: unset;
}
.mec-calendar-side.mec-clear, .uk-margin-small-left {
    margin-right: unset !important;
}
h6.mec-table-side-title {
    margin-bottom: 0 !important;
}

a.mec-color-hover {
    margin: unset !important;
}
}
a.mec-color-hover {
    margin: unset !important;
}
.mec-calendar .mec-calendar-events-side .mec-table-side-day {
    margin: 30px auto 0px !important;
}
h1, .uk-h1, h2, .uk-h2, h3, .uk-h3, h4, .uk-h4, h5, .uk-h5, h6, .uk-h6, .uk-heading-small, .uk-heading-medium, .uk-heading-large, .uk-heading-xlarge, .uk-heading-2xlarge, h4.mec-event-title > a {
    margin: 0 0 auto 0;
}
@media(max-width:960px){
.mec-calendar-header {
    width: 100% !important;
}
}
.mec-calendar-header {
    top: 10px;
    margin-bottom: 50px !important;
}
@media only screen and (min-width: 960px){
.mec-wrap.mec-sm959 .mec-calendar:not(.mec-event-calendar-classic):not(.mec-calendar-weekly) .mec-calendar-header {
    margin-top: unset !important;
    padding-top: unset !important;
    margin-bottom: 40px !important;
}
}
@media(max-width:640px){
    .mec-calendar-header {
    top: -15px;
    margin-bottom: -5px !important;
}
}
@media only screen and (min-width: 479px){
.mec-wrap .mec-event-list-minimal .mec-event-article .mec-event-date.mec-bg-color span{
    padding:0;
    margin:0;
}
}
.mec-event-list-minimal .mec-event-article{
        padding: 0px 0 40px;
}
mec-event-list-minimal .btn-wrapper {
     margin:unset !important; 
}
@media only screen and (max-width: 479px){
.mec-box-calendar.mec-calendar .mec-calendar-side .mec-next-month, .mec-box-calendar.mec-calendar .mec-calendar-side .mec-previous-month{
    padding:0px 5px !important;
}
.mec-box-calendar.mec-calendar .mec-calendar-header h2 {
    font-size: 16px !important;
    margin-top: 8px !important;
}
body.rtl .mec-wrap .mec-event-list-minimal .mec-event-article .col-md-9.col-sm-9{
    width:100%;
    display: flex;
    flex-direction: column;
}
.mec-time-details{
    order: 2;
    margin-bottom: 10px;
}
}
@media only screen and (max-width: 1200px){
.mec-calendar .mec-calendar-header h2 {
    font-size: 20px !important;
}
}
.mec-time-details, .mec-event-detail{
   font-family: inherit !important;
}
.mec-event-list-minimal a.mec-detail-button{
    font-size: 14px;
}

/* end race plugin style*/
/* text-gradient */
.text-gradient{
    display: inline-block;
    right: 50%;
    transform: translatex(50%);
    width: 100%;
    background: linear-gradient(270deg,#B48D43 50%,#F6EDD7 100%,#E5BC6E 100%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}
.uk-table th {
    padding: 25px 25px;
    text-align: center;
}

@media(min-width:479px){
.mec-wrap .mec-event-list-minimal .mec-event-article .col-md-9.col-sm-9{
     	display: grid;   
        grid-template-columns: 131px 130px;
}
.mec-time-details,span.mec-event-detail{
         grid-row:2;
         grid-row-end: 3;
         width: max-content;
}
article.mec-event-article.mec-clear.mec-divider-toggle h4.mec-event-title {
    display: grid;
    grid-template-columns: 500px 200px;
    padding-top: 15px !important;
}
.mec-event-list-minimal .mec-event-date{
    padding: 15px 10px;
    min-height: 0;
    min-width: 106px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.col-md-3.col-sm-3.btn-wrapper {
    padding-top: 30px;
}
}
.mec-event-list-minimal .mec-event-date:after{
    content:none;
}
/*@media(max-width:479px){*/
/*.mec-event-list-minimal .mec-event-date:after{*/
/*    width: 50% !important;*/
/*    height: 100% !important;*/
/*}*/
/*}*/
.mec-event-list-minimal .mec-event-date{
        grid-row-start: 1;
        grid-row-end: 4;
}

.mec-calendar .mec-event-article .mec-event-title a{
    color:rgb(255 255 255 / 44%) !important;
}
.mec-calendar .mec-event-article .mec-event-title a:hover{
    color:#FFFFFF !important;
}

/* search form style */
#search-form ul.uk-grid{
    display: block;
    justify-content: center;
    text-align: center;
}
#search-form li.sf-field-search.uk-first-column{
    width:100%;
}
#search-form li.sf-field-search.uk-first-column label{
    position:relative;
}
#search-form input.uk-input.uk-form-width-large.uk-form.uk-margin-small-right,input.sf-input-text {
    padding-right: 80px;
}
#search-form li.sf-field-search.uk-first-column label:before{
    content: url(/wp-content/uploads/2022/06/search-field-icon.svg);
    position: absolute;
    display: block;
    right: 20px;
    top: -15px;
    transform: scale(0.9);
}

.sf-field-search input{
   height:60px !important;
   line-height:60px !important;
}
.sf-field-search input::placeholder{
  height:60px !important;
  line-height: 60px !important;
}

/* single event */
@media(min-width:1280px){
.single-event-date {
    display: grid;
}
span.divider {
    display: none;
}
}
hr.dashed-border{
    border-top:1px dashed #707070;
}

/* textarea */
textarea{
    resize: vertical; 
}
/* contact form */
button.frm_button_submit.frm_final_submit.uk-button.uk-button-primary{
    right: 50% !important;
    transform: translateX(50%) !important;
    position: relative !important;
}
.ls_org_tree_container_parent ul {
  direction: rtl !important;
}
.frm_error_style{
    display:none !important;
}

/* selection of text gradient */
.text-gradient::selection {
    background: #B37D12;
    color: #fff;
    -webkit-text-fill-color: #fff;
}

/*.tm-page .ls_org_tree_container li .ls_org_tree_item_container:not(#ls_org_chart_item_conteiner_1)::before {*/
/*    position: absolute;*/
/*    z-index: 100;*/
/*    content: ' ';*/
/*    right: 49%;*/
/*    height: 6px;*/
/*    width: 6px;*/
/*    top: 6px;*/
/*    background-color: #B37D12;*/
/*    border-radius: 50%;*/
/*    display: block;*/
/*}*/
/*.has-children.next_children .ls_org_tree_item_container::before {*/
/*    top: 8px;    */
/*}*/

.tm-page .ls_org_tree_container ul {
    padding-right: 0px;
}
.tm-page .ls_org_tree_container ul ul::before {
    border-left-width: 1px;
    border-left-color: #B37D13;
    /*border-left-color: #E8E7F1;*/
    
}
.tm-page .ls_org_tree_container li {
    padding-right: 5px;
    padding-left: 5px;
    /*margin-right: 5px;*/
    /*margin-left: 5px;*/
}
.tm-page .ls_org_tree_container li .ls_org_tree_item_container > div {
    min-height: unset;
    /*border: 1px solid #B37D13;*/
    border: 1px solid #E8E7F1;
}
.tm-page .ls_org_tree_container li::before, 
.tm-page .ls_org_tree_container li::after, 
.tm-page .ls_org_tree_container li:last-child::before {
    border-top-color: #B37D13;
    border-left-color: #B37D13;
    border-right-color: #B37D13;
    /*border-top-color: #E8E7F1;*/
    /*border-left-color: #E8E7F1;*/
    /*border-right-color: #E8E7F1;*/
    border-top-width: 1px;
    border-left-width: 1px;
    border-right-width: 1px;
}

/* map popup */
a.leaflet-popup-close-button {
    padding: 5px;
}


/* login page backgrouynd color */
body.login.js.login-action-login.wp-core-ui.rtl.locale-ar{
    background-color: red !important;
}
