#sinlge_page_page {
    flex: 1;

    #primary {
        margin-top: 0;
        border-top: 1px solid rgba(4, 31, 51, 0.1);
    }

    h1.entry-title {
        margin-left: 0;
    }

    article {
        margin-left: 96px;
    }

    .wp-block-kadence-tabs {
        .kt-tabs-title-list {
            .kt-tab-title {
                border: none;
            }

            .kt-tab-title-active {
                border-bottom: 3px solid #4846DB;

                span.kt-title-text {
                    color: #4846DB;
                }
            }
        }

        .wp-block-kadence-tab {
            border-right: none;
            border-bottom: none;
            border-left: none;
        }
    }

    table.has-fixed-layout.without_thead {
        border: none;

        tbody {
            tr:first-child {
                border-bottom: 1px solid rgba(4, 31, 51, 0.1);
            }

            tr {
                td {
                    border: none;
                }
            }
        }
    }

    table.has-fixed-layout.with_thead {
        border: none;

        thead {
            border: none;

            tr {
                border-bottom: 1px solid rgba(4, 31, 51, 0.1);

                th {
                    border: none;
                    text-align: left;
                }
            }
        }

        tbody {
            tr {
                td {
                    border: none;
                }
            }
        }
    }

    .page-post-gallery {
        max-width: 736px;
        margin-left: 0 !important;

        .item {
            width: 736px;
            max-width: 736px;
            overflow: hidden;

            img {
                width: 736px;
                box-shadow: none;
            }
        }
    }

    .page-count-for {
        font-size: 14px;
        margin-bottom: 40px;
        margin-top: 10px;
    }

    .slick-prev {
        border-radius: 0;
        box-shadow: none;
        top: 50%;
        position: absolute;
        z-index: 1;
        margin-left: 50px;
  
        &::before {
          content: '' !important;
          background-image: url(../icons/slider-button-2-page.svg);
          display: inline-block; 
          width: 60px;
          height: 60px; 
          background-size: cover;
          background-repeat: no-repeat;
          opacity: 0.9;
        }
  
        &:hover {
          opacity: 0.8;
        }
  
        &:focus {
          opacity: 0.8;
        }
      }
  
      .slick-next {
        border-radius: 0;
        box-shadow: none;
        position: absolute;
        top: 50%;
        z-index: 1;
        margin-right: 85px;
  
        &::before {
          content: '' !important;
          background-image: url(../icons/slider-button-1-page.svg);
          display: inline-block; 
          width: 60px;
          height: 60px; 
          background-size: cover;
          background-repeat: no-repeat;
          opacity: 0.9;
        }
  
        &:hover {
          opacity: 0.8;
        }
  
        &:focus {
          opacity: 0.8;
        }
      }
  
      .slick-next.slick-disabled {
        &::before {
          background-image: url(../icons/slider-button-1-gray.svg);
          opacity: 1;
        }
  
        &:hover {
          opacity: 1;
        }
  
        &:focus {
          opacity: 1;
        }
      }
  
      .slick-disabled {
        &::before {
          background-image: url(../icons/slider-button-2-grey.svg);
          opacity: 1;
        }
  
        &:hover {
          opacity: 1;
        }
  
        &:focus {
          opacity: 1;
        }
      }

    .wp-block-file {
        a:nth-of-type(2) {
            display: none;
        }

        a {
            text-decoration: none;
            font-size: 14px;
            margin-left: 25px;
            color: #000;
            margin-bottom: 16px;

            &::before {
                content: "";
                position: absolute;
                width: 18px;
                height: 19px;
                margin-left: -25px;
                background: url('../icons/file.svg') no-repeat center center;
                background-size: contain;
            }

            &:hover {
                text-decoration: underline;
            }
        }
    }
}

.page_menu_side {
    border-top: 1px solid rgba(4, 31, 51, 0.1);
    padding-top: 155px;
    width: 300px;
    margin-left: 20px;

    .list-item {
        width: 256px;

        .show_arrow {
            &::after {
                content: "";
                display: inline-block; 
                width: 12px;
                height: 7px; 
                background-image: url(../icons/arrow_down_menu.svg);
                background-size: cover;
                background-repeat: no-repeat;
                margin-right: 10px; 
                display: inline-block;
                position: absolute;
                right: 0;
                top: 50%;
                transition: transform 0.3s ease;
            }
        }

        .show_arrow.rotated::after {
            transform: translateY(-50%) rotate(180deg); /* Rotate the arrow by 180 degrees */
          }

        .parent-div {
            padding: 12px;
            border-bottom: 2px solid rgba(4, 31, 51, 0.1);
            color: #000;
            text-decoration: none;
            font-size: 16px;
            width: 256px;
            position: relative; /* Make the div a relatively positioned container */
            display: inline-block;

            &:hover {
                text-decoration: underline;
            }

            a {
                color: #000;
                text-decoration: none;
                font-size: 16px;

                &:hover {
                    text-decoration: underline;
                }
            }
        }

        .child-divs {
            display: none;
        }

        .child-div:first-child {
            padding: 12px;
            margin-left: 20px;

            a {
                color: #000;
                text-decoration: none;

                &:hover {
                    text-decoration: underline;
                }
            }
        }

        .child-div {
            padding: 0 12px 12px 12px;
            margin-left: 20px;

            a {
                color: #000;
                text-decoration: none;

                &:hover {
                    text-decoration: underline;
                }
            }
        }
    }
}

.footer-move-up {
    margin-right: 96px;
}

@media (max-width: 1209px) {
    .page_menu_side {
        display: none;
    }

    #main {
        margin-right: 96px;
    }

    .site-content .ast-container {
        display: block;
    }
}

@media (max-width: 768px) { 
    #main {
        margin-right: 0;
    }

    .page-share-buttons {
        margin-left: 0 !important;
    }

    #sinlge_page_page {
        article {
            margin-left: 0;
        }
    }

    .footer-move-up {
        margin-right: 0;
    }
}
