/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   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
   ========================================================================== */


body {
	text-align: center;
	font-family: 'Raleway', sans-serif;
	background: #fff;
	font-size: 0.9em;
	color: #666;
}

h1 {
	font-size:32px; 
	font-weight:normal; 
	font-family:'LatoBold', Arial, "Helvetica Neue", Helvetica, sans-serif;
	color: #333333;
	padding: 0;
	margin: 0;
	text-align:center;
	font-weight:normal;
	letter-spacing: 0.05em;
}

h2 {
	font-size: 2.2em;
	color: #000000;
	padding: 0;
	margin: 10px 0 10px 0;
	font-weight: normal;
	font-family: 'Raleway', sans-serif;
	letter-spacing: 0.05em;
}

h3 {
	font-family: 'Lato', sans-serif;
	color: #ADAD84;
	padding: 0;
	margin: 0;
	text-align: center;
	letter-spacing: 0.05em;
}

h4 {
	font-size: 1.5em;
	color: #398ac3;
	padding: 0;
	margin: 40px 0 10px 0;
	font-weight: normal;
	font-family: 'Raleway', sans-serif;
	letter-spacing: 0.05em;
}

h5 {
	font-size: 1.5em;
	color: #0000FF;
	padding: 0;
	margin: 40px 0 10px 0;
	font-weight: normal;
	font-family: 'Raleway', sans-serif;
	letter-spacing: 0.05em;
}

a {
	color: #398ac3;
	font-weight: normal;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:active {
    background-color: transparent;
}

p {
	padding: 0;
	margin: 10px 0;
	line-height: 1.4em;
}

img {
	border: 0;
	padding: 0;
	margin: 0;
	max-width: 100%;
}

ul {
	list-style-type: disc;
	
}

.clear {
	clear: both;
}

#showmobilenavigation, #mobile {
	display: none;
}

.container {
	width: 960px;
	margin: auto;
	text-align: left;
	overflow: hidden;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 80px;
	line-height: 75px;
	z-index: 100;
	border-bottom-width: thin;
	border-bottom-style: solid;
	border-bottom-color: #000;
	background-color: #FFFFFF;
}

#logo {
	float: left;
	margin-top: 10px
}

.nav-container {
	display: inline;
		float: right;
		margin-left: 13px;
		margin-right: 13px;
}

#nav {
	float: right;
	width: 100%;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 1.125em;
	z-index: 999;
	font-family: 'Raleway', sans-serif;
	}
	
#nav ul {
		padding:0;
		margin:0;
	}
	
#nav li {
	display: inline-block;
	padding-top: 0.5em;
	padding-right: 0em;
	padding-left: 0.5em;
	padding-bottom: 0.5em;
	}
	
.lt-ie8 {
		display:inline;
		zoom:1;
	}
	
#nav a {
	color: #000000;
	text-decoration: none;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
	padding-right: 5px;
	}
	
#nav a:hover {
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
	padding-right: 5px;
	background-color: #D90000;
	color: #FFF;
	}

#nav li a:hover, #nav .active a {
	border-bottom:4px solid #D90000;
	}
	
.nsborder {
	border-bottom-width: thin;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
	padding-bottom: 10px;
	margin-bottom: 40px;
}
	
#main {
	padding-top: 75px;
}

.onethirdcolumn {
	width: 300px;
	text-align: center;
	float: left;
	margin: 10px 10px 10px 10px;
}
/*
.onethirdcolumn img{
	width: 100%;
}
*/
.oneforthcolumn {
	width: 25%;
	text-align: left;
	float: left;
	min-height: 180px;
}

.onecolumn {
	width: 100%;
	text-align:center;
	padding-top: 20px;
	padding-bottom: 20px;
}

.onecolumn p {
	padding-left: 10%;
	padding-right: 10%
}

.two-column-left {
	width: 48%;
	float: left;
}

.two-column-right {
	width: 48%;
	float: right;
}
	
#two-column-left-home {
	width: 67%;
	float: left;
}

#two-column-right-home {
	width: 27%;
	float: right;
}

.two-column-right img {
	margin: 0px;
    max-width: 100%;
	text-align: center;
}

.three-column-left {
	width: 22%;
	float: left;
}

.three-column-middle {
	width: 58%;
	float: left;
	margin-left: 10px;
}

/* style to include images inside table elements*/
.three-column-middle tr img {
	margin: 0px;
    width: 100%;
	text-align: center;
}

.three-column-middle img {
	margin: 0px;
	max-width: 100%;
	text-align: center;
}

.three-column-right {
	width: 15%;
	float: right;
	margin-right: 5px;
}

.three-column-right img {
	margin: 0px;
	max-width: 100%;
	text-align: center;
}

.button {
	display: inline-block;
	height: 35px;
	line-height: 35px;
	padding: 0 15px;
	color: #fff;
	font-size: 1.2em;
	border-radius: 5px;
	background: #0572B7;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	behavior: url(../js/PIE.htc);
}

.button:hover {
	text-decoration: none;
	background-color: #ea0b25;
}

.review {
	border: thin solid #E9E9E9;
	background-color: #F5F5F5;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	text-align:left
}

#advert {
	margin-top: 40px;
}

#advert p{
	font-size: 1em;
	color: #0000FF;
	padding: 0;
	margin: 40px 0 10px 0;
	font-weight: normal;
	font-family: 'Raleway', sans-serif;
	letter-spacing: 0.05em;
}

footer {
	position: relative;
	margin-top: 25px;
	width: 100%;
	background: #101010;
	color: #fff;
	background-color: #000000;
	padding-top: 10px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
}

