/*
Theme Name: Cutter
Theme URI: http://www.elixirwebstudios.com
Description: Premium website for Cutter Hair Salon, Burton-on-Trent.
Author: Elixir Web Studios
Author URI: http://www.elixirwebstudios.com
Template: elixir-silver
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elixir
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

1 - Base Styles and Bootstrap Modifications
2 - General styles
3 - Wrap Sections
4 - Box Sections
5 - Services
6 - Portfolio
7 - Staff
8 - Blog
9 - Image Mask
10 - Pages
11 - Search
12 - Footer
13 - Social Icons
14 - Word Break
15 - Alignments
16 - Widgets
17 - Content
    17.1 - Posts and Pages
    17.2 - Asides
    17.3 - Comments
    17.4 - Post Meta
18 - Column Modules
19 - Infinite Scroll
20 - Media
    20.1 - Captions
    20.2 - Galleries
21 - Media Queries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1 - Base Styles and Bootstrap Modifications
--------------------------------------------------------------*/

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * A better looking default horizontal rule
 */

 hr {
    display: block;
    height: 2px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

 img {
    vertical-align: middle;
}

/* Hide Google ReCapture badge */
.grecaptcha-badge { 
    visibility: hidden;
}

/*
 * Allow only vertical resizing of textareas.
 */

 textarea {
    resize: vertical;
}

.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: -2px;
}

.btn:hover,
.btn:focus,
.btn.focus {
  color: #000000;
  text-decoration: none;
}

.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .075);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, .075);
}

.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
  cursor: not-allowed;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
          box-shadow: none;
  opacity: .65;
}

a.btn.disabled,
fieldset[disabled] a.btn {
  pointer-events: none;
}

.btn-default {
    font-family: "Lato";
    font-weight: 400;
    font-size: 17px;
    color: #ffffff;
    background-color: #1428a0;
    /*border-color: #333333;*/
}

.navbar-default .navbar-collapse {
   /*border-color: #181818;*/ 
}

.navbar-default {
    border: none;
}

.navbar-default .navbar-nav>li>a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.btn-default:focus,
.btn-default.focus {
    color: #ffffff;
    background-color: #1428a0;
    /*border-color: #333333;*/
}

.btn-default:hover {
    color: #ffffff;
    background-color: #008000;
    /*border-color: #333333;*/
}

.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
  color: #ffffff;
    background-color: #1428a0;
    /*border-color: #333333;*/
}

.btn-default:active:hover,
.btn-default.active:hover,
.open > .dropdown-toggle.btn-default:hover,
.btn-default:active:focus,
.btn-default.active:focus,
.open > .dropdown-toggle.btn-default:focus,
.btn-default:active.focus,
.btn-default.active.focus,
.open > .dropdown-toggle.btn-default.focus {
  color: #ffffff;
    background-color: #1428a0;
    /*border-color: #333333;*/
}

.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
  background-image: none;
}

.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus {
  background-color: #272727;
  border-color: #181818;
}

.btn-default .badge {
  color: #777777;
  background-color: #272727;
}

label {
    font-family: "Lato";
    font-weight: 400;
    font-size: 17px;
    color: #ffffff;
    width: 100%;
}

.form-control {
    background-color: #f8f9f9;
    border: 1px solid #333333;
}

.form-control:focus {
   border: 1px solid #181818; 
}

.form-actions {
    margin-bottom: 15px;
}

/* Contact Form 7 */
span.wpcf7-form-control-wrap .wpcf7-date, span.wpcf7-form-control-wrap .wpcf7-quiz, span.wpcf7-form-control-wrap .wpcf7-number, span.wpcf7-form-control-wrap .wpcf7-select, span.wpcf7-form-control-wrap .wpcf7-text, span.wpcf7-form-control-wrap .wpcf7-textarea {
    width: 100%;
}

span.wpcf7-form-control-wrap {
    width: 100%;
}

input[type=button], input[type=reset], input[type=submit] {
    background-color: #ffffff;
    border: none;
    border-radius: 10px;
    color: #1428a0;
}

.row {
    padding-top: 15px;
}

/*--------------------------------------------------------------
2 - General Styles
--------------------------------------------------------------*/

