:root {
    --tedy-red: #c82814;
    --tedy-black: #434343;
}

/******** RTL changes ************/
.rtl ul.primary-menu {
    flex-direction: row-reverse;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#primary {
    direction: rtl;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/************ fonts ***************/
@font-face {
    font-family: Assistant-Bold;
    src: url(fonts/Assistant-Bold.ttf);
}
@font-face {
    font-family: Assistant-ExtraBold;
    src: url(fonts/Assistant-ExtraBold.ttf);
}
@font-face {
    font-family: Assistant-ExtraLight;
    src: url(fonts/Assistant-ExtraLight.ttf);
}
@font-face {
    font-family: Assistant-Light;
    src: url(fonts/Assistant-Light.ttf);
}
@font-face {
    font-family: Assistant-Medium;
    src: url(fonts/Assistant-Medium.ttf);
}
@font-face {
    font-family: Assistant-Regular;
    src: url(fonts/Assistant-Regular.ttf);
}
@font-face {
    font-family: Assistant-SemiBold;
    src: url(fonts/Assistant-SemiBold.ttf);
}
/******* tedy-title *******/
h2.tedy-title {
    margin: 0;
    margin-bottom: 15px;
    font-size: 2.5rem;
    font-family: Assistant-SemiBold;
    letter-spacing: 2px;
}
h2.tedy-title::after {
        content: "";
        display: block;
        background: #c82814;
        height: 2px;
        width: 50px;
        margin-top: 15px;
}
.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
/************ tedy-bg ***********/
.tedy-bg {
	background: #b8b8b8 url("images/tedy-bg.png");
    background-size: 100%;
    padding-top: 20px;
}
.tedy-bg2 {
	background: url("images/tedy-bg2.jpg");
    background-size: cover;
    padding-top: 20px;
}
.tedy-bg3 {
	background: url("images/tedy-bg3.jpg");
    background-size: cover;
    padding-top: 20px;
}
.tedy-bg4 {
	background: url("images/tedy-bg4.jpg");
    background-size: 100%;
    padding-top: 20px;
}
/************* tedy-button *************/
input.tedy-button,
a.tedy-button {
    background: var(--tedy-red);
    color: white;
    font-family: Assistant-SemiBold;
    font-size: 2rem;
    border-radius: 15px;
    padding: 10px 25px 12px 35px;
    width: max-content;
    position: relative;
}
a.tedy-button:before,
a.tedy-button:after {
    content: "";
    display: block;
    background-color: white;
    position: absolute;
    bottom: calc(50% - 0.1rem);
    left: 15px;
    height: 2px;
    width: 6px;
}
.tedy-button:before {
    transform: rotate(45deg) translate(1px, 3px);
}
.tedy-button:after {
    transform: rotate(135deg) translate(0px, 2px);
}
input.tedy-button:hover,
a.tedy-button:hover {
    background: var(--tedy-black);
    cursor: pointer;
}
/************ tedy-max-content ************/
:root {
    --tedy-max-content: 1300px;
}

/************* social links ***************/
.tedy-social-icon {
    display: block;
    height: 30px;
    width: 30px;
    filter: grayscale(100%);
}
.tedy-social-icon:hover {
    filter: grayscale(0%);
}
.tedy-social-links {
    display: flex;
    gap: 10px;
}
.menu-bottom .tedy-social-links{
    justify-content: center;
}
.menu-position .tedy-social-icon {
    height: 35px;
    width: 35px;
}
/************ accessibility button ************/
button.toggle.accessibility-toggle {
    height: 35px;
    width: 35px;
}
.accessibility-mobile-wrapper {
    position: fixed;
    bottom: 15px;
    left: 15px;
    z-index: 100;
}
@media screen and (min-width: 1000px) {
    .accessibility-mobile-wrapper {
        display: none;
    }
}
/* hide the plugin default button */
.yydev-warp .yy-button {
    display: none;
}
.yydev-accessibility {
    top: 90px !important;
}
.yydev-accessibility .yydev-warp .yy-box {
    top: 0;
}
/************ with start icon *************/
.primary-menu > li.with-star-icon {
    margin-right: 70px;
}

.with-star-icon a:before {
    content: "";
    background-image: url(images/star.svg);
    width: 12px;
    height: 12px;
    display: block;
    position: absolute;
    right: -15px;
    top: 5px;
    transition: all 0.15s linear;
    filter: grayscale(100%);
}
.with-star-icon a:hover:before,
.current-menu-item.with-star-icon a:before {
    filter: grayscale(0%);
}
.modal-menu > li.with-star-icon > .ancestor-wrapper > a:before {
    right: 7px;
    top: 23px;
}
/************** tedy header search **************/
#site-header .search-modal .search-field {
	border-bottom: 1px solid #808080;
}
#site-header .search-modal .search-form {
    width: 300px;
}
#site-header .search-modal .search-form:before {
	content: "";
    background: url(images/search-red.svg);
    display: block;
    width: 25px;
    height: 25px;
    position: absolute;
    right: -46px;
}
:focus-visible {
    outline: unset;
}
button.toggle.close-search-toggle {
    background: url(images/close-x-contact.svg) no-repeat center;
    width: 25px;
    height: 25px;
    display: block;
    padding: 0;
    position: absolute;
    top: -30px;
    right: -150px;
    position: relative;
}
/************* tedy arrows splide *******************/
.tedy-slider .splide__arrow.splide__arrow--prev:before,
.tedy-slider .splide__arrow.splide__arrow--next:before {
    content: "";
    background: url(images/arrow-up.svg) no-repeat center;
    display: block;
    width: 35px;
    height: 35px;
}
.tedy-slider .splide__arrow.splide__arrow--next:before {
    transform: rotate(180deg);
}
.tedy-slider .splide__arrow.splide__arrow--prev:hover:before,
.tedy-slider .splide__arrow.splide__arrow--next:hover:before {
    background: url(images/arrow-hover.svg) no-repeat center;
    transform: rotate(0deg);
    width: 60px;
    height: 60px;
    position: relative;
}
.tedy-slider .splide__arrow.splide__arrow--next:hover:before {
    transform: rotate(180deg);
    position: relative;
}
.tedy-slider .splide__arrow.splide__arrow--prev svg,
.tedy-slider .splide__arrow.splide__arrow--next svg {
    display: none;
}
.tedy-slider .splide__arrow {
    background: unset;
    width: 60px;
    height: 60px;
}
/********** tedy-content **************/
.tedy-content {
    max-width: 1300px;
    width: 70vw;
    margin: 0 auto;
}

