/*
Theme Name: IMMK
Theme URI: https://www.tool.gr
Author: tool
Author URI: https://www.tool.gr
Description: A IMMK theme
Version: 1.0
License: GNU General Public License
*/

/*
red =       #8b0f35
blue =      #022147
*/

.site-title {
    margin:0;padding:0;width:400px;
}
.site-title a {
    width:100%;display:block;
}


.sigma_header-top-links.wpml-ls-legacy-list-horizontal {
    display:flex;
    align-items:center;
    margin:0 0 0 30px;padding:0;border:0;
}
.sigma_header-top-links.wpml-ls-legacy-list-horizontal li.wpml-ls-current-language a {
   color:#8b0f35; 
}
.sigma_header-top-links.wpml-ls-legacy-list-horizontal ul > li + li > a{
  padding-left:15px;
  margin-left:15px;
}
.sigma_header-top-links.wpml-ls-legacy-list-horizontal ul a:hover {
    color:#8b0f35;
}
.sigma_header-middle > .navbar > .navbar-nav {
    margin-right:20px;
}
.sigma_header .sub-menu a {
  line-height: 1.4;    
}
.site-header.sigma_header .sub-menu a:hover {
  transform: none;
}
.sigma_header-top-inner {
    position: relative;
    background-color: #DDDDDD;
}
.sigma_header-top-inner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0%;
    bottom: 0%;
    background-color: rgba(255,255,255, .5);
}
.footer-widget .navbar-nav {
    margin-top:45px;
}
.footer-widget ul li a {
    line-height: 1.4;
}
.sigma_footer-bottom .sigma_sm {
    justify-content:flex-end;
}
.sigma_footer.sigma_footer-dark .footer-widget ul.navbar-nav li a:hover,
.sigma_footer.sigma_footer-dark .footer-widget ul.navbar-nav li a:focus {
  color:#ffffff;opacity:0.5;
}
.sigma_footer-created {
    color:#ffffff;
    text-align:right;
}
.sigma_footer .sigma_footer-bottom p {
    margin:0;
}
.sigma_footer-created a {
    color:#ffffff;
}
.sigma_footer-created a:hover,
.sigma_footer-created a:focus {
    color:#ffffff;opacity:0.5;
}

.site-header.sigma_header .container-fluid {
    max-width:1900px;
}

.site-header.sigma_header.header-absolute {
    position:fixed;
    transition:all 0.2s ease-in-out;
}
.site-header.sigma_header.header-absolute.sticky {
    top:-90px;
}

.sigma_header-controls.style-2 {
    display: none;
}

.sigma_banner.banner-1 {
    padding:175px 0 0 0;
}
.sigma_banner.banner-1 .section.section-padding {
  padding:50px 0 40px 0;
}
.sigma_banner.banner-1 .section.section-padding .section-title.text-center {
  margin: 0 auto 0 auto;
}

.sigma_post h1.entry-title {
    font-weight:600;
}
.post-detail-wrapper .sigma_post-meta {
    align-items:flex-start;
}
.sigma_post-meta div {
  font-size: 15px;
  color: #022147;
  font-weight: 600;
}
.post-detail-wrapper .sigma_post .sigma_post-meta {
    margin-bottom:10px;
}
.post-detail-wrapper .sigma_post .sigma_post-meta.cat {
    margin-bottom:10px;
}
.post-detail-wrapper .sigma_post .post-thumb {
    margin-top:40px;margin-bottom:40px;
}
.post-detail-wrapper .sigma_post .the-content {
    margin-top:40px;
}
.post-detail-wrapper .sigma_post .post-thumb img {
    width:100%;
    margin-bottom:0;
}
.sigma_post-meta.cat {
    margin-top:15px;
}
.sigma_post-meta.cat em {
    margin-top:5px;
}
.img-slider {
    position:absolute;right:0;top:0;
}

.post-gallery {

}
.post-gallery .item-gallery {
    margin-bottom:20px;
}
.post-gallery .item-gallery .gallery-thumb {
    position:relative;
}
.post-gallery .item-gallery .gallery-thumb:before {
    content:"";
    padding-top:75%;
    display:block;
}
.post-gallery .item-gallery .gallery-thumb img {
    position:absolute;
    bottom:0;left:0;right:0;top:0;
    width:100%;height:100%;
    object-fit:cover;object-position:center;
}

.sidebar-widget.widget-categories.filters ul.post-categories {
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    justify-content: center;
}
.sidebar-widget.widget-categories.filters {
    border:0;
    padding-top:0;padding-bottom:0;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-bottom:30px;
}
.sidebar-widget.widget-categories.filters  ul.post-categories li {
    margin:5px 5px 5px 5px;
}
.sidebar-widget.widget-categories.filters ul li a {
    text-align:center;
}

.sidebar .sigma_service {
    margin-top:30px;
}

