/* From 481 | Phone Landscape & Bigger */
@media (min-width: 481px) {
  /* Grid */
  .xt-grid-small-1-1 > * {
    width: 100%;
  }
  .xt-grid-small-1-2 > * {
    width: 50%;
  }
  .xt-grid-small-1-3 > * {
    width: 33.333%;
  }
  .xt-grid-small-2-3 > * {
    width: 66.666%;
  }
  .xt-grid-small-1-4 > * {
    width: 25%;
  }
  .xt-grid-small-1-5 > * {
    width: 20%;
  }
  .xt-grid-small-1-6 > * {
    width: 16.666%;
  }
  .xt-grid-small-1-10 > * {
    width: 10%;
  }
  /* Grid Cells */
  .xt-small-1-1 {
    width: 100%;
  }
  .xt-small-1-2,
  .xt-small-2-4,
  .xt-small-3-6,
  .xt-small-5-10 {
    width: 50%;
  }
  .xt-small-1-3,
  .xt-small-2-6 {
    width: 33.333%;
  }
  .xt-small-2-3,
  .xt-small-4-6 {
    width: 66.666%;
  }
  .xt-small-1-4 {
    width: 25%;
  }
  .xt-small-3-4 {
    width: 75%;
  }
  .xt-small-1-5,
  .xt-small-2-10 {
    width: 20%;
  }
  .xt-small-2-5,
  .xt-small-4-10 {
    width: 40%;
  }
  .xt-small-3-5,
  .xt-small-6-10 {
    width: 60%;
  }
  .xt-small-4-5,
  .xt-small-8-10 {
    width: 80%;
  }
  .xt-small-1-6 {
    width: 16.666%;
  }
  .xt-small-5-6 {
    width: 83.333%;
  }
  .xt-small-1-10 {
    width: 10%;
  }
  .xt-small-3-10 {
    width: 30%;
  }
  .xt-small-7-10 {
    width: 70%;
  }
  .xt-small-9-10 {
    width: 90%;
  }
}

/* From 769 | Tablet & Bigger */
@media (min-width: 769px) {
  /* Gutenberg */
  .xt-no-sidebar .alignwide {
    margin-left: -50px;
    margin-right: -50px;
    max-width: unset;
    width: auto;
  }
  .xt-grid-divider > [class*="xt-medium-"]:not(.xt-medium-1-1):nth-child(n + 2) {
    border-left: 1px solid #dedee5;
  }
  /* Grid */
  .xt-grid-medium-1-1 > * {
    width: 100%;
  }
  .xt-grid-medium-1-2 > * {
    width: 50%;
  }
  .xt-grid-medium-1-3 > * {
    width: 33.333%;
  }
  .xt-grid-medium-2-3 > * {
    width: 66.666%;
  }
  .xt-grid-medium-1-4 > * {
    width: 25%;
  }
  .xt-grid-medium-1-5 > * {
    width: 20%;
  }
  .xt-grid-medium-1-6 > * {
    width: 16.666%;
  }
  .xt-grid-medium-1-10 > * {
    width: 10%;
  }
  /* Grid Cells */
  .xt-medium-1-1 {
    width: 100%;
  }
  .xt-medium-1-2,
  .xt-medium-2-4,
  .xt-medium-3-6,
  .xt-medium-5-10 {
    width: 50%;
  }
  .xt-medium-1-3,
  .xt-medium-2-6 {
    width: 33.333%;
  }
  .xt-medium-2-3,
  .xt-medium-4-6 {
    width: 66.666%;
  }
  .xt-medium-1-4 {
    width: 25%;
  }
  .xt-medium-3-4 {
    width: 75%;
  }
  .xt-medium-1-5,
  .xt-medium-2-10 {
    width: 20%;
  }
  .xt-medium-2-5,
  .xt-medium-4-10 {
    width: 40%;
  }
  .xt-medium-3-5,
  .xt-medium-6-10 {
    width: 60%;
  }
  .xt-medium-4-5,
  .xt-medium-8-10 {
    width: 80%;
  }
  .xt-medium-1-6 {
    width: 16.666%;
  }
  .xt-medium-5-6 {
    width: 83.333%;
  }
  .xt-medium-1-10 {
    width: 10%;
  }
  .xt-medium-3-10 {
    width: 30%;
  }
  .xt-medium-7-10 {
    width: 70%;
  }
  .xt-medium-9-10 {
    width: 90%;
  }
}

