/*
Theme Name: Future Live
Author: BCON
Author URI: http://www.bcon.lt
Version: 1.0
*/

:root {
  --shadow: 3px 3px 10px 3px silver;
}
 body{
   background: #f8f8f8;
   font-family: 'Lato', sans-serif;
   font-size: 15px;
 }
 iframe {
  width: 100%;
  height: 50vh;
 }
 /*image wrapping in wordpress posts*/
 img.alignright {float:right; margin:1em 0 1em 1em}
 img.alignleft {float:left; margin:1em 1em 1em 0}
 img.aligncenter {display: block; margin-left: auto; margin-right: auto}
 .alignright {float:right; }
 .alignleft {float:left; }
 .aligncenter {display: block; margin-left: auto; margin-right: auto}
.main-site-container a{
  color:unset;
  text-decoration:none;
}
.zw-image img{
  width: 100%;
  height: auto !important;
}
blockquote {
  padding: 29px 30px 12px;
  font-size: 21px;
  border-left: 4px solid #5B53F8;
  background: 0 0;
  font-style: normal;
  color: #232;
  font-weight: 400;
  position: relative;
  line-height: 1.5;
  box-shadow: 0 0 30px 0 rgb(0 0 0 / 8%);
}
blockquote p {
  font-size: 16px;
  margin-bottom: 12px;
}
.main-site-container {
  margin: 5px auto 0;
  box-shadow: 1px 1px 5px 5px #e2e2e2;
  width: 1500px;
  max-width: 100%;
  min-height: 90vh;
  background: #fbfbfb;
}
.main-site-container-inner {
  display:flex;
  padding:10px;
}
.padding-row{
  padding:15px 5px;
}
.padding-right{
  padding-right:15px;
}
.flex-column{
  display: flex;
  flex-direction: column;
}
.flex-row{
  display: flex;
  flex-direction: row;
}
.flex-space{
justify-content: space-between;
}
.flex-1{
  position:relative;
  flex:1;
}
.flex-2{
  position:relative;
  flex:2;
}
.flex-3{
  position:relative;
  flex:3;
}
.flex-4{
  position:relative;
  flex:4;
}
.flex-5{
  position:relative;
  flex:5;
}
.breadcrumb_icon {
  padding: 0 8px;
}

.emoji {
  display: inline-block;
  height: 1em !important;
  width: 1em !important;
  margin: 0 .05em 0 .1em;
  vertical-align: -0.1em;
  background: currentColor;
  border-radius: .1em;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .2);
}


/* TABLE */
/* table{
	width: 100%;
	margin-bottom: 62px;
	border-collapse: collapse;
  color: #5B53F8;
  text-align: initial;
  margin: 20px 0px;
}
table:last-child{
	margin-bottom: 0px;
}
table tr:nth-child(even){
	background: #fde5c5;
}
table tr:nth-child(odd){
	background: #eff4f5;
}
table td{
	padding: 14px 20px;
	border-right: 2px solid #85c1cc;
}
table td:first-child, table td:last-child{
	text-align: initial;
}
table td:first-child{
	width: 110px;
}
table td:last-child{
	width: 180px;
	border-right: 0;
} */


table {
  border-collapse: collapse;
  width: 100%;
  cursor: pointer;
}
table, th, td {
  border: 1px solid #ddd;
  padding: 10px;
  line-height: initial;
}
table th {
  background-color: #5B53F8;
  color: #fff;
  text-align: left;
  font-weight: 600;
}
table td {
  
}
table tbody tr:hover {
  background-color: #ffffff;
}
table tr:nth-child(even) {
  background-color: #f5f5f5;
}
table tr:nth-child(odd) {
  background-color: #ffffff;
}
/* NEW STYLES */
.single-post-container ol {
  display: grid;
}
.single-post-container article ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.single-post-container article ul li::before {
  /* position: absolute;
  left: 0px; */
  content: "► ";
  color: #5B53F8
}
.single-post-container article li {
  position: relative;
  padding-left: 25px;
  margin-left: 20px;
  padding-bottom: 10px;
  font-size: 17px;
}
/* TABLE END */
/*===============   header   =====================*/
/* =========================================================
   FUTURE LIVE — NEW DESKTOP HEADER
   ========================================================= */
a.brand {
    margin-left: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #e1e3e6;
}

.site-header a:focus-visible,
.site-header button:focus-visible {
    outline: 3px solid #5B53F8;
    outline-offset: 2px;
}


/* ---------------------------------------------------------
   MASTHEAD
   --------------------------------------------------------- */

.masthead {
    background: #413DB5;
}

.masthead-inner {
    display: grid;
    grid-template-areas: "brand navigation search";
    grid-template-columns: 70px minmax(0, 1fr) 160px;
    min-height: 60px;
    align-items: center;
    gap: clamp(16px, 1.8vw, 26px);
    padding-top: 5px;
    padding-bottom: 5px;
}


/* ---------------------------------------------------------
   LOGO
   --------------------------------------------------------- */

.brand {
    grid-area: brand;
    display: block;
    width: fit-content;
}

.brand img {
    display: block;
    width: 70px;
    height: auto;
    object-fit: contain;
}


/* ---------------------------------------------------------
   NAVIGATION
   --------------------------------------------------------- */

.main-navigation {
    grid-area: navigation;
    width: 100%;
    min-width: 0;
    align-self: stretch;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.32); */
}

