/*
Theme Name: Craig Morrow
Theme URI: http://www.craigmorrow.co.uk/
Description: Bespoke Theme built using Bootstrap 3 for Craig Morrow
Author: Elms Creative
Author URI: http://www.elmscreative.com/
Version: 1.2
*/

@import url("https://fonts.googleapis.com/css?family=Helvetica:300,300i,400,400i,500,500i,700,700i,900,900i");

@font-face {
    font-family: "Yanone Kaffeesatz";
    src: url("fonts/YanoneKaffeesatz-Light.woff2") format("woff2"),
        url("fonts/YanoneKaffeesatz-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: "Yanone Kaffeesatz";
    src: url("fonts/YanoneKaffeesatz-Bold.woff2") format("woff2"),
        url("fonts/YanoneKaffeesatz-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: "Yanone Kaffeesatz";
    src: url("fonts/YanoneKaffeesatz-Thin.woff2") format("woff2"),
        url("fonts/YanoneKaffeesatz-Thin.woff") format("woff");
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: "Yanone Kaffeesatz";
    src: url("fonts/YanoneKaffeesatz-Regular.woff2") format("woff2"),
        url("fonts/YanoneKaffeesatz-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

/* ==========================================================================
Elements
========================================================================== */

html,
body {
    height: 100%;
}
html {
    overflow-x: hidden;
    overflow-y: auto;
    background: #000;
}
body {
    padding: 0px;
    font-family: "Helvetica", Arial, Helvetica, sans-serif;
    color: #aaa;
    -webkit-font-smoothing: antialiased;
    background: none;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0 0 1em;
    padding: 0;
    color: #fff;
    font-family: "Yanone Kaffeesatz", "Georgia", "Times New Roman", "Times",
        "serif" !important;
    font-weight: 300;
    text-transform: capitalize;
}
h4,
h5 {
    margin: 0 0 10px;
    padding: 0;
    color: #fff;
    font-family: "Yanone Kaffeesatz", "Georgia", "Times New Roman", "Times",
        "serif" !important;
    font-weight: 300;
    text-transform: capitalize;
}
h1 {
    font-size: 32px;
}
h2 {
    font-size: 26px;
}
h3 {
    font-size: 22px;
}
h4 {
    font-size: 16px;
}
h5 {
    font-size: 10px;
}

hr {
    width: 100%;
    height: 1px;
    padding: 0;
    margin: 0px;
    border-top: #333 1px solid;
    border-bottom: none;
    border-left: none;
    border-right: none;
}

p {
    margin: 0 0 1.6em;
    font-size: 1em;
    line-height: 1.4;
    font-weight: normal;
}
span {
    color: #04111d;
}
span.required,
.error {
    color: #e5090d;
}
small {
    font-size: 0.9em;
}
address {
    font-size: 1em;
}
blockquote p {
    font-size: inherit;
    font-style: italic;
    line-height: 1.8;
}
i {
    color: inherit;
}
.fa {
    font-size: inherit;
}

form {
    width: 100%;
    height: auto;
    position: relative;
    margin: 0;
    padding: 0px;
    display: block;
    overflow: hidden;
}
label {
    margin: 0.5em auto;
    padding: 0;
    font-size: 1em;
    display: block;
    text-align: left;
    clear: both;
}
input[type="text"],
input[type="url"],
input[type="date"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 6px;
    margin: 0px auto 12px;
    color: #ccc;
    font-size: 1em;
    background: #333;
    border: #121212 1px solid;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    font-family: "Helvetica", Arial, Helvetica, sans-serif !important;
}
input[type="checkbox"] {
    margin: 0;
}
input[type="file"] {
    margin: 0;
    width: 100%;
    padding: 4px 4px 6px;
    font-size: 1em;
    color: #2a2a2a;
}
select {
    width: 100%;
    padding: 4px 12px;
    margin: 0px auto 12px;
    color: #ccc;
    font-size: 1em;
    height: 32px;
    font-family: "Helvetica", Arial, Helvetica, sans-serif !important;
    -webkit-appearance: none;
    background: #333;
    border: #121212 1px solid;
}
textarea {
    width: 100%;
    min-height: 120px;
    max-height: 120px;
    padding: 6px;
    margin: 0px auto 10px;
    font-size: 1em;
    background: #333;
    border: #121212 1px solid;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    font-family: "Helvetica", Arial, Helvetica, sans-serif !important;
}

label > span {
    font-size: inherit;
    color: #ccc;
}
.form-control {
    padding: 6px;
}

input[type="submit"],
button {
    width: 100%;
    font-size: 1.1em;
    padding: 14px 12px;
    text-decoration: none;
    display: block;
    color: #fff !important;
    text-align: center;
    background: #262626;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    border: #fff 0px solid;
}
input[type="submit"]:hover,
button:hover {
    color: #ccc !important;
    text-decoration: none;
    background: #202020;
}
.btn {
    width: 100%;
    font-size: 1.1em;
    padding: 14px 12px;
    text-decoration: none;
    display: block;
    color: #fff !important;
    text-align: center;
    background: #262626;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    border: #fff 0px solid;
}
.btn:hover {
    color: #ccc !important;
    text-decoration: none;
    background: #202020;
}

.nostyle {
    font-size: inherit !important;
    padding: 20px !important;
    color: inherit !important;
    background: none !important;
    border: none !important;
}
.nostyle:hover {
    box-sizing: border-box !important;
    background-color: rgb(255, 255, 255) !important;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.15) !important;
}

.alignleft {
    float: left;
    margin: 0 20px 20px 0;
    border: none;
}
.alignright {
    float: right;
    margin: 0 20px 0 20px;
    border: none;
}
.aligncenter {
    float: none;
    margin: 20px auto;
    display: block;
    border: none;
}

.padded {
    padding: 6px 12px;
}
.no-padding {
    padding: 0px !important;
}
.no-padding-right {
    padding: 0px 0px 0px 15px;
}
.no-margin {
    margin: 0px;
}
.no-bullets {
    list-style: none;
}

.gap-ext2 {
    display: block;
    position: relative;
    margin: 60px 0;
    clear: both;
    overflow: hidden;
}
.gap-ext {
    display: block;
    position: relative;
    margin: 30px 0;
    clear: both;
    overflow: hidden;
}
.gap {
    display: block;
    position: relative;
    margin: 15px 0;
    clear: both;
    overflow: hidden;
}
.gap-mini {
    display: block;
    position: relative;
    margin: 8px 0;
    clear: both;
    overflow: hidden;
}
.gap-very-mini {
    display: block;
    position: relative;
    margin: 4px 0;
    clear: both;
    overflow: hidden;
}

/* ==========================================================================
Structure
========================================================================== */

#wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
    overflow: hidden;
}

header {
    position: relative;
    z-index: 25;
    background: #000;
    border-bottom: #1a1a1a 2px solid;
}
header .logo {
    max-width: 180px;
    margin: 14px 0px;
}

.section {
    padding: 20px 0px;
}

footer {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 20px 0px;
    position: relative;
    background: #000;
    border-top: #1a1a1a 2px solid;
}
footer p {
    margin: 0px auto;
    font-size: 0.9em;
    color: #575759;
    text-transform: uppercase;
}
footer a:active,
footer a:visited,
footer a:link {
    font-weight: bold;
    color: #fff;
}
footer a:hover {
    color: #ccc;
}

/* ==========================================================================
Links and Navigation
========================================================================== */

a {
    font-weight: 800;
    text-decoration: none;
    -moz-transition: color 0.1s linear 0.1s;
    -webkit-transition: color 0.1s linear 0.1s;
    -o-transition: color 0.1s linear 0.1s;
    transition: color 0.1s linear 0.1s;
}
a:hover {
    text-decoration: none;
}
a:active,
a:visited,
a:link {
    color: #fff;
}
a:hover {
    color: #ccc;
}
a[href^="tel"] {
    color: #ccc;
    text-decoration: none;
}
a[href^="tel"]:hover {
    color: #ccc;
    text-decoration: none;
}

.navbar-collapse {
    padding: 0 !important;
}
.navbar-toggle {
    float: right;
    width: 42px !important;
    position: relative;
    padding: 5px 10px 10px;
    margin: 30px 10px 30px 0px !important;
    background: rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
    -moz-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
    text-shadow: none;
    border: 0px solid #9c9c9c;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    background: none;
}
.navbar-toggle:hover {
    border: 0px solid #ccc !important;
    background: none;
}
.navbar-toggle span {
    color: #ccc !important;
}
.navbar-toggle span.icon-bar {
    width: 100%;
    background: #ccc !important;
}
.navbar-toggle:hover span {
    color: #ccc !important;
}
.navbar-toggle:hover span.icon-bar {
    background: #ccc !important;
}
.navbar-toggle .icon-bar {
    height: 1px;
    margin-top: 4px;
}

#primary {
    float: none;
    width: 100%;
    height: auto;
    margin: 26px auto;
    padding: 0px;
    position: relative;
    list-style: none;
    text-align: right;
}
#primary > li {
    float: none;
    width: auto;
    height: auto;
    margin: 0px 0px 0px 25px;
    padding: 0px;
    display: inline-block;
    position: relative;
    top: 1px;
    vertical-align: text-top;
}
#primary > li:last-child {
    margin: 0px 0px 0px 10px;
}
#primary > li.social > a {
    padding: 0px;
}
#primary > li > a {
    margin: 0px;
    padding: 2px 12px;
    color: #ccc;
    font-size: 0.9em;
    font-weight: bold;
    line-height: 2;
    text-align: left;
    text-transform: capitalize;
}
#primary > li > a:hover {
    color: #fff;
    background: none;
}
#primary > li.active > a {
    color: #fff;
    background: #262626;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.dropdown-menu {
    margin: 0px auto 0 !important;
    padding: 0 !important;
}
.dropdown-menu > li {
    width: 100% !important;
    font-size: 0.9em !important;
    background: #262626 !important;
    border: none !important;
}
.dropdown-menu > li:hover {
    background: #262626 !important;
}
.dropdown-menu > li > a {
    padding: 6px 14px !important;
    margin: 0;
    line-height: 2 !important;
    text-align: left !important;
    color: #ccc !important;
    font-size: inherit !important;
    font-weight: bold !important;
    border-bottom: #181818 1px solid !important;
    border-top: #2d2d2d 1px solid !important;
}
.dropdown-menu > li.active > a {
    color: #fff !important;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    color: #fff !important;
    background: #262626 !important;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .active > a:hover {
    background: none !important;
}

