/****************************
    Start of the Page
****************************/

body {
    font-family: 'Montserrat', sans-serif;
    /*--main-color: #33b5e5;*/
    --main-color: #0b3374;
    --main-color-red: #DB1A11;
    --card-bg-light: #F8F7F2;
    /* #fb7969;*/
    word-spacing: 2px;
}

.bg_light {
    background-color: var(--card-bg-light);
}

* {
    scrollbar-width: thin;
    scrollbar-color:#808080; /* #DB1A11 #0b3374;*/
}


/* Works on Chrome, Edge, and Safari */

*::-webkit-scrollbar {
    width: 12px;
}

*::-webkit-scrollbar-track {
    background: #0b3374;
}

*::-webkit-scrollbar-thumb {
    background-color: #808080;/* #DB1A11;*/
    border-radius: 20px;
    border: 3px solid #0b3374;
}


/*****************************
    Loader  - Begin
*****************************/

.loader-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #FFF;
    /*#242f3f;*/
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000000000;
}

.loader {
    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
    border: 4px solid #242f3f;
    /*#Fff;*/
    animation: loader 2s infinite ease;
}

.loader-inner {
    vertical-align: top;
    display: inline-block;
    width: 100%;
    background-color: #242f3f;
    /*#fff;*/
    animation: loader-inner 2s infinite ease-in;
}

@keyframes loader {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(180deg);
    }
    50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes loader-inner {
    0% {
        height: 0%;
    }
    25% {
        height: 0%;
    }
    50% {
        height: 100%;
    }
    75% {
        height: 100%;
    }
    100% {
        height: 0%;
    }
}


/*****************************
    Loader  - End
*****************************/

@media only screen and (min-width:1200px) {
    .nav-item>.nav-link {
        padding: 5px 20px !important;
        display: block !important;
    }
}

@media only screen and (min-width:1201px) {
    #content-banner-container {
        width: 25%;
    }
}

@media only screen and (max-width:1200px) {
    #content-banner-container {
        width: 30%;
    }
}

@media only screen and (max-width:992px) {
    .header-inner {
        background-image: none;
        background-color: white !important;
    }
    .nav-item>.nav-link {
        color: black !important
    }
    .logo {
        color: #000 !important;
        font-weight: 600 !important;
    }
    #content-banner {
        height: 440px;
    }
    .logo-text-inner {
        font-size: 15px;
    }
    #content-banner-container {
        width: 40%;
    }
    .content-banner .first-title {
        font-size: 20px !important;
    }
    .content-banner .first-title-mod {
        font-size: 14px;
    }
    .content-banner .banner-des-mod {
        font-size: 14px;
    }
    #navbarSupportedContent ul {
        padding-bottom: 20px;
    }
    #link_useful {
        text-align: center;
    }
    /*
    .container_foto_wide {
        min-height: 350px;
    }
    .nested_cell {
        max-width: 300px;
    }
    */
}

@media only screen and (max-width:768px) {
    #content-banner-container {
        width: 50%;
    }
}

@media only screen and (max-width:375px) {
    .logo-text-inner {
        font-size: 12px;
    }
    #content-banner {
        height: 300px;
    }
}

a {
    text-underline-offset: 2px;
}

.ul-bullet .list-group-item:before {
    content: "-";
    margin-left: -10px;
    margin-right: 5px;
}


/*
@media only screen and (max-width:992px) {
    .content-banner .first-title {
        font-size: 20px !important;
    }
    .content-banner .first-title-mod {
        font-size: 14px;
    }
    .content-banner .banner-des-mod {
        font-size: 14px;
    }
}
*/

.main-color {
    color: var(--main-color);
}

.main-color-red {
    color: var(--main-color-red);
}

h1 {
    color: var(--main-color);
    font-size: 48px;
    font-weight: 800;
    line-height: 60px;
}

h2 {
    color: var(--main-color);
    font-size: 32px;
    font-weight: 800;
    line-height: 38px;
}

