File: /var/www/zaklada/html/lib/scss/pages/program.scss
.program-single {
background: #02213b;
}
.program-description{
color:#fff;
text-align:center;
}
.title-box {
padding: 27px 0 11px 0;
@media screen and (min-width: 768px) {
padding: 75px 0;
}
h1 {
margin: 0;
margin-bottom: 15px;
color: $color-white;
}
}
.program {
display: flex;
flex-direction: column;
padding-bottom: 70px;
@media screen and (min-width: 1400px) {
flex-direction: row;
}
}
.program-list {
background: #092f50;
padding: 0;
display: flex;
flex-direction: column;
margin-bottom: 40px;
@media screen and (min-width: 768px) {
padding: 40px 50px;
}
@media screen and (min-width: 1400px) {
height: 100%;
width: 886px;
margin-right: 45px;
margin-bottom: 0;
}
&__wrap {
border-bottom: 1px solid #113c62;
cursor: pointer;
margin-bottom: 10px;
}
&__item {
display: flex;
justify-content: flex-start;
align-items: center;
position: relative;
overflow: hidden;
padding-right: 40px;
padding-top: 6px;
padding-bottom: 6px;
@media screen and (min-width: 768px) {
padding-right: 60px;
padding-top: 0;
padding-bottom: 0;
}
}
&__img {
position: absolute;
right: 15px;
top: 50%;
transform: translateY(-50%);
@media screen and (min-width: 768px) {
right: 20px;
}
}
&__number {
font-weight: 700;
color: #113c62;
font-size: rem(120);
line-height: 0.6;
min-width: 69px;
width: 69px;
text-align: center;
margin-right: 15px;
position: relative;
top: 3px;
@media screen and (min-width: 768px) {
min-width: 80px;
width: 80px;
margin-right: 35px;
font-size: rem(145);
}
@media screen and (min-width: 1440px) {
margin-right: 45px;
}
}
&__text {
font-weight: 700;
color: $color-white;
font-size: rem(14);
line-height: 1.5;
margin: 0;
text-transform: uppercase;
@media screen and (min-width: 768px) {
font-size: rem(16);
line-height: 1.5;
}
}
&__content {
display: none;
padding: 35px 50px 20px 20px;
ul {
li {
font-weight: 400;
font-size: rem(18);
margin-bottom: 20px;
}
}
ol {
padding-top: 15px;
padding-bottom: 0;
margin-bottom: 0;
// counter-reset: customCounter;
li {
padding-left: 0;
font-size: rem(18);
margin-bottom: 20px;
// counter-increment: customCounter;
span {
font-weight: 400;
}
&:before {
display: none;
}
}
}
a{
color:#aa874f;
}
blockquote{
padding:0;
}
blockquote p, blockquote{
color:#fff;
}
p {
color:#fff;
font-weight: 400;
font-size: rem(18);
margin-bottom: 15px;
}
}
}
.program-images {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
margin: 0 auto;
@media screen and (min-width: 768px) {
width: 582px;
}
@media screen and (min-width: 1400px) {
width: 582px;
max-height: 592px;
}
&__img-wrap {
position: relative;
flex: 0 50%;
display: flex;
margin-bottom: 12px;
padding-right: 12px;
&:nth-child(even) {
padding-right: 0;
&:before {
width: 100% !important;
}
}
&:nth-child(5) {
margin-bottom: 0;
}
&:last-of-type {
margin-bottom: 0;
}
&:before {
content: "";
position: absolute;
left: 0;
top: 0;
width: calc(100% - 12px);
height: 100%;
background: rgba(0, 0, 0, 0.6);
opacity: 0;
z-index: 2;
transition: all 200ms ease-in-out;
}
&:after {
content: "";
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: #2a5f9e;
background-blend-mode: multiply;
mix-blend-mode: color;
opacity: 0;
z-index: 1;
transition: all 200ms ease-in-out;
}
&:hover {
&:after,
&:before {
opacity: 1;
}
.program-images__icon {
opacity: 1;
z-index: 2;
}
}
}
&__img {
object-fit: cover;
width: 100%;
}
&__icon {
position: absolute;
left: 50%;
top: 50%;
transform: translateY(-50%) translateX(-50%);
opacity: 0;
transition: all 200ms ease-in-out;
}
}