/*
Theme Name: Attack Sounds
Theme URI: https://www.iweb.co.uk/
Author: iWeb
Author URI: https://www.iweb.co.uk/
Description: Custom theme built from Underscores, a starter theme from the Automattic Theme Team.
Version: 1.0.20
iWeb Generic Theme Version: 2.0.2
License: GNU General Public License
License URI: license.txt
*/

/* Media player tweaks */
.mejs-container {
    margin-bottom: 1.25rem;
}

.mejs-button button {
    border: none !important;
}

.mejs-container,
.mejs-container .mejs-controls {
    background: #202923;
}

body.category-news .mejs-controls .mejs-time-rail .mejs-time-current {
    background: #ed685f;
}

body.category-technique .mejs-controls .mejs-time-rail .mejs-time-current {
    background: #eebf62;
}

body.category-features .mejs-controls .mejs-time-rail .mejs-time-current {
    background: #13cfc8;
}

body.category-reviews .mejs-controls .mejs-time-rail .mejs-time-current {
    background: #ce93df;
}

/* Quick Hack for Menu */

@media (min-width: 1100px){
.header__nav__block .nav>ul>li {
    padding-bottom: 7px!important;
}
}

@media (min-width: 1100px){
.header__nav__block .nav .nav-dropdown {
    padding: 15px 0;
}
}

/* Quick Hack for Banner */

@media (max-width: 560px){
.carousel--banner .carousel__content, .carousel--banner .carousel__link{
position: initial;
}
.carousel--banner .carousel-content__inner{
background-color: transparent;
}
.carousel--banner.carousel--nodots {
margin-bottom: 0.125rem;
}
/*.carousel__image img{
width: 130%;
max-width: 130%;
}  */
.carousel--banner .carousel__subtitle{
font-size: 1em;
}
.carousel--banner .carousel-content__inner--inverted .carousel__subtitle, .carousel--banner .carousel-content__inner--inverted .carousel__title{
color:#202923;
}
}

/* Quick Hack for advert displays */
.ad>*>div {
    padding-top: 3.125rem;
    padding-bottom: 3.125rem;
    width: inherit!important;
    display: inherit!important;
    height: inherit!important;
}

/* Quick Fix for HotJar */
.viewport{
position: relative;
}

  .admin-bar .viewport {
    top: 127px; }
    @media screen and (min-width: 783px) {
      .admin-bar .viewport {
        top: 114px; } }

        
/* Quick Fix for Author and Date on Post */
.author p{
    font-family: AkkuratStd-Mono,helvetica,arial,sans-serif;
    font-size: 1em;
}
/* Quick Fix for inline ad */

.ad--inline {
    margin: 2.125rem auto;
    text-align: center;
}
@media screen and (min-width: 783px){
.ad--inline {
float: right;
margin: 0.5rem 0rem 2.125rem 2.125rem;
}
}

/* Quick Fix to force add to bottom */
ins.adsbygoogle.adsbygoogle-noablate {
    bottom: 0!important;
    top: auto!important;
}

/* Product collection block */

.attack-store-products {
    padding-top: 3.125rem;
    padding-bottom: 3.125rem;
    margin: 0 40px;
}

.attack-store-products__header {
    padding-bottom: 3.125rem;
    text-align: center;
}

.attack-store-products__heading {
    margin-bottom: 0;
    font-family: "Open Sans Condensed", sans-serif !important;;
    font-weight: 600 !important;;
    font-size: 3em;
    line-height: 1.1em;
}

.attack-store-products__store-link {
    text-transform: uppercase;
    border-bottom: none !important;
}

.attack-store-products__store-link:hover {
    text-decoration: underline !important;
}

.attack-store-products__item {
    padding: 0 20px;
    outline: none;
    background: #fff;
}

.attack-store-products__item:hover,
.attack-store-products__item:hover .attack-store-products__title,
.attack-store-products__item:hover .attack-store-products__price {
    color: #13cfc8;
}

