@import 'init'; img { max-width: 100%; } @banner-bg: rgba(0,0,0,0.4); @media only screen and (min-width: 1600px) { .container { max-width: 1460px; } } @media only screen and (min-width: 992px) and (max-width: 1599px) { .container { max-width: 100%; } } /* fixed-top */ @header-height: 110px; @media only screen and (min-width: 1921px) { html, header { max-width: 1920px; margin: 0 auto; } } body { padding-top: @header-height; .f-mont; color: @black; line-height: 1.2; font-size: 1em; } a { color: @black; &:hover { color: @yellow; } } .sub-title, .title { .f-teko; text-transform: uppercase; line-height: 1; } .title { font-weight: 700; } .btn { .f-teko; font-weight: 400; font-size: 1.5em; color: @black; background-color: @yellow; text-transform: uppercase; letter-spacing: 3px; padding: 8px 16px; border-radius: unset; cursor: pointer; &:hover { color: @yellow; background-color: @black; } } /*.btn-shadow-white { -webkit-box-shadow: 0px 20px 0px -10px @black, 0px -20px 0px -10px @black, 20px 0px 0px -10px @black, -20px 0px 0px -10px @black, 0px 0px 0px 10px white, 5px 5px 15px 5px rgba(0,0,0,0); box-shadow: 0px 20px 0px -10px @black, 0px -20px 0px -10px @black, 20px 0px 0px -10px @black, -20px 0px 0px -10px @black, 0px 0px 0px 10px white, 5px 5px 15px 5px rgba(0,0,0,0); } .btn-shadow { -webkit-box-shadow: 0px 20px 0px -10px white, 0px -20px 0px -10px white, 20px 0px 0px -10px white, -20px 0px 0px -10px white, 0px 0px 0px 10px @black, 5px 5px 15px 5px rgba(0,0,0,0); box-shadow: 0px 20px 0px -10px white, 0px -20px 0px -10px white, 20px 0px 0px -10px white, -20px 0px 0px -10px @black, 0px 0px 0px 10px @black, 5px 5px 15px 5px rgba(0,0,0,0); } */ .btn-shadow-white { border-style: solid; border-width: 0.5em; /* // or 8px*/ /* // special characters in data URIs have to be encoded, see the compiled CSS in the codepen below*/ /* // (also do not wrap the lines, that's just for better uderstanding)*/ border-image-source: url('data:image/svg+xml;charset=utf8,'); border-image-slice: 50%; /* // slice the image to 4 parts through the middle*/ border-image-width: 2.5em; /* // width/height of the corners (or 40px)*/ } /* slider */ .slick-arrow:before { font-family: 'FontAwesome'; font-size: 37px; color: rgba(0,0,0,0.5); } .slick-prev { z-index: 1; left: -35px; &::before { content: '\f053'; } } .slick-next { right: -26px; &::before { content: '\f054'; } } .slick-dots { bottom: -60px; li { position: relative; width: 26px; height: 26px; cursor: pointer; margin-left: 5px; margin-bottom: 12px; button { font-size: 0; line-height: 0; display: block; cursor: pointer; color: transparent; border: 0; outline: none; background: transparent; &:hover, &:focus { outline: none; } &::before { font-family: 'FontAwesome'; font-size: 26px; line-height: 26px; position: absolute; top: 0; left: 0; width: 20px; height: 20px; content: '\f10c'; text-align: center; color: white; opacity: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } } &.slick-active button:before { content: '\f111'; color: white; opacity: 1; } } } @media only screen and (max-width:767px) { .slick-dots li { width: 16px; height: 16px; button { &::before { font-size: 16px; line-height: 16px; } } } } /* banner */ #banners { position: relative; .slick-prev:before, .slick-next:before { font-size: 50px; color: rgba(255,255,255); } .slick-prev { left: 28px; } .slick-next { right: 44px; } .slick-dots { bottom: 0; } .slick-dotted.slick-slider { margin-bottom: 0; } } .overlay-gradient(@deg, @percent) { background: linear-gradient(@deg, #0008 @percent, transparent @percent); } .banner { background-size: cover; background-position: center; display: flex !important; align-items: center; justify-content: center; height: 700px; position: relative; .banner-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; .overlay-gradient(to right, 50%); .banner-logo { position: absolute; top: 50%; transform: translateY(-50%); left: 50%; width: 30%; } } .container { padding: 16px 32px; z-index: 1; &.banner-bg { background-color: @banner-bg; } } .sub-title { font-size: 3em; color: white; } .title { font-size: 6em; color: @yellow; line-height: 0.8; margin-bottom: 1rem; } .content { font-size: 1.4em; color: white; max-width: 29%; margin-bottom: 2rem; /* line-height: 1.2;*/ } .btn { width: max-content; } } @media only screen and (min-width: 1600px) { .banner { .banner-overlay { .overlay-gradient(80deg, 35.5%); } } } @media only screen and (max-width: 1599px) { #banners { .slick-prev { left: 15px; } .slick-next { right: 31px; } } .banner { .container { padding-left: 56px; } .content { max-width: 21%; font-size: 1.2em; } } } @media only screen and (min-width: 1200px) and (max-width: 1599px) { .banner { .banner-overlay { .overlay-gradient(80deg, 25.2%); } } } @media only screen and (min-width: 992px) and (max-width: 1199px) { .banner { .container { padding-left: 68px; } .banner-overlay { .overlay-gradient(80deg, 27.1%); } } } @media only screen and (max-width:1599px) { .banner { height: 500px; .banner-overlay { .banner-logo { /* width: 400px;*/ } } .sub-title { font-size: 2.4em; } .title { font-size: 3.7em; } } } @media only screen and (max-width:1199px) { .banner { height: 440px; .banner-overlay { .banner-logo { /* width: 300px;*/ } } .sub-title { font-size: 2em; } .title { font-size: 3em; margin-bottom: 8px; } .content { max-width: 22%; font-size: 1.1em; margin-bottom: 1rem; } /*.btn { padding: 0; }*/ } } @media only screen and (max-width:991px) { body { padding-top: 102px; } .banner { height: 380px; .container { padding-left: 32px; } .banner-overlay { .banner-logo { left: 60%; } } .content { font-size: 1em; max-width: 44%; } } } @media only screen and (max-width:575px) { body { padding-top: 62px; } .banner { height: 300px; .banner-overlay { .overlay-gradient(to right, 100%); .banner-logo { opacity: .2; } } .container { padding: 8px 16px; } .sub-title { font-size: 1.4em; } .title { font-size: 2.7em; } .title, .content p { margin-bottom: 0.5rem; } .content { font-size: 1em; max-width: 100%; } } .btn { font-size: 1em; padding: 3px 8px 0; } .slick-arrow:before { font-size: 22px; } .slick-dots li { margin-bottom: 5px; } } /* section */ section { padding: 50px 0; } .section-header { position: relative; margin-bottom: 24px; .btn { position: absolute; top: 28px; right: 15px; } } .sub-title { font-size: 2.25em; } .title { font-size: 3.75em; } @media only screen and (max-width: 1599px) { .section-header { .btn { top: 18px; } } .sub-title { font-size: 1.7em; } .title { font-size: 2.7em; } } @media only screen and (max-width: 991px) { .section-header { .btn { top: 4px; } } .sub-title { font-size: 1.3em; } .title { font-size: 2.2em; } } @media only screen and (max-width: 575px) { .section-header { .btn { top: -32px; right: 0; } } } @media only screen and (max-width:1599px) { .btn { font-size: 1.3em; } } @media only screen and (max-width:575px) { section { padding: 32px 0; } .section-header { margin-bottom: 8px; } .btn { font-size: 1.2em; } } /* paginator */ .paginate-clean { margin-top: 1rem; table { margin: 0 auto; } .left-options, .right-options { display: none; } .links { display: block; text-align: center; /* background-color: @black;*/ /* padding: 8px 16px;*/ border-radius: 15px; span, a { margin-left: 8px; margin-right: 8px; font-size: 18px; } .curLink { color: @yellow; border-bottom: 1px solid @yellow; font-weight: 700; } a { color: @black; text-decoration: none; &:hover { font-weight: 700; } } .prevLink, .nextLink { position: relative; &::after { position: absolute; font-family: 'FontAwesome'; font-weight: 700; width:30px; height:30px; color: @black; } } .prevLink::after { content: '\f137'; left: -20px; } .nextLink::after { content: '\f138'; right: -20px; } } } /* schedule */ .w-(@width) { width: @width*1px; padding-right: 15px; padding-left: 15px; } /*.w-66 { padding-right: 0; padding-left: 0; }*/ #main-schedule { background: linear-gradient(80deg, @grey 56%, transparent 56%), url('/images/schedule-9.jpg') center right no-repeat; .month { } /* .w-66, .w-80, .w-120, .w-other, */ .w-66 { .w-(66); background-size: cover; } .w-90 { .w-(90); } .w-120 { .w-(120); } .w-other { width: ~'calc(100% - 66px - 90px - 120px - 120px)'; padding-right: 15px; padding-left: 15px; } .table-head, .table-body { display: flex; flex-wrap: wrap; } .table-head { padding: 8px 0; /* set width to be same with .table-body with scroll */ div { font-size: 1.15em; } .col-lg-2{ padding-left: 0; } } .tbody-wrapper { height: 222px; overflow-y: scroll; text-transform: uppercase; } .table-body { margin-bottom: 8px; background-color: white; div { .f-teko; font-size: 1.5em; min-height: 66px; } div:not(:first-of-type) { padding-top: 21px; padding-bottom: 21px; } } .table-footer { align-items: flex-start; margin-top: 16px; .content { font-size: 1.15em; } .btn { width: 480px; } } @media only screen and (min-width:992px) { .table-head { padding-right: 17px; } } } #schedule-months { position: relative; margin-bottom: 60px; display: flex; &::after { content: ''; position: absolute; bottom: 8px; left: 0; right: 0; height: 8px; background-color: @d-grey; } .box-container { position: relative; height: 60px; text-align: center; .month { .f-teko; font-size: 1.5em; text-transform: uppercase; } .box { content: ''; position: absolute; width: 24px; height: 24px; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 1; background-color: @black; &.yellow { background-color: @yellow; } } } } #schedule-months, .tbody-wrapper { &.mobile { display: none; } } @media only screen and (max-width:1599px) { #main-schedule .table-body div, #schedule-months .box-container .month { font-size: 1.3em; } } @media only screen and (max-width: 1199px) { #main-schedule { background: linear-gradient(80deg, @grey 59%, transparent 59%), url('/images/schedule-9.jpg') center right no-repeat; } } @media only screen and (max-width: 991px) { #main-schedule { background: @grey; } } @media only screen and (max-width:575px) { .w-(@width) { width: @width*1px; padding-right: 4px; padding-left: 4px; height: 45px; } #main-schedule .table-body div, #schedule-months .box-container .month { font-size: 1.2em; } #main-schedule { .w-66 { .w-(45); } .w-90 { .w-(54); } .w-120 { .w-(42); } .w-other { width: ~'calc(100% - 45px - 54px - 42px - 42px)'; padding-right: 4px; padding-left: 4px; height: 45px; } .table-body { div { min-height: 45px; } div:not(:first-of-type) { padding-top: 3px; padding-bottom: 3px; } } .table-footer { margin-top: 0; flex-direction: column; .content { font-size: 1em; width: 100%; margin-bottom: 16px; } .btn { width: auto; } } } #schedule-months.mobile { display: flex; margin-bottom: 32px; .box-container .box { width: 16px; height: 16px; } &::after { bottom: 6px; height: 5px; } } #schedule-months, #main-schedule .table-head, .tbody-wrapper { &.desktop { display: none; } } #schedule-months.mobile { display: flex; } .tbody-wrapper.mobile { display: block; } #schedule-months { .box-container { height: 42px; } } }