/*
Theme Name: GovGR KEYD
Theme URI: https://keyd.gov.gr/
Author: Fotis Routsis
Author URI: https://routsis.gr
Description: Theme based on the GovGR bootstrap guidelines.
Version: 1.6.7
Tested up to: 5.7
Requires PHP: 7.3
License: GNU General Public License v3 or later
License URI: LICENSE
Text Domain: govgr
*/

/* Elements Overrides */

h1, .h1 {
    font-size: 2rem; }
  
  h2, .h2 {
    font-size: 1.6rem; }
  
  h3, .h3 {
    font-size: 1.4rem; }
  
  h4, .h4 {
    font-size: 1.3rem; }
  
  h5, .h5 {
    font-size: 1.1rem; }
  
  h6, .h6 {
    font-size: 1rem; }

main {
    min-height: 800px;
}

.home main {
    min-height: unset;
}

/* Header */
#header .border-header {
    border: 0;
    height: 8px;
    background:#046ec5;
}

#header .organization-logo {
    background-image: url( 'assets/images/govgr-logo.png' );
    background-size: contain;
    max-width: 100%;
    display: block;
    background-repeat: no-repeat;
    padding-left: 110px;
    height: 100px;
  }

#header .organization-logo span {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: bold;
    height: 100%;
    padding-top: 10px;
  }

/* Top navigation */

.header-menu-container {
    background: #00295d;
}

#header-menu .nav-link {
    color: #fff;
    padding-right: 1.5rem;
}

span.navbar-toggler-icon {
    color: #fff;
}

.social-menu {
    list-style: none;
}

.top-menu-font a {
    font-size: 90%;
    font-weight: 600;
    margin-right: 10px;
}

.social-menu li{
    font-size: 15px;
    background: #00295d;
    height: 100%;
    border-radius: 50%;
    line-height: 15px;
    padding: 6px;
    margin-right: 8px;
    display: inline-block;
}

.social-menu li a {
    width: 15px !important;
    height: 15px !important;
    display: block;
    text-align: center;
    color: #fff;
}


/* User navigation */
.top-menu-container {
    background: #046ec5;
}

.top-menu-container a{
	color: #fff
}

.top-menu-right {
    font-size: 14px;
    font-weight: bold;
}

.top-menu-right .fas {
    font-size: 30px;
    vertical-align: middle;
    margin-right: 5px;
}

/* Content Area */
.content-area p, .content-area ul, .content-area ol {
    line-height: 1.8rem;
    font-size: 1.12rem;
  }

  .bg-table-keyd {
    background-color: #eeeeee;
  }

/* Material Tabs */
.material-tabs .nav-item a {
    font-size: 18px;
    padding: 15px 30px;
    font-weight: bold;
    border-radius: 0 !important;
    border: 1px solid #cacaca !important;
  }

.material-tabs .nav-item a.active {
  background-color: #003476;
  color: #fff;
  border: 1px solid #003476 !important;
}

#materialTabsContent {
    border: 1px solid #cacaca;
    margin-top: -1px;
    background: #fbfbfb;
  }

  #materialTabsContent ul {
    border-top: 1px solid #dfdfdf;
    margin: 20px 0 !important;
    list-style: none;
    padding: 0;
  }
#materialTabsContent li {
  border-bottom: 1px solid #dfdfdf;
  padding: 13px 10px;
}

#materialTabsContent li span {
    color: #8c1616;
  }
/* Pre-Footer */
#pre-footer {
    border-top: 1px solid #046ec5;
}

.pre-footer img{
	max-width:100%;
}

a.footer-banner-text {
    font-size: 23px;
    line-height: 25px;
    display: block;
    border: 1px solid #f8f8f8;
    color: #046ec5;
    padding: 10px 20px;
}

a.footer-banner-text:hover {
	text-decoration: initial;
	color:#003476;
}

.footer-image {
    border: 1px solid;
    padding: 10px;
    height: 150px;
  }

  .footer-image a {
    height: 130px;
    line-height: 130px;
    display: block;
    width: 100%;
    text-align: center;
  }

