Код:
/* банк */
.bank-wrapper {
width: 830px;
height: auto;
background: url(https://forumstatic.ru/files/001c/93/f0/16009.jpg) no-repeat top center / 100% 339px,
url(https://forumstatic.ru/files/001c/93/f0/95455.png);
position: relative;
margin: auto;
box-sizing: border-box;
}
.bank-wrapper.shop {
background: url(https://forumstatic.ru/files/001c/97/3a/67080.png) no-repeat top center / 100% 339px,
url(https://forumstatic.ru/files/001c/93/f0/95455.png);}
.bank-wrapper * {
box-sizing: border-box;
}
banktitle {
background: rgba(242, 240, 240, 1);
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.5);
font-family: var(--font-cat-title);
font-weight: 600;
font-style: Italic;
font-size: 12px;
line-height: 137%;
display: block;
position: absolute;
padding: 0 5px;
top: 96px;
left: 474px;
}
.bank-container {
width: 780px;
position: relative;
top: 315px;
left: 50%;
transform: translatex(-50%);
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.5);
height: 471px;
background: rgb(var(--temp-bg));
}
.bank-container.description {
position: relative;
top: 915px;
}
.bank-tabs {
display: flex;
gap: 5px;
justify-content: center;
margin-top: -13px;
}
.bank-container input[type="radio"] {
display: none;
}
.bank-tab {
padding: 12px 20px;
cursor: pointer;
display: block;
height: 25px;
box-sizing: border-box;
padding: 8px 15px;
background: rgba(216, 215, 212, 1);
font-family: var(--font-cat-title);
font-weight: 300;
font-size: 10px;
line-height: 90%;
text-align: center;
text-transform: lowercase;
border-radius: 50px;
transition: .4s ease;
border: 1px solid rgba(177, 183, 200, 1)
}
.bank-content-panel {
display: none;
padding: 20px;
}
#bank-tab1:checked~.bank-content-wrapper #bank-content1 { display: block; }
#bank-tab2:checked~.bank-content-wrapper #bank-content2 { display: block; }
#bank-tab1:checked~.bank-tabs label[for="bank-tab1"],
#bank-tab2:checked~.bank-tabs label[for="bank-tab2"] {
color: rgba(255, 255, 255, 1);
background: rgba(98, 104, 120, 1);
}
/* Для шаблона тотемов всегда показываем контент (так как табов нет) */
.bank-wrapper.totems .bank-content-panel {
display: block;
}
section.bank-wrapper ul {
width: 214px;
padding: 0;
position: absolute;
}
section.bank-wrapper .post-author {
display: flex !important;
z-index: -1 !important;
position: absolute !important;
bottom: 287px;
left: 4px;
}
section.bank-wrapper ul .plaque img {
width: 99px;
height: 45px;
border-radius: 50% 0 5px 0;
border-top-left-radius: 46% 100%;
object-fit: cover;
position: absolute;
right: 0px;
}
section.bank-wrapper ul .plaque l1 {
position: absolute;
text-transform: lowercase;
color: rgba(rgb(var(--soft-gray)), 1);
top: 6px;
z-index: 4;
width: fit-content;
font-family: var(--font-cat-title);
font-weight: 500;
font-style: Italic;
padding: 2px 5px 1px;
font-size: 9px;
background: rgba(242, 240, 240, 1);
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.5);
}
section.bank-wrapper ul .plaque l2 {
position: absolute;
text-transform: lowercase;
color: rgba(rgb(var(--soft-gray)), 1);
top: 22px;
z-index: 4;
width: fit-content;
font-family: var(--font-cat-title);
font-weight: 100;
font-style: normal;
padding: 2px 5px 1px;
font-size: 8px;
background: rgba(242, 240, 240, 1);
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.5);
}
section.bank-wrapper ul .pa-fld3 a {
margin: 5px 0 !important;
padding: 0 !important;
display: block;
text-align: left;
color: rgba(rgb(var(--soft-gray)), 1);
font-size: var(--fs14);
font-family: 'var(--font-cat-title)';
font-style: italic;
font-weight: var(--fw400);
text-transform: lowercase;
}
section.bank-wrapper ul .plaque {
width: 196px;
height: 45px;
margin-bottom: -1px;
padding: 0 !important;
display: flex;
position: relative;
justify-content: flex-start;
}
section.bank-wrapper ul .for-plaque {
position: relative;
z-index: 5;
width: 100%;
box-sizing: border-box;
padding: 0 17px;
bottom: -8px;
}
section.bank-wrapper ul li.pa-fld4 div {
top: -1px;
left: -17px;
}
section.bank-wrapper bankbgs {
width: 486px;
height: 362px;
overflow: auto;
display: flex;
flex-wrap: wrap;
gap: 5px;
position: absolute;
right: 20px;
}
section.bank-wrapper bankbgs img {
width: 88px;
height: 199px;
object-fit: cover;
border-radius: 10px;
cursor: pointer;
}
section.bank-wrapper rightprice,
section.bank-wrapper leftprice {
border: 1px solid rgba(177, 183, 200, 1);
display: inline-block;
position: relative;
width: 362px;
height: 28px;
line-height: 1;
border-radius: 5px;
background: rgba(233, 233, 233, 1);
font-family: Pragmatica;
font-weight: 400;
font-size: 10px;
padding: 8px 35px;
margin: 0 0 10px
}
section.bank-wrapper rightprice::before,
section.bank-wrapper leftprice::before {
content: '';
width: 16px;
height: 16px;
background: url(https://forumstatic.ru/files/001c/93/f0/10124.svg) no-repeat center / contain;
position: absolute;
left: 10px;
top: 5px;
}
section.bank-wrapper rightprice::after,
section.bank-wrapper leftprice::after {
content: attr(data-title);
width: 16px;
height: 16px;
position: absolute;
right: 15px;
top: 7px;
font-family: Pragmatica;
font-weight: 700;
font-style: Bold;
font-size: 10px;
line-height: 100%;
letter-spacing: -7%;
text-align: center;
text-transform: uppercase;
}
section.bank-wrapper leftprice {
margin-right: 11px;
}
section.bank-wrapper rightprice {
background: rgba(98, 104, 120, 1);
color: rgba(255, 255, 255, 1);
}
section.bank-wrapper bankplaques {
width: 486px;
height: 362px;
overflow: auto;
display: flex;
flex-wrap: wrap;
gap: 10px;
position: absolute;
right: 20px;
}
section.bank-wrapper bankplaques img {
width: 99px;
height: 45px;
border-radius: 50% 0 5px 0;
border-top-left-radius: 46% 100%;
object-fit: cover;
right: 0px;
cursor: pointer;
}
section.bank-wrapper banktotems {
width: 738px;
height: 375px;
background: #f4f4f4;
display: block;
}
section.bank-wrapper banktotems>div {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
overflow: auto;
height: 100%;
}
section.bank-wrapper banktotems>div banktotem div {
border: 1px solid rgba(202, 202, 202, 1);
border-radius: 5px;
background: rgba(233, 233, 233, 1);
padding: 3px;
}
section.bank-wrapper banktotems>div banktotem div img {
width: 70px;
height: 70px;
object-fit: cover;
}
section.bank-wrapper banktotems>div banktotem span {
font-family: Pragmatica;
font-weight: 400;
font-size: 10px;
line-height: 130%;
text-transform: lowercase;
text-align: left;
}
section.bank-wrapper banktotems div banktotem {
width: 228px;
height: 92px;
border-radius: 5px;
padding: 8px 9px;
border: 1px solid rgba(184, 184, 184, 1);
display: flex;
align-items: center;
gap: 17px;
}
section.bank-wrapper h5 {
font-family: var(--font-cat-title);
font-weight: 600;
font-size: 11px;
line-height: 90%;
text-transform: lowercase;
color: rgba(44, 42, 43, 1);
border: 1px solid rgba(156, 156, 156, 1);
background: rgba(233, 233, 233, 1);
height: 20px;
width: fit-content;
padding: 5px 11px;
border-radius: 50px;
position: absolute;
top: 70px;
left: 20px;
}







