.template-inner,
.template-inner * {
    box-sizing: border-box;
}

.top-section h2 {
    font-size: 65px;
    font-family: var(--zf-primary-bold);
    line-height: 1.2;
    margin: 0 auto 15px;
}

.top-section {
    padding: 100px 0 0;
}

.top-section .content-wrap{
    max-width:1200px;
}

.banner-head {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.banner-media {
    justify-self: center;
}

.banner-media img {
    vertical-align: bottom;
}

.data-section {
    background: #f2f2f2;
    padding: 70px 0 80px;
}

.data-section .content-wrap {
    max-width: 1200px;
}

.tips-data-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-template-rows: minmax(40px, auto) auto;
}

.tips-data-top {
    grid-area: 1/1/2/3;
    padding-bottom: 60px;
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
}

.tips-home a {
    position: relative;
    text-transform: uppercase;
    font-family: var(--zf-primary-semibold);
    font-size: 14px;
    padding-left: 30px;
    color: #000;
}

.tips-home a:before {
    content: '';
    background: url('/sites/default/files/tips-tricks-sprite.svg') no-repeat 0 0/50px auto;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}

.tips-search-box {
    width: 380px;
    margin: 0 0 0 auto;
    position: relative;
    z-index: 9
}

.tips-search-box form {
    position: relative
}

.tips-search-box .tips-search-input {
    width: 100%;
    padding: 8px 60px 10px 15px;
    height: 45px;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #ccc;
    border-radius: 50px;
    font-size: 16px;
    font-family: var(--zf-primary-regular)
}

.tips-search-box.active .tips-search-input {
    border-radius: 25px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border: 1px solid #ccc
}

.tips-search-box .tips-search-submit {
    width: 60px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border: 0;
    outline: 0;
    background: transparent;
    cursor: pointer
}