html,
body {
    height: 100%;
}

body {
    font-family: "Lato";
    font-weight: 400;
    font-size: 17px;
    color: #000000;
    background-color: #ffffff;

    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

/*.container {
    width: 100%;
}*/

.navbar-default .navbar-nav li a {
    font-family: "Raleway", Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: #ffffff;
    font-size: 18px;
    font-weight: bolder;
}

.navbar {
    min-height: 130px;
    margin-bottom: 0px;
}

.navbar-nav li a {
    padding-left: 23px;
}

.navbar-default {
/*border-bottom: 1px solid #181818;*/
background-color: #1428a0;
}


.navbar-toggle {
/*border-color: transparent;*/
border: 0px solid transparent;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:active,
.navbar-default .navbar-nav>.active>a:hover {
    /*text-decoration: underline;*/
    /*color: #777777;*/
    /*text-decoration: underline;*/
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    color: #ffffff;
    background-color: #1428a0;
}

.navbar-default .navbar-nav .active > a {
    background-color: #1428a0;
}

a.navbar-brand {
    font-size: 18px;
}

.navbar-brand>img {
    height: 90px;
    margin-top: 8px;
}

a.navbar-brand:hover {
    color: #ffffff;
}

.navbar-toggle {
    padding-top: 50px;
}

.navbar-collapse {
    margin-top: 40px;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: #1428a0;
}

.navbar-brand {
    padding: 13px 22px;
}

.nav>li>a {
    padding-left: 21px;
    padding-right: 19px;
}

.dropdown-menu>li>a:visited, .dropdown-menu>li>a:active, .dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {
    color: #ffffff!important;
    background-color: #272727!important;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #ffffff;
}
hr {
    position: relative;
    border: none;
}

hr:before {
    content: " ";
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 2px;
    background: #ccc;
}

a img {
    background: transparent;
}

.odd a img {
    background: #f5f5f5;
}

/* Titles */
h1, h2, h3, h4, h5, h6 {
    font-family: "Raleway", Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: #000000;
    line-height: 1.6;
}

h2 {
    font-size: 24px;
    font-weight: bolder;
}


/* Paragraph & Typographic */
p {
    line-height: 28px;
}

.centered {
    text-align: center;
}

.paragraph-lead {
    font-size: 20px;
    color: #3498db;
}

strong {
    font-weight: 700;
}

em {
    font-weight: 300;
}

pre {
    background: #ebebeb;
    border: none;
    font-family: "Monaco";
    font-size: 16px;
    color: #666;
    padding: 20px;
    line-height: 28px;
}

small {
    font-size: 12px;
}

blockquote,
blockquote p {
    line-height: 28px;
    color: #999;
    font-weight: 300;
    font-style: italic;
}

blockquote {
    position: relative;
    margin: 0 0 40px -30px;
    padding-left: 30px;
    border-left: 5px solid #3498db;
}

blockquote cite {
    position: absolute;
    bottom: -25px;
    right: 0;
    font-size: 12px;
    font-style: italic;
    color: #333;
    font-weight: 300;
}

blockquote cite:before {
    content: "-- "
}

/* Images */
.overflow-image {
    margin-top: -65px;
}

/* Links */
a {
    color: #3498db;
    word-wrap: break-word;

    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

a:hover,
a:focus {
    color: #3498db;
    text-decoration: underline;
    outline: 0;
}

a:before,
a:after {
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}


.about-img img.wp-post-image {
    height: auto;
    width: 100%;
    box-shadow: 0 1px 3px #272727;
}

.pic-border {
    box-shadow: 0 1px 3px #272727;
}


/*--------------------------------------------------------------
3 - Wrap Sections
--------------------------------------------------------------*/

.wrap-section {
    padding-top: 30px;
    /*padding-bottom: 30px;*/
}

.footer-section {
    padding-top: 20px;
    padding-bottom: 20px;
}

.wrap-section hr {
    margin-bottom: 40px;
}

.headerwrap {
    background: url('images/header_bg.jpg') no-repeat center top;
    margin-top: -50px;
    padding-top:120px;
    text-align:center;
    background-attachment: relative;
    background-position: center center;
    min-height: 450px;
    max-height: 450px;
    width: 100%;
    
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.headerwrap h1 {
    color: #777777;
    margin-top: 50px;
    padding-bottom: 30px;
    letter-spacing: 2px;
    font-size: 65px;
    font-weight: bold;
    text-shadow: 3px 4px 3px #000;
}

.headerwrap p {
    color:#ffffff;
    font-size: 30px;
    font-weight: 400;
    text-align: center;
    line-height: 40px;
    letter-spacing: 3px;
    margin-left: 15px;
    margin-top: 50px;
    text-shadow: 1px 1px 1px #000;
}

/*.colorwrap {
    background: #555;
    margin-top: 0px;
    padding-top: 60px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}*/

.colorwrap-alt {
    background-color: #ffffff;
}

.footer-columns {
    background: #f5f5f5;
    border-top: 1px solid #ddd;
}

.footerwrap {
    background: #2b2b2b;
    margin-top: 0px;
    padding-top: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.footerwrap h4 {
    color: white;
}

.parallax {
    height: 600px;
    background-color: #1428a0;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-attachment: fixed;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    
    text-align: center;
}

.parallax h1 {
    line-height: 1.4;
    color:#ffffff;
    margin-top: 120px;
    padding-bottom: 30px;
    letter-spacing: 8px;
    font-size: 65px;
    font-weight: bold;
    /*text-shadow: 2px 2px 2px #000;*/
}

.parallax h2 {
    line-height: 1.4;
    color:#ffffff;
    margin-top: 120px;
    padding-bottom: 30px;
    letter-spacing: 8px;
    font-size: 65px;
    font-weight: bold;
}

.parallax h2, h3, h4, h5, h6 {
    color: #ffffff;
}

.parallax p {
    color:#ffffff;
    font-size: 30px;
    font-weight: 400;
    text-align: center;
    line-height: 40px;
    letter-spacing: 3px;
    margin-left: 15px;
    margin-top: 50px;
    text-shadow: 1px 1px 1px #000;
}

.narrow {
    height: 600px;
    background-position: 50% 50%; 
    box-shadow: 0 1px 3px #272727;   
    margin-bottom: 30px;
}

.narrow-text {
    font-size: 36px;
    color: #777777;
    background-color: #272727;
    padding: 10px 15px;
    opacity: 0.8;
    margin-left: 15px;
    margin-right: 30px;
    position: absolute;
}

.narrow-text-position {
    padding-top: 5px;
    padding-left: 5px;
}

/*--------------------------------------------------------------
4 - Box Sections
--------------------------------------------------------------*/

/* Section Dividers */
.section-divider {
    z-index: 999;
    width: 100%;
    display: table;
    max-height: 300px;
    min-height: 300px;
    border-bottom: 2px solid #E6EAED;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 30px;
    padding-bottom: 70px;
    margin-top: 45px;
    margin-bottom: -53px;


    background-position: right center;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    background-attachment: relative;
    
    text-align: center;
}

.textdivider h1 {
    padding-top: 60px;
    color: white;
    font-size: 40px;
    margin-top: 60px;
}

.textdivider p {
    color: white;
    font-size: 25px;
}


/* Parallax Dividers */
.parallax-divider {
    height: 600px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-attachment: fixed;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    text-align: center;
}

.parallax-divider h1 {
    padding-top: 60px;
    color: white;
    font-size: 40px;
    margin-top: 60px;
}

.parallax-divider p {
    color: white;
    font-size: 25px;
}

.col-divider {
    height: 600px;
    width: 100%;
}

/*.two-pic {
    
}*/

.two-pic-image {
    height: 450px;
    
    background-position: 50% 50%;
    background-repeat: no-repeat;
    box-shadow: 0 1px 3px #272727;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.two-pic-text h2 {
    color: #777777;
    background-color: #272727;
    font-size: 26px;
    opacity: 0.8;
    margin-left: 15px;
    margin-right: 15px;
    padding: 10px 15px;
    text-align: center;
}

.two-pic-text a {
    color: #777777;
}

/*.two-pic-text a:hover {
    text-decoration: none;
}*/

.two-pic-position {
   padding-top: 365px; 
}

/*--------------------------------------------------------------
5 - Services and Products
--------------------------------------------------------------*/

.services-item {
    height: 450px;
    margin-bottom: 30px;
    
    background-position: 50% 50%;
    background-repeat: no-repeat;
    box-shadow: 0 1px 3px #272727;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.services > .row > .col-lg-6:nth-last-child(1), .services > .row > .col-lg-6:nth-last-child(2) {
    margin-bottom: -30px;
}
 
.services-title-box {
    padding-top: 380px;
}

.services-title {
    color: #777777;
    background-color: #272727;
    opacity: 0.8;
    margin-left: 15px;
    margin-right: 15px;
    padding: 10px 15px;
    text-align: center;
    font-family: "Raleway", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 26px;
}

.services-title a {
    color: #777777;
}

.services-icon {
    margin-bottom: 0;
    height: auto;
    min-width: 100%;
    margin-top: 10px; 
    margin-bottom: 5px;
}

.services-link-box {
    background-color: #272727;
    opacity: 0.8;
    margin-left: 15px;
    margin-right: 15px;
    padding: 10px 15px;
    margin-top: 320px;
    text-align: center;
    font-family: "Raleway", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 26px;
}

.services-link {
    color: #777777;   
}

.services-link:hover {
    text-decoration: none!important;
}

.services .thumbnail {
    margin-bottom: 5px;
}

.services p {
    padding-top: 10px;
}

figcaption {
    padding-top: 2px;
    padding-bottom: 2px;
    margin-top: 0px;
    margin-bottom: 2px;
    background-color: #d3d3d3;
}

figcaption a {
    font-weight: 500;
    color: #333333;
    padding-left: 10px;
}

figcaption a:hover {
    color: #333333;
    text-decoration: none;
    padding-left: 10px;
}

figure:hover {
    opacity: 0.7;
}

.products-item {
    height: 370px;
    margin-bottom: 30px;
    border-radius: 10px;
    
    background-position: 50% 50%;
    background-repeat: no-repeat;
    box-shadow: 0 1px 3px #272727;
    background-color: #ffffff;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.products > .row > .col-lg-6:nth-last-child(1), .products > .row > .col-lg-6:nth-last-child(2) {
    margin-bottom: -30px;
}
 
.products-title-box {
    padding-top: 380px;
}

.products-title {
    color: #000000;
    padding: 10px 15px;
    text-align: center;
    font-family: "Raleway", Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 19px;
}

.products-title a {
    color: #000000;
}

.products-title:hover {
    color: #000000;
    text-decoration: underline;
}

.products-icon {
    margin-bottom: 0;
    height: auto;
    min-width: 100%;
    margin-top: 10px; 
    margin-bottom: 5px;
}

.products-link-box {
    background-color: #272727;
    opacity: 0.8;
    margin-left: 15px;
    margin-right: 15px;
    padding: 10px 15px;
    margin-top: 320px;
    text-align: center;
    font-family: "Raleway", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 26px;
}

.products-link {
    color: #777777;   
}

.products-link:hover {
    text-decoration: none!important;
}

.products .thumbnail {
    margin-bottom: 5px;
}

.products p {
    padding-top: 10px;
    font-size: 20px;
}

.products-item img.img-responsive.wp-post-image {
    height: 300px;
    width: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

h4.products-title-align {
    padding-top: 10px;
}

/*--------------------------------------------------------------
6 - Portfolio
--------------------------------------------------------------*/

.portfolio-item {
    margin: 15px 0;
    border: 1px solid #dddddd;
    -webkit-border-radius: 4px;
    background-color: #eaeaea;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.24);
}
 
.portfolio-title-align {
    text-align: center;
}

.portfolio-title {
    font-weight: 400;
    color: #000000;
}

.portfolio-title:hover {
    color: #000000;
}

.portfolio-icon {
    margin-bottom: 0;
    height: auto;
    min-width: 100%;
    margin-top: 10px; 
    margin-bottom: 5px;
}

#portfolio-link {
    background-color: #eaeaea;
    width: 100%;
    margin-left: 0!important;
    padding-top: 13px;
    padding-bottom: 13px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 2px solid #dddddd;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
}

#portfolio-link:hover {
    text-decoration: none!important;
    background-color: #d3d3d3;
}

.portfolio .thumbnail {
    margin-bottom: 5px;
}

.portfolio p {
    padding-top: 10px;
}

/*--------------------------------------------------------------
7 - Staff
--------------------------------------------------------------*/

.staff-item {
    margin: 15px 0;
    border: 1px solid #dddddd;
    -webkit-border-radius: 4px;
    background-color: #eaeaea;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.24);
}
 
.staff-title-align {
    text-align: center;
}

.staff-title {
    font-weight: 400;
    color: #000000;
}

.staff-title:hover {
    color: #000000;
}

.staff-icon {
    margin-bottom: 0;
    height: auto;
    min-width: 100%;
    margin-top: 10px; 
    margin-bottom: 5px;
}

#staff-link {
    background-color: #eaeaea;
    width: 100%;
    margin-left: 0!important;
    padding-top: 13px;
    padding-bottom: 13px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 2px solid #dddddd;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
}

#staff-link:hover {
    text-decoration: none!important;
    background-color: #d3d3d3;
}

.staff .thumbnail {
    margin-bottom: 5px;
}

.staff p {
    padding-top: 10px;
}

/*--------------------------------------------------------------
8 - Blog
--------------------------------------------------------------*/

.post {
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.post-meta {
    margin-bottom: 10px;
}

/*--------------------------------------------------------------
9 - Image Mask
--------------------------------------------------------------*/

/*.grid {
    padding-bottom: 30px;
}

.grid figure {
    margin: 0;
    position: relative;
}

.grid figure img {
    width: 100%;
    display: block;
    position: relative;
}

.grid figcaption {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    color: #fff;
    background: #3498db;
}

.grid figcaption h5 {
    margin: 0;
    padding-top: 0px;
    padding-left: 20px;
    padding-bottom: 5px;
    color: #fff;
    font-weight: 700;
    text-align: left;
    letter-spacing: 2px;
    
}

.grid figcaption a {
    text-align: left;
    padding: 5px 10px;
    margin-left: 20px;
    display: inline-block;
    background: #2f2f2f;
    color: #fff;
    font-size: 13px;
}

/* Caption Style */
.mask figure {
    overflow: hidden;
}

.mask figure img {
    -webkit-transition: -webkit-transform 0.4s;
    -moz-transition: -moz-transform 0.4s;
    transition: transform 0.4s;
}

.no-touch .mask figure:hover img,
.mask figure.cs-hover img {
    -webkit-transform: translateY(-30px);
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    transform: translateY(-30px);
}

.mask figcaption {
    height: 50px;
    width: 100%;
    top: auto;
    bottom: 0;
    opacity: 0;
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
    transition: transform 0.4s, opacity 0.1s 0.3s;
}

.no-touch .mask figure:hover figcaption,
.mask figure.cs-hover figcaption {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s;
    transition: transform 0.4s, opacity 0.1s;
}

.mask figcaption a {
    position: absolute;
    top:10px;
    bottom: 10px;
    right: 30px;
}

/*--------------------------------------------------------------
10 - Pages
--------------------------------------------------------------*/

.page-content {
    padding: 40px 0;
}

.pagewrap {
    background-color: #1428a0;
    /*background: url('images/header_bg.jpg') no-repeat center top;*/
    /*margin-top: -50px;*/
    /*margin-bottom: 20px;*/
    /*padding-top:75px;*/
    text-align:center;
    background-attachment: relative;
    background-position: center center;
    min-height: 130px;
    width: 100%;
    border-top: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.pagewrap h1 {
    color:#ffffff;
    margin-top: 35px;
    padding-bottom: 30px;
    letter-spacing: 8px;
    font-size: 40px;
    font-weight: bold;
    font-variant: all-small-caps;
    /*text-shadow: 2px 2px 2px #000;*/
}

.pagewrap p {
    color:#ffffff;
    font-size: 40px;
    font-weight: 400;
    text-align: center;
    line-height: 40px;
    letter-spacing: 3px;
    margin-left: 15px;
    text-shadow: 1px 1px 1px #000;
}

.about-pic img {
    height: max-content;
}

/*.services .fa {
    font-size: 60px;
    line-height: 30px;
    margin-bottom: 10px;
}

.services .callout {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.services .callout p {
    letter-spacing: 1px;
    padding-top: 15px;
    padding-bottom: 15px;
}*/

.callout {
    padding-bottom: 60px;
}

.callout p {
    line-height: 25px;
}

/*--------------------------------------------------------------
11 - Search
--------------------------------------------------------------*/

.search-highlight {
    background:#FFFF00  
}

/*--------------------------------------------------------------
12 - Footer
--------------------------------------------------------------*/

#colophon {
    margin-top: 30px;
    border-top: 2px solid #ffffff;
    background-color: #1428a0;
    padding-top: 15px;
}

.footer-info {
    color: #777777;
}

/*.footer-info .textwidget p {
    line-height: 1.2;
}*/

.footer-info h4 {
    color: #777777;
    font-weight: 400;
    /*padding-bottom: 10px;*/
}
 
.footer-menu {
    margin-left:0;
    padding:0 0 30px 0;
}
 
.footer-menu li {
    display:inline;
    list-style-type:none;
}
 
.footer-menu li a {
    border-left:1px solid #ddd;
    padding: 0 8px;
}
 
.footer-menu > li:first-child > a {
    border-left:none;
    padding:0 8px 0 0;
}

#menu-footer li a {
    font-family: "Raleway", Helvetica, Arial, sans-serif;
    color: #ffffff;
    font-weight: 400;
    font-size: 18px;
}

#menu-footer li a:hover {
    text-decoration: underline;
}

/*--------------------------------------------------------------
13 - Social Icons
--------------------------------------------------------------*/

.social-icons {
    font-size: 32px;
    padding-bottom: 20px;
}

.social-icons a {
    /*color: #555;*/
    color: #FFFFFF;
}
 
.social-icons a:hover{
    text-decoration: none;
    color: #FFFFFF;
}

.social-icons a:link{
    text-decoration: none;
    /*color: #555;*/
    color: #FFFFFF;
}

/*--------------------------------------------------------------
14 - Word Break
--------------------------------------------------------------*/

#primary, #secondary, div.container {

  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;

}

