/**
* 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;
      }
.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:0;
    padding-bottom: 0;
}
.an_banner.an_banner-type1 > a {
    left: 5px;
    right: 0;
    width: calc(100% - 10px);
    height: calc(100% - 20px);
    top: 10px;
    z-index: 50;
}
.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: 34px 33px;
    z-index: 40;
    transition: all 0.3s ease-in-out;
}
.an_banner.an_banner-type1.an_banner-big .an_banner-text .an_banner-title {
    font-size: 36px;
    line-height: 35px;
    margin-bottom: 10px;
    max-width: 440px;
    font-weight: 700;
}
.an_banner.an_banner-type1 .an_banner-text .an_banner-title {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 13px;
}
.an_banner.an_banner-type1 .an_banner-text p:not(.an_banner-title) {
    font-size: 16px;
    line-height: 20px;
    margin: 0;
    font-weight: 300;
}
.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;
}
/* .an_banner.an_banner-type1:hover .an_banner-img::before{
    background: linear-gradient(180deg, rgba(0, 89, 99, 0.3) 0%, #00282D 100%);
} */
.an_banner.an_banner-type1:hover .an_banner-text{
bottom: 45px;
}

/* .an_banner.an_banner-type1 .an_banner-text:after {
    content: url(../img/arrow-top.png);
    position: absolute;
    right: 0px;
    top: 5px;
} */
/*.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%;
    }
}
