/* 
/* a. Webfonts and Iconfonts
/* =================================================================== */

body {
  background: #0e1015;
  font: 16px/32px "raleway-regular", serif;
  font-weight: normal;
  color: #575859;
  text-rendering: optimizeLegibility;
  line-height: 2em;
  margin: 0;
  min-width: 330px;
}

/* 
/* b. Basic Setup Styles - Top Elements
/* =================================================================== */
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 62.5%;
}
body {
  font-weight: normal;
  line-height: 1;
  text-rendering: optimizeLegibility;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}

/* 
/* c. Typography
====================================================================== */
div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, th, td {
  margin: 0;
  padding: 0;
}
h1, h2, h3, h4, h5, h6 {
  text-rendering: optimizeLegibility;
  line-height: 1.2;
}
hr {
  border: solid #ddd;
  border-width: 1px 0 0;
  clear: both;
  margin: 11px 0 24px;
  height: 0;
}
p {
    margin: 15px 0 15px 0;
}
em, i {
  font-style: italic;
  line-height: inherit;
}
strong, b {
  font-weight: bold;
  line-height: inherit;
}
small {
  font-size: 60%;
  line-height: inherit;
}
ul {
  list-style: none;
}
ol {
  list-style: decimal;
}
ol, ul.square, ul.circle, ul.disc {
  margin-left: 17px;
}
ul.square {
  list-style: square;
}
ul.circle {
  list-style: circle;
}
ul.disc {
  list-style: disc;
}
ul li {
  padding-left: 4px;
}
ul ul, ul ol, ol ol, ol ul {
  margin: 3px 0 3px 17px;
}

/* links
---------------------------------------------------------------------- */
a {
  text-decoration: none;
  line-height: inherit;
}
a img {
  border: none;
}
a:focus {
  outline: none;
}
p a, p a:visited {
  line-height: inherit;
  color: #a53e42;
}

/* Uncategories */

ul, ol {
    list-style: disc;
    margin-left: 17px;
    margin-top: 15px;
    margin-bottom: 15px;
}


/* The hero image */
.hero-image {
    /* The image used */
    background-image: url("../images/painter-decorator-hero-image.jpg");

    /* Set a specific height */
    min-height: 500px;

    /* Position and center the image to scale nicely on all screens */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* Place text in the middle of the image */
.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    display: block;
}

.hero-image .twelve, .hero-image .columns {
  width: 100%;
  position: relative;
  padding-left: 80px;
  padding-right: 80px;
  padding-top: 125px;
  padding-bottom: 125px;
  min-height: 1px;
  float: left;
}

.hero-image p {
  font-size: 40px !important;
  color: white !important;
  font-weight: bold !important;
  line-height: 1.3em !important;
}

.hero-image .button.stroke {
    margin: 0;
    padding: 9px 20px;
    width: auto;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-color: #a53e42;
    color: white;
    white-space: nowrap;
    text-shadow: 0 0px 5px black;
    -webkit-box-shadow: 0 0px 5px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 0px 5px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0px 5px 0px rgba(0, 0, 0, 0.5);
}

.hero-image .button.stroke:hover {
    color: white;
    text-shadow: none;
    background: #f53e42 !important;
}

.button.stroke {
    background: #a53e42 !important;
    border: 3px solid transparent;
}

