/** main formatting **/
:root {
    --cs-white: #ffffff;
    --cs-color-primary: #4f1a39; /* purple */
    --cs-color-secondary: #ff9600; /* orange */

    --cs-p-size: 20px;
    --cs-p-lineHeight: 28px;

    --cs-lineHeight: 1.4em;
    --cs-size-2: 22px;
    --cs-size-3: 20px;
    --cs-family-primary: lato-regular;
    --cs-family-secondary: lato-light;
}
.cs-color-primary {
    color: var(--cs-color-primary)
}
.cs-color-secondary {
    color: var(--cs-color-secondary)
}
.cs-label {
    font-size: 1.2em;
    color: var(--cs-color-primary);
}

/* import fonts */
@font-face {
    font-family: lato-black;
    src: url("../fonts/Lato-Black.ttf") format("opentype");
}
@font-face {
    font-family: lato-light;
    src: url("../fonts/Lato-Light.ttf") format("opentype");
}
@font-face
    {font-family: lato-bold;
    src: url("../fonts/Lato-Bold.ttf") format("opentype");}
@font-face {
    font-family: lato-regular;
    src: url("../fonts/Lato-Regular.ttf") format("opentype");
}

.cs-alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}
.cs-alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.cs-alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.cs-contact-strong {
    color:#721c24
}

/* pre define bootstrap elements and classes */
html {
    scroll-behavior: smooth;
}
html, body {
    font-family:lato-regular;
    color:#151515;
}
h1, h2, h3, h4, h5, h6 {
    font-family:lato-black;
    text-transform: none;
    color: var(--cs-color-primary);
}
h4 {
    line-height: 28px
}
h3 {
    font-family:lato-black;color:var(--cs-color-secondary)
}
p {
    font-family:lato-light;
    color:black;
    line-height: var(--cs-p-lineHeight);
    font-size:var(--cs-p-size);
}
p a strong {
    color: var(--cs-color-primary)
}

input.form-input, textarea.form-input  {font-size: 1.2em}

/* ck editor */
div#ck_editor {}
div#ck_editor i {
    font-style: italic;
}
div#ck_editor p {
    margin-bottom: 1rem;
}
div#ck_editor strong {
    font-weight:900
}
div#ck_editor ul, ol {
    padding-left: 2rem;
    margin-bottom: 1rem;
}
div#ck_editor ul {
    list-style-type: disc;
}
div#ck_editor li {display: list-item;
    font-family: var(--cs-family-secondary);
    font-size: var(--cs-p-size);
    color:black)
}
div#ck_editor ol {
    list-style-type: decimal;
}
div#ck_editor table {
    border: 1px double #b3b3b3;
    border-collapse: collapse;
    border-spacing: 0;
    height: 100%;
    width: 100%;
}
#ck_editor td {
    border: 1px solid #bfbfbf;
    min-width: 2em;
    padding: .4em;
    padding-left: 0.4em;
}
div#ck_editor figure {
    clear: both;
    display: block;
    margin: .9em 0;
    min-width: 15em;
}
div#ck_editor iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
div#ck_editor a {
    text-decoration: underline;
    color:var(--cs-color-primary);
    text-decoration-color: var(--cs-color-primary)
}
div#ck_editor a:hover {
    text-decoration: none
}
div#ck_editor h3 {
    font-size: 1.35rem;
}

/** custom formatting **/
.cs-text-shadow {
    text-shadow: 2px 3px var(--cs-color-primary);
}
.cs-pointer:hover {
    cursor: pointer;
}
/* banners */
.cs-banner-title {
    color: var(--cs-color-secondary);
    text-shadow: 2px 3px var(--cs-color-primary);
    text-transform: uppercase;
    font-size: 3em;
}
.cs-home-banner-title {
    color: white;
    text-shadow: 2px 3px var(--cs-color-primary);
    text-transform: uppercase;
}
.cs-banner-text {
    color: white;
    text-shadow: 2px 3px var(--cs-color-primary);
}
.breadcrumbs-custom {
    padding: 50px 0;
}
.box-position {
    background-size:unset;
    background-position:unset;
    animation: bgPos 100s linear infinite;
}
/* breadcrumbs */
.breadcrumbs-custom-title {
    font-size: 3em; color:var(--cs-color-secondary);
    text-shadow: 2px 3px var(--cs-color-primary)
}

