@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .tab-container .tab-items span {
    padding: 0 14px;
  }
  .product-grid {
    flex-wrap: wrap;
  }
  .product-grid article {
    flex: 0 0 50%;
    margin-bottom: 10px;
  }
  .shop-block .block-title {
    width: 50%;
    left: 25%;
  }
  .grid-view {
    flex-wrap: wrap;
  }
  .grid-view article {
    flex: 0 0 50%;
    margin-bottom: 14px;
  }
  .single-post,
  .post-header,
  .post-content {
    width: auto;
    float: none;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 1.36rem;
  }
  h2 {
    font-size: 1.24rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  h4 {
    font-size: 1.05rem;
  }
  h5 {
    font-size: 1.02rem;
  }
  .shop-cart .cart-items {
    right: -12px;
  }
  .hidden-xs {
    display: none;
  }
  body.menu-is-shown #main {
    -webkit-filter: blur(1px);
  }
  .header-place {
    height: 71px;
  }
  #header > .container {
    flex-direction: row;
    padding: 12px 12px;
    margin-left: 15px;
    margin-right: 15px;
  }

  #header .flexer .column:nth-of-type(3) {
    flex: 0 0 calc(100% - 170px);
  }
  #header .flexer .column:nth-of-type(1) {
    flex: 0 0 170px;
  }
  #header .flexer .column:nth-of-type(2) {
    position: relative;
  }
  #header .menu-trigger {
    margin-right: 18px;
  }
  #header .menu-close {
    top: 6px;
    background: var(--darkRed);
  }
  .user-name {
    display: none;
  }
  .mega-topics {
    display: none;
  }
  .user-login {
    left: 15px;
    width: auto;
    right: 15px;
    transform: translateX(0);
    top: 15%;
  }
  .login-content {
    flex-direction: column;
  }
  .login-content .social-login {
    padding-left: 0;
    border-left: 0 none;
  }
  .login-content input {
    width: 100%;
  }
  #header form.header-search.shown {
    position: absolute;
    top: 100%;
    max-width: none;
    margin-top: 29px;
    z-index: 5;
  }
  #header form.header-search.shown input[type='text'] {
    font-size: 16px;
    box-shadow: none;
    height: 38px;
    line-height: 36px;
  }
  #header form.header-search.shown button {
    height: 38px;
    line-height: 38px;
  }
  .main-menu-topics {
    display: flex;
  }
  .main-menu {
    padding-top: 16px;
  }
  .main-mosaic {
    flex-direction: column;
  }
  .main-mosaic .entry-excerpt {
    display: none;
  }
  .main-mosaic .main-article {
    margin-bottom: 14px;
    padding-right: 0;
  }
  .main-mosaic .main-article::after {
    display: none;
  }
  .main-mosaic .secondary-articles {
    margin-bottom: 14px;
  }
  .main-mosaic .secondary-articles .entry-meta li {
    margin-right: 5px;
  }
  .grid-view {
    flex-wrap: wrap;
  }
  .grid-view article {
    flex: 0 0 50%;
    margin-bottom: 14px;
  }
  .group-banner {
    display: flex;
    padding: 14px;
    height: auto;
  }
  .group-banner .flexer {
    flex-direction: column;
  }
  .group-banner .the-icon svg {
    width: 32px;
    height: auto;
    position: absolute;
    margin-top: 16px;
  }
  .group-banner .the-image img {
    display: none;
  }
  .group-banner .the-content h3 {
    font-size: 1.1em;
    margin-top: 0;
    margin-left: 40px;
  }
  .group-banner .the-content p {
    font-size: 14px;
  }
  .group-banner .the-content form {
    display: flex;
  }
  .group-banner .the-content form input[type='text'],
  .group-banner .the-content form input[type='email'] {
    flex: 1;
  }
  .grid-view.numbered article {
    flex: 0 0 100%;
  }
  .grid-view.numbered figure {
    display: none;
  }
  .grid-view:not(.numbered) .entry-meta {
    flex-direction: column;
  }
  .grid-view:not(.numbered) .entry-meta li {
    margin-right: auto;
  }
  .grid-view:not(.numbered) .entry-meta li:last-child {
    margin-top: 4px;
    margin-right: auto;
  }
  .widget {
    margin: 20px 0;
  }
  .widget.basic {
    padding: 20px 0;
    margin: 0;
  }
  .sidebared {
    flex-direction: column;
  }
  .sidebared .side-content {
    margin-right: 0;
  }
  .sidebared .side-sidebar {
    flex: 1;
    margin-top: 20px;
  }
  article.is-advertorial {
    padding-bottom: 28px;
  }
  article.is-advertorial .advertorial-badge {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  .list-view {
  }
  .list-view article {
    flex-direction: row;
  }
  .list-view article header .title {
    font-size: 1.05rem;
    line-height: 1.2;
  }
  .list-view article figure {
    margin-bottom: 8px;
    margin-right: 8px;
    margin-top: 28px;
    flex: 0 0 120px;
  }
  .list-view article header .title {
    font-size: 15px;
  }
  .list-view .entry-topic {
    top: 0;
    bottom: auto;
  }
  .tab-container .tab-items span {
    padding: 0 7px;
    font-size: 13px;
  }
  .footer-menu-container,
  .footer-apps-social {
    flex: 0 0 100%;
  }
  .footer-apps-social {
    padding: 0;
  }
  #colophon {
    padding: 30px 0;
  }
  #colophon > .container > .flexer {
    flex-direction: column;
  }
  .footer-menu-container > div.menu-column {
    flex: 0 0 50%;
    margin: 0;
  }
  .footer-menu-container > div.menu-column:nth-of-type(4),
  .footer-menu-container > div.menu-column:nth-of-type(5),
  .footer-menu-container > div.menu-column:nth-of-type(6) {
    margin: 0;
  }
  .footer-menu-container > div.menu-column:nth-of-type(3),
  .footer-menu-container > div.menu-column:nth-of-type(4),
  .footer-menu-container > div.menu-column:nth-of-type(5),
  .footer-menu-container > div.menu-column:nth-of-type(6) {
    margin-top: 14px;
  }
  .single-post,
  .post-header,
  .post-content {
    width: auto;
    float: none;
    max-width: 100%;
  }
  .bottom-article-donate ul li a {
    font-size: 15px;
  }
  .footer-apps-social form {
    display: flex;
    margin-bottom: 12px;
  }
  .single-post {
    margin-bottom: 14px;
  }
  .app-downloads {
    justify-content: center;
  }
  .app-downloads img {
    margin-bottom: 8px;
    height: 38px;
  }
  .post-meta li {
    margin-right: 8px;
  }

  #colophon form input[type='text'],
  #colophon form input[type='email'] {
    flex: 1;
    margin-right: -6px;
  }
  .copyright-text span {
    font-size: 11px;
    float: none;
    padding-top: 10px;
    display: block;
  }
  body.menu-is-shown .ag-modal-backdrop {
    z-index: 3;
    width: 100%;
    opacity: 1;
  }
  .product-grid {
    flex-wrap: wrap;
  }
  .product-grid article {
    flex: 0 0 50%;
    margin-bottom: 20px;
  }
  .shop-block {
    padding-bottom: 0;
  }
  .shop-block .block-title {
    width: 60%;
    left: 20%;
  }
  .breaking-band img {
    flex: 0 0 70px;
    margin-top: 8px;
  }
  .breaking-band a.flexer {
    font-size: 14px;
    flex-direction: row;
    align-items: flex-start;
  }
  .wide-post.cards-post .post-content {
    flex-direction: column;
  }
  .single-post .side-content {
    width: auto;
  }
  .single-post .side-content {
    width: 100%;
  }
  .wide-post.cards-post .post-content {
    margin: 0;
    width: auto;
  }
  .wide-post.cards-post .sidebared .side-content {
    margin: 0;
  }
  .cards-cuprins {
    position: fixed;
    bottom: -259px;
    left: 15px;
    right: 15px;
    z-index: 10;
    box-shadow: 0 0 10px 2px rgba(10, 10, 10, 0.15);
    height: 300px;
    overflow-y: hidden;
    padding-top: 40px;
  }
  .cards-cuprins.shown {
    bottom: 0;
  }
  .cards-cuprins.shown ol {
    overflow-y: auto;
    position: relative;
    height: 100%;
  }
  .cards-cuprins .inline-head {
    position: absolute;
    top: 0;
    padding-top: 13px;
    left: 0;
    right: 0;
  }
  .cards-cuprins:not(.shown) {
    box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, 0.55);
    border: 0 none;
  }
  .cards-cuprins:not(.shown) .inline-head {
    padding-top: 15px;
    padding-left: 18px;
    background: var(--red);
    color: var(--white);
    height: 40px;
    left: -18px;
  }
  .cards-cuprins .inline-head::after {
    content: '\e809';
    font-family: 'agoraicons';
    float: right;
    margin-right: 18px;
  }
  .cards-cuprins.shown .inline-head::after {
    content: '\e808';
  }
  .table-section {
    flex-direction: column;
    padding: 0;
    border: 0 none;
    margin-top: 30px;
  }
  .table-section .tabel-column {
    padding-bottom: 20px;
    border: 1px solid var(--ultraLightGrey);
    border-radius: 3px;
  }
  .table-section .tabel-column:not(:last-child) {
    margin-bottom: 30px;
  }
  .tabel-column.chosen {
    margin-top: 40px;
  }
  .tabel-column.chosen::before {
    top: -10px;
    bottom: -10px;
  }
  .tabel-column.chosen .recommended {
    top: -40px;
  }
  .top-quote {
    flex-direction: column;
  }
  .top-quote blockquote {
    font-size: 18px;
    margin-inline-end: 0;
    margin-inline-start: 0;
    padding-left: 50px;
    margin-top: 0;
  }
  .top-quote blockquote i.icon-quote {
    top: 0;
  }
  .block-announce p {
    font-size: 22px;
  }
  .choice-pill .pill-option {
    padding: 8px 20px;
    font-size: 18px;
  }
  .agora-toggle.open .agora-toggle-head {
    padding-bottom: 5px;
  }
}






