/*
 Theme Name:   Ultra Child
 Theme URI:    http://example.com/themify-ultra-child/
 Description:  Themify Ultra Child Theme
 Author:       John Doe
 Author URI:   http://example.com
 Template:     themify-ultra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  themifyultrachild
*/

/****
home / frame
*****/

.fixed-header .header-bar, .fixed-header #site-description {
    display: flex !important;
}

main#content {
    padding: 0;
}

.home #main-nav .current_page_item>a, .home #main-nav .current-menu-item>a {
    color: white !important;
}

h3.module-title {
    font-size: 2em;
    color: black;
}

#content li {
    color: black;
    margin-bottom: 5px !important;
}

div.home-button a {
	color: #000!important;
	margin: 10px 10px;
}

.page-id-20 .accordion-content {
    overflow-x: scroll;
}

.tablepress tfoot th, .tablepress thead th {
    background-color: #565656 !important;
    color: white;
    border: 1px solid;
}

.sub-menu li {
    border-bottom: 1px solid #ababab;
}

.sub-menu li:last-child {
    border: 0;
}

.yoast-breadcrumbs {
    text-align: center;
}

.yoast-breadcrumbs a {
    color: #2e448a;
}

#main-nav a {
    font-size: 24px;
    text-transform: uppercase;
}

header#header {
    width: 95%;
}

ul.sub-menu {
    border-radius: 0 !important;
}

ul.sub-menu li a {
    font-size: 18px !important;
}



div#site-logo, #site-description {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
}

div#site-description {
    font-size: 28px;
    opacity: 1;
    font-weight: bold;
    text-shadow: 2px 2px 10px black;
}

div#site-logo {
    flex: 1;
}

div#site-description {
    flex: 2;
}

.header-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.no-home main#content {
    padding: 0 0 35px;
}

nav#main-nav-wrap {
    position: relative;
    top: 25px;
}

.transparent-header #headerwrap.fixed-header {
    background-color: #565656;
}

#main-nav a:hover, #main-nav .current_page_item>a, #main-nav .current-menu-item>a, #main-nav ul a:hover {
    color: #c4232c !important;
}

/*** HOME ***/

.top-text p {
    color: black;
    font-size: 65px;
    line-height: 1.2;
    margin: 5px;
}

.top-text a {
    font-size: 38px;
    padding: 5px 15px;
    text-decoration: none !important;
    background: #c2212a;
    color: white;
}

.top-text {
    max-width: 760px;
    width: 95%;
    text-align: center;
    float: right;
    padding-right: 35px;
	position: absolute !important;
    top: 50%;
    right: 3%;
    transform: translateY(-50%);
}

.module-buttons-item a {
    background: rgb(2 146 214 / 75%);
    color: white !important;
}

.wtor a {
    color: white;
    border: 2px solid;
    font-size: 22px;
    text-decoration: none;
    padding: 5px 15px;
    margin: 35px auto;
    display: block;
    max-width: 185px;
}

.p-hold {
    background: white;
    max-width: 250px;
    margin: 0 auto;
    width: 95%;
    padding: 10px;
    border-radius: 20px;
}

.p-hold img {
    width: 200px;
}

.p-hold p {
    color: black;
    font-size: 23px;
}

.p-hold a {
    color: white;
    background: #565656;
    display: block;
    text-transform: uppercase !important;
    font-weight: 100;
    padding: 15px;
    text-decoration: none !important;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.product-hold .subrow_inner {
    max-width: 1175px;
    width: 100%;
    margin: 0 auto;
}

.p-hold p:nth-child(3) {
    margin: 0;
}

/***
INNER PAGE
****/

.page-parent .module-image {
    position: relative;
}

.page-parent .image-content {
    position: absolute;
    top: 50%;
    text-align: center;
    width: 100%;
    color: white;
    padding: 0 !important;
    transform: translateY(-50%);
}

.page-parent .image-content h3 {
    color: white;
    text-shadow: 2px 2px 10px black;
    font-size: 35px;
    margin: 0 !important;
}

.ui.module-accordion .accordion-title a:hover {
    background: #c4242c;
    color: white;
}

li.current .accordion-title {
    background: #c4242c !important;
    color: white;
}

.pipe-top {
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.no-home h1.page-title {
    background: #2e448a;
    color: white;
    padding: 15px;
    text-align: center;
    margin-top: -40px;
    margin: -40px auto 35px;
    max-width: 400px;
}

.page-id-20 .module-title {
    color: black;
    padding-top: 25px;
}

/***
Footer
****/

div#pipeFooter {
    background: url(https://pipingrepairtechnologies.com/wp-content/uploads/2020/12/pipe-repair-technologies-texas-onshore-offshore-pipes-footer-2.jpg);
    padding-bottom: 35px;
    background-position: center;
    background-size: cover;
}

div#pipeFooter .module-title {
    color: white;
    margin: 0;
    font-size: 30px;
}

label#field_u5qhv_label {
    color: white;
}

textarea {
	min-height: auto;
}

#pipeFooter a {
    color: white;
    text-decoration: none;
}

/*** MOBILE ****/

@media screen and (max-width: 1668px) {
#main-nav a {
    font-size: 20px;
    text-transform: uppercase;
}
}

@media screen and (max-width: 1505px) {
div#site-description {
    font-size: 21px;
}

nav#main-nav-wrap {
    top: 19px;
}
}

@media screen and (max-width: 1400px) {
#main-nav a {
    font-size: 18px;
}

nav#main-nav-wrap {
    top: 21px;
}
}

@media screen and (max-width: 580px) {
div#site-description {
    display: none;
}
}

@media screen and (max-width: 430px) {
	.top-text {
		right: 0%;
	}
	.top-text p {
		font-size: 42px;
		line-height: 46px;
		margin: 25px 5px;
		text-shadow: 3px 3px 8px #FFF;
	}
	.top-text a {
    	font-size: 26px;
		line-height: 28px;
		text-shadow: none;
	}
}

.header-icons {
    top: 50% !important;
}

.mobile_menu_active .fixed-header #site-description {
    display: none !important;
}

#mobile-menu.sidemenu-on {
    background: #2e448a;
    color: white;
}

#mobile-menu.sidemenu-on li {
    border-bottom: 1px solid;
}

.mobile_menu_active div#mobile-menu img {
    display: block !important;
    width: 175px;
    margin: 0 auto;
}