.sidebar h4 {
    margin-bottom: 16px;
}

.sidebar .banner {
    padding: 20px;
    border: 1px solid #eee;
}

.sidebar .newsletter {
    margin-top: 24px;
    border: 8px solid #000;
    padding: 30px 20px;
}

.sidebar .newsletter input,
.sidebar .newsletter button {
    width: 100%;
    margin-bottom: 16px;
}

.sidebar .newsletter input {
    border: 2px solid #eee;
    padding: 5px 0 5px 5px;
    -webkit-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
}

.sidebar .newsletter input:focus {
    border: 2px solid var(--ylw);
    outline: none;
}

.sidebar .sidebar_news {
    margin-top: 24px;
    padding: 30px 20px;
}

.sidebar .sidebar_news ul li {
    margin-bottom: 16px;
}

.sidebar .sidebar_news ul li a {
    color: #555;
    font-size: 15px;
}

.sidebar .sidebar_news ul li i {
    color: #999;
    margin-right: 5px;
}

/* Favourites */
.favourites {
    right: -100%;
    min-width: 500px;
}

.favourites.active {
    right: 0;
}

.fav_top {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    -ms-box-pack: justify;
    width: 100%;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.fav_top h3 {
    color: var(--ylw);
}

.fav_header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 16px;
}

.fav_header button {
    padding: 8px 16px;
    background: transparent;
    color: #121315;
    border-radius: 0;
    border: none;
    outline: none;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 600;
}

.fav_header button.active,
.fav_header button:hover,
.fav_header button:focus {
    background: #fed620;
}

.fav_body {
    position: relative;
    min-height: 660px;
    overflow-y: auto;
}

.fav_tab {
    position: absolute;
    top: 0;
    left: 0;
}

.fav_trainer {
    display: none;
}

/* Calculator */
.calc,
.favourites {
    position: fixed;
    top: 0;
    bottom: 0;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    min-width: 30%;
    max-width: 768px;
    min-height: 100%;
    z-index: 10000;
    background: #fff;
    padding: 24px;
}

.favourites li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 16px;
}

.favourites li img {
    margin-right: 16px;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

.favourites li .fav_btn {
    color: var(--ylw);
    font-size: 20px;
    background: transparent;
    padding: 0;
}

.calc {
    left: -100%;
    border-right: 5px solid var(--ylw);
    border-bottom: 5px solid var(--ylw);
    overflow-y: auto;
}

.calc .rslt {
    margin-top: 16px;
}

.calc .rslt table {
    border: 2px solid #eee;
    margin-top: 16px;
    margin-bottom: 16px;
    border-collapse: collapse;
}

.calc .rslt table tr,
.calc .rslt table td {
    border: 2px solid #eee;
}

.calc .rslt table td {
    padding: 8px 16px;
}

.calc .fill {
    padding: 16px;
    border-left: 4px solid #f45f63;
    margin-bottom: 16px;
    color: #f45f63;
    font-family: "Montserrat", sans-serif;
    display: none;
}

.calc.active {
    left: 0;
}

@media (max-width: 568px) {
    .favourites {
        min-width: 100%;
        padding: 16px;
        border: none;
    }
    .calc {
        max-width: 100%;
        min-width: 100%;
        border: none;
        padding: 44px 24px;
        height: auto;
    }
    .favourites .fav_closer {
        top: 16px;
        right: 16px;
    }
    .favourites .h3,
    .favourites .fav_closer {
        font-size: 20px;
    }
    .favourites .fav_img {
        margin-right: 0;
        margin-bottom: 16px;
    }
}
