@media (max-width: 1420px) {
	.post-tags.flex ul {
		padding: 0;
		margin: revert;
	}
}

/* Large devices (desktops, less than 1400px)*/
@media (max-width: 1400px) {
	.logo-uth img,
	.logo-dept img {
		width: 90px;
	}
	
	.post-date {
		min-width: unset;
	}
	
	.first-line.flex {
		flex-direction: column;
		justify-content: unset;
	}
	
	/*.news .post-tags {
		min-height: 23px;
	}
	
	.box-text .post-tags li {
		margin-top: 5px;
	}*/
}

@media (max-width: 1250px) {
			#wp-admin-bar-uth-view-site,
			#wp-admin-bar-uth-network,
			#wp-admin-bar-uth-quick-edit-menu-0,
			#wp-admin-bar-uth-post-management-menu-0,
			#wp-admin-bar-uth-tutorials,
			#wp-admin-bar-uth-username,
			#wp-admin-bar-uth-logout,
			#wp-admin-bar-WPML_ALS,
			{
				display: none !important;
			}
	}

/* Large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) {
	/* Header */
	.logo-uth img,
	.logo-dept img {
		max-width: 75px;
	}
	
	h1.department-title {
  		font-size: 22px !important;
	}
	/* End of Header */
	
	/* Homepage */
	.layout-2 .wrapper .box {
		justify-content: space-between;
		padding: 60px 50px;
	}
	
	.layout-2 .wrapper .box .post-image {
	  width: 56%;
	}		
	
	.wp-video {
		width: 55%;
	}
	
	.layout-6 .wrapper .flex {
		flex-wrap: wrap;
	}
	
	.layout-6 .box {
		margin-right: 0;
		padding: 15px 0;
		width: 100%;
	}
	
	.start-date {
	  font-size: 16px;
	  padding: 12px 14px;
	}
	
	.site-primary-footer-wrap {
		padding: 45px 50px;
	}
	
	.circular-landscape img {
	  height: 160px;
	  width: 160px;
	}
	
	.text-and-featured {
	  min-height: 400px;
	}
	/* End of homepage */
	
	/* Archive page */	
	.archive.category-ekdilwseis .box-text .post-title {
	  margin-bottom: 0;
	}
	
	.archive.category-ekdilwseis .news .box .post-title {
	  min-height: 161px;
	}
	
	.archive.category-ekdilwseis .box {
	  margin: 0 2% 20px 0;
	}
	
	.archive.category-ekdilwseis .news.box-group .box:nth-child(3n) {
	  margin: 0 2% 20px 0;
	}
	
	.archive.category-ekdilwseis .news.box-group .box:nth-child(2n) {
	  margin: 0 0 20px 0;
	}
	
	.news .first-line {
	  flex-wrap: wrap;
	}
	/* End of Archive page */
	
	/* Single page */	
	.page .single-image, 
	.single .single-image {
		max-width: 500px;
	}
	/* End of Single page */
	
	/* Privacy Policy */
	#cookie-law-div {
		padding: 45px;
		width: 50%;
	}
	/* End of Privacy Policy */
}

@media (max-width: 1166px) and (min-width: 1148px) {
	#ast-mobile-header {
		display: none;
	}
}

