
/*

===========================================

	CUSTOM CSS FOR CONFERENCE WEBSITES
	- LENSCAP CHILD THEME
	- By John Ananthan
	
	Contents
		1.  Logo
		2.  Call for Papers
		3.  Custom Spoiler - H4
		4.  Custom Spoiler - H3
		5.  Photo Credit
		6.  Author Reference Removal
		7.  Top Search Button Removal
		8.  Registration / WooCommerce
		9.  LOI Form
		10. Ninja-Forms
		11. No Left Sidebar Template
		12. additional css from woocommerce

===========================================

*/

/*
===========================================

	1. LOGO

===========================================
*/
@media (min-width: 801px) {
	.custom-logo-link img {
		height: 50%;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: -30px;
		margin-top: -30px;
		max-width: 50%;
	}
}

@media (max-width: 800px) {
	.custom-logo-link img {
		margin-bottom: -30px;
		margin-top: -30px;
		padding-bottom: 5px;
	}
}

.site-title-wrap {
	min-width: 100%;
}

/*
===========================================

	2. CALL FOR PAPERS

===========================================
*/
.su-spoiler.presentation-type-spoiler .su-spoiler-title {
	font-size: 25px;
}

.su-spoiler.presentation-type-spoiler .su-spoiler-title h4, .su-spoiler.presentation-type-spoiler .su-spoiler-title h3 {
	margin-top: -28px;
	margin-bottom: -20px;
}

.su-spoiler.presentation-type-spoiler .su-spoiler-title .su-spoiler-icon, .su-spoiler.su-spoiler-closed.presentation-type-spoiler .su-spoiler-title .su-spoiler-icon, .su-spoiler.presentation-type-spoiler .su-spoiler-content {
	left: 3px;
	background-color: #fff;
}

/*
===========================================

	3. CUSTOM SPOILER - H4

===========================================
*/
.su-spoiler.h4-spoiler .su-spoiler-title {
	font-size: 25px;
	clear: both;
	color: #272c30;
	font-family: "Archivo Narrow", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 600;
	font-size: 30px;
}

@media (max-width: 800px) {
	.su-spoiler.h4-spoiler .su-spoiler-title {
		font-size: 24px;
	}
	
	.su-spoiler.h4-spoiler .su-spoiler-title .su-spoiler-icon, .su-spoiler.su-spoiler-closed.presentation-type-spoiler .su-spoiler-title .su-spoiler-icon {
		left: 3px;
		margin-top: 3px;
		background-color: #fff;
	}
}

@media (min-width:801px) {
	.su-spoiler.h4-spoiler .su-spoiler-title .su-spoiler-icon, .su-spoiler.su-spoiler-closed.presentation-type-spoiler .su-spoiler-title .su-spoiler-icon {
		left: 3px;
		margin-top: 5px;
		background-color: #fff;
	}
}

.su-spoiler.h4-spoiler .su-spoiler-content {
	left: 3px;
	background-color: #fff;
}

/*
===========================================

	1. CUSTOM SPOILER  - H3

===========================================
*/
.su-spoiler.h3-spoiler .su-spoiler-title {
	font-size: 40px;
	clear: both;
	color: #272c30;
	font-family: "Archivo Narrow", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 600;
}

@media (max-width: 600px) {
	.su-spoiler.h3-spoiler .su-spoiler-title {
		font-size: 28px;
	}
}

.su-spoiler.h3-spoiler .su-spoiler-title .su-spoiler-icon, .su-spoiler.su-spoiler-closed.presentation-type-spoiler .su-spoiler-title .su-spoiler-icon {
	left: 3px;
	background-color: #fff;
}

.su-spoiler.h3-spoiler .su-spoiler-content {
	left: 3px;
	background-color: #fff;
}

@media (min-width: 801px) {
	.su-spoiler.h3-spoiler .su-spoiler-title {
		line-height: 50px;
	}
	
	.su-spoiler.h3-spoiler .su-spoiler-icon {
		margin-top: 17px;
	}
}

@media (max-width: 800px) {
	.su-spoiler.h3-spoiler .su-spoiler-title {
		line-height: 45px;
	}
	
	.su-spoiler.h3-spoiler .su-spoiler-icon {
		margin-top: 13px;
	}
}

/*
===========================================

	5. PHOTO CREDIT
		 Stying of text for giving credit
		 under photos

===========================================
*/
.photo-credit {
	margin-top: -25px;
	color: #bbb;
	font-size: 10px;
	text-align: center;
}

/*
===========================================

	6. AUTHOR REMOVAL

===========================================
*/
.author-profile {
	display: none;
}

.entry-byline {
	display: none;
}

/*
===========================================

	7. TOP SEARCH BUTTON REMOVAL
		 This is a temporary removal of the
		 button as it doesn't work on the
		 current version of this theme.

===========================================
*/
.search-toggle.button-toggle {
	display: none;
}

/*
===========================================

	8. REGISTRATION PAGE / WOOCOMMERCE
		 Styling of the WooCommerce 
		 part of the registration page

===========================================
*/
.product-category .count {
	display: none;
}

.wccpf_fields_table tr td {
	float: left;
	width: 100%;
}

table.wccpf_fields_table td.wccpf_label {
	font-weight: bold;
	white-space: -moz-pre-wrap !important;
	/* Firefox */
	white-space: -o-pre-wrap !important;
	/* Opera */
	white-space: pre-wrap !important;
	/* Chrome */
	word-wrap: break-word !important;
	/* IE */
	white-space: nowrap !important;
	margin-bottom: -25px;
}

