﻿@charset "utf-8";

/* CSS Document */
@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/fontawesome-webfont.eot?v=4.7.0');
    src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal
}

html {
    font-size: 62.5%;
    height: 100%;
}

body {
    color: #444;
    min-width: 320px;
    font-family: 'Roboto', Arial, 'Noto Sans TC', Helvetica, "微軟正黑體", sans-serif;
    margin: 0;
    font-size: 16px;
    /* px fallback */
    font-size: 1.6rem;
    /* default font-size for document */
    line-height: 1.4;
    font-style: normal;
    overflow-x: hidden;
}

body.mmactive {
    height: 100%;
}

html:lang(en) body {
    font-family: 'Roboto', Arial, Helvetica, "微軟正黑體", sans-serif;
}

img {
    max-width: 100%;
}

a {
    color: #0071bc;
}

a.link {
    line-height: 1.2em;
    margin-bottom: 0.4em;
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;
    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
    display: inline-block;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #ed1c24;
}

section {}

h1,
.h1 {
    font-size: 4rem;
    font-weight: bold;
}

h2,
.h2 {
    font-size: 3rem;
    font-weight: bold;
}

h3,
.h3 {
    font-size: 2.2rem;
}

h4,
.h4 {
    font-size: 1.8rem;
}

hr {
    border: none;
    background: #009245;
    height: 1px;
    margin: 4rem 0;
}

p {
    margin: 0 0 1.5em 0;
}

html:lang(en) p {
    text-align: inherit;
}

ul,
ol {
    padding-left: 30px;
}

.sp {
    padding-top: 80px;
    padding-bottom: 80px;
}

.sp30 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.sp50 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.vat {
    vertical-align: top;
}

.vam {
    vertical-align: middle;
}

.tac {
    text-align: center;
}

.line2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.line3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.container {
    max-width: 1200px;
    width: auto;
}

.no-radius {
    border-radius: 0;
}

.breadcrumb {
    background: none;
    padding: 15px 0;
    margin-bottom: 0;
}

.text-orange {
    color: #ff530c;
}

.text-red {
    color: rgba(179, 0, 0, 1.00);
}

.text-blue {
    color: #2a6f8e
}

.bg-orange {
    background-color: #f47720;
}

.text-large {
    font-size: 1.2em;
}

.row-0 {
    margin-left: 0;
    margin-right: 0;
}

.row-0>div {
    padding: 0;
}

.row-5 {
    margin-left: -5px;
    margin-right: -5px;
}

.row-5 .col-1,
.row-5 .col-2,
.row-5 .col-3,
.row-5 .col-4,
.row-5 .col-5,
.row-5 .col-6,
.row-5 .col-7,
.row-5 .col-8,
.row-5 .col-9,
.row-5 .col-10,
.row-5 .col-11,
.row-5 .col-12,
.row-5 .col,
.row-5 .col-auto,
.row-5 .col-sm-1,
.row-5 .col-sm-2,
.row-5 .col-sm-3,
.row-5 .col-sm-4,
.row-5 .col-sm-5,
.row-5 .col-sm-6,
.row-5 .col-sm-7,
.row-5 .col-sm-8,
.row-5 .col-sm-9,
.row-5 .col-sm-10,
.row-5 .col-sm-11,
.row-5 .col-sm-12,
.row-5 .col-sm,
.row-5 .col-sm-auto,
.row-5 .col-md-1,
.row-5 .col-md-2,
.row-5 .col-md-3,
.row-5 .col-md-4,
.row-5 .col-md-5,
.row-5 .col-md-6,
.row-5 .col-md-7,
.row-5 .col-md-8,
.row-5 .col-md-9,
.row-5 .col-md-10,
.row-5 .col-md-11,
.row-5 .col-md-12,
.row-5 .col-md,
.row-5 .col-md-auto,
.row-5 .col-lg-1,
.row-5 .col-lg-2,
.row-5 .col-lg-3,
.row-5 .col-lg-4,
.row-5 .col-lg-5,
.row-5 .col-lg-6,
.row-5 .col-lg-7,
.row-5 .col-lg-8,
.row-5 .col-lg-9,
.row-5 .col-lg-10,
.row-5 .col-lg-11,
.row-5 .col-lg-12,
.row-5 .col-lg,
.row-5 .col-lg-auto,
.row-5 .col-xl-1,
.row-5 .col-xl-2,
.row-5 .col-xl-3,
.row-5 .col-xl-4,
.row-5 .col-xl-5,
.row-5 .col-xl-6,
.row-5 .col-xl-7,
.row-5 .col-xl-8,
.row-5 .col-xl-9,
.row-5 .col-xl-10,
.row-5 .col-xl-11,
.row-5 .col-xl-12,
.row-5 .col-xl,
.row-5 .col-xl-auto,
.row-5 .col {
    padding-left: 5px;
    padding-right: 5px;
}

.row-7 {
    margin-left: -7px;
    margin-right: -7px;
}

.row-7 .col-1,
.row-7 .col-2,
.row-7 .col-3,
.row-7 .col-4,
.row-7 .col-5,
.row-7 .col-6,
.row-7 .col-7,
.row-7 .col-8,
.row-7 .col-9,
.row-7 .col-10,
.row-7 .col-11,
.row-7 .col-12,
.row-7 .col,
.row-7 .col-auto,
.row-7 .col-sm-1,
.row-7 .col-sm-2,
.row-7 .col-sm-3,
.row-7 .col-sm-4,
.row-7 .col-sm-5,
.row-7 .col-sm-6,
.row-7 .col-sm-7,
.row-7 .col-sm-8,
.row-7 .col-sm-9,
.row-7 .col-sm-10,
.row-7 .col-sm-11,
.row-7 .col-sm-12,
.row-7 .col-sm,
.row-7 .col-sm-auto,
.row-7 .col-md-1,
.row-7 .col-md-2,
.row-7 .col-md-3,
.row-7 .col-md-4,
.row-7 .col-md-5,
.row-7 .col-md-6,
.row-7 .col-md-7,
.row-7 .col-md-8,
.row-7 .col-md-9,
.row-7 .col-md-10,
.row-7 .col-md-11,
.row-7 .col-md-12,
.row-7 .col-md,
.row-7 .col-md-auto,
.row-7 .col-lg-1,
.row-7 .col-lg-2,
.row-7 .col-lg-3,
.row-7 .col-lg-4,
.row-7 .col-lg-5,
.row-7 .col-lg-6,
.row-7 .col-lg-7,
.row-7 .col-lg-8,
.row-7 .col-lg-9,
.row-7 .col-lg-10,
.row-7 .col-lg-11,
.row-7 .col-lg-12,
.row-7 .col-lg,
.row-7 .col-lg-auto,
.row-7 .col-xl-1,
.row-7 .col-xl-2,
.row-7 .col-xl-3,
.row-7 .col-xl-4,
.row-7 .col-xl-5,
.row-7 .col-xl-6,
.row-7 .col-xl-7,
.row-7 .col-xl-8,
.row-7 .col-xl-9,
.row-7 .col-xl-10,
.row-7 .col-xl-11,
.row-7 .col-xl-12,
.row-7 .col-xl,
.row-7 .col-xl-auto,
.row-7 .col {
    padding-left: 7px;
    padding-right: 7px;
}

