/*
Theme Name: Italia Eye Centre (Mobile)
Theme URI: http://prosoft-phils.com/
Author: | Prosoft Phils
Author URI: http://prosoft-phils.com/
Description: Responsive Theme for Italia Eye Centre (Mobile)
*/

@media (max-width: 767px) {

/*--------------------------------------------------------------
GENERAL STYLES
--------------------------------------------------------------*/
body {
	font-size: ;
	line-height: ;
	overflow-x: hidden;
	overflow-y: scroll;
}

h1 {
	font-size: 28px !important;
	line-height: 33px !important;
}

h2 {
	font-size: 21px !important;
	line-height: 26px !important;
}

h3 {
	font-size: 18px !important;
	line-height: 23px !important;
}

.container-fluid {
	padding-left: 0;
	padding-right: 0;
}

.space {
	display: inline;
}

/*--------------------------------------------------------------
List Style
--------------------------------------------------------------*/
.ul-lnone-inline li {
	display: block;
}

/*--------------------------------------------------------------
CONTACT FORM / Google ReCAPTCHA
--------------------------------------------------------------*/
.google-recaptcha {
	transform:scale(0.77) !important;
	transform-origin:0 0 !important;
}

.google-recaptcha iframe {
	width: 100% !important;
	height: auto !important;
}

[title~=recaptcha] {
	width: 400px !important;
	height: 580px !important;
}

/*--------------------------------------------------------------
Full Width Video iFrame on Modal 
--------------------------------------------------------------*/
.modal-video .modal-dialog {
	top: 5px;
}

.video-modal-content {
    width: 90%;
}

/*--------------------------------------------------------------
Alignment
--------------------------------------------------------------*/
.alignleft,
.alignright,
.aligncenter {
	display: block !important;
	float: none !important;
	margin: 15px auto !important;
	clear: both;
}

/*--------------------------------------------------------------
Comments
--------------------------------------------------------------*/
.comment-body {
	margin-left: 0
}

.comment-metadata time {
	font-size: 10px;
}

.edit-link {
	display: block;
	width: 100%
}

	.edit-link a {
		margin: 0;
		padding-top: 5px;
	}

/*--------------------------------------------------------------
HEADER
--------------------------------------------------------------*/
header {
	margin-bottom: 56px;
}

.container {
	padding: 5px 15px !important;
}

.container .row {
	align-items: center;
}

.header {
	padding-top: 0px;
	padding-bottom: 0px;
	position: fixed;
	background: #fff;
}

.logo-container-xs img {
	max-height: 45px;
}
	

.menu-button-container ul {
	text-align: right;
	list-style: none;
	padding-left: 0;
	padding-left: 0;
	margin-bottom: 0;
}

	.menu-button-container ul li {
		display: inline-block;
		border: 0px solid #E0E0E0;
		margin-left: 2px;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		min-width: 40px;
	}

		.menu-button-container ul li a {
			display: inline-block;
		}

		.menu-button-container ul li button {
			border-radius: 3px;
		}		

		.menu-button-container ul li .btn-phone-mobile,
		.menu-button-container ul li .btn-map-mobile {
			background-color: var(--color-blue);
		}

		.menu-button-container ul li .btn-phone-mobile .fas,
		.menu-button-container ul li .btn-map-mobile .fas {
			color: #fff;
		}

	.menu-button-container ul li .fas {
		font-size: 20px;
		color: var(--color-dblue);
		vertical-align: middle;
	}

.menu-button-container button {
	min-width: 35px;
	padding: 5px 6px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}

.btn-menu {
	line-height: auto;
}

	.btn-menu button[aria-expanded="false"] {
		background: transparent;
		border: 1px solid transparent;
	}

		.btn-menu button[aria-expanded="true"] {
			background: var(--color-lteal);
			border: 1px solid var(--color-lteal);
		}

.btn-menu .fa-stack {
	width: 25px;
	height: 20px;
	line-height: 17px;
}

.menu-icon2 {
	visibility: hidden;
	transition: opacity .3s, transform .3s;
	transform: rotate(-180deg);
}

	.menu-icon1 {
		transition: opacity .3s, transform .3s;
	}

	.btn-menu button[aria-expanded="true"] .menu-icon1 {
		visibility: hidden;
		transform: rotate(-180deg);
		transition: opacity .3s, transform .3s;
	}
	
	.btn-menu button[aria-expanded="true"] .menu-icon2 {
		transform: rotate(0deg);
		visibility: visible;
		transition: opacity .3s, transform .3s;
	}

.mobile-menu-list {
	position: relative;
	z-index: 1000;
	/*height: stretch;
	height: -webkit-fill-available;
	height: -moz-available;*/
}



/*----- NAV MENU -----*/
ul.nav-menu {
	padding-left:0;
	list-style: none;
	text-align: left;
}

ul.nav-menu > li {
	display: block;
}

ul.nav-menu li a,
ul.nav-menu li ul.sub-menu li a {
	text-decoration: none;
	font-size: 16px;
	line-height: 30px;
    display: block;
	text-transform: uppercase;
	padding-right: 0px;
	color: #bebebd;
}

ul.nav-menu li.current-menu-parent ul.sub-menu li a {
	color: #bebebd !important
}

/*NAV ACTIVE LINK*/
ul.nav-menu li.current-menu-item a,
ul.nav-menu li.current-page-parent a,
ul.nav-menu li.current-menu-parent a,
ul.nav-menu li a.active,
ul.sub-menu li.current-cat a,
ul.nav-menu li.current-menu-parent ul.sub-menu li.current_page_item a {
	color: #1270b8 !important;
}


/*----- 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: 15px !important;
		position: relative;
		z-index: 100;
		margin-left: 0px;
		padding-right: 0px;
		padding-top: 0px;
		background: transparent;
	}

#menu-item-50 {
	padding: 0;
}
	
	#menu-item-50 a {
		padding-left: 30px;
		color: #fff !important;
	}

.nav-menu li:last-child a,
.nav-menu li:nth-last-child(2) a {
	width: fit-content;
	margin-bottom: 8px;
}

.nav-menu li:last-child.current-menu-item a, 
.nav-menu li:nth-last-child(2).current-menu-item a {
    color: #fff !important;
}

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

.pg-404-content {
	width: 100%;
	position: relative;
	left: 0;
	top: 0;
	-webkit-transform: translate(0%, 0%);
	transform: translate(0%, 0%);
	text-align: center;
	padding-top: 70px;
	padding-bottom: 70px;
}



/*--------------------------------------------------------------
HOME
--------------------------------------------------------------*/
.pg2-banner {
	height: 300px;
	position: relative;
	margin-bottom: 235px;
}

.pg2-banner-text {
    text-align: center;
    position: unset;
    padding-top: 730px;
    margin: auto;
}

.h5 {
	font-size: 1rem !important;
}

.service-list {
	display: block;
}

	.service-list-child {
		width: 100%;
	}

		.service-list-child img:first-child {
			width: 100px;
		}

		.service-list-child img:nth-child(2) {
			margin: 0 auto;
			margin-bottom: 30px;
		}
		.service-list-child p:last-child {
			text-align: center;
		}

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

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

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

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

	.pg2-eyecare-fold-left ul li:after{
		display: none;
	}

.pg2-eyecare-fold-right {
	margin-top: 20px;
}

.pg2-eyecare-fold {
	background-image: none;
	padding: 0;
}
	.pg2-eyecare-fold h1:first-child {
		padding-bottom: 0;
	}

.pg2-tag-fold button,
.pg2-started-fold button {
	padding-right: 40px;
}

.pg2-started-fold {
	padding-top: 60px !important;
}

.mobile-bg {
	display: block !important;
}

.callouts {
	display: block !important;
	margin-top: 20px;
}
	
	.callouts-child {
		width: 100%;
	}

	.callouts-child img {
		width: 100px !important;
		margin: 0 auto !important;
	}

	.callouts-child h4 {
		margin-bottom: 0;
	}


/*--------------------------------------------------------------
ABOUT PAGE
--------------------------------------------------------------*/
.pg8-about-fold {
	padding: 50px 0 0 0;
}

.pg8-about-fold p {
	text-align: center;
}

.review-list {
	display: block;
}
	
	.review-child {
		width: 100%;
		padding: 0 20px;
	}


.reviews-fold-decor-border {
	display: none;
}

/*--------------------------------------------------------------
SERVICES PAGE
--------------------------------------------------------------*/

.service-row button {
	display: block;
	margin: 50px auto;
}

.pg44-services-fold {
	padding-top: 40px;
	padding-bottom: 0;
}



/*--------------------------------------------------------------
BLOG PAGE
--------------------------------------------------------------*/
.page-title {
	padding: 30px 0;
}

.blog-button {
	width: 100%;
	margin-bottom: 40px;
}

.blog-image-container {
	height: 200px !important;
	padding: 0;
}

.blog-image {
	height: ;
}

.ellipsis {
	-webkit-line-clamp: 2; 
}


#article {
	max-width: 320px;
	margin: 0 auto;
	margin-bottom: 20px;
}

