/**
* 2022 Anvanto
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
*
*  @author    Anvanto <anvantoco@gmail.com>
*  @copyright 2022 Anvanto
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*/


.an_banner-img {
    overflow: hidden;
}
.an_banner a {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
}
.an_banner img:not(.b-lazy),
.an_banner img.b-loaded {
    max-width: 100%;
    width: 100%;
    height: auto;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.an_banner-default {
    margin-bottom: 20px;
}
.an_banner-default a {
    position: static;
}
.an_banner-default .an_banner-title {
    font-size: 16px;
    line-height: 1.5;
    display: block;
    margin: 0 0 21px;
}
.an_banner-default .an_banner-img {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 14px 2px 0px;
}
.an_banner-default .an_banner-content {
    display: flex;
    align-items: center;
    font-weight: bold;
}
.an_banner-default .an_banner-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.an_banner-default .an_banner-text .banner-bigtext {
    font-size: 30px;
    line-height: 1;
    margin-bottom: 6px;
}
.an_banner-default .an_banner-text p {
    font-size: 12px;
    line-height: 1.2;
    margin-bottom: 7px;
}
.an_banner-default .an_banner-text p:last-child {
    margin-bottom: 0;
}

.an_banner-simpletext p {
    font-size: 14px;
    margin: 0;
}
.header-nav .an_banner-simpletext svg {
    margin: 0 11px -3px 1px;
}
.an_banner.an_banner-type1 {
    margin-bottom: 30px;
}
.an_banner.an_banner-type1 a {
    left: 15px;
    right: 15px;
}
.an_banner.an_banner-type1 .an_banner-content {
    position: relative;
}
.an_banner.an_banner-type1 .an_banner-text {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 39px 48px;
}
.an_banner.an_banner-type1.an_banner-small .an_banner-text {
    padding: 19px 20px;
}
.an_banner.an_banner-type1 .an_banner-text .an_banner-title {
    font-size: 32px;
    line-height: 0.92;
    margin-bottom: 0px;
    max-width: 200px;
}
.an_banner.an_banner-type1 .an_banner-text p:not(.an_banner-title) {
    font-size: 14px;
    line-height: 20px;
    margin: 0;
}
.an_banner.an_banner-type1.an_banner-white .an_banner-text p {
    color: #fff;
}

/*** effects ***/
.an_banner.an_banner-type1 .an_banner-img {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}
.an_banner.an_banner-type1 .an_banner-img::before {
    position: absolute;
    top: 0;
    left: -95%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 100%);
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
    pointer-events: none;
}
.an_banner.an_banner-type1 .an_banner-link:hover+.an_banner-content .an_banner-img::before {
    -webkit-animation: shine .75s;
    animation: shine .75s;
}
@-webkit-keyframes shine {
    100% {
        left: 125%;
    }
}
@keyframes shine {
    100% {
        left: 125%;
    }
}
@media (max-width: 580px) {
    .an_banner.an_banner-type1.an_banner-big .an_banner-text {
        padding: 15px 0 15px;
        position: static;
    }
    .an_banner.an_banner-type1.an_banner-big .an_banner-text p {
        color: #000;
    }
    .an_banner.an_banner-type1.an_banner-big .an_banner-text .an_banner-title {
        font-size: 30px;
        margin-bottom: 7px;
    }
}
@media (max-width: 380px) {
    .an_banner.an_banner-type1 .an_banner-text {
        padding: 15px 0 15px;
        position: static;
    }
    .an_banner.an_banner-type1.an_banner-white .an_banner-text p {
        color: #000;
    }
    .an_banner.an_banner-type1 .an_banner-text .an_banner-title {
        margin-bottom: 7px;
    }
}