/*
    Theme Name: Diaz
    Theme URI: http://themeora.com/downloads/diaz
    Description: Minimal, simple portfolio theme with blog. Perfect for showing off awesome work. Fully responsive, easy to set up. Multiple layouts for both the blog and portfolio. Change loading effects and loads of other options with ease using the Customizer. Clean and bloat free code.
    Author: Themeora
    Author URI: http://themeora.com
    Version: 1.5
    License: GNU General Public License v2.0
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: one-column, two-columns, grid-layout, custom-background, custom-colors, custom-menu, editor-style, right-sidebar, post-formats, threaded-comments, translation-ready, featured-images, footer-widgets, full-width-template, theme-options, portfolio, photography , blog
    Text Domain: diaz
*/

/* --------------------------------------------------------------
Table of contents
----------------------------------------------------------------
1 - Typography
2 - Links
3 - Headings
3 - Sanitation
4 - Base styles
5 - Primary navigation
6 - Primary navigation - classic style with dropdowns
7 - Logo
8 - Header
9 - Portfolio
10 - Homepage
11 - Blog
12 - Comments
13 - 404
14 - Search results
15 - Contact page
16 - Footer
17 - Helper styles
18 - Plugin support
19 - Bootstrap overrides
20 - Media Queries


/* 1 - Typography
/* -------------------------------------------------------------- */

body {
    font: 16px/27px 'Hind', Helvetica, Arial, sans-serif;
    color: #747474;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6, .post-categories a {
    color: #222;
    margin-top: 0;
    font-family: 'Hind', sans-serif;
    letter-spacing: 0px;
    font-weight: 500;
}

.post-categories a {
    font-weight: 300;
    letter-spacing: 2px;
}

header.welcome-screen h1 {
    font-size: 54px;
    line-height: 72px;
    margin: 0;
    color: #fff;
}

header.header-without-excerpt h1 {
    margin-bottom: 0;
}

h1 {
    font-size: 54px;
    line-height: 54px;
    margin-bottom: 24px;
}

.single h1 {
    margin-bottom: 10px;
}

h2 {
    font-size: 41px;
    line-height: 51px;
    margin-top: 27px;
    margin-bottom: 27px;
}

h2#comments-title,
.portfolio-details h2 {
    font-size: 26px;
    line-height: 36px;
    margin-top: 0;
    text-align: center;
}

.portfolio-details h2 {
    margin: 0;
}

.post-teaser h2 {
    font-size: 38px;
    line-height: 47px;
    margin-bottom: 13px;
    margin-top: 0;
}

.article-box h2 {
    font-size: 24px;
    line-height: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
}

.post-author h2 {
    font-size: 24px;
    line-height: 24px;
    margin-top: 0;
    margin-bottom: 14px;
}

.blog-masonry .masonry-item h2 {
    font-size: 30px;
    line-height: 42px;
    margin-bottom: 10px;
    margin-top: 0;
}

h3 {
    font-size: 24px;
    line-height: 37px;
    margin-top: 27px;
    margin-bottom: 27px;
}

.sidebar h3,
.sidebar h2 {
    font-size: 16px;
    line-height: 24px;
    margin-top: 0;
    margin-bottom: 20px;
}

h4 {
    font-size: 20px;
    line-height: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
}

h5 {
    font-size: 18px;
    line-height: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
}

h6 {
    font-size: 16px;
    line-height: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
}

/*---- Typography Media queries ---- */

@media (max-width: 767px) {

    .tagline,
    .intro {
        font-size: 1.1em;
        line-height: 1.4em;
    }

    .lead,
    header.welcome-screen {
        line-height: 1.5em;
        font-size: 1.2em;
        font-weight: inherit;
    }

    header.welcome-screen h1 {
        font-size: 32px;
        line-height: 44px;
        margin: 0;
        color: #fff;
    }

    header.header-without-excerpt h1 {
        margin-bottom: 0;
    }

    h1 {
        font-size: 32px;
        line-height: 44px;
        margin-bottom: 24px;
    }

    .single h1 {
        margin-bottom: 10px;
    }

    h2 {
        font-size: 26px;
        line-height: 34px;
        margin-top: 20px;
        margin-bottom: 20px;
    }


    .portfolio-details h2 {
        font-size: 21px;
        line-height: 34px;
    }

    h2#comments-title {
        font-size: 22px;
        line-height: 27px;
    }

    #posts-wrapper article h2 {
        font-size: 24px;
        line-height: 32px;
        margin-top: 0px;
        margin-bottom: 10px;
    }

    h3 {
        font-size: 24px;
        line-height: 34px;
        margin-top: 27px;
        margin-bottom: 27px;
    }

    .post-teaser h2 {
        font-size: 26px;
        line-height: 34px;
        margin-bottom: 10px;
        margin-top: 0;
    }

    article.format-quote blockquote,
    article.format-quote blockquote p,
    .single-format-quote blockquote {
        font-size: 26px;
        line-height: 34px;
    }
}

.tagline {
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 15px;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
}

.details-text .tagline {
    margin-bottom: 0px;
    transition: transform .3s ease-out;
    transform: translate(0, -10px);
    opacity: 0;
}

@media ( max-width: 600px ) {
    .details-text .tagline {
        display: none;
    }
}

a.portfolio-link:hover .portfolio-details .tagline,
a.portfolio-link:hover .portfolio-details .tagline {
    opacity: 1;
    transform: translate(0, -5px);
}

.lead,
.hero-area p {
    margin-bottom: 27px;
}

.lead,
.hero-area p,
header.welcome-screen {
    font-size: 21px;
    line-height: 33px;
    margin-top: 0px;
}

.lead.text-center {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.category-description {
    font-size: 22px;
    line-height: 31px;
    margin-top: 27px;
    margin-bottom: 0;
    color: #fff;
}

.category-description p {
    margin: 0;
}

.intro {
    font-size: 1.3em;
    line-height: 1.6em;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}


/* 2 - Links
-------------------------------------------------------------- */

a {
    color: #222;
}

a:visited,
a:active,
a:focus {
    color: #222;
}

a:hover {
    color: #222;
    text-decoration: underline;
}


.page-wrapper h1 a,
.page-wrapper h2 a,
.page-wrapper h3 a,
.page-wrapper h4 a,
.page-wrapper h5 a,
.page-wrapper h6 a {
    color: #222;
}

.page-wrapper h1 a:hover,
.page-wrapper h2 a:hover,
.page-wrapper h3 a:hover,
.page-wrapper h4 a:hover,
.page-wrapper h5 a:hover,
.page-wrapper h6 a:hover {
    text-decoration: none;
    color: #222;
}

h1 a:active, h2 a:active, h3 a:active, h4 a:active, h5 a:active, h6 a:active,
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited,
h1 a:focus, h2 a:focus, h3 a:focus, h4 a:focus, h5 a:focus, h6 a:focus
.main-content-area h1 a:active, .main-content-area h2 a:active, .main-content-area h3 a:active, .main-content-area h4 a:active, .main-content-area h5 a:active, .main-content-area h6 a:active,
.main-content-area h1 a:visited, .main-content-area h2 a:visited, .main-content-area h3 a:visited, .main-content-area h4 a:visited, .main-content-area h5 a:visited, .main-content-area h6 a:visited,
.main-content-area h1 a:focus, .main-content-area h2 a:focus, .main-content-area h3 a:focus, .main-content-area h4 a:focus, .main-content-area h5 a:focus, .main-content-area h6 a:focus,
.post-categories a:hover, .post-categories a:focus, .post-categories a:active, .post-categories a:visited,
.meta a, .meta a:hover, .meta a:focus, .meta a:active, .meta a:visited
{
    color: #222;
}


h1.site-title,
.page-wrapper h1.site-title a,
.page-wrapper h1.site-title a:hover,
.page-wrapper h1.site-title a:active,
.page-wrapper h1.site-title a:focus
{
    color: #fff;
}

/* 3 - Sanitation
-------------------------------------------------------------- */

.content p:first-child,
.content ul:first-child,
.content ol:first-child,
.content pre:first-child,
.content table:first-child,
.content blockquote:first-child {
    margin-top: 0px;
    margin-bottom: 27px;
}

p,
ul,
ol,
pre,
table,
blockquote {
    margin-top: 0px;
    margin-bottom: 27px;
}

p {
    margin-top: 0;
}

hr {
    border-top: 1px solid #eee;
    margin: 54px auto;
    max-width: 1200px;
}

ul ul,
ol ol,
ul ol,
ol ul {
    margin-top: 0;
    margin-bottom: 0;
}

b, strong, em, small, code {
    line-height: 1;
}

sup, sub {
    vertical-align: baseline;
    position: relative;
    top: -0.4em;
}

sub {
    top: 0.4em;
}

p > :first-child,
h1 > :first-child,
h2 > :first-child,
h3 > :first-child,
h4 > :first-child,
h5 > :first-child,
h6 > :first-child {
    margin-top: 0;
}


/* 4 - Base styles
-------------------------------------------------------------- */

body {
    background: #fff;
}

.full-width-container {
    padding: 100px 0;
    clear: both;
}

@media (max-width: 767px) {
    .full-width-container {
        padding: 60px 0;
    }
}

.loading-cover {
    background: #fff;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 100;
}

.ie6 .loading-cover,
.ie7 .loading-cover,
.ie8 .loading-cover {
    display: none;
}

/* 5 - Primary navigation
-------------------------------------------------------------- */

.top-bar {
    background: #0C0B0E;
    box-shadow: none;
    padding: 17px 0 23px 0;
    margin: 0;
    width: 100%;
    z-index: 500;
    border-radius: 0;
    border: none;
    position: relative;
    transition: all 0.25s ease;
    position: absolute;
}

/* if the nav bar is set to animate add position absolute to stop page jumping about */
.top-bar.animate-nav {
    -webkit-animation-delay: 1.5s;
    -moz-animation-delay: 1.5s;
    animation-delay: 1.5s;
}

/* Customizer Display options for main navigation */
.top-bar.nav-fixed-yes {
    position: fixed;
    top: 0;
    left: 0;
}

/* if the admin bar is set push the nav down so we can see it */
.admin-bar .top-bar,
.top-bar.nav-fixed-yes {
    top: 32px;
}

.top-bar.standard-transparent,
.top-bar.show-button-transparent {
    background: transparent !important; /* overide customizer color */
    transition: none;
}

.top-bar.past-banner.nav-fixed-yes {
    background: #424242 !important;
}

/* 6 - Primary navigation - classic style with dropdowns
-------------------------------------------------------------- */

/* toggle icon */

#trigger-overlay {
    float: right;
    width: 35px;
    height: 35px;
    position: relative;
    top: 2px;
    margin: 0px auto;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    cursor: pointer;
    z-index: 999;
}