/* =========================================================
   FUTURE LIVE — MOBILE HEADER
   ========================================================= */
@media (min-width: 1201px) {
    .menu-button {
      display: none !important;
    }
    .mobile-search-toggle {
      display: none;
    }
}
@media (max-width: 1200px) {

    .masthead {
        background: #413DB5;
    }

    .masthead-inner {
        display: grid;

        grid-template-areas:
            "brand menu"
            "search search";

        grid-template-columns: 1fr auto;

        align-items: center;

        gap: 0;

        padding: 10px 14px 12px;
    }


    /* LOGO */

    .brand {
        grid-area: brand;
        display: block;
    }

    .brand img {
        display: block;
        width: 72px;
        height: auto;
    }


/* MENU BUTTON CONTAINER (EXACT MATCH) */
    .menu-button {
        grid-area: menu;
        position: relative;
        display: flex;
        width: 80px;
        min-height: 36px;
        align-items: center;
        justify-content: flex-end;
        justify-self: end;
        flex-direction: row;
        gap: 0;
        padding: 0 11px 0 81px;
        color: var(--paper, #ffffff);
        background: transparent;
        border: none;
        border-radius: 3px;
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.035em;
        text-transform: uppercase;
        cursor: pointer;
    }

    /* SPAN LINES BASE STYLING */
    .menu-button span {
        position: absolute;
        top: 50%;
        left: 9px;
        display: block;
        width: 18px;
        height: 2px;
        background: var(--paper, #ffffff);
        transition: opacity 160ms ease, transform 160ms ease;
    }

    /* CLOSED STATE (HAMBURGER POSITIONS) */
    .menu-button span:nth-child(1) {
        transform: translateY(-6px);
    }

    .menu-button span:nth-child(2) {
        transform: translateY(0);
    }

    .menu-button span:nth-child(3) {
        transform: translateY(6px);
    }

    /* OPEN STATE (ANIMATED 'X' CLOSE ICON) */
    body.menu-open .menu-button span:nth-child(1) {
        transform: translateY(0) rotate(45deg);
    }

    body.menu-open .menu-button span:nth-child(2) {
        opacity: 0;
    }

    body.menu-open .menu-button span:nth-child(3) {
        transform: translateY(0) rotate(-45deg);
    }

    /* TEXT LABEL STYLING */
    .menu-button b {
        font-size: 0.75rem;
        color: #ffffff;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        font-weight: 600;
        margin-top: 2px;
    }
    button#mobile-menu-button:hover, .mobile-search-toggle:hover {
      background: rgba(255, 255, 255, 0.1);
    }


    /* SEARCH */

    .site-search {
        grid-area: search;

        display: grid;

        grid-template-columns: 32px minmax(0, 1fr);

        width: 100%;
        height: 34px;

        margin-top: 8px;

        box-sizing: border-box;
    }

    /* Masthead Grid: brand | search-toggle | menu */
    .masthead-inner {
        display: grid;
        grid-template-areas:
            "brand search-toggle menu"
            "search search search";
        grid-template-columns: 1fr auto auto;
        align-items: center;
        gap: 0 10px;
        padding: 10px 14px 12px;
    }

    /* Mobilios paieškos mygtuko stilius */
    .mobile-search-toggle {
        grid-area: search-toggle;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: #ffffff;
        cursor: pointer;
        padding: 6px 5px 4px 6px;
    }

    /* Telefone paieškos juosta paslėpta pagal nutylėjimą */
    .site-search {
        grid-area: search;
        display: none !important;/* Paslepia paieškos laukelį */
        margin-top: 10px;
    }

    /* Kai paspaudžiama ikona, paieška parodoma */
    body.search-open .site-search {
        display: grid !important;
    }


    /* MENU CLOSED */

    .main-navigation {
        display: none;

        grid-area: navigation;

        width: 100%;

        border: 0;
    }


    /* MENU OPEN */

    body.menu-open .main-navigation {
        display: block;

        grid-column: 1 / -1;

        width: 100%;

        margin-top: 10px;
    }


    /* WORDPRESS WRAPPER */

    .main-navigation > div {
        display: block;

        width: 100%;
        height: auto;
    }


    /* WORDPRESS UL */

    .main-navigation ul {
        display: block;

        width: 100%;
        height: auto;

        margin: 0;
        padding: 0;

        list-style: none;
        border: 0;
    }


    /* WORDPRESS LI */

    .main-navigation li {
        display: block;

        width: 100%;

        margin: 0;
        padding: 0;

        border: 0;
    }


    /* MENU LINKS */

    .main-navigation li > a {
        display: flex;

        width: 100%;
        height: 41px;
        min-height: 41px;

        align-items: center;

        box-sizing: border-box;

        padding: 0 12px;

        color: #ffffff;
        background: transparent;

        border: 0;

        font-family:
            "Barlow Semi Condensed",
            "Arial Narrow",
            Arial,
            sans-serif;

        font-size: 0.75rem;
        font-weight: 700;

        letter-spacing: 0.045em;
        line-height: 1.2;

        text-decoration: none;
        text-transform: uppercase;
    }


    /* NO DESKTOP UNDERLINE ON MOBILE */

    .main-navigation li > a::after {
        display: none;
    }


    /* HOVER */

    .main-navigation li > a:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
    }


    /* ACTIVE */

    .main-navigation li.current-menu-item > a,
    .main-navigation li.current-menu-parent > a,
    .main-navigation li.current-menu-ancestor > a,
    .main-navigation li.current_page_item > a {

        color: #ffffff;

        background: rgba(255, 255, 255, 0.16);

        border-left: 3px solid #ffffff;
    }

}