.bs-tooltip-top .arrow::before,
.bs-tooltip-auto[x-placement^="top"] .arrow::before {
    border-top-color: #006837;
}

.bs-tooltip-right .arrow::before,
.bs-tooltip-auto[x-placement^="right"] .arrow::before {
    border-right-color: #006837;
}

.bs-tooltip-bottom .arrow::before,
.bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
    border-bottom-color: #006837;
}

.bs-tooltip-left .arrow::before,
.bs-tooltip-auto[x-placement^="left"] .arrow::before {
    border-left-color: #006837;
}

.tooltip-inner {
    background-color: #006837;
}

@media (max-width:767.98px) {
    h1,
    .h1 {
        font-size: 3rem;
    }
    h2,
    .h2 {
        font-size: 2.4rem;
    }
    h3,
    .h3 {
        font-size: 2rem;
    }
    h4,
    .h4 {
        font-size: 1.8rem;
    }
    .sp {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .sp50 {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .tac-sm {
        text-align: center;
    }
}


/***************************************************bootstrap override*/

.form-control {
    font-size: 1em;
}

.btn {
    font-size: 1em;
}

.dropdown-menu,
.input-group-text {
    font-size: 1em;
}

.tooltip {
    font-size: 15px;
}

@media (min-width:1200px) {}

@media (max-width:1199px) {}

.modal-dialog-centered {
    margin-left: auto !important;
    margin-right: auto !important;
}


/*****************************************************all**/

.line-2 {
    text-overflow: ellipsis;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /* number of lines to show */
    line-height: 1.2em;
    /* fallback */
    max-height: 2.4em;
    /* fallback */
}

.btn-green {
    color: #fff;
    background-color: #009345;
}

.btn-green:hover,
.btn-green:focus {
    color: #fff;
    background-color: #006931;
}

.text-green {
    color: #006837;
}

.text-orange {
    color: #f15a24;
}

.text-brown {
    color: #8c6239;
}

.head-title {
    font-size: 36px;
    font-weight: bold;
    color: #3d0a02;
    margin-bottom: 15px;
    line-height: 1.2em;
    margin-left: 20px;
}

.head-title::before {
    display: block;
    float: left;
    margin-left: -20px;
    height: 1em;
    width: 12px;
    background: #ff530c;
    content: '';
    margin-right: 10px;
    margin-top: 0.1em;
}

.text-lg {
    font-size: 1.5em;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
    opacity: 0;
    transition: 0.3s all;
    background: #f87d07;
}

a:hover .overlay,
a:focus .overlay {
    opacity: 0.5;
}

.form-control::-webkit-input-placeholder {
    /* Edge */
    color: #aaaaaa;
}

.form-control:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #aaaaaa;
}

.form-control::placeholder {
    color: #aaaaaa;
}

.breadcrumb a {
    color: #444;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '>';
}

.breadcrumb .dropdown {
    display: inline-block !important;
    padding: 0;
}

.breadcrumb .dropdown-menu {
    max-width: 280px;
    padding: 0;
    overflow: hidden;
}

.breadcrumb .dropdown-item {
    display: block;
    padding: 10px;
    line-height: 1.2em;
    border-bottom: 1px solid #ddd;
    font-size: 1.4rem;
    color: #006837;
}

.breadcrumb .dropdown-item:last-child {
    border: none;
}

.breadcrumb .dropdown-item:hover,
.breadcrumb .dropdown-item:focus {
    background: #eee;
}

.modal-open,
body.modal-open {}


/*.modal-backdrop.show{background-color: white;}*/

.modal-dialog {
    width: 1300px;
    position: relative;
    max-width: 90%;
}

.btn-modalClose {
    position: absolute;
    top: -30px;
    right: 0;
    color: #fff !important;
}

.btn-large {
    min-width: 260px;
    margin: 5px auto;
    padding: 10px 25px;
    font-size: 1.8rem;
    border-radius: 8px;
}

.btn-orange {
    background-color: #f47720;
    border-color: #f47720;
    color: #fff !important;
}

.btn-orange:focus,
.btn-orange:hover {
    background-color: #F4611F;
    border-color: #F4611F;
    color: #fff !important;
}

.cover img,
img.cover {
    width: 100%;
}

.slick-slide {
    height: inherit;
}

.slider .slick-next {
    right: 0;
}

.slider .slick-prev {
    left: 0;
}

.slick-prev,
.slick-next {
    background-color: inherit;
    height: 40px;
    width: 20px;
    z-index: 1;
}

.slick-prev:before,
.slick-next:before {
    content: '';
    background-image: url(../images/arrow_l.png);
    background-size: 20px 40px;
    background-repeat: no-repeat;
    width: 20px;
    height: 40px;
    display: block;
}

.slick-next:before {
    background-image: url(../images/arrow_r.png);
}

.slick-dots li {
    height: 16px;
    width: 16px;
}

.slick-dots li button {
    height: 16px;
    width: 16px;
}

.slick-dots li button:before {
    font-family: 'Noto Sans TC', Arial, Helvetica, "微軟正黑體", sans-serif;
    background: #999;
    width: 12px;
    height: 12px;
    line-height: 16px;
    content: '';
    border-radius: 10px;
    overflow: hidden;
    opacity: 0.5;
}

.slick-dots li.slick-active button:before {
    color: #6fb92c;
    background-color: #6fb92c;
    opacity: 1;
}

.slick-dots {
    bottom: -35px;
}

.slider-col4.slick-dotted.slick-slider,
.slider-col3.slick-dotted.slick-slider {
    margin-bottom: 60px;
}

.slider-col4 a,
.slider-col3 a {
    outline: none;
}

.sliderWrap {
    max-width: 750px;
    padding: 0 50px;
    margin: auto;
}

.insideSlider {
    margin: auto;
    margin-bottom: 6rem !important;
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.insideSlider .slick-list {
    background-color: #f0efee !important;
    border-radius: 10px;
}

.insideSlider .slick-next {
    right: -45px;
}

.insideSlider .slick-prev {
    left: -45px;
}

.insideSlider .slick-prev,
.slick-next {
    background-color: inherit;
    height: 40px;
    width: 40px;
    z-index: 1;
}

.insideSlider .slick-prev:before,
.insideSlider .slick-next:before {
    content: '\f0a8';
    font-size: 40px;
    font-family: 'FontAwesome';
    background: none;
    width: 40px;
    height: 40px;
    display: block;
    color: #f29294;
}

.slider-2 .slick-prev:before,
.slider-2 .slick-next:before {
    color: #8fc3c4;
}
/*
.slider-1, .slider-2{
	font-family: 'Comic Sans MS';
}*/
.insideSlider .slick-next:before {
    content: '\f0a9'
}

.insideSlider .slider-item {
    border-radius: 10px !important;
    overflow: hidden;
    margin: 0;
    background: #f0efee;
}

.insideSlider .slider-item:focus {
    outline: none;
}

.insideSlider header {
    font-size: 2.6rem;
    font-weight: bold;
    min-height: 3em;
    line-height: 1.3;
    padding: 15px;
    display: flex;
    width: 100%;
}

.slider-1 header {
	background-color: #2a6f8e;
	color: #fff;
	text-align: center;
}

.slider-2 header {
	background-color: #3e8a8c;
	color: #fff;
	text-align: center;
}
.slider-1 header > div{
	text-align: center;
	margin: auto;
}
.insideSlider .small {
    line-height: 1.3;
    font-size: 1.2rem;
}

.insideSlider-sideImg {
    width: 200px;
}

.list-icon {
    width: 1.6em;
    display: inline !important;
    vertical-align: middle;
    margin-right: 0.3em;
}

.slide-D .title {
	color: #2a6f8e !important;
	font-weight: bold !important;
	text-decoration: none !important;
}
.colorBox {
    padding: 10px;
    background-color: #fde7cc;
    height: 100%;
}

.colorBox.twoColor {
    background-image: url("../images/two-blue.png");
    background-size: 100% 100%;
    background-position: top;
    background-repeat: no-repeat;
}

.colorBox .colorBox-frame {
    border: 4px solid #fff;
    padding: 15px;
    height: 100%;
}

.colorBox img {
    margin: auto;
    margin-bottom: 10px;
    display: block;
}

.colorBox .colorBox-content {
    line-height: 1.3;
}

.colorBox .title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.colorBox p:last-child {
    margin-bottom: 0;
}

blockquote {
    font-style: italic;
    position: relative;
    padding: 4px 25px 4px 25px;
    border-left: 4px solid #ccc;
    display: block;
    color: #BD4957;
    font-style: italic;
    font-size: 1.8rem;
    line-height: 1.4;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 20px;
    margin-inline-end: 20px
}

blockquote::before {
    content: '“';
    position: absolute;
    top: 0;
    left: 0;
    font-size: 35px;
    line-height: 35px;
    font-weight: bold;
    color: #ccc;
}

blockquote::after {
    content: '”';
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 35px;
    line-height: 35px;
    font-weight: bold;
    color: #ccc;
}

blockquote li+li {
    margin-top: 0.5em;
}

blockquote .author {
    text-align: right;
    margin-top: 15px;
    color: #999;
    font-size: 1.8rem;
}

.card {
    border: none;
    background: #fff;
}
.card > div:first-child{
	flex-shrink: 0;

}
.no-bg {
    background: none !important;
}

.card-header {
	background: #fff;
	border: none;
	flex-shrink: 0;
}

.card-body .title {
    font-size: 1.7rem;
    line-height: 1.3;
    font-weight: bold;
	text-align: center;
}

.card .card-body .description {
    height: 2.4em;
}
.card-A .title{
	color: #f44336;
}
.card-A2 .title, .card-A3 .title{
	color: inherit;
}
.card-A .card-body {
    border-top: 1px solid #eee;
    min-height: 13rem;
    padding-bottom: 4.5rem !important;
    position: relative;
}
.card-A2 .card-body {
	padding-bottom: 7rem !important;
	background: #2a6f8e;
	color: #fff;
	min-height: 18rem;
}
.card-A3 .card-body {
	padding-bottom: 7rem !important;
	min-height: 18rem;
}
.card-A .readMe {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    line-height: 1;
}
.card-A2 .readMe{
	bottom: 1.5rem;
	left: 1rem;
	text-align: center;
}
.card-A3 .readMe{
	bottom: 2rem;
	left: 1rem;
	text-align: center;
}
.card-A2 .readMe a{
	display: inline-block;
	font-size: 1.5rem;
	margin: auto;
	margin-top: 1em;
	text-align: center;
	padding: 5px 10px;
	border: 1px solid #ddd;
	border-radius: 5px;
	color : #fff;
}
.card-A3 .readMe a{
	min-width: 90%;
	display: inline-block;
	font-size: 1.5rem;
	margin: auto;
	margin-top: 1em;
	text-align: center;
	padding: 10px 15px;
	background: #573493;
	border-radius: 50px;
	color: #fff;
}
table caption{
    caption-side: top;
	text-align: center;
}
@media (min-width:992px) {
    #content.menu-sticky {
        padding-top: 50px;
    }
}

@media (max-width:1300px) {
    .slick-next {
        right: 0;
    }
    .slick-prev {
        left: 0;
    }
}

@media (max-width:767px) {
    .sliderWrap {
        padding: 0 5px;
    }
    .insideSlider .slick-next {
        right: -25px;
    }
    .insideSlider .slick-prev {
        left: -25px;
    }
    .insideSlider .slick-prev,
    .slick-next {
        background-color: inherit;
        height: 30px;
        width: 30px;
    }
    .insideSlider .slick-prev:before,
    .insideSlider .slick-next:before {
        font-size: 30px;
        width: 30px;
        height: 30px;
    }
    .insideSlider header {
        font-size: 2rem;
    }
    .insideSlider-sideImg {
        margin: auto;
        margin-bottom: 15px;
    }
}


/***************************************************readmore*/

.readmore {
    height: 10em;
    overflow: hidden;
    position: relative;
    font-size: 1.6rem;
}

.readmore-overlay {
    background: -moz-linear-gradient(top, rgba(255, 248, 240, 0) 0%, rgba(255, 248, 240, 0) 10%, rgba(255, 248, 240, 1) 65%, rgba(255, 248, 240, 1) 99%);
    background: -webkit-linear-gradient(top, rgba(255, 248, 240, 0) 0%, rgba(255, 248, 240, 0) 10%, rgba(255, 248, 240, 1) 65%, rgba(255, 248, 240, 1) 99%);
    background: linear-gradient(to bottom, rgba(255, 248, 240, 0) 0%, rgba(255, 248, 240, 0) 10%, rgba(255, 248, 240, 1) 65%, rgba(255, 248, 240, 1) 99%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#00fff8f0', endColorstr='#fff8f0', GradientType=0);
    z-index: 1;
    position: absolute;
    height: 9em;
    bottom: 0;
    width: 100%;
    left: 0;
}

.readmore-btnWrap {
    position: absolute;
    bottom: 0;
    z-index: 2;
    left: 0;
    width: 100%;
    text-align: center;
}

.readmore .readmore-btn {
    display: block;
    margin: auto;
}

.readmore.show {
    height: auto !important;
}

.readmore.show .readmore-overlay,
.readmore.show .readmore-btnWrap {
    display: none !important;
}

@media (min-width:768px) {
    .readmore-sm {
        height: auto;
    }
    .readmore-sm .readmore-overlay,
    .readmore-sm .readmore-btnWrap {
        display: none;
    }
}

@media (max-width:767px) {}


/***************************************************header*/

#header {
    z-index: 9999;
}

#desktop-header {
    background-color: #fff;
    background-image: url(../images/bg2.png);
    background-repeat: repeat-x;
    background-position: top;
    background-size: 10px 250px;
}