.attack-store-products__image {
    max-width: 100%;
    height: auto;
    margin: 0 auto 30px;
}

.attack-store-products__title {
    font-size: 1em;
    font-weight: bold !important;
    margin-bottom: 10px;
}

.attack-store-products__seller {
    text-transform: uppercase;
    font-family: "AkkuratStd-Mono", helvetica, arial, sans-serif;
    margin-bottom: 10px !important;
}

.attack-store-products__desc {
    font-family: "AkkuratStd-Mono", helvetica, arial, sans-serif;
    margin-bottom: 10px !important;
    font-size: 0.9em;
}

.attack-store-products__price {
    font-family: "AkkuratStd-Mono", helvetica, arial, sans-serif;
    color: #929292;
}

.attack-store-products__price--sale {
    color: #ff1202;
}

.attack-store-products__btn {
    visibility: hidden;
    color: #fff;
    background-color: #13cfc8;
    padding: 8px 15px;
    border-bottom: none;
    text-transform: uppercase;
    border-bottom: none !important;
    font-family: "AkkuratStd-Mono", helvetica, arial, sans-serif;
    font-weight: bold;
}

.attack-store-products__btn:hover {
    text-decoration: none;
}

.attack-store-products__item:hover .attack-store-products__btn,
.touch .attack-store-products__btn {
    visibility: visible;
}

.attack-store-products__arrow::before {
    border-top-color: #8f9491;
    border-right-color: #8f9491;
    width: 25px;
    height: 25px;
}

.attack-store-products__arrow--prev {
    left: -70px;
    display: block !important;
}

.attack-store-products__arrow--next {
    right: -70px;
    display: block !important;
}

@media screen and (min-width: 1500px) {
    .attack-store-products__arrow--prev {
        left: -150px;
    }

    .attack-store-products__arrow--next {
        right: -150px;
    }
}

/* Tweaks for shortcode version */

@media screen and (min-width: 1500px) {
    body:not(.home) .attack-store-products {
        margin: 0 -10px;
    }
}

body:not(.home) .attack-store-products__item {
    margin: 0 10px;
    padding-top: 20px;
}

/* Tweaks for subscribe header button */

.header__newsletter .paoc-popup {
    border: 3px solid #202923 !important;
    padding: 5px 20px 5px 50px;
    background-color: transparent;
    color: #202923;
    font-family: "Open Sans Condensed", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    width: auto;
    transition: all 0.3s ease-in-out;
}
.header__newsletter .paoc-popup:hover,
.header__newsletter .paoc-popup:focus{
    opacity: 1;
    color: #fff !important;
    background-color: #202923;
    text-decoration: none;
}

.header__newsletter .paoc-popup:hover:before,
.header__newsletter .paoc-popup:focus:before {
    color: #fff !important;
    background-image: url(/wp-content/themes/attack-sounds/build/images/icons/newsletter-white.svg);
}
@media only screen and (max-width: 600px){
    .header__newsletter .paoc-popup {
        border: 0px solid #FFFFFF !important;
    }
}

@media (min-width: 53.5em) {
    .featured-blocks--left .featured-block {
        left: 0.3125rem;
        right: 0;
    }
}

.social-links__item--whatsapp {
    background-image: url(build/images/social-links/whatsapp-brands.svg);
}

.ad {
    text-align: center;
}
.ad a,
.ad a:hover {
    display: inline-block;
    border: none;
}

/* Crossword */

body .crossword .header {
    top: auto;
    border-bottom: none;
    background: transparent;
    position: static;
}
body .grid  {
    flex: 1;
}
body .clues {
    flex: 1;
    display: flex;
}
@media (min-width: 769px) {
    body .clues {
        padding: 0 0 0 3em;
    }
}
body .direction {
    flex: 1;
    text-align: left;
}
body .direction:first-of-type {
    margin-right: 2em;
}
.media__wrapper--crossword {
    max-width: 77em !important;
}


/* Images fix */
.wp-block-image img {
    height: auto;
}