/*--------------------------------------------------------------
15 - Alignments
--------------------------------------------------------------*/

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}
.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}
.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto;
}

/*--------------------------------------------------------------
16 - Widgets
--------------------------------------------------------------*/

.widget-area {
    margin: 0 0 0;
}

.widget {
    margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
    max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
    display: none;
}

.widget ul {
    list-style: none;
    padding-left: 0px;
}

/*.textwidget p {
    line-height: 1;
}*/

/*--------------------------------------------------------------
17 - Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
17.1 Posts and Pages
--------------------------------------------------------------*/

.sticky {
}

.blog .hentry {
    margin: 0 0 1.8em;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1.8em;
}

.byline,
.updated {
    display: none;
}
.single .byline,
.group-blog .byline {
    display: inline;
}
.page-content,
.entry-content,
.entry-summary {
    margin: 0 0 0;
}
.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

img.wp-post-image {
    margin-bottom: 0px;
}

.author-meta {
    margin-top: 40px;
}
 
.author-meta .avatar {
    border-radius: 50%;
}

.author-meta .fa{
    font-size: 22px;
}

/*--------------------------------------------------------------
17.2 Asides
--------------------------------------------------------------*/

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
    display: none;
}

/*--------------------------------------------------------------
17.3 Comments
--------------------------------------------------------------*/