#header-upper {
    position: relative;
    height: 250px;
    max-width: 1920px;
    margin: auto;
    padding: 5px 15px;
    background-color: #fff;
    background-image: url(../images/bg_sky.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.index #header #header-upper {
    height: 300px;
    background-image: url(../images/raining.gif);
}

.index #desktop-header {
    background: none;
}

#header-upper>.header-top {
    z-index: 99;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

#desktop-menu {
    background: #cde081;
    z-index: 10;
    padding: 0;
}

.headpadding {
    margin-top: 5px;
}

.logo {
    width: 300px;
    margin-top: 5px;
    margin-bottom: 5px;
    transition: 0.3s all;
}

.header-link {
    min-width: 60%;
    text-align: right;
    margin-right: 10px;
    padding-top: 15px;
}

.header-link>div {
    display: inline-block;
    font-size: 18px;
    vertical-align: top;
}

.header-link a {
    color: #222
}

.header-link a:hover,
.header-link a:focus {
    color: #d02226;
}

.header-link,
.header-link .fa {
    vertical-align: middle;
}

.header-link .user-login {
    font-size: 16px;
    line-height: 2em;
}

.user-login .btn-logout {
    font-size: 14px;
    vertical-align: top;
}

.user-login .btn-logout .fa {
    font-size: 20px;
    vertical-align: initial;
}

