/*
Theme Name: iVoox Theme
Author: iVoox
Description: Blog de iVoox
Version: 1.0
Template: twentytwentyone

This is the child theme for Twenty Twenty-One theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* Variables 
root {
	--global--color-orange: #FF8000;
	--global--color-primary: var(--global--color-orange);
	
	--branding--logo--max-width: 240px;
	--branding--logo--max-height: 88px;
	--branding--logo--max-width-mobile: 96px;
	--branding--logo--max-height-mobile: 96px;
}*/

/*General Styles*/
body {
	background-color: white!important;
}

a {
	text-decoration: none;
}
a:hover {
    text-decoration: underline;
	text-decoration-style: solid!important;
    text-decoration-skip-ink: none;
}
.site-main {
	padding-top: 3.5em!important;
}
.site-content {
	padding: 2em 1em;
    margin: 0 auto;
	background-color: #fafafa;
}
.site-main > * {
	margin-top: 0!important;
	margin-bottom: 0!important;
}
.ivoox-content-wrapper {
	max-width: 1440px;
	margin: 0 auto;
}
@media only screen and (max-width: 768px) {
    .site-content {
        padding: 1em;
    }
}
@media only screen and (max-width: 480px) {
    .site-main {
        padding-top: 3em!important;
    }
}

#turnkey-credit{
	display:none;
}


/** Reset the focus state **/

.has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
    background: none!important;
    color: black!important;
}

.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
    outline: none!important;
    text-decoration: none!important;
    text-decoration-skip-ink: none;
    background: none!important;
}
.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) img {
    outline: none!important;
}


/** Search **/
h1.page-title {
    font-size: 2.5rem;
    font-weight: 600!important;
}
.page-header {
    border-bottom: 1px solid gray!important;
    padding-bottom: 1em!important;
}
.singular .entry-title {
    font-size: 2.5rem!important;
}
.page-content.default-max-width {
    max-width: 1440px;
    margin: auto;
    padding: 1em;
    margin-top: 1em!important;
}
header.page-header.alignwide {
    max-width: 1440px;
    padding: 1em;
    margin-bottom: 1em!important;
    height: auto;
}
.search-result-count.default-max-width {
	max-width: 1440px;
    padding-left: 1em;
}
input.search-field {
    border-radius: 0.5em!important;
    border: 1px solid #dadada!important;
    width: 20em!important;
}
input[type="submit"] {
	background-color: orange!important;
	padding: 0.5em 1.5em!important;
	color: white!important;
	border-radius: 0.5em!important;
	text-decoration: none!important;
	border: 1px solid orange!important;
}
input[type="submit"]:hover {
	background-color: darkorange!important;
	padding: 0.5em 1.5em!important;
	color: white!important;
	text-decoration: none!important;
	border: 1px solid orange!important;
}
input[type="submit"]:focus{
    outline: none!important;
}
header.post-header img {
    max-width: 100%!important;
}
img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    max-width: 100%!important;
}
/*.overlay {
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0, 0.5);
}*/
.search-modal {
	position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    width: 100vw;
    height: auto;
    padding: 4.5em 1em 0.5em;
    background-color: rgba(0,0,0, 0.85);
}
/*.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0, 0.5);
}*/
.search-modal {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    width: 100%;
    height: auto;
    padding: 4em 1em 0.5em;
    background-color: rgba(0,0,0, 0.85);
    transform: translateY(-3.8em);
    transition: 0.2s ease transform;
}
.search-modal-open {
    transform: translateY(0);
}
.search-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: auto;
    max-width: 100%!important;
    width: 1440px!important;
}
input[type="submit"] {
    background-color: darkorange!important;
    border-color: darkorange!important;
}
input[type="submit"]:hover {
    background-color: orange!important;
}
@media only screen and (max-width: 768px) {
    .search-modal {
        transform: translateY(-7em);
        display: none;
    }
    .search-modal-open {
    transform: translateY(0);
}
    form#searchform {
        width: 100%;
    }
    input[type="submit"] {
        width: 100%;
    }
    .search-form .search-field {
        margin-bottom: 0.5em;
        width: 100%!important;
    }
}

img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    max-width: 1200px!important;
}

.nav-links {
    color: #333!important;
}
a.page-numbers {
    color: #333!important;
}
a.next.page-numbers {
    color: #333!important;
}
span.page-numbers.current {
    color: #333!important;
}
.scroll-highlight {
    color: darkorange!important;
}
/*.has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
    background: orange!important;
    color: black!important;
}
.has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button).site-logo {
    background: none!important;
    color: black!important;
}*/
.has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button).ivoox-button-primary {
    background: orange!important;
    color: white!important;
}
.has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button).ivoox-button-outline {
    color: orange!important;
}
.has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button).ivoox-button-neutral {
    background: #e0e0e0!important;
    color: #212529!important;
}
.has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button).entry-tags {
    background: orange!important;
}
.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
    text-decoration: underline!important;
    text-decoration-color: orange!important;
}
.no-shadow img {
    box-shadow: none!important;
}
.site .button:focus, button:focus, input[type=submit]:focus, input[type=reset]:focus, .wp-block-search .wp-block-search__button:focus, .wp-block-button .wp-block-button__link:focus, .wp-block-file a.wp-block-file__button:focus {
    outline-offset: none!important;
    outline: none!important;
}
@media only screen and (max-width: 479px){
    .search-modal{
        padding: 3em 1em 0.5em;
    }
    .menu-button-container{
        padding-bottom: 0!important;
        right: 0!important;
    }
}

a.btn {
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
	border-radius: 8px;
	padding: 16px 20px;
	text-decoration: none!important;
	text-align: center;
	display: block;
	color: white;
	background: linear-gradient(135deg, #FFA800 0%, #FF5991 100%);
	box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25), 0px 6px 12px rgba(0, 0, 0, 0.15);
	z-index: 1;
}
a.btn:hover, a.btn:active, a.btn:focus, a.btn:checked, a.btn:visited {
	color: white!important;
	background: linear-gradient(135deg, #FFA800 0%, #FF5991 100%)!important;
	text-decoration: none!important;
	text-decoration-color: none!important;
	transform: scale(1.010);
}