@media (max-width: 1150px) {
	.header-certifications {
		display: none;
	} 
	
	/* Custom header */

	.custom-header .lang-switcher-search.flex {
		display: none;
	}
	
	.custom-header .search {
		display: none;
	}

	.custom-header .search-mobile {
		display: block;
	}
	
	.custom-header .dept-info.flex {
		padding: 0 20px;
	}
	
	.custom-header-bottom {
		align-items: center;
		background-color: #f3f3f3;
		display: flex;
		justify-content: space-between;
		padding: 0 20px;
	}

	.custom-header .lang-switcher-mobile {
		display: block;
		min-width: 215px;
	}
	
	/* Custom search */
	.search-container {
	  width: 50px;
	}
	
	.searchbox-open {
	  width: 300px;
	}
	
	.searchbox input[type="text"] {
		background-color: #ffffff;
		border: unset;
		padding: 0 15px;
	}
	/* End of custom search */

	/* End of Custom header */
	
	#pojo-a11y-toolbar {
		top: 40px !important;
	}
	
	[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
		fill: var(--secondary-color);
		stroke-width: 0;
	}
	
	.site-above-footer-wrap[data-section="section-above-footer-builder"].ast-footer-row-tablet-stack .site-footer-section {
	  	margin-bottom: 0;
	}
	
	/*#masthead.sticky ~ #content,
	#masthead.sticky-loggedin-user ~ #content {
	  padding-top: 150px;
	}*/
	
	#custom-main-header.sticky ~ #content,
	#custom-main-header.sticky-loggedin-user ~ #content {
	  padding-top: 150px;
	}
	/* Language switcher */
	.ast-header-break-point .header-widget-area[data-section="sidebar-widgets-header-widget-2"] {
		padding-left: 13px;
		width: 60%;
	}
	
	.footer-certifications {
		display: flex;
		justify-content: center;
		margin-bottom: 50px;
	}
	
	.home .footer-certifications {
		margin-top: 50px;
	}
	
	.footer-certifications .certifications ul li {
		list-style: none;
	}
	
	/* Footer */
	.site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row, 
	.site-primary-footer-wrap[data-section="section-primary-footer-builder"] .site-footer-section {
	  grid-template-columns: repeat( 2,1fr );
	}
	/* End of Footer */
	
}

/* Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {
	/* Accessible Plugin icon */
	#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a svg {
    	width: 0.8em !important;
	}
	/* End of accessible plugin icon */
	
	/* Header */
	
	/*#masthead.sticky .logo-uth img,
	#masthead.sticky-loggedin-user .logo-uth img,
	#masthead.sticky .logo-dept img,
	#masthead.sticky-loggedin-user .logo-dept img {
	  max-width: 50px;
	}*/
	#custom-main-header.sticky .logo-uth img,
	#custom-main-header.sticky-loggedin-user .logo-uth img,
	#custom-main-header.sticky .logo-dept img,
	#custom-main-header.sticky-loggedin-user .logo-dept img {
	  max-width: 50px;
	}
	
	h1.department-title {
	   	font-size: 20px !important;
	}
	
	.site-header .site-navigation ul li a.menu-link {
	  font-size: 14px;
	}
	/* End of Header */
	
	/* Homepage */
	.wrapper {
  		margin: 0 auto;
	}	
	
	.read-also.wrapper {
		margin: 50px auto 20px;
	}
	
	.box-group .box {
	  margin-right: 2%;
	  width: 32%;
	}
	
	.box-group h3 {
	  padding: 25px 0;
	}
	
	.box-group.box-link h3 {
	  padding: 30px;
	}
	
	.layout-2 .wrapper .box {
	  padding: 50px;
	}
	
	.layout-3 .box .post-title {
	  padding: 15px 20px;
	}
	
	.layout-3 .box {
		margin-right: 0;
		width: 100%;
	}
	
	.layout-3 .box:nth-child(2n+1) {
	  margin-right: 0;
	}
	
	.layout-3 .box:nth-child(3) {
		margin-bottom: 25px;
	}
	
	.layout-3 .box:last-child {
	   margin-bottom: 0;
	}
	
	.layout-4 .wrapper .flex {
		flex-wrap: wrap;
		justify-content: center;
	}
	
	.layout-4 .wrapper .flex .box.flex:nth-child(3),
	.layout-4 .wrapper .flex .box.flex:nth-child(4)
	{
		margin-bottom: 0;
	}
	
	.layout-4 .wrapper .flex .box.flex:nth-child(2n) {
		margin-right: 0;
	}
	
	.layout-4 .box {
	  margin-bottom: 20px;
	  margin-right: 2%;
	  width: 48%;
	}
	
	.wrapper.news.box-group .inner-title h2,
	.wrapper.home-events.box-group .inner-title h2 {
  		font-size: 26px !important;
	}	
	
	.news.box-group .box {
	  margin: 0 2% 15px 0;
	  width: 49%;
	}
	
	.tag.box-group .box, 
	.news.box-group .box:nth-child(3n) {
	  margin: 0 2% 15px 0;
	}
	
	.home-events .box-text {
		padding: 15px 50px;
	}
	
	.related .news.box-group .box:nth-child(3n) {
	  margin: 0 4% 33px 0;
	}
	
	.tag.box-group .box, 
	.news.box-group .box:nth-child(2n) {
	  margin: 0 0 15px 0;
	}
	
	.inner-text {
	  padding-bottom: 5rem;
	  padding-top: 5rem;
	}
	/* End of Homepage */
	
	/* Archive page */
	/*h1.page-title*/ 
	h2.archive-title  {
		font-size: 26px !important;
	}
	
	body.archive .ast-archive-description .ast-archive-title, 
	body.archive .ast-archive-description .ast-archive-title * {
	  font-size: 26px;
	}
	
	.archive.category-ekdilwseis .news.box-group .box {
  		margin-right: 2%;
	}
	
	.archive.category-news .news.box-group .box {
	  margin: 0 2% 20px 0;
	}
	
	.archive.category-news .news.box-group .box:nth-child(2n) {
	  margin: 0 0 20px 0;
	}
	/* End of Archive page */
	
	.site-below-footer-wrap[data-section="section-below-footer-builder"].ast-footer-row-tablet-stack .site-footer-section {
	  	margin-bottom: 0;
	}
	
	.site-below-footer-wrap {
	  	padding-top: 10px;
	  	padding-bottom: 10px;
	}
	
	.start-date {
		font-size: 15px;
  		padding: 8px 14px;
	}
	
	/* Single page */
	.ast-separate-container #primary, .ast-separate-container #secondary {
    	padding-top: 0;
	}
	
	/*.entry-content h2 {
  		font-size: 26px;
	}*/
	
	.page .single-image,
	.single .single-image {
	  	max-width: 350px;
	}
	
	/*.page .gallery.flex
	.single .gallery.flex {
		flex-direction: row;
	}*/
	
	.related .news.box-group .box {
		margin: 0 4% 33px 0;
		width: 48%;
	}
	
	.related .news.box-group .box:nth-child(2n) {
		margin: 0 0 33px 0;
	}	
	/* End of single page */
	
	/* Documents */
	.document-category,
	.faq-category {
		margin-bottom: 70px;
	}
	/* End of Documents */
	
	/* Search page */
	.search-results .box-group h3 {
		padding: 0;
	}
	
	.search-results .ast-archive-description .ast-archive-title {
		font-size: 26px;
	}
	/* End of search page */
	
	
	/* Privacy Policy */
	#cookie-law-div {
		padding: 45px 45px 30px;
		opacity: 0.9;
		width: 70%;
	}
	
	#cookie-law-button {
		padding: 12px 24px;
	}
	/* End of privacy policy */
	
	/* Child pages in parent */
	h1.parent-title {
		font-size: 26px !important;
	}	

	ul.child-pages.flex {
		flex-wrap: wrap;
		justify-content: flex-start;
	}

	ul.child-pages li {
		margin-bottom: 30px;
		margin-right: 2%;
		width: 32%;
	}

	ul.child-pages li:nth-child(4n) {
		margin-right: 2%;
	}
	
	ul.child-pages li:nth-child(3n) {
		margin-right: 0;
	}
	/* End of Child pages in parent */
}

@media (max-width: 921px) {
	/* Header */ 
	h1.department-title {
		display: none;
	}
	
	h1.department-title-mob {
		display: block;
		font-size: 20px !important;
		margin-left: 15px;
	}
	
	.logo-uth a img,
	.logo-dept a img {
	  max-width: 75px;
	}
	/* End of Header */
	
	#wp-admin-bar-uth-username {
		display: none !important;
	}
}	

@media (max-width: 785px) {
	
	/*#masthead.sticky-loggedin-user {
	  top: 32px;
	}
	
	#masthead.sticky ~ #content, 
	#masthead.sticky-loggedin-user ~ #content {
	  padding-top: 130px;
	}*/
	
	#custom-main-header.sticky-loggedin-user {
	  top: 32px;
	}
	
	#custom-main-header.sticky ~ #content, 
	#custom-main-header.sticky-loggedin-user ~ #content {
	  padding-top: 130px;
	}
}

