/*
  Theme Name: VenasVarices
  Theme URI: https://venasvarices.com/
  Version: 1.0.0
  Template: Divi
  Author: VIP Medical Group
  Author URI: https://www.vipmedicalgroup.com/
  Description: Divi child theme
  Text Domain: venasvarices
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Colors for icons */
.vv-icon--purple svg{ color: #673BB5 !important }
.vv-icon--yellow svg{ color: #FCBA06 !important }

/* Link coloring */
.vv-link--purple a,
a.vv-link--purple {
	color: #673BB5 !important;
}
.vv-link--pink a,
a.vv-link--pink {
	color: #C0439F !important;
}

/* Fix overflow for some elements*/
#main-content { overflow-x: hidden !important }

/* Align columns to the center */
.vv-row--center-cols>.et_pb_column,
.vv-row--center-cols>.et_pb_column:last-child {
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Divi title overwrites */
.vv-title--font80 h1,
.vv-title--font80 h2,
.vv-title--font80 h3 {
  font-size: clamp(45px,5vw,80px) !important;
  padding-bottom: 0 !important;
}
.vv-title--font75 h1,
.vv-title--font75 h2,
.vv-title--font75 h3 {
  font-size: clamp(30px,5vw,75px) !important;
  padding-bottom: 0 !important;
}
.vv-title--font48 h1,
.vv-title--font48 h2,
.vv-title--font48 h3 {
	font-size: clamp(28px,3vw,48px) !important;
	padding-bottom: 0 !important;
}
.vv-title--font40 h1,
.vv-title--font40 h2,
.vv-title--font40 h3 {
	font-size: clamp(20px,2.5vw,40px) !important;
	padding-bottom: 0 !important;
}
.vv-title--font20 h1,
.vv-title--font20 h2,
.vv-title--font20 h3 {
	font-size: clamp(16px,1.2vw,20px) !important;
	padding-bottom: 0 !important;
}

/* Divi blurb overwrites */
.vv-blurb--no-padding .et_pb_blurb_container { padding: 0 }
.vv-blurb__content--inline .et_pb_blurb_container{
	width: 100% !important;
	display: flex !important;
	justify-content: space-between !important;
}
.vv-blurb__content--center .et_pb_blurb_description{
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.vv-blurb--swap-title .et_pb_blurb_container {
    display: flex;
    flex-direction: column-reverse;
}

/* Divi lists with custom icons */
.vv-list ul,
.vv-list ol {
    margin: 0;
    padding: 0;
    list-style-type: none;
	display: flex;
    flex-direction: column;
    gap: 20px !important;
}
.vv-list li::before {
    position: relative;
    top: 3px;
    padding-right: 5px;
    width: 20px;
    height: 30px;
    display: inline-block; 
}
.vv-list--check-icon li::before { content: url('https://www.veintreatment.com/wp-content/uploads/2023/08/circle-check.svg') }
.vv-list--arrow-right li::before { content: url('https://www.veintreatment.com/wp-content/uploads/2023/08/circle-arrow-right.svg') }
.vv-list--arrow-right-yellow li::before { content: url('https://www.veintreatment.com/wp-content/uploads/2023/08/circle-arrow-right-yellow.svg') }

/* Custom icons for the blurbs */
.vv-blurb__title__icon--question .et_pb_module_header::before {
    content: '\f059';
    font-family: 'Font Awesome 5 Free';
    margin-right: 5px;
}
.vv-blurb__icon--info .et_pb_module_header::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  background-image: url('https://www.veintreatment.com/wp-content/uploads/2023/08/circle-info.svg');
  background-repeat: no-repeat;
  background-size: contain;
}
.vv-blurb__icon--medical .et_pb_module_header::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  background-image: url('https://www.veintreatment.com/wp-content/uploads/2023/08/message-medical.svg');
  background-repeat: no-repeat;
  background-size: contain;
}
.vv-blurb__icon--stars .et_pb_module_header::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  background-image: url('https://www.veintreatment.com/wp-content/uploads/2023/08/stars.svg');
  background-repeat: no-repeat;
  background-size: contain;
}
.vv-blurb__icon--stopwatch .et_pb_module_header::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  background-image: url('https://www.veintreatment.com/wp-content/uploads/2023/08/stopwatch.svg');
  background-repeat: no-repeat;
  background-size: contain;
}
.vv-blurb__icon--hands .et_pb_module_header::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  background-image: url('https://www.veintreatment.com/wp-content/uploads/2023/08/hands-holding-heart.svg');
  background-repeat: no-repeat;
  background-size: contain;
}

/* Divi accordion overwrites */
.vv-accordion__icon .et_pb_toggle_title::before {
    content: "\f054" !important;
    font-family: "FontAwesome" !important;
}
.vv-accordion__icon .et_pb_toggle_open .et_pb_toggle_title::before {
    display: block !important;
	content: "\f078" !important;
    font-family: "FontAwesome" !important;
}

/* Carousel */
.vv-bullet--size15 .swiper-pagination-bullet {
	width: 15px !important;
	height: 15px !important;
    background: #ffffff !important;
    opacity: 1;
}

/*
 * YouTube video popup
 * */
.vv-modal__wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
}
.vv-modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.vv-modal__close {
    position: absolute;
    right: -15px;
    top: -15px;
    font-size: 30px;
    cursor: pointer;
    padding: 3px 7px 5px 7px;
    border-radius: 100vw;
    background-color: #ffffff;
}

/* Media query for screen width less than 980px */
@media screen and (max-width: 979px) {
    .vv-modal__content { width: 90% }
    .vv-modal__close { padding: 3px 9px 5px 10px }
    #vv-modal__iframe {
        width: 100%;
        height: 50vw;
    }
}

