/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


/* ==========================================================================
   FOR MAKING WEBPAGE HAVE COLUMNS
   ========================================================================== */

/*  SECTIONS  */
.section {
	clear: both;
	padding: 0px;
	margin: 0px;
}

/*  COLUMN SETUP  */
.col {
	display: block;
	float:left;
	margin: 1% 0 1% 1.6%;
}
.col:first-child { margin-left: 0; }


/*  GROUPING  */
.group:before,
.group:after {
	content:"";
	display:table;
}
.group:after {
	clear:both;
}
.group {
    zoom:1; /* For IE 6/7 */
}

/*  GRID OF TWO   ============================================================================= */


.span_2_of_2 {
	width: 100%;
}

.span_1_of_2 {
	width: 49.2%;
}

/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 595px) {
	.span_2_of_2 {
		width: 100%; 
	}
	.span_1_of_2 {
		width: 100%; 
	}    
}




/* ==========================================================================
   EXPERIMENTING WITH STUFF
   ========================================================================== */




#main-page {	
		-webkit-column-count: 2;
     		-moz-column-count: 2;
          	column-count: 2;
  		-webkit-column-width: 325px;
     		-moz-column-width: 325px;
          	column-width: 325px;
		}
#book-an-appointment {
text-align: center;
    margin-top: 20px;
}

#team-page-pics {width: 100%}
#team-page-words {padding: 0 0 10px 0;height: 210px}
#top-padding {padding: 60px 0 0 0}
#top-padding-10 {padding: 10px 0 0 0}


.non-main-page {position: relative; top: -0px}
hr { width:100%;size: 1px; background: #fff }

#imtest {
top: 162px;
position: fixed;
left: 0px;
z-index: 1;
}

#main-page-image {
    width: 100%;
}


.page-background {
    background-color: azure;
}

.main-page-text {

}

body {
    background-color: white;
    font-family: 'Raleway';
    font: 100 14px/21px "Raleway",sans-serif;
}

.main-image {    
    z-index: 1;
    position: fixed;
    width: 100%;
    top: 0;
    left: 50%;
    margin-left: -1090px;
    
}

.page-content {
    z-index:3;
    max-width: 1000px;
    margin-left:auto;
    margin-right:auto;
    position:relative;
    padding-right: 30px;
    padding-left: 15px;
}

.page-content-background {
    z-index:2;
    top:300px;
    position:absolute;
    width:100%;
}

.page-content-background, .page-content {
    background-color: white;
}

#header-logo {
    position: absolute;
    top: 4px;
    height: 42px;
    left: 5px
}

.top-header {
    max-width: 1000px;
    position:relative;
    margin-left:auto;
    margin-right:auto;
    padding-left:15px;
}

.header-background {
    width: 100%;
    position:fixed;
 
}

.top-header, .header-background {
    background: #d5d8ed;
    height: 50px;
    z-index:5;
}

#header-title {
    font-size: 1.7em;
    top: -2px;
    left: 55px;
    position:absolute;
}

#header-subtitle {
    font size: 0.8em;
    float: left;
    top: -10px;
    position: absolute;
    left: 200px;
    line-height: 1.4em;
}

#header-phone {
    font size: 1.6em;
    float: right;
    top: -3px;
    position:relative;
    right: 30px;
}

#footer-logo {
    position: relative;
    top: 15px;
    height: 42px;
    left: 5px
}

#footer-title {
    font-size: 1.7em;
    top: -30px;
    left: 75px;
    position:relative;
}

.menu2 {
    background: rgba(77, 136, 179, 0.7);
    max-width: 1000px;
    position:relative;
    margin-left:auto;
    margin-right:auto;
    z-index:6;
    padding-left:15px;
    top:-14px;
    color: white;
    left: -50px;
}

#header-title, #header-subtitle, #header-phone, .menu2, #footer-title{
    font-weight: 100;   
}

#header-title, #header-subtitle, #header-phone, #footer-title{
    color: #454545;
}