/* menu */
nav.rd-navbar, .rd-navbar-static.rd-navbar--is-stuck {
    background: var(--cs-color-primary);
}
.rd-navbar-classic.rd-navbar-static .rd-navbar-main {
    padding: 11px 0
}
.rd-nav-item a {
    color: var(--cs-white);
    text-transform: uppercase
}
.rd-navbar-fixed .rd-navbar-panel {
    background: var(--cs-color-primary);
    padding: 3em 0;
}
.rd-navbar-toggle span, .rd-navbar-toggle span:before, .rd-navbar-toggle span:after {
    background-color: white;
}
.rd-navbar-fixed .rd-navbar-nav-wrap {
    background: var(--cs-color-primary);
    padding: 160px 15px 15px;
    border:none;
}
.rd-navbar-fixed .rd-navbar-submenu-toggle {
    color: white;
}
.rd-navbar-fixed .rd-megamenu-list > li > a, .rd-navbar-fixed .rd-navbar-dropdown > li > a {
    color: white;
    padding: 5px 56px 5px 16px;
}
.rd-navbar-fixed .rd-navbar-submenu-toggle::after {
    top: -10px;
}

/* eu logo */
.eu-logo {max-width: 90px; margin:0px 5px 0 10px;}
.eu-text a:hover {color:white}
.cont-eu-flex {display: flex;}
.cont-eu a:hover {color:white;}

@media (max-width: 1198px) {
    .rd-navbar-classic.rd-navbar-static .rd-navbar-main-element {border:1px solid red;display: none}
    .cont-eu-fixed {position: fixed; left: 130px; top: 18px; z-index: 1031;}
    .eu-logo {max-width: 60px; margin:5px 5px 0 10px;}
    .rd-navbar-fixed .rd-navbar-brand img {
        width: 70px;
    }
}
/* logo */



/* services dropdown menu */
.rd-navbar-static .rd-navbar-megamenu {
    margin: 0;
    padding: 35px 10px;
}
.rd-navbar-fixed .rd-megamenu-list > li:hover > a {
    background: none;
}
.rd-navbar-static .rd-megamenu-item > div {
    max-width: 460px
}
.rd-nav-item a:hover, li.rd-nav-item.active a {
    color: var(--cs-color-secondary);
}
.rd-navbar-classic.rd-navbar-static .rd-navbar-megamenu {
    width: auto;
}
a.rd-megamenu-list-link {
    color:white;
}
a.rd-megamenu-list-link:hover {
    color:var(--cs-color-secondary) !important;
}

/* active item */
li.rd-megamenu-list-item.active a {
    left: 14px;
}
li.rd-megamenu-list-item.active a:before {
    background: var(--cs-color-secondary);
    visibility: visible;opacity: 1;left: -14px;
}
/* hover item */
li.rd-megamenu-list-item.active a:hover {
    left: 0;
}
li.rd-megamenu-list-item.active a:hover:before {
    left: 0;
}

.rd-navbar-static .rd-megamenu-list > li > a  {
    line-height: 1.4em;
}
/* search */
.rd-navbar-search-toggle span::before, .rd-navbar-share-icon {
    color:white;
}
/* services */
.cs-breadcrumbs-banner  {
    padding: 150px 0;
}
/* menu right */
.list-categories li {
    padding-left:20px;
    line-height: var(--cs-lineHeight);
    margin-bottom:18px;
    color: var(--cs-color-primary);
}
.list-categories a::before {
    top: 0px;
    height: 100%;
}
.list-categories a.active::before {
    width: 3px;
}

