/* AOTV fonts */
@font-face {
    font-family: myriad-pro-cond, sans-serif;
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: myriad-pro, sans-serif;
    font-weight: 300;
    font-style: normal;
}

body, p, span, li, a {
    font-family: 'myriad-pro', sans-serif;
    font-size: 18px;
}

h1, h2, h2 > a, h3, h4, h5, h6, .sp-megamenu-parent > li > a {
    font-family: 'myriad-pro-cond', sans-serif;
}



/* Menues size and style*/
.sp-megamenu-parent>li>a {
    font-size: 20px;
}

.menu-aotv-top-left {
  list-style: none;
  padding: 0;
  margin: 2px;

  li {
    display: inline-block;
    margin: 4px 24px 0px 0px;
    font-size: 100%;
    white-space: nowrap;

    i {
      margin: 0 3px;
    }
    
    img {
        display: inline-block;
        width: 24px;
        height: 24px;
    }
    
  }
}

.menu-aotv-top-right {
  list-style: none;
  padding: 0;
  margin: 2px;

  li {
    display: inline-block;
    margin: 4px 20px 0px 0px;
    font-size: 100%;
    white-space: nowrap;

    i {
      margin: 0 3px;
    }
    
  }
}

/* top bar corrections*/

#sp-top-bar{
    line-height: 36px;
}


ul.social-icons {
    padding-left: 2em;
}

ul.social-icons>li:not(:last-child) {
    margin-right: 14px;
}

.fab, .icon-joomla, .fa-brands {
    font-size: 18px;
}

/* Button styles */
.blue-round-btn {
    padding: 6px 20px;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    border-radius: 3px;
    border: 1px solid #ffffff;
    background-color: #ffffff;
    color: #345480 !important;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.blue-round-btn:hover {
    background-color: #345480;
    color: #ffffff !important;
    border-color: #ffffff;
}

.red-round-btn {
    padding: 6px 20px;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    border-radius: 3px;
    border: 1px solid #CC1110;
    background-color: #CC1110;
    color: #ffffff !important;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.red-round-btn:hover {
    background-color: #ffffff;
    color: #CC1110 !important;
    border-color: #CC1110;
}

.white-round-btn {
    padding: 6px 20px;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    border-radius: 3px;
    border: 1px solid #ffffff;
    background-color: #ffffff;
    color: #345480 !important;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.white-round-btn:hover {
    background-color: #345480;
    color: #ffffff !important;
    border-color: #ffffff;
}

.white-outline-round-btn {
    padding: 6px 20px;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    border-radius: 3px;
    border: 1px solid #ffffff;
    background-color: #345480;
    color: #ffffff !important;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.white-outline-round-btn:hover {
    background-color: #ffffff;
    color: #345480 !important;
    border-color: #ffffff;
}

/* ARTICLES */
.article-details .article-header {
    text-align: center;
    /* padding-top: 2em; */
}

.article-details .article-info {
    justify-content: center;
}

.article-info > span {
    padding-left: 8px;
    font-size: 18px;
    color: #89A9D5;
    align-content: center;
}

#sp-main-body {
    padding-top: 2em;
}

.com-content-article__body {
    padding-top: 2em;
}

.article-details .article-ratings-social-share {
    border: none;
    padding: 0;
    
}

.ao-article-social-share {
    display: flex;
    justify-content: center;
    style="margin: 20px 0";
    gap: 10px;
}

/* Fix highlight in search that break text */
mark[data-markjs="true"] {
    /*background: transparent !important;*/
    color: inherit !important;
    padding: 0 !important;
}


/* Hide articles info & share to specific pages:
    contact-ro | programtv */
.itemid-140 .article-info,
.itemid-140 .social-share-block,
.itemid-146 .article-info,
.itemid-146 .social-share-block,
.itemid-158 .article-info {
    display: none !important;
}

/* limit Articles related very long title  */
.article-list .article h4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

/* MAP OLD CLASSES FROM ULKIT (from YooTheme) as BOOTSTRAP*/
/* mark [uk-grid] to emulate UIkit behaviour */
.uk-text-center {
    text-align: center !important;
}

.uk-grid, 
[uk-grid] {
    display: flex;
    flex-wrap: wrap;
    list-style: none !important; /* clean bullets from list (ul / li) */
    padding-left: 0 !important;  /* clean padding in lists */
    /* negative marginis to compensate the cells from wings */
    margin-right: calc(-1 * var(--bs-gutter-x, 0.75rem));
    margin-left: calc(-1 * var(--bs-gutter-x, 0.75rem));
    margin-top: calc(-1 * var(--bs-gutter-y, 0rem));
}

/* CELLS of GRIDs */
.uk-grid > *, 
[uk-grid] > * {
    box-sizing: border-box;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    padding-top: var(--bs-gutter-y, 0rem);
}

/* uk-margin-top become as mt-3 in Bootstrap */
.uk-margin-top {
    margin-top: 1rem !important;
}

/* uk-grid-small as g-2 în Bootstrap) */
.uk-grid-small {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
}

/* 1 column for small screens */
.uk-child-width-1-1 > * {
    flex: 0 0 auto;
    width: 100%;
}

/* on biger screens (≥576px): multiple columns*/
@media (min-width: 576px) {
    .uk-child-width-1-2\@s > * {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (min-width: 576px) {
    .uk-child-width-1-3\@s > * {
        flex: 0 0 auto;
        width: 33.33%;
    }
}

@media (min-width: 576px) {
    .uk-child-width-1-4\@s > * {
        flex: 0 0 auto;
        width: 25%;
    }
}

@media (min-width: 576px) {
    .uk-child-width-1-5\@s > * {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* on medium or bigger screens */
@media (min-width: 768px) {
    .uk-child-width-1-5\@m > * {
        flex: 0 0 auto !important;
        width: 20% !important;
    }
}

/* END ULKIT mappings */