.header-search {
    width: 100%;
}

.header-link .header-search {
    max-width: 20rem;
}

.header-search .input-group {
    background: #fff;
    overflow: hidden;
}

.header-search .input-group input {
    outline: none;
    box-shadow: none;
    height: auto;
}

.header-search .input-group .btn {
    line-height: 1.4rem;
    padding: 5px!important;
    margin-right: 5px;
}

.header-search .input-group .fa {
    color: #222;
    font-size: 1.4rem;
}

.mobile-header-link {
    display: none;
}

.fontSize {
    font-size: 14px !important;
    margin-right: 7px;
}

.fontSize a {
    margin: 0 1px;
}

.fontSize .selected a {
    color: #d02226;
}

.fontSize .defaultFont {
    font-size: 100%;
}

.fontSize .largerFont {
    font-size: 125%;
}

.fontSize .xLargerFont {
    font-size: 150%;
}

/*#header .nav-item.dropdown .dropdown-toggle {
    cursor: default;
}*/

@media (min-width:768px) {
    .index #header {
        background-image: url(../images/bg.gif);
        background-repeat: repeat-x;
        background-position: top center;
        background-size: 10px 300px;
    }
}

@media (max-width:1199px) {
    .navbar-brand {
        margin: 0;
    }
    #desktop-menu .nav-item>.nav-link {
        font-size: 18px;
        padding-left: 5px;
        padding-right: 5px;
    }
    html:lang(en) #desktop-menu .nav-item>.nav-link {
        font-size: 15px !important;
        padding: 15px 7px !important;
    }
    #indexPage #header {
        max-height: 100vh;
        overflow: auto;
    }
    #header .navbar {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width:991.98px) {
    #header {
        background: none;
    }
    #desktop-header {
        display: none;
    }
    #desktop-menu .nav-item>.nav-link {
        font-size: 16px;
    }
    .header-info {
        padding-top: 10px;
        padding-left: 10px;
    }
    .logo-info {
        width: 380px;
    }
    #header .nav-item.dropdown-menu {
        padding: 5px 25px;
        font-size: 1.6rem;
        text-align: left;
        margin-left: -15px;
        margin-right: -15px;
        background-color: #f5faf0;
    }
}

@media (max-width:767.98px) {
    .navbar-brand {
        margin-left: 10px;
    }
    .logo {
        width: 150px;
        margin-top: 0;
        margin-bottom: 0
    }
    .socialBar {
        text-align: center;
        border: none;
        padding: 0;
        margin: 10px 0;
        display: block;
    }
}

@media (max-width:374px) {
    .logo {
        width: 130px;
    }
    .logo-info {
        width: calc(100vw - 130px);
        max-width: 250px;
    }
    .portal-header .logo-info {
        width: calc(100vw - 90px);
        max-width: 250px;
    }
}


/***************************************************menu*/

#mainNavbar .navbar-nav .nav-item {}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link:focus {}

#dMenuTrigger {
    width: 100%;
}

#desktop-menu .nav-item>.nav-link {
    color: #006837;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 20px;
    line-height: 20px;
    white-space: nowrap;
}

html:lang(en) #desktop-menu .nav-item>.nav-link {
    font-size: 16px;
    padding: 15px 12px;
}

#desktop-menu .nav-item.show>.nav-link,
#desktop-menu .nav-item>.nav-link:hover,
#desktop-menu .nav-item:focus-within>.nav-link,
#desktop-menu .nav-item.dropdown:hover>.nav-link {
    background-color: #006837 !important;
    color: #fff !important;
}

#desktop-menu .nav-item>.nav-link:hover,
#desktop-menu .nav-item.active>.nav-link {
    background-color: #006837 !important;
    color: #fff !important;
}

#desktop-menu.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

#mainNavbar .dropdown-toggle::after {
    display: none;
}

#mainNavbar .dropdown-menu {
    border: none;
    min-width: 250px;
    font-size: 16px;
    text-align: left;
    background-color: #fff;
    margin-top: 0;
    border-radius: 5px;
    padding: 10px 0;
    overflow: hidden;
}

#mainNavbar .dropdown.active .dropdown-menu,
#mainNavbar .dropdown:hover>.dropdown-menu,
#mainNavbar .dropdown:focus-within>.dropdown-menu {
    display: block;
}

