/*
Theme Name:  EXDSATHEN
Theme URI: https://www.whiskey.gr/
Author:         Lambros Ntokas
Author URI: https://www.whiskey.gr/
Version:        2
*/

:root {
--purple:#9b2778;
--darkblue:#0d2887;
--navyblue:#173e5f;
}

.purple-color{color:var(--purple)}
.navyblue-color{color:var(--navyblue)}
.white-color{color:#FFFFFF}

body{background-color:#f1f1f1;font-family: 'IBM Plex Sans', sans-serif}

.uppercase{text-transform:uppercase}

.font-medium{font-weight:500}
.font-semibold{font-weight:600}
.font-bold{font-weight:700}
.line-height-1{line-height:1.1}
.main-site,.maxgridrow{max-width:1630px;margin:0 auto;padding:0 12px}
.minigridrow{padding:0 12px;max-width:600px;margin:0 auto}
.sidebar-width{width:300px}
.site-header{color:#fff;padding:1rem 0;background:#0d2887;background:-webkit-linear-gradient(to left,#0d2887,#173e5f);background:linear-gradient(to left,#0d2887,#173e5f)}
.site-header h1,.site-header h2{line-height:1.2;padding:3px 0}
.main-logo{line-height:0;overflow:hidden;border-radius:100%;display:flex;justify-content:center;align-items:center;border:2px solid #fff;max-width:120px}
.langs{justify-content:flex-end}
.langs li{width:40px;line-height:0;margin:0 10px}
.langs li img{width:100%}
.wrap-nav{border-top:1px solid rgba(255,255,255,.3);margin-top:1rem;padding-top:1rem;display: flex;justify-content: center;}
.primary-menu{display:flex;justify-content:center}
.primary-menu .menu-item{font-weight:500;margin:0 1rem;position:relative;border-top:2px solid transparent}
.primary-menu .menu-item a{color:#fff}
.primary-menu .menu-item-has-children ul{display:none}
.primary-menu .menu-item:hover{font-weight:600;border-top:2px solid #fff}
.primary-menu .menu-item-has-children:hover ul{display:block;position:absolute;background-color:#e9edf0;z-index:2;border:1px solid #0d2887}
.primary-menu .menu-item-has-children:hover ul .menu-item{border-bottom:1px solid #0d2887;margin:0;padding:5px;white-space:nowrap}
.primary-menu .menu-item-has-children:hover ul .menu-item:last-child{border:none}
.primary-menu .menu-item-has-children:hover ul .menu-item a{color:#0d2887}
.primary-menu .menu-item.menu-item-has-children:after{content:"\f140";font-family:dashicons;font-size:20px;margin-top:2px;line-height:1;position:absolute}
.article-wrap{background-color:#fff;padding:1.5rem;box-shadow:1px 1px 4px #ccc;margin-top:3rem;border-radius:5px}
.post-body{margin-top:20px;font-size:20px}
.post-body p{font-size:17px;margin:15px 0;line-height:1.3}
.post-body p a {
    font-weight: 600;
    color: #0E2A83;
    border-bottom: 1.5px solid;
}
.single .article-wrap article:not(.archive-item){padding-bottom:2rem;min-height:500px}
.archive-item{border-bottom:1px solid #aaa;margin-bottom:1.2rem;padding-bottom:1.2rem}
.archive-item .post-body,.archive-item .post-body p{font-size:16px;line-height:1.4}
.archive-item .post-date{color:#999;font-size:14px}
.call-action{font-weight:700;color:#0d2887;border:2px solid;display:inline-flex;align-items:center;line-height:1;padding:3px 7px;font-size:14px;transition:all .3s ease}
.call-action:hover{background-color:#0d2887;border:2px solid transparent;color:#fff}
.left-side,.right-side{margin-top:3rem}
.widget-box{background-color:#e9edf0;margin-bottom:1.5rem;border:1px solid #ccc}
.widget-box .widget-header{border-bottom:3px solid #0d2887;padding:5px 8px}
.widget-box .widget-header .widget-name {
    color: #0d2887;
    font-weight: 700;
    display: flex;
    align-items: flex-end;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.widget-box .widget-header a:hover .widget-name{color:var(--purple)}
.widget-box .latest-item{border-bottom:1px solid #173e5f;padding:10px 8px;position:relative;display:block;padding-left:1.5rem}
.widget-box .latest-item:before{content:"";width:6px;height:6px;background-color:#000;border-radius:100%;float:left;margin-right:10px;position:absolute;left:10px;top:15px}
.widget-box .latest-item a{color:#173e5f}
.widget-box .latest-item a:hover{color:var(--purple)}
.widget-box .latest-item p img{margin:15px auto!important;display:block;float:initial!important}
.widget-box .latest-item p{color:#173e5f;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;clear:both;line-height:1.2}
.widget-box .widget-desc{text-align:left;padding:10px;line-height:1;font-size:15px;font-weight:500;color:#173e5f}
.section-name{border-bottom:1px solid;padding-bottom:6px}
.colpost{line-height:1.2;margin:10px 0;font-size:14px}
.colpost ol{margin-left:15px;margin-top:12px}
.colpost ol li{margin-bottom:10px}
.sep{display:block;width:100%;height:1px;background-color:#ddd;margin-bottom:2rem}
.newsletter-row {
    width: 100%;
    background-color: #FFF;
    padding: 15px 0;
    margin-top: 3rem;
}
#mc_embed_signup {
    margin: 0 auto;
}
.site-footer{margin-top:0;background-color:#36698e;padding:2rem 0}
.site-footer p{color:#fff}
.sponsor{line-height:0;display:block;width:100px;margin:0 auto;height:100px}
.sponsor img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}
.more-posts{clear:both;padding-top:2rem;border-top:2px solid var(--darkblue)}
.more-posts .post-body p{color:#173e5f;margin-top:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;clear:both;line-height:1.2}
.wrap-subcats{margin-bottom:2rem;border-bottom:1px solid #ddd;padding-bottom:1.5rem}
.subcat-item{background-color:#6491c7;height:100%;display:flex;align-items:center;padding:10px;line-height:1.2;font-weight:600;color:#fff;font-size:15px}
.subcat-item:hover{background-color:var(--darkblue);color:#fff}

.archive .archive-item .post-body{overflow:hidden;max-height:250px;position:relative}
.archive .archive-item .post-body:after{content:"";position:absolute;bottom:0;left:0;right:0;height:70px;background:linear-gradient(rgba(255,255,255,0),#fff)}
.archive .archive-item .post-body p:first-child{margin-top:0}

.more-posts .column:last-child .archive-item {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.category-pin {
    color: #173e5f;
    border-left: 5px solid #173e5f;
    margin-bottom: 40px;
    padding-left: 20px;
    line-height: 1.4;
}.post-body table {
    width: 100%!important;
    border-collapse: separate;
    border-spacing: 15px;
}

.page-id-5441 table {
    width: 100%!important;
    height: auto;
}
.page-id-5441 table td {
    text-align: center;
    padding: 5px;
    vertical-align: middle;
}.page-id-5441 table td p {
    font-size: 13px;
    line-height: 1.2;
}

.wrap-video-container {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
}.wrap-video-container iframe {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    left: 0;
}

@media screen and (max-width:1023px){
.main-logo {max-width: 100px;margin: 0 auto}
.langs {justify-content:center}  
}

@media screen and (max-width:667px){
#site-columns {flex-direction: column;display: flex}
.sidebar-width {width: 100%}
#order-1 {
    order: -1;
}.main-logo {
    max-width: 90px;
}.langs li {
    width: 30px;
}
  .right-side {margin-top:0}
}


.post-body p .alignleft {
    margin-right: 20px;
    float: left;
}



/*=== ==Burger Menu=====*/
.burger-menu-container{background: rgba(23, 62, 95, 1);width:290px;height:100vh;position:fixed;top:0;left:-100%;overflow-y:auto;z-index:20;transition:.6s ease;transition-duration:left}
.burger-menu-container.active{left:0;transition:.3s ease}
.burger-menu{width:100%;}
.burger-menu .menu-item{position:relative;}
.burger-menu .menu-item a{color:#fff;font-size:16px;text-decoration:none;display:block;padding:5px 30px;line-height:50px}
.burger-menu .menu-item:hover{background:linear-gradient(to left,#0d2887,#173e5f);transition:.3s ease}
.burger-menu .menu-item img.has-submenu:hover{cursor: pointer;}
.burger-menu .menu-item img.has-submenu{position:absolute;right:0;top:0;margin:20px;transition:.3s ease;width:20px;z-index:30}
.burger-menu .menu-item .sub-menu{background:rgba(23, 62, 95, .8);display:none}
.burger-menu .menu-item .sub-menu a{padding-left:80px}
.rotate{transform:rotate(90deg)}
.close-btn{position:absolute;right:0;cursor:pointer;color:#fff;font-size:20px;margin:25px;z-index:30}
.burger-menu-btn{position:absolute;cursor:pointer;color:#fff;font-size:20px;margin:25px;top:0;}

/*=====Search Bar=====*/
.search-container {display: inline-flex;}
.search-container form {display: flex; gap: 10px;}
.search-btn {max-width: 20px;}
.column.is-hidden-desktop .search-container {justify-content: center;}
@media screen and (max-width: 1024px) {
    .search-container {display: block;padding: 5px 30px;line-height: 50px; margin-top:80px}
    /* .search-container form {gap: 65px} */
}


.pdfwrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #F4F4F4;
    padding: 30px 0;
}.pdfwrapper .pdfemb-viewer {
    max-width: 100%!important;
}.wrap-main-col {
    max-width: 1280px;
    margin:0 auto;
    width: 100%;
}


.wrap-main-art {
    padding: 20px 20px;
    background: #e9edf0;
    border: 1px solid #DDD;
}.wrap-main-art .archive-item {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}.wrap-latest-news {
    padding: 20px 0;
}
.wrap-latest-news .archive-item:last-child {
    margin-bottom: 0;
    border: none;
    padding-bottom: 0;
}.wrap-latest-news .archive-item .post-number {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    background-color:#0d2887;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 10px;
}.wrap-latest-news .archive-item .post-row {
    flex: 1;
}.wrap-latest-news .archive-item {
    display: flex;
    align-items: flex-start;
}

.wrap-main-art .archive-item {
    height: 540px;
    overflow: hidden;
    position: relative;
}
.wrap-main-art .archive-item:after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(rgba(255,255,255,0),#e9edf0);
    }

.post-body .wp-caption p {
    font-size: 14px;
    margin-top: 0;
    border-bottom: 1px solid #DDD;
    padding-bottom: 5px;
}


@media screen and (max-width:667px){
.wrap-main-art img {
    float: none !important;
    margin: 0 auto 20px !important;
    display: block;
}
}


.post-type-archive-tribe_events .right-side-column,
.post-type-archive-tribe_events .left-side-column{display:none}


.postid-16065 .post-body table td {
    font-size: 15px;
    border: 1px solid #ddd;
    padding: 5px;
    border-right: none;
    border-bottom: none;
}

.postid-16065 .post-body table tr:last-child td{border-bottom:1px solid #DDD}
.postid-16065 .post-body table td:last-child {
    border-right: 1px solid #DDD;
}
.postid-16065 .post-body table {
    border-spacing: 0 0;
}