#ry-section-testimonials .ry-container {
    top: 0 !important;
}



div#ry-section-testimonials {
    padding: 8em 0 0;
	margin-bottom: 0 !important;
}

div#review-main-section {
    margin-top: 3em;
}

.form-input {
    max-width: 90%;
    margin: auto;
    float: none;
}

#ry-pg-banner .ry-bnr-wrp {
    background-image: url(https://www.royacdn.com/unsafe/smart/Site-ebd2a871-5c36-4d01-a156-ed6161f3c882/innerpage/banner_img.jpg) !important;
}

#ry-pg-banner .ry-bnr-wrp:before {
    display: none;
}


body div#smilesnap-wide-button {
    display: table-cell;
    left: 50% !important;
    transform: translateX(-50%);
    right: auto !important;
}

@media(max-width:768px) {
    div#ry-section-services .ry-container {
        top: 0
    }
    div#ry-section-services {
        padding: 80px 0;
    }
    div#ry-section-welcome {
        padding-bottom: 0;
    }
    div#ry-section-testimonials {
        padding: 0;
    }
}

@media(max-width:600px) {
    body div#smilesnap-wide-button {
        padding: 10px 20px;
        max-height: none;
    }
    body div#smilesnap-wide-button, 
    body div#smilesnap-wide-button *{
        font-size: 12px;
    }
    div#ry-section-services .ry-container {
        padding: 40px 20px;
    }
    div#ry-section-testimonials .testi-text p {
      display: -webkit-box;
      -webkit-line-clamp: 5;
      -webkit-box-orient: vertical;  
      overflow: hidden;
    }
    div#ry-section-welcome {
        top: 50px;
    }
    div#ry-section-welcome .ry-heading {
        margin-bottom: 20px;
    }
    div#ry-section-about .ry-heading {
        font-size: 25px;
    }
}

.modal .grecaptcha-badge {
    visibility: hidden;
}

div.hero-form {
    max-width: 360px;
    position:absolute;    
    z-index: 1;
    right: 40px;    
    border-top: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background:  rgba(255 255 255 / 0.2);
    padding: 0 12px 12px;
}
.hero-form form {
    padding: 10px 20px;
    background: #2c608f;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.hero-form form .ry-btn.ry-btn-primary {
    background: #fff;
    color: #2c608f;
}
.hero-form .fieldset {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-form-image {
    width: 135px;
    height: 135px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px rgba(255 255 255 / 0.5) solid;
    transition: all .5s;
}
.hero-form-image img {
    padding: 5px;
    border-radius: 50%;
}
.hero-form-discount {
    color: #d7a333;
    font-weight: 800;
    font-size: 40px;
    letter-spacing: -2px;
    text-align: center;
    padding-top: 10px;
}
.hero-form-title {
    color: #fff;
    font-family: 'Rufina',sans-serif;
    text-transform: uppercase;
    text-align: center;
    font-size: 25px;
    margin-top: 5px;
    letter-spacing: 3px;
}
.hero-form-text {
    text-align: center;
    color: #7d7d7d;
    font-size: 14px;
    border-top: 1px rgba(255 255 255 / 0.1) solid;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-top: 15px;
    line-height: 120%;
    font-weight: 500;
}
.hero-form-text span {
    display: block;
}
.hero-form .ry-btn {
    width: 100%;
    text-align: left;
    padding-left: 20px;
}
.hero-form .ry-btn::after {
    content: '\f0da';
    font-family: fontAwesome;
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.hero-form .form-control {
    background: #363634;
    border: 0;
    border-radius: 0;
}
.hero-form input[type="text"]::placeholder {
    color: #868686 !important;
    font-size: 16px;
}
.hero-form input[type="text"] {
    color: #fff !important;
}
#ry-section-hero .hero-copy .ry-heading h1, 
#ry-section-hero .hero-copy .ry-heading h2, 
#ry-section-hero .hero-copy .ry-heading h3 {
    transition: all .5s;
}

#ry-pg-banner.invisalign-banner .hero-form {
    right: 8%;
    z-index: 99;
}
#ry-pg-banner.invisalign-banner .ry-bnr-wrp {
    height: 640px;
    background-color: #ccc;
    background-image: none !important;
}
#ry-pg-banner.invisalign-banner .ry-bnr-wrp::after{
    background-image: url(https://www.royacdn.com/unsafe/Site-ebd2a871-5c36-4d01-a156-ed6161f3c882/banners/insidebanner1.jpg);
    background-size: cover;
    background-position:60%;
    height: 100%;    
    transform: scaleX(-1);

}
#ry-pg-banner.invisalign-banner .ry-bnr-wrp .ry-pg-title h1.ry-responsive-title {
    padding-left: 80px;
    z-index: 1;
}

