/*
 Theme Name:   eliRamalho
 Description:  Este tema dá vida e cor ao site
 Author:       Elisabete Ramalho
 Author URI:   https://linkedin.com/in/eliramalho
 Template:     blocksy
 Version:      1.0.0
 Text Domain:  eliramalho
*/

/*override de css ao tema principal*/
@charset "UTF-8";
body,html{
	font-size: 12pt;
	font-family: Verdana,Arial,Helvetica,Sans-Serif; 
	color:#555555;
	font-weight:300;
	background-color:#FFF;
}
section,article,div,p {
	/* margin-bottom: calc(1.6vh + (3 - 0.98) * ((100vh - 250px) / (1600 - 250))); */
	font-size: 		calc(11px + (17 - 11) * ((100vw - 150px) / (1600 - 150)));
	line-height: 	calc(1.6rem + (1.85 - 0.98) * ((100vw - 150px) / (1600 - 150)));
			/* calc([min.size] + ([max]-[min]) * ((100vw -[min.viewport width]) / ([max.vw]-[min.vw]))); */
}

/*tipografia*/
h1,h2,h3,h4,h5,h6 {
	font-family: Arial,Verdana,Sans-Serif; 
	font-weight: 700;
	color:#003057;
	text-transform:uppercase;
	line-height:1.4;
	margin-bottom: 2rem;
}
h1, .entry-header.page-title {font-size: calc(16px + (34 - 16) * ((100vw - 150px) / (1600 - 150)))}
h2, .entry-title			 {font-size: calc(15px + (24 - 15) * ((100vw - 150px) / (1600 - 150)))}
h3 {font-size:1.8rem;}
h4 {font-size:1.6rem;}
h5 {font-size:1.4rem;}
h6 {font-size:1.2rem;}

.bolder		{font-weight:900;}
.big		{font-size:1.2rem;}
small,.small, .site-marca{font-size:0.85rem; opacity:0.8;}

/*cores*/
.red	{color: #e52320;}
.blue	{color: #003057;}


/*** theme fixes ***/

/*artigos pg produto*/
article.category-produtos div.ct-image-container,
article.category-produtos div.ct-image-container img.attachment-medium_large.size-medium_large.wp-post-image{
	width: 100%;
	max-height: 55vh;
	text-align:center!important;
}
article.category-produtos div.ct-image-container img.attachment-medium_large.size-medium_large.wp-post-image{
	min-width:180px;
	height:100%;
	width:auto;
}
article.category-produtos [class*="ct-image-container"]	{display: block!important;}

p.site-marca			{font-style:italic; }
p.site-marca a 			{visibility:hidden;}
p.site-marca::before 	{content:"Para mais detalhes sobre este produto e outros produtos, queira visitar o ";}
p.site-marca a::before	{content:"site da marca"; visibility:visible; font-weight:bold;}

@media (max-width:689.98px){
	article.category-produtos .ct-featured-image.ct-hidden-sm { display:block!important;}
}

/*pg inicial*/
#destaques-catalogo .grid-container {max-width:initial;}
#destaques-catalogo .gutentor-post.gutentor-post-featured {max-width:650px;}
#destaques-catalogo .gutentor-post-title,
#destaques-catalogo .gutentor-post-featured-title {
  font-size: inherit!important;
  text-transform: none;
  line-height: 1;
  margin-bottom: 1.5%;
}
#destaques-catalogo .gutentor-post-featured-title,
#destaques-catalogo .gutentor-post-featured-desc,
#destaques-catalogo .gutentor-post-featured-desc{ font-size:0.95em; margin:0; padding:0;}
#destaques-catalogo a{color:#003057;}
#destaques-catalogo a:hover	{color:#e52320; text-decoration:underline;}

/**lista dos produtos**/
body.blog article.category-marcas{ display:none!important;}

/*Lista das marcas*/
/*imagens com zoom*/

.ct-image-container img, .ct-image-container video, .ct-image-container picture,
body.archive.category.category-marcas .entry-card .ct-image-container img {
	width: 100%;
	max-width:initial;
	aspect-ratio: initial!important;
	object-fit: var(--object-fit, contain)!important;
	margin-top: 2%;
	height: initial;
}

body.archive.category.category-marcas .entry-card .ct-image-container img {max-width: 250px;}
body.archive.category.category-marcas .entry-card .ct-image-container img {transform:scale(0.95);transition:all ease 0.2s;}
body.archive.category.category-marcas .entry-card .ct-image-container:hover img {transform:scale(1); }

/*pg marcas*/
body.post-template-default.single.single-post .category-marcas .page-title, 
body.archive.category.category-marcas.archive.category-marcas .entry-title{
	color:transparent;height:1px; margin:0;padding:0;}

.page-title .ct-title-label,
body.post-template-default.single.single-post .category-marcas .ct-related-posts-container {display:none;}

body.post-template-default.single.single-post .category-marcas .ct-image-container {text-align:center;}
body.post-template-default.single.single-post .category-marcas .ct-image-container img {width:auto; max-width:100%; margin:auto;}

/*related posts*/
[data-prefix="single_blog_post"] .ct-related-posts-container .ct-block-title,
[data-prefix="single_blog_post"] .ct-related-posts-container .related-entry-title a,
[data-prefix="single_blog_post"] .ct-related-posts-container .ct-related-posts .entry-meta a
{color: rgba(255,255,255,0.85); transition:color ease 0.5s;}


/* pg CATÁLOGO - artigos relacionados - marcas*/
body.post-template-default.single.single-post .ct-related-posts-container .ct-related-posts h3.ct-module-title{ color: var(--theme-palette-color-9); font-size:85%;}

body.post-template-default.single.single-post .ct-related-posts-container .ct-related-posts img,
body.post-template-default.single.single-post .category-marcas .ct-media-container img,
.ct-media-container img{ 
	object-fit:contain; width:auto; max-width:90%;
}
@media all and (max-width: 767px){
	body.post-template-default.single.single-post .ct-related-posts-container .ct-related-posts img { max-width:55vw;}
}

/*pg servicos*/
.wp-block-getwid-accordion__header-title {text-transform:initial!important;}

/*pg contactos*/
.stk-block.stk-9f240c7.stk-block-background.mapa {background:#f9f6f7!important;}
.stk-block-background.stk-ca3fd08 {background-color: transparent;}
iframe#mapa {filter:grayscale(0.95) brightness(1.05)!important; opacity:0.9!important;transition:all ease 1.5s;}
iframe#mapa:hover {filter:grayscale(0)!important; opacity:1!important;}

/*sidebar direito*/
aside#sidebar .wp-block-categories-list.wp-block-categories, 
aside#sidebar h5.has-text-align-left	{text-align:left; margin:0 auto; padding:0;}

aside#sidebar .wp-block-categories-list.wp-block-categories ul.children  {
	border-left:thin dotted #003057; margin-left:5px; }
aside#sidebar  .wp-block-categories-list.aligncenter.wp-block-categories li a { padding-left:5pt; }

aside#sidebar a[href$="/./catalogo/"], 
aside#sidebar a[href$="/./produtos/"], 
aside#sidebar a[href$="/./marcas/"],
aside#sidebar a[href$="/./geral/"] {display:none;}

/*sidebar logos marcas*/
aside#sidebar .wp-block-stackable-posts .stk-img-wrapper img { 
	max-height:100%!important; object-fit:contain!important;
	filter: opacity(0.3) grayscale(0.95); transition:all ease 0.3s;}

aside#sidebar .wp-block-stackable-posts .stk-img-wrapper:hover img  { filter:initial;}

aside#sidebar .stk-block-posts__item { max-width:25%;transition:all ease 0.3s;}
aside#sidebar .stk-block-posts__item:hover { overflow:none;transform:scale(1.3) translatey(-10%);}

aside#sidebar .stk-block-posts__image-link{	height:auto!important;}

aside#sidebar .ct-sidebar #block-40, aside#sidebar .ct-sidebar #block-41  {
	--sidebar-widgets-spacing: 0!important; margin-bottom:0px!important}
