/** 
 * CSS Style: Theme page, single, archive 
 * 
 * @since 1.0
 */

/** 
 * Theme home page
 * 
 * @since 1.0
 */
/*.home main .theme-grid > .theme-grid-row {
    max-width: 1200px;
}*/

.theme-home-main > .theme-grid-col > .theme-grid-row {
    max-width: 830px;
}

.theme-logo-full {
    display: block;
    width: 100%;
    height: auto;
}

@media only screen and (max-width: 1200px) {
    .theme-logo-full {
        max-width: 500px;
        height: auto;
    }
}

.theme-home-main .theme-widget {
    margin-top: 100px;
    background-color: var( --theme-color );
    color: #000000;
    padding: calc( var( --theme-padding ) * 1.5 );
    line-height: 1.5;
}

@media only screen and (max-width: 1100px) {
    .theme-home-main .theme-widget {
        margin-top: 50px;
    }
}

@media only screen and (max-width: 768px) {
    .theme-home-main .theme-widget {
        padding: var(--theme-padding);
    }
}

.theme-home-main .theme-widget:first-child .theme-widget-title {
    font-size: 46px;
    margin-bottom: calc(var(--theme-margin) * 2);
}

.theme-home-main .theme-widget .theme-widget-title {
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: var(--theme-margin);
    line-height: 1.2;
}

@media only screen and (max-width: 1100px) {
    .theme-home-main .theme-widget {
        margin-top: 50px;
    }

    .theme-home-main .theme-widget:first-child .theme-widget-title {
        font-size: 36px;
        margin-bottom: var(--theme-margin);
    }

    .theme-home-main .theme-widget .theme-widget-title {
        font-size: 24px;        
    }
}

@media only screen and (max-width: 768px) {

    .theme-home-main .theme-widget:first-child .theme-widget-title {
        font-size: 28px;
    }

    .theme-home-main .theme-widget .theme-widget-title {
        font-size: 20px;
    }
}

.theme-home-main .theme-widget p:not(:last-child) {
    margin-bottom: var(--theme-margin);
}

.theme-home-main .theme-widget img {
    display: block;
}

.theme-grid-quote {
    margin-top: 100px;
}

.theme-quote-widget {
    background-color: var( --theme-color );
}

.theme-grid-quote > .theme-grid-col:first-child {
    margin-right: calc( var( --theme-margin ) * 2 );
}

@media only screen and (max-width: 1100px) {

    .theme-grid-quote {
        margin-top: 50px;
    }

    .theme-grid-quote>.theme-grid-col:first-child {
        margin-right: var(--theme-margin);
    }
    
}

.theme-grid-quote > .theme-grid-col:last-child {
    background-color: var( --theme-color );
    padding: calc( var( --theme-padding ) * 2 );
    font-size: 28px;
    line-height: 1.2;
    font-weight: 500;
    flex: 0 0 calc( 100% - 170px);
    max-width: calc(100% - 170px);
}

.theme-grid-quote .theme-icon.theme-icon-quote-left {
    display: block;
    width: 130px;
    height: auto;
}

@media only screen and (max-width: 1100px) {
    .theme-grid-quote .theme-icon.theme-icon-quote-left {
        width: 80px;
        height: auto;
    }

    .theme-grid-quote>.theme-grid-col:last-child {
        flex: 0 0 calc(100% - 100px);
        max-width: calc(100% - 100px);
        font-size: 24px;
    }
}

@media only screen and (max-width: 768px) {
    .theme-grid-quote .theme-icon.theme-icon-quote-left {
        width: 60px;
        height: auto;
    }

    .theme-grid-quote>.theme-grid-col:last-child {
        flex: 0 0 calc(100% - 80px);
        max-width: calc(100% - 80px);
        font-size: 20px;
        padding: var(--theme-padding);
    }
}

@media only screen and (max-width: 480px) {
    .theme-grid-quote .theme-icon.theme-icon-quote-left {
        width: 40px;
        height: auto;
    }

    .theme-grid-quote>.theme-grid-col:last-child {
        flex: 0 0 calc(100% - 60px);
        max-width: calc(100% - 60px);
        font-size: 19px;
    }
}