/********** fancybox arrows ***********/
.fancybox-navigation .fancybox-button--arrow_right svg,
.fancybox-navigation .fancybox-button--arrow_left svg {
    display: none;
}
.fancybox-navigation .fancybox-button--arrow_right,
.fancybox-navigation .fancybox-button--arrow_left {
    background-color: transparent;
}
.fancybox-navigation .fancybox-button--arrow_right:before,
.fancybox-navigation .fancybox-button--arrow_left:before {
    content: "";
    background: url(images/arrow-up.svg) no-repeat center;
    display: block;
    width: 35px;
    height: 35px;
    filter: invert(1);
}
.fancybox-navigation .fancybox-button--arrow_left:before {
    transform: rotate(180deg);
    margin-left: 10px;
}
.fancybox-navigation .fancybox-button--arrow_right:before {
    margin-left: -10px;
}
.fancybox-navigation .fancybox-button--arrow_right:hover:before,
.fancybox-navigation .fancybox-button--arrow_left:hover:before {
    background: url(images/arrow-hover.svg) no-repeat center;
    width: 60px;
    height: 60px;
    position: relative;
    top: -15px;
    left: -12px;
    transform: rotate(180deg);
    filter: invert(0);
}
.fancybox-navigation .fancybox-button--arrow_right:hover:before {
    position: relative;
    top: -10px;
    left: -12px;
    transform: rotate(0deg);
}
/*********** tedy-link **************/
a.tedy-link {
    color: white;
}
a.tedy-link:hover {
    color: var(--tedy-red);
}
/********** button outline focus fix ************/
:focus {
    outline: 0;
}

/********************** English styles **************************/
[lang="en-US"] p {
    direction: ltr;
}

/********************** Homepage ******************************/
[lang="en-US"] .homepage .description-text {
    max-width: 800px;
}

/********************** Shows blocks **************************/
[lang="en-US"] .show-block .block-text {
    text-align: left;
    direction: ltr;
}

[lang="en-US"] li.ui-menu-item {
    text-align: left;
}
/**************** single-talent-content ****************/
@media screen and (min-width: 1000px) {
    [lang="en-US"] .talent-single .talent-body {
        flex-direction: row-reverse;
    }

    [lang="en-US"] .talent-single .talent-left {
        margin-right: 0;
        margin-left: var(--margin-amount);
    }
}

