/*
Theme Name: 
Theme URI: http://prosoft-phils.com/
Author: | Prosoft Phils
Author URI: http://prosoft-phils.com/
Description: Responsive Theme for
*/

/*--------------------------------------------------------------
STYLE FOR CUSTOM THEME
--------------------------------------------------------------*/
blockquote {
	color: #fbae0a;
	font-family: 'Utsaah', arial, sans-serif;
}

.space {
	display: block;
}

.inner-pg {
	min-height: 90vh;
}

.page-title {
	padding-top: 60px;
	padding-bottom: 60px;
}

.sched-pg,
.pg8-about-fold,
.pg44-services-fold {
	padding-top: 80px;
	padding-bottom: 80px;
}

.pg2-services-fold button,
.pg2-eyecare-fold button,
.pg2-tag-fold button,
.pg2-started-fold button,
.reviews-fold button,
.pg8-tag-fold button {
	text-align: center;
	padding-left: 50px;
	padding-right: 50px;
	font-size: 20px;
	font-family: 'UtsaahB'
}

	.service-row button {
		padding-left: 25px;
		padding-right: 25px;
		font-size: 20px;
		font-family: 'UtsaahB'
	}

	.pg2-eyecare-fold button,
	.pg2-tag-fold button,
	.reviews-fold button,
	.pg8-tag-fold button,
	.service-row button {
		margin-top: 50px;
	}

.pg2-tag-fold,
.pg8-tag-fold {
	font-size: 32px;
	line-height: 38px;
}

	.pg2-tag-fold {
		padding: 0px 15px 60px;
		margin-top: 60px;
	}

	.pg8-tag-fold {
		padding: 60px 15px;
	}

	.pg2-tag-fold p,
	.pg8-tag-fold p {
		margin-bottom: 0;
	}

.contact-pg {
	padding: 80px 0;
}

.invisible {
	visibility: hidden;
}

/*--------------------------------------------------------------
HEADER
--------------------------------------------------------------*/
.desktop-header-fixed {
	padding: 12px 15px;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 100;
}

header {
	margin-bottom: 95px;
}

.header {
	-webkit-transition: all 300ms ;
	-moz-transition: all 300ms ;
	-ms-transition: all 300ms ;
	-o-transition: all 300ms ;
	transition: all 300ms ;
}

.logo img {
	max-height: 70px;
}

/*HEADER ON SCROLL*/
.desktop-header-scroll {
	background: #fff;
	-webkit-transition: all 300ms ;
	-moz-transition: all 300ms ;
	-ms-transition: all 300ms ;
	-o-transition: all 300ms ;
	transition: all 300ms ;
}

/*.desktop-header-scroll ul.nav-menu > li > a {
		color: #333;
	}

.desktop-header-scroll .logo img {
	width: 65%;
}
*/

/*NAV MENU*/
ul.nav-menu {
	list-style: none;
	text-align: right;
	margin-top: 12px;
}

	ul.nav-menu li {
		display: inline-block;
		padding-left: 25px;
	}

		ul.nav-menu > li > a {
			text-decoration: none;
			text-transform: uppercase;
			color: #4D4D4F;
			font-family: 'UtsaahB', arial, sans-serif;
			-webkit-transition: all 300ms ;
			-moz-transition: all 300ms ;
			-ms-transition: all 300ms ;
			-o-transition: all 300ms ;
			transition: all 300ms ;
			display: block;
			font-size: 18px;
			padding-top: 8px;
			padding-bottom: 8px;
		}

	/*NAV ACTIVE LINK*/
	ul.nav-menu > li.current_page_item > a {
		color: var(--color-blue);
	}

	/*NAV ON HOVER*/
	ul.nav-menu li a:hover{
		color: var(--color-blue);
		-webkit-transition: all 300ms ;
		-moz-transition: all 300ms ;
		-ms-transition: all 300ms ;
		-o-transition: all 300ms ;
		transition: all 300ms ;
	}