#mainNavbar .dropdown-menu .nav-link {
    padding: 10px 15px;
    color: #006837;
}

#mainNavbar .dropdown-menu .nav-link:hover,
#mainNavbar .dropdown-menu .nav-link:focus {
    background-color: #f1f4e7;
}

#mainNavbar .dropdown-menu .nav-link:last-child {
    border: none;
}


/*.dropdown-menu .nav-link:hover, .dropdown-menu .nav-link:focus, .dropdown-menu .nav-link.active{
	background-image: url(../images/drop-bg.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}*/

@media (min-width:992px) {
    .dropdown>.dropdown-menu {}
    .dropdown:hover>.dropdown-menu,
    .dropdown.active .dropdown-menu {
        display: block;
    }
    .dropdown>.dropdown-toggle:active {
        /*Without this, clicking will make it sticky*/
        pointer-events: none;
    }
}

@media (max-width:1199.98px) {
    #desktop-menu .nav-item>.nav-link {
        padding: 15px 10px;
        font-size: 16px;
    }
}

@media (max-width:767px) {
    #mainNavbar .nav-link,
    #insideNavbar .nav-link {
        white-space: inherit;
    }
    #mainNavbar .dropdown-menu .nav-link {
        border-bottom: 2px dotted #FF5F01;
    }
}


/*end custom breakpoints*/


/***************************************************mobile-header*/

#mobile-header {
    display: block;
    position: fixed;
    z-index: 9999;
    height: 65px;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 0px 4px 5px rgba(0, 0, 0, 0.10);
}

#mobile-header .m-logo {
    width: 220px;
    display: block;
    margin-left: 15px;
    margin-top: 6px;
}

#sm_menu_ham {
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: none;
}

#sm_menu_ham span {
    background: #009245;
}

.mobile_menu {
    overflow-x: hidden;
    border: 1px solid #f2f2f2;
    border-top: none;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
    max-height: 100%;
    overflow-y: auto;
}

.sm_menu_outer {
    top: 65px;
    background: none;
    overflow-y: visible;
    padding: 0;
}

.mobile_menu,
.sm_menu_outer .mobile_menu .submenu {
    margin: 0;
    padding: 0;
}

.mobile_menu {
    background: #fff;
    overflow-x: hidden;
    width: calc(100% - 30px);
    margin-left: 15px;
}

.sm_menu_outer .mobile_menu .submenu {
    background: #fff;
    left: 100%;
}

.sm_menu_outer .mobile_menu li.active>.submenu {
    width: calc(100% - 1px);
    right: 0;
    left: 0;
}

.sm_menu_outer .mobile_menu .nav-link {
    color: #232324;
}

.sm_menu_outer .mobile_menu li {
    border: none;
    color: #006837;
}

.sm_menu_outer .mobile_menu li .user-login {
    padding: 15px 10px 0 10px;
}

.sm_menu_outer .mobile_menu li a.nav-link {
    padding: 10px 15px;
    color: #006837;
    border-top: 1px dotted #ddd;
}

.sm_menu_outer .mobile_menu li.back a {
    padding: 15px;
    color: #006837;
    display: block;
    background: none;
}

.sm_menu_outer .mobile_menu .nav-link:hover,
.sm_menu_outer .mobile_menu li.back a {
    background-color: #cde081;
    color: #006837;
}

.sm_menu_outer .mobile_menu li.hasChild>a {
    background: none;
}

.sm_menu_outer .mobile_menu li.back a::before,
.sm_menu_outer .mobile_menu li.hasChild>a::before {
    display: block;
    content: '\F053';
    float: left;
    margin-right: 5px;
    font-family: 'FontAwesome'
}

.sm_menu_outer .mobile_menu li.hasChild>a::before {
    content: '\F054';
    float: right;
}

.m-header-link {
    padding: 15px 15px 10px 15px;
}

@media (min-width:992px) {
    #sm_menu_ham,
    #mobile-header,
    .sm_menu_outer {
        display: none;
    }
}

@media (max-width:991.98px) {
    #header {
        height: 65px;
    }
    #mobile-header {
        overflow: hidden;
    }
}

@media (max-width:320px) {
    #mobile-header .m-logo {
        width: 150px;
        margin-top: 15px;
    }
}


/***************************************************banner*/

.desktop-bannerWrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: auto;
}

.desktop-banner>.container {
    margin: auto;
}

.desktop-banner {
    display: table;
    table-layout: fixed
}

.desktop-banner>div {
    display: table-cell;
    vertical-align: bottom;
    table-layout: fixed
}

.desktop-banner .flower {
    width: 20%;
    max-width: 20%;
}

.desktop-banner .flower img {
    width: 234px;
}

.index .desktop-banner .flower {
    width: 40%;
}

.index .desktop-banner .flower img {
    width: 468px;
}

.desktop-banner .title {
    width: 30%;
    text-align: left;
    padding-bottom: 12px;
}

.desktop-banner .pic {
    width: 50%;
}

#content-body {
    background-color: #fff8f0;
    padding-left: 30px;
    padding-right: 30px;
    background-image: url(../images/bg_heart.png);
    background-repeat: no-repeat;
    background-size: 35%;
    background-position: right bottom;
}

#content-body>.row {}

.mobile-banner {
    display: none;
}

.mobile-banner .title {
    padding-bottom: 15px;
}

.index .mobile-banner .title {
    padding-bottom: 0 !important;
}

.mobile-banner img {
    width: 45vw;
}

@media (max-width:991.98px) {
    .mobile-banner {
        display: table;
        width: 100%;
        height: 200px;
        background-image: url(../images/bg_sky.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    .mobile-banner>div {
        vertical-align: bottom;
        width: 50%;
        display: table-cell;
        height: 100%;
        padding: 0 10px;
    }
}

@media (max-width:767.98px) {
    #content-body {
        background-size: 60%;
        padding-left: 20px;
        padding-right: 20px;
    }
}


/***************************************************  index*/

.index-news {
    position: relative;
    padding-bottom: 4rem;
}

.news-slider-control {
    position: absolute;
    bottom: 0;
    right: 0;
}

.news-slider-control .btn {
    color: #006931;
    background: none;
    border-color: #006931;
    transition: 0.3s all;
}

.news-slider-control .btn:hover {
    background-color: #F6FCF9;
}

.news-slider-control .btn.active,
.news-slider-control .btn.active:hover {
    color: #fff;
    background-color: #006931;
    border-color: #006931;
}

@media (max-width:991.98px) {}

@media (max-width:767.98px) {}


/***************************************************  subMenuBar*/

#subMenuBar {
    background: #eaf4e5;
    padding: 0;
    margin-left: -15px;
    margin-right: 15px;
    position: relative;
}