@media screen and (max-width: 782px) {
/* admin top bar */
	/*#masthead.sticky-loggedin-user {
	  top: 46px;
	}*/
	
	#custom-main-header.sticky-loggedin-user {
	  top: 46px;
	}
	
	.logged-in .custom-header {
	  margin-top: 46px;
	}
	
	#wp-toolbar>ul>li {
		display: block; 
	}
	
	.admin-bar-item {
		display: none;
	}
	
	.ab-icon.dashicons.dashicons-admin-multisite,
	.ab-icon.dashicons.dashicons-plus,
	.ab-icon.dashicons.dashicons-admin-users
	{
		display: none;
	}
	
	 #wpadminbar .ab-icon {
		font-size: 30px !important;
	}
}
  
/* Small devices (landscape phones, less than 768px)*/

@media (max-width: 767.98px) {
	#pojo-a11y-toolbar {
	  z-index: 99999;
	}
	
	/* Language switcher */
	.ast-header-break-point .header-widget-area[data-section="sidebar-widgets-header-widget-2"] {
		width: 80%;
	}
	
	.wrapper {
		padding: 0 30px;
	}
	
	/* Home Page */
	.home .single-content {
	  	margin: 0 auto;
	  	max-width: 100%;
		padding: 50px 30px;
	}
	/* End of Home Page */
	
	/* Homepage */
	.grid-wrapper {
		margin: 0 auto;
		max-width: 100%;
		padding: 40px 30px;
	}
	
	.wrapper.box-group {
	  padding: 40px 50px;
	}
	
	.grid-wrapper.grid-wrapper-top {
		margin: 0 auto 10px; 
	}
	
	.layout-1 .wrapper.box-group {
	  margin: 0 auto;
	  padding: 0;
	}
	
	.layout-1 .wrapper.box-group:nth-child(2n) .inner-text { 
	  padding-left: 30px;
	}	
	
	.layout-2 .wrapper .box {
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
	
	.layout-2 .inner-button {
	  margin-top: 60px;
	}

    .layout-2 .wrapper .box .post-image,
    .layout-2 .wrapper .box .post-title {
        width: 100%;
    }

    .layout-2 .wrapper .box .post-title {
        padding: 30px 0 0;
    }

    .layout-2 .wrapper .box {
        align-items: center;
        padding: 50px 30px;
    }	
	
	
	.layout-5 .wrapper .flex {
		flex-wrap: wrap;
	}
	
	.layout-5 .box {
	  margin-bottom: 15px;
	  margin-right: 2%;
	  width: 49%;
	}
	
	.layout-5 .box:nth-child(1),
	.layout-5 .box:nth-child(3)
	{
		text-align: right;
	}
	
	.layout-5 .box:nth-child(2),
	.layout-5 .box:nth-child(4)
	{
		text-align: left;
	}
	
	.layout-5 .box:nth-child(2n) {
	  margin-right: 0;
	}
	
	.layout-5 .box:nth-child(3),
	.layout-5 .box:nth-child(4)
	{
	  margin-bottom: 0;
	}
	
	.wrapper.news.box-group .inner-title h2,
	.wrapper.home-events.box-group .inner-title h2 {
  		font-size: 24px !important;
	}
	
	.outter-news {
	  margin: 0 auto;
	  padding: 40px 30px;
	}
	
	.more-btn a {
  		padding: 10px 20px;
	}	
	
	.layout-1,
	.layout-2, 
	.layout-3, 
	.layout-4, 
	.layout-5, 
	.layout-6 {
	  padding: 40px 30px;
	}
	
	/* End of Homepage */
	
	/* Archive page */
	/*h1.page-title*/ 
	h2.archive-title  {
		font-size: 24px !important;
	}
	
	body.archive .ast-archive-description .ast-archive-title, 
	body.archive .ast-archive-description .ast-archive-title * {
	  	font-size: 24px;
		padding: 0;
	}
	
	body.archive .ast-archive-description {
	  padding: 0 30px;
	}
	
	.archive .wrapper.box-group {
	  padding: 30px;
	}
	
	.archive.category-ekdilwseis .news.box-group .box:nth-child(3n) {
	  margin-right: 2%;
	}
	
	.archive.category-ekdilwseis .news.box-group .box:nth-child(2n) {
	  margin-right: 0%;
	}
	
	.archive.category-news .news.box-group .box:nth-child(3n) {
	  margin: 0 2% 20px 0;
	}
	
	.archive.category-news .news.box-group .box:nth-child(2n) {
	  margin: 0 0 20px 0;
	}
	/* End of Archive Page */
	
	.home-events .post-image {
	  width: 50%;
	}
	
	.home-events .box-text {
	  width: 50%;
	}
	
	.home-events .box-text {
		padding: 15px 30px;
	}		
	
	.start-date {
		font-size: 16px;
		padding: 10px 15px;
	}
	
	.layout-1 .wrapper.box-group:nth-child(even) .inner-image,
    .layout-1 .wrapper.box-group:nth-child(even) .inner-text {
        order: unset;
    }

    .layout-1 .wrapper.box-group:nth-child(even) .inner-image {
        margin: 0 auto -100px;
    }

    .layout-1 .wrapper.box-group:nth-child(even) .inner-text {
        margin-left: 0;
        padding: 100px 30px 50px;
    }
	
	.inner-wrapper {
        flex-wrap: wrap;
    }
	
    .more-btn button,
    .inner-button a {
        font-size: 16px;
        padding: 12px 18px;
    }
    
    .inner-image {
        flex: 1 0 100%;
        max-width: 90%;
        margin: 0 auto -100px;
    }

    .inner-text {
        flex: unset;
        max-width: 100%;
        padding: 100px 30px 50px;
    }

    .inner-button {
        margin-top: 50px;
    }
	
	.site-primary-footer-wrap {
		padding: 45px 30px;
	}
	
	.ast-builder-grid-row-container.ast-builder-grid-row-tablet-4-equal .ast-builder-grid-row {
  		grid-template-columns: 100%;
	}
	
	.site-footer ul {
	  padding: 0 30px;
	}
	
	.site-footer ul li {
	  	margin-right: 0;
	}
	
	/* Single page */
	/*.entry-content h2 {
  		font-size: 24px;
	}*/

	.page .entry-content,
	.single .entry-content {
		padding: 0 30px;
	}	
	
	.wrapper.box-group {
	  padding: 40px 30px;
	}
	
	.single-event .text-and-featured {
		margin-top: 20px;
	}

	.page .single-image,
	.single .single-image {
	  	float: none;
		margin: 0 auto 30px;
	  	max-width: 100%;
	}
	
	.single .single-image img {
		width: 100%;
	}
	
	.text-and-featured {
		min-height: unset;
	}
	
	.read-also.wrapper {
	  margin: 10px auto;
	}
	
	.video {
	  margin: 10px 0;
	}
	/* End of single page */
	
	/* Documents */
	.document-category,
	.faq-category
	{
		margin-bottom: 50px;
	}
	/* End of Documents */
	
	/* Search page */
	.search-results .ast-archive-description .ast-archive-title {
		padding: 0 30px;
	}
	
	.search-results .ast-archive-description .ast-archive-title {
		font-size: 24px;
	}
	/* End of search page */
	
	/* Privacy Policy */
	#cookie-law-div {
		padding: 45px 45px 30px;
		right: 50%;
		opacity: 0.9;
		transform: translateX(50%);
		width: 90%;
	}
	
	#cookie-law-button {
		padding: 10px 20px;
	}
	/* End of Privacy Policy */
	
	/* Child pages in parent */
	h1.parent-title {
		font-size: 24px !important;
		padding: 0 30px;
	}	

	ul.child-pages {
		margin: 30px auto 50px;
		padding: 0 30px;
	}	
	/* End of Child pages in parent */
	
	.footer-widget-area[data-section="section-fb-html-1"] .ast-builder-html-element,
	.footer-widget-area[data-section="sidebar-widgets-footer-widget-2"].footer-widget-area-inner,
	.footer-widget-area[data-section="sidebar-widgets-footer-widget-3"].footer-widget-area-inner,
	.footer-widget-area[data-section="sidebar-widgets-footer-widget-4"].footer-widget-area-inner 
	{
	  text-align: center;
	}
}