.theme-quote-widget > .theme-grid-row {
    flex-direction: column-reverse;
}

.theme-quote-widget .textwidget {
    margin-bottom: var(--theme-margin);
}

.theme-quote-widget .theme-widget-title {
    text-align: right;
    font-size: 18px;
    font-weight: 500;
    font-style: italic;
}

.theme-quote-widget img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

/** 
 * Theme post content
 * 
 * @since 1.0
 */

.theme-home-main .theme-widget:after,
.theme-home-main .theme-widget ol:before,
.theme-home-main .theme-widget ol:after,
.theme-home-main .theme-widget ul:before,
.theme-home-main .theme-widget ul:after,
.theme-home-main .theme-widget blockquote:after {
    content: '';
    clear: both;
    display: block;
}

.theme-home-main .theme-widget p:not(:last-child),
.theme-home-main .theme-widget ul:not(:last-child),
.theme-home-main .theme-widget ol:not(:last-child),
.theme-home-main .theme-widget>div:not(:last-child),
.theme-home-main .theme-widget blockquote:not(:last-child) {
    margin-bottom: 20px;
}

.theme-home-main .theme-widget h2:not(:first-child),
.theme-home-main .theme-widget h3:not(:first-child),
.theme-home-main .theme-widget h4:not(:first-child),
.theme-home-main .theme-widget h5:not(:first-child),
.theme-home-main .theme-widget h6:not(:first-child) {
    margin-top: 30px;
}

.theme-home-main .theme-widget h2:not(:last-child),
.theme-home-main .theme-widget h3:not(:last-child),
.theme-home-main .theme-widget h4:not(:last-child),
.theme-home-main .theme-widget h5:not(:last-child),
.theme-home-main .theme-widget h6:not(:last-child) {
    margin-bottom: 30px;
}

/**
 * H2 - H6
 *
 * @since 1.0.0
 */
.theme-home-main .theme-widget h2,
.theme-home-main .theme-widget h3,
.theme-home-main .theme-widget h4,
.theme-home-main .theme-widget h5,
.theme-home-main .theme-widget h6 {
    font-weight: 500;
    line-height: 1.2;
}

.theme-home-main .theme-widget h2 {
    font-size: 38px;
}

.theme-home-main .theme-widget h3 {
    font-size: 36px;
}

.theme-home-main .theme-widget h4 {
    font-size: 30px;
}

.theme-home-main .theme-widget h5 {
    font-size: 26px;
}

.theme-home-main .theme-widget h6 {
    font-size: 20px;
}

@media only screen and (max-width: 768px) {
    .theme-home-main .theme-widget h2 {
        font-size: 28px;
    }

    .theme-home-main .theme-widget h3 {
        font-size: 26px;
    }

    .theme-home-main .theme-widget h4 {
        font-size: 24px;
    }

    .theme-home-main .theme-widget h5 {
        font-size: 22px;
    }

    .theme-home-main .theme-widget h6 {
        font-size: 20px;
    }
}

/**
 * UL, OL
 *
 * @since 1.0.0
 */
.theme-home-main .theme-widget ul {
    padding: 0 var(--theme-padding);
}

.theme-home-main .theme-widget ul li {
    list-style: none;
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    min-height: 32px;
}

.theme-home-main .theme-widget ul li ul {
    margin-top: 10px;
}

.theme-home-main .theme-widget ul li:before {
    content: '';
    background-color: var(--theme-color-background);
    position: absolute;
    top: 8px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 2px;
}

.theme-home-main .theme-widget ul[style*="list-style-type: disc;"] li:before, .theme-home-main .theme-widget ul[style*="list-style-type: disc"] li:before {
    border-radius: 50%;
}

.theme-home-main .theme-widget ul[style*="list-style-type: circle;"] li:before, .theme-home-main .theme-widget ul[style*="list-style-type: circle"] li:before {
    border-radius: 50%;
    border: 1px solid var(--theme-color-background);
    background-color: transparent;
}

.theme-home-main .theme-widget ul li[style*="list-style-type: none;"]:before, .theme-home-main .theme-widget ul li[style*="list-style-type: none"]:before {
    display: none;
}