.wccpf_label {
	white-space: nowrap !important;
}

.woocommerce .shop-header {
	background: transparent !important;
}

/*Removes the green "on sale" badge on items*/
.onsale {
	display: none;
}

/*
===========================================

	9. LOI DOWNLOAD FORM

===========================================
*/
.loi-form .nf-field-label label {
	padding-left: 0 !important;
	font-weight: normal !important;
}

.loi-form .nf-field-element input[type=checkbox] {
	-webkit-appearance: checkbox;
}

.loi-form .label-right .checkbox-wrap .nf-field-label {
	width: 95% !important;
}

.loi-form .nf-error-required-error, .loi-form .ninja-forms-req-symbol, .loi-refund-form .ninja-forms-req-symbol {
	display: none;
}

.loi-refund-form {
	height: 30px;
	width: 16px !important;
}

.loi-refund-text {
	padding-left: 0 !important;
	width: 92% !important;
}

/*
===========================================

	10. NINJA FORMS

===========================================
*/
.responsive-submit-button .nf-field-label, .repsonsive-submit-button .nf-error-wrap {
	display: none !important;
}

.responsive-submit-button input {
	border-radius: 0;
}

.responsive-submit-button .nf-field-element, .responsive-submit-button input {
	width: 100% !important;
}

/*
===========================================

	11. NO LEFT SIDEBAR TEMPLATE
		 Styling of the template that
		 removes the left sidebar

===========================================
*/
.no-left-sidebar {
	padding-left: 0 !important;
}

.responsive-submit-button {
	width: 100% !important;
}

/*
=============================================

12. From WooCommerce

==============================================
*/
.woocommerce-error, .woocommerce-info, .woocommerce-message {
	padding: 1em 2em 1em 3.5em;
	margin: 0 0 2em;
	position: relative;
	background-color: #f7f6f7;
	color: #515151;
	border-top: 3px solid #a46497;
	list-style: none outside;
	width: auto;
	word-wrap: break-word;
}

.woocommerce-error::after, .woocommerce-error::before, .woocommerce-info::after, .woocommerce-info::before, .woocommerce-message::after, .woocommerce-message::before {
	content: " ";
	display: table;
}

.woocommerce-error::after, .woocommerce-info::after, .woocommerce-message::after {
	clear: both;
}

.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before {
	font-family: WooCommerce;
	content: "";
	display: inline-block;
	position: absolute;
	top: 1em;
	left: 1.5em;
}

.woocommerce-error .button, .woocommerce-info .button, .woocommerce-message .button {
	float: right;
}

.woocommerce-error li, .woocommerce-info li, .woocommerce-message li {
	list-style: none outside !important;
	padding-left: 0 !important;
	margin-left: 0 !important;
}

.woocommerce-message {
	border-top-color: #8fae1b;
}

.woocommerce-message::before {
	content: "";
	color: #8fae1b;
}

.woocommerce-info {
	border-top-color: #1e85be;
}

.woocommerce-info::before {
	color: #1e85be;
}

.woocommerce-account .woocommerce::after, .woocommerce-account .woocommerce::before {
	content: " ";
	display: table;
}

.woocommerce-account .woocommerce::after {
	clear: both;
}

.woocommerce-account .addresses .title::after, .woocommerce-account .addresses .title::before {
	content: " ";
	display: table;
}

.woocommerce-account .addresses .title::after {
	clear: both;
}

.woocommerce-account .addresses .title h3 {
	float: left;
}

.woocommerce-account .addresses .title .edit {
	float: right;
}

.woocommerce-account ol.commentlist.notes li.note p.meta {
	font-weight: 700;
	margin-bottom: 0;
}

.woocommerce-account ol.commentlist.notes li.note .description p:last-child {
	margin-bottom: 0;
}

.woocommerce-account ul.digital-downloads {
	margin-left: 0;
	padding-left: 0;
}

.woocommerce-account ul.digital-downloads li {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

.woocommerce-account ul.digital-downloads li::before {
	font-family: WooCommerce;
	speak: none;
	font-weight: 400;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	margin-right: .618em;
	content: "";
	text-decoration: none;
}

.woocommerce-account ul.digital-downloads li .count {
	float: right;
}

.woocommerce table.my_account_orders {
	font-size: .85em;
}

.woocommerce table.my_account_orders td, .woocommerce table.my_account_orders th {
	padding: 4px 8px;
	vertical-align: middle;
}

.woocommerce table.my_account_orders .button {
	white-space: nowrap;
}

.woocommerce table.my_account_orders .order-actions {
	text-align: right;
}

.woocommerce table.my_account_orders .order-actions .button {
	margin: .125em 0 .125em .25em;
}

.woocommerce table.woocommerce-MyAccount-downloads td, .woocommerce table.woocommerce-MyAccount-downloads th {
	vertical-align: top;
	text-align: center;
}

.woocommerce table.woocommerce-MyAccount-downloads td:first-child, .woocommerce table.woocommerce-MyAccount-downloads th:first-child {
	text-align: left;
}

.woocommerce table.woocommerce-MyAccount-downloads td:last-child, .woocommerce table.woocommerce-MyAccount-downloads th:last-child {
	text-align: left;
}

.woocommerce table.woocommerce-MyAccount-downloads td .woocommerce-MyAccount-downloads-file::before, .woocommerce table.woocommerce-MyAccount-downloads th .woocommerce-MyAccount-downloads-file::before {
	content: "↓";
	display: inline-block;
}