#trigger-overlay span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #fff;
    border-radius: 0px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#trigger-overlay span:nth-child(1) {
    top: 0px;
}

#trigger-overlay:hover span:nth-child(1) {
    top: -2px;
}

#trigger-overlay span:nth-child(2),
#trigger-overlay span:nth-child(3) {
    top: 10px;
}

#trigger-overlay span:nth-child(4) {
    top: 20px;
}

#trigger-overlay:hover span:nth-child(4) {
    top: 22px;
}

#trigger-overlay.open span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}

#trigger-overlay.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

#trigger-overlay.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#trigger-overlay.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}

/* end toggle icons */

.brand {
    position: relative;
}

.top-bar-inner {
    max-width: 1490px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
}

.container.nav-wide {
    width: 1400px;
    max-width: 95%;
}

#trigger-overlay.standard-menu-toggle {
    font-size: 30px;
    position: absolute;
    top: 50%;
    margin-top: -13px;
    right: 0px;
    z-index: 100;
    display: none;
    padding: 0;
    text-align: center;
    background: transparent;
    border: none;
    outline: none;
}

#trigger-overlay.standard-menu-toggle:hover {
    cursor: pointer;
    border: none;
    outline: none;
}

#trigger-overlay.standard-menu-toggle span {
    font-weight: bold;
    display: inline-block;
    text-transform: uppercase;
    color: #fff;
}

#trigger-overlay.standard-menu-toggle span i {
    margin-right: 5px;
    color: #9BA6B2;
}

span.menu-close {
  display: none;
}

/* display of primary nav */

.main-navigation {
    position: absolute;
    right: 30px;
    top: 50%;
    margin-top: -13px;
}

@media only screen and (max-width: 960px) {
    .main-navigation {
        width: 75%;
    }
}

@media only screen and (max-width: 780px) {
    .main-navigation {
        width: 72%;
    }
}

.main-navigation ul {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: right;
}

.main-navigation li {
    position: relative;
    display: inline-block;
    word-wrap: break-word;
}

.main-navigation a {
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 2px;
    outline: none;
    display: block;
    padding: 0;
    margin-left: 20px;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    transition: all 0.2s linear;
}

.main-navigation a:hover,
.main-navigation a:active,
.main-navigation a:visited {
    color: #fff;
}

.main-navigation ul ul {
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    width: 230px;
    text-align: left;
    border-radius: 3px;
    background: #fff;
    -webkit-transition: all .07s ease-in-out;
    transition: all .07s ease-in-out;
    -webkit-transform: scale(0.95);
    -ms-transform: scale(0.95);
    transform: scale(0.95);
    background: #0C0B0E;
}

.main-navigation .show-sub,
.landscape .main-navigation ul.sub-menu {
    opacity: 1;
    visibility: visible;
    z-index: 100;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    display: block !important;
    transform: scale(1);
}

/* Change the behavior for landscape orientation tablets */
.landscape .main-navigation ul.sub-menu {
    display: none;
}

.landscape .main-navigation li:hover > ul,
.landscape .main-navigation li li a:hover > ul {
    display: block;
}

ul#menu-primary-navigation ul:before {
    position: absolute;
    top: -8px;
    left: 50%;
    margin-left: -8px;
    content: " ";
    border-right: 8px solid transparent;
    border-bottom: 8px solid #0C0B0E;
    border-left: 8px solid transparent;
}

ul#menu-primary-navigation > li.menu-item-has-children > a:after {
    font-family: "FontAwesome";
    font-size: 15px;
    margin-left: 7px;
    content: "\f107";
}

ul#menu-primary-navigation ul a {
    font-weight: normal;
    position: relative;
    margin: 0;
    padding: 12px 20px;
    text-transform: none;
    border-bottom: none;
    text-transform: uppercase;
}

ul#menu-primary-navigation ul a:hover {
    color: #fff;
}

ul#menu-primary-navigation ul li {
    width: 100%;
}

ul#menu-primary-navigation ul li:last-child {
    border-bottom: none;
}

ul#menu-primary-navigation li.current-menu-item > a,
ul#menu-primary-navigation > li:hover > a {
    -webkit-transition: .07s ease-in-out;
    transition: .07s ease-in-out;
    opacity: 0.6;
}

ul#menu-primary-navigation ul li:hover > a {
    border-bottom: none;
}

.sub-menu li.current-menu-item > a {
    font-weight: normal !important;
    border-bottom: none !important;
}

.sub-menu li.current-menu-item > a:before {
    display: none;
}

.menu-search {
    padding-left: 10px;
}

/* if show-button class is added via JS */

.show-button #trigger-overlay.standard-menu-toggle {
    display: inline-block;
}

.show-button .main-navigation {
    background: #0C0B0E;
    display: none;
    float: none;
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    margin-top: 0;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    z-index: 99;
}

.show-button .menu-header-container {
    margin: 0;
    display: table;
    width: 100%;
    height: 100%;
}

.show-button .main-navigation .show-mobile-sub > ul {
    display: inline-block;
    background: none !important;
}

.show-button .show-mobile-sub ul.drop-active {
    display: block;
}

.show-button .main-navigation a {
    display: block;
    font-size: 27px;
    text-align: center;
    padding: 10px 35px;
}

.show-button .main-navigation a {
    line-height: 3.5;
    display: block;
    margin: 0;
    padding: 0;
}

@media ( max-width:760px ) {
    .show-button .main-navigation a {
        line-height: 2;
        font-size: 18px;
    }

    ul#menu-primary-navigation ul a {
        padding: 0;
    }
}

.show-button .menu-item-has-children {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.show-button .main-navigation ul > li.active-sub-menu > a:after {
    content: "\f106";
}

.show-button .main-navigation ul > li.menu-item-has-children:hover:after {
    color: #fff;
}

.show-button .main-navigation .current-cart .widget:before,
.show-button .main-navigation ul ul:before,
.show-button .main-navigation ul ul ul li:first-child:before {
    display: none;
}

.show-button .main-navigation ul {
    margin-bottom: 0;
    padding: 0;
    text-align: left;
}

.show-button .main-navigation ul {
    padding: 27px;
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}


.show-button .main-navigation li {
    width: 100%;
}

.cssanimations .show-button .main-navigation li {
    opacity: 0;
}

.main-navigation.open li {
  -webkit-animation: fadeInDown .5s ease forwards;
          animation: fadeInDown .5s ease forwards;
  -webkit-animation-delay: .15s;
          animation-delay: .15s;
}

.main-navigation.open li:nth-of-type(2) {
  -webkit-animation-delay: .20s;
          animation-delay: .20s;
}

.main-navigation.open li:nth-of-type(3) {
  -webkit-animation-delay: .25s;
          animation-delay: .25s;
}

.main-navigation.open li:nth-of-type(4) {
  -webkit-animation-delay: .30s;
          animation-delay: .30s;
}

.main-navigation.open li:nth-of-type(5) {
  -webkit-animation-delay: .35s;
          animation-delay: .35s;
}

.main-navigation.open li:nth-of-type(6) {
  -webkit-animation-delay: .40s;
          animation-delay: .40s;
}

.main-navigation.open li:nth-of-type(7) {
  -webkit-animation-delay: .45s;
          animation-delay: .45s;
}

.main-navigation.open li:nth-of-type(8) {
  -webkit-animation-delay: .50s;
          animation-delay: .50s;
}

.main-navigation.open li:nth-of-type(9) {
  -webkit-animation-delay: .55s;
          animation-delay: .55s;
}

.main-navigation.open li:nth-of-type(10) {
  -webkit-animation-delay: .60s;
          animation-delay: .60s;
}

.show-button .main-navigation li:last-child {
    border-bottom: none;
}

.show-button .main-navigation li:hover {
    cursor: pointer;
}

.show-button .main-navigation ul ul {
    position: relative;
    top: auto;
    left: auto;
    z-index: 100;
    margin-left: 0 !important;
    visibility: visible;
    opacity: 1;
    display: none;
    -webkit-transition: none;
    transition: none;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    width: 100%;
    padding: 0;
    background: transparent !important;
}

.show-button .main-navigation ul ul a {
    padding: 0;
}

.show-button .main-navigation ul ul ul {
    top: auto;
    left: auto;
    padding-left: 5%;
}

/* 7 - Logo
-------------------------------------------------------------- */

.logo-uploaded,
.footer-logo-uploaded,
.logo-text {
    -webkit-transition: opacity .2s;
       -moz-transition: opacity .2s;
        -ms-transition: opacity .2s;
         -o-transition: opacity .2s;
}

.logo-uploaded:hover,
.footer-logo-uploaded:hover,
.logo-text:hover {
    opacity: .4;
}

.logo-image .site-title {

}

h1.site-title {
    display: inline-block;
    margin: 0;
    font-size: 26px;
    line-height: 36px;
}

h1.site-title a:active,
h1.site-title a:focus {
    text-decoration: none;
}

h2.site-description {
    font-size: 16px;
    line-height: 24px;
    margin-top: 0px;
    margin-bottom: 0;
    color: #fff;
}

/* 8 - Header
-------------------------------------------------------------- */

header.full-width-container {
    text-align: center;
    background-size: cover;
    padding: 100px 0;
    position: relative;
    color: #fff;
}

header.full-width-container .welcome-content-left {
    text-align: left;
}

header.full-width-container .welcome-content-right {
    text-align: right;
}

header.full-width-container .overlay {
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.8);
    position: absolute;
    top: 0;
    left: 0;
}