.subMenuWrap {
    max-height: calc(100vh - 65px);
    overflow-y: auto;
}

.subMenuBar-title {
    display: block;
    width: 100%;
    background: #cde081;
    color: #006837 !important;
    font-size: 1.8rem;
    line-height: 2rem;
    font-weight: bold;
    border: none;
    outline: none;
    text-align: left;
    padding: 12px 15px;
}

.subMenuBar-title::after {
    font-family: 'FontAwesome';
    display: block;
    float: right;
    content: '\f068';
}

.subMenuBar-title.collapsed::after {
    content: '\f068';
    content: '\f067';
}

#subMenuBar .subMenu {
    margin-bottom: 0;
}

#subMenuBar .subMenu>li {
    border-bottom: 1px dotted #006837;
    width: 100%;
    font-size: 1.8rem;
    padding: 0;
    position: relative;
}

#subMenuBar .subMenu>li>a {
    color: #006837;
    padding: 12px 3rem 12px 15px;
    width: 100%;
    display: block;
}

#subMenuBar .subMenu>li a:hover,
#subMenuBar .subMenu>li a:focus {
    background: rgba(205, 224, 129, 0.20);
}

#subMenuBar .subMenu>li a.active {
    background: rgba(205, 224, 129, 0.60);
}

#subMenuBar .subMenu>li>.dropdown-btn {
    line-height: 1.8rem;
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    padding: 0;
    background: none;
    outline: none;
    color: #006837;
}

#subMenuBar .subMenu>li>.dropdown-btn>.fa {
    padding: 15px 12px 15px 15px;
    display: block;
}

#subMenuBar .subMenu>li>.dropdown-btn.collapsed .fa-chevron-down,
#subMenuBar .subMenu>li>.dropdown-btn .fa-chevron-up {
    display: block !important;
}

#subMenuBar .subMenu>li>.dropdown-btn.collapsed .fa-chevron-up,
#subMenuBar .subMenu>li>.dropdown-btn .fa-chevron-down {
    display: none !important;
}

#subMenuBar .subMenu>li>a.dropdown::after {
    display: block;
    content: '+';
    float: right;
}

.subMenu-lv2 {
    padding-left: 45px;
    color: #0071bc;
    list-style: square;
    padding-bottom: 10px;
}

.subMenu-lv2>li>a {
    color: #0071bc;
    padding: 5px 5px 5px 50px;
    display: block;
    margin-left: -45px;
}

.subMenu-lv3 {
    color: #8c6239;
    list-style: disc;
}

.subMenu-lv3>li>a {
    color: #8c6239;
    display: block;
    padding: 2px 5px 2px 100px;
    margin-left: -100px;
}

@media (min-width: 768px) {
    .collapse.only-collapse-sm {
        display: block;
        height: auto !important;
        visibility: visible;
    }
    #right-content {
        min-height: 500px;
    }
}

@media (max-width:767.98px) {
    #content-body {
        position: relative;
    }
    #subMenuBar {
        width: calc(100% + 10px);
        position: relative;
        background: none;
        margin-left: -5px;
        margin-right: -5px;
        z-index: 99;
    }
    #subMenuBar.sticky {
        position: fixed;
        top: 65px;
        right: 30px;
        left: 30px;
        margin: inherit;
        width: calc(100% - 30px);
    }
    #subMenuBar.sticky {
        max-height: calc(100% - 65px);
        overflow: auto;
    }
    .subMenuWrap {
        background: #eaf4e5;
    }
    #right-content {
        min-height: 400px;
    }
    #subMenuBar .subMenu>li {
        border-bottom: 1px dotted #006837;
        width: 100%;
        font-size: 1.6rem;
    }
}


/***************************************************** article*/

.main-article {
    line-height: 1.6;
}

.article-title {
    display: table;
    width: 100%;
    margin-bottom: 2rem;
}

.article-title>div {
    display: table-cell;
    vertical-align: top;
}

.article-title>.icon {
    width: 6rem;
}

.article-title>.icon img {
    width: 100%;
}

.article-title>.title {
    padding-top: 10px;
}

.article-date {
    font-weight: bold;
    font-size: 2rem;
    margin-top: -1em;
    margin-bottom: 1em;
    color: #754c24;
}

.article-title h1,
.article-title .h1 {
    color: #006837;
    font-size: 3rem;
    font-weight: bold;
}

.article-title .small {}

.article-body h2.title,
.article-body .h2.title {
    font-size: 2.6rem;
    text-align: center;
    color: #0071bc;
    font-weight: bold;
    margin-bottom: 1.2em;
}

.article-body h2,
.article-body .h2 {
    font-size: 2rem;
    color: #f15a24;
    font-weight: bold;
    margin-bottom: 1rem;
}

.article-body h3,
.article-body .h3 {
    font-size: 1.8rem;
    text-decoration: underline;
    color: #754c24;
    font-weight: bold;
    margin-bottom: 1rem;
}

.article-body li {}

.article-body figure {
    max-width: 700px;
    margin: 4em auto;
    text-align: center;
    font-style: italic;
}

.article-body figure img {
    margin: auto;
    margin-bottom: 1rem;
    display: block;
}

.article-body figcaption {
    font-size: 1.3rem;
    text-align: left;
}

.ref {
    margin-top: 6em;
    font-size: 1.3rem;
}

.ref ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ref ul li {
    padding-top: 1em;
}

.whiteCard {
    background: #fff;
}

.whiteCard .whiteCard-body {
    padding: 15px;
    font-size: 1.4rem;
}

.whiteCard .whiteCard-body .title {
    font-size: 1.8rem;
    margin-top: 10px;
    margin-bottom: 10px;
}

.whiteCard-content {
    line-height: 2rem;
}

.line3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* number of lines to show */
    -webkit-box-orient: vertical;
}

.collapseWrap {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.collapse-toggle {
    display: block;
    width: 100%;
    text-align: left;
    padding: 15px;
    border: none;
    background: none;
    background-color: #2a6f8e;
    color: #fff;
    outline: none;
}

.collapse-toggle:hover,
.collapse-toggle:focus {
    background-color: #225C76;
}

.collapse-toggle .title {
    overflow: auto;
}

.collapse-toggle .toggle-ctl {
    float: right;
    color: #fff;
    font-size: 2rem;
}

.toggle-ctl .fa {
    display: none;
}

.collapse-toggle[aria-expanded="true"] .cClose {
    display: block;
}

.collapse-toggle[aria-expanded="false"] .cOpen {
    display: block;
}


/***************************************************** resources**/

.h-120px {
    height: 120px;
    width: auto;
}

.min-w600 {
    min-width: 600px;
}

@media (max-width:690px) {
    .h-690-300px {
        height: 450px;
        overflow-y: scroll;
    }
}


/***************************************************** hoverCate**/

#hoverCate {
    max-width: 1550px;
}

