/**
Theme Name:     look child
Theme URI:      http://demo.themeruby.com/look
Template:       look
Author:         Theme-Ruby
Author URI:     https://themeforest.net/user/theme-ruby/portfolio
Description:    Look: A Fashion & Beauty News, Magazine, & Blog WordPress Theme
Version:        5.6
Text Domain:    look
Tags:           custom-background, custom-menu, editor-style, featured-images, theme-options, custom-colors, translation-ready
License:        license purchased
License URI:    https://themeforest.net/licenses/standard
*/

/** 
 *Theme required css
 */

 :root {
	 --primary-color: #F00;
	 --default-color: #000;
 }

 /* Logo */
 .logo-text, h1.logo-text {
	 font-size: 50px;
 }
 .loog-text a {
	 position: relative;
 }
.logo-text a:before {
	content: "N.";
	color: var(--primary-color);
	position: absolute;
}

/* Post Content */
.entry ul > li {
	list-style: none;
  margin-left: 0.5em;
  padding-left: 1.3em;
  position: relative;
}

/* .entry ul > li:before { */
.entry ul:not(.affiliatex-list) > li:before {
	content: " ";
  display: inline-block;
  background-color: var(--primary-color);
	background-repeat: no-repeat;
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' color='var(--primary-color)'><path fill='currentColor' d='M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM241 377c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l87-87-87-87c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L345 239c9.4 9.4 9.4 24.6 0 33.9L241 377z'></path></svg>");
	mask-repeat: no-repeat;
  width: 0.9em;
  position: absolute;
  left: 0;
  top: 5px;
  height: 0.9em;
  background-position: center;
}

.entry ol[class^=wp-block-] li {
	margin-left: 30px;
	list-style: decimal;
}

/* Contact */
.wp-block-uagb-marketing-button a:hover {
	text-decoration: none;
}

.wp-block-uagb-marketing-button a:focus {
	text-decoration: none;
	background: #ffbb00;
	border-color: #ffbb00;
}

/* Custom Post Navigation remove empty classes */
.featured-navigation .gb-grid-column:empty {
	flex: 0 1;
}

/* Responsive Embed */
.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
	height: 0;
	padding-top: 56.25%;
}
.wp-embed-aspect-16-9 .wp-block-embed__wrapper > iframe {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
}

@media(min-width: 769px) {
	.featured-navigation .gb-grid-column:not(:empty) {
			flex: 1 0;
	}
}

/* Single Post Hero image responsive controls */
@media(max-width: 1024px) and (min-width: 769px) {
	.page-hero-block:before {
			background-size: cover;
	}
	.featured-column,
	.featured-column .wp-post-image {
		width: 100% !important;
	}
}

@media(max-width: 768px) {
	.page-hero-block:before {
			background: none;
	}
}

/* Post Archives - force post meta to vertically align bottom */
.archive-title-wrap {
	padding: 20px 0;
}
.archive-page-header .archive-desc {
	font-style: normal;
	max-width: 1170px;
}
.generate-columns-container .post>.gb-container,
.generate-columns-container .post>.gb-container>.gb-inside-container,
.post-summary>.gb-inside-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-summary {
    flex: 1;
}

.post-summary>.gb-inside-container>*:last-child {
    margin-top: auto;
}

/* Add border radius to post archive images */
.generate-columns-container .dynamic-featured-image {
	border-radius: 4px;
}

/**
 * custom css
 */
.main-navigation a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items {
	font-weight: bold;
}
.post-nav {
	padding: 5px 10px;
	display: inline-block;
	background: var(--accent);
	color: var(--base-3);
	text-transform: uppercase;
}
.post-img-wrapper > div > a {
	position:relative;
	display: flex;
	/* flex-direction: column; */
	justify-content: center;
	position: relative;
	padding-bottom: calc( 9/16 * 100% );
	overflow: hidden;
	background: radial-gradient(circle, #fff 0%, #f2f2f2 50%, #c3c3c3 100%);
	border-radius: 4px;
}
.post-img-wrapper > div > a img {
	position: absolute;
	border-radius: 0!important;
	width: auto;
	height: 100%;
	flex: 1;
}
figure figcaption {
	font-size: 13px;
	margin: -1.5em auto 1em auto;
	text-align: center;
}
.wp-block-uagb-table-of-contents {
	margin-bottom: 1.5em;
}

.responsive-map {
	width: 100%;
	position: relative;
	height: 0;
}

.responsive-map iframe {
	width: 100% !important;
	height: 100% !important;
	position: absolute;
	top: 0;
}

.highlight-first-row tr:first-child td {
	background: #F00;
	color: #FFF;
}

/* Single post tables */
.wp-block-table.is-style-stripes {
	background: linear-gradient(to right, rgba(28,177,231,1) 0%, #fff 20% 80%, rgba(132,77,179,1) 100%) !important;
	border-bottom: 0 none;
}
.has-pale-ocean-gradient-background,
.wp-block-table.is-style-stripes table {
	background: transparent !important;
	border: 3px solid transparent !important;
	margin-bottom: 0;
}
.has-pale-ocean-gradient-background td,
.wp-block-table.is-style-stripes table td {
	background: #fbfdff!important;
}

/*
Search
*/
#ruby-banner-search-form.mfp-bg:not(#_#_#_#_#_#_#_) {
	/* position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #ffffffee;
	z-index: 999999; */
	opacity: 1;
	background: #ffffffee;
	display: flex;
	align-items: center;
}
#ruby-banner-search-form:not(.mfp-hide) .banner-search-form-inner {
	flex: 1;
}
#ruby-banner-search-form .ruby-search {
	background: #fff;
}



/* for birthday page related */
.birthday-wrap .author-title h3 {
    font-size: 150% !important;
}
.birthday-wrap .ruby-page-wrap {
    max-width: 1070px !important;
}
.birthday-wrap .author-content-wrap .author-description{
    margin-top: 0px !important;
}
.birthday-wrap .add-border {
    border-radius: 5px !important;
    border: 1px solid #ff0000 !important;
    padding: 10px !important;
}
.birtday-description {
    font-size: 15px !important;
}
.birthday-wrap .ruby-content-wrap {
    margin-bottom: 0 !important;
}
.birthday-wrap .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    row-gap: 10px;
    column-gap: 10px;
}
@media screen and (max-width: 991px) {
    .birthday-wrap .grid-container {
      margin-bottom: 25px !important;
    }
}



/*for custom home page*/
.home-label-wrap {
	margin: 0 10px;
}
.home-category-title {
	margin-top: 0; 
	display: inline-block;
}
.btn-red {
	font-weight: bold;
    color: #111111;
    border-radius: 10px;
    padding: 3px 12px;
    border: 2px solid #ff0000;
    float: right;
}
.btn-red::after {
	font-weight: 900;
    font-size: 18px;
    color: #ff0000;
    content: '→';
    display: inline-block;
    margin: 0px 0px 0px 5px;
    transition: transform 0.3s ease;
}
.btn-red:hover::after {
    transform: translateX(5px);
}
@media screen and (max-width: 767px) {
 	.home-label-wrap .btn-red{
		margin-bottom: 10px;
	}
}
.home .feat-wrap {
	margin-bottom: 10px;
}
.home .ruby-page-wrap {
	margin-top: 10px;
}

#navigation { container-type: inline-size; }
.main-nav-inner > li > a { padding: 0 1.1cqi; }