/*
Theme Name:  Premitec
Theme URI:   http://premitec-co-uk.stackstaging.com
Version:     1.0
Description: A child theme of Divi. This is a custom child theme created for our site Premitec.
Author:      We Are Panda
Author URI:  https://wearepanda.co.uk
Template:    Divi
*/

/*- Add any CSS custom code for this child theme below this line -*/

.homepage_products h4.et_pb_module_header {
    position: absolute;
    left: 0px;
    bottom: 0px;
    font-weight: normal;
    font-size: 1.2em;
    
}

#main-header {
	z-index: 999!important;
}
/*search*/
.search-results #main-content {
    padding-top: 50px;
}
.search-results #left-area:before {
    content: 'Results of your search...';
    font-size: 1.7em;
}
.search-results p.post-meta {
	display:none;
}
.search-results a.entry-featured-image-url {
    width: 40%;
    float: left;
    margin: 0 20px 0 0;
}
.search-results article {
    clear: left;
    margin: 20px 0;
    overflow: hidden;
    height: 170px;
    background: rgba(0,0,0,0.1);
    font-size: 0.8em;
    line-height: 1.9;
}
.search-results h2.entry-title {
	font-size: 1.3em;
}
/*PORTFOLIO*/
.et_pb_portfolio_item.et_pb_grid_item {
    background: #f5f5f5;
    padding: 0px 5px;
    -webkit-box-shadow: 0px 3px 11px -1px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 3px 11px -1px rgba(0,0,0,0.75);
    box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.5);
	height:320px!important;
	text-align: center;
	text-transform: uppercase;
}



.ds-icon-search input.et_pb_searchsubmit,
.widget_search input#searchsubmit {
    background: transparent!important;
    color: transparent!important;
    border: none;
    width: 55px;
    z-index: 2;
}
.ds-icon-search input.et_pb_s,
.widget_search input#s {
    padding-right: 55px !important;
}
.ds-icon-search .et_pb_searchform:before,
.widget_search::before {
    content: '\55';
    position: absolute;
    font-family: 'ETModules';
    z-index: 1;
    right: 0;
    font-size: 20px;
    padding: 8px 20px;
}

.home-products .et_pb_blurb_content {

    height: 180px;
	padding:5px;
}
.home-products .et_pb_blurb {
transition:0.2s;
	background-size: 100%;
}
.home-products .et_pb_blurb:hover {
background-size:110%;
transition:0.3s;
}

.home-products h4 {
    position: absolute;
    bottom: 0px;
    left: 0px;
    text-align: center;
    width: 100%;
    background-color: rgba(0,0,0,0.7);
    padding-top: 5px;
	font-size:20px;

}
.prem_product_item_buttons li {
    margin-top: 1px;
}

#top-menu li.current-menu-item>a {
	color: #fff;
    background-color: rgba(16,53,85,1);
    padding: 10px;
}
.logo_container {
	position: relative;
}
.logo_container .darklogo {
	position: absolute;
	top:20px;
	left:10px;
	opacity:1;
	transition: 0.5s;
	z-index: 2
}
.logo_container .whitelogo {
	position: absolute;
	top:20px;
	left:10px;
	opacity:0;
	transition: 0.5s;
	z-index: 1;
}
.logo_container p.logosubtext {
    margin: 0px;
    position: absolute;
    top: 60px;
    left: 10px;
    letter-spacing: 1.8px;
    color: #103555;
    font-weight: 100;
    opacity: 0.7;
    border-top: 1px solid #103555;
    transition: 1.6s;
}
.et-fixed-header .logo_container p.logosubtext {
    top:50px;
	color: #fff;
   	opacity: 0;
    border-top: 1px solid #103555;
    transition: 0.3s;
}
.et-fixed-header .logo_container .whitelogo {
	top:10px;
	opacity:1;
	transition: 0.5s;
	}
.et-fixed-header .logo_container .darklogo {
	top:10px;
	opacity:0;
	transition: 0.5s;
	}

.et_header_style_left #et-top-navigation nav>ul>li>a, .et_header_style_split #et-top-navigation nav>ul>li>a {
    padding-bottom: 15px!important;
}
h2.contacthead {
    font-weight: 100;
    text-align: right;
    margin-top: -20px;
    transition: 0.3s;
	font-size: 1.5em;
}
.et-fixed-header h2.contacthead{
	transition: 0.3s;
	margin-top: -62px;
	
}