h3,
h4 {
    color: var(--main-color);
    font-weight: 800;
}


/*
.dropdown-toggle::after {
    display: none;
}
*/


/******* < Search box ********

.search-toggle {
    position: relative;
    display: block;
    height: 10px;
    width: 10px;
    &::before,
    &::after {
        content: '';
        position: absolute;
        display: block;
        transition: all 0.1s;
    }
    &::before {
        border: 2px solid $blue;
        border-radius: 50%;
        width: 100%;
        height: 100%;
        left: -2px;
        top: -2px;
    }
    &::after {
        height: 2px;
        width: 7px;
        background: $blue;
        top: 10px;
        left: 8px;
        transform: rotate(45deg);
    }
    &.active {
        &::before {
            width: 0;
            border-width: 1px;
            border-radius: 0;
            transform: rotate(45deg);
            top: -1px;
            left: 4px;
        }
        &::after {
            width: 12px;
            left: -1px;
            top: 4px;
        }
    }
}

.search-input {
    &:focus {
        outline: none;
    }
}


/******* > Search box ********/


/******* < Video Background ********/

#content-banner {
    position: relative;
    overflow: hidden;
    /*height: 300px;*/
}

#content-banner-container {
    position: absolute;
    color: #ffffff;
    z-index: 2;
    left: 10px;
    bottom: 10px;
}

#video-background {
    position: absolute;
    height: auto;
    width: auto;
    min-height: 100%;
    min-width: 100%;
    left: 50%;
    top: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
    z-index: 1;
}


/******* Video Background > ********/

.content-banner {
    color: #ffffff;
    /*background-image: url(../img/banner.png);*/
    /*background-image: url(../img/20190401_105039.jpg);*/
    height: 400px;
    position: relative;
    background-position: center center;
    background-size: cover;
    padding-top: 125px;
}

.content-banner:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(57, 49, 49, 0.1);
    top: 0;
    left: 0;
    z-index: 1;
}

.content-banner .first-title {
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    margin: 0px 0px 12px;
    background-color: rgba(11, 51, 116, 0.6);
    /*#0b3374 !important;*/
    /*opacity: 0.8;*/
    padding: 10px;
    /*font-family: 'Playfair Display', serif;*/
}

.content-banner .first-title-mod {
    font-weight: 400;
    margin-bottom: 10px;
    padding: 10px;
    border-left: rgba(219, 26, 17) solid 5px;
    background-color: rgba(11, 51, 116, 0.6);
    /*#0b3374 !important;*/
    /*opacity: 0.8;*/
}

.content-banner .banner-des {
    /*font-size: 16px;
    line-height: 150%;*/
    letter-spacing: 0;
    position: relative;
    z-index: 2;
    font-weight: 400;
    /*margin: 10px 0 0;*/
    color: #000;
    background-color: #f8fcfd !important;
    opacity: 0.8;
    padding: 10px;
    margin-top: -12px;
    font-family: 'Rosario', sans-serif;
}

.content-banner .banner-des-chi {
    font-family: 'Noto Sans TC', sans-serif;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.content-banner-common {
    /*background-image: url(../img/banner.png);*/
    background-image: url(../img/banner_home_3.jpg);
    /*banner_default.jpg*/
}

.header {
    position: relative;
    width: 100%;
}

.header-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background-color: transparent;
    background-image: url(../img/bg-repeat-banner_50.png);
    background-repeat: repeat-x;
}

.header-bg-none {
    background-image: none;
}

.header-bg-dark {
    background-image: url(../img/bg-repeat-banner_50.png);
    background-repeat: repeat-x;
}

.scroll_h {
    overflow: auto;
    white-space: nowrap;
}

.logo {
    color: #ffffff;
}

.logo .logo-text,
.logo-text {
    color: var(--main-color);
    /*#9ae4ff;
    /* #33b5e5;*
    font-family: 'PT Sans Narrow', sans-serif;*/
}