.home header.full-width-container {
    padding: 8em 0;
}

.page header.full-width-container.portfolio-offset-yes
{
    padding-bottom: 250px;
}

.page-template-template-portfolio-item header.full-width-container.portfolio-offset-yes
{
    padding-bottom: 150px;
}

.home header.full-width-container.portfolio-offset-yes,
header.full-width-container.portfolio-offset-yes
{
    padding: 150px 0 250px 0;
}

.error404 header.full-width-container.portfolio-offset-yes {
    padding-bottom: 150px;
}

@media ( max-width: 760px ) {
    .page header.full-width-container.portfolio-offset-yes {
        padding: 80px 0 200px 0;
    }

    .home header.full-width-container.portfolio-offset-yes,
    .page-template-template-portfolio header.full-width-container.portfolio-offset-yes
    {
        padding: 80px 0 200px 0;
    }

    .page-template-template-portfolio-item header.full-width-container.portfolio-offset-yes
    {
        padding: 60px 0;
    }

}

header.blog-post-header-offset,
.page-template-template-page-offset header,
.page-template-template-contact header
{
    padding: 150px 0 250px 0;
}

@media ( max-width: 960px ) {
     header.blog-post-header-offset,
    .page-template-template-page-offset header,
    .page-template-template-contact header {
        padding: 80px 0 200px 0;
    }
}

header.full-width-container p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    margin-bottom: 0;
}

.js .welcome-content {
    opacity: 0;
    visibility: hidden;
}

header .btn {
    margin-top: 30px;
    margin-bottom: 0;
}

.home header.banner-height-full-height {
    height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
}

/* 9 - Portfolio
-------------------------------------------------------------- */

#section-portfolio {
    text-align: center;
}

.portfolio-content-centered p,
.portfolio-content-centered blockquote,
.portfolio-content-centered h1,
.portfolio-content-centered h2,
.portfolio-content-centered h3,
.portfolio-content-centered h4,
.portfolio-content-centered h5,
.portfolio-content-centered h6
{
    max-width: 750px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-content-centered p.paragraph-with-image {
    max-width: 100%;
}

.portfolio-content-centered .tagline {
    display: block;
    text-align: center;
}

/* Custom background styles */

.portfolio-custom-background h1,
.portfolio-custom-background h2,
.portfolio-custom-background h3,
.portfolio-custom-background h4,
.portfolio-custom-background h5,
.portfolio-custom-background h6,
.portfolio-custom-background .tagline,
.portfolio-custom-background p,
.portfolio-custom-background,
.portfolio-custom-background blockquote
{
    color: #fff;

}

/* end custom background styles */

.single-portfolio .tagline {
    color: #000;
}

.single-portfolio.portfolio-custom-background .tagline {
    color: #fff;
}

.portfolio-title {
    margin-bottom: 54px;
}

.full-width-container.portfolio-section {
    padding-top: 0;
    padding-bottom: 0;
}

#masonry-wrapper.portfolio-cols-3 {
    width: 100.1%; /* Need to make it slightly wider for 3 cols to stop a slight margin appearing */
    overflow: hidden;
}

.masonry-container {
    overflow: hidden;
    max-width: 2000px;
    margin: 0 auto -2% auto;
}

.masonry-container.portfolio-gutter-yes {
    padding: 0 1%;
}

.masonry-container.portfolio-padding-yes {
    padding-top: 6em;
}

.masonry-container.portfolio-width-fixed {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

@media ( max-width: 1360px  ) {
    .masonry-container.portfolio-width-fixed {
        max-width: 90%;
    }
}

.masonry-container.portfolio-offset-yes.portfolio-padding-no {
    margin-top: -100px;
}

.masonry-container.portfolio-offset-yes.portfolio-padding-yes {
    margin-top: -100px;
}

.grid-item {
    display: block;
    float: left;
    padding: 0px;
    width: 33.33%; /* default width for 3 cols */
    opacity: 0;
}

.grid-sizer {
    width: 33.33%; /* default width for 3 cols */
}

.js.no-touch .masonry-item { /* only default to hidden item if we are not on a touch device and js is disabled */
    opacity: 0;
}

.ie6.js.no-touch .grid-item,
.ie7.js.no-touch .grid-item,
.ie8.js.no-touch .grid-item,
.ie9.js.no-touch .grid-item
{ /* for browsers with trouble using basic things, just show the damn items */
    opacity: 1;
}

.blog-masonry .masonry-item {
    opacity: 1;
}

.grid-item--width1 { width: 100%; }
.grid-item--width2 { width: 50%; }
.grid-item--width3 { width: 33.33%; }
.grid-item--width4 { width: 25%; }
.grid-item--width5 { width: 66.66%; }

.grid-item--width1-margin { width: 98%; margin: 1% }
.grid-item--width2-margin { width: 48%; margin: 1% }
.grid-item--width3-margin { width: 31.33%; margin: 1% }
.grid-item--width4-margin { width: 23%; margin: 1% }
.grid-item--width5-margin { width: 64.66%; margin: 1% }
.grid-item--width6-margin { width: 46%; margin: 1% }

.grid-style-masonry .grid-item {
    height: auto;
}

/* end masonry layout for 3 and 4 cols */

@media screen and ( max-width: 900px ) {
    .grid-item {
        width: 50%;
    }

    .portfolio-gutter-yes .grid-item {
        width: 48%;
    }

    .portfolio-cols-1 .grid-item {
        width: 100% !important;
    }

    /* impact layouts need to be adjusted below 900px */
    .grid-item--width5 { width: 100% !important; }
    .grid-item--width5-margin { width: 98% !important; margin: 1% }

    /* hide the 6th item in the grid if this is an impact layout to keep the grid looking nice on small screens */
    .grid-style-impact .grid-item-6 { display: none; }
}

@media screen and ( max-width: 600px ) {
    .related-work .portfolio-gutter-yes .grid-item {
        width: 98%;
    }
}

@media screen and ( max-width: 530px ) {
    .portfolio-cols-4 .grid-item,
    .portfolio-cols-3 .grid-item,
    .portfolio-cols-2 .grid-item
    {
        width: 100% !important;
    }

    .portfolio-cols-4 .grid-item { max-width: 320px !important; }
    .portfolio-cols-3 .grid-item { max-width: 430px !important; }
    .portfolio-cols-2 .grid-item { max-width: 640px !important; }

    #masonry-wrapper.portfolio-cols-4,
    #masonry-wrapper.portfolio-cols-3,
    #masonry-wrapper.portfolio-cols-2 {
        width: 98%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    #masonry-wrapper.portfolio-cols-3 { max-width: 430px }
    #masonry-wrapper.portfolio-cols-2 { max-width: 640px }

    .grid-item--width3-margin,
    .grid-item--width2-margin,
    .grid-item--width1-margin,
    .grid-item--width5-margin {
        margin-left: 0;
        margin-right: 0;
    }

}

.grid-item.shown,
.no-js .grid-item,
.no-cssanimations .grid-item {
    opacity: 1 !important;
}

/* Effect 1: Slide up effect */

.grid-item.effect-1.animate {
    -webkit-transform: translateY(200px);
    transform: translateY(200px);
    -webkit-animation: moveUp 0.65s ease forwards;
    animation: moveUp 0.65s ease forwards;
    opacity: 1;
}

@-webkit-keyframes moveUp {
    0% { }
    100% { -webkit-transform: translateY(0); opacity: 1; }
}

@keyframes moveUp {
    0% { }
    100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; }
}

/* Effect 2: Opacity effect */

.grid-item.effect-2.animate {
    -webkit-animation: fadeIn 0.65s ease forwards;
    animation: fadeIn 0.65s ease forwards;
}