.article-head {
	display: block;
    text-align: center;
    background: linear-gradient(to bottom, #e6f1f7 0%,#f5f9fc 100%);
    padding-bottom: 0;
    padding: 20px 0 !important;
    margin-bottom: 20px;
}

.article-image-container {
	padding: 0;
	height: 200px;
	overflow: hidden;
}

.article-image {
	margin: 0 auto;
	width: 100% !important;
}

.article-text {
	padding: 0;
}

.single-article-image-container {
	height: 150px;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.free-book {
	margin: 0;
	padding: 0 25px 25px;
}

/*--------------------------------------------------------------
CONTACT US
--------------------------------------------------------------*/
.contact-pg {
	padding-top: 15px !important;
}

.pg12-content-child1,
.pg12-content-child2 {
	width: 100%;
}

.h3 {
	font-size: 1.5rem !important;
}

.pg12-content-child2 {
	padding: 25px 20px;
}

/*--------------------------------------------------------------
SCHEDULE APPOINTMENT V2 - PG 144
--------------------------------------------------------------*/
.sched-pg {
	padding-top: 40px;
	padding-bottom: 20px;
}

.location-card button {
	bottom: 25px;
}

.sched-col table td {
	padding: 5px;
}

/*--------------------------------------------------------------
FOOTER
--------------------------------------------------------------*/
footer {
	padding-top: 50px;
}

footer .container-fluid img {
	margin: 0 auto;
	max-width: 60%;
}

footer tr td:first-child {
	text-align: right;
}

.addr-col {
	margin-top: 50px;
	text-align: center;
}

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

.addr-col a button {
	width: 100%;
	margin-bottom: 10px;
}
} /*END of @media 767px*/