.nav > li > a:focus,
.nav > li > a:hover {
    background-color: transparent;
}
.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover {
    background-color: transparent;
}

/* ==========================================================================
Misc
========================================================================== */

.smaller {
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.8);
}
.smaller #primary > li > a {
    color: #04111d;
}
.smaller #primary > li.active > a,
.smaller #primary > li:hover > a {
    color: #ccc;
}
.smaller .logo-inverted {
    max-width: 180px;
    margin: 14px 0px;
    display: block;
}
.smaller .logo {
    display: none;
}

section#content ul,
section#content ol {
    width: 96%;
    height: auto;
    margin: 0 auto 20px;
    padding: 0px 0px 0px 20px;
}
section#content ol {
    padding: 0;
    list-style: none;
}
section#content ul li,
section#content ol li {
    margin-bottom: 4px;
    font-size: 1.1em;
}
section#content ul li ol,
section#content ol li ol {
    list-style: none;
}
section#content ul li ol li,
section#content ol li ol li {
    margin-bottom: 6px;
    font-size: inherit;
}

.fa-twitter,
.fa-facebook {
    font-size: 1.2em;
    color: #fff;
    background: #262626;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 8px 10px;
}
.date-badge {
    float: left;
    background: transparent url("img//bg-blog-date.png") 50% 50% no-repeat;
    color: #fff;
    font-size: 30px;
    font-family: Georgia, "Times New Roman", Times, serif;
    line-height: 32px;
    text-align: center;
    width: 58px;
    height: 58px;
    font-style: italic;
}
.date-badge span {
    font-size: 16px;
    display: block;
    line-height: 15px;
}
.blog-title {
    margin: 10px 0px 10px -9px;
    font-style: italic;
    line-height: 30px;
    padding-left: 80px;
    font-size: 28px;
}
.sidebar {
    padding-left: 20px;
    border-left: 1px solid #292929;
}