@media screen and (max-width: 767px) {
  #header .flexer .column:nth-of-type(1) {
    flex: 0 0 60px;
  }
  #header .menu-trigger {
    margin-right: 8px;
  }
  #header .flexer .column:nth-of-type(2) {
    flex: 0 0 1px;
  }
  #header .flexer .column:nth-of-type(3) {
    flex: 0 0 calc(100% - 60px);
  }
  #header .flexer .column:nth-of-type(3) .agora-button {
    display: inline-flex;
  }
  #big-logo {
    display: none;
  }
  #small-logo {
      display: block;
      height: 34px;
  }
  #header .flexer .column:nth-of-type(3) .agora-button > i {
    margin-right: 5px;
    padding: 0;
    border: 0 none;
  }
  #header > .container {
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .user-search {
    margin: 0;
    padding: 0;
    border: 0 none;
    display: inline-flex;
    width: 32px;
    height: 38px;
    align-items: center;
  }
  .user-element {
    border: 0 none;
  }
  .user-el.action-login,
  .user-el.action-login:hover {
    font-size: 14px;
    background: rgba(255,255,255,0.23);
    color: var(--white);
  }
  .site-section .flexer {
    flex-direction: column;
  }
  .team .team-member {
    flex-basis: 50%;
  }
  .profile-page {
    display: flex;
    flex-direction: column;
  }
  .profile-page .column:first-child {
    flex-basis: 100%;
    margin-bottom: 30px;
  }
  .profile-page .column:last-child {
    flex-basis: 100%;
    padding-left: 0;
  }
  .subiect-listat .subiect-listat-header span {
    margin-right: 14px;
  }

  .user-actions-block {
    flex-direction: column;
  }
  .user-actions-block .column:first-child,
  .user-actions-block .column:last-child {
    padding: 0;
    min-height: 0;
    flex-basis: 100%;
    width: 100%;
  }
  .user-actions-block .column:last-child .content-area {
    width: 100%;
    padding: 30px;
  }
  .user-actions-block .column:last-child .image-area {
    display: none;
  }
  .icon-boxes {
    flex-direction: column;
  }
  .icon-boxes .icon-box {
    flex-direction: row;
    padding: 14px 14px 14px 30px;
    border: 1px solid var(--ultraLightGrey);
  }
  .icon-boxes .icon-box i {
    font-size: 32px;
  }
  .icon-boxes .icon-box p {
    flex: 1;
    margin: 0;
    margin-left: 20px;
  }
  .icon-boxes .icon-box:not(:last-child) {
    border-right: 1px solid var(--ultraLightGrey);
    border-bottom: 0 none;
  }
  .icon-boxes .icon-box:before {
    top: 50%;
    left: -10px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%) translateX(0);
  }
  .tabel-column .item-list,
  .tabel-column .subtable-details {
    display: none;
  }
  .tabel-column .item-list {
    margin-top: 14px;
    margin-bottom: 0;
  }
  
  .table-section .tabel-column {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 14px;
    border: 1px solid var(--red) !important;
  }
  .tabel-column.chosen .recommended {
    font-size: 9px;
    height: 20px;
    line-height: 20px;
    top: -20px !important;
    left: -1px !important;
    transform: translate(0,0) !important;
    padding: 0 8px;
  }
  .tabel-column.chosen {
    margin-top: 20px !important;
  }
  .table-section .tabel-column:not(:last-child) {
    margin-bottom: 14px !important;
  }
  .tabel-column.chosen::before {
    display: none;
  }
  .tabel-column h4 {
    flex-basis: 50%;
    margin: 0;
    padding: 0;
    border: 0 none;
    font-size: 1.3rem;
    text-align: left;
  }
  .tabel-column h4::after {
    content: '\e808';
    font-family: 'agoraicons';
    color: var(--black);
    margin-left: 8px;
  }
  .tabel-column .item-price {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0;
    padding: 0;
    border: 0 none;
    flex-basis: 50%;
  }
  .tabel-column .table-bottom {
    flex-basis: 100%;
    padding-top: 10px;
    display: none;
    text-align: center;
    border: 0 none;
  }
  .tabel-column .table-bottom .agora-button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .tabel-column strong {
    font-size: 0.8rem;
    color: var(--meta);
    font-weight: normal;
    line-height: 1.4;
    margin: 0;
  }
  .tabel-column.chosen {
    margin-top: 20px;
  }
  .faq-title {
    margin-top: 20px;
  }
  .fake-main-tabs {
    text-align: left;
  }
  .fake-main-tabs a {
    font-size: 0.94rem;
  }
  .fake-main-tabs a:not(:last-child) {
    margin-right: 12px;
  }
  .option-preheader {
    margin-top: 14px;
  }
  .sustine-agora-inner {
    padding: 16px;
  }
  .sustine-agora-inner mark {
    display: inline-block;
  }
  .sustine-agora-inner h3 {
    margin-bottom: 8px;
  }
  .sustine-agora-inner p {
    margin-top: 8px;
  }
  .sustine-agora-actions .agora-button:not(:last-child) {
    margin-right: 0;
  }
}
@media only screen and (max-width: 355px) {
    .agora-button.green, .user-el.action-login{
        font-size: 10px;
    }
}
@media only screen and (max-width: 900px) {
    .author-list-entry{
        display: none !important;
    }
}