.banner-container {
width: 100%;
min-height: 552px;
background: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/banner-background-reports.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.post-type-archive-resources_multimed .banner-container {
min-height: 445px;
}
.post-type-archive-resources_reports .banner_content_container .image_show img {
max-width: 250px;
}
.post-type-archive-resources_reports .banner-container {
min-height: 452px;
}
.featured_mobile,
.action_close,
.ar-title,
.image_banner_mobile {
display: none;
}
.banner_main_content {
max-width: 1190px;
margin: 0 auto;
}
.banner_content_container {
display: flex;
align-items: flex-end;
}
.title-widget-banner {
display: flex;
align-items: center;
justify-content: center;
color: #3e3e3e;
font-family: "Quicksand";
font-size: 1.125rem;
font-weight: 700;
line-height: 1.31;
text-align: center;
padding-top: 50px;
}
.ar-title.ar-title-mobile {
display: block;
font-size: 2.7083rem;
font-weight: 500;
font-stretch: normal;
line-height: 1.23;
letter-spacing: 0;
color: #145F37;
margin-bottom: 30px;
}
.resources_poly_banner .image_banner_desktop {
padding-right: 20px;
}
.content_banner {
padding-left: 20px;
}
.banner_content_container>div {
width: calc(100% / 2);
float: left;
}
.image_banner {
order: 1;
}
.banner_text {
max-width: 565px;
margin-bottom: 29px;
}
.banner_training_toolkit .banner_text {
margin-bottom: 54px;
}
.banner_training_toolkit .image_show img {
bottom: -97px;
left: -5px;
width: 300px;
}
.post-type-archive-resources_multimed .banner-container .image_show img {
max-width: 320px;
}
.banner_text p {
font-weight: 500;
}
.banner_text a {
color: #000;
text-decoration: underline;
}
.banner_text a:hover {
color: #5EB581;
}
.image_show img {
margin: 0 auto;
position: relative;
bottom: -78px;
} .cate_archive {
padding: 0 20px;
}
.fileter_cate {
max-width: 920px;
margin: 0 auto;
padding: 0 20px;
display: none;
}
.cate_items {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 45px;
margin-top: 73px;
}
.cate_main .cate_link {
padding: 13px 18px;
font-family: 'Lora';
border-radius: 7px;
color: #3e3e3e;
font-weight: 500;
text-decoration: underline;
line-height: 1.3;
}
.cate_main .cate_link:hover,
.cate_item.active .cate_link {
border-radius: 7px;
background: #145f37;
color: #fff;
text-decoration: underline;
}
.cate_item:not(:first-child) {
margin-left: 10px;
}
.cate_item:not(:first-child) {
position: relative;
left: 18px;
}
.archive_training_toolkits .cate_item:not(:first-child) {
position: relative;
left: 17px;
}
.archive_training_toolkits .cate_item:not(:first-child) {
margin-left: 5px;
} .archive_container {
max-width: 930px;
margin: 0 auto;
padding: 0 20px;
margin-bottom: 115px;
}
.archive_item {
padding: 24px 40px;
display: inline-block;
width: 100%;
position: relative;
}
.archive_item:not(:first-child) {
padding-bottom: 26px;
}
.archive_item:not(:last-child):before {
content: "";
width: 100%;
height: 3px;
position: absolute;
bottom: -1.5px;
background: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/border.svg);
background-repeat: repeat-y;
left: 0;
}
.archive_item_content {
display: flex;
justify-content: space-between;
}
.ar_content_img {
width: 180px;
float: left;
}
.ar_content {
width: calc(100% - 210px);
float: right;
}
.ar_content .box-title {
display: flex;
align-items: center;
}
.current-year {
color: #145f37;
font-family: 'Quicksand';
font-weight: 600;
line-height: 1.31;
text-align: center;
margin-left: 12px;
}
.cate_post:not(:first-child) {
margin-left: 10px;
}
.box-dowload ul {
margin: 0;
padding: 0;
}
.cate_box .cate_name {
text-decoration: none;
padding: 1.5px 14px;
}
.box-content .links {
font-family: "Quicksand";
font-size: 1.1rem;
font-weight: 700;
line-height: 1.4;
color: #000000;
text-decoration: none;
margin-top: 10px;
display: inline-block; }
.box-content .links:hover { }
.item_dowload {
position: relative;
display: flex;
justify-content: flex-start;
margin: 0;
line-height: 1.31;
}
.item_dowload .content_dowload a {
font-weight: 600;
text-decoration: underline;
transition: 0.5s all;
}
.item_dowload .content_dowload a:hover {
color: #5EB581;
}
.item_dowload .content_dowload {
flex: 1;
}
.item_dowload:before {
content: "";
width: 6px;
height: 6px;
border: 1px solid #979797;
border-radius: 100%;
background: #808080;
display: block;
margin-right: 10px;
position: relative;
top: 10px;
}
.box-dowload {
margin-top: 9px;
}
.item_dowload:not(:last-child) {
margin-bottom: 5px;
} .none-posts {
padding-top: 50px;
text-align: center;
min-height: 50vh;
font-weight: 500;
} ul.page-numbers {
margin-top: 90px;
list-style: none;
}
.page-numbers {
margin: 0;
padding: 0;
list-style: none;
display: flex;
justify-content: center;
align-items: center;
}
.page-numbers li {
margin: 0;
}
.page-numbers {
font-size: 1rem;
color: #808080;
font-family: 'Quicksand';
font-weight: 500;
line-height: 1.31;
}
.page-numbers .page-numbers {
min-width: 25px;
padding: 0;
border-radius: 3px;
color: #000000;
font-family: 'Quicksand';
font-weight: 700;
line-height: 1.9;
text-align: center;
}
ul.page-numbers li:not(:first-child) {
margin-left: 5px;
}
.page-numbers a {
text-decoration: none;
}
.page-numbers .page-numbers.current,
.page-numbers a:hover {
background: #5F143C;
color: #FFFFFF;
}
.prev.page-numbers,
.next.page-numbers {
width: 30px;
height: 30px;
font-size: 0;
border-radius: 100%;
position: relative;
background: #545454;
display: flex;
justify-content: center;
align-items: center;
}
.prev.page-numbers {
left: -22px;
}
.next.page-numbers {
right: -22px;
}
.prev.page-numbers:before,
.next.page-numbers:before {
content: "";
display: block;
width: 8px;
height: 14px;
background: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/next.svg);
left: 1px;
}
.prev.page-numbers:before {
background: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/prev.svg);
} .archive_multimed .archive_container {
padding: 0;
max-width: 890px;
}
.resources_multimed_banner .banner_text {
margin-bottom: 30px;
}
.resources_multimed_banner .banner_text p {
letter-spacing: 0;
}
.archive_multimed .cate_archive {
margin-top: 79px;
}
.archive_multimed .cate_items {
margin-top: 72px;
}
.archive_multimed .cate_item {
margin: 0;
left: 0;
margin-right: 18px;
}
.archive_multimed .cate_item:not(:first-child) {
left: 9px;
}
.archive_multimed .cate_item:last-child {
position: relative;
left: 18px;
}
.archive_multimed .archive_item {
padding: 24px 40px;
}
.archive_multimed .archive_item:not(:first-child) {
padding-bottom: 23px;
}
.resources_type {
color: #808080;
font-family: "Quicksand";
font-size: 1rem;
font-weight: 500;
line-height: 1.31;
margin-left: 15px;
}
.archive_multimed .cate_main .cate_link:hover,
.archive_multimed .cate_item.active .cate_link {
background: #5F143C;
}
.archive_multimed .cate_box .cate_name {
padding: 1px 12px;
}
.archive_multimed .current-year {
color: #5F143C;
margin-left: 15px;
}
.archive_multimed .item_dowload:not(:last-child) {
margin-bottom: 4px;
} .archive_training_toolkits .cate_main .cate_link:hover,
.archive_training_toolkits .cate_item.active .cate_link {
background: #0F62AD;
}
.archive_training_toolkits .current-year {
color: #0F62AD;
} .resources_poly_banner .image_show img {
bottom: -64px;
}
.resources_poly_banner .banner_text {
margin-bottom: 17px;
}
.archive_resources_policy .cate_main .cate_link:hover,
.archive_resources_policy .cate_item.active .cate_link {
background: #B65224;
}
.archive_resources_policy .current-year {
color: #B65224;
}
.archive_resources_policy .cate_items {
margin-top: 73px;
}
.archive_resources_policy .cate_item:not(:first-child) {
margin-left: 5px;
}
.archive_resources_policy .archive_item:not(:last-child) {
padding-bottom: 23.5px;
}
@media screen and (min-width: 1680px) {
.banner_main_content {
max-width: 1720px;
margin: 0 auto;
padding: 0 20px;
}
.archive_item:not(:last-child):before {
background-size: cover;
}
.content_banner {
padding-left: 0;
}
}
@media screen and (max-width: 990px) {
.banner_content_container {
padding: 0 20px;
}
.resources_poly_banner .banner_content_container {
margin-top: 70px;
}
.content_banner {
padding: 0;
}
.archive_container,
.archive_multimed .archive_container {
max-width: 100%;
}
.banner_text {
padding-right: 20px;
}
.archive_resources_policy .archive_item:not(:last-child),
.archive_multimed .archive_item,
.archive_item {
padding: 24px 0;
}
.archive_multimed .archive_container {
padding: 0 20px;
}
.banner_text {
margin-bottom: 50px;
}
}
@media screen and (max-width: 815px) {
.resources_poly_banner .image_show img {
bottom: 50px;
}
.resources_poly_banner .banner_content_container {
margin-top: 60px;
}
}
@media screen and (max-width: 767px) {
.title-widget-banner {
padding-top: 17px;
margin-bottom: 10px;
}
.banner-container {
min-height: 475px;
}
.image_banner_desktop,
.ar-title.ar-title-mobile {
display: none;
}
.image_banner_mobile {
display: block;
}
.ar-title {
display: flex;
justify-content: center;
margin: 0;
padding: 0 20px;
}
.content_banner {
padding-left: 0;
}
#wrapper-banner {
padding: 0 20px;
}
.resources_poly_banner .banner_content_container {
margin-top: 0;
}
.banner_content_container {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.image_banner {
order: 0;
}
.banner_training_toolkit .image_show img,
.image_show img {
bottom: 0;
margin: 30px auto;
margin-bottom: 29px;
}
.banner_content_container>div {
width: 100%;
}
.banner_text {
max-width: 100%;
margin-bottom: 0;
}
.cate_main .cate_link {
padding: 10px;
}
.cate_items {
margin-top: 55px;
}
.archive_multimed .archive_item {
padding: 24px 0;
}
.banner_text {
padding-right: 0;
margin-top: -7px;
padding-bottom: 20px;
} .resources_poly_banner .image_show img,
.resources_poly_banner .banner_text {
margin-bottom: 0;
}
.resources_poly_banner .image_show img {
margin: 30px auto;
bottom: 0;
}
}
@media screen and (max-width: 660px) {
.site-main .archive_posts [data-aos^=fade][data-aos^=fade].aos-animate {
transform: initial;
}
.cate_content.active {
margin-top: -1px;
}
.cate_item.active {
display: none;
}
.cate_main.stickeyByScroll {
position: fixed;
width: 100%;
z-index: 9;
}
.cate_content {
position: absolute;
z-index: 9;
width: 100%;
}
.archive_multimed .archive_container,
.archive_container {
padding-top: 25px;
}
.archive_multimed .cate_archive,
.cate_archive {
padding: 0;
margin-top: 52px;
}
.cate_box .cate_name {
text-decoration: none;
}
.ar-title {
text-align: center;
}
.fileter_cate {
max-width: 100%;
display: flex;
justify-content: space-between;
background: #145f37;
color: #FFFFFF;
font-family: "Lora";
font-size: 0.9rem;
font-weight: 500;
text-decoration: underline;
line-height: 3.19;
align-items: center;
}
.filter_action {
width: 14px;
height: 14px;
font-size: 0;
background: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/plus.svg);
cursor: pointer;
}
.filter_action.active {
width: 14px;
height: 3px;
font-size: 0;
background: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/minus.svg);
cursor: pointer;
padding: 10px;
background-repeat: no-repeat;
background-position: center;
}
.cate_items {
display: flex;
align-items: flex-start;
justify-content: center;
flex-direction: column;
margin: 0;
padding: 3px 33px 0;
background: #145f37;
}
.cate_archive {
margin-top: 50px;
}
.cate_main .cate_link {
color: #FFFFFF;
text-decoration: none;
}
.item_dowload:not(:last-child),
.cate_item:not(:first-child) {
margin: 0;
}
.cate_main .cate_link {
padding: 0;
font-size: 0.9rem;
}
.archive_resources_policy .archive_item:not(:last-child),
.archive_multimed .archive_item,
.archive_item:not(:first-child),
.archive_item {
padding: 25px 0;
}
.banner_content_container {
padding: 0;
} .archive_training_toolkits .cate_item:not(:first-child),
.archive_multimed .cate_item:last-child,
.cate_item:not(:first-child) {
position: static;
}
.archive_multimed .cate_items,
.archive_multimed .fileter_cate {
background: #5F143C;
}
.archive_multimed .cate_items {
margin-top: 0;
}
.archive_training_toolkits .cate_items,
.archive_training_toolkits .fileter_cate {
background: #0F62AD;
}
.archive_resources_policy .cate_items,
.archive_resources_policy .fileter_cate {
background: #B65224;
}
.cate_archive .cate_content,
.fileter_cate.hide {
display: none;
}
.cate_archive .cate_content.stickeyCate {
position: fixed;
z-index: 99;
width: 100%;
display: block;
}
.cate_content.stickeyCate .cate_items {
margin: 0;
}
.stickeyCate .featured_mobile,
.action_close {
display: block;
}
.cate_items .cate_title .action_close {
display: none;
}
.cate_items .cate_title {
display: flex;
justify-content: space-between;
align-items: center;
}
.cate_items .cate_item {
width: 100%;
margin-bottom: 20px;
}
.cate_items .cate_item:last-child {
margin-bottom: 25px;
}
.banner-container {
background: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/banner-background-reports-mobile.png);
background-size: 100% 100%;
background-repeat: no-repeat;
min-height: inherit;
}
.box-content .links {
font-size: 1.1rem;
}
.items_dowload .item_dowload a {
font-size: 1rem;
}
.fileter_cate {
padding: 0 33px;
}
.archive_container {
margin-bottom: 94px;
}
.archive_training_toolkits .cate_item:not(:first-child) {
margin-left: 0;
} .resources_poly_banner .image_show img {
bottom: 0;
}
.archive_resources_policy .cate_items {
margin-top: 0;
}
.archive_resources_policy .cate_items .cate_item {
margin-left: 0;
}
}
@media screen and (max-width: 550px) {
.block-image img {
display: none;
}
.ar_content .box-title {
margin-top: 25px;
}
.box-content .links {
font-size: 1.1rem;
}
.items_dowload .item_dowload a {
font-size: 1rem;
}
.block-image img.featured_mobile {
display: block;
width: 100%;
}
.ar_content,
.ar_content_img {
width: 100%;
}
.archive_item_content {
display: flex;
justify-content: space-between;
flex-direction: column;
}
.item_dowload:not(:last-child) {
margin-bottom: 5px;
}
.archive_item:not(:first-child) {
padding-top: 23px;
}
.archive_item:not(:last-child) {
padding-bottom: 25px;
}
ul.page-numbers {
margin-top: 77px;
}
.banner_text p {
line-height: 1.6;
}
.banner_training_toolkit .banner_text {
margin-bottom: 0;
}
}
@media screen and (max-width: 330px) {
.banner_text p {
padding-bottom: 20px;
}
.current-year,
.archive_multimed .current-year,
.resources_type {
margin-left: 5px;
}
.item_dowload {
align-items: baseline;
}
.item_dowload:before {
top: -2px;
}
.archive_multimed .ar_content .box-title.cookie_size {
display: flex;
align-items: flex-start;
flex-direction: row;
flex-wrap: wrap;
}
.archive_multimed .current-year {
margin-left: 10px;
}
.archive_multimed .box-title.cookie_size .resources_type {
margin-left: 0;
margin-top: 5px;
}
.archive_multimed .ar_content .box-title {
align-items: flex-start;
flex-direction: column;
}
.archive_multimed .current-year {
margin-left: 0;
}
}