@media (max-width: 1800px) {
    .sigma_header-middle .navbar {
        flex-direction:column;
    }
    .site-header.sigma_header.header-absolute .sigma_header-middle .sigma_logo-wrapper,
    .site-header.sigma_header.header-absolute .sigma_header-middle .navbar-nav {
        margin-left:auto;
        margin-right:auto;
    }
    .sigma_banner.banner-1 {
        padding: 255px 0 0 0;
    }
}

@media (max-width: 1099px) {
    .site-header.sigma_header.header-absolute.sticky {
        top:-49px;
    }
    .sigma_header-controls.style-2 {
        display: grid;
    }
    .sigma_header-middle .navbar {
        flex-direction:row;
    }
    .site-header.sigma_header.header-absolute .sigma_header-middle .navbar-nav {
        display:none;
    }
    .site-header.sigma_header.header-absolute .sigma_header-middle .sigma_logo-wrapper {
        margin-left:0;
    }
    .site-header.sigma_header.header-absolute .sigma_header-middle .navbar-nav {
        margin-right:0;
    }
    .sigma_banner.banner-1 {
        padding: 135px 0 0 0;
    }
    .sigma_aside ul .menu-item.menu-item-has-children > a::after {
        top: 0;
        height: 30px;
        display: block;
        position: absolute;
        margin-top: 15px;
        right: 0;
    }
}

@media (max-width: 991px) {
    .sigma_footer-copyright,
    .sigma_footer-created {
        text-align:center;
    }
    .banner-1.sigma_banner img {
        position:relative!important;
    }
    .banner-1.sigma_banner .img-text {
        order:2;margin-top:-100px;
        width: 90%;
        margin-left: 5%;
    }
    .banner-1.sigma_banner .img-slider {
        position:relative;order:1;
    }
}

@media (max-width: 768px) {
    .site-header.sigma_header.header-absolute.sticky {
        top:-30px;
    }
    .sigma_banner.banner-1 {
        padding: 95px 0 0 0;
    }
    .sigma_header.header-4 .sigma_header-middle .container-fluid .navbar {
        padding: 0 10px;
    }
    .site-title {width:310px;}
}

@media (max-width: 450px) {
    .sigma_aside.sigma_aside-right.sigma_aside-right-panel {
        width: 310px;
    }
    .site-title {width:300px;}
    .sigma_banner.banner-1 {
        padding: 95px 0 0 0;
    }
}

@media (max-width: 380px) {
    .sigma_header.header-4 .sigma_header-middle .container-fluid .navbar {
        padding: 0 10px;
    }
    .site-title {width:260px;}
    .sigma_banner.banner-1 {
        padding: 85px 0 0 0;
    }
}


.sigma_service.style-2 {
    height:100%;
    margin-bottom:0;
}
article.post {
    margin-bottom:50px;
}
.post .sigma_service:hover {
  transform: none;
}
.post .h4 {
    font-weight:600;
}
.sigma_post-thumb {
    position:relative;
}
.sigma_post-thumb:before {
    content:"";
    padding-top:75%;
    display:block;
}
.sigma_post-thumb a {
    position:absolute;
    top:0;left:0;bottom:0;right:0;
}
.sigma_post-thumb img {
    position:absolute;
    width:100%;height:100%;
    object-fit: cover;
    object-position: center;
}
.sigma_service .sigma_post-meta {
    justify-content:flex-start;
    align-items: flex-start;
}
.sigma_service .sigma_post-meta em {
    margin-top:5px;
}
.sigma_post-category ul.post-categories {
    margin:0;
    display:flex;flex-direction:row;flex-wrap:wrap;
}
.sigma_post-category ul.post-categories li {
    margin:0;display:inline-flex;
    line-height: 1.5;
}
.sigma_post-category ul.post-categories li a {
    margin-left:5px;
}
.sigma_post-category ul.post-categories li:after {
    content:", ";
}
.sigma_post-category ul.post-categories li:last-child:after {
    content:none;
}
.sigma_post-single-author-content {
    line-height:1.6rem;margin-bottom:20px;
}

/* pagination */

.pagination .page-numbers {
    margin: 0;
}

.pagination .page-numbers:last-child,
.pagination .page-numbers:first-child,
.pagination .page-numbers{
    border-radius: 0;
}

.pagination .page-numbers {
  color: #022147;
  border: 0;
  background-color: #fff;
  border: 1px solid #022147;
  border-radius: 0;
  font-size: 15px;
  font-weight: 600;
  padding: 15px 15px;
  margin-left: 5px;
  margin-right: 5px;
  line-height: 1.25;
  min-width: 50px;
  text-align:center;
  display: inline-flex;
  justify-content:center;
}

.pagination .page-numbers.current {
    background-color: #022147;
    border: 1px solid #022147;
    color:#ffffff;
}

.pagination .page-numbers:not(.current):hover,
.pagination .page-numbers:not(.current):focus {
    background-color: #8b0f35;
    border-color: #8b0f35;
    color:#ffffff;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}