@-webkit-keyframes fadeIn {
    0% { }
    100% { opacity: 1; }
}

@keyframes fadeIn {
    0% { }
    100% { opacity: 1; }
}

/* Effect 3: Grow effect */

.grid-item.effect-3.animate {
    -webkit-transform: scale(0.6);
    transform: scale(0.6);
    -webkit-animation: scaleUp 0.65s ease-in-out forwards;
    animation: scaleUp 0.65s ease-in-out forwards;
}

@-webkit-keyframes scaleUp {
    0% { }
    100% { -webkit-transform: scale(1); opacity: 1; }
}

@keyframes scaleUp {
    0% { }
    100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
}

.portfolio-link {
    display: block;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.portfolio-gutter-no .portfolio-link {
    border-radius: 0;
}

.portfolio-link .portfolio-details {
    position: absolute;
    width: 100.3%; /* set with and height slightly larger than 100% to ensure there is no tiny gap on some browsers */
    height: 100.1%;
    top: 0;
    left: 0;
    padding: 0 20px;
}

a.portfolio-link img {
    /*transition: all .4s ease-in;
    -webkit-backface-visibility: hidden;*/
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

a.portfolio-link:hover img {
    /*transform: scale(1.01);*/
    -ms-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}

.portfolio-details h2,
.portfolio-details h3 {
    transition: transform .3s ease-out;
    transform: translate(0, -5px);
    opacity: 0;
    color: #fff;
    margin: 0;
}

.portfolio-cols-4 .portfolio-details h2,
.portfolio-cols-4 .portfolio-details h3 {
    font-size: 22px;
    line-height: 29px;
}

a.portfolio-link:hover .portfolio-details h2,
a.portfolio-link:hover .portfolio-details h3 {
    opacity: 1;
    transform: translate(0, 5px);
}

.portfolio-details-excerpt {
    transition: transform .3s ease-out;
    transform: translate(0, 5px);
    opacity: 0;
    color: #fff;
    padding: 0 25px;
    margin-top: 27px;
}

.portfolio-details-excerpt p {
    margin: 0;
}

a.portfolio-link:hover .portfolio-details .portfolio-details-excerpt {
    opacity: 1;
    transform: translate(0, 0px);
}

.portfolio-link .portfolio-details.portfolio-hover-fade {
    background: #424242;
    background: rgba(66,66,66,0.8);
    opacity: 0;
    transition: opacity 0.6s ease;
    text-align: center;
    vertical-align:middle;
    display: table;
    -webkit-backface-visibility: hidden;
}

.portfolio-link .portfolio-details.portfolio-hover-fade:hover {
    opacity: 1;
    -webkit-backface-visibility: hidden;
}

.no-js .portfolio-link .portfolio-details {
    display: none;
}

.ie8 .portfolio-link .portfolio-details,
.ie7 .portfolio-link .portfolio-details,
.ie6 .portfolio-link .portfolio-details {
    display: none;
}

.portfolio-link .details-text {
    display: table-cell;
    vertical-align: middle;
}

.portfolio-intro {
    font-size: 1.2em;
    line-height: 1.6em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.single-portfolio .single-portfolio-featured-image {
    margin: 5em 0 24px 0;
}

.related-work {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.themeora-shares + .related-work.related-work-margin,
.themeora-shares + .related-work {
    margin-top: 4em;
}

.related-work.related-work-margin {
    margin-top: 7em;
}

@media ( max-width:992px ) {
    .related-work .col-md-4 {
        height: auto !important;
        margin-bottom: 27px;
    }
}

.related-work .portfolio-item {
    margin-bottom: 27px;
}


h2.related-title {
    margin-top: 0;
    font-size: 32px;
    line-height: 44px;
}

@media ( max-width:769px ) {

    h2.related-title {
        font-size: 24px;
        line-height: 32px;
    }
}

.related-work .portfolio-link .related-work-overlay {
    opacity: 0;
    transition: all 0.2s linear;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.related-work .portfolio-link:hover .related-work-overlay {
    opacity: 0.4;
    background: #fff;
}

/* portfolio nav */

.portfolio-navigation {
    margin: 54px auto -20px auto;;
    text-align: center;
    max-width: 1150px;
}

.portfolio-navigation a {
    display: inline-block;
    width: 40px;
    height: 40px;
    position: relative;
    transition: all 0.2s linear;
    text-indent: -9999px;
    text-align: center;
}

.portfolio-navigation a:hover,
.portfolio-navigation a:active,
.portfolio-navigation a:focus {
    text-decoration: none;
    opacity: 0.7;
}

.portfolio-navigation .portfolio-links-next,
.portfolio-navigation .portfolio-links-prev {
    display: inline-block;
    margin: 0 5px;
}

.portfolio-navigation .portfolio-links-next a:after {
    height: 40px;
    width: 40px;
    text-align: center;
    content: "\f105";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #000;
    font-size: 62px;
    padding:0;
    position: absolute;
    top: 0px;
    left: 0;
    text-indent: 0;
}

.portfolio-navigation .portfolio-links-prev a:after {
      height: 40px;
    width: 40px;
    text-align: center;
    content: "\f104";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #000;
    font-size: 62px;
    padding:0;
    position: absolute;
    top: 0px;
    left: 0;
    text-indent: 0;
}


.full-width-portfolio {
    overflow: hidden /* hide overflow on page builder rows */
}

.page-template-template-portfolio .masonry-container {
    margin-bottom: -30px;
}

.page-template-template-portfolio .testimonial-container {
    margin-top: 7em;
}

.page-template-template-portfolio .article_nav,
.page-template-template-home .article_nav {
    margin-top: 50px;
    margin-bottom: -10px;
}

.article_nav + .clients-section,
.article_nav + .homepage-images
{
    margin-top: 7em;
}

/* testimonials */

.testimonial-container {
    background-repeat: no-repeat;
    background-size: cover !important;
    background: #f6f6f6;
    background-position: -200px center;
}

.testimonial-on-left.testimonial-container {
    background-position: 200px center;
}

.testimonial-container .col-md-6 {
    padding-left: 0;
    padding-right: 0;
}

.testimonial-quote {
    padding: 7em 6em;
    background: #5aadf5;
    color: #fff;
    position: relative;
}

@media ( max-width: 840px ) {
    .testimonial-quote {
        padding: 4em 4em;
    }
}

@media ( max-width: 460px ) {
    .testimonial-quote {
        padding: 4em 2em;
    }
}

.testimonial-quote:after {
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    background-color: inherit;
    -ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
    transform: rotate(45deg);
    top: 50%;
    right: -10px;
    z-index: 1000;
}

.col-md-push-6 .testimonial-quote:after {
    left: -10px;
    right: auto;
}

.testimonial-quote blockquote {
    text-align: left;
    margin: 0;
    font-style: normal;
    color: #fff;
}

.testimonial-quote .author {
    display: block;
    font-style: normal;
    margin: 27px 0 0 0;
    font-size: 14px;
    opacity: 0.6;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* 10 - Homepage
-------------------------------------------------------------- */

.homepage-layout-fixed {
    max-width: 750px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    float: none;
}

.homepage-content h2:first-child {
    margin-top: 0;
}

.clients-section {
    text-align: center;
    background: #0C0B0E;
}

.clients-section img {
    max-width: 200px;
}

@media ( max-width: 560px ) {
    .clients-section img {
        max-width: 100%;
    }
}

.clients-section h3 {
    color: #fff;
}

.clients-section .lead {
    max-width: 750px;
    margin: 27px auto 54px auto !important;
    color: #fff;
}

/* Image strip */

.homepage-images {
    overflow: hidden;
    width: 100%;
}

.homepage-images img {
    float: left;
}

img.homepage-image-6 { width: 16.66%; }
img.homepage-image-5 { width: 20%; }
img.homepage-image-4 { width: 25%; }
img.homepage-image-3 { width: 33.33%; }

@media ( max-width: 1000px ) {
    img.homepage-image-6 { width: 33.33%; }
}


/* 11 - Blog
-------------------------------------------------------------- */

header.full-width-container.blog-index-header.blog-offset-yes,
header.full-width-container.search-header-offset-yes {
    padding-bottom: 230px;
}

@media ( max-width: 760px ) {
    header.blog-index-header.blog-offset-yes {
        padding-bottom: 200px;
    }
}

.blog-center {
    text-align: center;
}

.blog-center.blog-offset-yes {
    padding-top: 0;
}

.blog-center.blog-offset-yes #posts-wrapper {
    margin-top: -100px;
}

.home.blog .blog-center.blog-offset-yes #posts-wrapper {
    margin-top: 100px;
}



.blog article,
.archive article,
.search article
{
    margin-bottom: 54px;
}

.blog-masonry article {
    margin-bottom: 0;
}

.single header {
    text-align: center;
}

.single .featured-image {
    margin: 54px 0 0 0;
    text-align: center;
}

.single aside {
    margin-top: 27px;
}

.meta {
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    line-height: 22px;
}

.single header .meta {
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}

.meta a {
    font-weight: bold;
    transition: all 0.2s linear;
}

.single header .meta a,
.single header .meta a:hover,
.single header .meta a:focus,
.single header .meta a:active {
    text-decoration: none;
    color: #fff;
}

.single header .meta a:hover {
    color: #fff;
    opacity: 0.8;
}

.post-teaser .meta {
    margin-bottom: 0px;
}

.post-teaser .content {
    padding: 54px;
    max-width: 80%;
    margin: -100px auto 0 auto;
    position: relative;
    z-index: 100;
    background: #fff;
}

.post-teaser.featured-image-no .content {
    margin: -54px auto 0 auto;
}

@media ( max-width: 600px ) {
    .post-teaser .content {
        padding: 30px;
        max-width: 90%;
        margin: -50px auto 0 auto;
    }

    .post-teaser.featured-image-no .content {
        margin: -27px auto 0 auto;
    }
}

#post-nav-thumbnails {
    max-width: 1100px;
    margin: 0 auto 54px auto;
    overflow: hidden;
}

#post-nav-thumbnails h3 {
    margin: 0;
    text-align: center;
}

#post-nav-thumbnails .content {
    padding: 50px;
    max-width: 85%;
    margin-top: -70px;
    text-align: center;
}

@media ( max-width: 500px ) {
    #post-nav-thumbnails .content {
        padding: 27px;
        max-width: 85%;
    }
}