/* From 1025 | Desktop & Bigger */
@media (min-width: 1025px) {
  /* Gutenberg */
  .xt-no-sidebar .alignwide {
    margin-left: -75px;
    margin-right: -75px;
  }
  /* Sidebar */
  .xt-grid-divider > [class*="xt-large-"]:not(.xt-large-1-1):nth-child(n + 2) {
    border-left: 1px solid #dedee5;
  }
  /* Grid */
  .xt-grid-large-1-1 > * {
    width: 100%;
  }
  .xt-grid-large-1-2 > * {
    width: 50%;
  }
  .xt-grid-large-1-3 > * {
    width: 33.333%;
  }
  .xt-grid-large-2-3 > * {
    width: 66.666%;
  }
  .xt-grid-large-1-4 > * {
    width: 25%;
  }
  .xt-grid-large-1-5 > * {
    width: 20%;
  }
  .xt-grid-large-1-6 > * {
    width: 16.666%;
  }
  .xt-grid-large-1-10 > * {
    width: 10%;
  }
  /* Grid Cells */
  .xt-large-1-1 {
    width: 100%;
  }
  /* Halves */
  .xt-large-1-2,
  .xt-large-2-4,
  .xt-large-3-6,
  .xt-large-5-10 {
    width: 50%;
  }
  .xt-large-1-3,
  .xt-large-2-6 {
    width: 33.333%;
  }
  .xt-large-2-3,
  .xt-large-4-6 {
    width: 66.666%;
  }
  .xt-large-1-4 {
    width: 25%;
  }
  .xt-large-3-4 {
    width: 75%;
  }
  .xt-large-1-5,
  .xt-large-2-10 {
    width: 20%;
  }
  .xt-large-2-5,
  .xt-large-4-10 {
    width: 40%;
  }
  .xt-large-3-5,
  .xt-large-6-10 {
    width: 60%;
  }
  .xt-large-4-5,
  .xt-large-8-10 {
    width: 80%;
  }
  .xt-large-1-6 {
    width: 16.666%;
  }
  .xt-large-5-6 {
    width: 83.333%;
  }
  .xt-large-1-10 {
    width: 10%;
  }
  .xt-large-3-10 {
    width: 30%;
  }
  .xt-large-7-10 {
    width: 70%;
  }
  .xt-large-9-10 {
    width: 90%;
  }
}

/* From 1200 | Large Screen & Bigger */
@media (min-width: 1201px) {
  /* Grid */
  .xt-grid-xlarge-1-1 > * {
    width: 100%;
  }
  .xt-grid-xlarge-1-2 > * {
    width: 50%;
  }
  .xt-grid-xlarge-1-3 > * {
    width: 33.333%;
  }
  .xt-grid-xlarge-2-3 > * {
    width: 66.666%;
  }
  .xt-grid-xlarge-1-4 > * {
    width: 25%;
  }
  .xt-grid-xlarge-1-5 > * {
    width: 20%;
  }
  .xt-grid-xlarge-1-6 > * {
    width: 16.666%;
  }
  .xt-grid-xlarge-1-10 > * {
    width: 10%;
  }
  /* Grid Cells */
  .xt-xlarge-1-1 {
    width: 100%;
  }
  .xt-xlarge-1-2,
  .xt-xlarge-2-4,
  .xt-xlarge-3-6,
  .xt-xlarge-5-10 {
    width: 50%;
  }
  .xt-xlarge-1-3,
  .xt-xlarge-2-6 {
    width: 33.333%;
  }
  .xt-xlarge-2-3,
  .xt-xlarge-4-6 {
    width: 66.666%;
  }
  .xt-xlarge-1-4 {
    width: 25%;
  }
  .xt-xlarge-3-4 {
    width: 75%;
  }
  .xt-xlarge-1-5,
  .xt-xlarge-2-10 {
    width: 20%;
  }
  .xt-xlarge-2-5,
  .xt-xlarge-4-10 {
    width: 40%;
  }
  .xt-xlarge-3-5,
  .xt-xlarge-6-10 {
    width: 60%;
  }
  .xt-xlarge-4-5,
  .xt-xlarge-8-10 {
    width: 80%;
  }
  .xt-xlarge-1-6 {
    width: 16.666%;
  }
  .xt-xlarge-5-6 {
    width: 83.333%;
  }
  .xt-xlarge-1-10 {
    width: 10%;
  }
  .xt-xlarge-3-10 {
    width: 30%;
  }
  .xt-xlarge-7-10 {
    width: 70%;
  }
  .xt-xlarge-9-10 {
    width: 90%;
  }
}