h2.contacthead:before {
    content: '\e0e3';
    font-family: 'ETModules';
    opacity:0.7;
	margin-right: 0.5em;
}
.et_header_style_left #et-top-navigation nav>ul>li.menu-button a {
    border-radius: 4px;
    border: #222933 solid 1px;
    padding: 5px 10px;
	padding-bottom: 5px!important;
}
li.menu-button a:before {
  content: '\e010';
    font-family: 'ETModules';
    margin-right: 0.5em;
	font-weight: 100;
}

.et_pb_social_media_follow_head{
	margin: -18px 0 0 0!important;
	float:left;
}
.et-fixed-header .et_pb_social_media_follow_head{
	margin: -62px 0 0 0!important;
	transition: 0.3s;
}


/*CHILD PAGES*/
.ccchildpage.ccpage-parent-case-studies {
    padding: 10px;
    border-radius: 3px;
    box-shadow: 0 0.1em 0.4em rgba(0,0,0,0.2);
    background: #fafafa;
}
p.ccpages_more {
    border-radius: 3px;
    border: 1px solid slategray;
    text-transform: uppercase;
    padding: 3px;
    width: 100px;
    text-align: center;
}
.footertitle {
	    text-transform: uppercase;
    color: #ffffff!important;
	
}
.type-product .et_pb_button {
    width: 100%;
    text-align: center;
}
/*tables*/

table.spec_table td, table.spec_table th {
    font-size: 12px;
    padding: 2px;
    text-align: center;
}
table.spec_table th {
    background: rgba(0,0,0,0.1);
}
table.spec_table td:first-child {background: rgba(0,0,0,0.15); }

body #page-container .et_pb_button_2 a[href="/contact-us/"] {
background-color: #149970!important;
}
.btn-inline .et_pb_button_module_wrapper {
    display: inline-block;
    margin: 0 5px;
}

.btn-inline {
    text-align: center !important;
}
/*MAILPOET*/
.sfs-footer-content input.mailpoet_text
{
    width: 80%;
    border-radius: 3px 0px 0px 3px;
    border: none;
    padding: 6px;
    float: left;
}
.sfs-footer-content input.mailpoet_submit {
    border: none;
    padding: 6px;
    border-radius: 0px 3px 3px 0px;
    width: 20%;
    float: left;
	background-color: #5f6670!important;
    color: #fff;
   
}
.sfs-footer-content input.mailpoet_submit:before {
    content: '\e090';
    font-family: 'ETModules';
	font-weight: 100;
   
}
.sfs-footer-content .mailpoet_paragraph {
	margin: 0px;
	line-height: 0px;
	padding-bottom: 0px;
}
.sfs-footer-content form {
	margin-top:5px;
}

@media only screen and (max-width: 640px){
	h2.contacthead{
		display: none;
	}
	header ul.et_pb_social_media_follow{
		display: none;
	}
	.logo_container p.logosubtext {
		 top: 50px;
		font-size:0.8em;
		letter-spacing: 1px;
		
	}
	.et_header_style_left .logo_container {
		width:70%!important;
	}
	.et_pb_fullwidth_header_0.et_pb_fullwidth_header .header-content h1 {
		font-size: 40px!important;
	}
}
@media only screen and (min-width: 981px){
	
.et-fixed-header #top-menu li.current-menu-ancestor>a, 
.et-fixed-header #top-menu li.current-menu-item>a {
    color:  rgba(16,53,85,1)!important;
	background-color: rgba(255,255,255,1)!important;
}
.et-fixed-header #et-top-navigation nav>ul>li.menu-button a {
    border: #fff solid 1px;
    padding: 5px 10px;

}
.et-fixed-header#main-header, 
.et-fixed-header#main-header .nav li ul, 
.et-fixed-header .et-search-form {
    background-color: rgba(16,53,85,1)!important;
}

.et-fixed-header #top-menu a {
		color: #fff!important;
	}
.et_header_style_left .et-fixed-header #et-top-navigation, 
.et_header_style_split .et-fixed-header #et-top-navigation {
    padding-top: 30px;
}
	.et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item, .et_pb_gutters3 .et_pb_column_4_4 .et_pb_shop_grid .woocommerce ul.products li.product, .et_pb_gutters3 .et_pb_column_4_4 .et_pb_widget, .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_grid_item, .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_shop_grid .woocommerce ul.products li.product, .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_widget {
    width: 23%;
    margin-right: 1%;
    margin-bottom: 2%;
}
}