/* ===================================
   26. FOOTER
=================================== */

#footer {
    clear: both;

    background: #3c3c3b;
    color: #fff;
}

#footer section {
    padding-top: 60px;
}

#footer .container {
    padding-inline: 20px;
    padding-bottom: 60px;
}

/* ===================================
   FOOTER COLUMNS
=================================== */

#footer .column {
    margin-bottom: 20px;
}

#footer .column h4 {
    position: relative;

    margin: 0;

    padding: 0;

    font-size: 18px;

    cursor: pointer;

    color: #ccc;
}

#footer .column h4::after {
    content: "+";

    position: absolute;

    right: 0;
    top: 0;
}

#footer .column h4.expanded {
    color: #ff0000;
}

#footer .column h4.expanded::after {
    content: "-";
}

#footer .column h4 + ul {
    display: none;
}

#footer .column h4.expanded + ul {
    display: block;
}

/* ===================================
   FOOTER CONTENT
=================================== */

#footer p,
#footer div {
    font-size: 15px;
}

#footer a {
    color: #fff;
    word-break: break-word;
}

#footer a:hover {
    color: #cc0000;
}

#footer ul {
    list-style: none;

    margin: 0;
    padding: 0;
}

#footer li {
    margin: 0;
}

#footer ul li a {
    display: block;

    padding: 0 15px;

    margin-bottom: 15px;

    font-size: 16px;
}

#footer ul li:first-child a {
    margin-top: 15px;
}

/* ===================================
   ADDRESS
=================================== */

#footer address > div {
    position: relative;

    padding-left: 30px;
    margin-bottom: 10px;
}

#footer address i {
    position: absolute;

    left: 0;
    top: 3px;
}

/* ===================================
   SOCIAL MEDIA
=================================== */

#socialmedia {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin: 0;
    padding: 0;

    list-style: none;
}

#socialmedia a {
    font-size: 20px;
}

#socialmedia a:hover {
    color: #0099cc;
}

/* ===================================
   COPYRIGHT
=================================== */

#footer .copyright {
    padding: 30px 0;

    text-align: center;

    background: #333;
}

#footer .copyright ul li a {
    display: inline-block;

    margin: 0 5px 15px;
}

@media (min-width: 991px) {

    #footer .container {
        display: flex;
        flex-wrap: wrap;
    }

    #footer .column {
        width: 50%;

        padding-inline: 20px;
    }
}

@media (min-width: 1200px) {

    #footer .column {
        width: 25%;
        padding-left: 40px;
    }

    #footer .column:first-child {
        padding-left: 0;
    }

    #footer .column h4 {
        border-bottom: 1px dotted #fff;

        padding-bottom: 20px;
        margin-bottom: 20px;

        cursor: default;
    }

    #footer .column h4::after {
        display: none;
    }

    #footer .column h4 + ul {
        display: block;
    }
}

/* ===================================
   27. FLOATING CONTACT ICONS
=================================== */

.iconPhone,
.iconMail {
    position: fixed;

    right: 30px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: #0099cc;

    transition: .3s ease;
}

.iconPhone {
    top: 45%;
}

.iconMail {
    top: 53%;
}

.iconPhone i,
.iconMail i {
    color: #fff;
    font-size: 20px;
}

.iconPhone:hover,
.iconMail:hover {
    background: #fff;
}

.iconPhone:hover i,
.iconMail:hover i {
    color: #0099cc;
}

/* ===================================
   28. SCROLL INDICATOR
=================================== */

.scrollBarHolder {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    height: 8px;

    background: #d9d9d9;
}

#scrollBar {
    height: 8px;

    background: #ff0000;
}

/* ===================================
   29. LIGHTBOX OVERLAY
=================================== */

#overlay {
    display: none;

    position: fixed;
    inset: 0;

    z-index: 999;

    background: rgba(0,0,0,.7);
}

#overlay .wrap {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    background: #fff;

    border: 8px solid #fff;
    border-radius: 3px;

    animation: lightboxZoom .3s;
}

#overlay img {
    display: block;

    margin-bottom: 10px;
}

#overlay p {
    margin: 0 0 5px;
}

