/*
Theme Name:     Child Theme
Theme URI:      
Description:    Generatepress child theme.
Author:         Me
Author URI:     
Template:       generatepress
Version:        0.1.0
*/

/*
 * Find a Certified Supplier/Product
 */
 
 
 	
@import url("https://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css");

.certified-suppliers .view-filters,
.certified-products .view-filters {
    padding: 25px 0px 15px 0px;
}

.certified-suppliers .view-filters .field-column,
.certified-products .view-filters .field-column {
    display: inline-block;
    padding-right: 10px;
    padding-top: 10px;
}

.certified-suppliers .view-filters label,
.certified-products .view-filters label {
    display: block;
    font-weight: bold;
}

.certified-suppliers .post-wrap,
.certified-products .post-wrap {
    padding-bottom: 20px;
    line-height: 24px;
    font-weight: 400;
}

.certified-suppliers .page-nav-container,
.certified-products .page-nav-container {
    text-align: center;
}

.certified-suppliers .page-nav-container a,
.certified-products .page-nav-container a,
.certified-suppliers .page-nav-container span.current,
.certified-products .page-nav-container span.current {
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 10px 20px 10px 20px;
    margin: 5px;
}

.certified-suppliers .page-nav-container span.current,
.certified-products .page-nav-container span.current {
    border: 1px solid #fff;
}

.supplier-info {
	padding: 0 0 25px;
}

/* Field display */
.field .field-label {
    font-weight: bold;
}

.field-name-field {
    padding-bottom: 10px;
}

.field-label-inline .field-label,
.field-label-inline .field-items {
    float: left;
    /*LTR*/
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.field-name-field-location {
	font-style: italic;
}

/* 12/21 JH cerifiers styling */

.certifiers-listing-item {
    margin-top: 20px;
}

.certifiers-listing-item a {
    color: #000;
}

.certifiers-listing-item-column {
    display: block;
    float: left;
    margin-top: 10px;
    margin-right: 40px;
    max-width: 75%;
    margin-bottom: 10px;    
}

.certifiers-listing-item-row {
    display: block;
    clear:both;
}
.certifiers-fa {
    color: #55555e;
    margin-right: 5px;
}


.cc_title a {
    color: #000;
    font-weight: 700;
}

.certifiers-listing-item.certifiers-listing-item-flex {
    display: flex;
	flex-wrap: wrap;
	margin-top: 120px;
}
	
.certifiers-listing-item-column-left,
.certifiers-listing-item-column-right {
	width: 100%;
}

.certifiers-listing-item-column-right {
	text-align: center;
}

@media screen and (min-width: 768px) {
	.certifiers-listing-item-flex {
		flex-direction: row-reverse;
	}
	
	.certifiers-listing-item-column-left {
		width: 75%;
	}
	
	.certifiers-listing-item-column-right {
		width: 25%;
	}
}








/*
 * Certifier Portal Progress Tracker
 */

.certifier-progress {
	margin-bottom: 32px;
}

.certifier-progress .tracker {
	margin-top: 8px;
	border: 1px solid #DDD;
}

.certifier-progress .tracker:before {
	content: '';
	display: block;
	width: 33%;
	border-bottom: 8px solid #FCB900;
}

.certifier-progress.initial_review .tracker:before,
.certifier-progress.more_documentation_required .tracker:before {
	width: 66%;
}

.certifier-progress.approved .tracker:before,
.certifier-progress.not_approved .tracker:before {
	width: 100%;
}

.certifier-progress.more_documentation_required .tracker:before,
.certifier-progress.not_approved .tracker:before {
	border-color: red;
}

.certifiers-listing-item-column-description {
    float:left;
    margin-left: 10px;
    max-width: 75%;  
}

.certifiers-listing-item-column-logo {
    max-width: 25%;
    float:left;
}

/* JH 2/3/22 - Doc page styling */
.w3_doc_link {
    color: #222222;
}


@media only screen and (max-width: 600px) {
.certifiers-listing-item-column-description {
    float:left;
    margin-left: 0px;
    max-width: 100%;  
}

.certifiers-listing-item-column-logo {
    max-width: 100%;
    float: none;
    text-align: center;
}
}
