/*
 *	BNE Review Management
 *
 * 	@author		Kerry Kline
 * 	@copyright	Copyright (c) 2017, Kerry Kline
 * 	@link		http://www.bnecreative.com
 *
*/


/* ===================================================
 *	BNE Grid System v3
 * ================================================ */

/* Legacy Grid (pre CSS Grid spec) */
.bne-grid {
	position: relative;
	margin: 0 -1%;
	padding: 0;
	width: 102%;
}

.bne-grid:after {
	content: "";
	display: table;
	clear: both;
}

.bne-grid [class*="bne-col"] {
	float: left;
	margin: 1%;
	padding: 0;
	min-height: 0.125rem;
	width: 98%;
}

.bne-grid.tight { margin: 0; width: 100%;  }
.bne-grid.tight [class*="bne-col"] { margin: 0; width: 100%; }

@media (min-width: 768px) {
	.bne-grid .bne-col-1 		{ width: 6.33%; }
	.bne-grid .bne-col-2 		{ width: 14.66%;}
	.bne-grid .bne-col-3 		{ width: 23%; 	}
	.bne-grid .bne-col-4 		{ width: 31.33%;}
	.bne-grid .bne-col-5 		{ width: 39.66%;}
	.bne-grid .bne-col-6 		{ width: 48%; 	}
	.bne-grid .bne-col-7 		{ width: 56.33%;}
	.bne-grid .bne-col-8 		{ width: 64.66%;}
	.bne-grid .bne-col-9 		{ width: 73%; 	}
	.bne-grid .bne-col-10 		{ width: 81.33%;}
	.bne-grid .bne-col-11 		{ width: 89.66%;}
	.bne-grid .bne-col-12 		{ width: 98%; 	}
	.bne-grid .bne-col-fifth 	{ width: 18%; 	}
	.bne-grid .bne-col-seventh 	{ width: 12.28%;}
	.bne-grid .bne-col-eighth 	{ width: 10.5%; }
	
	/* Tight */
	.bne-grid.tight .bne-col-1 		{ width: 8.33%; }
	.bne-grid.tight .bne-col-2 		{ width: 16.66%;}
	.bne-grid.tight .bne-col-3 		{ width: 25%; 	}
	.bne-grid.tight .bne-col-4 		{ width: 33.33%;}
	.bne-grid.tight .bne-col-5 		{ width: 41.66%;}
	.bne-grid.tight .bne-col-6 		{ width: 50%; 	}
	.bne-grid.tight .bne-col-7 		{ width: 58.33%;}
	.bne-grid.tight .bne-col-8 		{ width: 66.66%;}
	.bne-grid.tight .bne-col-9 		{ width: 75%; 	}
	.bne-grid.tight .bne-col-10 	{ width: 83.33%;}
	.bne-grid.tight .bne-col-11 	{ width: 91.66%;}
	.bne-grid.tight .bne-col-12 	{ width: 100%; 	}
	.bne-grid.tight .bne-col-fifth	{ width: 20%; 	}
	.bne-grid.tight .bne-col-seventh{ width: 14.28%;}
	.bne-grid.tight .bne-col-eighth { width: 12.5%; }

	 /* Reset each row based on the grid */
	.bne-grid .bne-col-6:nth-child(2n+3), /* 2 Column Grid, 3rd Image */
	.bne-grid .bne-col-4:nth-child(3n+4), /* 3 Column Grid, 4th Image */
	.bne-grid .bne-col-3:nth-child(4n+5), /* 4 Column Grid, 5th Image */
	.bne-grid .bne-col-fifth:nth-child(5n+6), /* 5 Column Grid, 6th Image */
	.bne-grid .bne-col-2:nth-child(6n+7),  /* 6 Column Grid, 7th Image */
	.bne-grid .bne-col-seventh:nth-child(7n+8),  /* 7 Column Grid, 8th Image */
	.bne-grid .bne-col-eighth:nth-child(8n+9)  /* 8 Column Grid, 9th Image */
	{ clear:both; }
}


/* CSS Grid (CSS Grid spec) */
@supports( grid-area: auto ) {
	.bne-grid {
		display: grid;
		grid-template-columns: repeat(12, 1fr);
		grid-column-gap: 20px;
		width: auto;
		margin: 0;
	}
	.bne-grid [class*="bne-col-"] { grid-column: span 12; width: auto; margin: 0 0 10px 0; }
	
	.bne-grid.tight { grid-column-gap: 0px; margin: 0; width: auto; }
	.bne-grid.tight [class*="bne-col-"] { width: auto; margin: 0 0 10px 0; }
	
	@media( min-width: 768px ) {
		.bne-grid.has-sidebar { grid-column-gap: 50px; }
		.bne-grid .bne-col-10 { grid-column: span 10; }
		.bne-grid .bne-col-9 { grid-column: span 9; }
		.bne-grid .bne-col-8 { grid-column: span 8; }
		.bne-grid .bne-col-6 { grid-column: span 6; }
		.bne-grid .bne-col-4 { grid-column: span 4; }
		.bne-grid .bne-col-3 { grid-column: span 3; }
		.bne-grid .bne-col-2 { grid-column: span 2; }
	}
}



