/*
Theme Name: Pendant
Theme URI: https://wordpress.com/theme/pendant
Author: Automattic
Author URI: https://automattic.com
Description: An elegant product-focused theme
Requires at least: 5.9
Tested up to: 5.9
Requires PHP: 5.7
Requires Gutenberg: 13.1
Version: 1.0.7
License: GNU General Public License v2 or later
License URI: https://raw.githubusercontent.com/Automattic/themes/trunk/LICENSE
Template: 
Text Domain: pendant
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks, auto-loading-homepage, blog-homepage
*/

/*
 * Font smoothing
 */

 body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

/*
 * Opinionated Style for Anchors.
 * Anchors get a thin underline offset more than default.
 * Headings get slightly different dimensions.
 * Any anchors IN the content are underlined by default, then none on hover.
 * Any anchors OUT of the content behave the opposite.
 * Buttons have no underlines.
 */
a {
	cursor: pointer;
	text-underline-offset: 0.3em;
	text-decoration-thickness: 0.05em;
	text-decoration-line: none;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-underline-offset: 0.15em;
	text-decoration-thickness: 0.02em;
}
a:hover,
a:focus {
	text-decoration-line: underline;
}
.block-editor-block-list__layout a,
.wp-block-post-content a {
	text-decoration-line: underline;
}
.block-editor-block-list__layout a:hover,
.block-editor-block-list__layout a:focus,
.wp-block-post-content a:focus,
.wp-block-post-content a:hover {
	text-decoration: none;
}
.wp-block-button a {
	text-decoration: none;
}

/* Added CSS */

.modula-items.grid-gallery .modula-item-content:hover img{
	opacity: 0.5 !important;
  transform: scale(1.1) !important;
}

.elementor-313 .elementor-element.elementor-element-f75a70a {
    text-align: right !important;
}
.elementor-element-3612832 h5{
	color:black !important;
	margin: 15px 0px 15px 0px;
}
.elementor-element.elementor-element-b663987{
	color:black !important;
}
.elementor-section.elementor-inner-section.elementor-element.elementor-element-3612832.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default{
	background-color:white!important;
}
.elementor-section.elementor-top-section.elementor-element.elementor-element-7ad8ffb .elementor-column-gap-default>.elementor-column>.elementor-element-populated{
	background-color:white!important;
}
.block-editor-block-list__layout a, .wp-block-post-content a {
    text-decoration-line: unset;
}
.elementor-313 .elementor-element.elementor-element-1ad944f{
	text-align: right !important;
}
.elementor-313 .elementor-element.elementor-element-f194f5e{
	text-align: right !important;
}
.elementor-section.elementor-inner-section.elementor-element.elementor-element-3612832 .elementor-column-gap-default>.elementor-column>.elementor-element-populated{
	background-color:white !important;
}

.elementor-section.elementor-top-section.elementor-element.elementor-element-b6cf1be .elementor-column-gap-default>.elementor-column>.elementor-element-populated
{
	background-color:white !important;
}
.elementor-313 .elementor-element.elementor-element-b6cf1be:not(.elementor-motion-effects-element-type-background), .elementor-313 .elementor-element.elementor-element-b6cf1be > .elementor-motion-effects-container > .elementor-motion-effects-layer{
	background-color:white !important;
}
.elementor-element-3e09f5f .elementor-column-gap-default>.elementor-column>.elementor-element-populated{
	background-color: white !important;
}
.elementor-element-d5cd932 .elementor-column-gap-default>.elementor-column>.elementor-element-populated{
	background-color: white !important;
}
.elementor-element-d95127f .elementor-column-gap-default>.elementor-column>.elementor-element-populated{
	background-color: white !important;
}
.elementor-element-b663987 .elementor-column-gap-default>.elementor-column>.elementor-element-populated{
	background-color: white !important;
}
.elementor-element-7894723 .elementor-column-gap-default>.elementor-column>.elementor-element-populated{
	background-color: white !important;
}