#post-nav-thumbnails .content h4 {
    margin-top: 0;
}

@media ( max-width: 767px ) {
    #post-nav-thumbnails .post-next .featured-image {
        margin-top: 0;
    }
}

.post-categories {
    margin: 0 0 13px 0;
}

@media (max-width: 767px) {
    .post-teaser .content {
        padding: 20px;
    }
}

.blog-masonry .post-teaser .content {
    padding: 27px;
}

.full-width-container p:last-child {
    margin-bottom: 0px;
}

.post-content {
    background: #fff;
    padding: 54px;
    margin: 0;
    overflow: hidden;
}

.single-post-offset-no .post-content {
    padding-top: 0;
}

.blog-post-offset article {
    margin-top: -100px;
    background: #fff;
    z-index: 1;
    position: relative;
    max-width: 1100px;
}

@media (max-width: 1100px) {
    .single .blog-post-offset article {
        margin-top: -100px;
        background: #fff;
        z-index: 1;
        position: relative;
        max-width: 95%;
    }
}

@media (max-width: 767px) {
    .post-content {
        padding: 27px 5px;
    }
}

.themeora-shares {
    text-align: center;
    margin: 54px 0 0 0;
}

.portfolio-custom-background + .themeora-shares {
    margin: 5em 0 0;
}

.portfolio-default-background + .themeora-shares {
    margin: 0;
}

body .themeora-shares ul {
    margin: 0 !important;
}

.themeora-shares div.sharedaddy h3.sd-title {
    display: none;
}

.welcome-screen .sharedaddy {
    display: none;
}

/* post thumbnails */

.wp-post-image {
    max-width: 100%;
    margin: 0;
    float: none;
}

.featured-image img {
    /*border-radius: 3px;*/
}

.featured-image,
.featured-media {
    margin: 0;
}

.blog-single-post article {
    margin-bottom: 54px;
}


.search .meta {
    margin-bottom: 0;
    border-bottom: none;
}

.single article img.size-themeora-post-stretch {
    max-width: 120%;
    width: 120%;
    margin-left: -10%;
    margin-right: -10%;
    margin-top: 54px;
    margin-bottom: 54px;
}

.single article .wp-caption img.size-themeora-post-stretch {
    margin-bottom: 15px;
}

.wp-caption.wp-caption-themeora-post-stretch {
    margin-bottom: 54px;
}

blockquote + .wp-caption img.size-themeora-post-stretch {
    margin-top: 15px;
}

@media ( max-width: 760px ) {
    .single article img.size-full {
        max-width: 100%;
        width: 100%;
        margin-left: 0%;
        margin-right: 0%;
        margin-top: 27px;
        margin-bottom: 27px;
    }
}

.single article img.size-full + .wp-caption-text {
    margin-bottom: 27px;
}

.single p img.size-full + h2 {
    margin-top: 0;
}

/* Quote Post formats */

article.format-quote blockquote,
.single-format-quote blockquote {
    margin: 0 0 27px 0;
    padding: 0;
    border: none;
    color: #000;
}

article.format-quote.post-teaser {
    text-align: center;
}

.single-format-quote .content {
    text-align: center;
    position: relative;
    padding-top: 54px;
}

.format-quote a.blockquote-link {
    color: #000;
}

article.format-quote blockquote p {
    margin-top: 0;
}

article.format-quote a.blockquote-link:hover {
    text-decoration: none;
}

article.format-quote a.blockquote-link:focus {
    outline: none;
}

.single-format-quote cite,
.single-format-quote small,
article.format-quote a.blockquote-link cite,
article.format-quote a.blockquote-link small {
    color: #000;
    font-size: 1em;
}

/* posts nav links */

.page-links {
    text-align: center;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 54px 0;
}

.page-links .page-number {
    margin: 0 3px;
    padding: 0 3px;
    display: inline-block;
    min-width: 25px;
}

.page-links a {
    font-weight: bold;
}

.page-links a:hover {
    text-decoration: none;
    -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 3px 0 rgba(0, 0, 0, 1);
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 3px 0 rgba(0, 0, 0, 1);
}

.paging-navigation {
    margin: 0 1%;
}

#page-links {
    padding: 8px 20px;
    background: #f6f6f6;
}

.nav-links {
    text-align: center;
    overflow: hidden;
    padding: 0;
}

.nav-links a,
.nav-links a:visited,
.nav-links a:focus
{
    display: block;
    text-decoration: none;
}

.nav-links a .genericon {
    font-size: 18px;
    margin-top: 3px;
}

.nav-links-next a .genericon {
    margin-right: -10px;
    margin-left: 5px;
}

.nav-links-prev a .genericon {
    margin-left: -10px;
    margin-right: 5px;
}

.nav-links-prev,
.nav-links-next {
    display: inline-block;
    min-width: 210px;
    margin: 0 10px;
}

.post-navigation-both-buttons .nav-links-prev a {
    margin-right: 10px;
}

.post-navigation-both-buttons .nav-links-next a {
    margin-left: 10px;
}

@media ( max-width: 370px ) {

    .nav-links a {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .post-navigation-both-buttons .nav-links-prev a {
        margin-right: 0px;
    }

    .post-navigation-both-buttons .nav-links-next a {
        margin-left: 0px;
    }
}

.archive .post-navigation {
    margin: 0;
}

.single .post-navigation {
    margin-bottom: 0;
}

.container.article_nav {
    width: 100%;
    padding: 0;
}

/* post author */

.post-author {
    clear: both;
    margin: 0 auto 81px auto;
    padding: 0 0 0 90px ;
    position: relative;
    max-width: 700px;
}

.archive .post-author {
    margin: 0 0 60px 0;
}

.post-author p {
    margin: 0 0 5px 0;
}

.post-author img.avatar {
    max-width: 60px;
    border-radius: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
}

.author .avatar {
    margin-bottom: 26px;
}

/* post-tags */

.post-tags {
    margin: 0 0 40px 0;
    padding: 30px;
    overflow: hidden;
}

/* infinate scroll */

/* Hides navigation links and site footer when infinite scroll is active */

.infinite-scroll #navigation,
.infinite-scroll.neverending #footer {
    display: none;
}

/* Shows the footer again in case all posts have been loaded */

.infinity-end.neverending #footer {
    display: block;
}

.infinite-scroll .article_nav {
    display: none;
}

/* Show normal pagination for masonry layout becuase masonry does not work well with infinate scroll */
.infinite-scroll .article_nav.blog-layout-masonry {
    display: block;
}

/* Hide infinate scroll control for masonry layouts */
.infinite-scroll .blog-layout-masonry #infinite-handle {
    display: none;
}

#infinite-handle {
    text-align: center;
    margin-top: 27px;
    margin-bottom: 0px;
}

.main-content-area #infinite-handle span {
    box-shadow: none;
    text-shadow: none;
    border-radius: 0px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 30px;
    margin: 0 auto !important;
    text-align: center;
    background: none;
    color: #000;
    transition: all 0.2s linear;
    max-width: 300px;
}

.main-content-area #infinite-handle span button {
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    background: none;
    color: #000;
}

#infinite-handle span:hover {
    opacity: 0.8;
}

.infinite-loader {
    display: block;
    width: 30px;
    margin: 0 auto;
}

/* Specific blog layouts */

.infinite-scroll #posts-wrapper.blog-layout-masonry {
    padding-bottom: 80px;
    position: relative;
}

/* pull quotes */

.pull-quote {
    font-size: 24px;
    line-height: 36px;
    width: 38%;
    min-width: 250px;
    float: right;
    margin: 0 -108px 54px 54px;
    padding-left: 30px;
    position: relative;
    color: #222;
    font-style: italic;
    border-left: 3px solid #222;
}

@media ( max-width: 1200px ) {
    .pull-quote {
        margin-right: 0;
    }
}

@media ( max-width: 500px ) {
    .pull-quote {
        width: 100%;
        min-width: 0;
        float: none;
        margin-left: 0;
        margin-right: 0;
    }
}

/* 12 - Comments
----------------------------------------------- */

h3#comments-title {
    text-align: center;
}

#comments {
    margin-top: 54px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

#comments {
    margin-top: 0;
    clear: both;
}

#comments .comments {
    background: #fff;
    float: left;
    width: 100%;
}

#comments-title {
    margin: 0 0 46px 0;
    padding-bottom: 0;
    text-align: left;
}

