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

@media(max-width: 766px) {
	footer .ast-container {
		margin: auto !important;
	}
	.footer_content {
		width: 90%;
		margin: auto;
		display: flex;
		flex-direction: column;
		position: relative;
		justify-content: space-evenly;
	}
	
	.footer_content h2 {
		color: var(--color-blue) !important;
		font-weight: bold;
	}
	
	.footer_content .contact_wrapper {
		width: 70%;
		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 .row3 {
	    width: 100%;
	    border-bottom: solid thin var(--color-blue);
	    display: inline-block;
	    padding-bottom: 20px;
	   }
	.footer_content .central_offices,
	.footer_content  .thessaloniki_offices {
		width: 100%;
		display: inline-block;
		float: left;
		padding-bottom: 20px;
		border-bottom: solid thin var(--color-blue);
		margin-bottom: 20px;
	}
	
	.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% - 10px);
	}
	.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% - 10px);
	}
	.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 {
		border-bottom-width: thin;
		flex-direction: row;
		max-width: 200px;
		justify-content: space-around;
		float: left;
	}
	.footer_content .social_media_wrapper .social_media {
		margin-right: 20px;
	}
	.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 {
		display: flex;
	}
	.footer_content .row2 {
		display: none;
	}
	.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: 100%;
	}
	.footer_content .newsletter_wrapper label input[type=email],
	.footer_content .newsletter_wrapper label input[type=email]::placeholder {
		color: var(--color-blue);
	}
	.footer_content .newsletter_wrapper input[type=email]{
		width:100%;
	}
	
	.footer_content .newsletter_wrapper input[type=submit]{
		font-family:Averta;
		margin-top:5vw;
	}
	
	/* 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_wrapper p a {
		text-decoration:underline;
	}
	.footer_content .newsletter_wrapper p{
		line-height:1;
	}
	.footer_content .back_to_top_wrapper {
		color: var(--color-blue);
		transform: translateX(0px) translateY(-790px) rotate(-90deg);
		width: 30px;
		position: absolute;
		right: 0;
	}
	.footer_content .back_to_top_wrapper .text{
		display: none;
	}
	.footer_content .back_to_top_wrapper a {
		color: transparent;
		font-weight: bold;
		padding-right: 5%;
		content: "";
	}
	.footer_content .back_to_top_wrapper::after {
		content: url("./icons/blue-arrow-right.png");
	}
	.ast-small-footer.footer-sml-layout-2 .ast-container {
		width: 90% !important;
	}
	
	.footer-sml-layout-2 .ast-small-footer-section-1, .footer-sml-layout-2 .ast-small-footer-section-2 {
		text-align: left;
		padding: 0px;
	}
	.footer-sml-layout-2 .ast-small-footer-section-1 *, 
	.footer-sml-layout-2 .ast-small-footer-section-2 * {
		font-weight: bold;
	}
	#menu-footer a {
		padding-left: 0;
	}
	
	footer .ast-row {
		margin: 0px;
	}
	.site-footer a,
	.site-footer{
		font-weight:100!important;
	}
}