.tips-search-submit span {
    background: url('/sites/default/files/tips-tricks-sprite.svg') no-repeat -25px 0/50px auto;
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

.tips-search-data {
    max-height: 190px;
    overflow-y: scroll;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 10px 0 5px;
    background: #fff;
    width: 100%;
    border-radius: 25px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border: 1px solid #ccc;
    border-top-color: #fff;
    display: none
}

.tips-search-box.active .tips-search-data {
    display: block
}

.tips-search-loader-box {
    display: none
}

.tips-search-loader {
    margin: 0 auto;
    width: 50px;
    height: 30px;
    text-align: center;
    font-size: 10px
}

.tips-search-loader>span {
    background: #1976d2;
    height: 100%;
    width: 3px;
    display: inline-block;
    margin: 0 1px;
    animation: stretchdelay 1.2s infinite ease-in-out
}

.tips-search-loader .rect2 {
    animation-delay: -1.1s
}

.tips-search-loader .rect3 {
    animation-delay: -1s
}

.tips-search-loader .rect4 {
    animation-delay: -0.9s
}

.tips-search-loader .rect5 {
    animation-delay: -0.8s
}

@keyframes stretchdelay {
    0%,
    40%,
    100% {
        transform: scaleY(0.4)
    }
    20% {
        transform: scaleY(1.0)
    }
}

.tips-search-data ul {
    background: #fff
}

.tips-search-data ul li {
    margin-bottom: 10px
}

.tips-search-data ul li:not(.no-data):hover {
    background: #c7deff;
}

.tips-search-data ul li.no-data {
    text-align: center
}

.tips-search-data ul li a,
.tips-search-data ul li {
    font-size: 15px;
    color: #000;
    display: block;
    text-align: left
}

.tips-search-data ul li a {
    padding: 0 10px;
}

.tips-search-data ul strong {
    color: #1976d2;
}

.tips-category-nav {
    grid-area: 2/1/3/2;
}

.tips-n-fixed {
    position: fixed;
    width: 300px;
    overflow-y: scroll;
    height: calc(100% - 160px);
    scrollbar-width: none;
    scrollbar-color: transparent;
    transition: top .1s ease-out;
}

.tips-n-fixed::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.tips-select-category {
    display: none;
    position: relative;
}

.tips-select-category span {
    display: none;
}

.tips-select-category.is-loaded {
    display: block;
}

.tips-data-category {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
}

.tips-data-category li {
    margin-bottom: 20px;
    font-size: 16px;
    cursor: pointer;
}

.tips-data-category li.active {
    color: #388bfd;
    font-family: var(--zf-primary-semibold);
}

.tips-data-category li:last-child {
    margin-bottom: 0
}

.tips-top-articles {
    padding: 40px;
    margin: 20px 0 0;
    display: none;
}

.tips-top-articles.is-loaded {
    display: block;
}

.tips-top-articles p {
    font-size: 15px;
    font-family: var(--zf-primary-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.tips-top-articles a {
    color: #000;
    font-size: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #ccc;
    display: block;
}

.tips-top-articles a:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tips-data-outer {
    grid-area: 2/2/3/3;
    padding-left: 60px;
}

.tips-data-inner {
    word-break: break-word;
}

.tips-data-inner h1 {
    font-size: 35px;
    margin-bottom: 30px;
}

.tips-data-inner h2 {
    font-size: 28px;
}

.tips-data-inner h3 {
    font-size: 26px;
}

.tips-data-inner h4 {
    font-size: 24px;
}

.tips-data-inner h5 {
    font-size: 22px;
}

.tips-data-inner h6 {
    font-size: 20px;
}

.tips-data-inner h2,
.tips-data-inner h3,
.tips-data-inner h4,
.tips-data-inner h5,
.tips-data-inner h6 {
    margin: 35px auto 15px;
}

.tips-data-inner ul,
.tips-data-inner ol {
    list-style-type: disc;
    padding-left: 15px;
    margin: 30px 0;
}

.tips-data-inner ol {
    list-style-type: decimal;
}

.tips-data-inner li {
    margin-bottom: 20px;
    font-size: 15px;
}

.tips-data-inner li:last-child {
    margin-bottom: 0;
}

.tips-data-inner p {
    font-size: 15px;
}

.tips-data-inner a {
    color: #388bfd;
}

.tips-data-inner table td {
    padding: 8px;
    border: 1px solid #ccc;
}

.tips-data-inner table p:last-child {
    margin: 0;
}

.tips-data-inner img {
    margin: 15px 0;
    display: block;
}

.tips-m-image {
    max-width: 700px;
    width: 100%;
}

.tips-s-image {
    max-width: 550px;
    width: 100%;
}

.tips-xs-image {
    max-width: 400px;
    width: 100%;
}

img.tips-image-center {
    margin: 15px auto;
}

.tips-image-shadow {
    box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.25);
}

.tips-image-border {
    border: 1px solid #ccc;
}

.tips-image-radius {
    border-radius: 15px;
}

.tips-data-inner video {
    width: 100%;
}

.tips-data-inner iframe {
    max-width: 100%;
    margin: 0 0 10px;
}

.tips-bottom-cta {
    text-align: center;
    margin: 40px 0 20px;
}

@media only screen and (min-width:1400px) and (max-width:1599px) {
    .top-section h2 {
        font-size: 60px;
    }
}

@media only screen and (max-width:1399px) {
    .top-section h2 {
        font-size: 55px;
    }
}

@media only screen and (max-width:1199px) {
    .top-section {
        padding: 80px 0 0;
    }
    .data-section .content-wrap {
        width: 90%;
    }
    .tips-data-container {
        grid-template-columns: 250px 1fr;
    }
    .tips-n-fixed {
        width: 250px;
    }
    .tips-data-category,
    .tips-top-articles {
        padding: 40px 30px;
    }
    .tips-data-outer {
        padding-left: 50px;
    }
}

@media only screen and (max-width:1140px) {
    .data-section .content-wrap {
        width: 95%;
    }
    .tips-n-fixed {
        height: calc(100% - 100px);
    }
}

@media only screen and (max-width:991px) {
    .top-section {
        padding: 50px 0 0;
    }
    .top-section h2 {
        font-size: 50px;
    }
    .banner-head {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 70px;
    }
    .banner-media img {
        max-width: 360px;
        width: 100%;
    }
    .data-section {
        padding: 50px 0 70px;
    }
    .tips-data-inner h1 {
        font-size: 31px;
    }
    .tips-data-inner h2 {
        font-size: 27px;
    }
    .tips-data-inner h3 {
        font-size: 25px;
    }
    .tips-data-inner h4 {
        font-size: 23px;
    }
    .tips-data-inner h5 {
        font-size: 21px;
    }
    .tips-data-inner h6 {
        font-size: 19px;
    }
    .tips-data-category li {
        font-size: 15px;
    }
}

@media only screen and (max-width:900px) {
    .data-section .content-wrap {
        max-width: 680px;
        width: 90%;
    }
}

@media only screen and (max-width:767px) {
    .top-section h2 {
        font-size: 40px;
    }
    .banner-head {
        gap: 30px;
    }
    .banner-media img {
        max-width: 250px;
    }
    .data-section {
        padding: 50px 0;
    }
    .tips-data-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, minmax(40px, auto));
    }
    .tips-data-top {
        padding-bottom: 15px;
        grid-area: 1/1/2/2;
    }
    .tips-search-box,
    .tips-data-navInner {
        max-width: 350px;
        margin: 0 0 0 auto;
    }
    .tips-search-box {
        width: 100%;
    }
    .tips-search-box .tips-search-input,
    .tips-search-box.active .tips-search-input {
        font-size: 15px;
        border-radius: 5px;
    }
    .tips-search-box.active .tips-search-input {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .tips-search-data {
        border-radius: 5px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .tips-category-nav {
        grid-area: 2/1/3/2;
    }
    .tips-select-category span {
        display: block;
        padding: 10px 50px 10px 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background: #fff;
        font-size: 15px;
        position: relative;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        cursor: pointer;
    }
    .tips-select-category span.active {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .tips-select-category span:after,
    .tips-select-category span.active:after {
        content: '';
        width: 7px;
        height: 7px;
        border-width: 0 2px 2px 0;
        border-style: solid;
        border-color: #000;
        position: absolute;
        right: 25px;
        top: 15px;
        transform-origin: center;
        transform: rotate(45deg);
    }
    .tips-select-category span.active:after {
        transform: rotate(225deg);
        top: 20px;
    }
    .tips-data-category {
        position: absolute;
        top: 100%;
        display: none;
        max-height: 190px;
        overflow-y: scroll;
        left: 0;
        width: 100%;
        z-index: 9;
        padding: 15px;
        border: 1px solid #ccc;
        border-top-color: #fff;
        border-radius: 5px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .tips-data-category li {
        margin-bottom: 15px;
    }
    .tips-data-outer {
        grid-area: 3/1/4/2;
        padding: 50px 0 0;
    }
    .tips-data-inner h1 {
        font-size: 30px;
    }
    .tips-data-inner h2 {
        font-size: 26px;
    }
    .tips-data-inner h3 {
        font-size: 24px;
    }
    .tips-data-inner h4 {
        font-size: 22px;
    }
    .tips-data-inner h5 {
        font-size: 20px;
    }
    .tips-data-inner h6 {
        font-size: 18px;
    }
    .tips-top-articles {
        margin: 60px auto 10px;
        padding: 0;
    }
    .tips-top-articles p {
        margin-bottom: 20px;
    }
    .tips-top-articles a {
        padding: 0 0 0 15px;
        border: none;
        margin-bottom: 10px;
        position: relative;
    }
    .tips-top-articles a:before {
        content: '';
        width: 8px;
        height: 8px;
        background: #000;
        border-radius: 50px;
        position: absolute;
        top: 7px;
        left: 0;
    }
    .tips-top-articles a:last-child {
        margin: 0;
    }
}