/*
Theme Name: CVRep
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* color variables, adjust these to match your theme*/
:root{
	--primary: #c00000;
	--secondary: #ffac53;
	--success: #572ab2;
	--alert: #ff230a;
}


/* fix blur and font size on banner sections */
.res-text{
	font-size: 16px !important;
}

.text-box .text{
	-webkit-backface-visibility: inherit;
    backface-visibility: inherit;
}


/* font sizing and new classes */
.display-1 {
    font-size: 4.5em
}

.display-2 {
    font-size: 3.5em
}

.display-3 {
    font-size: 3em
}

.display-4{
	font-size: 2.7em;
}

.display-1, .display-2, .display-3 {
    padding: 0;
    margin-top: .2em;
    margin-bottom: .2em;
}

h1{
	font-size: 2.5em;
}

h2{
	font-size: 2.1em;
}

h3{
	font-size: 1.7em;
}

h4{
	font-size: 1.4em;
}

h5{
	font-size: 1.2em;
}

h6{
	font-size: 1em;
}

p.lead{
	font-size: 1.2em
}

.small{
	font-size: .9em
}

.banner h1, .banner h2, .banner h3, .banner h4, .banner h5, .banner h6{
	font-weight: 600;
	line-height: 1.4;
}

/* force footer image to cover entire footer and not repeat. Add space to default footer */
.footer-1, .footer-2{
	background-size: cover;
	background-position: 50% 50%;
    padding-top: 3em;
	padding-bottom: 4em;
}

/* Google Maps */
/* adjust padding to change the height of maps */

.google-maps {
  position: relative;
  padding-bottom: 48%;
  height: 0;
  overflow: hidden;
}

.google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/* hover effect on footer links */
.footer ul.menu>li+li{
	border-top: none; 
}

.footer ul.menu>li{
    transition: .2s ease-in;
}

.footer ul.menu>li:hover{
    margin-left: .3em;
}


/*change color of checkmarks from flatsome's green */
.dark ul li.bullet-checkmark:before, .dark ul li.bullet-arrow:before, .dark ul li.bullet-star:before{
	color: white;
}

/* change the color of bullets. Set your colors at the top */
ul li.bullet-checkmark:before, ul li.bullet-arrow:before, ul li.bullet-star:before{
	color: var(--primary);
}


.button{
	padding: 0.1em 2em;
}

.button:hover{
	transform: scale(1.1);
}

/* buttons with shadows */
 .button.primary:not(.is-outline):not(.is-link) {
	border: none;
	background: var(--primary);
    background: linear-gradient(324deg, var(--primary) 0%, var(--secondary) 100%);
}

.post-item .button.primary:not(.is-link){
	color: white;
	border-radius: 30px;
	display: block;
}

.button.secondary:not(.is-outline):not(.is-link) {
	border: none;
	background: var(--secondary);
    background: linear-gradient(324deg, var(--secondary) 0%, var(--alert) 100%);	
}

.post-item .button.primary:not(.is-link), .button.success:not(.is-outline):not(.is-link) {
	border: none;
	background: var(--success);
    background: linear-gradient(324deg, var(--success) 0%, #9f8ebe 100%);
}

.button:not(.is-outline):not(.is-link){
    box-shadow:  0 42px 34px rgba(0, 0, 0, 0.086),
                 inset 5px 5px 15px rgb(210 210 210 / 20%);
}
.button:not(.is-outline):not(.is-link):hover{
     box-shadow:  0 30px 20px rgba(0, 0, 0, 0.1),
                 inset 5px 5px 15px rgb(210 210 210 / 20%);  
}

.is-outline:hover{
	border-color: inherit !important;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    
    /* mobile for display sizes */
    .display-1 {
		font-size: 3em;
	}

	.display-2 {
		font-size: 2.5em;
	}

	.display-3 {
		font-size: 2.3em;
	}

	.display-4{
		font-size: 2em;
	}
}

/* limit size of containers on mobile */
@media only screen and (max-width: 1200px){
	.container-width, .full-width .ubermenu-nav, .container, .row:not(.row-collapse){
		width: calc(100% - 30px);
	}
}

.page-title-bg.fill{
    background: url(/wp-content/uploads/2020/10/gray-bg.svg) 50% 50% / cover;
}

.page-title-bg.fill{
    background: url(/wp-content/uploads/2021/06/spotlights-orange-1.jpg) 50% 70% / cover;
}