/*
* Skeleton V1.2
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 6/20/2012
*/

/* Table of Content
==================================================
	#Site Styles
	#Page Styles
	#Media Queries
	#Font-Face */

/* #Site Styles
================================================== */
body {
   font-family: 'Open Sans', sans-serif; 
   font-size: 12pt;
   color: #05334b;
}

/*h1 {
    margin-top: 10px;
    line-height: 30px;
    font: inherit;
    font-size: 16pt;
    color: inherit;
    text-align: center;
}*/

h1 {
    text-align: center;
    font-family: inherit;
    font-size: 30px;
}

h1 {
  position: relative;
  text-align: center;
}

h1 span {
  background: #fff;
  padding: 0 25px;
  position: relative;
  z-index: 1;
}

h1:before {
  background: #05334b;
  content: "";
  display: block;
  height: 1px;
  position: absolute;
    top: 50%;
  width: 100%;
}

h1:before {
  left: 0;
}



h2 {
    font: inherit;
    font-size: 13pt;
    font-weight: bold;
    color: inherit;
    text-align: center;
}

h2:after {
    /*content: "";
    display: block;
    height: 1px;
    box-shadow: 1px 1px 1px #ccc;
    margin-left: 30%;
    width: 40%;
    background: #000000;
    margin-top: 10px;
    margin-bottom: 10px;*/
    
}

p {
    clear: both;
    text-align: justify;
}

p + .tagged {
    margin-bottom: 20px;
}




.page-header {
    background-color: #e6e6e6;
    height: 100px; 
}

.page-header .left {
    height: 100px;
    text-align: left;
    box-sizing: border-box;    
}

/*.page-header .left img {
    margin-top:  15px;
}*/

.page-header .logo {
    height: 100px; 
}

.page-header .logo span {
    position: relative;
    top: 15px;    
}

.page-header .right {
    text-align: right;
    box-sizing: border-box;
    padding-top: 15px;
}