/*----- NAV MENU: 1st LEVEL SUB MENU -----*/
	ul.nav-menu li ul.sub-menu {
		display: none;
	}

	ul.nav-menu li:hover ul.sub-menu {
		display: block;
	}
	
	ul.nav-menu li ul.sub-menu {
		list-style: none;
		padding-left: 0px;
		text-align: center;
		position: absolute;
		z-index: 1001;
		background: rgba(0,0,0,0.9);
		border-top: 3px solid #6b0500;
		margin-left: 0;
	}

	ul.nav-menu li ul.sub-menu li {
		display: block;
		margin-left: 0;
		border-bottom: 1px solid rgba(255,255,255,0.2);
	}

	ul.nav-menu li ul.sub-menu li a {
		color: #fff;
		text-transform: uppercase;
		display: block;
		min-width: 100px;
		padding-top: 6px;
		padding-bottom: 6px;
	}

		ul.nav-menu li ul.sub-menu li a:hover {
			background: #6b0500;
			-webkit-transition: all 0ms !important;
			-moz-transition: all 0ms !important;
			-ms-transition: all 0ms !important;
			-o-transition: all 0ms !important;
			transition: all 0ms !important;
		}

	ul.nav-menu > li.menu-item-has-children a::after {
		content: "\f107";
		font-family: 'Font Awesome 5 Free';
  		font-weight: 900;
		padding-left: 10px;
		color: red;
	}

		ul.nav-menu > li.menu-item-has-children ul li a::after {
			content: none;
		}

.header-sched a {
	color: #fff !important;
	background: var(--color-blue);
	padding-left: 15px;
	padding-right: 15px;
	border-radius: 5px;
}

.nav-menu li:last-child a,
.nav-menu li:nth-last-child(2) a {
    color: #fff !important;
    background-color: var(--color-blue);
    border-radius: .25rem;
    padding: 5px 10px;
}

	.nav-menu li:last-child a:hover,
	.nav-menu li:nth-last-child(2) a:hover {
	    background-color: #075aa3;
	}

ul.nav-menu li:last-child,
ul.nav-menu li:nth-last-child(2) {
	padding-left: 15px;
}

/*--------------------------------------------------------------
HOME INDEX PAGE
--------------------------------------------------------------*/
.pg2-banner {
	/*background: url('../img/banner8.png') no-repeat center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;*/
	height: 80vh;
	position: relative;
}

.pg2-banner-text {
	margin: 0;
	position: absolute;
	top: 50%;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	left: 18%;
	width: 260px;
}

	.pg2-banner-text button {
		margin-top: 25px;
	}

