h2 {
    font-size: 64px;
    line-height: 74px;
    margin: 0 0 20px;
    color: #161A1B;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
}

/* SHOWCASE SECTION
-------------------------------------------*/

.showcase-section {
	padding: 50px 0;
}

.showcase-section .container {
	max-width: 1500px;
}

.showcase-section h2 {
	  margin-bottom: 50px;
}

.show-box {
	width: 100%;
	max-width: 291px;
	margin: 15px auto;
	min-height: 428px;
	overflow: hidden;
	position: relative;
}

.show-content {
	width: 100%;
	background: rgba(67, 108, 145, .9);
	position: absolute;
	bottom: 0;
	height: 62px;
	text-align: center;
}

.show-title {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	height: 62px;
	width: 100%;
}

.show-title h3 {
	line-height: 24px;
	font-size: 23px;
}

.s1 .show-title h3 {
	font-size: 22px;
	
}

.show-title h3 {
	color: #fff;
}

.lmb {
	font-weight: 400;
	font-size: 18px;
	letter-spacing: 1.15px;
	text-transform: uppercase;
	color: #fff;
}

.show-box:hover .show-content {
	height: 106px;
}

.no-webp.loaded .s1{
    background: url(/wp-content/themes/charlie-child/images/little-girl.jpg) center center no-repeat;
    background-size: cover;
    
}

.webp.loaded .s1{
    background: url(/wp-content/themes/charlie-child/images/little-girl.webp) center center no-repeat;
    background-size: cover;
}

.no-webp.loaded .s2{
    background: url(/wp-content/themes/charlie-child/images/show2.jpg) center center no-repeat;
    background-size: cover;
    
}

.webp.loaded .s2{
    background: url(/wp-content/themes/charlie-child/images/show2.webp) center center no-repeat;
    background-size: cover;
  
}

.no-webp.loaded .s3{
    background: url(/wp-content/themes/charlie-child/images/show3.jpg) center center no-repeat;
    background-size: cover;
    
}

.webp.loaded .s3{
    background: url(/wp-content/themes/charlie-child/images/show3.webp) center center no-repeat;
    background-size: cover;
  
}

.no-webp.loaded .s4{
    background: url(/wp-content/themes/charlie-child/images/show4.jpg) center center no-repeat;
    background-size: cover;
    
}

.webp.loaded .s4{
    background: url(/wp-content/themes/charlie-child/images/show4.webp) center center no-repeat;
    background-size: cover;
  
}

.show-b {
	margin-top: 50px;
}

.show-b .main-btn2 {
	width: 100%;
	max-width: 180px;
	text-align: center;
}

/* pop-up */
#lightinthebox {
	position: fixed;
	background-color: #000;
	background-color: rgba(0,0,0,.6);
	height: 100vh;
	width: 100%;
	display: flex;
	justify-content: center;
	z-index: 1000;
	align-items: baseline;
  }
  
  #lightinthebox .light_content {
	margin-top: 60px;
	padding: 20px;
	background-color: #fff;
	border-radius: 20px;
	max-width: 50%;
	max-height: 75%;
	overflow-y: auto;
  }
  
  .closeX {
	  border: 1px solid #fff;
	  background-color: #3dc0c7;
	  color: #fff;
	  border-radius: 30px;
	  height: 35px;
	  width: 35px;
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  box-shadow: 0 3px 5px 0 rgba(0,0,0,.5);
	  font-weight: 800;
	  position: fixed;
	  top: 20px;
	  right: 18vw;
	  cursor:pointer;
  }
  
  .closeX:hover {
	  border: 1px solid #000;
	  background-color: #fff;
	  color: #000;
  }
  
  @media only screen and (max-width: 600px) {
	  #lightinthebox {
	  display: block;
	  }
	  #lightinthebox .light_content {
		max-width: 100%;
		margin-top: 10px;
	  }
	  .closeX {
		right: 5vw;
	  }
	  
  }

/* Itero Section */
@media(max-width:1026px){

	.ellipse-img{
		display: none;
	}
	.itero-img{
		display: none;
	}
	.monitor-img{
		display: none;
	}
	.row.itero{
		display: block;
		justify-content: center;
		align-items: center;
	}
	
}


@media(min-width:1025px){
	.ellipse-img{
		position: absolute;
		top: -191px;
		right: 0;
		left: 20px;
		bottom: auto;
	}
	
	.itero-img{
		position: absolute;
		left: -56px;
		right: 0;
		top: 117px;
		bottom: auto;
	}
	
	.monitor-img{
		position: absolute;
		top: -132px;
		right: 0;
		left: 117px;
		bottom: auto;
	}


}

