/*
Theme Name: Hapco
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

table.download-table {
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}

table.download-table caption {
    font-size: 1.5em;
    margin: 0.5em 0 0.75em;
}

table.download-table tr {
    background: #fff;
}

table.download-table th,
table.download-table td {
    padding: 14px;
    text-align: center;
    border: none;
}

table.download-table th {
    font-size: 18px;
    text-transform: inherit;
    color: #000;
    background: #f5f5f5;
}

table.download-table tbody tr td {
    font-size: 16px;
    color: #000;
    font-weight: 500;
}

table.download-table tbody tr td a {
    color: #0099f2;
}

table.download-table tbody tr td:first-child {
    text-align: left;
}

.pdown-2 {
    padding: 30px 0;
}

@media screen and (max-width: 600px) {
    table.download-table {
        border: 0;
    }

    table.download-table caption {
        font-size: 1.3em;
    }

    table.download-table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table.download-table tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: 0.625em;
    }

    table.download-table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: 0.8em;
        text-align: right;
    }

    table.download-table td::before {
        /*
      * aria-label has no advantage, it won't be read inside a table.download-table
      content: attr(aria-label);
      */
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    table.download-table td:last-child {
        border-bottom: 0;
    }

    table.download-table tbody tr td:first-child {
        text-align: right;
    }
}

.pdown-1 input {
    height: 50px;
    border-radius: 8px !important;
    background: #f5f5f5 !important;
}

.pdown-1 .button i {
    color: #000;
}

.pdown-1 input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: #000;
}
.pdown-1 input::-moz-placeholder { /* Firefox 19+ */
	color: #000;
}
.pdown-1 input:-ms-input-placeholder { /* IE 10+ */
	color: #000;
}
.pdown-1 input:-moz-placeholder { /* Firefox 18- */
	color: #000;
}

.pdown-2 .tabbed-content ul li a {
    font-size: 18px;
    border-radius: 0;
    color: #000;
    margin: 0;
    width: 120px;
    justify-content: center;
    background: none;
}

.pdown-2 .tabbed-content ul li.active a:after {
    content: '';
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0d99ff, #6abc23);
}

.pdown-2 .tabbed-content .tab-panels {
    padding-top: 40px;
}

.pdown-1 form {
    color: #000;
}

form#searchform button#searchsubmit {
    position: absolute;
    right: 0;
    margin: 0;
    width: 50px;
    height: 50px;
}

.pdown-1.pdown-search {
    padding: 30px 0;
}

.pdmsp-1 {
    padding: 30px 0 !important;
}

.tab-panels .woocommerce-Tabs-panel .flex {
    display: block;
}

.tab-panels .woocommerce-Tabs-panel table tr td {
    padding: 8px;
    line-height: 1.42857143;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .pdown-2 .tabbed-content ul li a {
        width: 100%;
        margin: 0;
    }

    .pdown-2 .tabbed-content ul li {
        margin-right: 15px;
    }
    
    .pdown-2 .tabbed-content ul {
        justify-content: left;
    }
}
