@media only screen and (max-width: 982px) {

.none {display: none;}

html {}
body {}

h5 {font-size: 24px; line-height: 30px; margin-bottom: 20px;}

p,a,li {font-size: 16px; line-height: 24px; margin-top: 0px;}

header {display: none;}

.button-round {font-size: 16px; padding: 7px 20px;}

.mobile-margin-top {margin-top: 75px;}

#mobile-header-fixed {position: fixed; width: 100%; display: block; z-index:10000;}
.mobile-header {display: flex; justify-content: space-between; padding: 25px 15px 25px 20px; background-color: #f9f9f9;}
.mobile-logo {width: 140px;}
.mobile-logo img {width: 100%;}
.mobile-menu-button {}

#home-banner {background: #a3c8cd; height: 760px; background: url(../images/mobile/mobile-home-banner.jpg) no-repeat left center; background-size: cover; width:100%;}
.home-banner-box {max-width: 100%; width: 100%; margin: 0 auto; height: 100%; display: flex; align-items: center;}
.home-banner-content {width: 85%; margin: 0 auto;}

#home-banner h1 {font-family: Mena; font-size: 44px; margin: 0; width: auto; color: #fff;}
#home-banner h2 {color: #fff;}

#home-cards {background-color: #6c7c79; padding: 50px 0px;}
.home-cards-box {display: flex; max-width: 1150px; margin: 0 auto;}

.card-style {border-radius: 10px; text-align: center; padding: 50px 20px;}
.card-1 {width: 100%;}
.card-2 {width: 100%;}
.card-3 {width: 100%;}

#home-cards .card-icon img {width: auto !important; display: block; margin: 0 auto;}

#home-content-type-a {padding: 75px 25px;}
.row-a {display: block; max-width: 1255px; margin: 0 auto; align-items: center;}
.row-a-left {width: 90%; margin: 0 auto;}
.row-a-right {width: 90%; margin: 0 auto;}

#home-content-type-b {}
.row-b {display: block; width: 100%; margin: 0 auto; align-items: center;}
.row-b-left {width: 90%; margin: 0px auto; padding: 30px 25px;}
.row-b-right {width: 100%;}

#home-core-values {padding: 75px 50px; background: #6c7c79;}
.home-core-values-box {max-width: 1255px; margin: 0 auto; text-align: center;}

.core-values-row {display: flex; align-items: center; padding-bottom: 30px; background: url(../images/line.jpg) repeat-y center center;}

.mobile-col {flex-direction: column;}
.mobile-col-reverse {flex-direction: column-reverse;}
.value-arrow {display: none;}

.core-values-row .col-a {width: 90%; text-align: left; display: flex; align-items: center;}
.core-values-row .col-b {width: 90%; text-align: center; background: #6c7c79; padding: 10px 0px;}
.core-values-row .col-c {width: 90%; text-align: left; display: flex; align-items: center;}

/* -- dental services icons --*/
#home-dental-services {text-align: center; padding: 75px 10px;}
.home-dental-services-box {max-width: 1560px; margin: 0 auto; text-align: center; display: flex; flex-wrap: wrap;}
.home-dental-services-box .box {width: 48%; background: #fff; margin: 0px 1% 30px 1%; border-radius: 10px; padding: 50px 20px;}
.home-dental-services-box .box .card-icon img {width: 100% !important;}

#home-dental-services h3 {font-size: 16px;}


#home-content-type-c {padding: 50px 25px; background: url(../images/bg-toothbrush.jpg) no-repeat center center; background-size: cover;}
.row-c {display: block; max-width: 1255px; margin: 0 auto; align-items: center;  min-height: 400px;}
.row-c-left {width: 90%; margin: 0 auto;}
.row-c-right {width: 90%; margin: 0 auto;}

/* -------- mobile subpage styles ---------- */

#subpage-header-title {text-align: center; padding: 125px 50px 0px 50px;}

#subpage-row-1col {}

.subnav-arrows {margin: 50px 0px;}
.left-arrow {margin-right: 10px;}
.right-arrow {}

#subpage-row-2col {margin-top: 35px;}
.subpage-row-2col-box {display: block; max-width: 1255px; margin: 0 auto; align-items: center;}
.subpage-row-2col-box .col-left {width: 90%; margin: 0 auto;}
.subpage-row-2col-box .col-right {width: 90%; margin: 0 auto;}

/* -- subpage team --*/

#team-photos {text-align: center; padding: 25px 25px; background: #6c7b71; margin-top: 50px;} 
.team-photos-box {max-width: 1250px; display: flex; justify-content: center; flex-wrap: wrap; margin: 0 auto; width: 100%;}
.team-photo-thumbs {width: 47%; margin: 20px 1.5% 10px 1.5%;}
.team-photo-thumbs img {width: 100%;}

#team-photos .staff-name {margin-top: 15px;}
#team-photos .staff-name p {font-family: Mena; font-size: 18px; font-weight: bold; margin: 0; color: #fff;}
#team-photos .staff-position p {font-weight: bold1; margin: 0; color: #fff;}

#subpage-row-2col-teampic {margin-top: 75px; margin-bottom: 75px;}
.subpage-row-2col-teampic-box {display: block; max-width: 1255px; margin: 0 auto;}
.subpage-row-2col-teampic-box .col-left {width: 90%; margin: 0 auto;}
.subpage-row-2col-teampic-box .col-right {width: 90%; margin: 0 auto;}


/* -------- footer ---------- */

.footer-top {background: #737373; text-align: center; padding: 35px 35px;}
.footer-top h2, .footer-top a {color: #fff; margin: 0; font-size: 21px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}

.footer-middle {background: #6c7b71; padding: 25px 25px;}
.footer-middle-box {display: block; max-width: 1180px; margin: 0 auto;}
.footer-middle-box .box-1 {width: 90%; margin: 0 auto;}
.footer-middle-box .box-2 {width: 90%; margin: 0 auto;}
.footer-middle-box .box-3 {width: 90%; margin: 0 auto;}
.footer-middle-box .box-4 {width: 90%; margin: 0 auto;}

.footer-middle h2 {color: #bfcfc5; font-size: 19px;}
.footer-middle p, .footer-middle a {color: #fff; font-family: Mena; text-decoration: none; font-size: 19px;}

.footer-bottom {padding: 60px 25px;}
.footer-bottom-row-top {display: flex; max-width: 1180px; margin: 0 auto 40px; auto; align-items: center;}
.footer-bottom-row-top .col-left {flex-grow: 1;}
.footer-bottom-row-top .col-left img {width: 150px;}
.footer-bottom-row-top .col-right {}


.footer-bottom-row-bottom {display: flex; max-width: 1180px; margin: 0 auto; flex-direction: column-reverse;}
.footer-bottom-row-bottom .col-left {flex-grow: 1;}
.footer-bottom-row-bottom .col-right {display: none;}

.footer-bottom-row-bottom ul {list-style-type: none; margin: 0; padding: 0;}
.footer-bottom-row-bottom li {display: inline-block; margin: 0; padding: 0 10px;}

.footer-bottom-row-bottom a {color: #4e4f50; font-size: 18px; text-decoration: none; font-weight: bold;}
.footer-bottom-row-bottom p {font-size: 16px; width: 250px; line-height: 23px;}

/********** menu popup **********/

.mobile-nav {
    z-index:20000;
    position: fixed;
    /*width:150px;*/
    width:100%;
    height: 100%;
    background: #f9f9f9;
    color: #4e4f50;    
    display: none;
    top: 0;
    left: 0;
    text-align: center;
    background: #f9f9f9 url('../images/mobile/mobile-logo-bewell.png') no-repeat center 40px; 
}

	
.nav-box-outside {display: flex; justify-content: center; align-items: center; width: 80%; height: 100%; margin: 0 auto;}

.nav-box {
	
}

.mobile-nav ul {
    list-style:none;
    margin: 0;
    padding: 0;
}
.mobile-nav ul li {
    list-style: none;
    color: #FFF;  
    margin: 0 0 5px 0;
    padding: 0;
}

.mobile-nav a {
	font-family: Mena;		
    font-size: 18px; 
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; 
    font-weight: bold;
    font-style: normal;    
    color: #fff;
    text-decoration: none;    
    line-height: 40px;
    border-radius: 10px; display: block; padding: 4px 40px; 
    background-color: #93a29a;     
}

.mobile-nav .active {background: #a3c8cd url('../images/but-triangle.png') no-repeat center top;}

.mobile-nav a:hover {color: #ac0218;}

.close {cursor: pointer; position: absolute; bottom: 35px; left: 50%; margin-left: -25px;}

.menu-button {cursor: pointer;}

.menu-button img:hover {
  transform: scale(0.95); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

} /* close mobile */


@media only screen and (min-width: 480px) and (max-width: 1180px) {

#home-banner {background: #a3c8cd; height: 760px; background: url(../images/home-banner-1180px.jpg) no-repeat center center; background-size: cover; width:100%;}
#home-banner h1 {font-family: Mena; font-size: 52px; margin: 0; width: auto; color: #fff; padding-right: 45%;}

}