/* == Notice Messages == */
.bne-notice {
	background: #fff;
	box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1);
	margin: 5px 0 15px;
	border-left-width: 4px;
	border-left-style: solid;
	padding: 15px 12px;
	font-size: 14px;
}
.bne-notice .bne-fa { margin-right: 10px; }

.bne-notice.info { border-left-color: #00a0d2; }
.bne-notice.info .bne-fa { color: #00a0d2; }
.bne-notice.success { border-left-color: #46b450; }
.bne-notice.success .bne-fa { color: #46b450; }


/* == Layout == */
.panel.review-panel {
	padding: 30px 80px 30px 80px;
}
@media (max-width: 768px ) {
	#main-content-wrapper {
		padding: 0 !important;
	}
	
	.panel.review-panel {
		padding: 20px;
	}
}


.form { 
	margin: 0 auto;
}

.logo-img {
	margin: 40px auto 0 auto;
	max-width: 400px;
}
.logo-text {
	margin-top: 0px;
}

@media (max-width: 768px ) {
	.logo-img {
		width: 100%;
	}
}



/* == Typography == */
.description { 
	margin: 30px 0 0 0;
	font-size: 20px;
}
@media (max-width: 768px ) {
	.description {
		font-size: 16px;
	}
}
.description p:last-of-type {
	margin-bottom: 0;
}

/* == Thumbs == */
.feedback-thumbs {
	margin: 60px auto;
}

.feedback-thumb {
	display: block;
	position: relative;
	margin-bottom: 10px;
	padding: 20px;

	background: #fafafa;
	border-top: 5px solid rgba(0, 0, 0, .3);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
	transition: .3s ease all;
	
	text-align: center;
	cursor: pointer;
	
	color: inherit;
	text-decoration: none !important;
}

.feedback-thumb:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 15px rgba(0, 0, 0, .1)
}

.feedback-thumb .glyphicon {
	font-size: 80px;
}

.feedback-thumb p {
	font-size: 20px;
	margin-bottom: 0;
}

@media (max-width: 768px ) {
	.feedback-thumb .glyphicon {
		font-size: 50px;
	}
	
	.feedback-thumb p {
		font-size: 14px;
	}
}

.feedback-thumb.thumb-up {
	border-color: #3c763d;
}

.feedback-thumb.thumb-up:hover {
	color: #3c763d;
	background-color: #dff0d8;
}

.feedback-thumb.thumb-down {
	border-color: #a94442;
}

.feedback-thumb.thumb-down:hover {
	color: #a94442;
	background-color: #f2dede;
}


/* == Modals == */
.modal-title { 
	color: #1b75bb; 
	max-width: calc( 100% - 10px); 
	margin: 0 auto; 
}

.modal-body { 
	background: #eee;
}

.modal-footer { 
	text-align: center !important;
}

.review-source-button {
	border-radius: 15px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
	padding: 5px 10px;
	background: #fff;
	margin-bottom: 10px;
	transition: all .3s ease;
}

.review-source-button a {
	display: block;
}

.review-source-button img {
	max-width: 150px;
	max-height: 50px;
	display: block;
	margin: 0 auto;
}

.review-source-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 15px rgba(0, 0, 0, .1)
}

.review-source-modal .modal-body { 
	background: #fff;
}

.review-source-modal .modal-footer { 
	background: #eee;
}

.review-source-modal .source-icon {
	display: block;
	margin: 0 auto;
	width: 200px;
}


/* == Request == */
@media (max-width: 480px) {
	.request-tabs .nav-tabs>li {
		width: auto;
	}
}
.bne-tabs-framed.request-tabs {  }
.bne-tabs-framed.request-tabs .nav-tabs { border: none; }
.bne-tabs-framed.request-tabs .nav-tabs > li > a {
	background: none;
	border: none;
	padding: 5px 15px;
	font-size: 14px;	
}
.bne-tabs-framed.request-tabs .nav-tabs > li.active > a {
	background: #0099ff;
	color: white;
	box-shadow: 0px 0px 5px rgba(0,0,0,.2);
	border-radius: 5px;
	border: none;
}
.bne-tabs-framed.request-tabs .tab-content {
	background: none;
	margin-top: 20px;
	padding: 0px;
	padding-top: 20px;
	border: none;
	border-top: 2px solid #ddd;
}


/* == ALL Listings == */
.group-listings {
	margin: 30px auto 0 auto;
}
.group-listing-button {
	position: relative;
	min-height: 100px;
	text-align: center;
	background: #fefefe;
	box-shadow: 0px 0px 10px rgba(0,0,0,.1);
	transition: all .3s ease;
}
.group-listing-button:hover {
    transform: translateY(-5px);
}

.group-listing-button-inner {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	right: 0;
	margin: 0 auto;
	padding: 10px;
}
.group-listing-button a {
	color: inherit;
}
.group-listing-button h5,
.group-listing-button p {
	margin: 0;
}




/* == GF - Pipe Video == */
#hdfvr-recording-form #hdfvr-file-input,
#hdfvr-recording-form #hdfvr-submit-btn {
	width: 100%;
	margin-bottom: 10px;
}

#hdfvr-recording-form #hdfvr-file-input:before,
#hdfvr-recording-form #hdfvr-submit-btn {
	background: #418BC3;
	color: white;
	font-weight:bold;
}

/* == GF General == */
.gform_hidden { 
	display: none;
}