@import url(https://fonts.googleapis.com/css?family=PT+Serif:400,700);
@import url(https://fonts.googleapis.com/css?family=Lato:400,700);
@import url('https://fonts.googleapis.com/css?family=Cagliostro');

/* ==========================================================================
   Base styles
   ========================================================================== */

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

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

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

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

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

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

textarea {
    resize: vertical;
}

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

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

/* ==========================================================================
   Background Patterns
   ========================================================================== */

/* Background patterns provided by http://subtlepatterns.com/ - Subtle Patterns © Atle Mo */

.wrapper, .main-section {
     background-image: url('../img/bg/marble.jpg');
}

footer {
    background: #725e46;  
    background-image: url('../img/bg/bg_wood.jpg');
}


/* ==========================================================================
   Font Styling
   ========================================================================== */

@font-face {
    font-family: 'icomoon';
    src:    url('fonts/icomoon.eot?8aofip');
    src:    url('fonts/icomoon.eot?8aofip#iefix') format('embedded-opentype'),
        url('fonts/icomoon.ttf?8aofip') format('truetype'),
        url('fonts/icomoon.woff?8aofip') format('woff'),
        url('fonts/icomoon.svg?8aofip#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-mail:before {
    content: "\e900";
}

.icon-mail {
    font-size: 1.2em;
    margin-right: 10px;
    vertical-align: middle;
}

p {
    font-family: 'Lato', sans-serif;
    color: #a09fa5;
}

p a {
    color: #a09fa5;
}

h2 {
    font-family: 'PT Serif', serif;
    color: #f5f5f5;
}

h3 {
    font-family: 'PT Serif', serif;
    color: #f5f5f5;
}
h4 {
    font-family: 'Cagliostro', sans-serif; 
    color: #dddddd;
}

/* ==========================================================================
    Custom styles
   ========================================================================== */

.scrollup{
    width:40px;
    height:40px;
    opacity:0.3;
    position:fixed;
    bottom:50px;
    right:50px;
    display:none;
    text-indent:-9999px;
    background: url('../img/icon_top.png') no-repeat;
    z-index: 1;
}

.wrapper {
    position: relative;
    height: auto;
    min-height: 100%;
}

.main-header {
    background-image: url('../img/bg/bg_slate.jpg');
}

.row.header {
    background-image: url('../img/bg/bg_slate.jpg');
    z-index: 5;
    position: relative;
    padding: 5px;
}

.row.header .logo {
    padding-left: 10px;
}

.row.header h2 {
    line-height: 70px;
    margin: 0;
    text-align: right;
    padding-right: 20px;
}

nav {
    background-image: url('../img/bg/bg_wood.jpg');
    -webkit-box-shadow: 0 2px 3px 3px rgba(0,0,0,1);
    box-shadow: 0 2px 3px 3px rgba(0,0,0,1);
    text-align: center;
    line-height: 2.8125rem;
    min-height: 2.8125rem;
    position: relative;
    z-index: 3;
}

nav .row .columns {
    padding: 0;
}

nav .row .columns a {
	color: #ccc;	
    line-height: 2.8125rem;
    min-height: 2.8125rem;
    width: 100%;
    display: block;
}

nav .row .columns a:hover {
	color: #fff;	
    -webkit-box-shadow: 0 -3px 3px 3px rgba(0,0,0,0.8);
    box-shadow: 0 -3px 3px 3px rgba(0,0,0,0.8);
}

#gradient_header {
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #dddddd;
    background: -moz-linear-gradient(left,  #dddddd 0%, #f5f5f5 50%, #dddddd 100%);
    background: -webkit-linear-gradient(left,  #dddddd 0%,#f5f5f5 50%,#dddddd 100%);
    background: linear-gradient(to right,  #dddddd 0%,#f5f5f5 50%,#dddddd 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dddddd', endColorstr='#dddddd',GradientType=1 );
}

#gradient_header h4 {
    padding: 7px 0 3px 0;
    margin: 0;
    color: #999999;
}

.main-section .row {
    max-width: 95rem; 
}

.main-section {
    padding: 0 30px 230px 30px;
}

@media screen and (min-width: 64em) { 
    .main-section {
    padding: 0 30px 170px 30px;
    }
    footer .footerLogo {
    margin-top: 0;
    }
}

.imgBorder
{
    padding:10px;
    background-color:#a09fa5;
    display: inline-block;
    max-width: 100%;
}

.imgShadow
{
    display:block;
    position:relative;
}
 
.imgShadow img
{
    display:block;
}
 
.imgShadow::before
{
    display:block;
    content:'';
    position:absolute;
    left: 0;
    width:100%;
    height:100%;
    -moz-box-shadow:inset 0px 0px 3px 2px rgba(0,0,0,0.6);
    -webkit-box-shadow:inset 0px 0px 3px 2px rgba(0,0,0,0.6);
    box-shadow:inset 0px 0px 3px 2px rgba(0,0,0,0.6);
}

.columns video {
    max-width: 100%;
}

footer {
    padding: 20px 0;
    -webkit-box-shadow: 0 -2px 3px 3px rgba(0,0,0,0.5);
    box-shadow: 0 -2px 3px 3px rgba(0,0,0,0.5);
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;        
}

footer p, footer a  {
    color: #fff;
    margin: 0;
}

footer .columns:nth-child(3) p {
    margin-top: 14px;
}

.footerLogo {
    max-width: 200px;
    width: 100%;
    margin-top: 14px;
}

.mailText {
    vertical-align: middle;
}

.tweetLink {
    display: inline-block;
    padding: 0 10px;
}

.tweetLink a {
    background-image: url("../img/twitter.png");
    display: block;
    height: 20px;
    right: 30px;
    width: 20px;
}
.tweetLink a:hover {
    background-image: url("../img/twitter-hover.png");
}

.facebookLink {
    display: inline-block;
    padding: 0 10px;
}

.facebookLink a {
    background-image: url("../img/facebook.png");
    display: block;
    height: 20px;
    right: 5px;
    width: 20px;
}
.facebookLink a:hover {
    background-image: url("../img/facebook-hover.png");
}

/* ==========================================================================
   Kitchens
   ========================================================================== */

.kitchens-section .columns {
    text-align: center;
}

.kitchens-section h3 {
    margin-top: 20px;
}

@media only screen and (max-width: 42em) {
    
    .main-section.kitchens-section .imgBorder {
      margin: 0 0 15px 0;
    }
    
}

/* ==========================================================================
   Worktops
   ========================================================================== */

.worktops-section img {
    margin-bottom: 30px;    
}

/* ==========================================================================
   Sinks
   ========================================================================== */

.sinks-section img {
    margin-bottom: 30px;    
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contactPage {
    text-align: center;
}

.contactPage h2, .contactPage p {
    color: #222;
}

.g-recaptcha {
    width: 304px;
    margin: 0 auto 20px auto;
}

/* ==========================================================================
   Small Screens
   ========================================================================== */

@media only screen and (max-width: 42em) {
    .wrapper .main-section {
        padding: 0 30px 670px 30px;
    }
    body p {
        margin-bottom: 0.5rem;
    }
    body nav .row .columns a:hover {
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .row.header .small-12 {
        text-align: center;
    }
    .row.header .small-12 .logo {
        padding-left: 0px;
    }
    body nav .row .columns a {
        border-bottom: 1px solid #a09fa5;
        line-height: 2.2rem;
        min-height: 2.2rem;
    }
    body nav .row .columns:nth-child(1) a, body nav .row .columns:nth-child(3) a, body nav .row .columns:nth-child(5) a, body nav .row .columns:nth-child(7) a {
        border-right: 1px solid #a09fa5;
    }
    .main-section .imgBorder {
        padding: 5px;
        margin: 15px 0;
    } 
    section.main-section {
        padding: 0 15px;
    }
    body footer {
        padding: 0;
    }
    
    footer .columns:nth-child(2) p {
    margin-top: 0;
}
    body footer .row .columns {
        margin: 10px 0;
    }
}

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

.top10 {
    margin-top: 10px;   
}

.top20 {
    margin-top: 20px;   
}

.top30 {
    margin-top: 30px;   
}

.textCenter {
    text-align: center;
}

/*
 * 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;
    }
}
