.head-bar ul { position: relative; overflow: hidden; } .head-bar li::after, .head-bar ul::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; display: block; border-bottom: 1px solid #a9a9a9; } .head-bar ul li { width: 16.66%; float: left; padding: 1.5% 1%; text-align: center; position: relative; z-index: 1; white-space: nowrap; } .head-bar ul li.on::after { content: ''; position: absolute; left: 0; width: 100%; bottom: 0; border-bottom: 3px solid #0053ca; } .modular1 { padding: 5% 0; } .modular1 .wrap { overflow: hidden; } .modular1 .left, .modular1 .right { width: 50%; float: left; } .modular1 .left { overflow: hidden; } .modular1 .left img { width: 100%; transition: all .3s; } .modular1 .right { padding: 2.5% 5%; padding-right: 0; } .modular1 .right .title { margin-bottom: 0.5em; } .modular7, .modular6, .modular5, .modular2 { background: no-repeat center center; background-size: cover; position: relative; color: #fff; line-height: 2; } .modular2 .wrap { position: relative; padding: 5% 0; padding-bottom: 20%; } .modular2 .text { position: relative; z-index: 1; } .modular2 img { position: absolute; bottom: 0; left: 0; } .modular3 { padding: 5% 0; } .modular3 ul { margin: -1%; overflow: hidden; } .modular3 ul li { width: 31.33%; margin: 1%; float: left; overflow: hidden; position: relative; cursor: default; } .modular3 ul li img { width: 100%; transition: all .3s; } .modular3 ul li .text { position: absolute; bottom: 0; padding: 3em; color: #fff; line-height: 2; height: 100%; z-index: 1; transition: all .3s; transform: translateY(calc(100% - 6em - 2em)); } .modular3 ul li::after { content: ''; position: absolute; background: none; top: 0; left: 0; width: 100%; height: 100%; transition: all .3s; } .modular3 ul li .text h1 { margin-bottom: 1em; } .modular3 ul li .text p { display: none; } .modular4 { background: no-repeat center center; background-size: cover; position: relative; padding: 5% 0; } .modular4 h1 { text-align: center; margin-bottom: 1em; } .modular4 img { width: 100%; } .modular4 .swiper-container { width: 100%; padding: 0 25%; } .modular4 .swiper-buttons { position: relative; } .modular4 .swiper-buttons .swiper-button-next, .modular4 .swiper-buttons .swiper-button-prev { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E"); margin-top: 20%; transform: translateX(50%) scale(0.5); background-color: #0053ca; padding: 50px; transition: all .3s; right: 0; } .modular4 .swiper-buttons .swiper-button-prev { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E"); transform: translateX(-50%) scale(0.5); right: auto; left: 0; } .modular4 h2 { margin-top: 1em; text-align: center; padding: 0 1em; } .moduler5 .gallery-thumbs { height: 20%; box-sizing: border-box; padding: 10px 0; } .modular6, .modular5 { padding: 3% 0; text-align: center; } .modular5 { padding: 10% 0; } .modular5 h1, .modular5 h2 { line-height: 1.5em; font-weight: bold; } .modular5 h2 { margin-bottom: 2em; } .modular5 .swiper-button-next, .modular5 .swiper-button-prev { transform: scale(0.6); border: 2px solid #fff; padding: 40px; border-radius: 50%; } .modular6 .swiper-slide { position: relative; padding-bottom: 16px; vertical-align: bottom; height: 3em; line-height: 1; cursor: pointer; } .modular6 .swiper-slide::before, .modular6 .swiper-slide::after { content: ''; display: block; width: 10px; height: 10px; background: #fff; border-radius: 50%; left: 50%; bottom: 3px; margin-left: -5px; position: absolute; } .modular6 .swiper-slide::before { background: none; border-radius: 0; border-bottom: 1px solid #fff; bottom: 8px; width: 100%; } .modular6 .swiper-slide:last-child::before { display: none; } .modular6 .swiper-slide span { display: block; position: absolute; bottom: 24px; left: 0; text-align: center; width: 100%; transition: all .3s; } .modular6 .swiper-slide.swiper-slide-active span { font-size: 1.5em; font-weight: bold; } .modular6 .swiper-slide.swiper-slide-active::after { width: 14px; height: 14px; background: #0053ca; border: 1px solid #fff; bottom: 0; } .modular7 { padding: 5% 0; color: #333; } .modular7 ul { overflow: hidden; margin: -1%; } .modular7 ul li { width: 31.33%; float: left; margin: 1%; padding: 10%; position: relative; background: #deebe6; transition: all .3s; } .modular7 ul li .content { position: absolute; left: 0; top: 0; height: calc(100% - 2em); width: 100%; padding: 2em; padding-bottom: 0; margin-bottom: 2em; } .modular7 ul li .content h4, .modular7 ul li .content h1 { text-align: left; } .modular7 ul li .content h1 { max-height: 4.5em; overflow: hidden; line-height: 1.5em; } .modular7 ul li .content h4 { position: absolute; bottom: 0; color: #0053ca; } .modular7 ul li.img { text-align: center; } .modular7 ul li.img img { max-width: 100%; max-height: 100%; position: relative; top: 50%; transform: translateY(-50%); } .modular8 { padding: 5% 0; text-align: center; } .modular8 h1 { margin-bottom: 1em; font-weight: bold; } .modular8 p { line-height: 2em; } .modular9 { padding-bottom: 5%; } .modular9 ul { overflow: hidden; margin: -1%; } .modular9 ul li { float: left; width: 48%; margin: 1%; position: relative; overflow: hidden; } .modular9 ul li h1 { position: absolute; bottom: 0; padding: 0.8em 1em; color: #fff; } .modular9 ul li img { transition: all .3s; } .modular10 { padding: 5% 0; } .modular10 li .hover-img, .modular10 li::after { content: ''; display: block; background: url(../images/about/06/1.jpg) center center no-repeat; background-size: cover; position: absolute; width: 100%; left: 0; top: 0; height: 100%; opacity: 0; transition: all .3s; } .modular10 li::after{ z-index: -1; } .modular10 li { padding: 4%; background: rgb(237, 237, 237); transition: all .3S; cursor: default; } .modular10 li h2 { margin-bottom: 0.5em; position: relative; z-index: 1; } .modular10 li h2 span { margin-left: 1em; } .modular10 li p { height: 12em; line-height: 2em; position: relative; z-index: 1; } @media only screen and (min-width: 767px) { .modular4 .swiper-buttons .swiper-button-next:hover, .modular4 .swiper-buttons .swiper-button-prev:hover { opacity: 0.8; } .modular7 ul li.img:hover img, .modular7 ul li.img .content h1, .modular7 ul li.img .content h4 { display: none; } .modular7 ul li.img:hover .content h1, .modular7 ul li.img:hover .content h4 { display: block; transition: all .3s; line-height: 1.5em; } .modular1 .left:hover img { transform: scale(1.1); } .modular7 ul li:hover { background: #0054cacf; } .modular7 ul li:hover .content h4, .modular7 ul li:hover .content h1 { color: #fff; } .modular10 li:hover .hover-img, .modular10 li:hover::after { opacity: 1; } .modular10 li:hover { color: #fff; } .modular9 ul li:hover img { transform: scale(1.1); } .modular3 ul li:hover img { transform: scale(1.1); } .modular3 ul li:hover::after { background: #0054ca82; } .modular3 ul li:hover .text p { display: block; } .modular3 ul li:hover .text { transform: translateY(0); } } @media only screen and (max-width: 1024px) { .modular7 ul li { width: 48%; padding: 15%; } } @media only screen and (max-width: 767px) { .head-bar ul{ font-size: 0; } .head-bar li{ font-size: 14px; } .head-bar li::after { width: 100%; margin-bottom: 0px; } .modular7 ul li.img { padding: 3%; } .modular7 ul li.img .content { position: relative; height: auto; } .modular7 ul li.img img { transform: none; margin-bottom: 2em; } .modular7 ul li.img .content h4, .modular7 ul li.img .content h1 { display: block; position: relative; } .modular10 li, .modular9 ul li { width: 100%; } .modular10 li { padding: 3em; } .modular10 li p { height: auto; } .modular7 ul li { width: 100%; padding: 30%; } .head-bar ul { overflow: auto; white-space: nowrap; } .head-bar ul li { width: auto; display: inline-block; float: none; padding: 1em; } .modular4 .swiper-container { padding: 0; } .modular4 .swiper-buttons .swiper-button-next, .modular4 .swiper-buttons .swiper-button-prev { margin-top: 20%; transform: translate(50%) scale(0.5) translate(-50%); } .modular4 .swiper-buttons .swiper-button-prev { transform: translate(-50%) scale(0.5) translate(50%); } .modular3 ul li { width: 100%; } .modular3 ul li .text { transform: translateY(0); } .modular3 ul li .text p { display: block; } .modular1 .left, .modular1 .right { float: none; width: auto; padding-left: 0; } }