/*
 * WordPress wp_nav_menu() usually generates:
 *
 * <div>
 *     <ul>
 *         <li><a>...</a></li>
 *     </ul>
 * </div>
 *
 * These rules make that markup behave like the new demo nav.
 */

.main-navigation ul {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 0;
}

.main-navigation li {
    float: none;
    list-style: none;
    margin: 0;
    padding: 0;
}


/* handles the default WordPress menu wrapper */

.main-navigation > div {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 100%;
}


/* menu links */

.main-navigation li > a {
    position: relative;
    display: flex;
    min-height: 100%;
    height: 100%;
    align-items: center;
    padding-left: clamp(9px, 0.82vw, 13px);
    padding-right: clamp(9px, 0.82vw, 13px);

    color: #ffffff;
    background: transparent;
    border-radius: 0;

    font-family: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: clamp(0.74rem, 0.76vw, 0.82rem);
    font-weight: 700;
    letter-spacing: 0.045em;
    line-height: 1.2;

    opacity: 1;
    text-transform: uppercase;
    text-decoration: none;

    transition: color 160ms ease;
}


/* underline */

.main-navigation li > a::after {
    position: absolute;
    right: 10px;
    bottom: -1px;
    left: 10px;
    height: 2px;

    background: rgba(255, 255, 255, 0.55);

    content: "";
    transform: scaleX(0);
    transform-origin: center;

    transition: transform 160ms ease;
}


/* hover */

.main-navigation li > a:hover {
    color: #ffffff;
    background: transparent;
}

.main-navigation li > a:hover::after {
    transform: scaleX(1);
}


/* current / active WordPress item */

@media (max-width: 1200px) {
  .main-navigation li.current-menu-item > a,
  .main-navigation li.current-menu-parent > a,
  .main-navigation li.current-menu-ancestor > a,
  .main-navigation li.current_page_item > a {
      padding-left: 9px;
      background: rgba(255, 255, 255, 0.12);
      border-left: 3px solid #ffffff;
  }
}


/* active underline */

.main-navigation li.current-menu-item > a::after,
.main-navigation li.current-menu-parent > a::after,
.main-navigation li.current-menu-ancestor > a::after,
.main-navigation li.current_page_item > a::after {
    height: 4px;
    background: #ffffff;
    transform: scaleX(1);
}


/* ---------------------------------------------------------
   SEARCH
   --------------------------------------------------------- */

.site-search {
    grid-area: search;

    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);

    width: calc(100% - 10px);
    min-width: 0;
    box-sizing: border-box;

    height: 34px;

    align-items: stretch;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

.site-search:focus-within {
    background: rgba(255, 255, 255, 0.20);
    border-color: rgba(255, 255, 255, 0.62);
}


/* visually hidden label */

.search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;

    clip: rect(0 0 0 0);
    clip-path: inset(50%);

    white-space: nowrap;
}


/* search button */

.search-submit {
    display: grid;

    width: 32px;
    height: 32px;

    padding: 0;
    place-items: center;

    color: rgba(255, 255, 255, 0.9);
    background: transparent;
    border: 0;

    cursor: pointer;
}

.search-submit:hover {
    color: #ffffff;
}


/* search icon */

.search-submit svg {
    width: 16px;
    height: 16px;

    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}


/* search field */

.site-search input {
    min-width: 0;
    width: 100%;
    height: 32px;

    padding: 0 10px 0 0;

    color: #ffffff;
    background: transparent;

    border: 0;
    outline: 0;
}

.site-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
    opacity: 1;
}


/* ---------------------------------------------------------
   NEWS TICKER
   --------------------------------------------------------- */
.news-ticker {
    background: #ffffff;
    border-bottom: 1px solid #e1e3e6;
}

.ticker-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;

    min-height: 38px;

    align-items: center;
    gap: 18px;
    
    padding: 0 10px;
}


/* "Svarbu dabar" */

.ticker-label {
    padding-right: 18px;

    color: #413DB5;

    border-right: 2px solid #5B53F8;

    font-family: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: 0.86rem;
    font-weight: 700;

    white-space: nowrap;
}


/* ticker viewport */

.ticker-items {
    min-width: 0;
    overflow: hidden;
}


/* moving ticker */

.ticker-track {
    display: flex;
    width: max-content;

    will-change: transform;

    animation: soft-ticker-drift 52s linear infinite;
}


/* each repeated group */

.ticker-group {
    display: flex;
    flex: 0 0 auto;

    padding-right: 36px;
}


/* individual news item */

.ticker-item {
    display: inline-flex;

    min-height: 38px;

    align-items: center;

    flex: 0 0 auto;

    padding-left: 18px;
    padding-right: 18px;

    border-right: 1px solid #e1e3e6;

    color: #15191d;

    font-size: 0.8rem;
    font-weight: 500;

    white-space: nowrap;
    text-decoration: none;
}


/* first item doesn't have left padding */

.ticker-group .ticker-item:first-child {
    padding-left: 0;
}


/* ticker hover */

.ticker-item:hover {
    color: #413DB5;
}


/* time */

.ticker-item time {
    display: inline;

    margin-right: 5px;

    color: #5B53F8;

    font-weight: 700;
}


/* pause animation while hovering */