.comment-content a {
    word-wrap: break-word;
}
.bypostauthor {
}
 
.comments-title, .comment-reply-title {
    padding-bottom: 9px;
    margin: 40px 0 20px 0;
    border-bottom: 1px solid #eee;
}
 
ol.comment-list {
    list-style:none;
    padding-left: 0;
}
 
.comment-author .avatar {
    margin-right: 25px;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    padding: 4px;
}
 
.comment-meta {
    margin-top: 20px;
    margin-bottom: 20px;
}
 
.comment-details {
    overflow: hidden;
    zoom: 1;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
}
 
.comment-details .reply {
    margin-top: 10px;
}
 
.comment-date a {
    font-size: 11px;
    color: #777;
    margin-right: 10px;
}
 
#commentform #comment {
    width: 100% !important;
}
 
#commentform #submit {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
 
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}
 
#commentform #submit:hover{
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

/*--------------------------------------------------------------
17.4 Post Meta
--------------------------------------------------------------*/
 
.entry-meta span {
    margin-right: 20px;
    display: inline-block;
}
 
.entry-meta span:last-child {
    margin-right: 0;
}
 
.entry-meta span .fa{
    color: #bcbcbc;
}
 
.entry-meta span a {
    color: #777;
    text-decoration: none;
}
 
