﻿.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/*區塊*/
.content a:hover {
    color: #AA7236;
}

figure {
    overflow: hidden;
}

figcaption {
    color: #fff;
    height: 120%;
    position: absolute;
    top: 100%;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    width: 100%;
    background-color: rgba(132, 187, 69, 0.9);
    bottom: -40%;
    opacity: 1;
    text-align: left;
    -webkit-transform: translate3d(0px, 20%, 0px);
    transform: translate3d(0px, 20%, 0px px );
}

figure:hover .diamond {
    background-color: #162242;
}

figure:hover figcaption {
    opacity: 1;
    transform: translate3d(0px, 0px, 0px);
    transition: transform 0.3s ease-in-out;
    top: initial;
}

.diamond {
    background-color: #84bb45;
    box-shadow: 0 0 7px 0 rgb(0 0 0 / 14%);
    height: 50px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: -25px;
    transform: rotate(45deg);
    transition: all 0.3s ease-in-out;
    width: 50px;
}

    .diamond i {
        background-image: url('/files/images/books-media-icons.png');
        background-position: 500px 500px;
        background-repeat: no-repeat;
        display: block;
        height: 25px;
        margin: 13px auto 0;
        transform: rotate(-45deg);
        width: 33px;
    }

        .diamond i.book {
            background-position: 0 0;
        }

.info-block {
    left: 0;
    padding: 0 30px;
    position: absolute;
    right: 0;
    top: 40%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.testimonial-box {
    background-color: #f4f4f4;
    height: 300px;
    overflow: hidden;
}

.single-testimonial-box2 {
    background-color: #f4f4f4;
    height: 300px;
    overflow: hidden;
}

.searching {
    width: 100%;
    margin: 0 auto;
    height: auto;
    padding: 40px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    line-height: 28px
}

.searching-bg {
    background-image: url('/files/img/1920x1236.png');
    color: #fff;
}

.arrow-left {
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 20px solid #f4f4f4;
    position: absolute;
    left: -20px;
    top: 35%;
    transform: translateY(-27%);
}

.figcaption {
    background-color: rgba(132, 187, 69, 0.9);
    bottom: -40%;
    opacity: 1;
    top: initial;
    text-align: left;
    transform: translate3d(0px, 71%, 0px);
}

/*ALL SITE*/
a {
    color: #ff7236;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

section {
    padding: 100px 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 900;
}

.center {
    background-position: center;
}

.user-comment {
    color: #282828;
    display: table;
    position: relative;
    text-align: left;
    padding: 30px 33px;
}

.readmore {
    font-size: 1rem;
    padding: 10px 28px;
}

.mixitup-control-active, .mixitup-control-active:focus, .control:hover {
    background-color: #ff7236 !important;
    border-color: #ff7236 !important;
}

@media (max-width: 576px) {
    .container h2, .container h3 {
        font-size: 1rem !important;
    }
}

.owl-img {
    width: 170px !important;
    height: 252px !important;
}

.pt100 {
    padding-top: 100px;
}

.pt70 {
    padding-top: 70px;
}

.searching-btn {
    font-size: 1.1rem;
}

    .searching-btn:focus {
        background-color: yellow !important;
        color: black !important;
    }

    .searching-btn:hover {
        background-color: yellow !important;
        color: black !important;
    }


@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-left: 1rem;
        padding-right: 0;
    }
}

@media (min-width: 1200px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

strong {
    font-size: 1.25rem;
}

p {
    font-size: 1.25rem;
}
