/* CUSTOM INSIDE PAGE BANNER */

div.btn-wrap {
    display: flex;
    align-items: center;
    gap: 0 5%;
    margin-top: 2em;
}

div#white-text p {
    color: #fff;
}

div.dry-eye-plan-bottom-text {
    margin-top: 1.5em;
}

#ry-pg-banner .ry-bnr-wrp {
    display: none !important;
}

.ip-banner div#ip-right .ry-heading h4 {
    color: var(--color-secondary);
}

div.ip-serv-number h4 {
    position: absolute;
    font: 400 clamp(15rem, 26vw, 20rem) / .8 "DM Serif Display" !important;
    letter-spacing: -25px;
    color: rgb(255 255 255 / 7%);
    right: 1%;
    top: 2%;
    pointer-events: none;
    z-index: 1;
    position: absolute;
}

div#list ul {
    padding:0;
   margin-top:2em;
}

div#list ul li {
 border-bottom: 1px solid rgb(255 255 255 / 32%);
 padding: 15px 0;
 font-size: .9rem;
 font-weight: 600;
 list-style: none;
}



body .ip-banner .btn-wrap {
    margin: 2em 0 0;
}

body .ip-banner {
    align-items: center;
    justify-content: center;
    display: flex;
    padding: 8em 0;
    background: var(--color-primary);
}

.ip-banner div#ip-left .ry-heading h4 {
    color: var(--color-secondary);
}

body.default .footer-map {
    display: none !important;
}

body.default .ip-banner .ry-heading h2 {
    color: #fff !important;
}

.ip-banner div#ip-right .inner-block {
    height: 300px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    max-width: 63%;
    float: right;
}


.ip-banner .ry-content {
    display: flex;
    justify-content: space-between;
    gap: 0;
}


.ip-banner div#ip-left .ry-text {
    margin-top: 2em;
    max-width: 600px;
}

.ip-banner .ry-text p {
    color: #c9d8d8;
}

div.ip-banner:after {
    background: #254956;
    width: 40%;
    height: 100%;
    content: '';
    position: absolute;
    right: 0;
}

.ip-banner div#ip-right {
    z-index: 1;
}

div#flex-box {
    gap: 1em;
    flex-wrap: wrap;
    margin-top: 4em;
}

body.default .banner-default {
    height: auto !important;
}

body.default .banner-default div#hero-verbiage {
    padding: 5em 0;
}

body.default .banner-default .ry-slide {
    height: auto !important;
}

body.default .banner-default div#hero-verbiage .ry-heading h1 {
    margin-bottom: 0 !important;
}

@media (max-width:1199px) {
    .ip-banner .ry-content {
		float: none;
		flex-direction: column;
		gap: 3em 0 !important;
		max-width: 700px !important;
		margin: 0 auto;
	}

	.ip-banner div#ip-left .ry-text {
		margin:auto !important;
	}

	body .ip-banner .btn-wrap {
    justify-content: center !important;
     }

	div.ip-banner:after {
		display: none;
	}

	.ip-banner div#ip-right .inner-block {
		height: auto !important;
		max-width: 100%;
		float: none;
		gap: 1em 0;
	}

	.ip-banner {
		padding: 3em 0 !important;
	}

	.ip-banner .ry-heading h4, .ip-banner .ry-heading h1,
	.ip-banner .ry-heading h4, .ip-banner .ry-text p,
	.ip-banner .ry-heading h2 {
		text-align: center !important;
	}
}


/* END CUSTOM INSIDE PAFE BANNER */



/* TEAM PAGE */

div#team-bio-flex {
    display: flex;
    background: #e6ece9;
    gap: 0 5%;
    padding: 3em;
}

div.ip-team-wrap {
    margin-top: 4em;
    display: flex;
    flex-direction: column;
    gap: 2em 0;
}

.doc-service-block ul li {
    list-style: none;
    border: 1px solid rgb(102 102 102 / 18%);
}

.doc-service-block ul {
    padding: 0;
    display: flex;
    gap: 0 15px;
    margin: 2em 0 0;
}

.doc-service-block ul li p {
    font-size: 13px;
    font-weight: 600 !important;
    letter-spacing: 1px;
    padding: 5px 15px;
    line-height: 1.1;
    text-align: center;
}

div#bio-right .ry-heading h5 {
    font-size: 14px !important;
    font-family: var(--title-default) !important;
    font-weight: bold !important;
}

div#bio-right .ry-text strong {
    font-size: 15px !important;
    color: #8b513b;
}

div#bio-head-shot-wrap {
    width: 40%;
}

div#bio-right {
    width: 55%;
    
}

div.ip-sec-1 {
    padding: 6em 0;
    align-items: center;
}

div.blue-bg {
    padding: 8em 0;
    background: #173645;
    color: #f5f0e7;
}

body.default div.blue-bg .ry-heading h2 {
    color: #fff !important;
}

.blue-bg .ry-text p {
    color: #c8d9d8;
}

div#section-flex {
    align-items: center;
    gap:0 5%;
}

.blue-bg .ry-heading h2 span {
    display: inline;
}