.hoverCateItem {
    height: 580px;
    width: 100%;
    background: #444;
    display: table;
    color: #fff !important;
    position: relative;
    background-position: center;
    background-size: cover;
    margin-bottom: 10px;
}

.hoverCateItem .title {
    display: table-cell;
    height: 100%;
    width: 100%;
    text-align: center;
    vertical-align: middle;
}

.hoverCateItem .overlayInfo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 25px 15px;
    background: #000;
    height: 100%;
    z-index: -1;
    opacity: 0;
    transition: 0.5s all;
}

.hoverCateItem:hover .overlayInfo {
    z-index: 1;
    opacity: 1;
}

@media (max-width:767.98px) {
    .hoverCateItem {
        height: 400px;
    }
    .hoverCateItem .overlayInfo {
        font-size: 14px;
    }
}


/***************************************************** coverWrapper**/

.coverWrapper {
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
}

.coverWrapper:after {
    padding-top: 66.667%;
    display: block;
    content: '';
}

.coverWrapper.scale169:after {
    padding-top: 56.25%;
}

.coverWrapper.square:after,
.coverWrapper.circle:after {
    padding-top: 100%;
}

.video .coverWrapper:after {
    padding-top: 56.2%;
}

.coverWrapper .cover {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-transition: .6s ease-in-out;
    transition: .6s ease-in-out;
}

.coverWrapper:hover .cover {}

.coverWrapper .cover img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    -webkit-transition: .3s ease-in-out;
    transition: .6s ease-in-out;
}

.coverWrapper.circle .cover {
    border-radius: 1000px;
    overflow: hidden;
}

.hoverBox .coverWrapper {}


/***************************************************** inside**/

.full-banner {
    margin: -30px;
    margin-bottom: 30px;
}

.full-banner img {
    width: 100%;
    display: block;
}

.article-body .video-wrap {
    width: 600px;
    margin: auto;
    max-width: 100%;
    margin-bottom: 15px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.news-list th,
.news-list td {
    border-color: #cde081 !important;
    color: #006837;
}

.news-list .news-date {
    white-space: nowrap;
    padding-right: 15px;
}

.flag-title {
    display: table;
    margin: auto;
}

.flag-title>div {
    display: table-cell;
    height: 100%;
    padding: 0;
    margin: 0;
}

.flag-title-left,
.flag-title-right {
    height: 100%;
    width: 40px;
    background-image: url(../images/flag-l.png);
    background-repeat: no-repeat;
    background-size: 40px 100%;
}

.flag-title-right {
    background-image: url(../images/flag-r.png);
}

.flag-title-center {
    color: #fff;
    background-image: url(../images/flag-c.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.flag-title-center h2,
.flag-title-center h1 {
    margin: 0;
    padding: 6px 20px 12px 20px;
    font-size: 3rem;
    line-height: 1.3em;
	color: #fff !important;
}

.post-it-photo {
    margin-top: 10px;
    margin-bottom: 10px;
    background: #fff;
    padding: 10px;
    box-shadow: 3px 3px 10px 1px rgba(0, 0, 0, 0.20);
    transform: rotate(2deg);
}

.post-it-photo img {
    width: 100%;
}

.rotate-2 {
    transform: rotate(-2deg);
}

.post-it-photo .title {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.3;
}

@media (min-width:992px) {}

@media (max-width:767.98px) {
    .full-banner {
        margin: -30px -20px;
        margin-bottom: 30px;
    }
}


/******************************************* sitemap*/

#sitemap {}

#sitemap h2,
#sitemap h2>a {
    font-size: 2.4rem;
    color: #f15a24 !important;
    margin-top: 15px;
    margin-bottom: 15px;
}

#sitemap a:hover,
#sitemap a:focus {
    color: #f15a24
}

#sitemap h2>a:hover,
#sitemap h2>a:focus {
    color: #0056b3 !important
}

#sitemap .coverWrapper:after {
    padding-top: 75%;
}

.sitemap-list {
    list-style: square;
    color: #006837;
}

.sitemap-list li {
    margin-bottom: 10px;
}

.sitemap-list a {
    color: #006837;
}

.sitemap-sub {
    margin-top: 5px;
    list-style: disc;
}

.sitemap-sub li {
    margin-bottom: 5px;
}

.sitemap-sub a {
    color: #0071bc;
}

.sitemap-sub ul {
    list-style: circle;
    margin-top: 2px;
}

.sitemap-sub ul li {
    margin-bottom: 2px;
}

.sitemap-sub ul a {
    color: #8c6239;
}


/******************************************* scroll To Top*/

.scrollToTopContainer {
    display: none;
    position: fixed;
    margin: 0;
    bottom: 15px;
    right: 0px;
    z-index: 200;
}

.scrollToTopContainer .text,
.regCart .text {
    display: none;
    color: #333;
    position: absolute;
    right: 45px;
    min-width: 60px;
    font-size: 12px;
    text-align: center;
    padding: 3px 5px;
    margin-top: 10px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.2);
}

.scrollToTopContainer:hover .text,
.scrollToTopContainer:focus .text,
.regCart:hover .text,
.regCart:focus .text {
    display: block;
}

.scrollToTop {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #62bc44;
    opacity: 0.7;
    transition: background 0.3s;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .2);
}

.scrollToTop img {
    width: 100%;
    height: 100%;
    display: block;
    vertical-align: top;
}

.scrollToTop:hover,
.scrollToTop:focus {
    background: #006a35;
    outline: none;
}

@media screen and (min-width:950px) {
    .scrollToTop:hover img,
    .scrollToTop:focus img {
        animation-duration: 1s;
        animation-fill-mode: both;
        animation-name: bounce;
        transform-origin: center;
    }
}


/******************************************* footer*/

#footer {
    padding: 15px 0;
    font-size: 1.4rem;
}

#footer a {
    color: #444;
}

#footer a:hover {
    color: #0071bc;
}

.footer>div {
    display: inline-block;
    vertical-align: middle;
}

.footer-link>div {
    display: inline-block;
    margin: auto 5px;
}

.footer-link>div+div::before {
    display: inline-block;
    content: '|';
    margin-right: 10px;
}

.footer-logo>a {
    margin: auto 5px;
}

@media (min-width:768px) {
    .footer {
        text-align: right;
    }
    .footer-logo {
        margin-left: 10px;
    }
}

@media (max-width:767.98px) {
    .footer {
        text-align: center;
    }
}

.sl-overlay {
    background: #000;
    opacity: 0.6;
}