.footer-contact {
	font-size: 2.2em;
	color: #CCCCCC;
	padding: 0;
	font-weight: normal;
	font-family: 'Raleway', sans-serif;
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 0;
}

#crsm {
	background-color:#000;
	padding-top: 10px
}

#cr {
	width: 50%;
	float: left;
	color: #5C5C47;
}

#cr a {
	font-weight: 700px
}

#sm {
	width: 50%;
	float:right
}

/* Page specific Styles */

/* Portfolio */

.more:link, .more:visited {
  transition-duration: 0.2s;    
  transition-timing-function: ease-out;
}

.show{
  border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
  background: #fff;
  display: block;
  border-radius: 10px;
}


.aspect{
  position: relative;
  padding-bottom: 120%;
  height: 0;
  overflow: hidden;
}

.show .mask{
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0
}

.show-first a.more {
  display: inline-block;
  text-decoration: none;
  padding: 7px 14px; 
  background: #FFF;
  color: #222;
  text-transform: uppercase;
  box-shadow: 0 0 1px #000;
  position: relative;
  border: 1px solid #999;

}

.show-first a.more:hover {
  box-shadow: 0 0 5px #000;
}

.show-first p{
  letter-spacing: 0.15em;
  color: #f4f4f4;
  font-size: 28px; 
}

.show-first img {
  transition: all 0.2s linear;
}

.show-first .mask {
  opacity: 0;
  background-color: rgba(0,0,0, 0.4);
  transition: all 0.4s ease-in-out;
}
.show-first h2 {
  color: #f2f2f2;
  margin-top: 10%;
  opacity: 0;
  transition: all 0.2s ease-in-out;
  background: rgba(0,0,0,0.7);
}
.show-first p {
  opacity: 0;
  transition: all 0.2s linear;
}
.show-first a.info{
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.show-first:hover img {
  transform: scale(1.2);
}
.show-first:hover .mask {
  opacity: 1;
}
.show-first:hover h2,
.show-first:hover p,
.show-first:hover a.info {
  opacity: 1;
}
.show-first:hover p {
  transition-delay: 0.1s;
}
.show-first:hover a.info {
  transition-delay: 0.2s;
}

/* Contact Us */
	
#responsive_map {height: 300px; width: 100%;}
#responsive_map div {-webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px;}
.gm-style-iw {max-width: none !important; min-width: none !important; max-height: none !important; min-height: none !important; overflow-y: hidden !important; overflow-x: hidden !important; line-height: normal !important; padding: 5px !important; }

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 1200px) {

.container {
	width: 1200px;
}

nav {
	font-size: 1em;
}

.onethirdcolumn {
	width: 380px;
}

}

@media only screen and (max-width: 1200px) {

#nav {
	display:none
}

#showmobilenavigation {
	float: right;
	display: block;
	height: 35px;
	outline: none;
}

#showmobilenavigation img {
	width: 20px;
}

#showmobilenavigation:hover {
	text-decoration: none;
}

#mobile {
	position: absolute;
	top: 80px;
	left: 0;
	width: 100%;
	display: block;
	z-index: 90;
}

#mobilenavigation {
	display: none;
	width: 100%;
	margin: 0;
	padding: 0;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
}

#mobilenavigation li {
	width: 100%;
	list-style: none;
	text-align: center;
	margin: 0;
}

#mobilenavigation li a {
	display: block;
	width: 100%;
	height: 1em;
	line-height: 1em;
	padding: 18px;
	color: #fff;
	text-transform: uppercase;
	font-weight: normal;
	font-size: 1.125em;
	background-color: #000000;
}

#mobilenavigation li a:hover, #mobilenavigation .active a {
	text-decoration: none;
	background-color: #D90000;
}
	
	.container {
	width: 95%;
	padding: 0 2.5%;
}

}

@media only screen and (max-width: 960px) {
	
h1 {
	font-size: 3.5em;
}

h2 {
	font-size: 2em;
}

h3 {
	font-size: 1.4em;
}


	
.onethirdcolumn {
	width: 30%;
}

.footer-contact {
	font-size: 1.8em;
}
	
}

@media only screen and (max-width: 760px) {
	
.footer-contact {
	font-size: 1.4em;
}
}

@media only screen and (max-width: 700px) {

header {
	height: 50px;
	line-height: 45px;
}

#logo {
	height: 40px;
	margin-top: 5px
}
	
	#showmobilenavigation img {
	width: 15px;
}

#mobile {
	position: absolute;
	top: 50px;
	left: 0;
	width: 100%;
	display: block;
	z-index: 90;
}

#main {
	padding-top: 50px;
}

.onethirdcolumn {
	float: none;
	display: block;
	width: 100%;
	max-width: 380px;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 30px;
	margin-left: auto;
}

.two-column-left {
	float: none;
	display: block;
	width: 100%;
	max-width: 380px;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 30px;
	margin-left: auto;
	text-align:center
}

.two-column-right {
	float: none;
	display: block;
	width: 100%;
	max-width: 380px;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 30px;
	margin-left: auto;
	text-align:center
}

#two-column-left-home {
	float: none;
	display: block;
	width: 100%;
	max-width: 380px;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 30px;
	margin-left: auto;
	text-align:center
}

#two-column-right-home {
	float: none;
	display: block;
	width: 100%;
	max-width: 380px;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 30px;
	margin-left: auto;
	text-align:center
}

.three-column-left {
	width: 100%;
}

.three-column-middle {
	margin: 0;
	width: 100%;
}

.three-column-right {
	display:none;
}

}

@media only screen and (max-width: 550px) {

h1 {
	font-size: 3em;
}

}

@media only screen and (max-width: 460px) {

h2 {
	font-size: 1.6em;
}

}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   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;
}

/* ==========================================================================
   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;
    }
}