.button {
    display: inline-block;
    font: 16px/32px "raleway-bold", sans-serif;
    padding: 9px 16px;
    margin: 0 3px 6px 0;
    background: #818fab;
    color: white;
    text-decoration: none;
    cursor: pointer;
    height: auto;
    text-align: center;
    border: none;
    border-radius: 3px;
    -webkit-appearance: none;
    -webkit-font-smoothing: inherit;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.services {
  display: block;
  background: #ecf0f1;
  padding-bottom: 40px;
}

.aboutus {
  background: white;
}

.contactform {
  background: lightgray;
}

.blog {
  background: #f26522;
}

.serviceshead {
  text-align: center;
  padding-top: 55px;
  padding-bottom: 40px;
  padding-left: 20px;
  padding-right: 20px;
}

.serviceshead h2 {
    font: 16px/32px "raleway-heavy", sans-serif;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #252525;
    margin-bottom: 18px;
    margin-top: 0;
}

.serviceshead h2 span, .thirdcolumns a h3 span, .halfcolumns h3 span, .serviceshead h1 span, .thirdcolumns h3 span{
  color: #a53e42;
}

.serviceshead p, .serviceshead ul, footer {
    font: 18px/36px "raleway-light", sans-serif;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

footer {
    color: #ecf0f1;
}

.blog .serviceshead p {
    color: black;
}

.serviceshead p {
    color: #707273;
}

/* Rows */

.row {
  width: 94%;
  max-width: 1024px;
  margin: auto;
}

.row:before, .row:after {
    content: "";
    display: table;
}

.row:after {
    clear: both;
}

/* Services */

.serviceslist {
  margin: 15px 0px 0 0px; 
}

.serviceslist h3 {
    font: 16px/24px "raleway-heavy", sans-serif;
    padding: 0;
}

.serviceslist p {
    color: #707273;
    position: relative;
    top: -6px;
    padding-left: 20px;
    padding-right: 20px;
}

.servicesiconspart {
  background: #a53e42;
  color: white;
  width: 72px;
  padding: 15px 3px;
  font-size: 40px;
  border-radius: 3px;
  margin: 0 auto;
}

.servicesiconspart span {
  padding-left: 13px;
}

/* Columns */

.columns {
  position: relative;
  padding: 0 18px;
  min-height: 1px;
  float: left;
}

.thirdcolumns {
  width: 33.333333333%;
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 0 22px;
  position: relative;
  min-height: 1px;
  float: left;
}

.thirdcolumns p {
  text-align: center;
  line-height: 2em;
}

.thirdcolumnsfirst {
  clear: both;
}

.halfcolumns {
  width: 50%;
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 0 22px;
  position: relative;
  min-height: 1px;
  float: left;
}

.halfcolumns p {
  text-align: center;
}

.halfcolumnsfirst {
  clear: both;
}

.twelve {
  width: 100%;
}

.six, .row .six {
    width: 33.33333333%;
}

/* Headers */
h1, h2, h3, h4, h5, h6 {
    font-family: "raleway-bold", sans-serif;
    color: #252525;
    font-style: normal;
    text-rendering: optimizeLegibility;
    margin: 18px 0 15px;
    text-align: center;
}

.hero-image h1 {
    font-size: 40px !important;
    color: #a53e42 !important;
    font-weight: bold !important;
    line-height: 1.3em !important;
}

/* Footer */
footer {
  background: #0e1015;
  padding-top: 36px;
  padding-bottom: 42px;
  font-size: 16px;
  line-height: 24px;
  position: relative;
}

footer .footer-about {
    padding-right: 60px;
}

footer h3 {
    font: 16px/32px "raleway-bold", sans-serif;
    margin-bottom: 0;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer p {
    margin: 12px 0;
    text-align: center;
}

footer .footersocial a {
  padding-right: 15px;
  padding-left: 15px;
}

footer .copyright {
    margin: 0;
    padding: 24px 18px 6px 18px;
    clear: both;
}

footer #go-top {
    position: fixed;
    bottom: 0;
    right: 0px;
    z-index: 900;
    display: none;
}

footer #go-top a {
    display: block;
    padding: 12px 30px;
    background: #a53e42;
    color: white;
    text-align: center;
    font: 16px/32px "raleway-heavy", sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

footer #go-top a span {
    margin-right: 10px;
}

footer .thirdcolumns a {
    font: 16px/32px "raleway-light", sans-serif;
    width: 95%;
    color: #a53e42;
    margin-left: auto;
    margin-right: auto;
}

hr {
    border: solid #a53e42;
    border-width: 3px 0 0;
    width: 90px;
    margin: 11px auto 15px;
    height: 0;
    clear: both;
    text-align: center;
    box-sizing: content-box;
}

/* Media Queries */

@media screen and (max-width: 920px) {
.column, .columns, .thirdcolumns, .halfcolumns {
    width: auto !important;
    float: none !important;
    margin-left: 0;
    margin-right: 0;
    clear: both;
    padding: 0;
  }
}


/* Media Queries - Nav */

@media screen and (max-width: 920px){
.row {
    width: auto;
}}

@media screen and (max-width: 920px){
.hero-image .twelve, .hero-image .columns {
  padding-right: 0px;
  padding-left: 0px;
}
}

@media only screen and (max-width: 920px){
#form_container input[type='text'],
#form_container input[type='email'],
#form_container textarea
{
  width: 294px !important;
  font-size:16px;
}
}

#form_container input[type='text'],
#form_container input[type='email'],
#form_container textarea
{
  background: rgba(255,255,255,0.2);
  width: 400px; 
  font: 18px/36px "raleway-light", sans-serif;
  -webkit-appearance: textarea;
    background-color: white;
    -webkit-rtl-ordering: logical;
    flex-direction: column;
    resize: auto;
    cursor: text;
    white-space: pre-wrap;
    word-wrap: break-word;
    border-width: 1px;
    border-style: solid;
    border-color: initial;
    border-image: initial;
    padding: 1px;
}

#form_container button {
    background: #a53e42 !important;
    border: 3px solid transparent;
    font-size: 16px;
    margin: 0;
    padding: 9px 20px;
    width: auto;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-color: #a53e42;
    color: white;
    white-space: nowrap;
    text-shadow: 0 0px 5px black;
    -webkit-box-shadow: 0 0px 5px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 0px 5px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0px 5px 0px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

#form_container button:hover {
    color: white;
    text-shadow: none;
    background: #f53e42 !important;
    
}

