:root {
  --font-1: "font-family: 'Century Gothic', Arial, sans-serif";
  --font-2: 'Chewy';
  --size-base: 16px;
  --size-xl: 2rem;
  --size-lg: 1.4rem;
  --size-md: 1.2rem;
  --size-sm: 1rem;
  --size-xs: 0.4rem;
  --max-width-p: 62.5rem;
  --color-1: rgb(19,174,168);
  --color-2: #197cc3;
  --color-3: #f5f1e9;
  --color-white: #FEFEFE;
  --color-grey: #222222;
  --color-black: #111111;
  --tint-dark: rgba(0,0,0,0.1);
  --tint-light: rgba(255,255,255,0.1);
  --shadow-md: 0.2rem 0.2rem 0.5rem rgba(0,0,0,0.25);
  --shadow-sm: 0.1rem 0.1rem 0.5rem rgba(0,0,0,0.1);
}

.small-block-grid-1>li:nth-of-type(1n+1) {clear: none;}

html {font-size: var(--size-base);}
body, *, h1, h2, h3, h4, h5, p {var(--font-1); position: relative;}
a {color: var(--color-1);}
button, .button {background-color: var(--color-1);}

.home .left img {
    width: 100%;
}
ul.s-list li {
    background: rgba(19,174,168,0.8);
    display: inline-block;
    width: auto;
    margin-right: 0.4rem;
    margin-bottom: 0.4rem;
    line-height: 1.1rem;
    padding: 0.5rem;
    text-shadow: none;
    border-radius: 0.5rem;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: bold;
}
li.link {
    box-shadow: 0.05rem 0.1rem 0.1rem rgba(0,0,0,0.5);
    position: relative;
    left: -0.05rem;
    top: -0.1rem;
    background: rgba(9,174,168,1)!important;
}
li.link:hover {
    left: 0rem;
    top: 0rem;
    box-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}
li.link a {
    color: #ffffff;
}
article.small-12.large-8.push-4.columns {
    border-left: 1px solid #EEEEEE;
    padding-left: 2rem;
    margin-bottom: 2rem;
}
.home .s-list {
    margin-bottom: 2rem;
    padding: 0.1rem;
}
.row.s-content {
    margin-top: 3rem;
}
.faqs ul {
    list-style: none;
}
.faqs li {
    line-height: 2.5rem;
}

.home p {text-align: center;}
section.left p {text-align: left;}
p {font-size: var(--size-md) padding-bottom: var(--space-sm;);max-width: var(--max-width:p;); margin-left: auto; margin-right: auto;}
h4 {font-family: var(--font-2); color: var(--color-1); font-size: var(--size-xl); transform: rotate(-1deg); top:  calc(-1 * var(--size-sm;) ); text-shadow: var(--shadow-sm); left:  calc(-1 * var(--size-xs;) ); text-align: center;}


/*---------------------------------*/
/* medium screens                  */
/* min-width 641px                 */
/*---------------------------------*/

@media only screen and (max-width: 768px) {
    .s-footer-bookline {white-space: nowrap; margin-bottom: calc( 2 * var(--size-md) );}
    .smile23 {
        & .columns {margin-bottom: calc( 2 * var(--size-xl) );}
    }
    .s-footer-bookline {
        & b {display: block; white-space: nowrap;}
    }
    .mobile-contacts {
        padding-top: var(--size-sm);
        & li {margin: 0; font-size: var(--size-md); padding: var(--size-lg) var(--size-md) var(--size-sm) 100px;}
    }
    .s-block {
        background-color: var(--color-whte); border: 1px solid var(--color-1); line-height: 0; padding: 0 var(--size-sm) var(--size-md); color: var(--color-1); border-radius: var(--size-sm); box-shadow: var(--shadow-sm);
        & h1 {color: var(--color-1);}
    }
    .s-block:hover {
        background: var(--color-white); cursor: pointer; color:var(--color-1);
        & h1 {color:var(--color-1);}
    }
    .s-content {padding-bottom: 0;}
    .s-map {float: left!important; overflow: hidden; width: 95%;}
    .s-social {padding-left: var(--size-md);}
} 