.theme-home-main .theme-widget ol {
    counter-reset: themeCounter;
    padding: 0 var(--theme-padding);
}

@media only screen and (max-width: 768px) {

    .theme-home-main .theme-widget ul,
    .theme-home-main .theme-widget ol {
        padding: 0;
    }
}

.theme-home-main .theme-widget ol li {
    list-style: none;
    padding-left: 40px;
    padding-top: 0;
    position: relative;
    margin-bottom: 10px;
    min-height: 32px;
}

.theme-home-main .theme-widget ol li:before {
    counter-increment: themeCounter;
    content: counter(themeCounter);
    color: #ffffff;
    background-color: var(--theme-color-background);
    position: absolute;
    top: -2px;
    left: 0;
    text-align: center;
    line-height: 26px;
    width: 26px;
    height: 26px;
    border-radius: 3px;
    font-size: 12px;
}

.theme-home-main .theme-widget ol[style="list-style-type: lower-alpha;"] li:before {
    content: counter(themeCounter, lower-alpha);
}

.theme-home-main .theme-widget ol[style="list-style-type: lower-greek;"] li:before {
    content: counter(themeCounter, lower-greek);
}

.theme-home-main .theme-widget ol[style="list-style-type: lower-roman;"] li:before {
    content: counter(themeCounter, lower-roman);
}

.theme-home-main .theme-widget ol[style="list-style-type: upper-roman;"] li:before {
    content: counter(themeCounter, upper-roman);
}

.theme-home-main .theme-widget ol[style="list-style-type: upper-alpha;"] li:before {
    content: counter(themeCounter, upper-alpha);
}


@media only screen and (max-width: 1024px) {
    .theme-home-main .theme-widget img {
        max-width: 100%;
        height: auto;
    }
}

/** 
 * Theme page category / widget title / layout title
 * 
 * @since 1.0
 */
/*.theme-page-category, .theme-widget-title {
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
}

.theme-page-category {
    margin-bottom: 15px;
    flex-direction: row;
    flex-wrap: wrap;
}

.theme-page-category a, .theme-widget-title {
    padding: 6px 15px;
    background-color: var( --theme-color );
}

.theme-page-category a {
  margin-right: 5px;
  margin-bottom: 5px;
}

.theme-page-category, .theme-page-category a, .theme-widget-title, .theme-widget-title a, 
.theme-layout-title >*, .theme-layout-title a {
  color: #ffffff;
}

.theme-layout-title {
  padding: 0 20px;
}

.theme-layout-title >* {
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 30px;
  display: flex;
  padding: 6px 15px;
  background-color: var( --theme-color );
}

.theme-layout-title-center {
  justify-content: center;
}

.theme-layout-title-left {
  justify-content: flex-start;
}

.theme-layout-title-right {
  justify-content: flex-end;
}


.theme-layout-title-h2 >* {
  font-size: 23px;
  padding: 6px 30px;
}

.theme-layout-title-h3 >* {
  font-size: 21px;
  padding: 7px 30px;
}

.theme-layout-title-h4 >* {
  font-size: 19px;
}

.theme-layout-title-h5 >* {
  font-size: 17px;
}

.theme-layout-title-h6 >* {
  font-size: 15px;
}
  */

/** 
 * Theme archive
 * 
 * @since 1.0
 */
.theme-archive-content {
    max-width: 1000px !important;
}

.theme-archive-header {
    max-width: 1000px !important;
    padding-bottom: calc(var(--theme-padding) * 2) !important;
}

.theme-archive-title {
    font-size: 50px;
    font-weight: 500;
    line-height: 1.2;
}

@media only screen and (max-width: 1000px) {
    .theme-archive-title {
        font-size: 32px;
    }
}

.theme-archive-row {
    margin: 0 -20px;
}

/** 
 * Theme page image
 * 
 * @since 1.0
 */
.theme-archive-image {
    margin: 20px auto 0;
    max-width: 768px;
}

.theme-archive-image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/** 
 * Theme page description
 * 
 * @since 1.0
 */
.theme-archive-description {
    margin: 20px auto 0;
    line-height: 1.5;
    font-size: 18px;
    max-width: 768px;
}