/* .elementor-section.elementor-inner-section.elementor-element.elementor-element-451b26c .elementor-column-gap-default>.elementor-column>.elementor-element-populated{
	background-color: black !important;
}
.elementor-section.elementor-top-section.elementor-element.elementor-element-718b8fd .elementor-column-gap-default>.elementor-column>.elementor-element-populated{
	background-color: black !important;
} */
input[type="text" i]{
	padding:10px;
}
input[type="email" i]{
	padding:10px;
}
.wpcf7 form.invalid .wpcf7-response-output{
	color:white;
}
.wpcf7 form.sent .wpcf7-response-output{
	color:white;
}
textarea {
	height: 100px;
    width: 80%;
	}
.wp-container-10 > *{
	max-width: unset !important;
}
.wp-container-9 > *{
	max-width: unset !important;
}
.elementor-section.elementor-section-boxed > .elementor-container{
	max-width: unset !important;
}
.elementor-element{
	text-align: center !important;
	align-items: center !important;
}
.elementor-column-gap-default>.elementor-column>.elementor-element-populated{
	background-color: black !important;
}
h1, h2, h3, h4, h5, h6{
	color: white !important;
}
.elementor-section.elementor-top-section.elementor-element.elementor-element-2913b251.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default{
	padding: 50px 100px 50px 100px !important;
}
.elementor-column.elementor-col-100.elementor-top-column.elementor-element.elementor-element-39113efa .elementor-element-populated{
	background-color: white !important;
}
.elementor-column.elementor-col-100.elementor-top-column.elementor-element.elementor-element-39113efa .elementor-element{
	text-align: unset;
}
.elementor-column-gap-default>.elementor-column>.elementor-element-populated{
	padding:unset !important;
}
.post-edit-link{
	display:none;
}
.elementor-element.elementor-element-718b8fd{
	padding:10px;
	background-color:black;
}
.wpcf7-spinner{
	display:none;
}


/* For Desktop View */
@media screen and (min-width:2560px) { 
	
	.elementor-element-2913b251 .elementor-section.elementor-inner-section .elementor-container.elementor-column-gap-default{
		max-width:1700px !important;
	}
	.elementor-section.elementor-top-section.elementor-element.elementor-element-718b8fd .elementor-container.elementor-column-gap-default{
		max-width: unset;
	}
   .elementor-widget-wrap>.elementor-element {
    font-size: 20px;
	}
	
	input[type="text" i] {
    padding: 10px !important;
}
	input[type="email" i] {
    padding: 10px !important;
}
	input[type="submit" i] {
    padding: 10px !important;
}
	textarea{
		height:75px;
		width:50%;
	}
}

@media screen and (min-width: 1024px) {
  .elementor-widget-wrap>.elementor-element {
    font-size: 15px;
	}
	input[type="text" i] {
    padding: 0px;
    padding-bottom: 5px;
    padding-top: 5px;
	max-width:80%;
}
	input[type="email" i] {
    padding: 0px;
    padding-bottom: 5px;
    padding-top: 5px;
	max-width:80%;
}
}
 
/* For Tablet View */
@media screen and (min-device-width: 768px)
and (max-device-width: 1024px) {
	.elementor-section.elementor-top-section.elementor-element.elementor-element-2913b251.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default{
		Padding: 20px 30px 20px 30px !important;
	}
	input[type="text" i]{
	width: 80%;
}
input[type="email" i]{
	width: 80%;
}
	.elementor-column.elementor-col-100.elementor-top-column.elementor-element.elementor-element-39113efa .elementor-element{
		font-size:16px;
	}
 
}
 
/* For Mobile Portrait View */
@media screen and (max-device-width: 480px)
and (orientation: portrait) {
	.elementor-element-7ad8ffb {
		display:none;
	}
	.wp-container-4 > *{
		font-size:14px;
	}
	.elementor-widget-image-box .elementor-image-box-description{
		margin-bottom:20px !important;
	}
}
 
