﻿body {
    background: #fff;
    -webkit-animation-duration: 0.1s;
    -webkit-animation-name: fontfix;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: linear;
    -webkit-animation-delay: 0.1s;
    -webkit-tap-highlight-color: transparent;
    margin: 0;
    font-family: "Plus Jakarta Sans";
}

html, body {
    scroll-behavior: smooth;
}

.cafef-private-top-100 {
    background: #fff;
    font-family: "Plus Jakarta Sans";
    color: #000046;
    font-size: 14px;
    line-height: 20px;
}

.container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 1370px;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

*, ::after, ::before {
    box-sizing: border-box;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

a {
    text-decoration: none;
    outline: none;
}

    a:hover {
        text-decoration: none;
    }

p {
    margin: 0;
}

h1, h2, h3, h4, h5 {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    color: transparent;
}

input, textarea, select, a {
    outline: none;
}

.icon {
    display: inline-flex;
}

.hidden {
    display: none !important;
}

.img-resize {
    display: block;
    position: relative;
    height: max-content;
}

    .img-resize:before {
        padding-bottom: 62.5%;
        content: "";
        display: block;
    }

    .img-resize img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        bottom: 0;
        margin: auto;
        background-size: cover;
        background-position: center;
        object-fit: cover;
    }

.img-square {
    display: block;
    position: relative;
    height: max-content;
}

    .img-square:before {
        padding-bottom: 133.33%;
        content: "";
        display: block;
    }

    .img-square img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        bottom: 0;
        margin: auto;
        background-size: cover;
        background-position: center;
        object-fit: cover;
    }

.iframe-resize {
    display: block;
    position: relative;
    height: max-content;
}

    .iframe-resize:before {
        padding-bottom: 56.25%;
        content: "";
        display: block;
    }

    .iframe-resize .iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.item-loading {
    position: relative;
    overflow: hidden;
    border: 0 !important;
}

    .item-loading img {
        position: initial !important;
    }

    .item-loading * {
        opacity: 0;
    }

@keyframes load {
    from {
        left: -100%;
    }

    to {
        left: 100%;
    }
}

.item-loading:after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    background: #f9f9f9 !important;
    z-index: 1;
    opacity: 1 !important;
    top: 0;
    height: 100% !important;
    width: 100% !important;
}

.item-loading:before {
    content: "" !important;
    display: block;
    position: absolute;
    left: -100%;
    top: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, transparent 0%, #e8e8e8 50%, transparent 100%);
    animation: load 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    z-index: 2;
}