/* news */
.custom-box-news {
    padding: 20px;
    border: 1px solid #ced4da;
}
.custom-img-news {
    border: 1px solid #ced4da;
} /*rotate: -2deg;*/
.cs-news-list-title     {height: 5rem;overflow: hidden;text-transform: uppercase}
.cs-news-details-title  {text-transform: uppercase}
/* contacts button */
a.custom-button-contacts {display: block; position: fixed; right: 0; top: 75%; z-index: 999;}
 {color:white !important;}
/* careers */
h4.quote-modern-cite    {}
p.quote-modern-status   {line-height: 22px}
.quote-modern p         {font-size: var(--cs-size-3)}
.quote-modern::before   {display: none;}
@media (min-width: 1200px) {
    .quote-modern {
        padding: 25px;
    }
}
.post-classic-title {
    letter-spacing: 0.08rem;
}

/* section */
@media (min-width: 992px) {
    .section-xl {
        padding: 40px 0 100px 0;
    }
}

/* timeline */
.thumbnail-mary::before {
    background-color: rgb(79, 26, 57, 0.7);
    opacity: 0.7
}
.cs-timeline-title {
    font-size:1.2rem;
    font-weight: bold;
    text-shadow: 1px 1px var(--cs-color-primary);
    text-transform: uppercase;
    display: inline-block;
    line-height: 1;
    color:var(--cs-color-secondary);
}
.cs-timeline-text {
    color: white;
    text-shadow: 1px 1px var(--cs-color-primary);
    font-size:1.2em;
}

@media (min-width: 992px) {
    .thumbnail-mary:hover {text-transform: uppercase}
}
.thumbnail-mary-caption  {
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

.cs-thumbnail-mary-cover {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;-
    content: '';
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: 33;
    background-color: rgb(79, 26, 57, 0.4);
    padding: 0.5rem;
}

.thumbnail-mary:hover .cs-thumbnail-mary-cover {
    display:none;
}
.thumbnail-mary:hover .thumbnail-mary-caption {
    opacity: 1;
    visibility: visible;
}

/* footer */
.footer-classic .contact-classic-title {
    color: var(--cs-color-secondary)
}
p.rights {
    font-size: 1.2em;
}
p.rights a {
    color:var(--cs-color-secondary);
    font-weight: bold;
}
p.rights a:hover {
    color:var(--cs-color-primary);
}

@media (min-width: 480px) {
    .footer-list-category a:hover span::after {width: 0px;}
}
@media (min-width: 480px) {
    .footer-list-category a {padding-right: 60px;font-size: 1.2rem; }
}
.cs-footer-menu {text-transform: uppercase}

/* about us */
@media (min-width: 768px) {
    .tabs-line .nav-link {font-size: 18px;}
}

ul.cs-li-none > li::before {display: none}
.list-marked-sm > li::before{height: 12px;width: 12px;}

/* projects */
.cs-project-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.cs-project-text p {font-size: 18px;fon}

a.clients-classic {
    overflow: hidden;
   min-height: 150px;
   display: flex;
   justify-content: center;
   align-items: center;
   max-height: 150px;
}
.clients-classic::before
{
    z-index: 99;
}

/* mentors */
.cs-mentor-tb {min-height: 160px}

.linearicons-phone-in-out::before
{
    content: "";
}

.gdpr-container {
    position: fixed;
    bottom: 1rem;
    background: #222a35;
    z-index: 2051;
    line-height: 20px;
    font-size: 14px;
    border-radius: 6px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    color: white;
    max-width: 900px;
    margin: 1rem auto;
    left: 0;
    right: 0;
    text-align: center;
    margin:
}

.gdpr-button {
    min-width: 100px;
    padding: 10px 20px;
    margin-top: 15px;
}

/* united vars page */
.cs-span-text {
    font-family: lato-light;
    color:#4f1a39;
    font-size: 20px
}
@media (min-width: 576px) {
    .cs-text-img {
        font-size: 410px;
        height: 255px;
        line-height: 20%;
    }
}
@media (min-width: 992px) {
    .cs-text-img {
        font-size: 410px;
        height: 255px;
        line-height: 20%;
    }
}

.cs-height {
    height: 220px;
}