@media (max-width: 650px) {
	.logo-uth a img,
	.logo-dept a img {
	  max-width: 60px;
	}
	
	.site-header-section > * {
	  padding: 0;
	}
	
	.wrapper.box-group.flex {
        flex-wrap: wrap;
    }

    .box-group .box,
    .news.box-group .box {
        margin: 0 0 20px 0;
        width: 100%;
    }
	
	.archive.category-ekdilwseis .news.box-group .box:nth-child(3n) {
	  margin-right: 0;
	}
	
	.archive.category-ekdilwseis .news.box-group .box {
	  margin-right: 0;
	}
	
	.archive.category-news .news.box-group .box,
	.archive.category-news .news.box-group .box:nth-child(3n) {
	  margin: 0 0 20px 0;
	}

    .outter-news {
        padding: 50px 30px 40px;
    }
	
    .box-group h3 {
        padding: 20px 0;
    }
	
	.tag.box-group .box, 
	.news.box-group .box:nth-child(3n) {
		margin: 0 0 15px 0;
	}
	
	.home-events.box-group .box {
        flex-wrap: wrap;
    }

    .home-events .post-image,
    .home-events .box-text {
        width: 100%;
    }

    .home-events .box-text {
        padding: 15px 30px;
    }
	
	.related .news.box-group .box {
	  margin: 0 0 20px 0;
	  width: 100%;
	}
	
	.related .news.box-group .box:nth-child(3n) {
	  margin: 0 0 20px 0;
	}
	
	.site-footer .social-icons ul li {
		width: 10%;
	}
	
	.site-footer ul li {
		margin-right: 0;
	}
	
	/* Child pages in parent */	
	ul.child-pages li {
		margin-right: 2%;
		width: 49%;
	}
	
	ul.child-pages li:nth-child(3n),
	ul.child-pages li:nth-child(4n) {
		margin-right: 2%;
	}
	
	ul.child-pages li:nth-child(2n) {
		margin-right: 0;
	}
	/* End of Child pages in parent */
}	