.top-bar{
    background: transparent; position: relative; height: var(--size-xl); margin-bottom: 0;
    & .name {height: auto;
        & img {padding: 14px 0 0 10px; max-height: 3.5rem; margin-top: 0.4rem;}
    }
}
.top-bar-section {
    & ul {
        background:none;
        & li {color: var(--color-1); font-size: calc( 2 * var(--size-xs) ); cursor: pointer; background-color: var(--color-white); border-radius: var(--size-xs); padding: calc( 1.5 * var(--size-xs) ) var(--size-xs) var(--size-xs) var(--size-xs); margin: var(--size-md) var(--size-xs); line-height: var(--size-md); box-shadow: var(--shadow-md);
            & h1 {font-size: var(--size-md); line-height: var(--size-md); margin: 0; padding: 0; color: var(--color-1); font-weight:500; text-transform: uppercase;}
        }
        & li:hover {
            background: var(--color-2);; color: var(--color-white);
            & h1 { color: var(--color-white);}
        }
    }
}
.top-bar.expanded {
    background: #25bab2;
    padding-bottom: 2rem;
    margin-bottom:2rem;
    & .toggle-topbar {
        & a {color: #ffffff;}
    }
    & .title-area {background-color: transparent;}
}

#menu-wrapper {position: relative; z-index: 99; background-color: var(--color-1);}
.home #menu-wrapper {background-color: var(--tint-dark);}

#top-footer h1,
#bottom-footer h1,
.staff h1 {
    display: block;
    text-align: center;
}

.staff .bio {
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
}

.staff h2 {display: block; text-align: center;}
.staff ul.team {display: flex; list-style: none;
        & li {flex-grow: 1;
            & a { padding: 0.5rem 1rem; margin: 0.25rem; border-radius: 0.2rem;  text-align: center; background-color: #eee;}
        }
    }

#top-footer { 
    background: var(--color-1); padding: 40px 0; color: #fff;
    & a {color: #fff;}
    & .says { background: #3e91cd; padding: 20px 10px; font-size: 1.11em; font-style:italic; font-weight: 100;}
}

#bottom-footer {
	padding: 40px 0; background: #eeeeee;
	& h1 { font-size: 1em; text-transform: uppercase; color: var(--color-1);
    }
}

.s-footer-bookline {
	border: 1px solid #ddd;
	padding: 25px 30px 25px 50px;
	text-transform: uppercase;
	font-size:1.7em;
	color: var(--color-1);
	margin-top: 20px;
	background: #fff url(/swqk/wp-content/themes/norwestdental/images/icon_bookonline.png) 10px 50% no-repeat;
	display:block;
}
ul.footerlinks {
    & li { list-style: none; display:inline-block; font-size: 0.8em; color: #999;}
    & li a:hover { color: #666;}
}
p.serviceby {
	text-align: right;
}
.title, .section-container.tabs section .content, .section-container.tabs .section .content {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
  border: medium none !important;
  left: 0!important;
}

section.active .title > a {
  background: none repeat scroll 0 0 var(--color-1);
  color: #FFFFFF !important;
}

.title > a {
  background: none repeat scroll 0 0 #FFFFFF;
  color: #197CC3 !important;
}
.s-page-bookline {
  display: inline-block;
  background: rgb(25, 124, 195);
  padding: 0 5px;
  color: #fff;
}
.s-page-bookline:hover {cursor: pointer; color: rgb(25, 124, 195); background: rgb(238, 238, 238);}

.title > a:hover {
  background: none repeat scroll 0 0 var(--color-1);
  color: #FFFFFF !important;
}
.s-footer-bookline b {white-space: nowrap;}


/*---------------*/
/* Media Queries */
/*---------------*/

/*-------------------------------------*/
/* Small screens                       */
/* max-width 640px, mobile-only styles */
/*-------------------------------------*/
 
@media only screen and (max-width: 40em) {
	section, section p {  padding: 0!important;}
	.smile23 {
        & .columns {margin-bottom: var(--size-sm);}
    }
	.reveal-modal {
	    & .row {
	        & .column, .columns { position: relative; padding-left: 0; padding-right: 0;}
	        & .row {width: auto; margin: 0; max-width: none; *zoom: 1;}
	        & .row:before, .row:after {content: " "; display: table; }
	    }
	    & form {
	        & .row {
	            & .row {
	                margin: 0; 
	                & .column, .columns {padding: 0; }
	            }
	        }
	    }
  	}
    
    .reveal-modal.row .row.collapse:after {clear: both; }

    .top-bar {height: calc(2.5 * var(--size-xl) ); }
    .top-bar-section {
        & li {padding: calc( 1.3 * var(--size-sm) ) var(--size-sm) calc( 0.9 * var(--size-sm) ) var(--size-sm); }
    }
    .s-footer-bookline b {font-size: 17px;}
    .n2_clear {position: relative; top: -3rem; z-index: 10; margin-bottom: -6rem;}
}


@media only screen and (min-width: 40.063em) and (max-width: 768px) {
	section, section p {padding: 0!important;}
	.s-map {
	    width: 100%!important;
    	& iframe { height: 200px; width: 100%; }
	}
}


/*---------------------------------*/
/* Medium screens                  */
/* min-width 641px, medium screens */
/*---------------------------------*/

@media only screen and (min-width: 40.063em) {
	.n2_clear { position: relative; top: -4rem; z-index: 10; margin-bottom: -8rem;}
	.wp-block-column {padding-right: var(--size-xl);}
	.half-p {padding: 0 calc(var(--size-xl) * 2);}
}


/*---------------------------------*/
/* Large screens                   */
/* min-width 1025px, large screens */
/*---------------------------------*/

@media only screen and (min-width: 64.063em) {
	.s-map iframe { border-radius: 150px; height: 300px; width: 300px;}
	.n2_clear {position: relative; top: -7rem; z-index: 10; margin-bottom: -14rem;}
	.wp-block-column {padding-right: calc( var(--size-xl) * 2);}
	.half-p {padding: 0 calc(var(--size-xl) * 4);}
} 


/*----------------------------------*/
/* XLarge screens                   */
/* min-width 1441px, xlarge screens */
/*----------------------------------*/

@media only screen and (min-width: 90.063em) {
	.s-map {text-align: center}
	.wp-block-column {padding-right: calc( var(--size-xl) * 3);}
} 


/* UM! */
#menu-17,  #menu-15, .footerlinks {display: none;}