.ticker-items:hover .ticker-track,
.ticker-items:focus-within .ticker-track {
    animation-play-state: paused;
}


/* ticker animation */

@keyframes soft-ticker-drift {
    to {
        transform: translate3d(-50%, 0, 0);
    }
}


/* ---------------------------------------------------------
   DATE / VILNIUS
   --------------------------------------------------------- */

.edition-date {
    margin: 0;

    color: #737981;

    font-size: 0.7rem;
    line-height: 1.2;

    white-space: nowrap;
}

.edition-city {
    color: #413DB5;
    font-weight: 700;
}

.edition-separator {
    color: #737981;
}

.edition-date time {
    display: inline;

    color: inherit;
    font-size: inherit;
}

@media (max-width: 600px) {
  .edition-date{
    display: none;
  }
}
/*-----------------------------------------------------------------------------------------*/
/* WordPress Native Menu Structural Bridge */
.main-navigation ul {
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation li {
  position: relative;
  display: flex;
  align-items: stretch;
}

.main-navigation li a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100%;
  padding-inline: clamp(9px, 0.82vw, 13px);
  color: var(--paper, #ffffff);
  font-family: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(0.74rem, 0.76vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 160ms ease;
}

.main-navigation li a::after {
  position: absolute;
  right: 10px;
  bottom: -1px;
  left: 10px;
  height: 2px;
  background: rgba(255, 255, 255, 0.55);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.main-navigation li a:hover::after,
.main-navigation li.current-menu-item > a::after,
.main-navigation li.current-post-ancestor > a::after {
  transform: scaleX(1);
}

.main-navigation li.current-menu-item > a::after,
.main-navigation li.current-post-ancestor > a::after {
  height: 4px;
  background: var(--paper, #ffffff);
}

/* Mobile Responsive Overrides */
@media (max-width: 980px) {
  .main-navigation ul {
    flex-direction: column;
    width: 100%;
  }

  .main-navigation li a {
    width: 100%;
    min-height: 42px;
    justify-content: flex-start;
    font-size: 0.82rem;
    padding-inline: 12px;
    border-radius: 2px;
  }
}



/*================== front page ===================== */
.headline15{
  text-transform: uppercase;
  font-weight: 600;
  font-size: 15px;
  margin: 0;
}
.headline16{
  text-transform: uppercase;
  font-weight: 400;
  line-height: 22px;
  font-size: 14px;
  margin: 0px 0px 24px 0;
}
.headline17{
  text-transform: uppercase;
  font-weight: 400;
  color: #666;
  font-size: 16px;
  margin: 0px 0px 18px 0;
}
.latest-cat-post-container{
  flex:1;
  padding: 0 20px;
  margin-bottom: 20px;
}
.cat-news-column-container{
  display: flex;
  flex-direction: column;
  border: 1px solid #dcdcdc;
  margin: 10px 0px;
}
.photos-block.grid-container{
  margin:20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 15px;
  grid-column-gap: 30px;
  grid-template-columns: repeat(auto-fill, 100px); */
}
.photos-block.grid-container .photo-container{
  margin: 10px 20px;
  position: relative;
  width: 200px;
  height: 100px;
  overflow: hidden;
}
.photos-block.grid-container .photo-container .photo-pop-title{
  position: absolute;
  display: block;
  width: 100%;
  height:100%;
  background: rgba(0,0,0,0.85);
  z-index: 10;
  bottom: -110px;
  left: 0;
  transition:0.5s;
}
.photos-block.grid-container .photo-container:hover .photo-pop-title{
  bottom:0;
}
.photos-block.grid-container .photo-container .photo-pop-title h5{
  display: block;
  padding: 5px;
  margin: 0;
  text-transform: uppercase;
  font-size: 11px;
  color: #ececec;
}
.photo-read-more{
  display: block;
  padding: 10px;
  width: 100%;
  margin: 0 auto;
  color: #fff;
  font-size: 10px;
  text-transform: uppercase;
  background: #CED4FF;
}
.front-youtube{
  margin: 20px 0;
  box-shadow: 1px 5px 16px 2px #000;
}
.front-youtube iframe{
  width: 100%;
}
.articles-container-second{
  flex-flow:row wrap;
  justify-content: space-evenly;
}
.single-second-container{
  padding: 10px;
  width: 200px;
}

#Populiariausi .single-second-container{
  width: 200px;
  background: #fff;
  padding: 10px;
  /* box-shadow: var(--shadow); */
  margin: 26px 0px;
}
.sec-title h5{
  text-transform: uppercase;
  /* font-weight: 600;
  font-size: 15px; */
  margin: 8px 0px 18px 0;
  font-weight: 600;
  font-size: 13px;
  line-height: 20px;
}
.articles-container{
  margin-top:10px;
  border:1px solid #e4e4e4;
}
.latest-cat-post{
  padding: 20px 15px 0px;
  position: relative;
  max-width: 300px;
}
.cat-posts-single{
  /* padding:14px; */
  padding: 14px 5px;
  border-bottom: 1px solid #d1d1d1;
  border-top: 2px solid #fff;
  display: flex;
  flex-direction: row;
}
.cat-image-container{
  text-align: center;
  margin-right: 6px;
}
.cat-image-container img,
.sec-image img,
.small-pic img {
  width: 200px;
  height: 100px;
  object-fit: cover;
}
.cat-text-container{
  position: relative;
}
.cat-post-small-time{
  position: absolute;
  bottom: 0px;
  left: 0px;
}
.cat-post-small-time span{
  color: #a7a7a7;
  text-transform: uppercase;
  font-weight: 300;
  font-size: 13px;
}
.latest-cat-pot-img img{
  margin:15px 0px;
}
.latest-cat-pot-img img{
  max-width: 100%;
  display: block;
  margin:15px auto;
}
.latest-cat-pot-title h4{
    text-transform: uppercase;
    margin: 0 0 15px 0;
    font-size: 17px;
}
.latest-cat-pot-excerpt{
  font-family: 'Castoro', Georgia, 'Times New Roman', Times, serif;
  font-size: 15px;
  color: #666;
  line-height: 23px;
  text-align: justify;
  margin-bottom: 25px;
}
.latest-cat-pot-readmore a{
  display: block;
  text-decoration: none;
  background: #5B53F8;
  width: fit-content;
  font-size: 13px;
  padding: 8px 12px;
  text-transform: uppercase;
  color: #fff;
}
.all-cat-posts{
  background: #f1f1f1;
  margin-left: 10px;
}
.big-image-container img{
  width:auto;
  height: 100%;
}
.main-latest-news .big-image-container{
  position: relative;
  overflow: hidden;
}
.bg-img-text-container{
  /* position: absolute;
  bottom: 0;
  left: 0; */
  width: 100%;
}
.bg-img-aticle-title{
  margin:0;
  /* margin-bottom: 5px; */
}
.bg-img-aticle-title span{
  background: #5B53F8;
  padding: 5px 17px;
  display: block;
  color: #fff;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 20px;
}
.bg-img-article-text{
  background: rgba(0,0,0,0.85);
  padding: 10px;
  margin: 0;
  color: #fff;
  line-height: 23px;
  text-transform: uppercase;
  font-size: 14px;
}
.news-block {
  flex-flow: row wrap;
  /* align-content: stretch; */
  flex-wrap: wrap;
  position: relative;
  padding-top: 10px;
  padding-bottom: 4px;
  margin: 0px auto;
  width: 94%;
  flex-basis: auto;
  background: #fff;
}
.news-block .small-pic{
  overflow: hidden;
  padding-left: 10px;
}
.news-block .small-pic img,
.big-image-container img{
  -webkit-transition: -webkit-transform .3s ;
  -ms-transition: -ms-transform .3s ;
  transition: transform .3s;
  max-width: none;
}
.news-block .small-pic img:hover,
.big-image-container img:hover{
    transform:scale(1.2) rotate(5deg) ;
    -ms-transform:scale(1.2) rotate(5deg);
    -webkit-transform:scale(1.2) rotate(5deg);
}
.news-block .article-time{
  position: absolute;
  bottom: 5px;
  left: 5px;
}
.devider{
  margin: 0px auto;
  width: 94%;
  height: 7px;
  background: url(images/dots.png)
}
.front-category.flex-3{
  margin-right: 15px;
}
.front-category-title-second h3{
  margin: 0;
  border-bottom: 2px solid #5B53F8;
}
.front-category-title-second h3 span{
  text-transform: uppercase;
    font-weight: 400;
    font-size: 15px;
    background: #5B53F8;
    color: #fff;
    padding: 3px 10px 1px;
}
.front-category-title h3{
    margin: 0;
    display: block;
    background: url(images/dots.png);
}
.sidebar-category-title{
    margin: 0;
    display: block;
    background: url(images/dots.png);
    
}

.sidebar-category-title span {
  color: #5B53F8;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 15px;
  background: white;
  padding-right: 10px;
}


.front-category-title h3 span{
  background: #fff;
  color: #5B53F8;
  font-weight: 400;
  padding-right: 10px;
  text-transform: uppercase;
  font-size: 15px;
}
.news-block .category span{
  background: #5B53F8;
  color: #fff;
  font-weight: 300;
  text-transform: uppercase;
  padding: 3px 10px;
  font-size: 12px;
  }
  .news-block a{
    text-decoration: none;
    color:unset;
  }

  .news-block .headline h3{
    word-break: break-word;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 15px;
    line-height: 23px;
    margin: 12px 0 35px 0;
}
.news-block .article-time span{
    color: #a7a7a7;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 12px;
    margin-bottom: 8px;
    display: block;
}
.most-pop-news-block{
  flex-flow: row wrap;
  position: relative;
  padding-top: 15px;
  padding-bottom: 10px;
}
/* .most-pop-news-block .headline h3{
  text-transform: uppercase;
  font-weight: 600;
  font-size: 15px;
  margin: 0;
} */
.most-pop-news-block p{
  font-family: 'Castoro', Georgia, 'Times New Roman', Times, serif;
  font-size: 14px;
  color: #666;
  /* line-height: 20px; */
  padding-right: 20px;
  text-align: justify;
  margin: 5px 0px;
  }

.news-block-column {
  padding: 18px 5px;
  border-bottom: 1px solid #dcdcdc;
  display: flex;
  flex-flow: row wrap;
  flex-wrap: wrap;
  position: relative;
  flex: 1;
}
.small-pic-container{
  max-width: 200px;
  margin-right: 10px;
  flex:1;
}
.cat-column-time{
  position: relative;
}
.cat-column-time span {
  color: #a7a7a7;
  text-transform: uppercase;
  font-weight: 300;
  font-size: 13px;
}

/* .tabs-container{
  background:#737373;
  box-shadow: 0px 5px 11px 5px silver;
} */
.tabs-bar {
  border-bottom: 3px solid #5B53F8;
}
.tabs-main-container{
  text-align: center;
  background: #ffffff;
  border: 2px solid #5B53F8;
  padding: 5px;
  border-top: none;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}
.tabs-bar .tablink{
  outline: none;
  border: none;
  border-right: 1px solid #777;
  color: #fff;
  background: #323a45;
  padding: 10px;
  text-transform: uppercase;
  cursor: pointer;
}
.tabs-bar .tablink.active-tab{
  background: #5B53F8;
  font-weight: bold;
}
.tabs-container .most-pop-news-block{
  border-bottom: 1px solid #a0a0a0;
  border-top: 1px solid #CED4FF;
}
#Populiariausi .single-second-container{
  position: relative;
}
#Populiariausi .single-second-container .view-count{
  opacity: 0;
  position: absolute;
  width: 100%;
  left: 0;
  margin: 0 auto;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  top: 0px;
  transition: 0.3s;
}
#Populiariausi .single-second-container:hover .view-count{
  opacity:1;
}
#Populiariausi .view-count span{
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 5px 0px 12px 0px;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.7) 68%,rgba(0,0,0,0));
  }