.footer-image img {
    width: auto;
    max-height: 130px;
}

/* Footer */
#footer {
	background-color: #eeeeee;
	border:none;
	color:#616161;
}

#footer .border-footer {
    border: 0;
    height: 4px;
    background:#046ec5;
}

#footer .nav-link:first-of-type {
    padding-left: 0;
}


#footer .disclaimer p{
	font-size: 0.875rem;
}

.govgr-logo-generic {
	width: 100%;
	max-width:225px;
}


.disclaimer {
    line-height: 30px;
  }


/* Breadcrumbs */
.govgr-breadcrumbs {
    border-bottom: 1px solid #046ec5;
}

.govgr-breadcrumbs p {
    font-size: 0.775rem;
	margin:0;
}

/* Home */

.front-box {
    position: relative;
    padding: 20px 40px;
    background: #003476;
    color: #fff;
    text-align: center;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    transition: all 400ms ease-in;
	box-shadow: 0 8px 12px 0 rgb(0 0 0 / 20%);
}

.col-12 .front-box {
    min-height: unset;
    padding: 40px 50px;
  }

.front-box-alt {
    background: #fff;
    color: #003476;
    border: 1px solid #cacaca;
  }

.front-box:hover {
    transform: translate(0,-8px);
    background: #046ec5;
    color: #fff;
}

.front-box:hover a{
    color: #fff;
    text-decoration: underline;
}

.front-box span {
    font-size: 120px
}

.front-box a.box-link {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    height: 100%;
    width: 100%
}

.front-box h2 {
    font-size: 1.4rem;
    margin: 0 !important;
}

.front-box--s {
    max-height: 200px
}

.home-post {
    border-bottom: 1px solid #9e9e9e;
    display: block;
    height: 100%;
    color: #212529;
}

.home-post:hover{
	text-decoration:none;
}

.home-post h4 {
    font-size: 18px;
    font-weight: normal;
    color: #003476;
  }

.announcement-container {
    text-align: center;
    padding: 20px 10px;
    font-size: 20px;
}

.announcement-container .fas {
    font-size: 40px;
    vertical-align: middle;
}

.announcement-container.info {
    border: 2px solid #046ec5;
}

.announcement-container.important {
    border: 2px solid #a92121;
}

.announcement-container.info .fas {
	color:  #046ec5;
}

.announcement-container.important .fas {
    color: #a92121;
}


/* Sidebar */
.promo-box {
    font-size: 1.225rem;
    font-weight: 700;
    display: block;
}

.promo-box a {
	border: 2px solid rgb(0 52 118);
    width: 100%;
    height: 100%;
	box-shadow: 0 4px 8px 0 rgb(0 52 118 / 20%);
	transition: all 200ms ease-in;
	display: block;
}