/* LINE SECTION
---------------------------------*/

.line-border .container {
	max-width: 1862px;
}

.line {
	width: 100%;
	height: 7px;
	background: #3A5179;
}


/* MAIN WRAP SECTION
---------------------------------------------*/

.main-wrap {
	padding: 50px 0 50px;
}

.main-wrap .container {
	max-width: 1000px;
}


.main-con {
	width: 100%;
	max-width: 498px;
}

.main-con h3 {
	margin-bottom: 20px;
}

.main-wrap h2.page-title {
	margin-bottom: 40px;
}

.main-wrap .row {
	align-items: center;
}

.main-b .main-btn2 {
	width: 100%;
	text-align: center;
	max-width: 237px;
	padding: 11px 5px;
}

.main-b {
	margin-top: 25px;
}

/* OFFICE SECTION
-----------------------------------------*/

.office-section {
	padding: 50px 0 80px;
}

.office-section .row {
	align-items: center;
}

.office-section h5 {
	margin-bottom: 50px;
}

.office-con {
	width: 100%;
	max-width: 550px;
	margin: 30px auto;
}

.office-b .main-btn2 {
	width: 100%;
	max-width: 237px;
	text-align: center;
	padding: 11px 5px;
}

.office-b {
	margin-top: 25px;
}

.office-section .number-crumb-container {
	display: none;
}

.office-section  .arrow {
	opacity: 1;
	font-size: 38px;
}

.office-section  .arrow::before {
	border-color: #545D60;
    border-bottom-color: transparent;
    border-left-color: transparent;
	border-width: 4px;
	border-radius: 1px;
}


/* REV SECTION
-------------------------------------------*/

.rev-section {
	padding: 100px 0;
}

.rev-section .container {
	max-width: 1500px;
}

.rev-section h2 {
	margin-bottom: 30px;
}

.rev-section .number-crumb-container .option {
	border: 2px solid #3A5179;
	width: 17px;
	height: 17px;
	opacity: 1;
	margin: 0 7px;
}


.rev-section .number-crumb-container .option.selected {
	border: 2px solid #3A5179;
	background: #3A5179;
}