/* For Mobile Landscape View */
@media screen and (max-device-width: 640px)
and (orientation: landscape) {
  .elementor-element-7ad8ffb {
		display:none;
	}
}
 
/* For Mobile Phones Portrait or Landscape View */
@media screen and (max-device-width: 640px) {
  .elementor-section.elementor-top-section.elementor-element.elementor-element-2913b251.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default{
	  Padding: 20px 30px 20px 30px !important;
	}
	input[type="text" i]{
	width: 80%;
}
input[type="email" i]{
	width: 80%;
}
	
}
 
/* For iPhone 4 Portrait or Landscape View */
@media screen and (min-device-width: 320px)
and (-webkit-min-device-pixel-ratio: 2) {
  
}
 
/* For iPhone 5 Portrait or Landscape View */
@media (device-height: 568px) and (device-width: 320px)
and (-webkit-min-device-pixel-ratio: 2) {
  
}
 
/* For iPhone 6 and 6 plus Portrait or Landscape View */
@media (min-device-height: 667px) and (min-device-width: 375px)
and (-webkit-min-device-pixel-ratio: 3) {
  
}



/* Added CSS end */


/*
 * Button hover styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */
.wp-block-button__link {
    	padding: calc(1.2em + 2px) calc(2em + 2px);
}
.wp-block-button.is-style-outline .wp-block-button__link {
    	padding: 1.2em 2em;
}
	
.wp-block-search__button:hover,
.wp-block-file .wp-block-file__button:hover,
.wp-block-post-comments input[type=submit]:hover,
.wp-block-button__link:hover {
	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--foreground);
	border: 2px solid var(--wp--preset--color--foreground);
    	padding: 1.2em 2em;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--foreground);
	color: var(--wp--preset--color--background);
	border: 2px solid var(--wp--preset--color--foreground);
}

/* Special Condition for buttons inside of groups where the background color is set to the foreground palette color */
.wp-block-group.has-foreground-background-color .wp-block-button .wp-block-button__link:not(.has-background-color) {
	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--foreground);
}
.wp-block-group.has-foreground-background-color .wp-block-button .wp-block-button__link:not(.has-background-color):hover {
	background-color: var(--wp--preset--color--foreground);
	color: var(--wp--preset--color--background);
	border: 2px solid var(--wp--preset--color--background);
}
.wp-block-group.has-foreground-background-color .wp-block-button.is-style-outline .wp-block-button__link:not(.has-background-color) {
	background-color: var(--wp--preset--color--foreground);
	color: var(--wp--preset--color--background);
}
.wp-block-group.has-foreground-background-color .wp-block-button.is-style-outline .wp-block-button__link:not(.has-background-color):hover {
	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--foreground);
}

/*
 * Search and File Block button styles.
 * Necessary until the following issues are resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/36444
 * https://github.com/WordPress/gutenberg/issues/27760
 */
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
	padding: 0;
	border-color: var(--wp--preset--color--foreground);
}

.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input {
	padding-left: 1em;
}
.wp-block-search__button,
.wp-block-file .wp-block-file__button {
	background-color: var(--wp--preset--color--foreground);
	color: var(--wp--preset--color--background);
	font-size: var(--wp--preset--typography--font-size--medium);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 600;
	line-height: 1.7;
	border:none;
	padding: calc(0.667em + 2px) calc(1.333em + 2px) !important;
}

/*
 * Decrease the size of social icons
 */
.wp-block-social-links.is-style-logos-only .wp-social-link svg {
	height: 1em;
	width: 1em;
}

/*
 * Alignment styles, borrowed from Twenty Twenty-Two.
 * These rules are temporary, and should not be relied on or
 * modified too heavily by themes or plugins that build on
 * Twenty Twenty-Two. These are meant to be a precursor to
 * a global solution provided by the Block Editor.
 *
 * Relevant issues:
 * https://github.com/WordPress/gutenberg/issues/35607
 * https://github.com/WordPress/gutenberg/issues/35884
 */