.vp-portfolio__items-style-fade.vp-portfolio__items-show-overlay-hover .vp-portfolio__item-focus-visible .vp-portfolio__item-overlay, .vp-portfolio__items-style-fade.vp-portfolio__items-show-overlay-hover .vp-portfolio__item:hover .vp-portfolio__item-overlay {
    opacity: 0.5 !important;
}

/* ==========================================================================
Contact Form 7
========================================================================== */

div.wpcf7 {
    margin: 0;
    padding: 0;
}
div.wpcf7-response-output {
    margin: 0px auto 10px;
    padding: 0.2em 1em;
    font-size: 1em;
    color: #04111d;
    background: #fff;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-family: "Lato", Arial, Helvetica, sans-serif !important;
}
div.wpcf7 .screen-reader-response {
    position: absolute;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    width: 1px;
    margin: 0;
    padding: 0;
    border: 0;
}
div.wpcf7-mail-sent-ok {
    border: 1px solid #398f14;
}
div.wpcf7-mail-sent-ng {
    border: 1px solid #ff0000;
}
div.wpcf7-spam-blocked {
    border: 1px solid #ffa500;
}
div.wpcf7-validation-errors {
    border: 1px solid #f7e700;
}
div.wpcf7 img.ajax-loader {
    border: none;
    vertical-align: middle;
    margin-left: 4px;
}
div.wpcf7 div.ajax-error {
    display: none;
}
div.wpcf7 .placeheld {
    color: #888;
}