.rev-box {
	width: 100%;
	max-width: 524px;
	min-height: 400px;
	border: 5px solid #436C91;
	background: rgba(255,255,255, .9);
	margin: 10px auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rev-inner {
	width: 100%;
	max-width: 385px;
	margin: 20px auto;
	padding: 0 10px;
}

.rev-inner .arrow {
	display:none;
}

.patient-name {
	font-size: 23px;
	line-height: 34px;
	margin-bottom: 15px;
}

.rev-stars {
	margin-bottom: 25px;
}

.no-webp.loaded .rev-vid {
    background: url(/wp-content/themes/charlie-child/images/video.jpg) center center no-repeat;
    background-size: cover;
    
}

.webp.loaded .rev-vid {
    background: url(/wp-content/themes/charlie-child/images/video.webp) center center no-repeat;
    background-size: cover;
  
}

.playing .number-crumb-container .option.pause-play svg.pause-icon path, .number-crumb-container .option.pause-play svg.play-icon path {
	fill: #3A5179;
	
}
.number-crumb-container .option.pause-play {
	background: none !important;
}

.waves {
	width: 100%;
	height: 206px;
}

.no-webp.loaded .waves{
    background: url(/wp-content/themes/charlie-child/images/waves.png) center center no-repeat;
    background-size: contain;
    
}

.webp.loaded .waves{
    background: url(/wp-content/themes/charlie-child/images/waves.webp) center center no-repeat;
    background-size: contain;
  
}

/* myofunctional section
--------------------------------------*/

.myofunctional {
	padding: 30px 0 50px
}

.myofunctionl .row {
	align-items: center;
}

.myofunctional h2 {
	margin-bottom: 40px;
}


.myo-content h4 {
	margin-bottom: 25px;
}

.myo-content {
	width: 100%;
	max-width: 550px;
}

.myo-b .main-btn2 {
	padding: 9px 20px;
}

.myo-b {
	display: flex;
	justify-content: space-between;
	max-width: 525px;
}

.myob1 {
	width: 173px;
	text-align: center;
}

.myob2 {
	width: 312px;
	text-align: center;
}

/*Patient Specials*/

.leave-rev.special .container {
    max-width: 1314px;
}

.specials {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 1em;
}

.spec-box {
    flex: 1;
}

.special .show-box.s11,
.special .show-box.s12 {
    min-width: unset;
    width: auto;
    min-height: unset;
    padding-bottom: 97%;
}

/* LEAVE REV SECTION
-----------------------------------------*/

.leave-rev {
	padding: 50px 0;
}

.leave-rev .container {
	max-width: 950px;
}

.leave-rev h2 {
	margin-bottom: 30px;
}

.qr-box {
	margin: 20px 0;
}

.qr-box:hover {
	transform: scale(1.03);
}

.qr-box a {
	text-decoration: none;
}

.qr-box svg {
	display: none;
}
/* Affilation logos
----------------------------------------------- */
.logo-section .container{
	max-width: 1929px;
	
}
.logo-section .row{
	width: 100%;
	height: 116px;
	background: #3A5179;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}

/* MAP SECTION
-----------------------------------------------*/

.map-section {
	padding: 50px 0;
	
}

.map-section .container {
	max-width: 1600px;
}

.map-area {
	/*margin-top: 30px;*/
    position: relative;
	max-height: 518px;
	overflow: hidden;
	max-width: 1557px;
	margin: 0 auto;
	border-radius: 25px;
}

.map-overlay1 {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
	text-align: center;
	cursor: pointer;
	background-position: center center;
	background-size: cover;
}

.loaded .map-overlay1 {
	background: url(/wp-content/themes/charlie-child/images/map.jpg) top center no-repeat;
	background-size: cover;
	
}

.loaded.webp .map-overlay1 {
	background: url(/wp-content/themes/charlie-child/images/map.webp) top center no-repeat;
	background-size: cover;
	
}

iframe[data-map-src] {
	max-height: 518px;
	min-height: 518px;
}

/* RESPONSIVE 
-----------------------------------------------*/
@media (min-width: 1200px) and (max-width: 1400px) {
}

@media only screen and (min-width: 980px) {
} 

@media (max-width: 1200px) {
	.arrow.arrow-right {
		right: -12px;
	}
	.arrow.arrow-left {
		left: -12px;
	}
	
	.waves {
		height: 132px;
	}
}

@media (max-width: 1100px) {
	.specials {
		flex-wrap: wrap;
		justify-content: center;
	}
	.spec-box {
		flex: unset;
		max-width: 300px;
	}
	.special .show-box.s11,
	.special .show-box.s12 {
		width: 300px;
	}
	.myo-b {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}	
	.myob1,
	.myob2 {
		width: 100%;
		max-width: 312px;
		text-align: center;
		
	}	
	.myo-b .main-btn2 {
		padding: 9px 5px;
	}
}

@media (max-width: 1025px) {
}

@media only screen and (max-width: 991px) {
	.showcase-section h2 {
		margin-bottom: 30px;
	}
	.show-b {
		margin-top: 30px;
	}
	
	.main-con {
		margin: 30px auto 0;
		text-align: center;
	}
	.main-wrap {
		padding: 20px 0;
	}
	.office-section h5 {
		margin-bottom: 0;
	}
	
	.office-con {
		text-align: center;
		margin: 30px auto;
	}
	
	.rev-side {
		margin: 30px 0;
	}
	
	.waves {
		height: 107px;
	}
	.rev-section {
		padding: 50px 0;
	}
	
	.myo-content {
		text-align: center;
		margin: 30px auto 0;
	}
	
	.myo-b {
		max-width: 100%;
	}
	.office-section {
		padding: 50px 0;
	}
}


@media only screen and (min-width: 768px) {
	.main-wrap,
	.office-con {
		font-size: 23px;
		line-height: 34px;
	}
} 

@media only screen and (max-width: 767px) {
	 .contentarea .leave-rev .col-md-6.center img {
		margin: 0 auto;
	}
	
	h2 {
		margin-bottom: 10px;
		font-size: 38px;
        line-height: 48px;
        margin: 0 0 20px;
	}
	
	.showcase-section h2 {
		margin-bottom: 10px;
	}
	
	.rev-section h2 {
		margin-bottom: 0;
	}
	.leave-rev h2 {
		margin-bottom: 0;
	}
} 

@media all and (max-width: 600px) {
	.waves {
		height: 65px;
	}
}

@media only screen and (max-width: 500px) {
	.map-area {
		max-height: 300px;
	}
	
	.loaded .map-overlay1 {
		background: url(/wp-content/themes/charlie-child/images/mapm.jpg) top center no-repeat;
		background-size: cover;

	}

	.loaded.webp .map-overlay1 {
		background: url(/wp-content/themes/charlie-child/images/mapm.webp) top center no-repeat;
		background-size: cover;

	}
	
	h2 {
	    font-size: 33px;
        line-height: 43px;
        margin: 0 0 20px;
	}
}

@media all and (max-width: 480px) {
	.special .show-box.s11, .special .show-box.s12 {
		width: 260px;
	}
	.spec-box {
		max-width: 260px;
	}
}