.modular1 .wrap { line-height: 2em; text-align: center; } .down-icon { color: #b8120d; margin-top: 1em; margin-bottom: 1em; } .modular2 { text-align: center; color: #fff; padding: 10%; position: relative; } .modular2::after { content: ''; display: block; padding: 4% 0; width: 1px; background: #fff; position: absolute; bottom: 0; left: 50%; } .modular2 h2 { margin-bottom: 0.5em; } .modular2 p { margin-bottom: 1em; line-height: 2em; } .modular3 { text-align: center; } .modular3 ul { background: url(../images/join/orders/03.jpg) no-repeat center center; background-size: cover; overflow: hidden; } .modular3 li { width: 13%; float: left; height: 450px; transition: all 0.5s ease-out; box-sizing: border-box; padding: 5% 3%; position: relative; } .modular3 li.on { width: 35%; } .modular3 li .text { position: absolute; width: 100%; left: 0; padding: 0 5%; bottom: 10%; transition: all 0.5s ease-out; box-sizing: border-box; } .modular3 li .text img{ max-width: 30%; } .modular3 li+li::after { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 1px; background: #c2bfba7e; } .modular3 li.on { text-align: left; } .modular3 li .tit { margin-top: 0.5em; margin-bottom: 0.5em; } .modular3 li .details { max-height: 0; line-height: 1.5em; overflow: hidden; } .modular3 li.on .details { max-height: 9em; } .modular3 li.on .text { top: 10%; bottom: 0; } .modular3 li.on .content { bottom: 10%; position: absolute; left: 5%; right: 5%; text-align: justify; } .modular4 { padding-top: 10%; padding-bottom: 0; } .modular4 .text-box { width: 40%; color: #fff; line-height: 2; background: rgba(0, 0, 0, 0.5); padding: 5em; } .modular4 .text-box h2 { line-height: 1em; padding-bottom: 0.5em; margin-bottom: 0.5em; border-bottom: 1px solid rgba(255, 255, 255, 0.5); } .modular4 .text-box p { margin-bottom: 0.5em; } .modular5 { text-align: center; } .modular5 img { max-width: 100%; } .modular6 { padding-top: 0; text-align: center; } .modular6 img { max-width: 100%; } .modular6 .swiper-slide { position: relative; } .modular6 .text-box { padding: 5%; text-align: left; position: absolute; bottom: 0; left: 0; width: 100%; color: #fff; box-sizing: border-box; background: rgba(0, 0, 0, 0); transition: all .3s; } .modular6 .text-box h2 { border-bottom: 2px solid #b8120d; border-width: 0; display: inline-block; transition: all .3s; padding-bottom: 0; margin-bottom: 0; } .modular6 .swiper-slide .text-box h3 { max-height: 0; overflow: hidden; transition: all .3s; } .modular6 .swiper-slide:hover .text-box { background: rgba(0, 0, 0, 0.5); } .modular6 .swiper-slide:hover .text-box h2 { margin-bottom: 0.5em; padding-bottom: 0.5em; border-width: 2px; } .modular6 .swiper-slide:hover .text-box h2::after { opacity: 1; overflow: hidden; } .modular6 .swiper-slide:hover .text-box h3 { max-height: 10em; } .modular7 { overflow: hidden; color: #fff; padding-bottom: 0; } .modular7 .right { float: right; padding: 3% 5%; background: rgba(184, 18, 13, 0.5); margin-top: 10%; } .modular7 .right i { line-height: 1; margin-top: -0.05em; } .modular7 .right i, .modular7 .right .rt { float: left; } .modular7 .right a:hover, .modular7 .right a { color: #fff !important; } @media screen and (max-width: 1440px) { .modular2 br { display: none; } } @media screen and (max-width: 768px) { .modular1 br { display: none; } .modular2 { padding: 10% 0; } .modular3 li.on, .modular3 li { width: 100%; display: block; height: auto; padding: 10% 3%; } .modular3 li.on .text, .modular3 li .tit { text-align: center; } .modular3 li .text, .modular3 li.on .content { position: static; } .modular3 li.on .details, .modular3 li .details { max-height: none; text-align: left; } .modular3 li+li::after{ width: 100%; height: 0.5px; } .modular4 .text-box{ width: auto; padding: 3em; } .modular6 .text-box{ position: static; color: #000; } .modular6 .swiper-slide .text-box h2 { margin-bottom: 0.5em; padding-bottom: 0.5em; border-width: 2px; } .modular6 .swiper-slide .text-box { background: none !important; } .modular6 .swiper-slide .text-box h3 { max-height: 10em; } }