.theme-archive-description p:not(:last-child) {
    margin-bottom: var( --theme-margin );
}

/*@media only screen and (max-width: 1100px) {
    .theme-page-title {
        font-size: 30px;
    }
}

@media only screen and (max-width: 768px) {
    .theme-page-title {
        font-size: 28px;
    }
    
    .theme-page-category {
        font-size: 10px;
    }  
}*/


/** 
 * Theme pagination
 * 
 * @since 1.0
 */
.theme-paginate {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  margin: var( --theme-margin ) auto 0;
  font-size: 16px;
}

.theme-paginate ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.theme-paginate ul li {
  margin: 0 10px 10px 10px;
  font-weight: 500;
}

.theme-paginate ul li a.page-numbers, 
.theme-paginate ul li .current, 
.theme-paginate ul li .dots {
  display: block;
  padding: 8px 13px;
  border-radius: 5px;
}

.theme-paginate ul li a.page-numbers  {
  color: #ffffff;
  background-color: var(--theme-color );
}

.theme-paginate ul li .current {
  color: #ffffff;
  background-color: #292929;
}

.theme-paginate ul li a:hover {
  opacity: 0.8;
}

/** 
 * Theme card
 * 
 * @since 1.0.0
 */
.theme-card {
  padding: 0 20px 30px 20px;
  /*min-height: 250px;*/
}

