/*
 Theme Name:   Polylang
 Description:  Polylang website theme
 Template:     vendd
 Version:      1.0.2
*/


/*
 * overrides vendd
 */

body {
	background: #3D3D3D;
}

.edd-checkout {
	background: #F1F1F1;
}

.blog #primary,
.single-post #primary {
	width: 100%;
	padding: 0;
}

.site-title {
	font-family: Verdana, "DejaVu Sans", "Bitstream Vera Sans", Geneva, sans-serif;
	font-size: 64px;
	text-transform: uppercase;
}

.site-title img {
	margin-right: 16px;
	margin-bottom: -8px;
}

.site-title a {
	color: #2D2D2D; /* temporary for US brand */
}

h1 {
	font-size: 2em;
}

h2, h3, h4 {
	font-size: 1.5em;
}

a {
	text-decoration: none;
}

input {
	border-width: 1px !important;
}

.home #content {
	padding-top: 0;
}

.home .entry-content {
	margin: 0;
}

.main-navigation .nav-menu {
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.main-navigation a {
	font-size: 1em;
}

.entry-content h2 {
	font-size: 1.4em;
	font-weight: 700;
}

.entry-content h3 {
	font-size: 1.2em;
	font-weight: 700;
}

.entry-content h4 {
	font-size: 1.1em;
	font-weight: 700;
}

#page {
	max-width: 100%;
	background-color: #fcfcfc;
}

.content-width {
	max-width: 1200px;
	margin: 0 auto;
}

#header-wrap {
	position: relative;
}

#info-bar-wrap, #footer-wrap {
	background-color: #3d3d3d;
}

#nav-wrap {
	background-color: #a03f3f;
}

#site-navigation {
	padding-bottom: 0;
}

#site-navigation li {
	margin-top: 0;
}

#site-navigation a {
	color: #fafafa;
	background: none;
	border: none;
	padding: 15px;
	border-radius: 0;
}

#site-navigation a:hover {
	color: rgba( 255, 255, 255, 0.6);
}

.more-link {
	padding: 5px 15px;
}

.header-cart {
	padding: 10px 20px;
}

.header-cart .fa {
	font-size: 1em;
}

/* center home page widgets image */
.so-widget-sow-image img {
	margin: auto;
	width: 200px;
}

/* blog */
.blog #content,
.single-post #content {
	max-width: 900px;
}

/* crop images on products page */
.edd_download_image {
  margin: 0 auto;
  padding: 0;
  height: auto;
  position: relative;
  overflow: hidden;

}
.edd_download_image a {
  display: block;
  width: 100%;
  height: auto;
	margin: 0 auto -10%;
}

/* product name in the image */
.edd-download .entry-header {
	position: relative;
	margin-bottom: 2em;
}

.edd-download .entry-header h1 {
	position: absolute;
	bottom: 6%;
	left: 3%;
	margin: 0;
	padding: 2px 12px;
	background-color: rgba( 30, 30, 30, 0.8);
	color: #FAFAFA;
	font-weight: bold;
	border-radius: 8px;
}

.edd-download .featured-img {
	margin: 0;
}

.edd-download .entry-content {
	margin: 0;
}

/* purchase and downloads history */
.entry-content #edd_user_history {
	border-width: 0;
}

.vendd-history-template #primary,
.vendd-edd-fes-shortcode table {
	max-width: 960px; /* instead of 722px */
}

.su-tabs.my-custom-tabs .su-tabs-pane { /* shortcodes ultimate tabs */
  border: none;
}

/*
 * fixes
 */
#search-input {
	width: 100%;
}

#edd_download_pagination, .edd_pagination {
	padding: 0;
}

/*
 * own styles
 */

#menu-footer {
	margin: 0;
	list-style: none;
}

#menu-footer li {
	margin: 10px;
	display: inline;
}

.site-info {
	margin: 10px;
}

.info-bar {
	float: right;
}

.so-panel {
	border: none;
}

.post-type-archive-pllkb main,
#support-link {
	text-align: center;
}

@media screen and ( min-width: 783px ) {
	.panel-first-child.panel-last-child.widget_text {
		margin-top: 100px;
	}
}

@media all and ( max-width: 1000px ) {
	/* fix */
	.edd_downloads_list.edd_download_columns_2 .edd_download {
		width: 49.5% !important;
	}
}

@media all and ( max-width: 600px ) {
	.edd_downloads_list.edd_download_columns_2 .edd_download {
		width: 100% !important;
	}
}

/*
 * knowledge base
 */

/* main page */
.pllkb-category {
	text-decoration: none;
	border: 1px solid #e0e0e0;
	cursor: pointer;
	display: inline-block;
	margin: 0 0.8% 20px;
	padding: 1.5em 1em;
	text-align: center;
	transition: background 0.15s ease 0s;
	vertical-align: top;
	width: 29%;
}

/* category */
.pllkb-articles-list {
	list-style: none;
}

/* notice */
.pll-notice {
	border: 2px solid #A03F3F;
	padding: 10px;
	background-color: rgba( 160, 63, 63, 0.1 );
}

/* Fix for EDD SL */
.edd_sl_license_row span .edd_sl_license_key {
	display: none;
	position: absolute;
	left: 0;
	top: 30px;
	z-index: 999;
	border: 1px solid #ddd;
	background: #f0f0f0;
	padding: 4px;
	width: 20em;
	max-width: inherit;
	text-align: center;
}

/* Fix for checkbox in support form */
.gform_wrapper .gform_body .check_support_request .gfield_label {
	display: none;
}
