/*
Theme Name: SAC
Theme URI: http://underscores.me/
Author: SAC
Author URI: http://www.sacplastica.com/
Description: SAC theme
Version: 2.0.0
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: sac
Tags: rtl-language-support

SAC is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

.bg-text-link__dr-link {
    display: inline-block;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 1.3125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.08px;
    color: #fff!important;
    background-color: #b8e1e4;
    border: 2px solid #789e9f;
    width: 100%;
    height: auto;
    text-align: center;
    line-height: 3;
    text-decoration: none !important;
}

.gm-style div div div div div {
  width: 100% !important;
  max-width: 192px !important;
}

body.page-id-127 .hero__title--alt, body.page-id-291 .hero__title--alt,
body.page-id-293 .hero__title--alt, body.single-doctors .hero__title--alt {
  border: none !important;
}
#background-video {
	width: 100vw;
	height: 100vh;
	object-fit: cover;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: -1;
}
.home-hero__heading, .home-hero__text {
	color: #ffffff;
}
.home-hero__text:before {
	background-color: rgba(225, 225, 225, .7);
}

/* Gravity Forms styling */

.gform-theme--framework .gform-field-label:where(:not([class*=gform-field-label--type-])) {
	font-size: .9375rem;
	font-weight: 500;
}

.gform-theme--foundation .gfield input.large, .gform-theme--foundation .gfield select.large,
.gform-theme--foundation .gfield input.large, .gform-theme--foundation .gfield textarea{
		border: none;
		outline: 0;
		padding: 4px 13px;
    font-size: .9375rem;
    font-weight: 500;
    margin-bottom: 3px;
    -webkit-appearance: none;
    border-radius: 0;
		margin-bottom: 16px;

}

.gform-theme--foundation .gfield textarea{
	min-height: 100px !important;
}
.gform-theme--api,.gform-theme--foundation {
	--gf-form-gap-y: 16px !important;
	
}
.gform-theme--foundation .gfield input.large:focus, .gform-theme--foundation .gfield select.large:focus,
.gform-theme--foundation .gfield input.large:focus, .gform-theme--foundation .gfield textarea:focus {
    background-color: #c2bfbb;
    outline: transparent
}

#gform_submit_button_1, #gform_submit_button_2, #gform_submit_button_3, #gform_submit_button_4,
#gform_submit_button_5 {
	height: 50px;
	width: 100%;
	color: #fff;
	font-size: 1.5625rem;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
	background-color: #82abae;
	padding: 12.5px 15px;
	border-radius: 5px;
	border: none;
}

/* END Gravity Forms Styling*/

@media screen and (max-width: 1300px) and (min-width: 961px) {
	.home-hero {
		opacity: 1;
		position: relative;
		padding-bottom: 56.25%;
		padding-top: 25px;
		height: 0;
		margin-bottom: 30px;
		min-height: 515px;
	}
	#background-video {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		object-fit: none;
	}
}
@media screen and (min-width: 961px) {
	.home-hero__heading, .home-hero__text {
		display: none !important;
	}
}
@media screen and (max-width: 960px) {
	.home-hero {
		background-image: url('https://www.sacplastica.com/wp-content/uploads/2018/03/layer-8504.png');
		min-height: auto;
	}
	.home-hero__heading, .home-hero__text {
		color: #5a4a41;
	}
	.home-hero__text:before {
		background-color: rgba(90, 74, 65, .7);
	}
	#background-video {
		display: none !important;
	}
}
@media screen and (min-width: 75em) {
  .slider-posts__wrapper {
      height: 300px;
  }
  .home-slider__posts {
    margin-top: 15px;
  }
}
@media print, screen and (min-width: 40em) {
  .slider-posts__wrapper {
    flex: 1 0 50%;
      max-width: 50%;
  }
}
@media screen and (min-width: 640px) and (max-width: 960px) {
  .slider-posts__post-title {
    font-size: 1.5rem;
      line-height: 1.5rem; 
  }
}
@media screen and (max-width: 1023px) {
	body.page-id-127 .hero__title--alt {
		top: initial;
	}
	body.page-id-293 .hero__title--alt {
		top: 22px;
	}
	.page-id-127 .hero__row, .page-id-293 .hero__thumb {
		margin-bottom: -55px;
		padding-bottom: 55px;
	}
}
@media screen and (max-width: 550px) {
  .home-bg-content-links__article-wrap:nth-of-type(3) .home-bg-content-links__background {
      background-position-x: -166px;
  }
  .home-bg-content-links__article-wrap:nth-of-type(4) .home-bg-content-links__background {
      background-position-x: -40px;
  }
}
@media screen and (max-width: 430px) {
  .gm-style div div div div div {
      max-width: 150px !important;
  }
}

.covid19-popup{
  font-weight: bold;
  color: #FF0000;
}