/* ====================sidebar====================== */
.sidebar-posts-single{
  padding: 14px 5px;
  border-bottom: 1px solid #d1d1d1;
  border-top: 2px solid #fff;
  display: flex;
  flex-direction: row;
}
.sidebar-post-title{
  text-transform: uppercase;
  margin: 0;
  font-weight: 400;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 20px;

  font-family: 'Castoro', Georgia, 'Times New Roman', Times, serif;
}
.sidebar-posts-container{
    width: 460px;
    margin-left: auto;
    margin-right: auto;
}

#sidebar-container{
  flex: 1;
  padding-left: 20px;
  flex-direction: column;
  justify-content: end;
}

/*===================post============================*/
.single-post-container{
  display: flex;
  flex-direction: row;
  margin:20px 0px;
}
#post-inner-container{
  flex: 2;
  padding: 0 40px;
  max-width: 900px;
  font-family: 'Castoro', Georgia, 'Times New Roman', Times, serif;
}
#post-inner-container a{
  color: #5B53F8;
}
#post-inner-container p{
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  font-family: 'Castoro', Georgia, 'Times New Roman', Times, serif;
  color: #333;
  margin-bottom: 1.2em;
  overflow-wrap: break-word !important;
}

/* Article content typography with Castoro */
#post-inner-container blockquote,
#post-inner-container ul,
#post-inner-container ol,
#post-inner-container li,
#post-inner-container div {
  font-family: 'Castoro', Georgia, 'Times New Roman', Times, serif;
}

