/*
Theme Name: Octane
Theme URI:
Author: CodeManas
Author URI: https://codemanas.com/
Description: Octane is an experimental block-based theme. It is built to leverage the full-site editing functionality that is being built in the Gutenberg plugin. This theme is not meant for use on a production site.
Requires at least: 5.6
Tested up to: 5.8
Requires PHP: 7.0
Version: 1.1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: octane
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, threaded-comments

Octane WordPress Theme, (C) 2021 CodeManas
Octane is distributed under the terms of the GNU GPL.
*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1, h2, h3, h4, h5, h6 {
    font-size: 2em;
    font-family: var(--wp--preset--font-family--quicksand);
    margin: 0 0 1rem 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
    border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
    display: list-item;
}

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

/**
 * Add the correct display in IE 10+.
 */

template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
    display: none;
}

/**
Layout
 */
* {
    box-sizing: border-box;
    clear:both;
}

.wp-block-social-links {
    margin: 0;
}

iframe {
    max-width: 100%;
}

.wp-block-columns.is-style-no-space-between,
.wp-block-columns.is-style-no-space-between:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:first-child) {
    margin: 0;
}

.wp-block-columns.is-style-column-with-shadow,
.wp-block-column.is-style-column-with-shadow {
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    padding: 10px;
    /*@todo need to remove this once border radius are added to columns*/
    border-radius: 2rem;
}

/**Logic here is you don't want a gap if we have a full page layout*/
/** Same goes for columns withing block groups */
.wp-block-group > .wp-block-columns:last-child,
.wp-block-columns.alignfull{
    margin-bottom: 0;
}

/* Header  */
.wp-site-blocks .site-header {
    padding: 0;
}

.wp-site-blocks .site-header .is-style-header-sticky {
    position: fixed;
    width: 100%;
    z-index: 10;
    top: 0;
}

@media screen and (min-width: 768px) {
    body.logged-in .wp-site-blocks .site-header .is-style-header-sticky {
        top: 32px;
    }
}

@media screen and (max-width: 968px) {
    .wp-block-query {
        padding: 1.25em;
    }

    .wp-site-blocks .site-header {
        padding: 0;
    }

    .wp-site-blocks .site-footer {
        padding: 0;
    }
    
    .wp-block-column{
        margin-bottom: 1.5em;
    }
    
    .wp-block-columns > .wp-block-column:last-of-type{
        margin-bottom: 0;
    }
}

.wp-block-post-comments {
    clear: both;
    overflow: hidden;
}

/*--------------------------------------------------------------
# Image
--------------------------------------------------------------*/

.wp-block-image img {
    max-width: 100%;
    height: auto;
}

/**
Site Title
 */
.wp-block-site-title a {
    text-decoration: none;
}

/**
Post Listing
 */
.wp-block-post-template li.wp-block-post {
    box-shadow: 0 1px var(--wp--preset--color--jumbo);
}

/***
Navigation
 */
a.wp-block-navigation-link__content:hover {
    color: var(--wp--preset--color--cinnabar);
    opacity: 1;
}

/*
# Links
 */
a:hover {
    opacity: 0.7;
    text-decoration-style: dashed;
}

.wp-block-navigation__container > .wp-block-navigation-link,
.wp-block-page-list,
.wp-block-page-list > .wp-block-pages-list__item {
    margin: 0;
}

.wp-block-navigation__container > .wp-block-navigation-link > .wp-block-navigation-link__content,
.wp-block-navigation__container > .wp-block-home-link > .wp-block-home-link__content,
.wp-block-page-list > .wp-block-pages-list__item {
    margin: 0 2em 0 0;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

.wp-block-search .wp-block-search__button {
    background: var(--wp--preset--color--cinnabar);
    color: var(--wp--preset--color--white);
}

/* Default Search Form */
.wp-block-search .wp-block-search__button svg {
    fill: #fff;
}

.wp-block-post-comments .no-comments,
.wp-block-post-comments .nocomments {
    display: none;
}

.wp-block-post-comments .navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2em;
}