.logo-text-inner {
    color: var(--main-color);
    /*#9ae4ff;
    /* #33b5e5;*/
    font-family: 'Alegreya Sans', sans-serif;
    /*
    font-family: 'Teko', sans-serif;
    font-family: 'Teko';
    font-size: 16px;*/
    margin: 10px 0 10px;
    display: inline-block;
    font-weight: bold;
}

.logo .logo-text-scroll {
    /*color: #fb7969;*/
    color: var(--main-color);
}

.logo img {
    width: 50px;
    margin: -20px 0px 0px 0px;
}

.nav-item .nav-link {
    display: block;
    line-height: 36px;
    text-transform: capitalize;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    transition: 0.15s;
}

.font-italic {
    font-family: 'Rosario', sans-serif;
}

.nav-item .nav-link:hover {
    /*color: #ffa194;*/
    color: var(--main-color-red);
    /*#FE4066;*/
}

.header-btn {
    color: #ffffff;
    border-radius: 30px;
    background-color: gray;
    border: none;
    font-weight: 500;
    outline: none;
    font-size: 15px;
    padding: 7px 22px;
    transition: 0.5s;
}

.header-btn:hover {
    background-color: #FE4066;
    cursor: pointer;
}

.navbar-scroll {
    background-color: #ffffff;
    padding: 0;
    position: fixed;
    top: 0;
    z-index: 99;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.4);
    /*transition-duration: 0.6s;*/
    transition: 0.6s;
    background-image: none;
}

.navbar-scroll .nav-item .nav-link {
    color: black;
}

.navbar-scroll .header-btn {
    color: #ffffff;
    background-color: #fe4066;
}

.navbar-scroll .logo {
    color: #000;
    font-weight: 500;
}

.school_name {
    color: black;
    /* var(--main-color);*/
    font-weight: 800;
    font-size: 25px;
    letter-spacing: 1px;
}

.text-shadow {
    text-shadow: 2px 2px 4px #000000;
}

.text-shadow-g {
    text-shadow: 2px 2px 4px #999;
}

.text-shadow-w {
    text-shadow: 2px 2px 4px rgb(255, 255, 255);
}

.text-shadow-y {
    text-shadow: 2px 2px 4px rgb(255, 255, 211);
}

title {
    text-transform: capitalize;
}

.first-title-scroll {
    margin-top: 0;
}

section {
    background-color: white;
    /*padding: 4rem 0rem 4rem;*/
}

.contact-method i {
    /*color: #fb7969;*/
    color: var(--main-color);
    font-size: 20px;
    float: left;
    width: 44px;
    height: 44px;
    background: #f8fcfd;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
}

.contact-method h5,
.contact-method p {
    padding-left: 60px;
}

.parallax-bg {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("../img/logo_school_parallax2.png");
}

.parallax-bg-admission {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("../img/parallax_admission.jpg");
}

.shadow-box {
    /*color: #444;*/
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    /*padding: 20px 0 30px 0;*/
    margin-bottom: 30px;
}

.fa-li i {
    /*color: #fb7969;*/
    color: var(--main-color);
}


/* [1] The container */

.img-hover-zoom {
    height: 300px;
    /* [1.1] Set it as per your need */
    overflow: hidden;
    /* [1.2] Hide the overflowing of child elements */
}


/* [2] Transition property for smooth transformation of images */

.xoom-img {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform .5s ease;
}


/* [3] Finally, transforming the image when container gets hovered */

.img-hover-zoom:hover img {
    transform: scale(1.5);
}

#header-img {
    margin: 5px;
}


/*
section:nth-of-type(even) {
    background-color: #ffffffd7;
    color: white;
}
*/