#post-inner-container blockquote {
  font-size: 18px;
  line-height: 1.6;
  font-style: italic;
}

#post-inner-container ul li,
#post-inner-container ol li {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 0.5em;
}

#post-inner-container strong,
#post-inner-container b {
  font-weight: 400;
  color: #222;
}

#post-inner-container em,
#post-inner-container i {
  font-style: italic;
}


.single-post-image picture img{
  width: 100%!important;
  height: auto!important;
}
/*=================== archive ======================  */
#pb-navi{
  display: block;
  width: 100%;
  text-align: center;
  margin: 20px 0;
}
#pb-navi-inner span,
#pb-navi-inner a{
  display: inline-block;
  font-size: 20px;
  margin: 5px;
  font-weight: bold;
  color: #181d24;
}
#pb-navi-inner span.current{
  color:#5B53F8;
}
.archive-post-date{
      color: #777
}
.archive-post-title{
  margin-top: 0;
  text-transform: uppercase;
  font-size: 21px;
  color: #5B53F8;
}
.archive-post-excerpt{
  line-height: 25px;
  margin-bottom: 20px;
}
#archive-page-container{
  display: flex;
  margin:20px 0px;
}
#archive-posts-container{
  flex:2;
  display: flex;
  flex-direction: column;
}
.archive-post{
  margin: 20px 0;
  padding-bottom: 40px;
  border-bottom: 1px solid #a7a7a7;
  flex: 1;
  display: flex;
  flex-direction: row;
}
.archive-post-img-container{
  margin-right: 20px;
}
/*===================site footer=====================*/
.site-footer{
  color: #555555;
  background: #191919;
  padding: 15px;
  margin-top:30px;
}
.site-footer .foot-title{
  color: #5B53F8;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 15px;
  border-bottom: 1px solid #5B53F8;
}
.site-footer .foot-title span{
  color: #fff;
  background: #5B53F8;
  padding: 3px 10px 1px 10px;
}
.flex-30perc{
  flex-basis: 30%;
}
.footer-nav ul{
  padding:0;
}
.footer-nav ul li{
  padding:0;
  margin:0;
  list-style: none;
}
.footer-nav ul li a{
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  color:#fff;
  text-decoration: none;
}
.img-inner{
  position:relative;
  float: right; /* this was added and display removed */
  right: 50%;
}
.img-inner img{
  width: 100% !important;
  height: auto;
  position: relative;
  right:-50%;
}
.main-latest-news.flex-1.flex-column>.flex-row{
  margin-bottom: 20px;
}
.mid-pic-container{
  max-width: 200px;
  padding-right: 20px;
  flex:1;
}