.btn-blue {
    border:1px solid #7d99ca; -webkit-border-radius: 3px; -moz-border-radius:3px; border-radius: 3px;font-size:16px;font-family:arial, helvetica, sans-serif; padding: 10px 10px 10px 10px; text-decoration:none; display:inline-block;text-shadow: -1px -1px 0 rgba(0,0,0,0.3);font-weight:bold; color: #FFFFFF;
    background-color: #a5b8da; background-image: -webkit-gradient(linear, left top, left bottom, from(#a5b8da), to(#7089b3));
    background-image: -webkit-linear-gradient(top, #a5b8da, #7089b3);
    background-image: -moz-linear-gradient(top, #a5b8da, #7089b3);
    background-image: -ms-linear-gradient(top, #a5b8da, #7089b3);
    background-image: -o-linear-gradient(top, #a5b8da, #7089b3);
    background-image: linear-gradient(to bottom, #a5b8da, #7089b3);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#a5b8da, endColorstr=#7089b3);
}

.btn-blue:hover {
    border:1px solid #5d7fbc;
    background-color: #819bcb; background-image: -webkit-gradient(linear, left top, left bottom, from(#819bcb), to(#536f9d));
    background-image: -webkit-linear-gradient(top, #819bcb, #536f9d);
    background-image: -moz-linear-gradient(top, #819bcb, #536f9d);
    background-image: -ms-linear-gradient(top, #819bcb, #536f9d);
    background-image: -o-linear-gradient(top, #819bcb, #536f9d);
    background-image: linear-gradient(to bottom, #819bcb, #536f9d);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#819bcb, endColorstr=#536f9d);
}


.page-menu {
    background-color: #e6e6e6;
    height: 50px; 
    padding: 0px;
    margin: 0px;
}


.page-footer {
    background-color: #e6e6e6;
    padding-top: 10px;
    padding-bottom: 10px;
    color:  #000000;
}


.page-banner {
   background-color: #fff;
    
}

.page-banner img {
   width: 100%;
   height: auto;    
}

img.image {
    width: 100%;
    height: auto;
    line-height: 0px;
}

.page-body p {
   line-height: 20pt; 
   text-align: justify;
}


.my-slider img {
    width:  100%;
    height: auto;    
    
}

/* #Small Box
================================================== */
.smallbox-3 {
    position: relative;
    display: inline-block;
    width: 33%; 
    padding: 20px;
    box-sizing: border-box;
    height: 200px;
    float: left;
    text-align: center;
}

.smallbox-3 img {
    width: 100%;
    height: auto;
}

.smallbox-5 {
    position: relative;
    display: inline-block;
    width: 20%; 
    padding: 20px;
    box-sizing: border-box;
    height: 200px;
    float: left;
    text-align: center;
}

.smallbox-5 img {
    width: 100%;
    height: auto;
}



/* #Page Styles
================================================== */

/* Home Page */

.page-section {
    text-align: center;
}

.page-section h2 {
    font-family: inherit;
    font-size: 12pt;
    font-weight: bold;
}

.page-section img {
   margin-top: 5px;
   margin-bottom: 5px;
}

.page-section h2:after {
    content: "";
    display: block;
    height: 1px;
    box-shadow: 1px 1px 1px #ccc;
    margin-left: calc((100% - 100px)/2);
    width: 100px;
    background: #000000;
}

.page-section p {
    margin-left: calc((100% - 200px)/2);
    width: 200px;
    text-align: center;
}

.page-section p:before {
    content: "";
    display: block;
    height: 1px;
    box-shadow: 1px 1px 1px #ccc;
    margin-left: calc((100% - 100px)/2);
    width: 100px;
    background: #000000;
    margin-bottom: 5px;
}

.page-section .btn, .btn {
    border:1px solid #7d99ca; 
    -webkit-border-radius: 3px; 
    -moz-border-radius:3px; 
    border-radius: 3px;
    font-size:10pt;
    font-family:inherit; 
    padding: 2px; 
    width: 100px;
    text-decoration:none; 
    display:inline-block;
    background-color: #a5b8da;
    text-align: center;
}

.page-section .btn a, .btn a {
    color: inherit;
    text-decoration: none;
}


.page-contact textarea.form {
    width: 100%;
    resize: none;
    
}

.page-contact input.form, .page-contact input.mathspamprotector  {
    width: 100%;
    resize: none;    
}



.small-image {
   width: 30%;
   height: auto;
}

.right {
   float: right;
   margin-left: 20px; 
}

.left {
   float: left;
   margin-right: 20px; 
}

.shadow {
    box-shadow: 2px 2px 2px #a5b8da;
}

/* Tax Services Page */
div.left-page {
    width: 48%;
    float: left;
}

div.right-page {
    width: 48%;
    float: right;
}

/* Resource Page */
.flat-button a {
    margin-bottom: 5px;
    margin-right: 5px;
    background-color:#7089b3;
    border:1px solid #a5b8da;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family:arial;
    font-size:14px;
    padding:5px 10px;
    text-decoration:none;
    text-shadow:0px 1px 0px #2f6627;
    -webkit-border-radius: 3px; -moz-border-radius:3px; border-radius: 3px;

    
}

.flat-button a:hover {
    background-color:#a5b8da;
    border:1px solid #7089b3;
    color:#000000;
    text-shadow:0px 0px 0px #2f6627;
}

/* #staff Page
================================================== */
.staff {
    text-align: justify;
}

.staff h3 {
    font: inherit;
    font-size: 12pt;
    font-weight: normal;
    color: inherit;
    text-align: center;
}

.staff img {
    width: 70%;
    height: auto;
    padding-left: 15%;
}

.staff-bio img {
    width: 100%;
    height: auto;
}


/* #Masonary
================================================== */
.masonry {
    margin: 1.5em 0;
    padding: 0;
    -moz-column-gap: 1.5em;
    -webkit-column-gap: 1.5em;
    column-gap: 1.5em;
    font-size: .85em;
}


.masonry_testimonial {
    margin: 1.5em 0;
    padding: 0;
    -moz-column-gap: 1.5em;
    -webkit-column-gap: 1.5em;
    column-gap: 1.5em;
}

.masonry_testimonial p {
    text-align: justify;
}

.item_testimonial {
    display: inline-block;
    padding: 1em;
    margin: 0 0 1.5em;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-shadow:1px 1px 1px #ccc;
    border: 1px solid #7089b3;
}

.masonry_testimonial {
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
}

.page-content ul {
    list-style-type: disc;
    margin-left: 20px;
}

.page-content .image-full {
    width: 100%;
    height: auto;
}

.page-content .image-half {
    width: 50%;
    height: auto;
}


.service-header {
     border:1px solid #7d99ca; 
    -webkit-border-radius: 3px; 
    -moz-border-radius:3px; 
    border-radius: 3px;
    font-size:10pt;
    /*border: 1px solid #05334b;*/
    background-color: #a5b8da;
    box-sizing: border-box;
    padding: 5px 10px 5px 10px;
    font-weight: bold;
    margin-bottom: 10px;
}

.service-expandable {
    cursor: pointer;    
}

.service-header .service-name {
    display: inline-block;
    width: calc(100% - 80px);
    line-height: 20px;
}

.service-header .service-arrow {
    display: inline-block;
    width: 70px;
    text-align: right;
    font-size: 18px;
    line-height: 20px;
    text-shadow:1px 1px 1px #000;

}

.service-details{
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    border-left: 10px solid #a5b8da;
}

.box {
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.box p {
    text-align: center;
}

input.form {
    width: 100%;
    padding: 5px;
}
select.form {
    width: 100%;
    padding: 5px;
}

textarea.form {
    width: 100%;
    height: 50px;
    resize: none;
}

.tagged {
    float: left;
    margin-top: 5px;
    margin-right: 5px;
    padding: 10px;
    background-color: #05334b;
    color: #ffffff;
    border-radius: 5px;
    font-size: 12px;
    line-height: 20px;
    white-space:nowrap;
}

.comments {
    float: left;
    margin-top: 5px;
    margin-right: 5px;
    padding: 10px;
    background-color: #e6e6e6;
    color: #000000;
    border-radius: 5px;
    font-size: 12px;
    line-height: 20px;
    white-space:nowrap;
}

.comments img {
    position: relative;
    display: inline-block;
    top: 5px;
    margin-right: 10px;
    width: 20px;
    height: auto;
}

.blog-post-summary:not(:first-child) {
    margin-top: 20px;
}

.blog-post-summary:last-child {
    margin-bottom: 20px;
}

.blog-comment input
{
    width: 100%;
}

.blog-comment textarea {
    width: 100%;   
    resize: none;
}

/* -- Blog -- */
.blog-post-summary h2 {
    text-align: left;
}

.tagged a, .comments a{
    color: inherit;
    text-decoration: none;
}

.tagged img {
    position: relative;
    display: inline-block;
    top: 5px;
    margin-right: 10px;
    width: 20px;
    height: auto;
}

.blog-comment-box {
    margin-top: 5px;
    padding: 10px;
    background-color: #e6e6e6;
    box-sizing: border-box;
}

.category {
    float: left;
    margin-top: 5px;
    margin-right: 5px;
    padding: 10px;
    background-color: #333333;
    color: #ffffff;
    border-radius: 5px;
    font-size: 12px;
    line-height: 20px;
    white-space:nowrap;
}

.category a {
    color: inherit;
    text-decoration: none;
}

.category img {
    position: relative;
    display: inline-block;
    top: 5px;
    margin-right: 10px;
    width: 20px;
    height: auto;
}

.post-image img {
    width: 100%;
    height: auto;
}

/* #Media Queries
================================================== */

	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) {
        .masonry {
            -moz-column-count: 4;
            -webkit-column-count: 4;
            column-count: 4;
        }

        .masonry_testimonial {
            -moz-column-count: 3;
            -webkit-column-count: 3;
            column-count: 3;
        }
        
        
	}

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {
        .masonry {
            -moz-column-count: 3;
            -webkit-column-count: 3;
            column-count: 3;
        }

        .masonry_testimonial {
            -moz-column-count: 3;
            -webkit-column-count: 3;
            column-count: 3;
        }        
        
	}

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {
        
        h1 {
            display: block;
        }
    
        .small-image {
           width: 50%;
        }
    
        .masonry {
            -moz-column-count: 1;
            -webkit-column-count: 1;
            column-count: 1;
        }

        .masonry_testimonial {
            -moz-column-count: 1;
            -webkit-column-count: 1;
            column-count: 1;
        }
  
        /* Tax Services Page */
        div.left-page {
            width: 100%;
            float: none;
        }

        div.right-page {
            width: 100%;
            float: none;
        }
        
	}

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {
        /*.small-image {
           display: none;
        }*/
    
        .page-header {
            height: 160px;
        }
        
        .page-header .left, .page-header .right {
            text-align: center;
            height: 80px;
        }
        
        .page-section > div {
            padding-bottom: 20px;
        }
    
         .page-footer .address {
            padding-top: 20px;
        }
       
        /* #Small Box
        ================================================== */
        .smallbox-3 {
            width: 100%; 
            display: block;
            height: auto;
        }

        .smallbox-3 img {
            width: 100%;
            height: auto;
        }

        .smallbox-5 {
            height: auto;
            width: 100%; 
            display: block;
        }

        .smallbox-5 img {
            width: 100%;
            height: auto;
        }

                .page-content .image-half {
            width: 100%;
            height: auto;
        }

	}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {
        h1 {
            display: block;
        }

        .page-content .image-half {
            width: 100%;
            height: auto;
        }
    
        .masonry {
            -moz-column-count: 1;
            -webkit-column-count: 1;
            column-count: 1;
        }
    
        .masonry_testimonial  {
            -moz-column-count: 1;
            -webkit-column-count: 1;
            column-count: 1;
        }
        
        .page-header {
            height: 160px;
        }
    
        .page-header .left, .page-header .right {
            text-align: center;
            height: 80px;
        }

        .page-section > div {
            padding-bottom: 20px;
        }


        .page-footer .address {
            padding-top: 20px;
        }

        .smallbox-3 {
            width: 100%; 
            display: block;
            height: auto;
        }

        .smallbox-3 img {
            width: 100%;
            height: auto;
        }

        .smallbox-5 {
            height: auto;
            width: 100%; 
            display: block;
        }

        .smallbox-5 img {
            width: 100%;
            height: auto;
        }
	}


/* #Font-Face
================================================== */
/* 	This is the proper syntax for an @font-face file
		Just create a "fonts" folder at the root,
		copy your FontName into code below and remove
		comment brackets */

/*	@font-face {
	    font-family: 'FontName';
	    src: url('../fonts/FontName.eot');
	    src: url('../fonts/FontName.eot?iefix') format('eot'),
	         url('../fonts/FontName.woff') format('woff'),
	         url('../fonts/FontName.ttf') format('truetype'),
	         url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
	    font-weight: normal;
	    font-style: normal; }
*/