@media (min-width: 992px) {
    .animate {
        animation-duration: 0.3s;
        -webkit-animation-duration: 0.3s;
        animation-fill-mode: both;
        -webkit-animation-fill-mode: both;
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(1rem);
        opacity: 0;
    }
    100% {
        transform: translateY(0rem);
        opacity: 1;
    }
    0% {
        transform: translateY(1rem);
        opacity: 0;
    }
}

@-webkit-keyframes slideIn {
    0% {
        -webkit-transform: transform;
        -webkit-opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0);
        -webkit-opacity: 1;
    }
    0% {
        -webkit-transform: translateY(1rem);
        -webkit-opacity: 0;
    }
}

.slideIn {
    -webkit-animation-name: slideIn;
    animation-name: slideIn;
}

.contenedor {
    height: 100%;
    /*padding: 5% 0;*/
}

.container_foto_wide {
    overflow: hidden;
    width: 100%;
    margin: 5px auto;
    position: relative;
    background-color: rgba(255, 255, 255, 0.2);
    /*background-color: rgba(57, 49, 49, 0.6);
    background-image: url('../../assets/img/icon_announcement.jpg');*/
    background-position: center;
    background-repeat: no-repeat;
    -moz-background-size: 100% 100%;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    height: 100%;
    min-height: 210px;
}

.container_foto_tall {
    /*padding: 10px;*/
    overflow: hidden;
    width: 100%;
    margin: 5px auto;
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
    /* background-image: url('../../assets/img/icon_admission.jpg');*/
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    -moz-background-size: 100% 100%;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    height: 100%;
}

.container_foto_tall article,
.container_foto_wide article {
    padding: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
    width: 100%;
}

.container_foto_tall article p {
    font-family: 'Rosario', sans-serif;
}

