:root {
  --color-bg-grey: #e8e8e8;
  --color-bg-dark-grey: #c7c5c5;
  --color-blue: #0194de;
}

@media(min-width: 767px) {
	footer .ast-container {
		max-width: 1200px !important;
		margin: auto !important;
	}
	
	footer .ast-container .ast-row {
		margin: 0 !important;
	}
	
	.footer_content {
		max-width: 1200px;
		margin: auto;
		display: flex;
		flex-direction: row;
		position: relative;
		justify-content: space-evenly;
	}
	
	.footer_content h2 {
		color: var(--color-blue) !important;
		font-weight: bold;
	}

	.footer_content .contact_wrapper:first-child {
    	border-right: 1px solid black;
	}
	
	.footer_content .contact_wrapper {
		width: calc(60% - 40px);
		display: flex;
		flex-direction: row;
		justify-content: space-between;
	}
	.footer_content .contact_wrapper > .widget_text {
		width: 100%;
		display: inline-block;
		padding-bottom: 20px;
	}
	.footer_content .offices_wrapper {
		width: 100%;
		display: inline-block;
	}
	.footer_content .row1 {
		display: block;
	}
	.footer_content .central_offices,
	.footer_content  .thessaloniki_offices {
		width: calc(50% - 40px);
		margin-right: 20px;
		display: inline-block;
		float: left;
	}
	
	.footer_content .office_title {
		display: block;
		font-weight: bold;
		font-size: medium;
	}
	.footer_content .office_address {
		display: block;
		font-size: small;
		white-space: nowrap;
	}
	.footer_content .office_phones {
		margin-left: 40px !important;
		list-style: none;
	}
	.footer_content .office_phones::before {
		content: url('./icons/tel.png');
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		margin-left: -40px;
	}
	.footer_content .office_phones li {
		width: calc(100% - 40px);
	}
	.footer_content .office_phones li .office_phone {
		color: black;
	}
	
	.footer_content .office_faxes {
		margin-left: 40px !important;
		list-style: none;
		    margin-top: 5px;
    margin-bottom: 5px;
	}
	.footer_content .office_faxes::before {
		content: url('/wp-content/uploads/2020/11/fax-machine-01.png');
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		margin-left: -40px;
	}
	.footer_content .office_faxes li {
		width: calc(100% - 40px);
	}
	.footer_content .office_faxes li .office_fax {
		color: black;
	}
	
	.footer_content .office_email {
		color: black;
		margin-left: 40px;
	}
	.footer_content .office_email::before {
		content: url('./icons/mail.png');
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		margin-left: -40px;
		
	}
	.footer_content .social_media_wrapper {
		padding-top: 30px;
		border-top-width: thin;
		display: flex;
		flex-direction: row;
		width: calc(50% - 40px);
		max-width: 200px;
		justify-content: space-around;
		float: left;
	}
	.footer_content .fake_placeholder {
		border-top-color: var(--color-blue);
		border-top-style: solid;
		border-top-width: thin;
		width: calc(50% - 120px);
		float: left;
		margin-right: 100px;
	}
	
	.footer_content .social_media_wrapper {
		margin-right: 40px !important;
	}
	.footer_content .row2 {
		display: flex;
		flex-direction: row;
		padding-top: 20px;
	}
	.footer_content .social_media_wrapper .social_media.facebook a {
		content: url("icons/fb.png");
	}
	.footer_content .social_media_wrapper .social_media.twitter a {
		content: url("icons/twitter.png");
	}
	.footer_content .social_media_wrapper .social_media.linkedin a {
		content: url("icons/linkedin.png");
	}
	.footer_content .social_media_wrapper .social_media.instagram a {
		content: url("icons/insta.png");
	}
	.footer_content .newsletter_wrapper {
		width: calc(40% - 40px);
	}
	.footer_content .newsletter_wrapper label input[type=email]{
		color: var(--color-blue);
	}
	.footer_content .newsletter_wrapper input[type=email]{
		width:100%;
	}
	.footer_content .newsletter_wrapper p,
	.newsletter_agree_wrapper a{
		line-height:1;
		font-weight:300;
	}
	.footer_content .newsletter_wrapper p a {
		text-decoration:underline;
	}
	.footer_content .newsletter_wrapper input[type=submit]{
		font-family:Averta;
	}
	.footer_content .newsletter_agree_and_submit_wrapper {
		display: flex;
		flex-direction: row;
		alignment-adjust: space-between;
	}
	.footer_content .newsletter_agree_and_submit_wrapper .newsletter_agree_wrapper,
	.footer_content .newsletter_agree_and_submit_wrapper .newsletter_submit_wrapper {
		flex: 1;
	}
	
	/* The container */
	.footer_content .newsletter_agree_and_submit_wrapper .newsletter_agree_wrapper .checkbox_wrapper {
		display: inline-block;
		position: relative;
		padding-left: 35px;
		cursor: pointer;
		font-size: 10px;
		height: 18px;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}

	/* Hide the browser's default checkbox */
	.footer_content .newsletter_agree_and_submit_wrapper .newsletter_agree_wrapper [type="checkbox"] {
		position: absolute;
		opacity: 0;
		cursor: pointer;
		height: 0;
		width: 0;
	}

	/* Create a custom checkbox */
	.footer_content .newsletter_agree_and_submit_wrapper .newsletter_agree_wrapper [type="checkbox"] ~ .checkmark {
		position: absolute;
		top: 0;
		left: 0;
		height: 25px;
		width: 25px;
		background-color: #fff;
	}

	/* On mouse-over, add a grey background color */
	.footer_content .newsletter_agree_and_submit_wrapper .newsletter_agree_wrapper [type="checkbox"] ~ .checkmark {
		background-color: #ccc;
	}

	/* When the checkbox is checked */
	.footer_content .newsletter_agree_and_submit_wrapper .newsletter_agree_wrapper [type="checkbox"]:checked ~ .checkmark {
		background-color: #fff;
	}
	.footer_content .newsletter_agree_and_submit_wrapper .newsletter_agree_wrapper [type="checkbox"] ~ .checkmark:after {
	  left: 8px;
	  top: 3px;
	  width: 10px;
	  height: 16px;
	  border: solid var(--color-blue);
	  border-width: 0 3px 3px 0;
	  -webkit-transform: rotate(45deg);
	  -ms-transform: rotate(45deg);
	  transform: rotate(45deg);
	}
	/* Create the checkmark/indicator (hidden when not checked) */
	.footer_content .newsletter_agree_and_submit_wrapper .newsletter_agree_wrapper [type="checkbox"] ~ .checkmark:after {
	  content: "";
	  position: absolute;
	  display: none;
	}
	/* Show the checkmark when checked */
	.footer_content .newsletter_agree_and_submit_wrapper .newsletter_agree_wrapper [type="checkbox"]:checked ~ .checkmark:after {
		display: block;
	}
	/* Style the checkmark/indicator */
	.footer_content .newsletter_agree_and_submit_wrapper .newsletter_agree_wrapper [type="checkbox"] .checkmark:after {
		left: 9px;
		top: 5px;
		width: 5px;
		height: 10px;
		border: solid var(--color-blue);
		border-width: 0 3px 3px 0;
  		-webkit-transform: rotate(45deg);
  		-ms-transform: rotate(45deg);
  		transform: rotate(45deg);
	}
	
	.footer_content .newsletter_agree_and_submit_wrapper .newsletter_agree_wrapper label {
		white-space: nowrap;
		margin-right: 20px;
		line-height: 47px;
	}
	.footer_content .newsletter_agree_and_submit_wrapper .newsletter_submit_wrapper {
		text-align: right;
	}
	.footer_content .back_to_top_wrapper {
		color: var(--color-blue);
		transform: translateX(130px) rotate(-90deg);
		width: 130px;
		position: absolute;
		right: 0;
		margin-top: 40px;
	}
	.footer_content .back_to_top_wrapper a {
		color: var(--color-blue);
		font-weight: bold;
		padding-right: 10px;
	}
	.footer_content .back_to_top_wrapper::after {
		content: url(./icons/footer-arrow-right.png);
		margin-left: 10px;
	}
	.site-footer a,
	.site-footer{
		font-weight:100!important;
	}
	#menu-footer > li:not(:last-child) {
       border-right: 1px solid black;
       margin-right: 10px;
	}
}

/**
* Tablet hacks
**/
@media(min-width: 767px) and (max-width: 1400px) {
	.footer_content .office_address {
		white-space: pre-wrap;
	}
	.footer_content .back_to_top_wrapper {
		transform: translateX(47px) rotate(-90deg);
	}
	.footer_content .newsletter_agree_and_submit_wrapper {
		flex-direction: column;
	}
	.footer_content .newsletter_agree_and_submit_wrapper .newsletter_submit_wrapper {
		text-align: left;
	}
}