.entry-meta span a:hover {
    text-decoration: underline;
}

/*--------------------------------------------------------------
18 - Column Modules
--------------------------------------------------------------*/
.three-column {
    text-align: center;
    /*padding-bottom: 20px;*/
    /*padding-top: 60px;*/
}

.three-column i {
    font-size: 72px
}

.three-column img {
    height: max-content;
    width: max-content;
}

.headed-three-column {
    text-align: center;
    padding-bottom: 20px;
    padding-top: 60px;
}

.two-column p {
    text-align: left;
    padding-bottom: 20px;
    /*padding-top: 40px;*/
}

.two-column h2 {
    text-align: center;
    padding-bottom: 20px;
    /*padding-top: 20px;*/
    margin-top: -25px;
}

/*--------------------------------------------------------------
19 - Infinite Scroll
--------------------------------------------------------------*/

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
    display: none;
}
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
20 - Media
--------------------------------------------------------------*/

.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}
/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object,
img {
    max-width: 100%;
}

/*--------------------------------------------------------------
20.1 Captions
--------------------------------------------------------------*/

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 0 auto;
}
.wp-caption-text {
    text-align: center;
}
.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

/*--------------------------------------------------------------
20.2 Galleries
--------------------------------------------------------------*/

.gallery {
    margin-bottom: 1.5em;
}
.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}
.gallery-columns-2 .gallery-item {
    max-width: 50%;
}
.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
    max-width: 25%;
}
.gallery-columns-5 .gallery-item {
    max-width: 20%;
}
.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}
.gallery-caption {}

