www.lightcourse.com/public/static/home/new/css/course.css

845 lines
19 KiB
CSS

.dot {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.setBetween {
display: flex;
justify-content: space-between;
}
.setBetween .item{
position: relative;
}
.setBetween .item:nth-of-type(1){
padding-right: 20px!important;
}
.setBetween .item:nth-of-type(2){
padding-left: 20px!important;
}
.setBetween .item:nth-of-type(1):after{
content:'';
display: block;
width: 1px;
height: 100%;
background: #3b52f6;
position: absolute;
right:0;
top: 0;
}
.setRowCenter {
display: flex;
align-items: center;
}
.setColumnCenter {
display: flex;
align-items: center;
}
.setCenter {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.ra {
border-radius: 0.2rem;
overflow: hidden;
}
.bs {
box-shadow: 0 0 0.5rem #ebebeb;
}
.box-shadow {
box-shadow: 0rem 0.3rem 0.5rem 0rem rgba(36, 65, 116, 0.1);
}
.btn {
padding: 0.3rem 0.9rem;
background-color: #3b52f6;
color: #fff !important;
border-radius: 2rem;
font-size: 0.9rem;
display: inline-block;
width: auto;
}
.btn.s1 {
background-color: transparent;
border: 1px solid #3b52f6;
color: #3b52f6 !important;
}
.a-hover:hover {
color: #3b52f6;
}
.page-banner {
position: relative;
}
.page-banner img {
width: 100%;
}
.page-banner .text {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.page-banner .text * {
color: #fff;
}
.page-banner .text h2 {
font-size: 2rem;
line-height: 2;
}
.page-banner .text p {
font-size: 0.9rem;
font-weight: 100;
}
.course .main-1 {
padding-bottom: 0.9rem;
padding-top: 0;
}
.course .main-1 .container .link {
display: block;
padding: 2rem 0;
border-bottom: 1px solid #3b52f6;
}
.course .main-1 .container .link:hover h6 {
color: #3b52f6;
}
.course .main-1 .container .link:last-of-type {
border-bottom: none;
}
.course .main-1 .container .link > h6 {
font-size: 0.9rem;
margin-bottom: 0.2rem;
}
.course .main-1 .container .link > p {
color: #999;
margin-bottom: 0.9rem;
}
.course .main-1 .container .link .label {
display: flex;
justify-content: space-between;
align-items: center;
}
.course .main-1 .container .link .label span:first-of-type {
width: 13rem;
}
.course .main-1 .container .link .label span.b {
padding: 0.2rem 0.5rem;
border: 1px solid #3b52f6;
border-radius: 0.2rem;
color: #3b52f6;
text-transform: capitalize;
}
.course .main-1 .container .link .label span.c {
background-color: #3b52f6;
color: #fff !important;
}
.fb {
font-family: "robotoMedium";
}
h4 {
font-family: "robotoMedium";
line-height: 2;
}
.main-title {
margin-bottom: 2rem;
}
.main-title * {
text-align: left;
}
.main-title h2 {
margin-bottom: 0;
line-height: 1.4 !important;
}
.main-title p {
color: #000;
max-width: 100%;
margin-top: 0 !important;
}
.addcart-ico {
position: fixed;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.6rem;
color: #fff;
background-color: #ff204f;
border-radius: 50%;
width: 0.9rem;
height: 0.9rem;
opacity: 0;
z-index: 99;
}
.addcart-ico.move-ico {
animation: move-ico 1s ease-out;
}
@keyframes move-ico {
0% {
opacity: 1;
}
99% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.course-details .f-btn {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 13rem;
height: 3rem;
border: 1px solid #3b52f6;
border-radius: 0.2rem;
color: #fff;
background-color: #3b52f6;
padding: 0.3rem 0.9rem;
}
.course-details .main-1 > div {
padding-bottom: 2rem;
border-bottom: 1px solid #ebebeb;
}
.course-details .main-1 .container {
display: flex;
justify-content: space-between;
margin-bottom: 2rem;
}
.course-details .main-1 .container > .left {
width: 50%;
}
.course-details .main-1 .container > .left h1 {
word-break: break-word;
}
.course-details .main-1 .container > .left h4 {
margin-top: 0.9rem;
margin-bottom: 0.5rem;
}
.course-details .main-1 .container > .left h3 {
margin-bottom: 0.5rem;
}
.course-details .main-1 .container > .left p {
line-height: 3.5;
padding-left: 0.9rem;
position: relative;
}
.course-details .main-1 .container > .left p::before {
content: "";
position: absolute;
top: 50%;
left: 0;
width: 0.3rem;
height: 0.3rem;
border-radius: 50%;
background-color: #000;
transform: translateY(-50%);
}
.course-details .main-1 .container > .left p em {
display: inline-block;
text-align-last: justify;
text-align: justify;
font-weight: bold;
}
.course-details .main-1 .container > .left p span {
color: #666;
margin-left: 0.5rem;
}
.course-details .main-1 .container > .left > div:last-of-type {
margin-top: 2rem;
}
.course-details .main-1 .container > .right {
width: 28.5rem;
padding: 2.4rem;
box-shadow: 0 0 0.3rem #ebebeb;
position: relative;
}
.course-details .main-1 .container > .right::before {
content: "";
position: absolute;
bottom: 100%;
left: 0;
width: 100%;
height: 3rem;
background-color: #3b52f6;
}
.course-details .main-1 .container > .right .info .t {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
flex-direction: column;
height: 14rem;
}
.course-details .main-1 .container > .right .info .t .item {
flex: 1;
margin-bottom: 0.9rem;
}
.course-details .main-1 .container > .right .info .t .item strong {
font-size: 2rem;
color: #3b52f6;
min-height: 2.4rem;
display: inline-block;
}
.course-details .main-1 .container > .right .info .t .item strong em {
font-size: 1.3rem;
font-weight: bold;
}
.course-details .main-1 .container > .right .info .t .item strong span {
font-size: 0.9rem;
font-weight: bold;
}
.course-details .main-1 .container > .right .info .t .item p {
color: #999;
}
.course-details .main-1 .container > .right .info .t .item p.clk {
cursor: pointer;
}
.course-details .main-1 .container > .right .info .t .item p.clk:hover {
color: #3b52f6;
}
.course-details .main-1 .container > .right .time .iconf {
font-size: 0.9rem;
}
.course-details .main-1 .container > .right .time .collect-btn {
color: #3b52f6;
margin-right: 0.5rem;
}
.course-details .main-1 .container > .right .time > p,
.course-details .main-1 .container > .right .time label {
color: #999;
}
.course-details .main-1 .container > .right .time th,
.course-details .main-1 .container > .right .time tr {
text-align: center;
}
.course-details .main-1 .container > .right .time .link {
width: auto !important;
}
.course-details .main-1 .container > .right .time select {
width: 100%;
border-bottom: 1px solid #3b52f6;
font-size: 0.9rem;
color: #3b52f6;
padding: 0.5rem 0;
margin-bottom: 2rem;
}
.course-details .main-1 .container > .right .time .btn-wrap {
display: flex;
justify-content: flex-end;
align-items: center;
}
.course-details .main-1 .container > .right .time .btn-wrap .btn {
text-align: center;
margin: 0 0.2rem;
line-height: initial;
}
.course-details .main-1 .container > .right .time .btn-wrap .btn .icon {
font-size: 0.9rem;
}
.course-details .main-1 .container .right-2 {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.course-details .main-1 .container .right-2 .s-logo {
width: 25rem;
height: 9rem;
background-color: #ccc;
}
.course-details .main-2 {
padding-top: 0;
}
.course-details .main-2 * {
line-height: 2;
}
.course-details .main-2 .f-btn1 {
border-bottom: 1px solid #3b52f6;
}
.course-details .main-2 .f-btn2 {
padding: 0.5rem 0.9rem;
background-color: #3b52f6;
color: #fff !important;
border-radius: 0.4rem;
box-shadow: 0 0.3rem 0.5rem rgba(54, 81, 214, 0.4);
}
.course-details .main-2 .content1 .des {
display: flex;
justify-content: space-between;
align-items: flex-end;
}
.course-details .main-2 .content1 .des * {
line-height: 2;
}
.course-details .main-2 .content1 .des h6 {
font-size: 0.9rem;
}
.course-details .main-2 .content1 .des .d-left {
width: 50%;
}
.course-details .main-2 .content1 .des .d-left > div {
margin-bottom: 2rem;
}
.course-details .main-2 .content1 .des .d-left h4 {
font-family: "robotoMedium";
}
.course-details .main-2 .content1 .des .d-right {
width: 32%;
}
.course-details .main-2 .content1 .des .table {
width: 100%;
padding: 0.9rem;
border: 1px solid #ebebeb;
}
.course-details .main-2 .content1 .des table {
width: 100%;
}
.course-details .main-2 .content1 .des table .tbh {
background-color: #3b52f6;
color: #fff;
}
.course-details .main-2 .content1 .des table th {
line-height: 1.6;
padding: 0.5rem 0;
}
.course-details .main-2 .content1 .des table tbody {
display: none;
}
.course-details .main-2 .content1 .des table tbody:first-of-type {
display: contents;
}
.course-details .main-2 .content1 .des th,
.course-details .main-2 .content1 .des td {
height: 2rem;
line-height: 2rem;
border-color: #3b52f6;
flex: 1;
text-align: center;
}
.course-details .main-2 .content1 .des tbody td {
padding: 0.3rem 0;
}
.course-details .main-2 .content1 .des tbody td,
.course-details .main-2 .content1 .des tbody td * {
color: #666;
}
.course-details .main-2 .content1 .des td:nth-of-type(2) {
cursor: pointer;
}
.course-details .main-2 .content1 .des th {
font-size: 1.2em;
}
.course-details .main-2 .content1 > .f-btn-all {
display: block;
width: 100%;
height: 2rem;
line-height: 2rem;
text-align: center;
border-radius: 0.2rem;
background-color: #e2e2e2;
}
.course-details .main-2 .content1 .txt > div {
display: flex;
margin-bottom: 0.9rem;
}
.course-details .main-2 .content1 .txt > div.col-3 {
width: 33.33%;
}
.course-details .main-2 .content1 .txt strong {
font-size: 0.9rem;
margin-right: 2rem;
flex-shrink: 0;
font-weight: 500;
line-height: 1.8;
}
.course-details .main-2 .content1 .txt p {
flex: 1;
line-height: 1.8;
}
.course-details .main-2 .content1 .f-btn-con {
display: flex;
justify-content: flex-end;
margin-top: 2rem;
}
.course-details .main-2 .content1 .f-btn-con .f-btn {
width: auto;
height: auto;
margin: 0 0.9rem;
border: none;
}
.course-details .main-2 .content1.fees-content .des {
display: block;
}
.course-details .main-2 .content1.fees-content th {
background-color: #3b52f6;
color: #fff;
}
.course-details .main-2 .content1.fees-content tbody tr:nth-of-type(even) {
background-color: #e6ebfe;
}
.course-details .main-2 .content1.fees-content .fees-all {
display: flex;
justify-content: flex-end;
border-top: 1px solid #ebebeb;
padding-top: 0.9rem;
margin-top: 0.9rem;
}
.course-details .main-2 .content1.fees-content .fees-all strong {
font-size: 1.3rem;
font-weight: bold;
margin-left: 0.9rem;
}
.course-details .main-2 .content1.apply-content .txt strong {
font-size: 0.9rem;
font-weight: bold;
padding-left: 0.9rem;
position: relative;
height: 3.4rem;
line-height: 3.4rem;
}
.course-details .main-2 .content1.apply-content .txt strong::before {
content: "";
position: absolute;
top:1.55rem;
left: 0;
width: 0.4rem;
height: 0.4rem;
border-radius: 50%;
background-color: #333;
}
.course-details .main-2 .content1.apply-content .txt p {
color: #999;
}
.course-details .main-2 .content1.contact-content .txt {
flex-wrap: wrap;
position: relative;
}
.course-details .main-2 .content1.contact-content .txt .col-6 {
width: 50%;
}
.course-details .main-2 .content1.contact-content .txt .col-12 {
width: 100%;
}
.course-details .main-2 .content1.contact-content .txt img {
position: absolute;
top: 0;
right: 0;
}
.course-details .main-2 .content2 .con {
display: flex;
justify-content: space-between;
}
.course-details .main-2 .content2 .con .left h5 {
font-size: 1.3rem;
margin-bottom: 0.9rem;
margin-top: 2rem;
}
.course-details .main-2 .content2 .con .left h5:first-of-type {
margin-top: 0;
}
.course-details .main-2 .content2 .con .left p {
line-height: 1.8;
margin-bottom: 0.5rem;
}
.course-details .main-2 .content2 .con .left a {
display: inline-block;
color: #3b52f6;
margin-bottom: 0.9rem;
}
.course-details .main-2 .content2 .con .left a i {
margin-left: 0.9rem;
}
.course-details .main-2 .content2 .con .left .f-btn {
display: flex;
}
.course-details .main-2 .content3 .img-title {
background-origin: border-box;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 10rem;
font-family: "robotoMedium";
text-transform: uppercase;
text-align: center;
line-height: 1.2;
}
.course-details .main-2 .content3 .con .des {
margin-top: 2rem;
}
.course-details .main-2 .content3 .con .des p {
margin-bottom: 0.9rem;
}
.course-details .main-2 .content3 .con .swiper-slide img {
width: 100%;
}
.course-details .main-2 .content3 .swiper-container {
margin: 0;
}
.course-details .main-2 .content3 .des,
.course-details .main-2 .content3 .des * {
line-height: 1.8;
}
.course-details .main-2 .content4 .con {
display: flex;
justify-content: space-between;
align-items: center;
}
.course-details .main-2 .content4 .con > div {
width: 49%;
}
.course-details .main-2 .content4 .text,
.course-details .main-2 .content4 .text * {
line-height: 2;
color: #666;
}
.course-details .main-2 .content4 .text p {
margin-bottom: 2rem;
}
.course-details .main-2 .content4 .img p {
text-align: center;
font-size: 0.9rem;
color: #999;
}
.course-details .main-2 .content4 .more {
text-align: center;
margin-top: 2rem;
}
.course-details .main-2 .content4 .more a {
font-size: 0.9rem;
color: #3b52f6;
text-decoration: underline;
}
.course-details .main-2 .con1,
.course-details .main-2 .con2 {
margin-bottom: 2rem;
}
.course-details .main-2 .con1 h4,
.course-details .main-2 .con2 h4 {
font-size: 2rem;
font-family: "robotoMedium";
}
.course-details .main-2 .con1 strong,
.course-details .main-2 .con2 strong {
font-weight: bold;
}
.course-details .main-2 .con1 p,
.course-details .main-2 .con2 p {
margin-top: 0.9rem;
}
.course-details .main-2 .con1 em,
.course-details .main-2 .con2 em {
font-weight: bold;
font-family: "robotoMedium";
font-size: 0.9rem;
}
.course-details .main-2 .con1 .f-img img,
.course-details .main-2 .con2 .f-img img {
float: right;
max-width: 20.9rem;
}
.course-details .main-2 .con1 .item-list1,
.course-details .main-2 .con2 .item-list1 {
display: flex;
justify-content: space-between;
}
.course-details .main-2 .con1 .item-list1 h6,
.course-details .main-2 .con2 .item-list1 h6 {
text-align: center;
line-height: 1.4;
min-height: 3.2rem;
margin-bottom: 0.9rem;
}
.course-details .main-2 .con1 .item-list1 .item,
.course-details .main-2 .con2 .item-list1 .item {
width: 30%;
position: relative;
border: 1px solid #000;
margin-top: 0.9rem;
padding: 0.9rem;
}
.course-details .main-2 .con1 .item-list1 .item::after,
.course-details .main-2 .con2 .item-list1 .item::after {
content: attr(num);
position: absolute;
bottom: 0;
right: 0.9rem;
font-size: 1.3rem;
color: #3b52f6;
font-family: "robotoMedium";
}
.course-details .main-2 .con1 .item-list2 .item,
.course-details .main-2 .con2 .item-list2 .item {
position: relative;
margin-top: 2rem;
box-shadow: 0rem 0.15rem 0.9rem 0rem rgba(32, 30, 29, 0.35);
padding: 0.9rem;
border-radius: 0.2rem;
overflow: hidden;
}
.course-details .main-2 .con1 .item-list2 .item::before,
.course-details .main-2 .con2 .item-list2 .item::before {
content: "";
position: absolute;
right: calc(100% + 0.9rem);
top: 0;
width: 0.9rem;
height: 0.9rem;
background-color: #3b52f6;
}
.course-details .main-QA {
padding-bottom: 2rem;
}
.course-details .main-QA .container {
box-shadow: none;
padding: 0;
}
.course-details .rec-container {
padding-bottom: 2rem;
}
.course-details .rec-container .container {
padding: 0;
}
.course-details .main-FAQ {
padding: 0;
padding-bottom: 2rem;
}
.course-details .main-FAQ .t {
margin-bottom: 2rem;
}
.course-details .main-FAQ .t h2 {
margin-bottom: 0;
}
.course-details .main-FAQ .container p {
line-height: 1.8;
font-size: 0.9rem;
margin-bottom: 0.9rem;
}
.course-details .main-FAQ .container p:last-of-type {
margin-bottom: 0;
}
@media screen and (max-width: 1024px) {
.course-details .main-2 .content1.contact-content .txt img {
max-width: 16rem;
}
}
@media screen and (max-width: 768px) {
.course .main-1 .container .link .label {
justify-content: flex-start;
}
.course .main-1 .container .link .label span {
width: 25% !important;
font-size: 12px;
text-align: center;
}
.course .main-1 .container .link .label span:nth-child(6) ,
.course .main-1 .container .link .label span:last-child {
display: none;
}
.course .main-1 .container .link .label span.c{
margin-top: 10px;
}
.course .main-1 .container .link .label span:nth-of-type(2) {
margin-bottom: 0.9rem;
}
.course .main-1 .container .link .link > p {
margin-bottom: 0.5rem;
}
.course-details h2 {
font-size: 1.3rem;
margin-bottom: 0.9rem;
}
.course-details .main-1 .container {
display: flex;
flex-direction: column;
}
.course-details .main-1 .container > div {
max-width: 100% !important;
width: 100% !important;
flex: none !important;
}
.course-details .main-1 .container > .right {
margin-top: 4rem;
}
.course-details .main-1 .container > .left > div:last-of-type {
margin-top: 0;
}
.course-details .main-1 .container > .left h3 {
font-size: 1.3rem;
}
.course-details .main-1 .container > .left p {
line-height: 2.8;
}
.course-details .main-1 .container .right-2 {
margin-top: 0.9rem;
}
.course-details .main-2 .content1 .des {
flex-direction: column-reverse;
}
.course-details .main-2 .content1 .des > div {
width: 100% !important;
}
.course-details .main-2 .content1 .des .d-right {
margin-bottom: 0.9rem;
}
.course-details .main-2 .content1 .des .table {
overflow-x: scroll;
}
.course-details .main-2 .content1 .des table {
min-width: 40rem;
}
.course-details .main-2 .content1 .txt strong {
margin-right: 0.5rem;
}
.course-details .main-2 .content1 .txt .col-6 {
width: 100% !important;
}
.course-details .main-2 .content1 .txt > div {
flex-wrap: wrap;
}
.course-details .main-2 .content1 .txt p {
flex: none;
width: auto;
max-width: 100%;
}
.course-details .main-2 .content3 .con .des {
margin-top: 0.9rem;
}
.course-details .main-2 .content4 .con {
flex-direction: column;
}
.course-details .main-2 .content4 .con > div {
width: 100% !important;
}
.course-details .main-2 .content3 .img-title {
font-size: 3rem;
}
.course-details .main-2 .con1 .f-img img,
.course-details .main-2 .con2 .f-img img {
display: none;
}
.course-details .main-2 .con1 .item-list1 {
overflow-x: scroll;
}
.course-details .main-2 .con1 .item-list1 .item,
.course-details .main-2 .con2 .item-list1 .item {
flex-shrink: 0;
width: 15rem;
margin-right: 0.9rem;
}
.course-details .main-2 .content1 .f-btn-con .f-btn {
margin: 0;
}
.course-details .main-2 .content1.contact-content .txt img {
width: 6rem;
}
.course-details .main-2 .content1 .des .d-right img {
display: block;
width: 50%;
margin: 0 auto;
}
}