.blue-bg a.ry-btn.ry-btn-primary.white-btn {
    float: right;
    /* background: #fff !important; */
}

.blue-bg .ry-heading h4 {
    color: #cfa08b;
}

div.white-bg {
    padding: 7em 0;
}

div#team-bio-flex-staff {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 3em;
}

div#bio-wrap-staff {
    background #e9efeb;
    padding: 3em 1em !important;
    display: flex;
    flex-direction: column;
    background: #e9efeb;
    /* width: 24%; */
    flex-start;
    /* height: 230px; */
    justify-content: center;
    align-items: center;
}

div#bio-wrap-staff h3 {
    font-size: clamp(1.5rem, 2.1vw, 1.8rem);
    line-height: 1.08;
    margin: 0 0 1em 0;
    position: relative;
    /* top: 20%; */
    /* text-align: left !important; */
}

div#bio-wrap-staff h6 {
    /* position: absolute; */
    font-weight: 700 !important;
    color: #854b36;
    letter-spacing: .12em;
    font-family: var(--font-default) !important;
    font-size: 13px;
    margin-bottom: 1em;
}



div#staff-box div#bio-wrap-staff:nth-child(4n+2) {
    background: #efeee9;
}

div#staff-box div#bio-wrap-staff:nth-child(4n+3) {
    background: #e4ebea;
}

div#bio-wrap-staff .ry-text {
 width: 90%;
 height: 100%;
 display:flex;
 flex-direction:column;
 justify-content: space-between;
 gap: 0;
}

div#section-flex:not(btn-wrap) .ry-btn {
    margin: 2em 0 0;
}



@media (max-width:1080px) {

	div.ip-sec-1 {
		padding:4em 0 !important;
	}
	
    body div#section-flex {
		flex-direction: column !important;
		gap: 1em 0 !important;
	}

	div.ip-sec-1 div#section-flex {
		/* padding: 4em 0 !important; */
	}

	div.ip-sec-1 div#section-flex .ry-text p {
		text-align: center !important;
	}
	div#team-bio-flex {
		flex-direction: column;
		gap: 2em 0 !important;
		padding: 2em !important;
	}

	div#bio-head-shot-wrap, div#bio-right {
		width: 100%;
	}

	body .ry-heading h4, body .ry-heading h2 {
		text-align: center !important;
	}


	div#bio-right .ry-heading h5 {
		text-align: center;
	}

	div#team-bio-flex .ry-text p {
		text-align: center;
	}

	.doc-service-block ul {
		justify-content: center;
		gap: 0 8px;
	}

	div#bio-head-shot-wrap {
		max-width: 300px;
		margin: auto;
	}

		div.blue-bg .ry-text p, div.white-bg .ry-text p, div#staff-box div#bio-wrap-staff h3, div#staff-box div#bio-wrap-staff h6 {
		text-align: center !important;
	}

	div.white-bg span.span-1 {
		display: inline;
	}
}


@media (max-width:500px) {
	
	.doc-service-block ul li {
		width: auto;
		padding:5px;
	}

	.doc-service-block ul {
		flex-direction: column;
		gap: 10px 0;
	}
}



@media (max-width:1660px) {

	div#staff-box div#bio-wrap-staff h3 {
		font-size: 27px;
		white-space: nowrap;
	}
}


@media (max-width:1360px) {

	div#staff-box div#bio-wrap-staff h3 {
		font-size: 23px;
	}

	div#bio-wrap-staff {
		/* padding: 0 1em !important; */
	}    

	div#bio-wrap-staff p {
		/* font-size: 13px; */
	}

}



@media (max-width:1080px) {

	div#staff-box div#bio-wrap-staff {
		width: 48% !important;
		
		
	}

	div#team-bio-flex-staff {
		justify-content: center;
		gap: 1em !important;
	}

	.blue-bg a.ry-btn.ry-btn-primary.white-btn {
		float: none !important;
		margin:0 auto !important;
	}

}

@media (max-width:500px) {

	div#staff-box div#bio-wrap-staff {
		width: 100% !important;
		
	}

	div#staff-box div#bio-wrap-staff p {
		font-size: 14px !important;
		text-align: center !important;
	}

	div#bio-wrap-staff h6 {
	}


	div#staff-box div#bio-wrap-staff div#bio-wrap-staff {
		width:100% !important;
	}

}


/* END TEAM PAGE */






/* CUSTOM INSIDE PAGE */

div#plan div#bio-wrap-staff {
    height: auto !important;
}


div#ip-banner-with-image .btn-wrap {
    margin-bottom: 0 !important;
}

div#quality-takes-care {
    background: #e7edeb;
}

div#quality-takes-care div#bio-wrap-staff {
    /* width: 32%; */
    background: #fff !important;
    height: auto;
    padding: 2em !important;
}

div#quality-takes-care div#bio-wrap-staff h3, div.blue-bg div#bio-wrap-staff h3 {
    top: 0 !important;
    position: static !important;
    font-size: clamp(1.5rem, 2.1vw, 1.7rem) !important;
    white-space: normal !important;
}