/* Portfolio */

#portfolio-wrapper {
    margin-top: 36px;
}

.bgrid-sixth .bgrid:nth-child(6n+1), .bgrid-fourth .bgrid:nth-child(4n+1), .bgrid-third .bgrid:nth-child(3n+1), .bgrid-half .bgrid:nth-child(2n+1) {
    clear: both;
}

.bgrid-half .bgrid {
    width: 50%;
}
.bgrid {
    padding: 0;
}

.column, .columns, .bgrid {
    position: relative;
    padding: 0 0px;
    min-height: 1px;
    float: left;
}

.item-wrap {
    overflow: hidden;
    position: relative;
}

.item .item-wrap a {
    display: block;
    cursor: pointer;
}

.item .item-wrap img {
    vertical-align: bottom;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.item .item-wrap .overlay {
    background: #ed560e;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    filter: alpha(opacity=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    opacity: 0;
    zoom: 1;
    -moz-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    -webkit-transition: opacity 0.3s ease-in-out;
    -ms-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

.item .item-wrap .portfolio-item-meta {
    position: absolute;
    top: 10%;
    left: 10%;
    filter: alpha(opacity=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    opacity: 0;
    zoom: 1;
    -moz-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    -webkit-transition: opacity 0.3s ease-in-out;
    -ms-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

.item .item-wrap .portfolio-item-meta h5 {
    font: 15px/21px "raleway-heavy", sans-serif;
    margin: 0;
    color: white;
    word-wrap: break-word;
}

.item .item-wrap .portfolio-item-meta p {
    font: 14px/18px "raleway-semibold", sans-serif;
    color: #fbcab3;
    margin: 0;
}

.more-projects {
    margin-top: 60px;
    margin-bottom: 60px;
}

.more-projects h1 {
    font: 30px/36px "raleway-bold", sans-serif;
    text-align: center;
    margin-bottom: 0;
}

.nine, .row .nine {
    width: 75%;
}

.column.centered, .columns.centered {
    float: none;
    margin: 0 auto;
}

img, video, embed, object {
    max-width: 100%;
    height: auto;
}

#map {
        height: 400px;
        width: 100%;
       }
       
/* Top Nav */

.navigation {
  height: 70px;
  background: #262626;
}

.brand {
  position: absolute;
  padding-left: 20px;
  float: left;
  line-height: 70px;
  text-transform: uppercase;
  font-size: 1.4em;
    background: #a53e42;
    z-index: 1;
  height: 70px;
}

.brand a, .brand a:visited{
    color: #ffffff;
    text-decoration: none;
    font: 24px/48px "raleway-heavy", sans-serif;
}

.nav-container {
    margin: 0 auto;
    height: 70px;
    position: fixed;
    z-index: 1;
    background: #a53e42;
    width: 100%;
}

nav {
  float: right;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
nav ul li {
      float: left;
      position: relative;
}
nav ul li a, nav ul li a:visited {
        display: block;
        padding: 0 20px;
        line-height: 70px;
        background: #a53e42;
        color: #ffffff;
        text-decoration: none;
}
nav ul li a:hover {
          background: #f53e42;
          color: #ffffff;
}
nav ul li a:not(:only-child):after {
          padding-left: 4px;
          content: ' ▾';
}
nav ul li ul li {
        min-width: 190px;
}
nav ul li ul li a {
          padding: 15px;
          line-height: 20px;
}


.nav-dropdown {
  position: absolute;
  display: none;
  z-index: 1;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile navigation */
@media only screen and (max-width: 920px) {
.nav-list {
    margin-top: 70px;
}
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  background: #a53e42;
  height: 70px;
  width: 70px;
}
@media only screen and (max-width: 920px) {
  .nav-mobile {
    display: block;
  }
  nav {
   width: 100%;
    position: fixed;
    z-index: 1;
    max-height: 70px;
    }
  nav ul {
      display: none;
      }
  nav ul li {
        float: none;
        }
  nav ul li a {
          padding: 15px;
          line-height: 20px;
        }
  nav ul li ul li a {
          padding-left: 30px;
        }
  .nav-dropdown {
    position: static;
  }
}

@media screen and (min-width: 920px) {
  .nav-list {
    display: block !important;
  }
}

#nav-toggle {
  position: absolute;
  left: 18px;
  top: 22px;
  cursor: pointer;
  padding: 10px 35px 16px 0px;
  }
#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
    cursor: pointer;
    border-radius: 1px;
    height: 5px;
    width: 35px;
    background: #ffffff;
    position: absolute;
    display: block;
    content: '';
    transition: all 300ms ease-in-out;
  }
 #nav-toggle span:before {
    top: -10px;
  }
 #nav-toggle span:after {
    bottom: -10px;
  }








