@-webkit-keyframes fadeInRight {
0% {
opacity: 0;
-webkit-transform: translateX(200px);
transform: translateX(200px);
}
100% {
opacity: 1;
-webkit-transform: translateX(0);
transform: translateX(0);
}
}
@keyframes fadeInRight {
0% {
opacity: 0;
-webkit-transform: translateX(200px);
-ms-transform: translateX(200px);
transform: translateX(200px);
}
100% {
opacity: 1;
-webkit-transform: translateX(0);
-ms-transform: translateX(0);
transform: translateX(0);
}
}
@-webkit-keyframes fadeInLeft {
0% {
opacity: 0;
-webkit-transform: translateX(-200px);
transform: translateX(-200px);
}
100% {
opacity: 1;
-webkit-transform: translateX(0);
transform: translateX(0);
}
}
@keyframes fadeInLeft {
0% {
opacity: 0;
-webkit-transform: translateX(-200px);
-ms-transform: translateX(-200px);
transform: translateX(-200px);
}
100% {
opacity: 1;
-webkit-transform: translateX(0);
-ms-transform: translateX(0);
transform: translateX(0);
}
}
.faded-left{
animation: fadeInRight 1s 1;
animation-direction: alternate-reverse;
opacity: 0;
}
.faded-right{
animation: fadeInLeft 1s 1;
animation-direction: alternate-reverse;
opacity: 0;
}
.fadeInRight {
animation: fadeInRight 1s 1;
-webkit-animation-name: fadeInRight;
animation-name: fadeInRight;
opacity: 1;
}
.fadeInLeft {
animation: fadeInLeft 1s 1;
-webkit-animation-name: fadeInLeft;
animation-name: fadeInLeft;
opacity: 1;
}
main#site-content.homepage {
margin-top: 142px;
}
.homepage .container {
padding: 0 20px;
}
.homepage .block-resources .read-all .btn {
padding: 11.5px 53px;
border-radius: 7px;
}
.homepage .block-bottom .content-right .btn {
margin-top: 50px;
border-radius: 7px;
text-decoration: none;
}
.homepage .banner-animation {
position: relative;
height: 420px;
left: 0;
right: 0;
max-width: 1475px;
}
.homepage .banner-animation .page-title {
position: absolute;
top: 42%;
left: 50%;
text-align: center;
width: 80%;
opacity: 1;
transition: 0.5s;
z-index: 90;
transform: translate(-50%, -50%);
}
.homepage .banner-animation .page-title.aos-animate {
transform: translate(-50%, -50%);
}
.homepage .banner-animation .page-title h5 {
opacity: 0;
transform: translateY(20px);
}
.homepage .banner-animation .page-title h1 {
opacity: 0;
transform: translateY(20px);
}
.homepage .banner-animation .page-title.aos-animate h1 {
opacity: 1;
transform: translateY(0px);
transition: all 0.25s;
transition-delay: 0.35s;
}
.homepage .banner-animation .page-title.aos-animate h5 {
opacity: 1;
transform: translateY(0px);
transition: all 0.25s;
transition-delay: 0.25s;
}
.homepage .banner-animation .cloud-1 {
position: absolute;
top: 22px;
left: 17%;
height: 12px;
width: 43px;
background-size: cover;
background-image: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/could-1.svg);
transition: 0.5s;
}
.homepage .banner-animation .cloud-2 {
position: absolute;
top: 15%;
right: 11%;
width: 87px;
height: 24px;
background-size: cover;
background-image: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/could-2.svg);
transition: 0.5s;
}
.homepage .banner-animation .cloud-4 {
position: absolute;
top: 63%;
left: 9%;
width: 129px;
height: 25px;
background-size: cover;
background-image: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/could-4.svg);
transition: 0.5s;
opacity: 1;
}
.homepage .banner-animation .cloud-5 {
position: absolute;
bottom: 11%;
right: 11%;
width: 171px;
height: 33px;
background-size: cover;
background-image: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/could-5.svg);
transition: 0.5s;
opacity: 1;
}
.homepage .banner-content-bottom .content-left h3 {
line-height: 53px;
color: #145F37;
margin-bottom: 15px;
}
.homepage .banner-content-bottom .content-left .btn {
text-decoration: none;
border-radius: 7px;
padding: 10.5px 40.5px;
}
.homepage .block-resources {
background: #F5F7FE;
position: relative;
transition: 0.5s;
}
.homepage .block-resources:before {
position: absolute;
bottom: calc(100% - 8px);
left: 0;
width: 100%;
content: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/desktop-top.svg);
}
.homepage .block-resources:after {
position: absolute;
top: calc(100% - 8px);
left: 0;
z-index: -1;
width: 100%;
content: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/desktop-bottom.svg);
}
.homepage .block-resources .title {
text-align: center;
}
.homepage .block-resources .read-all {
text-align: center;
margin-top: 66px;
}
.homepage .block-bottom .content-right h4 {
margin-bottom: 15px;
}
.homepage h1 {
margin: 15px 0 20px;
}
.homepage h5{
font-size: 1.25rem;
margin: 0;
font-weight: 600;
}
.homepage .block-bottom .content-right h2 {
margin-bottom: 20px;
margin-top: 15px;
}
.filter-content .content-right ul.list-link {
margin: 0;
padding: 0;
margin-top: 8px;
}
.filter-content .content-right ul.list-link li {
margin: 0rem 0 0 1.1rem;
}
.filter-content .content-right ul.list-link li a {
font-weight: 600;
text-decoration: underline;
}
.filter-content .tag-categoty{
border: 1px solid;
margin-right: 15px;
}
.homepage .banner-content-bottom {
display: flex;
flex-direction: column;
}
.filter-content .image-left {
margin-right: 40px;
width: 180px;
min-width: 180px;
align-items: center;
display: flex;
}
.filter-content {
display: flex;
}
.homepage h4 {
color: #000000;
}
.homepage .block-resources .filter-category .filter-item .content-right .tag-date span{
margin-right: 15px;
font-weight: 600;
margin-left: 0;
}
.homepage .block-resources .filter-category .filter-item .content-right .tag-date span.resources_type {
font-weight: 500;
}
.homepage p:empty{
display: none;
}
.homepage .block-resources .filter-category .filter-item .content-right .tag-date {
margin-bottom: 10px;
}
.homepage .block-resources .title h2 {
margin: 10px 0 20px;
}
.homepage .tag-category{
padding: 2px 15px;
}
.homepage .filter-category .filter-item {
display: inline-block;
width: 100%;
background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23808080FF' stroke-width='2' stroke-dasharray='6%2c 14' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
background-position: bottom;
background-size: 12px 1px;
background-repeat: repeat-x;
padding: 24px 0;
margin-bottom: 2px;
}
.homepage .block-resources .filter-category .filter-item .content-right h4 {
margin: 30px 0 10px;
margin-top: 2px;
}
.homepage .tc-green{
color: #145F37;
}
.homepage .tc-violet{
color: #5F143C;
}
.homepage .tc-blue{
color: #0F62AD;
}
.homepage .tc-orange{
color: #B65224;
}
.homepage .filter-content .name-post .np-name {
font-style: normal;
text-decoration: none;
margin: 0;
}
.get-help .content-inner {
display: flex;
flex-wrap: wrap;
align-items: center;
padding-left: 5%;
}
.get-help .image {
width: 48.1%;
}
.get-help .content-right {
width: 51.9%;
padding-left: 6.7%;
padding-right: 2%;
}
.get-help h2 {
margin: 17px 0 15px;
}
[lang="en-US"] .get-help h2{
font-style: normal;
}
.get-help .image img {
width: 100%;
}
.get-help .content-right .content {
margin-bottom: 60px;
text-align: left;
}
[lang="en-US"] .get-help .content-right .content {    
font-weight: 500;
}
.get-help .content-right h5 {
padding-left: 5px;
font-weight: 600;
}
.get-help .content-right .btn{
min-width: 165px;
} 
.homepage .block-resources .get-help .container {
padding-top: 92px;
padding-bottom: 83px;
}
@media screen and (max-width: 999.89px) {
main#site-content.homepage {
margin-top: 101px;
}
.homepage#site-content .banner-content-bottom {
padding: 0;
}
.filter-content .image-left{
margin-right: 50px;
}
.homepage#site-content .banner-content-bottom {
margin-top: 0!important;
}
.homepage .banner-content-bottom .content-left div {
display: inline-block;
width: 100%;
}
.homepage .block-resources {
padding-top: 0;
}
.homepage .banner-content-bottom .content-left p{
margin-bottom: 40px;
text-align: left;
font-weight: 500;
}
.homepage .block-resources:before,
.homepage .block-resources:after {
z-index: -1;
}
.homepage .banner-content-bottom .content-left {
order: 2;
text-align: center;
background: #F5F7FE;
z-index: 80;
position: relative;
padding: 0 20px;
padding-bottom: 76px;
padding-top: 35px;
}
.homepage .banner-content-bottom .content-left:before {
position: absolute;
z-index: -1;
bottom: calc(100% - 8px);
left: 0;
width: 100%;
content: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/home-mobile-top.svg);
}
.homepage .banner-content-bottom .content-right {
position: relative;
z-index: 120;
text-align: center;
}
.homepage .banner-content-bottom .content-right img {
max-width: 100%;
margin: 0 auto;
}
.homepage .block-bottom {
margin-top: 40px;
padding-bottom: 50px;
}
.homepage .block-bottom .content-left {
margin-top: 100px;
text-align: center;
}
.homepage .block-bottom .content-left img {
max-width: 100%;
margin: 0 auto;
}
.homepage .block-bottom .content-right {
text-align: center;
padding-top: 30px;
font-weight: 500;
}
.homepage .block-bottom .content-right h4 {
margin-bottom: 10px;
}
.homepage .block-bottom .content-right h2 {
margin-bottom: 10px;
}
.get-help .image {
width: 100%;
margin-bottom: 34px;
}
.get-help .content-right {
width: 100%;
padding-left: 0;
padding-right: 0;
text-align: center;
}
.get-help .content-inner{
padding-left: 0;
}
.get-help .image img{
max-width: 525px;
margin: 0 auto;
}
.homepage .block-resources .get-help .container{
padding-top: 0;
}
.get-help .content-right h5 {
padding-left: 0;
}
.get-help h2 {
margin: 10px 0;
}
}
@media screen and (max-width: 767.89px) {
.homepage .block-bottom .content-right .btn {
width: 95%;
}
.homepage h1 {
margin: 10px 0 20px;
}
.home .homepage#site-content .banner-content-bottom {
padding: 0;
}
.homepage h4 {
margin: 0 0 10px;
}
.home #site-content .container {
max-width: 100%;
padding: 0 20px;
position: relative;
top: 0;
padding-bottom: 110px;
}  
.homepage h5 {
font-size: 1.125rem;
}
.homepage .block-resources {
padding-top: 75px;
}
.homepage .block-resources:after {
position: absolute;
top: calc(100% - 8px);
left: 0;
z-index: -1;
width: 100%;
content: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/home-mobile-bottom.svg);
}
.homepage .banner-content-bottom .content-left {
order: 2;
text-align: center;
background: #F5F7FE;
z-index: 80;
padding-bottom: 35px;
}
.homepage .banner-content-bottom .content-left:before {
position: absolute;
z-index: -1;
bottom: calc(100% - 8px);
left: 0;
width: 100%;
content: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/home-mobile-top.svg);
}
.homepage .banner-content-bottom .content-left .btn {
width: 100%;
}
.homepage .banner-content-bottom .content-right {
position: relative;
z-index: 110;
width: 80%;
margin: 0 auto;
margin-top: 22px;
}
.homepage .block-bottom {
margin-top: 110px;
padding-bottom: 110px;
}
.homepage .block-bottom .content-right {
text-align: center;
padding-top: 30px;
}
.homepage .block-bottom .content-right p {
text-align: left;
}
.homepage .block-bottom .content-right h4 {
margin-bottom: 10px;
}
.homepage .block-bottom .content-right h2 {
margin-bottom: 10px;
margin-top: 10px;
}
.homepage .block-bottom .content-right .btn {
width: 95%;
display: block;
margin: 0 auto;
margin-top: 40px;
line-height: 33px;
}
.homepage .banner-content-bottom .content-left {
padding: 0 20px;
padding-top: 35px;
position: relative;
}
.homepage .banner-content-bottom .content-left h2 {
margin-top: 10px;
margin-bottom: 10px;
}
.homepage .banner-content-bottom .content-left h3 {
line-height: 40px;
margin-bottom: 10px;
}
.homepage .banner-content-bottom .content-left p {
margin-bottom: 40px;
text-align: left;
}
.homepage .banner-content-bottom .content-left .btn {
width: 94%;
text-decoration: none;
border-radius: 7px;
display: block;
margin: 0 auto;
}
.home #site-content .block-resources .container {
padding-bottom: 75px;
}
.homepage .block-resources .container .title p {
margin-bottom: 8px;
}
.homepage .block-resources .container .title h2 {
margin-bottom: 10px;
}
.homepage .block-resources .filter-category .filter-item .content-right>h3 {
margin-bottom: 10px;
}
.homepage .block-resources .filter-category .filter-item .content-right .tag-date {
margin-bottom: 10px;
}
.homepage .block-resources .filter-category .filter-item .content-right .tag-date br {
display: none;
}
.homepage .block-resources .filter-category .filter-item .content-right .tag-date span.tag-categoty {
padding: 1.5px 14px;
font-weight: bold;
}
.homepage .block-resources .filter-category .filter-item .content-right .name-post {
margin-bottom: 8px;
}
.homepage .block-resources .filter-category .filter-item .image-left {
margin-right: 80px;
}
.homepage .block-resources .filter-category .filter-item .image-left img {
max-height: 170px;
width: auto;
}
.homepage .block-resources .read-all {
margin-top: 60px;
text-align: center;
}
.homepage .block-resources .read-all .btn {
width: 95%;
text-decoration: none;
border-radius: 7px;
display: block;
margin: 0 auto;
}
.homepage .block-resources .filter-content .image-left {
display: none;
}
.get-help .content-right .btn{
width: 94%;
}
.get-help .content-right .content{
margin-bottom: 40px;
}
}
@media screen and (min-width: 1000.89px) {
.homepage .block-resources .filter-category .filter-item .content-right .tag-date span {
font-weight: 600;
}
.homepage .block-resources {
margin-top: 25px;
}
.homepage .block-resources .read-all {
margin-top: 74px;
}
.homepage .block-resources:after {
z-index: -1;
}
.homepage .block-resources .container {
padding-top: 102px;
padding-bottom: 35px;
}
.homepage .block-resources .title h2 {
margin: 10px 0 10px;
}
.homepage .block-resources .container .title p {
margin-bottom: 10px;
}
.homepage .block-resources .filter-category .filter-item {
padding: 27px 53px;
}
.homepage .block-resources .filter-category .filter-item .content-right {
width: calc(100% - 260px);
}
.homepage .block-resources .filter-category .filter-item .content-right>h3 {
margin-bottom: 11px;
}
.homepage .block-resources .filter-category .filter-item .content-right .tag-date {
margin-bottom: 10px;
}
.homepage .block-resources .filter-category .filter-item .content-right .tag-date br {
display: none;
}
.homepage .block-resources .filter-category .filter-item .content-right .tag-date span.tag-categoty {
padding: 1.5px 14px;
font-weight: bold;
}
.homepage .block-resources .filter-category .filter-item .image-left {
margin-right: 80px;
}
.homepage .block-resources .filter-category .filter-item .image-left img {
max-height: 170px;
width: auto;
}
.homepage .block-bottom {
margin-top: 195px;
margin-bottom: 185px;
display: flex;
}
.homepage .block-bottom .row {
display: flex;
}
.homepage .block-bottom .content-left {
max-width: 56%;
flex: 0 0 56%;
width: 56%;
margin-top: 10px;
}
.homepage .block-bottom .content-right {
max-width: 45%;
width: 45%;
font-weight: 500;
padding-left: 46px;
padding-top: 82px;
display: block;
}
.homepage .banner-content-bottom {
margin-top: 675px;
position: relative;
z-index: 100;
display: flex;
flex-direction: inherit;
}
.homepage .banner-content-bottom .content-left {
flex: 0 0 39%;
max-width: 39%;
}
.homepage .banner-content-bottom .content-left h2 {
margin: 15px 0 17px;
}
.homepage .banner-content-bottom .content-left h4 {
margin-bottom: 17px;
}
.homepage .banner-content-bottom .content-left p {
margin-bottom: 55px;
font-weight: 500;
}
.homepage .banner-content-bottom .content-right {
flex: 0 0 64%;
max-width: 64%;
margin-top: 17px;
margin-left: 5px;
}
.homepage .banner-animation {
height: 650px;
position: fixed;
left: 0;
z-index: -1;
right: 0;
}
.homepage .banner-animation .page-title {
position: absolute;
top: 38%;
left: 51%;
text-align: center;
width: 90%;
opacity: 1;
transition: 0.5s;
z-index: 90;
}
.homepage .banner-animation .page-title h5 {
position: relative;
left: -15px;
}
.homepage .banner-animation .page-title.animation-active {
top: 30%;
opacity: 0;
}
.homepage .banner-animation .page-title.animation-inactive {
top: 40%;
opacity: 1;
}
.homepage .banner-animation .cloud-1 {
position: absolute;
top: 0;
right: 24%;
left: auto;
width: 172px;
height: 48px;
background-image: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/could-1.svg);
transition: 0.5s;
display: none;
}
.homepage .banner-animation .cloud-1.animation-active {
top: -50%;
}
.homepage .banner-animation .cloud-1.animation-inactive {
top: 0;
display: none;
}
.homepage .banner-animation .cloud-2 {
position: absolute;
top: 2.5%;
left: 28%;
width: 151px;
height: 42px;
background-image: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/could-2.svg);
transition: 0.5s;
}
.homepage .banner-animation .cloud-2.animation-active {
top: 0;
left: 28%;
}
.homepage .banner-animation .cloud-2.animation-inactive {
top: 4.5%;
}
.homepage .banner-animation .cloud-3 {
position: absolute;
top: 20.5%;
right: 8%;
width: 220px;
height: 61px;
background-image: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/could-3.svg);
opacity: 1;
transition: 0.5s;
}
.homepage .banner-animation .cloud-3.animation-active {
top: 14%;
right: 8%;
opacity: 0.5;
}
.homepage .banner-animation .cloud-3.animation-inactive {
top: 22.5%;
opacity: 1;
}
.homepage .banner-animation .cloud-4 {
position: absolute;
top: 48%;
left: 6.5%;
width: 347px;
height: 67px;
background-image: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/could-4.svg);
transition: 0.5s;
opacity: 1;
}
.homepage .banner-animation .cloud-4.animation-active {
top: 24%;
left: 7%;
opacity: 0.35;
}
.homepage .banner-animation .cloud-4.animation-inactive {
top: 50%;
opacity: 1;
}
.homepage .banner-animation .cloud-5 {
top: 72.5%;
position: absolute;
right: 10.5%;
width: 586px;
height: 113px;
background-image: url(//www.eoc.org.hk/compass/wp-content/themes/compass/assets/images/could-5.svg);
transition: 0.5s;
opacity: 1;
}
.homepage .banner-animation .cloud-5.animation-active {
top: 50%;
opacity: 0.5;
} 
.homepage .banner-animation .cloud-5.animation-inactive {
top: 75%;
opacity: 1;
}
}
@media screen and (max-width: 480px) {
.get-help .image{
padding-right: 5px;
}
.get-help .image img{
max-width: 262px;
margin: 0 auto;
}
}
@media screen and (max-width: 330.89px) {
.homepage .block-resources .filter-category .filter-item .content-right .tag-date span {
margin-right: 5px;
}
.homepage .tag-category {
padding: 2px 8px;
}
}
@media screen and (min-width: 1680px) {
.homepage .banner-content-bottom {
max-width: 1375px;
}
.homepage .block-resources .container {
max-width: 1375px;
}
.homepage .block-bottom {
max-width: 1375px;
}
}