div#quality-takes-care div#bio-wrap-staff p {
    font-size: 17px !important;
    line-height: 1.5;
}

div#quality-takes-care div#bio-wrap-staff h6 {
    position: static;
    font-size: 13px !important;
}

div#lenses-choices div#team-bio-flex-staff {
    gap: 1em;
}

div.blue-bg div#bio-wrap-staff {
    /* width: 49%; */
    background: #21434f !important;
    border: 1px solid #789197;
    height: /*300px;*/
}

div#lenses-choices div#bio-wrap-staff .ry-text {
    height: auto;
}

div#lenses-choices div#bio-wrap-staff h6 {
    color: var(--color-secondary);
}

div.blue-bg div#bio-wrap-staff h3 {
    color: #fff !important;
    position: static !important;
    /* margin-bottom: 1em; */
}

div#lenses-choices div#bio-wrap-staff p {
    font-size: 17px !important;
}

div#clear-captions {
    background: #f2f0ea;
}

.blue-bg .btn-wrap, div.white-bg a.ry-btn.ry-btn-primary.white-btn {
    margin:2em 0 0 !important;
}

div#next-step a.ry-btn.ry-btn-primary.white-btn {
    float: none;
    margin: 2em 0 0;
}

div.ip-sec-1 .page-image {
    margin: 5em auto 0;
}

div#whole-health {
    background: rgb(213 203 194 / 13%);
}

div#related-care {
    background: #f2f0ea;
}

div#related-care span.span-1 {
    display: inline;
}

div#related-care .btn-wrap a.ry-btn.ry-btn-primary.white-btn {
    margin-top: 0 !important;
    min-width: 250px !important;
}

div#related-care div#section-flex {
    align-items: center;
}

div#related-care div#ip-right  .btn-wrap {
        justify-content: flex-end;
        gap: 0 10px;
}

div#light-bg {
    background: #f2f0ea;
}

div#heading-inline span {
    display: inline !important;
}

div#light-bg div#bio-wrap-staff {
    background: #fff;
    height: auto;
    padding: 3em;
}

div#light-bg div#bio-wrap-staff h3 {
    margin: 20px 0;
}


div.top-panel {
  display: flex;
  background: #e9eeeb;
  padding: 2em 0;
}
#panel-flex {
  display: flex;
  align-items: center;
  gap: 0 10px;
}

.ry-each.panel-list {
  width: 80%;
}
.ry-each.panel-list ul {
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ry-each.panel-list li {
  list-style: none;
  font-size: 15px;
  padding-left: 16px;
  border-left: 2px solid #9f765d;
  line-height: 1.4;
  color: #52676b;
  width: -webkit-fill-available;
}

#panel-flex .ry-each p strong {
  font-size: 15px;
  line-height: 1.1;
   text-transform: uppercase !important;
}




@media (min-width:1200px) {
	
    div#ip-banner-with-image, div#ip-banner-with-image img, div#ip-banner-with-image .ry-slide {
		height: 600px;
		object-fit: cover;
		object-position: center;
   }
}

@media (max-width:1199px) {
	
	div#eyecare-box-section div#box1, div#eyecare-box-section div#box2 {
		padding: 2em !important;
	}
	
}

@media(max-width:1080px) {

	  div#section-flex:not(btn-wrap) .ry-btn {
		margin: 2em auto 0 !important;
	} 
	.btn-wrap {
		justify-content: center;

	}
    
	div.blue-bg, div.white-bg {
		padding: 4em 0 !important;
	}

	div#lenses-choices div#bio-wrap-staff,
    div#quality-takes-care div#bio-wrap-staff {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        padding: 2em !important;
    }

    .blue-bg .btn-wrap, div.white-bg a.ry-btn.ry-btn-primary.white-btn {
		margin:2em auto 0 !important;
		justify-content: center;
	}

		div#lenses-choices div#team-bio-flex-staff,
		div#quality-takes-care div#team-bio-flex-staff {
		flex-direction:column !important;
	}

    div#quality-takes-care div#bio-wrap-staff h6, div#quality-takes-care div#bio-wrap-staff p, div#quality-takes-care div#bio-wrap-staff h3, div.blue-bg div#bio-wrap-staff h3, div#bio-wrap-staff h6, div#bio-wrap-staff h3{
        text-align:center !important;
    }

    div#lenses-choices div#bio-wrap-staff h3,
    div#lenses-choices div#bio-wrap-staff h6,
   div#lenses-choices div#bio-wrap-staff p {
        text-align:center !important;
    }
	
	 #panel-flex {
	  flex-direction: column;
	  gap: 10px 0;
	}
	.ry-each.panel-list ul {
	  gap: 25px 0;
	  flex-wrap: wrap;
	  margin: 1.5em 0 0;
	}
	.ry-each.panel-list li {
	  width: 48%;
	}
	  #panel-flex .ry-each {
	  width: 100%;
	}
	  #panel-flex .ry-each p strong {
	  text-align: center;
	  display: block;
	}

)

/* END CUSTOM INSIDE PAGE */
