/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.2
 Text Domain:  bricks
*/

/* Palette
 
Pearl 			#E7DFC6
Alice Blue 		#E9F1F7
Azul   			#016FB9
Raisin Black 	#1E1E24
Slate Grey 		#7286A0

 */

.brx-body {
	min-height: 100vh;
	font-family: 'Nunito Sans', 'Sans serif';
}

#brx-content.wordpress {
    margin: 30px auto;
    padding: 0px 20px;
}

/* Typgraphy */


.brx-body .brxe-heading {
	font-family: Bitter, Serif;
	text-transform: uppercase;
}

h1..brxe-heading {
	font-size: clamp(3rem, 2.199vw + 2.496rem, 5.5rem) !important;
}

h2.brxe-heading {
	font-size: clamp(2.6rem, 1.539vw + 1rem, 3.15rem) !important;
}

h3.brxe-heading {
	font-size: clamp(2.2rem, 1.1vw + 1rem, 2.25rem) !important;
}

h4.brxe-heading {
	font-size: clamp(2rem, 0.9vw + 1rem, 2.25rem) !important;
    color: #7286A0 !important;
}

h5.brxe-heading {
	font-size: clamp(1.8rem, 0.8vw + 1rem, 2.125rem) !important;
}

.brxe-post-content p a {
	text-decoration: underline;
}

#brx-content .brxe-container a span:hover {
	color: #7286A0;
	text-decoration: underline;
}

.wp-block-pullquote p {
    margin-top: 0;
    font-family: 'Nunito Sans', 'Sans serif';
    font-size: inherit;
    padding: 2rem 0;
}

/* Images */
:where(.brxe-image) .bricks-image-caption {
	display: none;
}

/* Buttons */

.brx-body .brxe-button,
.brxe-posts .bricks-layout-wrapper a {
	transition: all 0.6s !important;
    font-size: clamp(1.2rem, 0.191vw + 1.339rem, 1.4rem) !important;
	text-transform: uppercase;
}

.brx-body .rl-button-primary.brxe-button {
    color: #1E1E24;
    background-color: #F9C80E;
    border-color: #F9C80E;
}

.brx-body .rl-button-primary.brxe-button:hover {
    color: #FFF;
    background-color: #1E1E24;
    border-color: #1E1E24;
}

.brx-body .rl-button-outline.brxe-button {
    color: #1E1E24;
	background-color: #FFF;
	border-color: #1E1E24;
}

.brx-body .rl-button-outline.brxe-button:hover {
    color: #FFF;
	background-color: #1E1E24;
	border-color: #1E1E24;
}

/* Header */
#brx-header {
	box-shadow: 0px 5px 10px -5px rgba(10, 10, 10, 0.1);
}

#brxe-ddlrru .bricks-site-logo {
    max-height: 60px;
}

#brxe-gzouzz.brxe-text strong {
    display: block;
    font-weight: inherit;
}

#brx-header .menu-item .brxe-text-link {
    border-top: 4px solid #fff;
	border-bottom: 4px solid #fff;
	transition: all 0.6s;
    text-transform: uppercase;
}

#brx-header .menu-item .brxe-text-link:hover {
	border-bottom-color: var(--bricks-color-mzdmgv);
}

.brx-body .rl-main-navbar--navmenu-primary.brxe-nav-nested {
    font-size: clamp(1.4rem, 0.191vw + 1.339rem, 1.5rem);
}


.brx-body .rl-main-navbar--btn-primary.brxe-button {
    color: #1E1E24;
    background-color: #F9C80E;
    border-color: #F9C80E;
}

.brx-body .rl-main-navbar--btn-primary.brxe-button:hover {
    color: #FFF;
	background-color: #1E1E24;
	border-color: #1E1E24;
}

/* Footer */

#brx-footer .menu-item a {
	border-bottom: 4px solid transparent;
	transition: all 0.6s;
}

#brx-footer .menu-item a:hover {
	border-color: var(--bricks-color-mzdmgv);
}

#brx-footer .brxe-social-icons li {
	transition: all 0.6s;
}

#brx-footer #brxe-reaaqv a {   
	color: #fff;
	border-bottom: 4px solid transparent;
    transition: all 0.6s;
}

#brx-footer #brxe-reaaqv a:hover {
	border-color: var(--bricks-color-mzdmgv);
}

/* Sections */
.brx-body .rl-full-img-overlay-bg.brxe-section::before {   
    background-image: linear-gradient(rgba(30, 30, 36, 0.65), rgba(30, 30, 36, 1));
}

/* Posts Archive */
.brxe-posts .bricks-layout-wrapper img {
	border-bottom: 8px solid var(--bricks-color-mzdmgv);
}

.brxe-posts .bricks-layout-wrapper h3 a {
	font-size: clamp(1.8rem, 0.8vw + 1rem, 2.125rem) !important;
	font-weight: 500;
}

/* Case studies archive */

#brxe-bdb0d1.mgr-case-studies .bricks-layout-wrapper[data-layout=list] .bricks-layout-inner {
    flex-direction: row-reverse !important;
}

#brxe-bdb0d1.mgr-case-studies .bricks-layout-wrapper[data-layout=list] .bricks-layout-inner figure {
    margin-left: 3rem;
}

#brxe-bdb0d1.mgr-case-studies .bricks-layout-wrapper[data-layout=list]>li.bricks-layout-item {
    padding: 2rem;
}

#brxe-bdb0d1.mgr-case-studies .bricks-layout-wrapper[data-layout=list]>li.bricks-layout-item:nth-child(even) {
    background-color: #ebeef6;
}

#brxe-bdb0d1.mgr-case-studies .bricks-layout-wrapper[data-layout=list] img {
    height: 400px;
}

/* Contact */
.rl-form-style-one.brxe-form .submit-button-wrapper {
    width: 20% !important;
}

.rl-form-style-one.brxe-form button[type=submit].bricks-button {
	transition: all 0.6s;
    padding-top: 9px;
    padding-right: 18px;
    padding-bottom: 9px;
    padding-left: 18px;
}

/* Testimonials */
:where(.brxe-testimonials) .testimonial-meta-wrapper.image-position-left .image {
    background-size: contain;
    background-repeat: no-repeat;
}

/* Media quries */
@media (min-width: 992px) {
	header #menu-main-navigation > li:last-child {
		display: none;
	}
}


@media only screen and (max-width: 767px) {
  #brxe-ddlrru .bricks-site-logo {
    max-height: 50px;
	}
	
	/* Case studies archive */
	#brxe-bdb0d1.mgr-case-studies .bricks-layout-wrapper[data-layout=list] .bricks-layout-inner {
		flex-direction: column !important;
	}
	
	#brxe-bdb0d1.mgr-case-studies .bricks-layout-wrapper[data-layout=list] .bricks-layout-inner figure {
		margin-left: 0rem;
	}
}

@media only screen and (max-width: 372px) {
	  #brxe-ddlrru .bricks-site-logo {
		max-height: 30px;
	}
	
	
	#brxe-gzouzz.brxe-text {
		font-size: 16px;
	}
	
	#brxe-bdb0d1.mgr-case-studies .bricks-layout-wrapper[data-layout=list] img {
		height: 340px;
	}
}

@media only screen and (max-width: 290px) {
	  #brxe-ddlrru .bricks-site-logo {
		max-height: 20px;
	}
	
	
	#brxe-gzouzz.brxe-text {
		font-size: 12px;
		margin-left: 5px;
	}
}