.wp-caption-text{
    font-size: 12px!important;
}
#post-inner-container h1,
#post-inner-container h2,
#post-inner-container h3,
#post-inner-container h4,
#post-inner-container h5,
#post-inner-container h6{
    display: block;
    color: #5B53F8;
    font-family: 'Gabarito', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin: 10px 0;
}
#post-inner-container h1{
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
#post-inner-container h2{
  font-size: 40px;
  font-weight: 700;
}
#post-inner-container h3{
  font-size: 35px;
  font-weight: 700;
}
#post-inner-container h4{
  font-size: 28px;
  font-weight: 600;
}
#post-inner-container h5{
  font-size: 23px;
  font-weight: 600;
}
#post-inner-container h6{
  font-size: 18px;
  font-weight: 500;
}
#single-sticky-widget{
    position: sticky;
    top:60px;
}
#single-sticky-widget .sticky-widget-title{
    text-align: center;
    display: block;
    font-size: 12px;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 7px 0;
}

/* align banner */
.adsbygoogle{				
    float: right;	
}

/* fixes */
.front-category.flex-2 .articles-container-second {
	display: flex;
}

/* DOCTOR BLOCK */
.doctor_block{
  display: flex;
  align-items: center;
}
.doctor_block_img{
  max-width: 140px;
  width: 100%;
  height: auto;
}
.doctor_text_block{
  margin-left: 20px;
}
.doctor_block_name{
  font-size: 20px;
  font-weight: 600;
}
.doctor_block_text{
  font-style: italic;
}
/* DOCTOR BLOCK END*/

.related-posts-title{
  font-size: 35px;
  display: block;
  color: #5B53F8;
  margin: 11px 0;
}

@media(max-width: 1200px){
  body{
    margin:0 1%;
  }

  .latest-cat-pot-readmore{
    margin-bottom: 30px;
  }
  #sidebar-container .sidebar-posts-container{
    width: 100%;
  }
  #archive-page-container{
    flex-direction: column;
  }
  .latest-cat-post{
    max-width: unset;
  }
  .latest-news-container.flex-2.flex-column{
    margin-bottom: 30px;
  }
  .most-pop-news-block .flex-1{
    text-align: center;
  }
  .main-latest-news.flex-1.flex-column>.flex-row{
    margin-bottom: 0;
  }
  .photos-block.grid-container {
    /* margin: 20px auto;
    width: 100%;
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(auto-fill, 100px); */
  }
  .main-latest-news.flex-1.flex-column .flex-3.padding-right{
    padding-right:0;
    margin:30px 0px;
  }
  .small-pic{
    text-align: center;
  }
  .small-pic img{
    max-width: 100%;
    height:auto;
  }
  .front-category.flex-2{
    margin: 30px 0;
  }

  #sidebar-container{
    padding-left: 0;
    padding-bottom:20px;
  }
  .single-post-container{
    flex-direction: column;
  }
  #post-inner-container{
    width: 91%;
    padding: 0;
    padding-bottom: 20px;
    margin: auto;
  }
  .main-site-container{
    box-shadow: none;
    margin:0;
  }
  #Populiariausi .single-second-container .view-count{
    opacity:1;
  }
  .front-category.flex-3 {
    margin-right: 0px;
}
  .news-block .small-pic img, .big-image-container img {
    float: right;
  }
  .main-site-container{
    width:100%;
    background: #fff;
  }
  .main-latest-news .articles-container{
    flex-direction: column;
  }
  .main-latest-news>.flex-row{
    display: flex;
    flex-direction: column;
  }
}
@media(max-width:700px){
  
  #archive-page-container, .breadcrumbs_links_container{
    padding-top: 40px;
  }
  .main-site-container-inner {
    padding: 0px;
  }



}
@media(max-width: 600px){
  .archive-post-text-container{
    max-width: 91%;
    margin:auto;

  }
  .archive-post {
    flex-direction: column;
  }
  .archive-post-img-container {
    text-align: center;
    margin-bottom: 21px;
  }
  ol {
    padding-left: 5px;
}
.single-post-container article li {
  padding-left: 12px;
}


}
@media(max-width: 500px){
  #post-inner-container h1{
    font-size: 35px;
  }
  #post-inner-container h2{
    font-size: 30px;
  }
  #post-inner-container h3{
    font-size: 25px;
  }
  #post-inner-container h4{
    font-size: 23px;
  }
  #post-inner-container h5{
    font-size: 20px;
  }
  #post-inner-container h6{
    font-size: 18px;
  }


  .small-pic img {
    width: 150px;
  }
  .doctor_block{
    flex-direction: column;
  }
  .doctor_text_block{
    margin-left: 0px;
  }
  .mid-pic-container {
    max-width: unset;
    padding-right: unset;
    flex: 1;
  }
  .most-pop-news-block{
    flex-direction: column;
    padding: 15px;
    text-align: center;
    width: 90%;
    margin: 10px auto;
    box-shadow: var(--shadow);
  }
  .most-pop-news-block .headline h3{
    margin:15px 0;
  }
  .news-block .small-pic img{
    float:none;
    display: block;
    margin:15px auto;
  }

  .news-block {
    flex-direction: column-reverse;
    margin: 15px auto;
    width: 100%;
  }
  .news-block .small-pic{
    padding-left:0px;
  }
  .padding-row {
    padding:0px;
  }
  .news-block .flex-1{
    width:300px;
    margin:0px auto;
  }
  .site-footer {
    flex-direction: column;
  }
  .tabs-bar {
    flex-direction: column;
  }
  .single-post-container img:not(.emoji) {
	width: 100%!important;
	float: none!important;
	height: auto!important;
  }
}