.promo-box .fa,
.promo-box .fas,
.promo-box .far,
.promo-box .fab {
    font-size: 3.25rem;
    font-weight: bold;
    width: 18%;
    margin-right: 4%;
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.promo-text {
    vertical-align: middle;
    display: inline-block;
    height: 100%;
    width: 75%;
}

.promo-box a:hover{
	background:#003476;
	color: #fff;
}

.promo-box a:hover, 
.promo-box a:hover .promo-text,
.promo-box a:hover .fas {
    text-decoration: none !important;
	color: #fff;
}


/* Main */
main p a {
    text-decoration: underline;
}

/* Archive */
footer.entry-meta {
    border: none;
}

/* Search form */
.search-form .fas.fa-search {
    font-size: 20px;
    vertical-align: middle;
}

.search-form  .btn-secondary {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.page-template-page-faq .card-header h5 .btn-link,
.page-template-page-accordion .card-header h5 .btn-link {
    font-weight: 700;
    font-size: 18px;
	text-align: left;
}

.front-box.inner-box {
    flex-direction: row;
    min-height: unset;
    text-align: left;
    width: 100%;
}

li.list-group-item.active a {
    color: #fff;
}

/* From http://codex.wordpress.org/CSS */

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto
}

.wp-caption {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}



/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

.iframe-container {
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
}
.iframe-container iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

/* Contact page icon */
span.fas.la-map-marked {
    font-size: 30px;
    margin: 0 10px 0 0;
    vertical-align: middle;
}

/* Plugin Specific Styles */

.cli-bar-message {
    font-size: 0.875rem;
}
.cli-plugin-main-link {
    border: 1px solid;
    padding: 5px 12px;
    font-size: 0.854rem;
    text-decoration: none !important;
}

.qmn_pagination {
    border: none !important;
}

.widget_recent_entries ul {
    padding: 0;
    list-style: none;
    margin: 30px 0;
    display: block;
}

.widget_recent_entries ul li {
    display: block;
    margin: 8px 0;
    padding: 5px 0;
    border-bottom: 1px dotted;
}

.widget_recent_entries ul li span {
    display: block;
    text-align: right;
    font-size: 14px;
}

h3.widget-title {
    font-size: 20px;
}

.widget_categories ul {
    list-style: none;
    margin: 20px 0px;
    padding: 0 !important;
}

.widget_categories ul li {
    display: block;
    width: 100%;
    border-bottom: 1px dotted #cacaca;
}

.widget_categories ul li a {
    padding: 8px 4px;
    display: block;
    width: 100%;
}

.widget_categories ul li a:hover {
    text-decoration: none;
}

.widget_categories,
.widget_categories .widget-body-wrap,
.widget_categories form {
    max-width: 100%;
    min-width: 0;
}

.widget_categories form {
    display: grid;
}

.widget_categories select.postform {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border-radius: 0;
}

.row > .col:has(.widget_categories) {
    min-width: 0;
}

.card {
    border-radius: 0;
}

.wp-pagenavi a, .wp-pagenavi span {
    padding: 5px 10px;
}

@media only screen and (max-width: 768px) {
	.pre-footer img {
		max-width: 200px;
		height: auto;
		margin-bottom: 20px;
	}
	#header .logo_govgr {
		margin-bottom: 30px;	
	}

	div#trustmark {
		position: relative;
		background: #eeeeee;
		display: block;
		width: 100%;
		left: 0;
		padding: 40px;
		margin-top: -40px;
		text-align: center;
	}	
}

.archive-filters__label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.archive-filters .form-control {
	border-radius: 0;
	height: calc(1.5em + 0.75rem + 2px);
}

.archive-filters__clear {
	border-radius: 0;
	white-space: nowrap;
}

/* Reports archive cards */
.report-card {
	border-radius: 0;
	border: 1px solid #dee2e6;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.report-card .card-title a {
	color: #003476;
	text-decoration: none;
}

.report-card .card-title a:hover,
.report-card .card-title a:focus {
	color: #046ec5;
	text-decoration: underline;
}

.report-card__type {
	color: #6c757d;
	font-size: 0.9rem;
}

.report-card__excerpt {
	font-size: 0.95rem;
	color: #343a40;
}

.report-card__download,
.report-card__files-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	color: #003476;
	font-size: 1.15rem;
	text-decoration: none;
}

.report-card__download:hover,
.report-card__download:focus {
	color: #046ec5;
}

.report-card__files-count {
	gap: 0.35rem;
	font-size: 0.95rem;
	font-weight: 600;
}

.report-files__item a {
	color: #003476;
	font-weight: 500;
}

.report-files__item a:hover {
	color: #046ec5;
	text-decoration: none;
}

/* Main menu: open dropdowns on hover (desktop only) */
@media (min-width: 768px) {
	#header-menu .dropdown:hover > .dropdown-menu,
	#header-menu .dropdown:focus-within > .dropdown-menu,
	#header-menu .dropdown-submenu:hover > .dropdown-menu,
	#header-menu .dropdown-submenu:focus-within > .dropdown-menu {
		display: block;
		margin-top: 0;
	}

	#header-menu .dropdown-menu {
		margin-top: 0;
	}

	#header-menu .dropdown-submenu {
		position: relative;
	}

	#header-menu .dropdown-submenu > .dropdown-menu {
		top: 0;
		left: 100%;
	}
}

