.container1 {
width: 100%;
display: flex;
justify-content: center;
align-content: center;
align-items: flex-start;
margin: 0 auto;
flex-direction: row;
flex-wrap: nowrap;
}
.border {
height: 310px;
width: calc(100% - 10px);
background: #2a32415e;
border-radius: 10px;
transition: border 1s;
position: relative;
box-shadow: 0px 0px 10px 0px #2a3241;
}
.border:hover {
border: 1px solid #fff;
}
.card {
height: 320px;
width: calc(17% - 10px);
min-width: 240px;
background: #808080;
border-radius: 10px;
transition: background 0.8s;
overflow: hidden;
background: #000;
display: flex;
justify-content: center;
align-items: center;
position: relative;
margin-bottom: 10px;
}
.card:hover h3 {
opacity: 1;
}
.card:hover .fa {
opacity: 1;
}
.card {
background-size: 300px;
}
.card:hover {
background-size: 450px !important;
}
.card:hover h3 {
opacity: 1;
}
.sozvezdia {
height: 160px;
width: calc(9.5% - 10px);
min-width: 120px;
background-size: 155px !important;
}
.sozvezdia.no_zodiac a {
width:100%;
height: 144px;
background: #0c348c40;
box-shadow: 0px 0px 10px 5px #0c348c40;
}
.sozvezdia.zodiac a {
width:100%;
height: 184px;
background: #0c348c40;
box-shadow: 0px 0px 10px 5px #0c348c40;
}
.card.sozvezdia {
margin:1px;
}
.sozvezdia:hover {
background-size: 255px !important;
}
.sozvezdia .border {
height: 150px;
}
.zodiac {
height: 200px;
width: calc(16.6% - 10px);
min-width: 120px;
background-size: 225px !important;
}
.zodiac .border {
height:190px;
}
.fa {
opacity: 0;
transition: opacity 1s;
width: 100%;
padding: 3px 0px;
display: flex;
justify-content: space-between;
align-items: center;
align-content: center;
flex-direction: row;
flex-wrap: wrap;
}
.icons {
position: absolute;
fill: #fff;
color: #fff;
top: 65px;
height: 75%;
overflow-y: scroll;
width: 100%;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: space-around;
}
.icons::-webkit-scrollbar {
width: 5px;
direction:ltr;
}
.icons::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 5px #3c3944a1;
height:80%;
margin:auto;
border-radius:5px;
}
.icons::-webkit-scrollbar-thumb {
background-color: #0041ff47;
border-radius:2px;
outline: 1px solid #0041ff47;
cursor:pointer;
border-radius:5px
} 
.icons span:first-child {
font-size: 14px;
font-weight:600;
}
.icons span {
font-size: 12px;
float: right;
background-color: #ffffff00;
box-shadow: none;
}
.fa span {
text-align: center;
width: auto;
}
.alpha_text {
width:50%;
}
.table-item-option {
color: #0c348c;
}
.text-block__p {
width: 250px;
min-height: 150px;
text-align: justify;
padding: 10px;
font-size: 15px;
margin: 5px;
display: inline-block;
background: #ffffffc4;
border-radius: 3px;
position: relative;
color: #0c348c;
box-shadow: 0px 0px 10px 0px #80808029;
border: 1px solid #80808029;
}
.text-block__p:after {
position: absolute;
content: "";
width: calc(1% - 12px);
height: calc(100% - 16px);
top: 7px;
left: 7px;
background: #ffffff00;
border-radius: 5px;
box-shadow: 0px 0px 0px 7px #414fc412;
border: 1px solid #80808029;
}
.text-block__p_max {
width: calc(100% - 330px);
text-align: justify;
padding: 10px;
font-size: 17px;
margin: 5px;
display: inline-block;
background: #ffffffc4;
border-radius: 5px;
position:relative;
color: #2f4473;
border: 1px solid #ffffff;
box-shadow: 1px 1px 3px 1px #80808061;
}
.text-block__p_max:after {
position:absolute;
content:"";
width: calc(1% - 12px);
height: calc(100% - 12px);
top: 5px;
left: 5px;
background: #ffffff00;
border-radius: 5px;
box-shadow: 0px 0px 5px 10px #414fc412;
border: 1px solid #80808029;
}
.text-block__p_max span {
font-weight: 600;
}
.text-block__p_max p {
padding-left:15px;
}
.text-block__p p {
font-size: 18px;
text-decoration: underline;
}
.center {
margin: 0;
position: absolute;
top: calc(50% + 10px);
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%);
}
.cardcard:after {
content:"";
width:calc(100% - 2px);
height:calc(100% - 2px);
left:0px;
top:0px;
box-shadow: 0px 0px 10px 10px #8a8a8a69;
border: 1px solid #26348342;
background:#00000063;
border-radius:180px;
position:absolute;
z-index: 15;
}
@keyframes pulse {
0% {
opacity: 1;
}
50% {
transform: scale(1.05);
opacity: 1;
}
}
.cardcard {
background-size: 175px;
width: 175px;
height: 175px;
min-width: 175px;
border-radius: 180px;
position: relative;
margin: 20px;
z-index: 61;
animation: animation-name;
animation: pulse 1000ms cubic-bezier(0.9, 0.7, 0.5, 0.9) infinite;
animation-duration: 4s;
}
.name-obj {
margin-top: 70px;
width:100%;
text-align: center;
z-index: 18;
position: absolute;    
}
.text-block {
margin-top: calc(var(--gallery-gap)* 0.5);
}
@media (max-width: 1024px) {
.alpha_text {
width:100%;
margin-bottom:20px;
}
.text-block__p {
width:100%;
}
.container1 {
flex-wrap: wrap;
}
.text-block__p_max {
width: calc(100% - 30px);
}
}.table-head, .table-sell, .table-name {
display: flex;
align-items: center;
flex-wrap: nowrap;
overflow:hidden;
border: 1px solid #ffffff;
box-shadow: 0px 0px 10px 1px #80808029;
background: #ffffff80;
justify-content: space-between;
align-content: space-between;
margin-bottom: 1px;
border-radius: 3px;
}
.opinion:hover:before {
content: attr(data-opinion);
width: 80%;
min-width: 280px;
height: auto;
position: absolute;
z-index: 1;
padding: 5px;
top: 20px;
text-align: justify;
font-size: 16px;
color: black;
left: -5%;
background: #fff;
transition: .2s all;
margin: 10px 0;
border: 7px solid white;
box-shadow: 0px 0px 10px 2px #0c348c59;
}
.opinion:hover:after {
content: "";
position: absolute;
top: 24px;
left: 20%;
width: 0;
height: 0;
border-left: 12.5px solid transparent;
border-right: 12.5px solid transparent;
border-bottom: 6.25px solid #0c348c;
-webkit-transition
}
.opinion {
position:relative;
}
.table-head div:first-child, .table-sell div:first-child {
text-align:left;
} 
.table-head span {
width:33%;
text-align: center;
}
.table-head div, .table-sell div {
width:calc(100% / 6);
text-align:center;
font-size: 13px;
}
.table-sell {
cursor: pointer;
padding: 3px 10px;
transition: 0.5s all;
position: relative;
overflow: hidden;
width: max-content;
min-width: calc(100% - 22px);
}
.table-head {
margin-bottom: 4px;
box-shadow: none;
padding: 10px;
width: max-content;
min-width: calc(100% - 22px);
box-shadow: 0px 0px 10px 0px #c9c9c9;
background: #0c348c;
color: white;
border: 1px solid #0c348c;
}
.table {
width: 100%;
}
.table-name {
padding: 3px;
font-size: 16px;
margin-bottom: 2px;
box-shadow: 0px 0px 10px 0px #c9c9c9;
background: #0c348c;
color: white;
border: 1px solid #0c348c;
}
.table-item {
height: 0px;
transition: 0.5s all;
overflow: hidden;
display: flex;
align-items: center;
position: relative;
justify-content: space-between;
}
.active {
height: 650px;
border: 1px solid #80808029;
margin-bottom: 15px;
border-radius: 3px;
box-shadow: 0px 0px 10px 0px #80808029;
}
.active:hover {
border: 1px solid #0c348c7d;
}
.open {
padding: 6px 10px;
background: #0c348c8a;
color: white;
border: 1px solid #0c348c;
}
.open div {
display:none;
}
.open div:first-child {
display:block;
}
.open:hover {
background: #0c348c !important;   
}
.table-sell:hover {
border:1px solid #0c348c7d;
box-shadow:0px 3px 12px 0px white;   
background: #0041ff17; 
}
.name-option {
border-left: 1px solid #bcbcbc;
}
.name-option:hover:after { position:absolute;
width: calc(100% - 6px);
text-align: center;
height:30px;
left: 0px;
color:#0c348c;    
padding:3px;
bottom: 30px;
background: #ffffff00;
border-bottom:1px solid #0c348c;
box-shadow:0px 0px 2px 0px #0c348c;
border-radius:5px;
}
.container1 .table-item-options {
flex-direction: column;
}
.table-item-options {
font-size: 12px;
display: flex;
justify-content: space-evenly;
flex-wrap: wrap;
align-items: flex-start;
height: inherit;
overflow-y: auto;
min-width:300px;
}
.table-item-options::-webkit-scrollbar {
width: 0px;
direction: ltr;
}
.table-item-options > div{
width: calc(100% - 30px);
}
.table-item-option span:nth-child(even) {
font-weight:600;
}
.table-item-options > div > div:first-child {
font-size:14px;
text-decoration:underline;  
}
.table-item-options > div > div p {
text-align: center;
}
.table-item-option {
display: flex;
justify-content: space-around;
align-items: center;
margin-bottom: 10px;
height: auto;
position: relative;
border-radius: 3px;
}
.table-item-option span {
width: 30%;
min-width: 110px;
text-align: center;
}
.alpha:before {
position:absolute;
content:"";
background:url(//par-all-ax.ru/wp-content/themes/twentytwentyone/img/alpha.png);
width: 15px;
height: 15px;
left: -25px;
background-size: 15px;
border-radius: 20px;
}
.alpha {
overflow:initial;
}
.table_text_zvezda h3 {
color: var(--color-header);
padding-top: 0px;
opacity: 1;
transition: opacity 1s;
position: absolute;
width: calc(100% - 20px);
left: 0px;
height: calc(100% - 4px);
top: 0px;
}
.table-sell:hover:after {
content:attr(data-text);
position:absolute;
width:320px;
height:20px;
background: #0c348c00;
top:3px;
font-size:13px;
}
.table-sell.open:hover:after {
content:attr(data-text);
position:absolute;
width:320px;
height:20px;
background: #0c348c00;
top:6px;
font-size:13px;
}
.table_text_zvezda a {
position: relative;
width: 100%;
display: inline-block;
height: 100%;
color: var(--color-header);
}
.colnce:before {
position:absolute;
content:"";
background:url(//par-all-ax.ru/wp-content/themes/twentytwentyone/img/sun.png);
width: 13px;
height: 13px;
left: -10px;
top: 6px;
background-size: 13px;
border-radius: 20px;
}
.colnce:before:hover {
}
.width1 span:first-child {
background:#00800054;
}
.width1 span:last-child {
background:#ff00004a;
}
.width2 span:first-child {
background:#ff00004a;
}
.width2 span:last-child {
background:#00800054;
}
.colnce:after {
content:attr(data-change);
width: 70%;
height: calc(100% - 10px);
opacity: 0;
padding: 5px 0px;
left:5px;
top:0px;
background: #ffffff;
color: black;
border: 1px solid #80808029;
position:absolute;
transition: 0.5s all;
overflow: hidden;
border-radius:3px;
text-align: center;
}
.colnce:hover:after {
content:attr(data-change);
width:calc(100% - 6px);
border:1px solid #0041ff17;
position:absolute;
opacity: 1;   
}
@media (max-width: 1020px) {
.table-item {
display:flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
}
.table-sell, .table-head {
width: auto;
}
.table-head div:first-child, .table-sell div:first-child {
width: 50%;
}
.table-head div, .table-sell div {
width: 50%;
min-width: 50%;
}
.active {
height: auto;
min-height: 650px;
}
.table-item-option span {
min-width: 90px;
}   
.colnce:before {
left: -12px;
top: 6px;
}
.alpha {
overflow:hidden;
}
.table-item-options {
width: 100%;
min-width: 100%;
}
.table-name {
overflow-x: scroll;
}
}
.table-name a {
text-decoration:none;
padding: 5px 40px;
font-size: 10px;
}
.table-name > :not(:last-child) {
border-right: 1px solid #ffffff;
}
.table-name span {
text-decoration:none;
padding: 2px 40px;
font-size: 14px;
font-weight: 600;
border-radius:0px;
}
.table-item .table-item-option:after {
position: absolute;
content: "";
width: calc(100% - 12px);
left: 6px;
bottom: 0;
height: calc(0% + 1px);
border-bottom: 1px dotted #4944aa4d;
}
.table-item .table-item-option:last-child:after {
position:absolute;
content:"";
width:80%;
left:10%;
height:100%;
border-bottom: 0px dotted #4944aa4d;
}