/* media for IE */

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
   .flex-column, .cat-news-column-container, .archive-post{
		display: block;
	}
	.flex-1-left{
		float:left;
		max-width:330px;
	}
	.height-100{
		min-height: 100px;
	}
	.mid-pic-container, .archive-post-img-container{
		float:left;
	}
	.small-pic picture{
		float:right;
	}
	.main-latest-news a, .main-site-container a{
		color: #000000;
	}
	.articles-container-second .single-second-container{
		padding: 10px 15px 10px 40px;
	}
	#Populiariausi .single-second-container{
		margin:26px 28px 26px 33px
	}
	.most-pop-news-block .small-pic img{
		float:left;
	}
	.grid-container.photos-block .photo-container{
		display:inline-block;
		padding-right:30px;
	}
	.archive-post{
		min-height:160px;
	}
	.archive-post-img-container{
		min-height:180px;
	}
	.archive-post-title a{
		color: #5B53F8;
	}
	.latest-cat-pot-readmore a{
		color: #ffffff;
	}
	
	@media (max-width: 1200px){
		    .main-latest-news>.flex-row, .flex-row{
				display: block;
			  }

}
@media (max-width: 500px){
		.articles-container-second{
			display: -ms-flexbox;
		}
		.mid-pic-container, .most-pop-news-block .small-pic img{
			margin:auto;
			float:none;
		}
		.height-100{
			margin:120px 0 20px;
		}
		.tabs-bar .tablink{
			display:block;
			width:100%;
		}
		#Populiariausi .single-second-container{
			width:100%;
			margin:auto;
			margin-top:20px;
		}
		#Populiariausi .articles-container-second{
			padding:0 90px;
		}
}
}
/* need to put in ms media together with max-width*/
@media (max-width: 1200px){
		    .main-latest-news>.flex-row, .flex-row{
				display: block;
			  }

}
@media (max-width: 500px){
		.articles-container-second{
			display: -ms-flexbox;
		}
		.tabs-bar .tablink{
			display:block;
		}
		.img-inner img {
		/* width: auto!important; */
      width: 100% !important;
      height: auto;
	}
}
@media (min-width: 1440px){
	.img-inner img {
		min-width: 882px;
		height: 508px;
	}
}

/* Fixes */

#Populiariausi .custom-populiariausi-img img {
	width: 200px;
	height: 100px;
	object-fit: cover;
}

@media(max-width: 500px){
  .single-post-image {
    padding-right: 0 !important;
  }
	#Populiariausi .single-second-container {
		margin-left: auto;
		margin-right: auto;
		width: 100%;
		padding: 0;
	}
	#Populiariausi .custom-populiariausi-img img {
		width: 100%;
		height: auto;
	}
  .sub-sub-cat-name span{
    font-size: 17px;
  }
  .posts-container {
    display: block !important;
  }
  .sub-sub-category-post-item {
    display: block !important;
    background-color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }
  .cat-image-container{
    margin-right: 0;    
  }
  #post-inner-container h5{
    text-align: center;
  }
  .small-time{
    display: none;
  }
  .related-posts{
    border: 2px solid #5B53F8;
    padding: 5px;
    border-radius: 5px;
    padding-right: 10px;
    padding-left: 10px;
    background-color: #f1f1f1;
  }

 
  .cat-text-container
  {
    padding-left: 0 !important;
  }
  .sub-sub-cat-name span{
    background-color: #f1f1f1 !important;
  }
  h5.sidebar-post-title {
    padding-left: 7px;
    padding-right: 7px;
}
.cat-post-small-time{
  padding-left: 20px;
}
.front-youtube iframe {
  width: 100%;
  height: 250px !important;

}

}

/*article bottom*/
.sub-sub-category-post {
  display: flex;
  flex-direction: column;
}
.parent-sub-post{
  display: flex;
  flex-direction: column;
}

.random-post{
  display: flex;
  flex-direction: column;
}

.posts-container {
  display: flex;
  flex-wrap: wrap; 
}

.sub-sub-category-post-item {
  flex: 1 1 50%; 
  
}

.sub-sub-cat-name {
  margin-top: 20px;
  margin-bottom: 20px;
  background: url(images/dots.png);
}
.sub-sub-cat-name span{
  background-color: #fff;
  color: #5B53F8;
  padding-right: 10px;
}
.sub-sub-category-post-item {
  display: flex; 
  align-items: center; 
  justify-content: start; 
}

.cat-image-container {
  flex: 0 1 200px; 
}

.cat-text-container {
  flex-grow: 1; 
  padding-left: 10px !important;
  padding-right: 10px; 
}
#post-inner-container .sidebar-post-title {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: black;
  margin-bottom: 20px;
}
@media (min-width:800px) {
  .related-posts-title {
    margin-top: 80px !important;
  }

}
.cat-post-small-time{
  padding-left: 20px;
}
.front-youtube iframe {
  width: 100%;
  height: revert-layer;
}


/*table************************************************************************************************ */
@media screen and (max-width: 600px) {
  table, .mobile-friendly-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

}

.lwptoc .lwptoc_i {
  background-color: #E9E5FF !important;
  border: 1px solid #413DB5 !important;
}

.footer-logo {
  display: inline-block;
  width: 18px;
  height: auto;
  margin-left: 3px;
  vertical-align: bottom;
}

