/*
Theme Name:         Morita Orthodontics
Theme URI:          http://www.moritaorthodontics.com
Description:        No matter what your orthodontic needs may be, our knowledgeable doctors are sure to have the proper solution for you! Dr. Randal Morita and Dr. Scott Morita will work with you to develop an individualized treatment plan that will effectively straighten your teeth, making way for a healthy and beautiful smile. We have two convenient locations in Honolulu and Aiea, Hawaii, and also serve patients from the surrounding areas of Central Oahu and West Oahu.
Version:            1.0.0
Author:             TechyScouts
Author URI:         http://www.techyscouts.com
Text Domain:        moritaorthodontics

License:            Proprietary
*/

.mrgtop30{margin-top: 30px;}
.mrgtop30 a img{border: 2px solid #d64783;}

/*Gallery Pagination*/
.wp-pagenavi{
    text-align: center;
    width: 94%;
    margin: 40px 18px;
    border-bottom: 1px solid #e4f2f6;
    border-top: 1px solid #e4f2f6;
    border-radius: 0px;
    padding: 20px 0px;
    display: inline-block;
}
.wp-pagenavi .nextpostslink{
    border-radius: 0.2rem;
    color: #5e7669;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    padding: 0.5rem 0.9rem;
    font-family: 'OpenSansSemibold' !important;
    border: none !important;
    float: right;}
.wp-pagenavi .pages{display: none;}
.wp-pagenavi .previouspostslink{
    border-radius: 0.2rem;
    color: #5e7669;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    padding: 0.5rem 0.9rem;
    font-family: 'OpenSansSemibold' !important;
    border: none !important;
    float: left;
}
.wp-pagenavi .current{
    color: #FFF;
    background-color: #d64783;
    border-radius: 0.2rem;
    padding: 5px 10px !important;
    border: none !important;
}
.wp-pagenavi a, .wp-pagenavi span{
    border: none !important;
    border-radius: 0.2rem;
    color: #5e7669;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    padding: 0.5rem 0.9rem;
    font-family: 'OpenSansSemibold' !important;
}
.wp-pagenavi a larger:hover{color: #efa404;}
/*Gallery Pagination*/




@media (min-width:768px){
section .difference{position:relative; overflow:hidden;}
section .testimonial{position:relative; overflow:hidden;}
#background,#background1 {
    position: absolute;
    z-index: -1;
    min-width: 100%;
    min-height: 100%;
    left: 0px;
    top: 0px;
    overflow: hidden;
    opacity: 1;
    transition-property: opacity;
    transition-duration: 2000ms;}
}

@media (min-width: 992px) and (max-width: 1199px){
    img.blg-md{height: 344.33px !important} 
}
body.page-id-74 .nivo-lightbox-image{background:none !important;}
.acf-map {
	height: 400px;
}
.acf-map img {
   max-width: inherit !important;
}

/*Morita site pop-up css*/
#consultation{padding-right:0px !important;background-color: #ffffffa3;}
#consultation .modal-dialog{width:80%;margin-top: 20px;}
#consultation .modal-content .fa-times:before{content:"";background-image:url(assets/images/close.png);background-repeat:no-repeat;background-size:cover;height:15px;width:15px;display:inline-block;}
.modal-content button {position: absolute;background-color: #d64783;opacity: 1;right: -18px;left: inherit;top: -18px;bottom: inherit;height: 40px;width: 40px;border-radius: 50%; padding:0px !important;}
.modal-content button:hover{opacity:1; padding:0px !important;}
.modal .top-content{margin-bottom:40px;padding-left:20px;padding-right:20px;}
.modal .schedual_form h2{font-family: 'merriweather_sansregular';font-size:36px;color:#954f86;margin-top: 0px;margin-bottom: 20px;}
.modal .schedual_form{padding:60px 0px 120px; background-image:url(assets/images/mdal_bg.jpg);background-repeat:no-repeat;background-position:center center;background-size:cover;}
.modal .img-overlay {background-color: #000000;}
.modal .img-overlay img{opacity:0.5;width:100%;}
.modal .img-overlay .carousel-caption{left:0px;right:0px;top:45%;bottom:inherit;padding-bottom:0px;padding-top:0px;}
.modal .img-overlay .carousel-caption h4{position:relative;display:inline-block; color:#fff;}
.modal .img-overlay .carousel-caption h4:after{content:"";background-image:url(assets/images/right_icon.png);background-repeat:no-repeat;background-size:cover;display:inline-block;height:29px;width:30px;position: absolute;right: -40px;left: inherit;top: -5px;bottom: inherit;}
.modal .img-overlay .carousel-caption h4:before{content:"";background-image:url(assets/images/left_icon.png);background-repeat:no-repeat;background-size:cover;display:inline-block;height:29px;width:30px;position: absolute;left: -40px;right: inherit;top: -5px;bottom: inherit;}
/*End css*/
@media(min-width:992px) and (max-width:1200px){
	#consultation .modal-dialog{width:95%;}
.modal .img-overlay .carousel-caption h4:before	{height: 25px;width: 24px;left: -30px;top: -2px;}
	.modal .img-overlay .carousel-caption h4:after{height: 25px;width: 24px;right: -30px;top: -2px;}
	.modal .schedual_form{padding:40px 0px;}
}
@media(min-width:768px) and (max-width:991px){
	#consultation .modal-dialog{width:95%;}
.modal .img-overlay .carousel-caption h4:before	{height: 22px;width: 21px;    left: -24px;top: -2px;}
	.modal .img-overlay .carousel-caption h4:after{height: 22px;width: 21px;right: -22px;top: -2px;}
	.modal .schedual_form{padding:40px 0px;}
}
@media(max-width:767px){
	.modal .schedual_form{padding:40px 0px;}
#consultation .modal-dialog{width:100%;margin: 0px;}	
.modal-content button{top:0px;right:0px;}
.modal .form-linksec:first-child{margin-bottom:40px;}
	
}