.text_chi {
    font-family: 'Noto Sans TC', sans-serif;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.container_foto_tall a,
.container_foto_wide a,
.container_foto a {
    text-decoration: none;
}

.container_foto_tall h2,
.container_foto_wide h2 {
    /*background-color: rgba(219, 26, 17, 0.6);*/
    background-color: rgba(10, 41, 90, 0.9);
    opacity: 0.8;
    padding: 5px;
    color: #fff;
    font-weight: 800;
    font-size: 30px;
    text-align: center;
    border-left: rgba(219, 26, 17) solid 5px;
}

.container_foto_tall article div,
.container_foto_tall h4,
.container_foto_wide h4,
.container_foto h4 {
    background-color: #ffffff !important;
    opacity: 0.8;
    padding: 10px;
    color: rgb(0, 0, 0);
    font-weight: 800;
    font-size: 16px;
    text-align: center;
    margin-top: -8px;
    border-bottom: #fff solid 5px;
}

.container_foto {
    background-color: rgba(10, 41, 90, 0.9);
    padding: 10px;
    overflow: hidden;
    width: 100%;
    margin: 5px auto 5px;
    position: relative;
}

.container_foto_alt {
    /*background-color: rgba(219, 26, 17, 0.8);*/
    background-color: rgba(255, 255, 255, 0.9);
}

.container_foto article {
    padding: 5px;
    position: absolute;
    bottom: 0;
    margin: 0 5px -4px;
    left: 0;
    right: 0;
    z-index: 1;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.container_foto h2 {
    background-color: var(--main-color) !important;
    opacity: 0.8;
    padding: 5px;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    text-align: center;
    border-left: var(--main-color-red) solid 5px;
    border-bottom: white solid 2px;
    /*border-left: white solid 5px;*/
}


/*
.container_foto_alt h2 {
    background-color: var(--main-color) !important;
    /*#0b3374*
    opacity: 0.8;
    padding: 5px;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    text-align: center;
    /*border-bottom: #fff solid 2px;*
    border-left: var(--main-color-red) solid 5px;
}
*/


/*
.container_foto h4 {
    font-weight: 300;
    color: #fff;
    font-size: 16px;
}
*/

.container_foto img {
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0.8;
    -webkit-transition: all 3s ease;
    -moz-transition: all 3s ease;
    -o-transition: all 3s ease;
    -ms-transition: all 3s ease;
    transition: all 3s ease;
}


/*
.ver_mas {
    background-color: #666869;
    position: absolute;
    width: 100%;
    height: 70px;
    bottom: 0;
    z-index: 1;
    opacity: 0;
    transform: translate(0px, 70px);
    -webkit-transform: translate(0px, 70px);
    -moz-transform: translate(0px, 70px);
    -o-transform: translate(0px, 70px);
    -ms-transform: translate(0px, 70px);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.ver_mas span {
    font-size: 40px;
    color: #fff;
    position: relative;
    margin: 0 auto;
    width: 100%;
    top: 13px;
}
*/


/*hovers*/

.container_foto:hover {
    cursor: pointer;
}

.container_foto:hover img {
    opacity: 0.1;
    transform: scale(1.5);
}

.container_foto:hover article {
    transform: translate(0px, -10px);
    -webkit-transform: translate(0px, -10px);
    -moz-transform: translate(0px, -10px);
    -o-transform: translate(0px, -10px);
    -ms-transform: translate(0px, -10px);
}


/*
.container_foto:hover .ver_mas {
    transform: translate(0px, 0px);
    -webkit-transform: translate(0px, 0px);
    -moz-transform: translate(0px, 0px);
    -o-transform: translate(0px, 0px);
    -ms-transform: translate(0px, 0px);
    opacity: 1;
}
*/

.container_foto_readme {
    display: none;
}


/******** Nested grid *********/

#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 99;
}

.grid-item {
    width: 200px;
}

.grid-item--width2 {
    width: 400px;
}

.left-border-red {
    border-left: solid 5px var(--main-color-red);
    padding-left: 10px;
}

.bottom-border-red {
    border-bottom: solid 5px var(--main-color-red);
    padding-bottom: 10px;
}

.bottom-border-blue {
    border-bottom: solid 5px var(--main-color);
    padding-bottom: 10px;
}


/*
#table_scholarship_1 th:first-child,
#table_scholarship_1 td:first-child {
    position: sticky;
    left: 0px;
}
*/


/*****************************
    Slide show - Begin
*****************************/

@-webkit-keyframes right {
    from {
        -webkit-transform: translateX(calc((-4vw + -4vh + -4%)/3)) rotate(0.01deg);
        transform: translateX(calc((-4vw + -4vh + -4%)/3)) rotate(0.01deg);
        -ms-transform: translateX(-4%);
    }
    to {
        -webkit-transform: translateX(calc((4vw + 4vh + 4%)/3)) rotate(0.01deg);
        transform: translateX(calc((4vw + 4vh + 4%)/3)) rotate(0.01deg);
        -ms-transform: translateX(4%);
    }
}

@keyframes right {
    from {
        -webkit-transform: translateX(calc((-4vw + -4vh + -4%)/3)) rotate(0.01deg);
        transform: translateX(calc((-4vw + -4vh + -4%)/3)) rotate(0.01deg);
        -ms-transform: translateX(-4%);
    }
    to {
        -webkit-transform: translateX(calc((4vw + 4vh + 4%)/3)) rotate(0.01deg);
        transform: translateX(calc((4vw + 4vh + 4%)/3)) rotate(0.01deg);
        -ms-transform: translateX(4%);
    }
}

@-webkit-keyframes left {
    from {
        -webkit-transform: translateX(calc((4vw + 4vh + 4%)/3)) rotate(0.01deg);
        transform: translateX(calc((4vw + 4vh + 4%)/3)) rotate(0.01deg);
        -ms-transform: translateX(4%);
    }
    to {
        -webkit-transform: translateX(calc((-4vw + -4vh + -4%)/3)) rotate(0.01deg);
        transform: translateX(calc((-4vw + -4vh + -4%)/3)) rotate(0.01deg);
        -ms-transform: translateX(-4%);
    }
}

@keyframes left {
    from {
        -webkit-transform: translateX(calc((4vw + 4vh + 4%)/3)) rotate(0.01deg);
        transform: translateX(calc((4vw + 4vh + 4%)/3)) rotate(0.01deg);
        -ms-transform: translateX(4%);
    }
    to {
        -webkit-transform: translateX(calc((-4vw + -4vh + -4%)/3)) rotate(0.01deg);
        transform: translateX(calc((-4vw + -4vh + -4%)/3)) rotate(0.01deg);
        -ms-transform: translateX(-4%);
    }
}

@-webkit-keyframes down {
    from {
        -webkit-transform: translateY(calc((-4vw + -4vh + -4%)/3)) rotate(0.01deg);
        transform: translateY(calc((-4vw + -4vh + -4%)/3)) rotate(0.01deg);
        -ms-transform: translateY(-4%);
    }
    to {
        -webkit-transform: translateY(calc((4vw + 4vh + 4%)/3)) rotate(0.01deg);
        transform: translateY(calc((4vw + 4vh + 4%)/3)) rotate(0.01deg);
        -ms-transform: translateY(4%);
    }
}

@keyframes down {
    from {
        -webkit-transform: translateY(calc((-4vw + -4vh + -4%)/3)) rotate(0.01deg);
        transform: translateY(calc((-4vw + -4vh + -4%)/3)) rotate(0.01deg);
        -ms-transform: translateY(-4%);
    }
    to {
        -webkit-transform: translateY(calc((4vw + 4vh + 4%)/3)) rotate(0.01deg);
        transform: translateY(calc((4vw + 4vh + 4%)/3)) rotate(0.01deg);
        -ms-transform: translateY(4%);
    }
}

@-webkit-keyframes up {
    from {
        -webkit-transform: translateY(calc((4vw + 4vh + 4%)/3)) rotate(0.01deg);
        transform: translateY(calc((4vw + 4vh + 4%)/3)) rotate(0.01deg);
        -ms-transform: translateY(4%);
    }
    to {
        -webkit-transform: translateY(calc((-4vw + -4vh + -4%)/3)) rotate(0.01deg);
        transform: translateY(calc((-4vw + -4vh + -4%)/3)) rotate(0.01deg);
        -ms-transform: translateY(-4%);
    }
}

@keyframes up {
    from {
        -webkit-transform: translateY(calc((4vw + 4vh + 4%)/3)) rotate(0.01deg);
        transform: translateY(calc((4vw + 4vh + 4%)/3)) rotate(0.01deg);
        -ms-transform: translateY(4%);
    }
    to {
        -webkit-transform: translateY(calc((-4vw + -4vh + -4%)/3)) rotate(0.01deg);
        transform: translateY(calc((-4vw + -4vh + -4%)/3)) rotate(0.01deg);
        -ms-transform: translateY(-4%);
    }
}

@-webkit-keyframes out {
    from {
        -webkit-transform: scale(1.15);
        transform: scale(1.15);
    }
    to {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes out {
    from {
        -webkit-transform: scale(1.15);
        transform: scale(1.15);
    }
    to {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-webkit-keyframes in {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    to {
        -webkit-transform: scale(1.15);
        transform: scale(1.15);
    }
}

@keyframes in {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    to {
        -webkit-transform: scale(1.15);
        transform: scale(1.15);
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.fadeIn {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}

.fadeIn {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}

#slides {
    position: fixed;
    width: 1px;
    height: 1px;
    left: -9999px;
}

#slideshow {
    /*position: fixed;*/
    overflow: hidden;
    /*top: 0;
    left: 0;
    right: 0;
    bottom: 0;*/
}

#slideshow .slide,
#slideshow span,
#slideshow .static-content {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#slideshow .slide span {
    background-size: cover;
    background-position: center;
}

#slideshow .slide span.animate.right,
#slideshow .slide span.animate.left {
    left: calc((-4vw + -4vh + -4%)/3);
    right: calc((-4vw + -4vh + -4%)/3);
}

#slideshow .slide span.animate.up,
#slideshow .slide span.animate.down {
    top: calc((-4vw + -4vh + -4%)/3);
    bottom: calc((-4vw + -4vh + -4%)/3);
}

#slideshow span.animate {
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
}

#slideshow span.animate.right {
    -webkit-animation-name: right;
    animation-name: right;
}