.pg2-services-fold,
.pg2-started-fold,
.reviews-fold {
	padding: 80px 15px;
}

	.pg2-services-fold,
	.pg2-started-fold {
		/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#e7f0f8+0,f5f9fc+100 */
		background: #e7f0f8; /* Old browsers */
		background: -moz-linear-gradient(top,  #e7f0f8 0%, #f5f9fc 100%); /* FF3.6-15 */
		background: -webkit-linear-gradient(top,  #e7f0f8 0%,#f5f9fc 100%); /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(to bottom,  #e7f0f8 0%,#f5f9fc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e7f0f8', endColorstr='#f5f9fc',GradientType=0 ); /* IE6-9 */
	}

.service-list{
	margin-top: 40px;
	color: var(--color-gray);
}

.callouts,
.review-list {
	margin-top: 40px;
	display: flex;
  	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
}

	/*.service-list-child {
		width: 25%;
		padding: 0 10px;
	}*/

	.review-child {
		width: 30%
	}

	.callouts-child {
		width: 20%;
		color: var(--color-gray);
	}

.service-list-child img:first-child {
	width: 80px;
	margin: 0 auto 30px;
}

	.service-list-child img:nth-child(2) {
		margin-bottom: 30px;
	}

.service-list-child p:last-child {
	margin-top: 14px;
}

.pg2-eyecare-fold {
	background: url('../img/bg2.jpg') no-repeat center top;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	padding-top: 180px;
	padding-bottom: 40px;
}

	.pg2-eyecare-fold ul {
		padding-left: 0;
		list-style: none;
		font-family: 'Perpetua';
		color: var(--color-blue);
	}

	.pg2-eyecare-fold ul li {
		margin-top: 20px;
		position: relative;
	}

	.pg2-eyecare-fold ul li span {
		font-family: 'Utsaah';
		color: #4D4D4F;
	}

.pg2-eyecare-fold-left {
	text-align: right;
}

	.pg2-eyecare-fold-left ul li {
		float: right;
		padding-right: 30px;
	}

		.pg2-eyecare-fold-left ul li:first-child {
			width: 70%;
		}

	.pg2-eyecare-fold-left ul li:after {
		content: '\f058';
		font-family: 'Font Awesome 5 Free';
  		font-weight: 900;
  		color: var(--color-dblue);
  		position: absolute;
  		right: 0;
  		top: 0;
	}

.pg2-eyecare-fold-right {
	margin-top: -24px;
}
	
	.pg2-eyecare-fold-right ul li {
		padding-left: 30px;
	}

	.pg2-eyecare-fold-right ul li:before {
		content: '\f058';
		font-family: 'Font Awesome 5 Free';
  		font-weight: 900;
  		color: var(--color-dblue);
  		position: absolute;
  		left: 0;
  		top: 0;
	}

.callouts-child {
	text-align: center;
}

	.callouts-child img:first-child {
	width: 120px;
	margin: 0 auto 30px;
}

	.callouts-child h4 {
		font-family: 'PerpetuaB';
		color: var(--color-blue);
	}

.reviews-fold-decor {
	margin-top: 40px;
}

	.reviews-fold-decor-border {
		border-bottom: 8px solid #F0F0F0;
		
	}

	.reviews-fold-decor .fas {
		font-size: 60px;
	}

.pg2-video-fold {
	background: url('../img/bg3.jpg') no-repeat top left;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	color: #fff;
	font-family: 'Perpetua';
	/*padding-top: 80px;*/
	padding-top: 20px;
	padding-bottom: 60px;
}

.signup-col {
	text-align: center;
}

	.signup-col .ebook-email {
		margin-left: auto;
		margin-right: auto;
	}

	.signup-col .wpcf7-spinner {
		display: none;
	}

.vid-img {
	position: relative;
	font-size: 24px;
	margin-top: 55px;
}

	.vid-img a {
		color: #fff;
	}

	.vid-img p {
		position: absolute;
		left: 50%;
		top: 40%;
		-webkit-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
		text-align: center;
	}

	.vid-img .fas {
		font-size: 46px;
		margin-bottom: 15px;
	}

.review-child p:last-child {
	line-height: 60px;
	position: relative;
	padding-left: 80px;
	font-family: 'Perpetua';
}

	.review-child .fas {
		color: var(--color-pink);
		font-size: 60px;
		position: absolute;
		left: 0;
		top: 0;
	}

/*--------------------------------------------------------------
SCHEDULE APPOINTMENT - PG 44
--------------------------------------------------------------*/
.sched-form {
	background: #fff;
	background: #FFFFFF 0% 0% no-repeat padding-box;
	box-shadow: 0px 3px 6px #00000029;
	border-radius: 0px 8px 8px 0px;
	padding: 25px 50px;
	color: #848484;
}

.clinic-select {
	text-align: left !important;
}

	.wpcf7-list-item {
		display: block !important
	}

.time-form p {
	margin-top: -30px;
}

.sched-pg button {
	font-size: 20px;
}

/*--------------------------------------------------------------
SCHEDULE APPOINTMENT V2 - PG 144
--------------------------------------------------------------*/
.sched-bg {
	background: url('../img/sched-bg.png');
	background-repeat: no-repeat;
	background-size: cover;
}

.location-card {
	background: #fff;
	box-shadow: 0px 3px 6px #00000029;
	border-radius: 8px;
	margin: 5px;
	padding: 25px 20px 60px;
	height: 100%;
}

	.location-card i {
		font-size: 16px;
	}

	.location-card p {
		margin-bottom: 0;
		text-align: center;
	}

	.location-card span {
		display: block;
		text-align: center;
	}

	.location-card a:hover {
		color: var(--color-blue);
	}

	.location-card button {
	    position: absolute;
	    bottom: 15px;
	    left: 0;
	    right: 0;
	    margin: 0 auto;
	    padding-left: 30px;
	    padding-right: 30px;
	    width: fit-content;
	}

.location-card-header {
	text-align: center;
    min-height: 120px;
    border-bottom: 1px solid var(--color-cyan);
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/*--------------------------------------------------------------
ABOUT - PG 8
--------------------------------------------------------------*/
ul.about-creds {
	padding-left: 0;
	list-style: none;
	font-family: 'Perpetua';
}

	ul.about-creds li {
		display: inline-block;
		width: 49%;
		position: relative;
		padding-left: 35px;
		vertical-align: top;
		color: #1270B8;
		margin-bottom: 20px;
	}

	ul.about-creds li:before {
		content: '\f058';
		font-family: 'Font Awesome 5 Free';
  		font-weight: 900;
  		color: #5ED3FE;
  		position: absolute;
  		left: 0;
  		top: 0;
	}

/*--------------------------------------------------------------
SERVICES - PG 44
--------------------------------------------------------------*/
.service-row h2 {
	margin-bottom: 0;
}

.service-row h3 {
	color: var(--color-blue);
	font-family: 'Perpetua B';
	margin-bottom: 0;
}

.service-row h4 {
	color: var(--color-blue);
	font-family: 'Perpetua';
	padding: 0;
	margin-bottom: 0;
}

.pg44-services-fold .service-row {
	border-bottom: 1px solid var(--color-pink);
	margin-bottom: 40px;
	padding-bottom: 25px;
	color: var(--color-gray);
}

	.pg44-services-fold .service-row:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}

.service-img {
	border-radius: 100%;
	overflow: hidden;
}

.service-row p {
	margin-bottom: 14px;
}

/*--------------------------------------------------------------
CONTACT - PG 12
--------------------------------------------------------------*/
.pg12-content {
	background: url('../img/bg4.jpg');
	background-size: auto 100%;
}

.pg12-content {
	display: flex;
  	flex-wrap: wrap;
	align-items: stretch;
}

	.pg12-content-child1 {
		width: 58%;
		position: relative;
		overflow: hidden;
	}

	.pg12-content-child2 {
		width: 42%;
		background: #fff;
		padding: 25px 40px;
	}

.pg12-content-child1 img {
	height: 100%;
}

	.pg12-content-child1 span {
		position: absolute;
		left: 50%;
		top: 50%;
		-webkit-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
	}


/*--------------------------------------------------------------
BLOGS
--------------------------------------------------------------*/
.mb-10 {
	margin-bottom: 10px !important;
}

.mb-15 {
	margin-bottom: 15px;
}

.mb-20 {
	margin-bottom: 20px;
}

.ml-15 {
	margin-left: 15px;
}

.padb-5 {
	padding-bottom: 5px;
}

.plf-40 {
	padding: 0px 40px;
}

.t-18 {
	font-size: 18px;
}

.t-28 {
	font-size: 28px;
}

.pointer {
	cursor: pointer;
}

.blog-title {
	padding-top: 60px;
    padding-bottom: 20px;
}

.single-blog-title {
	/*background-image: linear-gradient(rgba(18, 112, 184, 0.1), rgba(18, 112, 184, 0));*/
	height: 20vh !important;
}


.single-blog-article-title {
	padding: 30px 0;
}

.blog-button {
    border-radius: 8px;
    border: none;
    padding: 6px 40px;
    font-size: 18px;
    /*margin-bottom: 75px;*/
}

.blog-button:hover {
	background-color: darkblue;
	color: #fff;
}

.blog-image-container {
	height: 300px !important;
	width: 100% !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
    background-position: 50% 50% !important;
    overflow: hidden;
}

.single-blog-title {
	height: 8vh;
}

.single-blog-image-container {
	height: 40vh !important;
	width: 100% !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
    background-position: 50% 50% !important;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.single-blog-image {
	width: 100% !important;
}

.single-article-image-container {
	display: flex;
	height: 200px;
}

.single-article-image {
	margin: auto;
}

.article {
	margin: 0;
}

.article-head {
	margin-bottom: 0;
	margin: 0 -15px;
}

.article-image-container {
	margin-left: 0;
	padding: 0;
}

.article-image {
	background-size: cover !important;
	background-repeat: no-repeat !important;
    background-position: 50% 50% !important;
    overflow: hidden;
    margin: 0 auto;
}

.blog-image {
	margin: 0 auto;
	height: 100% !important;
}

.ellipsis {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 4; 
	-webkit-box-orient: vertical;
	margin-bottom: 25px;
	max-height: 110px;
}

.ellipsis-1 {
	overflow: hidden;
	text-overflow: clip;
	display: -webkit-box;
	-webkit-line-clamp: 1; 
	-webkit-box-orient: vertical;
}

.article-image {
	background-size: cover;
	background-repeat: no-repeat;
    background-position: 50% 50%;
    padding: 0;
}

.article-text {
	font-size: 18px;
	line-height: 20px;
	margin-left: 0;
}

.get-ebook-btn {
	background-color: #0E385E;
	color: #fff;
}

.get-ebook-btn:hover {
	background-color: darkblue;
	color: #fff;
	cursor: pointer;
}

.free-book {
	padding: 0 50px 25px 50px;
	/*margin-top: 50px !important;*/
}

.navigation li.active a {
	background-color: var(--color-pink) !important;
    border: none !important;
    color: darkblue !important;
}

.navigation li a {
	background-color: #F0F0F0 !important;
    border: none !important;
    color: var(--color-blue) !important;
}

.pagination {
	margin-bottom: 75px;
	padding-top: 25px;
	border-top: 5px solid #F0F0F0;
}

.share {
	margin-bottom: 75px;
}

.read-more-button-wrap {
	display: none;
}

.featured-section {
	padding-bottom: 75px;
}

.blog-container {
	margin-bottom: 75px;
}

/*--------------------------------------------------------------
FOOTER
--------------------------------------------------------------*/
footer {
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#0e385e+0,0f4979+100 */
	background: #0e385e; /* Old browsers */
	background: -moz-linear-gradient(top,  #0e385e 0%, #0f4979 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #0e385e 0%,#0f4979 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #0e385e 0%,#0f4979 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0e385e', endColorstr='#0f4979',GradientType=0 ); /* IE6-9 */
	color: #fff;
	/*padding-top: 100px;*/
	padding-top: 100px;
}

.addr-col .fas {
	margin-right: 9px;
}

footer button {
	margin-right: 15px;
}

.sched-col table {
	margin-top: -30px;
	font-size: 18px;
}

	.sched-col table td {
		padding: 0;
	}

	.sched-col table tr {
		border: 2px solid transparent;
	}

.footer-btns span {
	font-size: 18px;
}

ul.social-profiles i {
	vertical-align: bottom;
}

ul.social-profiles li {
	margin-right: 15px;
}

	ul.social-profiles li a {
		color: var(--color-white);
		font-size: 36px;
	}

	ul.social-profiles li a:hover {
		color: var(--color-cyan);
	}

.copyright {
	border-top: 1px solid #5ED3FE;
	font-size: 16px;
	line-height: 16px;
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
	margin-top: 80px;
	color: #5ED3FE;
}

	.copyright a {
		color: #5ED3FE;
	}

/*.sched-col .table-clinic-hours td {
	padding: 5px !important;
}*/

/*--------------------------------------------------------------
404 PAGE
--------------------------------------------------------------*/
.pg-404 {
	position: relative;
	height: 100vh;
}

.pg-404-content {
	width: 100%;
	position: absolute;
	left: 50%;
	top: 60%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}

	.pg-404-content i {
		margin-bottom: 20px;
	}

	.pg-404-content h1 {
		margin-bottom: 20px;
	}

	.pg-404-content p {
		margin-bottom: 0;
	}

/*--------------------------------------------------------------
NAV TAB STYLE RESET
--------------------------------------------------------------*/
.nav-tab-style-reset .nav-tabs {
	border-bottom: none;
}

.nav-tab-style-reset .nav-tabs .nav-item.show .nav-link,
.nav-tab-style-reset .nav-tabs .nav-link.active {
	background: none;
	border-color: none;
}

.nav-tab-style-reset .nav-tabs .nav-link {
	border: none;
}