[lang="en-US"] .talent-single .talent-text {
    text-align: left;
    direction: ltr;
}

[lang="en-US"] .talent-single .talent-left {
    align-items: end;
}

@media screen and (max-width: 700px) {
    [lang="en-US"] a.tedy-button {
        width: 100%;
    }
}

/**************** tedy-button ****************/
[lang="en-US"] input.tedy-button,
[lang="en-US"] a.tedy-button {
    padding: 10px 35px 12px 25px;
}
[lang="en-US"] a.tedy-button:before, 
[lang="en-US"] a.tedy-button:after {
    left: unset;
    right: 15px;
}
[lang="en-US"] a.tedy-button:before {
    margin-bottom: 5px;
}
[lang="en-US"] a.tedy-button:after {
    margin-bottom: -4px;
}

/********* main menu *************/
@media (min-width: 1000px) {
    [lang="en-US"] .header-inner {
        flex-direction: row;
    }
    [lang="en-US"] .rtl ul.primary-menu {
        flex-direction: row;
    }
}

@media (min-width: 1220px) {
    [lang="en-US"] .primary-menu > li {
        margin: 0.8rem 0 0 5.5rem;
    }
}
[lang="en-US"] .primary-menu li.menu-item-has-children:hover > ul {
    right: -6rem;
    text-align: left;
}
[lang="en-US"] .primary-menu > li > .icon {
    left: unset;
    right: -1.5rem;
}
[lang="en-US"] .with-star-icon a:before {
    right: unset;
    left: -16px;
}

[lang="en-US"] .primary-menu > li.with-star-icon {
    margin-right: unset;
    margin-left: 85px;
}

/********* mobile menu *************/
[lang="en-US"] .mobile-menu {
    text-align: left;
}
[lang="en-US"] .mobile-menu button.sub-menu-toggle svg {
    right: unset;
    left: 0;
}
[lang="en-US"] .mobile-menu .modal-menu ul li {
    right: unset;
    left: 1rem;
}
[lang="en-US"] .modal-menu > li.with-star-icon > .ancestor-wrapper > a:before {
    left: 7px;
    right: unset;
}
/************** updates *****************/
[lang="en-US"] .updates-container {
    direction: ltr;
    text-align: left;
}
@media screen and (min-width: 860px) {
    [lang="en-US"] .update-block .update-text {
        margin-left: 30px;
        margin-right: unset;
    }
}

/****************** shows table *****************/
[lang="en-US"] .shows-table .table-row {
    text-align: left;
}
[lang="en-US"] .shows-table .table-row > div:not(:first-child):before {
    right: unset;
    left: 0;
}
[lang="en-US"] .shows-layout {
    direction: ltr;
}
[lang="en-US"] .shows-header .layout-buttons {
    margin-right: unset;
    margin-left: var(--buttons-gap);
}
@media screen and (min-width: 930px) {
    [lang="en-US"] .shows-table .table-row > div:first-child {
        padding-right: unset;
        padding-left: 10px;
        text-align: left;
    }
    [lang="en-US"] .shows-table .table-row > div:not(:first-child) {
        padding-right: unset;
        padding-left: 30px;
    }
}

/************* contact *******************/
html[lang="en-US"] .contact-page .form .wpcf7-text,
html[lang="en-US"] .contact-page .form .wpcf7-textarea {
    direction: ltr;
}
html[lang="en-US"] .contact-page .contact-details-container {
    text-align: left;
    padding: 20px 15px 20px 30px;;
}
html[lang="en-US"] .contact-details li:before {
    left: -35px;
    right: unset;
}
html[lang="en-US"] .contact-details li {
    margin: 0.5rem 0rem 0 2rem;
}
html[lang="en-US"] .contact-details .tedy-social-links {
    margin-left: -10px;
    margin-right: unset;
    flex-direction: row-reverse;
}
html[lang="en-US"] .wpcf7-list-item {
    direction: rtl;
}
html[lang="en-US"] .contact-details ul {
    margin-right: 0px;
}

/*********** language selector ******************/
.language-link {
    background-color: var(--tedy-red);
    border-radius: 100%;
    width: 35px;
    height: 35px;
    line-height: 35px;
    cursor: pointer;
}

.language-link a {
    color: white;
    font-family: Assistant-SemiBold;
}
@media screen and (min-width: 1000px) {
    .language-mobile-wrapper {
        display: none;
    }
}