@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed;
	}
}

/*Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) { 
	.grid-wrapper {
		display: none;
	}
	
	.grid-wrapper-mobile {
		display: block;
		position: relative;
	}
	
	body {
		padding: 0;
	}
	
	#breadcrumbs {
		margin-bottom: 25px;
	}
	
	/* Homepage */
	.home .single-content {
	  	margin: 0 auto;
	  	max-width: 100%;
		padding: 50px 15px;
	}
	
	.grid-wrapper {
		grid-gap: 0;
 		margin: 0 auto 0;
		padding: 30px 15px;
	}	
	
	.box-group.flex.box-link .box:last-child {
		margin-bottom: 0;
	}
	
	.wrapper.box-group {
	  padding: 30px 15px;
	}
	
    .wrapper.news {
        padding: 0 15px;
    }

    .wrapper {
        margin: 0 auto 30px;
		padding: 0 15px;
    }
	
	.read-also.wrapper {
		padding: 0;
	}

    .inner-title h2 {
        font-size: 24px !important;
    }

    .inner-title {
        margin-bottom: 20px;
    }

    .inner-title h2 span:before,
    .inner-title h2 span:after {
        width: 40px;
    }

    .more-btn button,
    .inner-button a {
        font-size: 16px;
        padding: 12px 18px;
    }
    
    .inner-image {
        flex: 1 0 100%;
        max-width: 90%;
        margin: 0 auto -100px;
    }

    .inner-text {
        flex: unset;
        max-width: 100%;
        padding: 100px 30px 50px;
    }

    .inner-button {
        margin-top: 50px;
    }
	
	.outter-news {
	  padding: 30px 15px 30px;
	}
	
	.wrapper.news.box-group .inner-title h2, 
	.wrapper.home-events.box-group .inner-title h2 {
	  margin-bottom: 20px;
	}	

    .layout-1 .wrapper.box-group:nth-child(even) .inner-image,
    .layout-1 .wrapper.box-group:nth-child(even) .inner-text {
        order: unset;
    }

    .layout-1 .wrapper.box-group:nth-child(even) .inner-image {
        margin: 0 auto -100px;
    }

    .layout-1 .wrapper.box-group:nth-child(even) .inner-text {
        margin-left: 0;
        padding: 100px 30px 50px;
    }

    .layout-2 .wrapper .box {
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }

    .layout-2 .wrapper .box .post-image,
    .layout-2 .wrapper .box .post-title {
        width: 100%;
    }

    .layout-2 .wrapper .box .post-title {
        padding: 20px 0 0;
    }

    .layout-2 .wrapper .box {
        align-items: center;
        padding: 50px 30px;
    }

    .layout-3 .box,
    .layout-3 .box .post-image, 
    .layout-3 .box .post-title {
        width: 100%;
    }

    .layout-3 .box.flex {
        flex-wrap: wrap;
    }

    .layout-3 .box:nth-child(1), 
	.layout-3 .box:nth-child(2),
    .layout-3 .box:nth-child(3),
	.layout-3 .box:nth-child(4){
        text-align: center;
    }

    .layout-3 .box .post-title {
        padding: 15px 0px;
    }
	
	.layout-3 .box:nth-child(2n+1) .post-title,
	.layout-3 .box:nth-child(2n) .post-title
	{
	  justify-content: center;
	}
	
	.layout-4 .wrapper .flex .box.flex:nth-child(3) {
		margin: 0 auto 20px;
	}

    .layout-4 .flex,
    .layout-6 .flex,
    .middle-footer.flex {
        flex-wrap: wrap;
    }

    .layout-4 .box,
    .footer-column {
        margin: 0 auto 20px;
        width: 100%;
    }
	
	.layout-5 .box {
  		margin-bottom: 7px;
	}	

    .layout-6 .box {
        margin-right: 0;
        width: 100%;
    }
	
	.layout-1, 
	.layout-2, 
	.layout-3, 
	.layout-4, 
	.layout-5, 
	.layout-6 {
	  padding: 30px 15px;
	}
	
	.box-group h3 {
        padding: 10px 0;
    }
	/* End of Homepage */

    .top-footer ul.social li a img {
        width: 45px;
    }
    
    .social li {
        height: auto;
    } 

    .middle-footer {
        text-align: center;
    }
	
	.site-footer .social-icons ul li {
	  margin-right: 10px;
	}
	
	/* Archive page */
	body.archive .ast-archive-description .ast-archive-title, 
	body.archive .ast-archive-description .ast-archive-title * {
		padding: 0;
	}
	/* End of Archive page */
	
	/* Single page */	
	.page .entry-content,
	.single .entry-content {
		padding: 0 15px;
	}
	/* End of Single page */
	
	/* Search page */	
	.search-results .ast-archive-description .ast-archive-title {
		padding: 0 15px;
	}
	/* End of search page */	

	/* Documents*/
	h1.categorization {
		font-size: 22px;
	}
	
	h2.group-documents {
		font-size: 20px !important;
	}
	/* End of Documents*/
	
	.site-footer ul {
	  	padding: 0 15px;
	}
	
	.site-primary-footer-wrap {
		padding: 30px 15px;
	}
	
	/*.espa-logo {
		display: none;
	}
	
	.espa-logo.mobile {
		display: block;
	}*/
}

@media (max-width: 480px) { 
	a.js-wpml-ls-item-toggle.wpml-ls-item-toggle, 
	.wpml-ls-sub-menu li a {
	  font-size: 15px;
	}
	
	/* Language switcher */
	.ast-header-break-point .header-widget-area[data-section="sidebar-widgets-header-widget-2"] {
		width: 90%;
	}
	
	.inner-title h2 span:before,
    .inner-title h2 span:after {
		width: 18px;
    }	
	
	.inner-title h2 span:before {
		transform: translateX(-10px) translateY(-7px);
	}
	
	.inner-title h2 span:after {
		transform: translateX(10px) translateY(-7px);
	}
}