/* Until 1200 */
@media screen and (max-width: 1200px) {
  /* Margin */
  .xt-margin-xlarge {
    margin-top: 80px;
    margin-bottom: 80px;
  }
  .xt-margin-xlarge-top {
    margin-top: 80px;
  }
  .xt-margin-xlarge-bottom {
    margin-bottom: 80px;
  }
  .xt-margin-xlarge-left {
    margin-left: 80px;
  }
  .xt-margin-xlarge-right {
    margin-right: 80px;
  }
  /* Padding */
  .xt-padding-xlarge {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .xt-padding-xlarge-top {
    padding-top: 80px;
  }
  .xt-padding-xlarge-bottom {
    padding-bottom: 80px;
  }
  .xt-padding-xlarge-left {
    padding-left: 80px;
  }
  .xt-padding-xlarge-right {
    padding-right: 80px;
  }
  .xt-menu > .menu-item > a {
    font-size: 14px;
    padding-left: 10px;
    padding-right: 11px;
  }
  .xt-menu .sub-menu .menu-item > a {
    font-size: 13px;
  }
}

/* Until 1024 */
@media screen and (max-width: 1024px) {
  /* Margin */
  .xt-margin-large,
  .xt-margin-xlarge {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .xt-margin-large-top {
    margin-top: 40px;
  }
  .xt-margin-large-bottom {
    margin-bottom: 40px;
  }
  .xt-margin-large-left {
    margin-left: 40px;
  }
  .xt-margin-large-right {
    margin-right: 40px;
  }
  .xt-margin-xlarge-top {
    margin-top: 40px;
  }
  .xt-margin-xlarge-bottom {
    margin-bottom: 40px;
  }
  .xt-margin-xlarge-left {
    margin-left: 40px;
  }
  .xt-margin-xlarge-right {
    margin-right: 40px;
  }
  /* Padding */
  .xt-padding-large,
  .xt-padding-xlarge {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .xt-padding-large-top {
    padding-top: 40px;
  }
  .xt-padding-large-bottom {
    padding-bottom: 40px;
  }
  .xt-padding-large-left {
    padding-left: 40px;
  }
  .xt-padding-large-right {
    padding-right: 40px;
  }
  .xt-padding-xlarge-top {
    padding-top: 40px;
  }
  .xt-padding-xlarge-bottom {
    padding-bottom: 40px;
  }
  .xt-padding-xlarge-left {
    padding-left: 40px;
  }
  .xt-padding-xlarge-right {
    padding-right: 40px;
  }
  .trending-articles .post-list {
    flex-wrap: wrap;
  }
  .trending-articles .post {
    width: 50%;
  }
  .trending-articles .post:nth-child(1) {
    border-bottom: 1px solid #E7E7E7;
  }
  .trending-articles .post:nth-child(2) {
    border-left: none;
    border-bottom: 1px solid #E7E7E7;
  }
  .module--editors-choice .highlight {
    width: 100%;
  }
  .module--editors-choice .other {
    width: 100%;
    margin-top: 40px;
  }
  .module--editors-choice .other .post-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .module--editors-choice .other .post-list .post {
    width: calc(50% - 20px);
    margin-bottom: 30px;
  }
  .xt-navigation-transparent.xt-navigation-active #xt-mobile-menu-toggle {
    color: #212121 !important;
  }
  .xt-close {
    color: #fff !important;
  }
  .xt-mobile-menu-container .searchform {
    margin-top: 20px;
  }
  .single .entry-content .entry-main {
    width: 100%;
  }
  .entry-sidebar {
    width: 100%;
    margin: 40px 0;
  }
}

/* Until 768 */
@media screen and (max-width: 768px) {
  /* General */
  .xt-footer-two-columns,
  .xt-pre-header-two-columns {
    display: block;
  }
  .xt-footer-two-columns .xt-inner-footer-left,
  .xt-footer-two-columns .xt-inner-footer-right,
  .xt-footer-two-columns .xt-inner-pre-header-left,
  .xt-footer-two-columns .xt-inner-pre-header-right,
  .xt-pre-header-two-columns .xt-inner-footer-left,
  .xt-pre-header-two-columns .xt-inner-footer-right,
  .xt-pre-header-two-columns .xt-inner-pre-header-left,
  .xt-pre-header-two-columns .xt-inner-pre-header-right {
    display: block;
    width: 100%;
    text-align: center;
  }
  .xt-page-footer .xt-inner-footer-right .xt-menu {
    float: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }
  .xt-page-footer .xt-inner-footer-left .xt-menu {
    float: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }
  .module--hero-slider .breakout-bg__img {
    top: 0;
  }
  .module--hero-slider .post .keen__post-image {
    order: 0;
    width: 100%;
  }
  .module--hero-slider .post .post-content {
    width: 100%;
    order: 1;
    margin-top: 20px;
  }
  .module--hero-slider .post .post-content .keen__post-title {
    margin-right: 0;
  }
  .module--hero-slider .post .post-content .keen__post-title h2 {
    line-height: 60px;
    font-size: 32px;
  }
  .module--hero-slider .post .post-content .author {
    margin-top: 10px;
    margin-bottom: 20px;
  }
  .module--hero-slider .post .hero-links {
    order: 2;
    position: relative;
  }
  .module--hero-slider .post .hero-links .module__nav-social {
    display: none;
  }
  .module--hero-slider .arrow {
    display: none;
  }
  .module--editors-choice .highlight .highlight-overlay {
    padding: 20px 30px;
  }
  .module--editors-choice .highlight h2 {
    margin-bottom: 10px;
  }
  .module--editors-choice .highlight h2 a {
    font-size: 22px;
    line-height: 28px;
  }
  .module--editors-choice .highlight .author a {
    font-size: 14px;
  }
  .module--editors-choice .other .post-list .post {
    width: 100%;
  }
  .module--editors-choice .other .post-list .post:last-child {
    margin-bottom: 0;
  }
  .frontpage-blog {
    flex-wrap: wrap;
  }
  .frontpage-blog .content {
    width: 100%;
  }
  .frontpage-blog .sidebar {
    width: 100%;
    margin-top: 15px;
  }
  .xt-page-footer .footer-top .widget:first-child {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
  }
}

@media only screen and (max-width: 600px) {
  .frontpage-blog .alm-item {
    flex-wrap: wrap;
    margin-bottom: 40px;
  }
  .frontpage-blog .alm-item .post-image {
    width: calc(100% + 40px);
    margin: 0 -20px 0px -20px;
  }
  .frontpage-blog .alm-item .post-image img {
    border-radius: 0;
  }
  .frontpage-blog .alm-item .post-content {
    width: 100%;
    padding: 20px 20px 0;
    background: #fff;
    margin-top: -40px;
  }
  .footer-bottom .xt-inner-footer-left,
  .footer-bottom .xt-inner-footer-right {
    width: 100%;
    text-align: center;
  }
  .footer-bottom .xt-social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
  }
}

/* Until 480 */
@media screen and (max-width: 480px) {
  /* Margin */
  .xt-margin-medium,
  .xt-margin-large,
  .xt-margin-xlarge {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .xt-margin-large-top {
    margin-top: 20px;
  }
  .xt-margin-large-bottom {
    margin-bottom: 20px;
  }
  .xt-margin-large-left {
    margin-left: 20px;
  }
  .xt-margin-large-right {
    margin-right: 20px;
  }
  .xt-margin-medium-top {
    margin-top: 20px;
  }
  .xt-margin-medium-bottom {
    margin-bottom: 20px;
  }
  .xt-margin-medium-left {
    margin-left: 20px;
  }
  .xt-margin-medium-right {
    margin-right: 20px;
  }
  .xt-margin-xlarge-top {
    margin-top: 20px;
  }
  .xt-margin-xlarge-bottom {
    margin-bottom: 20px;
  }
  .xt-margin-xlarge-left {
    margin-left: 20px;
  }
  .xt-margin-xlarge-right {
    margin-right: 20px;
  }
  /* Padding */
  .xt-padding-medium,
  .xt-padding-large,
  .xt-padding-xlarge {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .xt-padding-large-top {
    padding-top: 20px;
  }
  .xt-padding-large-bottom {
    padding-bottom: 20px;
  }
  .xt-padding-large-left {
    padding-left: 20px;
  }
  .xt-padding-large-right {
    padding-right: 20px;
  }
  .xt-padding-medium-top {
    padding-top: 20px;
  }
  .xt-padding-medium-bottom {
    padding-bottom: 20px;
  }
  .xt-padding-medium-left {
    padding-left: 20px;
  }
  .xt-padding-medium-right {
    padding-right: 20px;
  }
  .xt-padding-xlarge-top {
    padding-top: 20px;
  }
  .xt-padding-xlarge-bottom {
    padding-bottom: 20px;
  }
  .xt-padding-xlarge-left {
    padding-left: 20px;
  }
  .xt-padding-xlarge-right {
    padding-right: 20px;
  }
  .xt-banner-content {
    text-align: center;
  }
  .xt-banner .vc_btn3-container.vc_btn3-left {
    text-align: center;
  }
  .xt-arrow-left a:before {
    top: 5px;
    left: -60px;
    transform: rotate(45deg);
  }
  .xt-page-footer .footer-top .widget_nav_menu ul {
    columns: 2;
  }
  .trending-articles .post {
    width: 100%;
    padding: 30px 20px !important;
    border-right: none !important;
  }
  .trending-articles .post:nth-child(3) {
    border-right: none;
    border-bottom: 1px solid #E7E7E7;
  }
  .xt-mobile-menu-container .menu-extra .newsletter {
    padding: 10px 20px;
  }
  .xt-mobile-menu-container .menu-extra .social {
    padding: 20px 20px 0;
  }
  .module--hero-slider .post .post-content .keen__post-title h2 {
    line-height: 55px;
    font-size: 28px;
  }
  .module--editors-choice .highlight .highlight-overlay {
    padding: 20px;
  }
  .module--editors-choice {
    padding-top: 0;
  }
  .module--editors-choice .highlight {
    width: calc(100% + 40px);
    margin: 0 -20px 0;
  }
  .module--editors-choice .highlight .highlight-overlay,
  .module--editors-choice .highlight .highlight-image {
    border-radius: 0px;
  }
  .module--editors-choice .highlight h2 {
    font-size: 20px;
    line-height: 40px;
  }
  .module--editors-choice .highlight h2 a {
    font-size: 18px;
    padding: 8px 5px;
  }
}

/* Visibility */
/* Desktop and bigger */
@media (min-width: 1025px) {
  .xt-visible-small {
    display: none !important;
  }
  .xt-visible-medium {
    display: none !important;
  }
  .xt-hidden-large {
    display: none !important;
  }
}

/* Tablets portrait */
@media (min-width: 769px) and (max-width: 1024px) {
  .xt-visible-small {
    display: none !important;
  }
  .xt-visible-large {
    display: none !important;
  }
  .xt-hidden-medium {
    display: none !important;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .xt-visible-medium {
    display: none !important;
  }
  .xt-visible-large {
    display: none !important;
  }
  .xt-hidden-small {
    display: none !important;
  }
}