/*--------------------------------------------------------------
21 - Media Queries 
--------------------------------------------------------------*/
 
/* Custom, iPhone Retina */ 
@media only screen and (min-width : 320px) {
    
}
 
/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) {
 
}
 
/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

    .headerwrap h1 {
        font-size: 65px;
        margin-top: 75px;
    }

    .headerwrap p {
        font-size: 40px;
        line-height: 60px;
    }

    .pagewrap h1 {
        font-size: 70px;
    }

    .navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse, .navbar-static-top .navbar-collapse {
        margin-top: 8px;
    }

    .navbar-nav>li>a, .navbar-nav>li>a:hover, .navbar-nav>li>a:focus, .navbar-nav>li>a:active, .navbar-nav>li>a:visited {
    margin-top: -7px;
    padding-top: 23px;
    padding-bottom: 26px;
    }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
 
    .copyright {
        float: right;
    }

    .social-icons {
        float: right;
    }
}
 
/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
 
}

@media screen and (max-width:1050px), screen and (max-device-width:1050px){
    body .header{background-attachment: scroll;}
}


/*ipad portrait*/
@media only screen and (min-device-width:768px) and (max-device-width : 768px) and (orientation : portrait){
    .header{background-attachment: scroll;}
}

@media only screen and (max-width : 768px) {

    .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:active, .navbar-default .navbar-nav>.active>a:hover {
        background-color: #1428a0;
    }

}

@media only screen and (max-width : 992px) {

    .services > .row > .col-lg-6:nth-last-child(2) {
        margin-bottom: 30px;
    }

    .two-pic:first-child {
        margin-bottom: 30px;
    }

    .parallax h1 {
        font-size: 42px;
        margin-top: 46px;
    }
    .parallax h2, h3, h4, h5, h6 {
        font-size: 24px;
    }

    .pagewrap h1 {
        margin-top: 30px;
    }

    /* Remove parallax on mobile because it looks shit */
    .parallax {
    height: 602px;
    background-attachment: unset;  
    }
}

}