#comments-title span {
    text-align: right;
    float: right;
}

#comments #respond { padding: 0; }

#comments .comment #respond {
    margin-top: 0px;
    padding-bottom: 10px;
}

#reply-title {
    margin: 0 0 27px 0;
    width: 100%;
    font-size: 21px;
    line-height: 27px;;
    text-align: center;
}

#comments .commentlist #reply-title {
    padding-top: 3%;
    margin-top: 3%;
}

#comments .commentlist #respond #reply-title { padding-top: 2% }

#commentform {
    max-width: 600px;
    margin: 0 auto;
}

#respond label {
    font-weight: bold;
    color: #222;
    display: block;
    margin: 0 0 8px 0;
}

#respond .comment-subscription-form { margin-bottom: 5px }

#respond .comment-subscription-form label {
    text-transform: none;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 0;
}

#respond p {
    position: relative;
}

#respond .required {
    color: #469AF6;
}

#respond p {
    margin-bottom: 15px;
}

#commentform p {
    width: 100%;
    text-align: center;
}

#respond textarea {
    line-height: 1.4;
    width: 100%;
    max-width: 100%;
    height: 220px;
}

.form-allowed-tags {
    font-size: 12px;
    line-height: 1.4;
    float: left;
    margin: 10px 0 25px 0;
    width: 100% !important;
    display: none;
}

#comments .commentlist {
    list-style-type: none;
    counter-reset: li;
    margin: 0;
    padding: 0;
}

#comments .commentlist li.comment,
#comments .commentlist li.pingback
{
    position: relative;
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    list-style: none;
}

#comments .commentlist .children {
    margin: 26px 0 0 0;
    padding: 0;
}

#comments .commentlist .children li { padding-left: 5% }

#comments .commentlist .children li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

#comments .comment-block {
    padding: 0;
    margin: 0 0 54px 0;
    position: relative;
}

#comments .comment-edit-link { color: #222 }

#comments .comment-edit-link i {
    font-size: 11px;
    margin-left: 5px;
    vertical-align: middle;
}

#comments .comment-text {
    position: relative;
}

#comments .comment-reply-link,
.comment-edit-link,
#cancel-comment-reply-link,
#comment-nav-below a
{
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    position: relative;
    top: -10px;
    margin-right: 10px;
}

#cancel-comment-reply-link {
    display: block;
    margin-top: 26px;
    overflow: hidden;
}

#cancel-comment-reply-link:hover {
    text-decoration: underline;
}

#cancel-comment-reply-link i:hover {
    color: #555;
    cursor: pointer;
}

#comments .logged-in-as {
    display: none;
}

#comments .commentlist .logged-in-as {

}

#comments .comment-notes,
#comments .logged-in-as {
    width: 100%;
    margin-bottom: 27px;
    padding-bottom: 0;
    text-align: center;
    font-size: 14px;
}

#comments .commentlist .comment-notes {
    padding-bottom: 27px;
    margin-bottom: 0;
    border-bottom: none;
}

#comments .comment-notes .required {
    position: relative !important;
    top: auto !important;
    right: auto !important;
}

#comments .comment-awaiting-moderation {
    background: #8ACF9B;
    width: 100%;
    display: inline-block;
    padding: 20px;
    text-align: center;
    font-style: normal;
    font-size: 14px;
    margin-top: 15px;
    color: #FFF;
}

#comments .comment-awaiting-moderation:before {
    content: "\f058";
    font-family: "FontAwesome";
    margin-right: 10px;
}

#comments .vcard-wrap {
    width: 100%;
    display: inline-block;
}

#comments .vcard {
    position: absolute;
    top: 5px;
    left: 0;
}

#comments .pingback  .vcard {
    display: none;
}

@media ( max-width: 480px ) {
    #comments .vcard {
        display: none;
    }
}

#comments .vcard img {
    float: left;
    height: 60px;
    width: 60px;
    border-radius: 100%;
}

#comments .fn {
    display: block;
    font-style: normal;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 20px 0 0;
    padding: 0 220px 0 0;
    text-transform: capitalize;
    color: #222;
}

@media ( max-width: 700px ) {
    #comments .fn {
        padding-right: 0;
    }
}

#comments .fn a { color: #555 }

#comments .fn a:hover {
    background: none;
    color: #777;
}

#comments .comment-info {
    display: inline-block;
    position: relative;
    width: 100%;
    padding-left: 80px;
}

#comments .pingback .comment-info {
    padding-left: 0;
}

@media ( max-width: 480px ) {
    #comments .comment-info {
        padding-left: 0px;
    }
}

#comments .comment-meta {
    float: left;
    line-height: 1;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}

#comments .comment-time {
    position: absolute;
    top: 0;
    right: 0;
}

#comments .comment-time a {
    display: inline-block;
    padding-top: 4px;
    opacity: 0.6;
}

@media ( max-width: 700px ) {
    #comments .comment-time  {
        position: static;
        width: 100%;
        margin-top: 10px;
    }
}

#comment-nav-below {
    width: 100%;
    padding: 0;
    margin: 26px 0 46px 0;
    text-align: center;
}

#comment-nav-below a {

}

#comment-nav-below a:hover {  }

#comment-nav-below .nav-previous,
#comment-nav-below .nav-next {
    display: inline-block;
}

#comment-nav-below a {
    margin: 0 20px;
}

#comment-nav-below a .fa {
    margin: 1px 4px 0 4px;
}

.no-comments {
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
}

.attachment #nav-below {
    width: 100%;
    display: inline-block;
    background: #f7f7f7;
    margin-bottom: 15px;
}

.attachment #nav-below a {
    font-weight: bold;
    color: #999;
}

.attachment #nav-below a:hover { color: #555 }

.attachment #nav-below .nav-previous,
.attachment #nav-below .nav-next {
    width: 50%;
    display: inline-block;
    float: left;
    padding: 10px;
}

.attachment #nav-below .nav-next { border-left: solid 1px #eee }

/* sidebar */

.sidebar ul {
    margin: 0 0 30px 0;
    padding: 0;
    list-style: none;
}

.sidebar ul.children,
.sidebar ul.sub-menu {
    margin: 0 ;
    padding: 0 0 0 20px;
    list-style: none;
}

.sidebar .widget {
    margin: 0 0 50px 0;
}

.sidebar .widget:last-child {
    margin-bottom: 0;
}

.sidebar .widget li {
    margin: 0 0 8px 0;
    padding: 0;
}

.comment-author-link {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.tagcloud {
    overflow: hidden;
}

.widget_tag_cloud a,
.post-tags a {
    background-color: #333;
    color: #fff;
    float: left;
    font-size: 11px !important;
    line-height: 18px !important;
    margin-bottom: 3px;
    margin-right: 3px;
    padding: 3px 8px;
    transition: background-color 0.3s ease 0s;
    border-radius: 2px;
    letter-spacing: 2px;
}

.widget_tag_cloud a:hover,
.post-tags a:hover,
.widget_tag_cloud a:visited,
.post-tags a:visited,
.widget_tag_cloud a:active,
.post-tags a:active {
    text-decoration: none;
    background-color: #333;
    color: #fff !important;
}

.widget_tag_cloud a:hover,
.post-tags a:hover {
    background-color: #1c1c1c;
}

/* search box */

.search-form {
    position: relative;
    max-width: 400px;
}

.search-form button {
    position: absolute;
    top: 7px;
    right: 5px;
    line-height: 15px;
    padding: 10px 18px;
}

.search-form button i {
    font-size: 14px;
}

.widget_search {
    padding: 0;
}

.search-form input[type="text"] {
}

/* 13 - 404
-------------------------------------------------------------- */

.error404 .search-form {
    max-width: 400px;
    position: relative;
    margin: 30px auto;
}

.error404 .search-form button {
    top: 7px;
}

/* 14 - Search results
-------------------------------------------------------------- */

.search-no-results .search-form {
    margin: 46px auto 0px auto;
}

/* 15 - Contact page
-------------------------------------------------------------- */

.contact-page {
    text-align: center;
}

.contact-page .lead {
    text-align: center;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.contact-page p.lead + img,
.contact-page p.lead + p.paragraph-with-image {
    margin-top: 54px;
}

.contact-page .wpcf7-response-output {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 16 - Footer
-------------------------------------------------------------- */

#footer-widget-area {
    text-transform: uppercase;
}

.footer-logo {
    text-align: center;
    margin-bottom: 27px;
}

.footer-logo:hover {
    opacity: 0.8;
}

footer.full-width-container {
    text-align: center;
    background: #fff;
    color: #bababa;
    letter-spacing: 1px;
}

@media ( max-width: 990px ) {
    .footer-left-text {
        text-align: center;
        margin:27px 0;
    }

    footer .social-navigation {
        text-align: center;
    }
}

footer.primary-footer a {
    color: #bababa;
}

footer.primary-footer a:hover,
footer.primary-footer a:active,
footer.primary-footer a:visited
{
    color: #bababa;
}

.social-navigation {
    margin: 0;
}

.social-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-block;
}

.social-navigation li {
    float: left;
}

@media ( max-width:760px ) {
    .social-navigation li {
        float: none;
    }
}

.social-navigation a {
    display: block;
    position: relative;
    margin: 0 12px;
    color: #626161;
    text-transform: uppercase;
}

.social-navigation a,
.social-navigation a:visited,
.social-navigation a:active {
    color: #626161;
    text-decoration: none;
}

.social-navigation a:hover {
    color: #000;
    text-decoration: none;
}

#footer-widget-area ul.menu {
    list-style: none;
    text-align: center;
    margin: 0 0 -13px 0;
    padding: 0;
}