.wp-site-blocks,
body > .is-root-container,
.edit-post-visual-editor__post-title-wrapper,
.wp-block-group.alignfull,
.wp-block-group.has-background,
.wp-block-columns.alignfull.has-background,
.wp-block-cover.alignfull,
.is-root-container .wp-block[data-align='full'] > .wp-block-group,
.is-root-container .wp-block[data-align='full'] > .wp-block-columns.has-background,
.is-root-container .wp-block[data-align='full'] > .wp-block-cover {
	padding-left: var(--wp--custom--gap--horizontal);
	padding-right: var(--wp--custom--gap--horizontal);
}

.wp-site-blocks .alignfull,
.wp-site-blocks > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-cover,
.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
body > .is-root-container > .wp-block-cover,
body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
body > .is-root-container > .wp-block-template-part > .wp-block-cover,
.is-root-container .wp-block[data-align='full'] {
	margin-left: calc(-1 * var(--wp--custom--gap--horizontal)) !important;
	margin-right: calc(-1 * var(--wp--custom--gap--horizontal)) !important;
	max-width: unset;
	width: unset;
}

/* Blocks inside columns don't have negative margins. */
.wp-site-blocks .wp-block-columns .wp-block-column .alignfull,
.is-root-container .wp-block-columns .wp-block-column .wp-block[data-align="full"],
/* We also want to avoid stacking negative margins. */
.wp-site-blocks .alignfull:not(.wp-block-group) .alignfull,
.is-root-container .wp-block[data-align="full"] > *:not(.wp-block-group) .wp-block[data-align="full"] {
	margin-left: auto !important;
	margin-right: auto !important;
	width: inherit;
}

/* We are unable to style the "cite" element in the quote block */
.wp-block-quote cite {
	font-family: var(--wp--preset--font-family--body-font);
	font-style: italic;
	font-size: 0.9rem;
}

/* The plain quote block has a left-padding that doesn't work well with our design */
.wp-block-quote.is-style-plain {
	padding-left: 0;
}

/** Navigation text-decoration correction **/
.wp-block-navigation:where(:not([class*=has-text-decoration])) a {
	text-decoration-thickness: 1px;
}

/** Navigation sub-menu items **/
.wp-block-navigation .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container {
	text-transform: uppercase;
	font-weight: 500;
	line-height: 2.6;
	font-size: 0.9rem;
	letter-spacing: 0.1em;
}

/** Desktop responsive navigation layout **/
.wp-block-navigation.is-responsive .is-menu-open.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content {
	margin: 0 auto;
	max-width: 820px;
	height: 100%;
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.wp-block-navigation .wp-block-navigation__responsive-dialog,
.wp-block-navigation .wp-block-navigation__responsive-close {
	height: 100%;
}
.wp-block-navigation.is-responsive .is-menu-open.wp-block-navigation__responsive-container .wp-block-navigation__container {
	justify-content: center;
}
.wp-block-navigation .wp-block-navigation__responsive-container-close {
	left: 0;
}
.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
	padding-left: var(--wp--custom--gap--horizontal);
	padding-right: var(--wp--custom--gap--horizontal);
	padding-top: 3vw;
}

/** Categories list block: remove list decoration **/
.wp-block-categories {
	list-style-type: none;
}

/** Post Navigation Styles **/
.pendant-post-navigation .wp-block-post-navigation-link .post-navigation-link__label {
	font-family: var(--wp--preset--font-family--body-font);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 3;
}
@media (max-width: 599px) {
	.pendant-post-navigation .post-navigation-link__title {
		display: none;
	}
	.pendant-post-navigation .wp-block-column:nth-of-type(2) {
		display: none;
	}	
	.pendant-post-navigation .post-navigation-link-previous {
		text-align: left;
	}
	.pendant-post-navigation .post-navigation-link-next {
		text-align: right;
	}
}

