/*--- Common ------------------------------------------------------------------------------------*/

html,
body
{
    background-color: #303031;
}






.brand-text-color-red
{
    color: #e53942;
}




.btn
{
    border: 1px solid rgba(0, 0, 0, .2);
}

.btn:active,
.btn.active,
.btn:focus
{
    background-color: unset;
}

.btn-lg,
a.btn-lg
{
    height: unset;
    font-size: inherit;
    line-height: 1.33;
    padding: .42em .9em .54em .9em;
}

.input-lg,
select.input-lg
{
    height: 2.4em;
    font-size: inherit;
    line-height: 1;
    padding: 0 .6em .14em .6em;
    border-radius: 4px;
}







.dark-theme
{
    color: #fff;
}

.dark-theme a,
.dark-theme a:active,
.dark-theme a:focus,
.dark-theme a:visited,
.dark-theme .a-like
{
    color: inherit;
    border-color: inherit;
}

.dark-theme a:hover,
.dark-theme .a-like:hover
{
    color: inherit;
    border-color: inherit;
}

.dark-theme h1,
.dark-theme .h1
{

}

.dark-theme .cnavbar__item__link,
.dark-theme .cnavbar__item__link:visited,
.dark-theme .cnavbar__item__link:active
{
    color: #fff;
    text-decoration: none;
}

.dark-theme .cnavbar__item__link:hover,
.dark-theme .active > .cnavbar__item__link
{
    color: #fff;
}



.dark-theme .btn,
.dark-theme button.btn
{
    border: 1px solid rgba(255, 255, 255, .4);
}

.dark-theme .expand-toggle-button
{
    border-color: rgba(255, 255, 255, .2);
}

.dark-theme .expand-toggle-button__text:after
{
    border-color: rgba(255, 255, 255, .5);
}

.dark-theme input.form-control,
.dark-theme input.form-control-static,
.dark-theme select.form-control,
.dark-theme textarea.form-control
{
    color: #fff;
    border-color: rgba(255, 255, 255, .4);
    background-color: rgba(255, 255, 255, .03);
}

.dark-theme select.form-control option
{
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
}

.dark-theme select.form-control
{
    position: relative;

    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url('/images/icons/arrow-dropdown.svg');
    background-position: 97% 50%;
    background-repeat: no-repeat;
    background-size: 1em;

}



.dark-theme .mfp-dialog-small
{
    color: #fff;
    background-color: #29374f;
}

.dark-theme .mfp-dialog-small .mfp-close
{
    color: #fff;
}





.content-wrap,
.content-wrap-fixed
{
    margin: 0 auto;
}