#footer-widget-area ul.menu li {
    display: inline-block;
    margin: 13px 20px 13px 0;
    padding: 0 20px 0 0;
    border-right: 1px solid #626161;
    line-height: 14px;
}

#footer-widget-area ul.menu li.last-menu-item {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
}

@media ( max-width: 990px ) {
    #footer-widget-area ul.menu li {
        display: block;
        margin: 0 0 24px 0;
        padding: 0;
        border: none;
    }
}

.footer-right {
    text-align: right;
}

.footer-copyright {
    text-transform: uppercase;
    text-align: center;
}

@media ( max-width:760px ) {
    .footer-copyright {
        margin-top: 12px;
    }
}

/* 17 - Helper styles
-------------------------------------------------------------- */

.fixed-position {
    position: fixed;
    width: 100%;
}

.page-offset {
    padding: 54px 81px 0 81px;
    margin: -100px auto 0 auto;
    position: relative;
    z-index: 100;
    background: #fff;
    max-width: 1200px;
}

@media ( max-width:1220px ) {
    .page-offset {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media ( max-width:720px ) {
    .page-offset {
        padding-left: 30px;
        padding-right: 30px;
        margin-left: 15px;
        margin-right: 15px;
        padding-top: 30px;
    }
}


@media ( max-width:380px ) {
    .page-offset {
        margin-left: 0px;
        margin-right: 0px;
    }
}

.flex-container-middle {
    display:flex;
    align-items:center;
}

/* animations */

.fadein,
.page-wrapper,
.row {
    -webkit-animation-name: fadein;
            animation-name: fadein;
    -webkit-animation-fill-mode: both;
            animation-fill-mode: both;
    -webkit-animation-duration: .5s;
               animation-duration: .5s;
    -webkit-animation-delay: .4s;
            animation-delay: .4s;
}

@-webkit-keyframes fadein {
	0% {opacity: 0;} 100% {opacity: 1;}
}
@-moz-keyframes fadein {
	0% {opacity: 0;} 100% {opacity: 1;}
}
@-o-keyframes fadein {
	0% {opacity: 0;} 100% {opacity: 1;}
}
@keyframes fadein {
	0% {opacity: 0;} 100% {opacity: 1;}
}

@keyframes hvr-bob {
    0% {
        transform: translateY(-8px);
    }
    50% {
        transform: translateY(-4px);
    }
    100% {
        transform: translateY(-8px);
    }
}

@keyframes hvr-bob-float {
    100% {
        transform: translateY(-8px);
    }
}

.social-navigation a
{
    display: inline-block;
    vertical-align: middle;
    padding-bottom: 2px;
    transition: all 0.2s linear;
    border-bottom: 2px solid transparent;
}

.social-navigation a:active,
.social-navigation a:visited {
    text-decoration: none;
}

.social-navigation a:hover,
.social-navigation a:focus
{
    border-bottom: 2px solid;
    outline: none;

}

/* Page loader */

.pace {
    -webkit-pointer-events: none;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.pace-inactive {
    display: none;
}

.pace .pace-progress {
    display: none;
    background: #000;
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 100%;
    width: 100%;
    height: 3px;
}

/* end page loader */


.no-top-padding {
    padding-top: 0 !important;
}

.no-bottom-padding {
    padding-bottom: 0 !important;
}

.no-top-margin {
    margin-top: 0 !important;
}

.no-bottom-margin {
    margin-bottom: 0 !important;
}

.post-password-form {
    padding: 0px;
    margin: 0;
    background: transparent;
    text-align: center;
}

.post-password-form input[type="password"] {
    max-width: 400px;
    margin: 0 10px;
}

.post-password-form .btn {
    margin: 0;
}

.post-password-form label {
    display: none;
}

.post-content .tiled-gallery {
    margin: 54px 0;
}

.wp-caption-text,
.gallery-caption {
    font-size: 14px;
    margin-top: 15px;
    opacity: 0.7;
}

.wp-caption.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.gallery dt {
    border: none;
    margin: 0;
    padding: 0;
}

.gallery dl {
    padding: 0;
    margin: 0;
}

.gallery img {
    border: none !important;
}

.single .post-content .gallery {
    margin-top: 46px !important;
    margin-bottom: 46px !important;
}

.post-content iframe {
    max-width: 100%;
}

.featured-post.sticky {
    display: inline-block;
    padding: 2px 6px 1px 6px;
    color: #fff;
    background: #222;
    border-radius: 3px;
    font-size: 12px;
    position: relative;
    top: -1px;
}

#comments .bypostauthor .vcard img {
    border: 2px solid #222;
}

.wp-caption {
    text-align: center;
    max-width: 100%;
    margin-bottom: 27px;
}

.aligncenter {
    text-align: center;
}

img.aligncenter {
    display: block;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
}

.img-left,
.alignleft {
    float: left;
    margin: 0 30px 30px 0;
}

.img-right,
.alignright {
    float: right;
    margin: 0 0 30px 30px;
}

.assistive-text,
.screen-reader-text {
    position: absolute;
    left: -9999px;
    height: 1px;
    width: 1px;
}

.well {
    padding: 25px;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
}

/* responsive embeds */

.embed-container {
    position: relative;
    padding-bottom: 56.25%; /* 16/9 ratio */
    padding-top: 25px;
    height: 0;
    overflow: hidden;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* Audio playlist */

.post .wp-playlist,
.page .wp-playlist {
    background: #f6f6f6;
    border-width: 0px;
    padding: 24px 24px 18px 24px;
    margin: 54px 0;
    position: relative;
    border-radius:0px !important;
}

.post .wp-playlist-current-item,
.page .wp-playlist-current-item {
    margin-bottom: 16px;
}

.post .wp-playlist-item,
.page .wp-playlist .wp-playlist-item {
    border-width: 0px;
    padding: 5px;
    border-radius:4px;
}

.post .wp-playlist-item-length,
.page .wp-playlist-item-length {
    right: 8px;
    top: 5px;
}

.post .wp-playlist-tracks,
.page .wp-playlist-tracks {
    margin-top: 18px;
}

.post .wp-playlist-playing,
.page .wp-playlist-playing {
    background: #fefefe !important;
}


/* 18 - Plugin support
-------------------------------------------------------------- */

/* CF7 */

.wpcf7-form .wpcf7-submit {
    margin-top: 20px;
}

.alert.alert-success,
div.wpcf7-mail-sent-ok {
    background: #23cdab;
    color: #fff;
    border: none !important;
}

.alert.alert-info {
    background: #3498DB;
    color: #fff;
}

.alert.alert-danger,
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng,
div.wpcf7-spam-blocked {
    background: #EB4F18;
    color: #fff;
    border: none !important;
}

.wpcf7-response-output {
    padding: 10px !important;
    margin: 20px 0 !important;
}

.wpcf7-form-control-wrap {
    display: block;
    margin: 10px 0;
}

.wpcf7-form-control-wrap .wpcf7-form-control {
    margin: 0;
}

.wpcf7-form-control-wrap {
    display: block;
}

/* site origin */

.sow-features-list .sow-features-feature h5 {
    margin: 27px 0;
    font-size: 22px;
}

/* 19 - Bootstrap overrides
-------------------------------------------------------------- */

/* bootstrap provides an awesome framework but we want our own look and feel. Override anything you need here */

/* buttons */

.btn,
.btn:visited,
.wpcf7-submit,
.contact-form .pushbutton-wide,
.contact-form .pushbutton-wide:visited,
.btn.btn-default,
.btn.btn-default:visited,
.nav-links a,
.nav-links a:visited,
.main-content-area #infinite-handle span,
#commentform #submit,
#commentform #submit:focus,
#commentform #submit:visited
{
    border: 2px solid #000;
    box-shadow: none;
    text-shadow: none;
    border-radius: 50px;
    color: #000;
    font-size: 14px;
    line-height: 27px;
    transition: all 0.2s linear;
    margin: 0 0 10px 0;
    padding: 15px 30px;
    opacity: 1;
    transition: all 0.2s linear;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    background: transparent;
    min-width: 180px;
}

.btn:hover,
.btn:focus,
.wpcf7-submit:hover,
.wpcf7-submit:focus,
#commentform #submit:hover,
#commentform #submit:focus,
.contact-form .pushbutton-wide:hover,
.contact-form .pushbutton-wide:focus,
.btn.btn-default:hover,
.btn.btn-default:focus,
.nav-links a:hover,
.main-content-area #infinite-handle span:hover,
#commentform #submit:hover
{
    color: #000;
    text-decoration: none;
    box-shadow: none;
    opacity: 0.6;
    outline: none;
}

body .btn-primary:hover,
body .btn-primary:focus {
    border-color: #1a8fdd;
    background: transparent;
}

body .btn-success,
body .btn-success:visited {
    border-color: #7dd586;
}

body .btn-success:hover,
body .btn-success:focus   {
    background: transparent;
    outline: none;
}

body .btn-warning,
body .btn-warning:visited {
    border-color: #e9c134;
}

body .btn-warning:hover,
body .btn-warning:focus  {
    border-color: #dfb72c;
    background: transparent;
    outline: none;
}

body .btn-info,
body .btn-info:visited {
    border-color: #3498db;
}

body .btn-info:hover,
body .btn-info:focus {
    background: transparent;
    outline: none;
}

body .btn-danger,
body .btn-danger:visited {
    border-color: #eb4f18;
}

body .btn-danger:hover,
body .btn-danger:focus {
    background: transparent;
}

body .btn-dark,
body .btn-dark:visited {
    border-color: #232121;
}

body .btn-dark:hover,
body .btn-dark:focus {
    background: transparent;
}

body .btn-light,
body .btn-light:visited {
    background: none;
    color: #fff;
    border-color: #fff;
}

body .btn-light:hover,
body .btn-light:focus {
    background: none;
    color: #fff;
    border-color: #fff;
}

body .btn-link,
body .btn-link:visited {
    background: none;
    color: #428BCA !important;
}

body .btn-link:hover,
body .btn-link:focus {
    background: none;
    color: #428BCA !important;
}

.btn-lg {
    padding: 15px 30px;
}

.btn.margin-top {
    margin-top: 50px;
}

.btn .fa-spinner {
    margin-left: 8px;
    display: none;
}

/* alerts */

.alert {
    border: none;
    padding: 13px 20px;
    border-radius: 0;
}

.alert-dismissable .close {
    right: 0;
    color: #fff;
    opacity: 0.6;
}

.alert-dismissable .close:hover,
.alert-dismissable .close:focus {
    color: #fff;
    opacity: 1;
}

.alert.alert-warning {
    background: #E9C134;
    color: #fff;
}

.alert.alert-success,
div.wpcf7-mail-sent-ok {
    background: #7DD586;
    color: #fff;
    border: none !important;
}

.alert.alert-info {
    background: #3498DB;
    color: #fff;
}

.alert.alert-danger,
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng,
div.wpcf7-spam-blocked {
    background: #c0392b;
    color: #fff;
    border: none !important;
}

span.wpcf7-not-valid-tip {
    display: block;
    margin-top: 10px;
    color: #c0392b;
}

.wpcf7-response-output {
    padding: 20px !important;
    margin: 27px 0 !important;
    max-width: 600px;
}

/* forms */

/* cf7 */

.wpcf7 form p:last-of-type {
    margin-bottom: 0;
}

.wpcf7-form-control-wrap {
    display: block;
    margin: 10px 0;
}

.wpcf7-form-control-wrap .wpcf7-form-control {
    margin: 0;
}

.wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-submit.btn {
    min-width: 170px;
    padding: 12px 20px;
}

/* General forms */
select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
    background: transparent;
    box-shadow: none;
    transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    width: 100%;
    max-width: 600px;
    line-height: 27px;
    border-radius: 0px;
    color: #171717;
    display: inline-block;
    font-size: 18px;
    margin-bottom: 10px;
    padding: 15px;
    vertical-align: middle;
    border: 1px solid #3c3c3c;
}

select:focus,
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
    box-shadow: none;
    outline: none;
    border-color: #222;
}

input[type="submit"] {
    padding: 10px 30px;
    min-width: 150px;
}

textarea {
    height: 180px;
}

label {
    font-weight: normal;
}

form .error {
    border: 1px solid red;
}

form label.error {
    border: none;
}

legend {
    margin: 27px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

/* blockquotes */


@media (max-width: 767px) {
    blockquote:before {
        font-size: 20px;
        left: 0;
    }
}

.quote blockquote:before,
.format-quote blockquote:before {
    content: "";
}

blockquote {
    border: none;
    padding: 0;
    line-height: 30px;
    position: relative;
    max-width: 800px;
    margin: 54px auto;
    font-size: 24px;
    line-height: 36px;
    color: #222;
    font-style: italic;
    text-align: center;
}

@media (max-width: 767px) {
    blockquote {
        font-size: 22px;
        line-height: 34px;
        margin: 27px auto;
    }
}

blockquote cite,
blockquote footer,
blockquote small,
blockquote .small {
    display: block;
    margin-top: 20px !important;
    font-size: 16px;
    font-style: normal;
    color: inherit;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

blockquote footer::before,
blockquote small::before,
blockquote .small::before {
    content: "";
}

.single blockquote {
    border-left: 3px solid #222;
    padding-left: 30px;
    margin-left: 30px;
    text-align: left;
}

@media ( max-width: 600px ) {
    .single blockquote {
        margin-left: 0px;
    }
}

/* lists */

ul, ol {
    padding: 0 0 0 20px;
    margin: 20px 0 30px 0;
}

/* second level */
ul li ul,
ol li ol {
    margin: 0;
}

/* third level */
ul li ul li ul,
ol li ol li ol {
    margin: 0;
}

li {
    line-height: inherit;
}

ul.list-group {
    margin: 0 0 40px 20px;
}

/* tabs */

ul.nav-tabs {
    border: none;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}

.nav-tabs > li {

}

.nav-tabs > li > a {
    padding: 0;
    margin: 0 20px 0 0;
    border-radius: 0;
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-tabs > li > a:hover {
    text-decoration: none;
    border: none;
    margin: 0 20px 0 0;
    background: transparent;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    border: none;
    background: transparent;
    font-weight: bold;
}

.nav-tabs .open > a,
.nav-tabs .open > a:hover,
.nav-tabs .open > a:focus {
    border: none;
    background: transparent;
}

.tab-content {
    padding: 0;
    margin: 0;
}

/* accordions */

.panel-group {
    margin: 0 0 40px 0;
}

.panel {
    box-shadow: none;
}

.panel-default > .panel-heading {
    background: #222222;
    color: #fff;
}

.panel-heading {
    padding: 0;
}

.panel-default {
    border: none;
    border-radius: 0;
}

.panel-title > a {
    display: block;
    padding: 10px 15px;
}

.panel-title > a:hover,
.panel-title > a:focus {
    text-decoration: none;
    background: #161515;
    color: #fff;
}

.panel-group .panel {
    border-radius: 0;
}

.panel-default > .panel-heading {
    border-radius: 0;
    border: none;
}

.panel-default > .panel-heading + .panel-collapse .panel-body {
    border: none;
}

/* hr */

.divider-transparent hr {
    border-color: transparent !important;
}

/* tables */

.table {
    margin-top: 20px;
    margin-bottom: 30px;
}

table > tbody > tr:nth-child(2n+1) > td,
table > tbody > tr:nth-child(2n+1) > th {
    background-color: #F9F9F9;
}

table {
    margin: 20px 0 30px 0;
}

thead {
    background: #222;
    color: #fff;
    font-weight: normal;
    border-bottom: none;
    padding: 4px 10px;
}

thead th {
    padding: 4px 10px;
}

tbody th,
tbody td {
    padding: 4px 10px;
}

.table > thead > tr > th {
    border: none;
    font-weight: normal;
}

aside table#wp-calendar {
    width: 100%;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding: 10px 20px;
    line-height: 27px;
    vertical-align: middle;
    border-top: none;
}

/* definition lists */

dl {
    margin: 30px 0;
}

dl dt {
    padding: 0 0 10px 0;
    margin: 0 0 10px 0;
    border-bottom: 1px solid #eee;
}

dl dd {
    margin: 0 0 10px 0;
}

/* code */

code {
    padding: 5px;
    margin: 27px 0;
    font-size: 14px;
    line-height: 27px;
    color: #c7254e;
    background-color: #f9f2f4;
    white-space: nowrap;
    border-radius: 4px;
}

pre {
    margin: 27px 0;
    padding: 10px;
    display: block;
    font-size: 14px;
    line-height: 27px;
    word-break: break-all;
    word-wrap: break-word;
    border: none;
    color: #c7254e;
    background-color: #f9f2f4;

    border-radius: 4px;
}

/* other */

big {
    font-size: 1.6em;
}

cite {
    color: #666;
    font-size: 12px;
}

.navbar-collapse {
    max-height: 100%;
}

/* 20 - Media Queries
-------------------------------------------------------------- */

@media (max-width: 979px) {

    /* sidebar */

    .col-md-3.sidebar {
        margin-top: 60px;
    }

    /* general */

    .mobile-stack {
        margin-bottom: 40px;
    }
}


/* mobiles and small tablet (portrait) */

@media (max-width: 767px) {

    /* comments */

    .comment-body {
        padding: 0;
    }

    ol.commentlist li div.vcard img.avatar {
        position: static;
        margin: 0 10px 10px 0;
    }

    ol.commentlist li ul.children {
        padding: 0;
    }

    ol.commentlist li div.reply {
        position: static;
    }


    /* tabs */

    .nav-tabs > li {
        display: block;
        float: none;
        border: none;
    }

    .nav-tabs > li > a,
    .nav-tabs > li > a:hover {
        border: none;
    }

    .nav-tabs > li.active > a,
    .nav-tabs > li.active > a {
        border: none;
        background: #f6f6f6;
    }

    .nav-tabs > li.active > a,
    .nav-tabs > li.active > a:hover,
    .nav-tabs > li.active > a:focus {
        border: none;
        background: #f6f6f6;
        border: none;
    }

}

/* small screens */

@media screen and (min-width: 0px) and (max-width: 500px) {

}