aside#sidebar .wp-block-stackable-columns.stk-block-columns.stk-block.stk-a2add66.stk-block-background,
aside#sidebar .wp-block-stackable-posts.stk-block-posts.stk-block {
	padding:10px!important}

aside#sidebar .stk-block-posts__image-link {flex-basis:none!important; min-width:100%; width:100%; margin-bottom:0;}
aside#sidebar .ct-widget.widget_block.widget_search {margin:0; padding:0;border: 1px solid #eee; padding-left: 4pt;}
aside#sidebar .ct-widget.widget_block.widget_search input { font-size: 0.8em;}
aside#sidebar {margin-top:-15px; margin-bottom:-15px;}

/*carousel marcas*/
.wp-block-getwid-content-slider .slick-next::before, .wp-block-getwid-content-slider .slick-prev::before, .wp-block-getwid-images-slider .slick-next::before, .wp-block-getwid-images-slider .slick-prev::before, .wp-block-getwid-media-text-slider .slick-next::before, .wp-block-getwid-media-text-slider .slick-prev::before, .wp-block-getwid-post-carousel .slick-next::before, .wp-block-getwid-post-carousel .slick-prev::before, .wp-block-getwid-post-slider .slick-next::before, .wp-block-getwid-post-slider .slick-prev::before {
  color: #555;}
/*carousel marcas +.logos-marcas-cinza */
.slick-list.draggable * {cursor:grab;}
.slick-list.draggable a {cursor:pointer;}
.logos-marcas-cinza .wp-block-getwid-template-post-featured-image,
.logos-marcas-cinza .wp-block-getwid-template-post-featured-image img{
	height:100%;
	max-height:50px;
	width:auto;
	margin:auto!important;
	transition: all ease 0.3s;
}
.logos-marcas-cinza .wp-block-getwid-template-post-featured-image img{ filter:brightness(3) grayscale(1) opacity(0.7) contrast(0.3); padding:1pt 2pt;}
.logos-marcas-cinza .wp-block-getwid-template-post-featured-image:hover img {filter:initial; }
.logos-marcas-cinza .wp-block-getwid-template-post-featured-image:hover {
	transform:scale(1.2) translatey(-1pt); background-color:rgba(255,255,255,0.8);}

/*imagens*/
.ct-image-container img, .ct-image-container video, .ct-image-container picture, body.archive.category.category-marcas .entry-card .ct-image-container img{
	width:auto; max-width:100%; 
	height:auto; max-height:100%;
}

#footer [data-column="widget-area-3"] *, footer#footer {z-index:1;}


/*** responsive - tablet ***/
@media all and (min-width: 768px) and (max-width: 1024px){
	.hidden-m {display:none!important;}
}
/*** responsive - mobile ***/
@media all and (max-width: 767px){
	.hidden-xs {display:none!important;}
}