/*
Theme Name:   AstraChild
Description:  A child theme for Astra
Template:     astra
Version:      1.0
Text Domain:  AstraChild
*/

#secondary li.active a {
    border-bottom: 2px solid;
    color: #000;
}

#secondary li.back_btn a {
    font-size: 20px;
    color: #000;
    font-weight: 700;
}

#secondary li.back_btn a:hover {
    color: #0070b9;
}

.title_bar {
    padding: 7.5px 0;
    background-image: url(/wp-content/uploads/2021/07/gallaxy-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.page-template-template-sidebar div#secondary {
    margin-top: 28px;
}
.title_bar h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
}

body.page .post-thumb-img-content.post-thumb {
    display: none;
}

.entry-content p {
    line-height: normal;
}

.ast-separate-container.ast-two-container #secondary .widget {
    padding-left: 0;
}

.page-template-template-sidebar div#secondary {
    margin-top: 28px;
}


.telpad_wrap {
    background: url(telpad/img/ts__ws_cover_b.png);
    width: 1120px;
    background-repeat: no-repeat;
    margin: 0 auto;
    background-size: contain;
    background-position: center center;
    height: 878px;
    padding: 140px 150px;
}
ul.telpad_icons {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

img.telpad_icon_img {
    max-width: 68px;
}

img.telpad_icon_img.telpad_hover_img {
    position: absolute;
    left: 0;
    opacity: 0;
    right: 0;
    margin: 0 auto;
}

li.telpad_icon a {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

ul.telpad_icons li {
    margin-right: 30px;
    color: #FFFFFF;
}

ul.telpad_icons li a {
    color: #fff;
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    font-size: 14px;
    text-shadow: 1px 1px #000;
}

.telpad_ul {
    max-width: 50%;
    float: left;
}

.telpad_ur.vertical_list {
    max-width: 50%;
    float: right;
}

.telpad_btm {
    width: 100%;
    float: left;
}

.vertical_list ul.telpad_icons {
    flex-direction: column;
}

.vertical_list ul.telpad_icons li {
    margin-right: 0;
    margin-bottom: 15px;
}
span.telpad_icon_label {
    display: block;
    margin-top: 5px;
    line-height: normal;
    margin-left: -10px;
    margin-right: -10px;
}

.telpad_btm_btm ul.telpad_icons li {
    width: calc(10% - 5.8px);
    text-align: center;
    margin-bottom: 10px;
}

.telpad_btm_btm ul.telpad_icons li:nth-child(8n) {
    margin-right: 0;
}
 ul.telpad_icons li a:hover .telpad_hover_img {
    opacity: 1;
}
.telpad_btm_top {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 30px;
    margin-top: 22px;
    font-style: italic;
    text-shadow: 2px 2px #000;
}
h1.site-title {
    line-height: normal;
}
@media all and (min-width: 767px){
	body.home div#content {
		background: url(http://telstarengineering.com/wp-content/uploads/2021/12/wood-img.jpg);
	}

	body.home div#content article {
		background: transparent;
	}
}

@media all and (min-width: 768px){
.telpad_wrap {
    transform: scale(0.70);
    margin: -60px auto !important;
}
}
@media all and (max-width: 767px){
    body.home span.site-logo-img {
        display: none;
    }

    body.home .site-header .site-description {
        display: block;
        font-size: 12px;
        line-height: normal;
        font-weight: 100;
        text-transform: uppercase;
        letter-spacing: -1px;
    }

    body.home .site-header-primary-section-right {
        display: none;
    }

    body.home .ast-site-title-wrap {
        position: absolute;
        background: #000;
        top: 0;
        color: #fff;
        text-align: center;
        max-width: 50%;
        margin: 0 auto;
        left: 0;
        right: 0;
        padding: 20px 8px 12px;
    }
    .telpad_ul ul.telpad_icons li {
        width: 19%;
    }
    body.home .ast-site-title-wrap h1.site-title {
        text-transform: uppercase;
        font-weight: 700;
        color: #fff;
        line-height: normal;
        margin-bottom: 4px;
    }

    body.home .ast-site-title-wrap h1.site-title a {
        color: #fff;
        font-size: 22px;
        display: block;
    }

    body.home.ast-header-break-point .ast-primary-header-bar {
        border: 0;
        background: transparent;
    }

    body.home.ast-separate-container .ast-article-single {
        background: transparent !important;
        padding: 0;
    }

    .telpad_wrap {
        background: transparent;
        width: 100%;
        height: auto;
        padding: 0 7px;
        display: flex;
    }

    body.home.ast-separate-container #primary {
        margin-top: 0;
    }

    .telpad_ul {
        float: none;
        width: 100%;
        max-width: 100%;
    }

    ul.telpad_icons {
        width: 100%;
        justify-content: center;
    }

    .telpad_ul ul.telpad_icons li:first-child {
        margin-right: 60.7%;
        margin-left: 0;
    }

    .telpad_ul ul.telpad_icons li:nth-child(2) {
        margin-right: 0;
        margin-left: 0;
    }

    ul.telpad_icons li, .vertical_list ul.telpad_icons li {
        margin-right: 0;
        margin: 0 10px 10px;
    }

    .telpad_ur.vertical_list {
        float: none;
        max-width: 100%;
        margin-top: 17px;
    }

    .vertical_list ul.telpad_icons {
        flex-direction: row;
    }

    .telpad_btm_top {
        display: none;
    }

    .telpad_btm_btm ul.telpad_icons li {
        width: 19%;
    }

    .telpad_btm_btm ul.telpad_icons {
        margin: 0 -10px;
        width: calc(100% + 20px);
        justify-content: space-between;
    }

    .telpad_btm_btm {
        margin-top: 20px;
    }

    body.home footer#colophon {
        display: none;
    }

    .telpad_btm_btm ul.telpad_icons li:nth-child(8n) {
        margin-right: 10px;
    }

    span.telpad_icon_label {
        font-size: 11px;
        margin-top: 3px;
    }

    body.home {
        background: url(telpad/img/spacebg.jpg);
        background-size: cover;
        background-position: center;
    }
    body.home .site-header-section {position: absolute;width: 100%;}


}