.theme-grid-card {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.theme-grid-card-4 .theme-card {
  flex: 0 0 33.3333333%;
  max-width: 33.3333333%;
}

.theme-grid-card-6 .theme-card {
  flex: 0 0 50%;
  max-width: 50%;
}

.theme-grid-card-partners .theme-card {
  flex: 0 0 16.6666667%;
  max-width: 16.6666667%;
}

.theme-page-sidebar .theme-card {
  padding: 0 0 20px 0;
  width: 100%;
  /*min-height: auto;*/
}

.archive .theme-card, .search .theme-card {
    flex: 0 0 100%;
    max-width: 100%;
}

/*@media only screen and (max-width: 1100px) {
  .theme-grid-card-partners .theme-card {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .archive .theme-card, .search .theme-card {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media only screen and (max-width: 768px) {
  .theme-grid-card-partners .theme-card {
    flex: 0 0 33.3333333%;
    max-width: 33.3333333%;
  }
  .archive .theme-card, .search .theme-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media only screen and (max-width: 580px) {
  .theme-grid-card-partners .theme-card {
    flex: 0 0 50%;
    max-width: 50%;
  }
}*/

.theme-card-inner {
    height: 100%;
    /*overflow: hidden;*/
    display: flex;
    flex-direction: column;
}

.theme-card-left {
    flex-direction: row;
}

@media only screen and (max-width: 560px) {
    .theme-card-left {
        flex-direction: column;
    }
}

.theme-card a {
  color: #000000;
}

.theme-card-image {
  overflow: hidden;
  position: relative;
}

.theme-card-left .theme-card-image, 
.theme-card-right .theme-card-image {
    flex: 0 0 33%;
    max-width: 33%;
}

@media only screen and (max-width: 560px) {
    .theme-card-left .theme-card-image,
    .theme-card-right .theme-card-image {
        flex: 0 0 auto;
        max-width: 100%;
    }
}

.theme-card-image a {
    display: block;
    position: relative;
    /* aspect-ratio: 16/9; */  
    padding-bottom: 56.25%; /* 16/9 -  56.25%, 4/3 - 75% / 133.33% 125% */
    width: 100%;
    min-width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: #f9f9f9;
}

.theme-card-text {
    display: flex;
    flex-direction: column;
}



.theme-card-image + .theme-card-text {
    margin-top: 10px;
}

.theme-card-left .theme-card-text, 
.theme-card-right .theme-card-text {
    margin-top: 0;
    justify-content: center;
}

.theme-card-left .theme-card-text {
    padding: 0 0 0 20px;
}

.theme-card-right .theme-card-text {
    padding: 0 20px 0 0;
} 

@media only screen and (max-width: 560px) {

    .theme-card-left .theme-card-text,
    .theme-card-right .theme-card-text {
        padding: 0;
        margin-top: 10px;
        justify-content: flex-start;
    }
}

.theme-card-title {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.35;
}

h2.theme-card-title {
    font-size: 25px;
}

@media only screen and (max-width: 768px) {
    .theme-swiper-card h2.theme-card-title {
        font-size: 20px;
    }
}

h3.theme-card-title {
  font-size: 21px;
}

h4.theme-card-title {
  font-size: 19px;
}

h5.theme-card-title {
  font-size: 17px;
}

h6.theme-card-title {
  font-size: 15px;
}

.theme-card-left h6.theme-card-title, .theme-card-right h6.theme-card-title {
  font-weight: 400;
  line-height: 1.1;
}

/*.theme-page-sidebar .theme-card-title {
  font-size: 14px;
}*/

/*.theme-term-card.theme-term-card-no-featured .theme-card-title {
  font-size: 18px;
}*/

.theme-card-description, .theme-card-link {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  margin-top: 5px;
}

.theme-swiper-card .theme-card-description {
  font-size: 13px;
}

/*.theme-term-card .theme-card-description {
  font-size: 14px;
}*/

.theme-card-link:after {
  content: ' \2192';
}

/**
 * Widgets
 *
 * @since 1.0.0
 */
.theme-page-bottom {
  margin-bottom: 60px;
}

.theme-page-bottom .theme-widget-title {
  text-align: center;
  font-size: 50px;
  line-height: 1.35;
  font-weight: 500;
  margin-bottom: var( --theme-margin );
}

@media only screen and (max-width: 1100px) {
  .theme-page-bottom .theme-widget-title {
    font-size: 48px;
  }
}

@media only screen and (max-width: 768px) {
  .theme-page-bottom .theme-widget-title {
    font-size: 30px;
  }
}

/**
 * Gallery
 *
 * @since 1.0.0
 */
.theme-widget-gallery .theme-gallery-row {
  margin: 0 -10px;
}

.theme-widget-gallery .theme-gallery-col {
  padding: 0 10px;
}

@media only screen and (max-width: 560px) {
  .theme-widget-gallery .theme-gallery-col {
    padding: 0 10px 20px 10px;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media only screen and (max-width: 400px) {
  .theme-widget-gallery .theme-gallery-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.theme-widget-gallery img.theme-gallery-image {
  display: block;
  width: 100%;
  height: auto;
}

/**
 * Theme layouts 
 *
 * @since 1.0.0
 */

/*.theme-layout {
  margin-top: var( --theme-margin )!important;
  margin-bottom: var( --theme-margin )!important;
}*/

  /*.theme-layout-row {
margin-left: -20px;
  margin-right: -20px;
*/

@media only screen and (max-width: 1100px) {
  .theme-home-main .theme-layout-row {
    flex-direction: column;
  }
  
  .theme-home-main .theme-layout-row > .theme-grid-col,
  .theme-home-additional > .theme-grid-col {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  
  .theme-home-solidarity .theme-grid-card-4 .theme-card {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .theme-home-events .theme-grid-card-6 .theme-card {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

@media only screen and (max-width: 768px) {
  .theme-home-additional > .theme-grid-col:first-child .theme-layout-row > .theme-grid-col {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  
  .theme-home-solidarity .theme-grid-card-4 .theme-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .theme-home-other-news > .theme-grid-col {
    max-width: 100%;
    flex: 0 0 100%;
  }
  
}

@media only screen and (max-width: 560px) {
  .theme-home-events .theme-grid-card-6 .theme-card {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media only screen and (max-width: 480px) {
  .theme-home-events .theme-grid-card-6 .theme-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/**
 * Theme user action 
 *
 * @since 1.0.0
 */
.theme-user-actions {
  margin: 0 20px;
  background-color: var( --theme-color-grey );
  padding: 20px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.theme-user-actions > .theme-grid-col {
  padding: 0 30px;
}

@media only screen and (max-width: 1100px) {
  .theme-user-actions > .theme-grid-col {
    padding: 0;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
  }
  
  .theme-user-actions > .theme-grid-col:not(:last-child) {
    margin-bottom: 10px;
  }
  
  .theme-user-actions {
    flex-direction: column;
  }
}

@media only screen and (max-width: 768px) {
  .theme-user-actions {
    margin: 0;
  }
}

/**
 * Button
 *
 */
.theme-button-wrap {
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.theme-button {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 40px;
  border: 1px solid var( --theme-color );
  background-color: var( --theme-color );
  color: #ffffff;
  text-transform: uppercase;
  cursor: pointer;
  margin: 0 auto;
  min-width: 280px;
}

.theme-not-found {
  padding: 0 20px;
}

/**
 * Theme Swiper
 *
 */
.theme-grid > .theme-grid-row.theme-grid-slider {
  max-width: 100%!important;
  margin-top: 0!important;
  padding: 0!important;
  background-color: #f8f8f8;
  height: 400px;
}

.theme-grid-slider > .theme-grid-col, .theme-grid-slider .swiper {
  width: 100%;
  height: 100%;
}

.theme-swiper .swiper-slide {
  position: relative;
}

.theme-swiper .swiper-slide .theme-slide-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.theme-swiper .swiper-slide > .theme-grid-row {
  max-width: 1200px;
  padding: var( --theme-padding );
  margin: 0 auto;
  height: 100%;
  z-index: 9;
  position: relative;
  /*align-items: flex-end;*/
}

@media only screen and (max-width: 768px) {
  .theme-grid > .theme-grid-row.theme-grid-slider {
    height: 300px;
  }
  
  .theme-swiper .swiper-slide .theme-slide-image {
    position: static;
    max-height: 140px;
  }
  
  .theme-swiper .swiper-slide > .theme-grid-row {
    padding: 0;
    width: 100%;
    height: 160px;
    background-color: var( --theme-color-black );
  }
  
  .theme-swiper .swiper-slide > .theme-grid-row {
    position: relative;
  }
  
  .theme-swiper .swiper-slide > .theme-grid-row:after {
    height: 50px;
    height: 5rem;
    left: 0;
    bottom: 0;
    content: '';
    position: absolute;
    width: 100%;    
    background: linear-gradient(to bottom,rgba(45,39,40,0) 0,rgba(45,39,40,.8) 50%,#2d2728 100%); 
  }
}

.theme-swiper .theme-swiper-card {
  background-color: var( --theme-color-black );
  padding: var( --theme-padding )!important;
  max-width: 450px;
  color: #ffffff;
}

@media only screen and (max-width: 768px) {
  .theme-swiper .theme-swiper-card {
    max-width: 100%;
  }
}

.theme-swiper .theme-swiper-card .theme-card-inner {
  max-height: 280px;
  overflow: hidden;
}

.theme-swiper .theme-swiper-card a {
  color: #ffffff!important;
}

.theme-swiper-button {
  position: absolute;
  top: 50%;
  margin-top: -25px;
  width: 50px;
  height: 50px;
  z-index: 10;
  cursor: pointer;
}

.theme-swiper-button-prev {
  left: 50px;
}

.theme-swiper-button-next {
  right: 50px;
}

.theme-swiper-button svg {
  width: 100%;
  height: 100%;
}

.theme-swiper-button svg path {
  fill: #ffffff;
}

.swiper-button-next {
  right: 50px!important;
  color: var( --theme-color )!important;
}

.swiper-button-prev {
  left: 50px!important;
  color: var( --theme-color )!important;
}

/*.swiper-button-prev:after, .swiper-button-next:after {
  font-size: 50px!important;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}*/

.theme-swiper-gallery .swiper-slide {
  width: 20%;
  min-height: 300px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.theme-swiper-gallery-wrapper {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

@media only screen and (max-width: 1100px) {
  .theme-swiper-gallery-wrapper {
    margin-left: auto;
    margin-right: auto;
  }
}

@media only screen and (max-width: 768px) {
  /*.theme-swiper-card {
    max-width: 100%;
  }*/
  
  .swiper-slide > .theme-grid-row, .theme-swiper-card {
    padding: var( --theme-padding-mobile );
  }
  
  .theme-swiper-button {
    top: 45%;
  }
  
  .theme-swiper-button-prev {
    left: 20px;
  }

  .theme-swiper-button-next {
    right: 20px;
  }  
} 