.wp-block-post-comments .comment-respond,
.wp-block-post-comments-form {
    margin-bottom: 2em;
}

.wp-block-post-comments-form:empty {
    margin-bottom: 0;
}

.comment-list,
.comment-list ol,
.commentlist,
.commentlist ol,
.commentlist ul {
    list-style: none;
    padding: 0;
}

.comment-list .comment,
.comment-list ol .comment,
.commentlist .comment,
.commentlist ol .comment,
.commentlist .trackback,
.commentlist ol .trackback,
.commentlist .pingback,
.commentlist ol .pingback {
    margin-bottom: 2em;
}

.comment-list ol li,
.commentlist ol li,
.commentlist ul li {
    padding-left: 1em;
    margin-bottom: 2em;
}

.comment-list li > .comment-body,
.commentlist li > .comment-body {
    margin-bottom: 2em;
    margin-left: 2em;
}

.comment-author .avatar {
    border-radius: 50%;
}

.comment-list > .comment,
.commentlist > .comment,
.commentlist > .trackback,
.commentlist > .pingback,
.comment-respond {
    background-color: var(--wp--preset--color--white);
    border: 1px solid #eee;
    padding: 2em;
}

.comment-form label,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    display: block;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
    border: 1px solid var(--wp--preset--color--jumbo);
    background-color: var(--wp--preset--color--white);
    padding: 1em;
}

/*Search Button*/
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input {
    padding: 1em;
}

.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button {
    margin: 0;
}

.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
    border: 0;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus,
select:focus {
    background-color: var(--wp--preset--color--mystic);
}

input[type="submit"] {
    box-shadow: none;
    cursor: pointer;
    display: inline-block;
    font-size: 1.125em;
    padding: .667em 1.333em;
    text-align: center;
    text-decoration: none;
    overflow-wrap: break-word;
}

input[type="submit"]:hover {
    opacity: 80%;
}

.wp-block-post-comments-form input[type="submit"] {
    background-color: var(--wp--preset--color--black);
    font-size: 1em;
    border-radius: 6px;
}

/**
Typography and Headings
 */
p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.is-style-heading-underlined {
    border-bottom: 1px solid;
}

.is-style-heading-dashed {
    border-bottom: 1px dashed;
}

.is-style-heading-dotted {
    border-bottom: 1px dotted;
}

.has-drop-cap:first-letter,
.has-drop-cap:not(:focus):first-letter {
    float: left;
    line-height: 1;
    font-size: 3.46em;
    font-weight: 600;
    margin: 0 .125em 0 0;
    text-transform: uppercase;
}

/** Custom Stuff design **/
.is-style-highlighted-frame figure,
figure.is-style-highlighted-frame {
    display: inline-block;
    position: relative;
    /*margin: 15%;*/
}

.is-style-highlighted-frame figure:before,
figure.is-style-highlighted-frame:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    border: 10px solid var(--wp--preset--color--cinnabar);
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    transform: rotate(45deg);
    user-select: none;
}

.is-style-highlighted-frame figure:after,
figure.is-style-highlighted-frame:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    border: 10px solid var(--wp--preset--color--cinnabar);
    border-right: 10px var(--wp--preset--color--cinnabar) solid;
    border-left: 10px var(--wp--preset--color--cinnabar) solid;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    transform: rotate(45deg);
    user-select: none;
}

@media screen and (max-width: 768px) {
    .is-style-highlighted-frame figure:before,
    figure.is-style-highlighted-frame:before,
    .is-style-highlighted-frame figure:after,
    figure.is-style-highlighted-frame:after {
        border: none;
    }
}

/*Testimonials*/
/*.wp-block-group.octane-testimonials{*/
/*    padding: 2em 2.375em;*/
/*}*/

.octane-testimonials .wp-block-image {
    margin-bottom: 0;
}