#overlay .close {
    position: absolute;

    top: 10px;
    right: 10px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #000;
    color: #fff;

    cursor: pointer;

    transition: .3s;
}

#overlay .close:hover {
    transform: rotate(180deg);
}

@keyframes lightboxZoom {

    from {
        transform: translate(-50%, -50%) scale(0);
    }

    to {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* ===================================
   30. MEDIA CARD
=================================== */

.media {
    margin-top: 20px;

    padding: 20px;

    background: #fff;
}

.media-wrapper {
    display: flex;
    gap: 20px;
}

.media .image {
    width: 100px;
    height: 100px;

    background-size: cover;
    background-position: center;
}

.media-heading {
    margin-top: 0;
    margin-bottom: 10px;

    font-size: 17px;
}

.media p {
    margin: 16px 0 !important;

    color: #cc0000;

    font-size: 17px;
    font-weight: 700;
}

@media (min-width: 481px) {

    .media .image {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {

    .media-wrapper {
        flex-direction: column;
    }

    .media .btn {
        width: 100%;
    }
}

/* ===================================
   31. PHOTO GALLERY
=================================== */

#photogallery.section {
    background: #ddd;
    text-align: center;
}

#photogallery .container {
    padding-inline: 0;
}

#photogallery ul {
    display: grid;
    gap: 20px;

    list-style: none;

    margin: 0;
    padding: 0;
}

#photogallery li {
    margin: 0;
}

#photogallery li a {
    position: relative;

    display: block;

    overflow: hidden;

    padding: 5px;

    background: #eee;

    border: 1px solid #ccc;

    min-height: 205px;
}

#photogallery img {
    width: 100%;
}

#photogallery li a::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0,0,0,.5);

    transform: scale(0);
    transition: .3s;
}

#photogallery li a::after {
    content: "\f00e";

    font-family: "Font Awesome 5 Free";
    font-weight: 900;

    position: absolute;

    top: 50%;
    left: 50%;

    color: #fff;
    font-size: 30px;

    transform: translate(-50%, -50%) scale(0);

    transition: .3s;
}

#photogallery li a:hover::before {
    transform: scale(1);
}

#photogallery li a:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

@media (min-width: 768px) {

    #photogallery ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {

    #photogallery ul {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===================================
   32. CONTACT / PORTFOLIO SECTIONS
=================================== */

#contact,
#portofolios {
    background: #eee;
}

#contact .container,
#portofolios .container {
    padding: 25px;

    background: #fff;
}

@media (min-width: 1000px) {

    #contact .container,
    #portofolios .container {
        padding: 60px;
    }
}

/* ===================================
   33. RESPONSIVE TABLES
=================================== */

.responsiveTbl {
    overflow-x: auto;
}

.responsiveTbl table {
    width: 100%;
    min-width: 640px;

    text-align: left;
}

tr {
    background: #fff;
}

tr:nth-child(even) {
    background: #f2f2f2;
}

th,
td {
    padding: 20px 15px;

    vertical-align: middle;
}

th {
    font-size: 22px;

    background: #ddd;

    color: #000;
}

th h1 {
    margin: 0;
    font-size: 26px;
}

td.prices {
    width: 90px;
}

/* ===================================
   TABLE BUTTONS
=================================== */

.responsiveTbl .btn,
.responsiveTbl .price {
    display: block;

    min-width: 100px;

    text-align: center;

    padding: 11px;

    border-radius: 999px;
}

.responsiveTbl .price {
    background: #ff0000;
    color: #fff;
}

.responsiveTbl .btn {
    border: 1px solid #ff0000;

    color: #ff0000;

    background: #fff;
}

.responsiveTbl .btn:hover {
    background: #0080d6;
    color: #fff;
}

.responsiveTbl td.align-left h4 {
    padding: 15px 25px;

    background: #333;
    color: #fff;

    border-radius: 999px;

    text-align: center;

    font-size: 17px;
}

@media (max-width: 767px) {

    td.prices {
        display: none;
    }

    .responsiveTbl .btn,
    .responsiveTbl .price {
        width: 100%;
    }
}