@media(max-width:1800px) {    
    #ry-section-hero .hero-copy .ry-heading h1, 
    #ry-section-hero .hero-copy .ry-heading h2, 
    #ry-section-hero .hero-copy .ry-heading h3 {
        letter-spacing: normal !important;
    }
}
@media(max-width:1700px){
    #ry-pg-banner.invisalign-banner .ry-bnr-wrp::after{
        background-position:75%;
    }    
}
@media(max-width:1600px){
    #ry-section-hero .hero-copy .ry-heading h1, 
    #ry-section-hero .hero-copy .ry-heading h2, 
    #ry-section-hero .hero-copy .ry-heading h3 {
        margin-left: -20%;
    }

}
@media(max-width: 1577px) {
	#ry-pg-banner.invisalign-banner .ry-bnr-wrp .ry-pg-title h1.ry-responsive-title {
		max-width: 800px;
		width: 95%;
	}	    
}
@media(max-width:1500px){
   #ry-pg-banner.invisalign-banner .hero-form {
       right: 5%;
   } 
}
@media(max-width:1200px){
	#ry-pg-banner.invisalign-banner .ry-bnr-wrp .ry-pg-title h1.ry-responsive-title {
		max-width: 700px;
	}
   #ry-pg-banner.invisalign-banner .hero-form {
       right: 2%;
   } 		    
}

@media(max-width:1440px) {
    .hero-form-image {
        height: 0;
        opacity: 0;
    }
    #ry-pg-banner.invisalign-banner .hero-form-image {
        height: 135px;
        opacity: 1;
    }
}
@media(max-width:1280px){
    #ry-section-hero .hero-copy .ry-heading h1, 
    #ry-section-hero .hero-copy .ry-heading h2, 
    #ry-section-hero .hero-copy .ry-heading h3 {
        margin-left: -38%;
    }
}
@media(max-width:1024px){
    #ry-pg-banner.invisalign-banner .ry-bnr-wrp::after{
        background-position:82%;
    }       
    #ry-pg-banner.invisalign-banner .ry-bnr-wrp .ry-pg-title h1.ry-responsive-title {
        padding-left: 0;
    }
}
@media(max-width:991px) {
    div.hero-form {
        position: relative;
        max-width: 100%;
        width: 100%;
        padding: 0;
        right: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .hero-form-image {
        height: auto;
        opacity: 1;
    }    
    .hero-form form {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    #ry-section-hero .hero-copy .ry-heading h1, 
    #ry-section-hero .hero-copy .ry-heading h2, 
    #ry-section-hero .hero-copy .ry-heading h3 {
        margin-left: 0;
    }  
    #ry-pg-banner.invisalign-banner .hero-form {
        margin-top: 50px;
    }  
    #ry-pg-banner.invisalign-banner .ry-bnr-wrp {
        margin-top: 0;
    }
   #ry-pg-banner.invisalign-banner .hero-form {
       right: 0;
   }    
   #ry-pg-banner.invisalign-banner .ry-bnr-wrp .ry-pg-title h1.ry-responsive-title  {
       width: 100%;
       max-width: 100%;
   } 
   #ry-pg-banner.invisalign-banner .ry-bnr-wrp {
       height: 150px;
   }
}
div.invisalign-form {
    background: #1f1f1d;
    color: #fff;
    padding: 40px 0 20px;
}
.invisalign-form .fieldset {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    width: 95%;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
    padding-left: 30px;
}
.invisalign-form-title .span-1{
    color: #f5a220;
    font-weight: 800;
    letter-spacing: -1px;
    font-family: Montserrat,sans-serif;
}
.invisalign-form-title {
    color: #fff;
    font-family: 'Rufina',sans-serif;
    text-transform: uppercase;
    text-align: left;
    font-size: 25px !important;    
    letter-spacing: 3px;
    width: 50%;
}
.invisalign-form-text {
    text-align: right;
    color: #7d7d7d;
    font-size: 14px;
    padding-bottom: 15px;
    margin-top: 15px;
    line-height: 120%;
    font-weight: 500;
    width: 50%;
}
.invisalign-form .form-group[data-type="text"] {
    width: 22%;   
}
.invisalign-form .form-group[data-type="submit"] {
    width: auto;
}
.invisalign-form .form-control {
    background: #363634;
    border: 0;
    border-radius: 0;   
    height: 35px; 
}
.invisalign-form input[type="text"]::placeholder {
    color: #868686 !important;
    font-size: 16px;
}
.invisalign-form input[type="text"] {
    color: #fff !important;
}
.invisalign-form .ry-btn {
   height: 35px;
   padding: 0 20px;
}
.invisalign-form .ry-btn::after {
    display: none;
}
#ui-datepicker-div {
    z-index: 9999 !important;
}
@media(max-width: 1200px) {
    .invisalign-form-text, .invisalign-form-title {
        width: 100%;
        text-align: center;
    }
    .invisalign-form .form-control, .invisalign-form input[type="text"]::placeholder  {
        font-size: 14px;
    }
}
@media(max-width:991px) {
    div.invisalign-form {
        padding-top: 100px;
        margin-bottom: -50px;
    }
    .invisalign-form .fieldset {
        padding-left: 0;
    }
    .invisalign-form .form-group[data-type="text"] {
        width: 49%;
    }
    .invisalign-form .form-group[data-type="submit"] {
        width: 100%;
        text-align: center;
    }
    .invisalign-form-title .span-1 {
        display: block;
    }
}
@media(max-width:600px){
    div.invisalign-form {
        padding-top: 90px;
    }
    .invisalign-form .form-group[data-type="text"]{
        width: 100%;
    }
}
.alert{text-align: left}