.promo-block
{
    font-size: 25px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.promo-block:before
{
    content: '';
    display: block;
    /* padding-top: 100% -- width/height
    ratio of promo-block block is 1:1 */
    padding-top: 100%;
}

.promo-block .btn
{
    font-size: 21px;
}

.promo-block__text
{
    width: 100%;
    padding: 90px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.promo-block__text__where-to-buy
{
    position: absolute;
    right: 30px;
    top: 30px;
}

.promo-block__text_wrapper
{
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.promo-block__text__large
{
    font-size: 35px;
}

.promo-block__text__p-half
{
    margin-bottom: .3em;
}

.promo-block__text_bottom
{
    top: auto;
    bottom: 0;
}

.promo-block__background
{
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transition: transform 2s ease-out;
    transform: translate(-50%, -50%);
}

/* Usage -> animation: home-bg-sizing 8s infinite; */
@keyframes home-bg-sizing
{
    0%
    {
        transform: scale(1.0) translate(-50%, -50%);
    }

    50%
    {
        transform: scale(1.1) translate(-50%, -50%);
    }

    100%
    {
        transform: scale(1.0) translate(-50%, -50%);
    }
}





.video-wrapper
{
    width: 100%;
    position: relative;
    z-index: 0;
}

.video-wrapper.video-first-frame,
.video-wrapper.video-last-frame
{
    background: no-repeat top center transparent;
    background-size: 100%;
}

.video-wrapper video
{
    width: 100%;
    display: block;

    opacity: 0;
}






.breadcrumbs
{
    line-height: 1;
    padding: 2em 0;
}

.breadcrumbs__divider
{
    margin: 0 5px;
}

.breadcrumbs__item.active,
.breadcrumbs__divider
{
    opacity: .5;
}





/*--- Categories --------------------------------------------------------------------------------*/

.categories
{
    padding-left: 40px;
    margin-left: -40px;
    margin-right: -40px;

    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.categories__item
{
    width: 420px;
    margin-right: 40px;
    margin-bottom: 40px;

    display: block;
    position: relative;
}

.categories__item.promo-block:before
{
    padding-top: 88%;
}

.categories__item .promo-block__background
{
    transition: transform 300ms ease-out;
}

.categories__item:hover .promo-block__background
{
    transform: translate(-50%, -50%) scale(1.06);
}

.categories__item__text
{
    width: 100%;
    padding: 40px 50px;
    font-size: 35px;
    color: #fff;
    text-align: center;

    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.categories.small .categories__item
{
    width: 305px;
}

.categories.small .categories__item__text
{
    font-size: 25px;
}






/*--- Category ----------------------------------------------------------------------------------*/

.category-favorite:before
{
    padding-top: 540px;
}

.category-favorite .promo-block__background
{
    width: auto;
    height: 100%;
}

.category-favorite .animated-background__animate
{
    transform: translate(-50%, -50%) scale(1.1);
}







.category-filters
{
    margin-top: 40px;
    margin-bottom: 40px;
}

.category-filters__checkboxes
{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.category-filters__checkboxes .c-checkbox
{
    margin: 0 1em 1em 0;
}






body.body-category
{
    background-color: #ddd;
}

.product-list
{
    padding-left: 40px;
    margin-left: -40px;
    margin-right: -40px;

    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.product-list__item
{
    width: 420px;
    margin-right: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    text-align: center;

    background-color: #fff;
}

/* height = width * 0.76 */
.product-list__item__image
{
    height: 320px;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
}

.product-list__item__image.cutout-image
{
    padding: 40px;
}

.product-list__item__image__img
{
    width: 100%;
    height: auto;
    transition: transform 300ms ease-out;
}

.product-list__item:hover .product-list__item__image__img
{
    transform: translate(0%, 0%) scale(1.06);
}

.product-list__item__image__img:not(.active)
{
    display: none;
}

.product-list__item__colors
{
    height: 60px;
    position: absolute;
    bottom: 0;
    background-color: rgba(255, 255, 255, .5);
}

.product-list__item__text
{
    display: block;
    padding: 10px 40px 0 40px;
}

.product-list__item__text__name,
.product-list__item__text__model,
.product-list__item__text__features
{
    display: block;
    margin-bottom: .3em;
}

.product-list__item__text__features
{
    margin-bottom: 0;
}

.product-list__item__variants
{
    padding: 20px 40px 0 40px;

    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.product-list__item__variants__item
{
    padding: .1em .3em .1em .4em;
    margin-right: .5em;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 4px;
}

.product-list__item__variants__item:hover
{
    color: #e53942;
    border-color: #e53942;;
}






.category-related-header
{
    margin-top: 60px;
    margin-bottom: 60px;
    text-align: center;
}





/*--- Color Switch ------------------------------------------------------------------------------*/

.color-switch
{
    display: flex;
    justify-content: center;
    align-items: center;
}

.color-switch__handle
{
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    background-color: magenta;

}

.color-switch__handle.active:after
{
    content: '';
    width: 35px;
    height: 35px;
    position: absolute;
    top: -5px;
    left: -5px;
    border: 1px solid #aaa;
    border-radius: 50%;
    opacity: .6;
}

.color-switch__handle.black
{
    background-color: #000;

}

.color-switch__handle.gray
{
    background-color: #999;

}

.color-switch__handle:last-child
{
    margin-right: 0;
}







/*--- Header ------------------------------------------------------------------------------------*/

.header
{
    height: 92px;
    position: relative;
    z-index: 1;

    background-color: #181718;
}

.app-navigation
{
    width: 100%;
    min-height: 92px;
    font-weight: 300;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;

    background-color: #181718;
}

.app-navigation__container
{
    width: auto;
    margin: 0 auto;

    display: flex;
    flex-direction: column;

    position: relative;
}

.logo
{
    width: 130px;

    position: absolute;
    top: 28px;
    left: 40px;

    z-index: 1;
}

.logo__sharp
{
    display: block;
}

.logo__sharp__image
{
    width: 100%;
    height: auto;
}

.app-navigation .cnavbar__item__link,
.app-navigation .cnavbar__item__link:visited,
.app-navigation .cnavbar__item__link:active
{
    padding: .37em .94em .47em .94em;
}

.login-menu
{
    font-size: 18px;

    display: flex;
    justify-content: flex-end;
}

.login-menu .cnavbar__item__link
{
    opacity: .35;
}

.login-menu .cnavbar__item__link:hover
{
    opacity: 1;
}

.main-menu
{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

    position: relative;
}

.main-menu .cnavbar
{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

    flex-grow: 1;
}

.search-form
{
    padding: 0 .94em .2em .94em;

    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    flex-grow: 0;

    position: absolute;
    right: 0;
}

.search-form__input
{
    width: 170px;
    padding: 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #fff;
    background-color: transparent;

}

.search-form__submit
{
    width: 1em;
    height: 1em;
    text-indent: -9999px;
    margin: 0 0 -10px 10px;
    border: none;
    cursor: pointer;
    background: url('/images/icons/magnifier-2.svg') no-repeat;
}






.hamburger
{
    display: none;

    position: absolute;
    top: 42px;
    right: 40px;
}

.hamburger__checkbox
{
    display: none;
}

.hamburger__icon
{
    width: 50px;
    height: 40px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger__icon__bar
{
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ccc;

    transition: all 0.2s;
}

.hamburger__checkbox[type=checkbox] + .hamburger__icon .top-bar {
    transform: rotate(0);
}

.hamburger__checkbox[type=checkbox] + .hamburger__icon .middle-bar {
    opacity: 1;
}

.hamburger__checkbox[type=checkbox]:checked + .hamburger__icon .top-bar {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
    margin: 10%;
}

.hamburger__checkbox[type=checkbox]:checked + .hamburger__icon .middle-bar {
    opacity: 0;
}

.hamburger__checkbox[type=checkbox]:checked + .hamburger__icon .bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
    margin: 10%;
}