.footer-test {
    max-width: 1000px;
    margin-left:auto;
    margin-right:auto;
    padding-left: 15px;
}

.footer-background {
    width: 100%;
}

.footer-test, .footer-background {
    height: 75px;
    background-color: #c6c6c6;
}

.cssmenu-background {
    background: rgba(77, 136, 179, 0.8) none repeat scroll 0% 0%;
    width: 100%;
    position:fixed;
    z-index:5; 
    height:44px;
    top:50px;
}

@-webkit-keyframes fadeBottom { 0% { opacity: 0; -webkit-transform: translateY(10%);} 100% { opacity: 1; -webkit-transform: translateY(0);} }
@-moz-keyframes fadeBottom { 0% { opacity: 0; -moz-transform: translateY(10%); } 100% { opacity: 1; -moz-transform: translateY(0); } }
@-o-keyframes fadeBottom { 0% { opacity: 0; -o-transform: translateY(10%); } 100% { opacity: 1; -o-transform: translateY(0); } }
@keyframes fadeBottom { 0% { opacity: 0; transform: translateY(10%); } 100% { opacity: 1; transform: translateY(0); } }

.title-animation {
position:relative;
    padding-top:100px;
animation-duration: 0.7s;
animation-delay: 0.9s;
animation-timing-function: ease-in-out;
animation-fill-mode: both;
animation-name: fadeBottom;

    z-index: 3;
    color: white;
    font-size: 35px;
    text-align: center;
    font-weight: 100;  
    text-shadow: -1px 1px black;
    top: 80px;
    line-height: 1.1em;
    margin-left: auto;
    margin-right: auto;
}








@media all and (min-width: 960px) {
.title-animation {
    font-size: 40px;
  }
    #services-page-image {
    width: 140%;
    float:right;
}
    
}

@media all and (max-width: 959px) and (min-width: 600px) {
.title-animation {
    font-size: 4vw;
    position: absolute;
    padding-left: 15px;
  }
    #services-page-image {
    width: 100%;
}
}

@media all and (max-width: 599px) and (min-width: 50px) {
.title-animation{
    font-size: 6vw;
    position: absolute;
    padding-left: 15px;
  }
    #services-page-image {
    width: 100%;
}
}








/* ==========================================================================
   TABLES
   ========================================================================== */