.sl-wrapper .sl-counter,
.sl-wrapper .sl-close,
.sl-wrapper .sl-navigation button {
    color: #fff;
}
.sl-wrapper .sl-image .sl-caption{
	font-size: 1.6rem;
}
/******************************************* notify*/
.notifyWrap{
  display: inline-block;
  position: relative;
}
.btn-notify{
  position: relative;
  font-size: 18px;
  vertical-align: top;
  border: none;
  outline: none;
  padding: 0;
  width: 40px;
  height: 40px;
  text-align: center;
  color: #555;
  background: #eee;
  border-radius: 100px;
}
.notifyWrap.mobile{
  position: fixed;
  right: 64px;
  top: 12px;
}
.notifyWrap.mobile .btn-notify{
  width: 36px;
  height: 36px;
}
.btn-notify:focus{
  outline: none;
  box-shadow: none;
  background: #ddd;
  color: #006837;
}
.btn-notify .badge{
  position: absolute;
  bottom: -3px;
  right: -8px;
  font-size: 12px;
  transform: scale(0.9);
}
.dropdown-notify{
  top: 5px !important;
  width: 300px;
  height: 500px;
  max-height: 80vh;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 12px;
  border-radius: 5px;
  border: none;
  box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.3);
}
.notify-list{
  margin: 0;
  padding: 0;
  list-style: none;
}
.notify-list > li {
  position: relative;
  padding: 12px ;
  line-height: 1.2;
  font-size: 1.4rem;
}
.notify-list > li.unread::after{
	position: absolute;
	display: block;
	left: -3px;
	top: 15px;
	margin-top: 0;
	width: 8px;
	height: 8px;
	background: #dc3545;
	border-radius: 10px;
	overflow: hidden;
	content: '';
}
.notify-list > li +li{
}
.notify-list > li > a{
  position: absolute;
  z-index: 2;
  border-radius: 5px;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.notify-list > li:hover > a{
  background-color: rgba(0,0,0,0.05);
}
@media(max-width:767.98px){
  .dropdown-notify{
    width: 280px;
  }
}
/******************************************* comment*/
#forum{
  margin: auto;
  max-width: 700px;
  width: 100%;
}
.commentBox {
  border: 1px solid #eee;
  background: #fff;
  padding: 15px;
}

.mainTopic {
    margin-bottom: 2rem;
}

.mainTopic .message img {
  display: block;
  margin: auto;
  max-width: 100% !important;
}
.mainTopic .message .fotorama img {
	max-width: inherit !important;
	margin: inherit;
	display: inherit;
}

.mainTopic .message img.emojione {
    display: inline;
}

.mainTopic-func {
    padding-top: 5px;
    padding-bottom: 5px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.mainTopic-func>button {
    flex: 1;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 16px;
}

.btn-like.liked {
    color: #FF484B
}

.mainTopic-func>button:hover,
.mainTopic-func>button:focus {
    background: #eee;
}
.post-control .dropdown{
  display: inline-block;
}
.post-control .dropdown-item{
  padding: 5px 10px;
}
.post-control .dropdown-menu .icon{
  display: inline-block;
  padding-right: 5px;
  width: 1.5em;
  text-align: center;
}
.comment {
    display: flex;
}
.comment-right .post-control .btn-postDropdown{
  visibility: hidden;
}
.comment:hover .comment-right .post-control .btn-postDropdown{
  visibility: visible;
}
/*.comment-left {
    width: 50px;
    box-sizing: border-box;
    text-align: center;
}

.reply-box .comment-left {
    width: 30px;
}
.comment-right {
    width: calc(100% - 50px);
    padding-left: 10px;
}

.reply-box .comment-right {
    width: calc(100% - 30px);
}
*/

.user-img {
    display: block;
    width: 50px;
    border-radius: 100px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.reply-box .user-img {
    width: 30px;
    height: 30px;
}

.user-img img {
    width: 100%;
    object-fit: cover;
}

.message-info {
    position: relative;
    margin-bottom: 2px;
}

.message {
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 15px;
    position: relative;
}

.mainTopic .message {
    padding: 0;
    background: none;
}

.message img {
    max-width: 150px;
}

.message>p:last-child {
    margin-bottom: 0;
}

.message>p {
    margin-bottom: 0.5em;
}

.message-info .like-count {
    position: absolute;
    bottom: -5px;
    right: 0;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 12px;
    background: #fff;
    line-height: 1;
    box-shadow: 2px 2px 3px 2px rgba(0, 0, 0, 0.1);
}

.like-count .fa {
    color: #FF484B
}

.comment-function,
.comment-date {
  font-size: 1.3rem;
  color: #999;
}
.comment .list-inline-item{
  vertical-align: bottom;
}

.comment-function .btn {
    padding: 0;
}

.comment{
  display:  flex;
}
.comment-list>li {
    margin-top: 1.5rem;
}
.comment-list>li>.comment-list {
    margin-left: 30px;
}

.comment-list>li>.comment-list>li {
    margin-top: 1rem;
}

/*.comment-list>li>.comment-list .comment-left {
    width: 30px;
}

.comment-list>li>.comment-list .comment-right {
    width: calc(100% - 30px);
}*/

.comment-list>li>.comment-list .user-img {
    width: 30px;
}

.comment-list>li>.comment-list .user-img img {
    width: 30px;
    height: 30px;
}
.sub-lv-reply{
  position: relative;
}
.sub-lv-reply::before{
  content: url('../images/sub.png');
  position: absolute;
  top: 2px;
  left: -25px;
  display: block;
  width: 15px;
  height: 15px;
}
.btn-vmore {
    padding: 0;
    font-size: 1.4rem;
    color: #888;
    white-space: normal;
}

.reply-box {
    margin-top: 10px;
    margin-bottom: 10px;
}

.reply-box-message {}

.hideComment .commentBox-bottom{
  display: none;
}
@media (max-width:767.98px) {
    /*.comment-left {
        width: 30px !important;
    }*/
    .user-img {
        width: 30px !important;
        height: 30px !important;
    }
   /* .comment-right {
        width: calc(100% - 30px);
    }*/
    .comment-list>li>.comment-list {
        margin-left: 30px;
    }
}

.anchorLink {
    display: block;
    position: relative;
    top: -70px;
    visibility: hidden;
}

@media (max-width:991px) {
    .anchorLink {
        top: -110px;
    }
}
.reply-upload {
    display: none;
}

.hide {
    display: none !important;
}
.pagination > span {
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
    font-size: 0px;
}
.pagination > span > a, .pagination > span > span {
    font-size: initial;
}

.pagination > span > span {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    border: 1px solid #dee2e6;

    z-index: 3;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}