#slideshow span.animate.left {
    -webkit-animation-name: left;
    animation-name: left;
}

#slideshow span.animate.up {
    -webkit-animation-name: up;
    animation-name: up;
}

#slideshow span.animate.down {
    -webkit-animation-name: down;
    animation-name: down;
}

#slideshow span.animate.in {
    -webkit-animation-name: in;
    animation-name: in;
}

#slideshow span.animate.out {
    -webkit-animation-name: out;
    animation-name: out;
}

#slideshow span.animate.paused {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}


/*****************************
    Slide show - End
*****************************/

.img_post img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 0 12px #999;
    transition: all 1.5s ease;
}

.img_post img:hover {
    box-shadow: 0 0 32px #333;
}


/*****************************
    netflix slider - Begin
*****************************/

.swiper-container {
    padding: 60px 0 60px;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    /* visible;*/
}

.swiper-container p {
    font-size: 1.7rem;
    font-weight: 500;
}

.swiper-slide-container {
    position: relative;
    text-align: center;
}

.swiper-slide-container:before {
    opacity: 0.6;
    color: black;
    background-image: url('../img/update_default.png');
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
}

.swiper-slide {
    transition: all 300ms ease-in-out;
    border-radius: 5px;
}

.swiper-slide img {
    border-radius: 5px;
    max-width: 18rem;
    /*cursor: grab;*/
    margin: 0 auto;
    /*opacity: 0.9;*/
}