table {border: none;margin:auto}
.tg  {border-collapse:collapse;border-spacing:0;border-color:#ffffff;}
.tg td{font-family:helvetica, sans-serif;font-size:14px;padding:0px 1px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:#eeeeee;color:#669;background-color:#eeeeee;}
.tg th{font-family:helvetica, sans-serif;font-size:14px;font-weight:normal;padding:0px 1px;overflow:hidden;word-break:normal;border-color:#eeeeee;color:#039;background-color:#eeeeee;}
.tg .tg-i0ue{font-weight:bold;font-size:20px;background-color:#eeeeee;color:#3c3c3c;}
.tg .tg-h0wt{background-color:#eeeeee;font-size:0px;color:#ffffff}
.tg .tg-hrmy{font-size:14px;background-color:#eeeeee;color:#3c3c3c;}


.home-page-table {
	height: 200px;
	padding: 20px 0 0px 0;
	background-color: #eeeeee;
    text-align:center;
    margin:auto;
    text-transform: uppercase;
    font: "Raleway";
}

.contact-page-table {
	height: 150px;
	padding: 0;
	background-color: #eeeeee;
 
    margin:auto;
    text-transform: uppercase;
    font: "Raleway";
    padding-bottom: 6px;
}





/*
 * Navigataur: A pure CSS responsive navigation menu
 * Author: Mike King (@micjamking)
 */

/*
 	Notes:
 
 	- Media queries should be edited in both style sections if you require 
	  a different breakpoint for your navigation.
	  
	- Toggle class & menu anchor tags in list items have box-sizing: border-box 
	  style property to allow padding inside the container without conflicting with layout.	

*/


/*==========================================================================
 Functional Styles (Required)
==========================================================================*/

.header { position: relative; 
    max-width: 1000px;
    position:relative;
    margin-left:auto;
    margin-right:auto;}
#toggle, .toggle { display: none; }
.menu > li { list-style: none; float:left;	}

/* Nicolas Gallagher micro clearfix */
.clearfix:before, .clearfix:after { display: table; content: ""; }
.clearfix:after { clear: both; }

@media only screen and (max-width: 505px){
	.menu { display: none; opacity: 100; width: 100%; position: relative; right: 0;}
	.menu > li { display: block; width: 100%; margin: 0; }
	.menu > li > a { display: block; width: 100%; text-decoration: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
	.toggle { display: block; position: relative; cursor: pointer; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
	#toggle:checked + div .menu { display: block; opacity: 95;}

   
    .header-background {
        position: relative;

    }
    .cssmenu-background {
        position:relative;
        top: -15px;
    }
    .menu2 {
        top:0;   
    }
}

@media only screen and (max-width: 500px){
    #header-phone{
        display: none;
    }
}

/*==========================================================================
 Presentation Styles (Editable)
==========================================================================*/
.header{
	min-height: 44px;
	height: 100%;
	padding: 0 20px;
	background: #FFFFFF;
}

.header > h1 {
	float: left;
	padding: 30px 0 0;		
	font-style: italic;
	font-family: 'Raleway';
	font-size: 28px;
	color: #DFDFDF;
}

.nav{ 
	display: block; 
	float: right; 
}

.nav, .menu, .menu > li, .menu > li > a{ 
	height: 100%; 
}

.menu > li > a{
	display: block;
	padding: 14px 20px 14px;
	text-decoration: none;
	font-weight: 100;
	font-size: 16px;
	line-height: 1;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box; 
	box-sizing: border-box;
	-webkit-transition: all 0.25s linear;
	-moz-transition: all 0.25s linear;
	-o-transition: all 0.25s linear;
	transition: all 0.25s linear;
    color: white;
}

.menu > li > a:hover, .menu > li > a:focus{
	background: rgba(77, 136, 179, 0.8);
	box-shadow: inset 0px 2px #00406d;
	color: #b5edfd;
	padding: 14px 20px 14px;
}

.toggle{ 
	z-index: 6; 
}

@media only screen and (max-width: 505px){
	.menu{
		background: #FFFFFF;
		border-top: 1px solid rgba(77, 136, 179, 0.95);
	}
	
	.menu, .menu > li, .menu > li > a{
		height: auto;
	}
	
	.menu > li > a{
		padding: 15px 15px;
        background-color: rgba(77, 136, 179, 0.95);
        color: white;
	}
	
	.menu > li > a:hover, .menu > li > a:focus{
		background: rgba(77, 136, 179, 0.95);
	<!--	box-shadow: inset 5px 0px #5eb5f4; -->
		padding: 15px 15px 15px 25px;
	}
	
	.toggle:after {
		content: attr(data-open);
		display: block;
		width: 300px;
		margin: 15px 0;
		padding: 10px 50px;
		background: rgba(77, 136, 179, 0.95);
	    -webkit-border-radius: 0px;
		border-radius: 0px;
		text-align: center;
		font-size: 12px;
		color: #FFFFFF;
		-webkit-transition: all 0.5s linear;
		-moz-transition: all 0.5s linear;
		-o-transition: all 0.5s linear;
		transition: all 0.5s linear;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box; 
	}
	
	.toggle:hover:after{
		background: rgba(77, 136, 179, 0.8);
	}
	
	#toggle:checked + div .toggle:after{
		content: attr(data-close);
	}
}

@media only screen and (max-width: 479px){
	.header > h1 { 
		text-align: left;
	}
	.header > h1, .nav, .toggle:after{ 
		float: none; 
	}
	.toggle:after { 
		text-align: left; width: 100%; 
	}
}