span.wpcf7-form-control-wrap {
    position: relative;
}
span.wpcf7-not-valid-tip {
    margin: 0 0 8px;
    color: #f00;
    font-size: 0.9em;
    font-style: italic;
    display: block;
}
span.wpcf7-list-item {
    margin-left: 0.5em;
    font-size: inherit;
    margin-right: 2em;
}
span.wpcf7-list-item input {
    margin-right: 1em;
}

.use-floating-validation-tip span.wpcf7-not-valid-tip {
    position: absolute;
    top: 20%;
    left: 20%;
    z-index: 100;
    border: 1px solid #ff0000;
    background: #fff;
    padding: 0.2em 0.8em;
}
.wpcf7-display-none {
    display: none;
}
#wpcf7-f131-p2-o1 div.wpcf7-response-output {
    color: #04111d;
}

div.wpcf7 input[type="submit"] {
    padding: 6px 12px !important;
}

/* ==========================================================================
WP Page Navi
========================================================================== */

.wp-pagenavi {
    width: 100%;
    height: auto;
    margin: 20px auto;
    text-align: center;
    clear: both;
}
.wp-pagenavi a,
.wp-pagenavi span {
    font-size: 2em;
    text-decoration: none;
    border: 1px solid #029bab;
    padding: 3px 5px;
    margin: 2px;
}
.wp-pagenavi a:hover,
.wp-pagenavi span.current {
    border-color: #009ea9;
}
.wp-pagenavi span.current {
    color: #2a2a2a;
    font-weight: bold;
}

/* ==========================================================================
    Google Recapatcha V3
    ========================================================================== */

.grecaptcha-badge {
    display: none !important;
}

/* ==========================================================================
Media Queries: iPad
========================================================================== */

/* iPad [landscape] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
}

/* iPad [portrait] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    #primary > li {
        width: auto !important;
        display: inline-block !important;
    }
    .sidebar {
        border: none !important;
    }
}

/* iPad 3/4 [landscape] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
}

/* iPad 3/4 [portrait] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
    #primary > li {
        width: auto !important;
        display: inline-block !important;
    }
    .sidebar {
        border: none !important;
    }
}

/* ==========================================================================
Bootstrap Queries
========================================================================== */

@media (min-width: 320px) and (max-width: 768px) {
    header .logo {
        position: absolute;
        top: 0px;
        left: 10px;
    }
    footer p {
        font-size: 0.7em;
    }
    #primary,
    #primary > li {
        width: 100%;
        display: block;
    }
    #primary > li {
        padding: 4px 0px;
        margin: 0px auto;
    }
    #primary > li > a {
        margin: 0px auto;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
}

@media (min-width: 993px) and (max-width: 1200px) {
}

@media (min-width: 1201px) {
}

/* ==========================================================================
Print
========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        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 for images, or javascript/internal links
    */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    @page {
        margin: 0.5cm;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}
