/**
Theme Name: Axis
Author: Gwacamol
Author URI: https://gwacamol.sg
Description: Custom child theme for Axis compatible with Astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: axis
Template: astra
*/

.main-header-menu .sub-menu {background:#3e3e3e;}


.custom-project .uael-post__inner-wrap {position:relative;}
.custom-project .uael-post__inner-wrap:after {content:"";height:10px;width:0;display:block;background:#ff0800;position:absolute;bottom:0;transition: width 1s;}
.custom-project .uael-post__bg-wrap:hover .uael-post__inner-wrap:after {width:100%;}
.custom-project .uael-post__inner-wrap .uael-post__content-wrap	{position:absolute;top:0;display:none;width:100%;}
.custom-project .uael-post__inner-wrap .uael-post__content-wrap .uael-post__title {order:1;}
.custom-project .uael-post__inner-wrap .uael-post__content-wrap	.uael-post__terms-wrap {order:2;}
.custom-project .uael-post__inner-wrap:hover .uael-post__content-wrap	{display:flex; flex-flow: column;}
.custom-project .uael-post__thumbnail:hover img {opacity:.5 !important;}

.award-list li .elementor-icon-list-icon i {position:relative;top:-5px;}

.red-top-right {position:relative !important;}
.red-left-bottom {overflow:hidden;}
.red-top-right:after {content:"";height:100%;width:5px;position:absolute;right:0;background:#ff0800;z-index:2;}
.red-left-bottom:after {content:"";height:100%;width:5px;position:absolute;left:0;background:#ff0800;z-index:2;}

.rotate-vertical {-webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);}

/**.red-top-right:before {content:"";height:10px;width:100%;position:absolute;background:#ff0800;z-index:2;animation-name: leftToright;animation-duration: 1s;}

.red-left-bottom:before {content:"";height:10px;width:100%;position:absolute;bottom:0;background:#ff0800;z-index:2;}


@keyframes leftToright {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}**/

.ast-mobile-popup-drawer .ast-mobile-popup-header .menu-toggle-close {color:#ff0800 !important;}

.single-axis-architecture .elementor-widget .elementor-icon-list-item, .single-interior .elementor-widget .elementor-icon-list-item {align-items: start;}
.single-axis-architecture .elementor-widget .elementor-icon-list-item .elementor-icon-list-icon, .single-interior .elementor-widget .elementor-icon-list-item .elementor-icon-list-icon {margin-top:10px;}

@media screen and (min-width: 1025px) {
	
	
	ul.main-header-menu>li.menu-item>a.menu-link {line-height:1em;letter-spacing:2px;}
	ul.main-header-menu>li.menu-item>a.menu-link:after {content:"";display:block;width:0px;height:3px;background:#ff0800;margin-top:10px !important;transition: width .5s;}
	ul.main-header-menu>li.menu-item:hover>a.menu-link:after, ul.main-header-menu>li.menu-item.current_page_item>a.menu-link:after {width:100%;}

	.ast-builder-menu-1 .main-header-menu>.sub-menu {left:40px !important;margin-top:-5px !important;}
	.ast-builder-menu-1 .main-header-menu .sub-menu .menu-link:hover {background:#ff0800;color:#fff !important;}
}

@media (max-width: 1024px) {
	.custom-project .uael-post__inner-wrap .uael-post__content-wrap	{display:flex;flex-flow: column;}
	.custom-project .uael-post__thumbnail img {opacity:.5 !important;}
}



/* IPAD PRO Portrait and Landscape */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {
	.ast-builder-menu-1 .menu-item > .menu-link {padding-left:30px;padding-right:30px;}
}

@media only screen and (max-width: 1129px) and (min-width: 922px) {
	.ast-builder-menu-1 .menu-item > .menu-link {padding-left:15px !important;padding-right:15px !important;}
	.ast-builder-menu-2 .menu-item > .menu-link {padding-left:15px;padding-right:15px;}
}

/* IPAD For landscape layouts only */
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
	.ast-builder-menu-1 .menu-item > .menu-link {padding-left:30px;padding-right:30px;}
  
}


@media (max-width: 767px) {
	/*#ast-mobile-header .ast-primary-header-bar {padding-left:30px !important;padding-right:30px !important;}*/
	.awards-gallery .gallery-item {width:33.33%;}
	
	.main-header-menu-toggle {padding:0 !important;}
	.ast-primary-header-bar.ast-sticky-active {margin-left:0 !important;margin-right:0 !important;}
	
	.red-top-right:after {display:none;}
	.red-left-bottom:after {display:none;}
	
	.ast-custom-footer .elementor-social-icons-wrapper.elementor-grid {display:block !important;}
}

.gallery-size .uael-grid-item .uael-grid-img-thumbnail
{
	height:190px !important;
}

.gallery-size .uael-grid-item .uael-grid-img-thumbnail img
{
	    object-fit: cover;
    height: 100%;
}