.swiper-slide img:active {
    cursor: pointer;
    /*grabbing;*/
}

.swiper-slide:hover {
    transform: scale(1.5);
    transition: all 300ms ease-in-out;
    transition-delay: 300ms;
    z-index: 1;
}

.swiper-slide:hover img {
    transition-delay: 300ms;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.5);
}

.swiper-slide a {
    text-decoration: none;
}

.swiper-slide-title {
    position: absolute;
    /*top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);*/
    left: 15%;
    right: 15%;
    bottom: 1.25rem;
    font-weight: bold;
    /*color: #f8fcfd;
    text-shadow: 2px 2px 10px #000000;
     -webkit-line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;*/
    color: #0b3374;
    text-shadow: 2px 2px 10px #ddd, -1px 0 white;
    -webkit-line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: #f9fbff;
    opacity: 0.8;
    padding: 3px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

@media screen and (max-width: 599px) {
    .swiper-slide img {
        max-width: 14rem;
    }
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    .swiper-slide-title {
        font-size: 12px;
    }
}

@media screen and (max-width: 399px) {
    .swiper-slide img {
        max-width: 10.5rem;
        border-radius: 2px;
    }
    .swiper-slide-title {
        font-size: 10px;
    }
}

.swiper-button-prev,
.swiper-button-next {
    color: #FFFFFF;
}

.nf-indicator {
    opacity: 0.4;
    -webkit-transition: all 0.7s ease-out;
    -moz-transition: all 0.7s ease-out;
    -o-transition: all 0.7s ease-out;
    -ms-transition: all 0.7s ease-out;
    transition: all 0.7s ease-out;
}

.nf-indicator:hover {
    text-shadow: 0px 0px 10px #000000;
    -webkit-transition: all 0.7s ease-in;
    -moz-transition: all 0.7s ease-in;
    -o-transition: all 0.7s ease-in;
    -ms-transition: all 0.7s ease-in;
    transition: all 0.7s ease-in;
    opacity: 1.0;
    /*
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;*/
}



/*****************************
    netflix slider - End
*****************************/