/*

Theme Name: Oceanwp Child Theme


Description: For woocommerce customisation


Author: Jesse Shrock


Template: oceanwp


Version: 1.0.0


*/

@import "css/placeholders.css";

@import "css/tiles.css";

@import "css/cart.css";

@import "css/mobile.css";

@import "css/tabs.css";

@import "css/frontpage.css";

@import "css/help.css";

@import "css/product.css";

@import "css/filters.css";

/* login */

#login>*:not(form) * {
    color: #000 !important;
}

/* HEADER */

/* prevent filter dropdown from appearing over header during scrolling */

#site-header {
    z-index: 1000 !important;
}

#userGreeting {
    position: fixed;
    background: #fff;
    padding: 2px 6px;
    top: 28px;
    z-index: 1001;    
    left: 0px;
}

li.menu-item-object-logout a, li.menu-item-object-login a {
    background: linear-gradient(to bottom,transparent 0%, transparent 35%, #fff 35%, #fff 65%, transparent 65%, transparent 100%);
    color: #000 !important;
}

/* adds 'marketplace' title after logo */

a.custom-logo-link:after {
    content: 'marketplace';
    display: inline-block;
    /* width: 180px; */
    color: #fff;
    /* height: 40px; */
    z-index: 4;
    font-size: 28px;
    letter-spacing: 2px;
    font-style: italic;
    vertical-align: middle;
}

/* hide quantity in shopping cart summary - we have ensured users can only ever buy 1 of each type of lesson */

#menu-main-navigation .widget_shopping_cart ul.cart_list li .owp-grid-wrap .owp-grid .quantity {
    color: transparent;
    cursor: default;
    margin-left: -23px;
}

/*div#mobile-dropdown * {
	color: white;
}*/

#mobile-dropdown {
	background-color: inherit;
}

#site-logo a.site-logo-text {
    font-style: italic;
    letter-spacing: 2px;
    font-size: 32px !important;
}

#main .page-header-title {
    line-height:32px;
}

body.woocommerce-shop h2.page-header-title.clr:before {
    content: '';
    display: inline-block;
    height: 30px;
    width: 30px;
    margin-right: 8px;
    background-image: url(https://lessonplanner.com.au/marketplace/wp-content/themes/oceanwp-child/icons/icn-marketplace.png);
    vertical-align: top;
}

/* as long as shop page is also home page, need to override center align */
body.woocommerce-shop .page-header-inner {
    text-align: left !important;
}

/*vertical lines between navigation links */

#menu-main-navigation a.menu-link:after {
    content: '';
    display: block;
    position: absolute;
    right: 0px;
    width: 2px;
    background: linear-gradient(to bottom,transparent 0%, transparent 35%, #fff 35%, #fff 65%, transparent 65%, transparent 100%);
    height: 100%;
    top: 0px;
}

.current-menu-item {
    text-decoration: underline;
}

/* CONTENT CONTAINERS */

#main #content-wrap {
	width: 1400px;
	padding-top: 30px !important;
}

#right-sidebar,#primary {
    background: #fff;
    box-shadow: 4px 4px 8px #666, -2px -2px 5px #666;
}

#primary {
    padding-left: 0;
}

#content {
    padding: 20px 20px 0px 20px;
}

#right-sidebar {
	max-width: 320px;
	width: 26%;
	padding: 0;
	position: static;
}

#right-sidebar-inner .sidebar-box {
    margin-bottom: 0;
    padding: 20px;
}

.sidebar-box:nth-child(even) {
    background: #eee;
}

#clearSearch {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
    margin: auto auto;
    display: block;
}

.content-area {
	max-width: 1000px;
	width: 70%;
}

.woocommerce-pagination ul.page-numbers {
    margin-bottom: 10px;
}

/* FILTER ELEMENTS */

input[type="checkbox"] {
    border: 1px solid #fd6f29 !important;
}

#dgwt-wcas-search-input-1 {
    border: 1px solid #fd6f29;
}

.select2-selection.select2-selection--multiple[role="combobox"] {
    border: 1px solid #fd6f29;
    background-image: url(https://lessonplanner.com.au/marketplace/wp-content/themes/oceanwp-child/icons/icon-downarrow.png);
    background-size: 16px 8px;
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) 50%;
}

.bapf_head * {
    color: #fd6f29;
}

form.woocommerce-ordering {
    height: 34px;
    background: #fff;
}

#dgwt_wcas_ajax_search-2 .widget-title {
    font-size: 16pt;
    font-weight: 600;
    color: #fd6f29;
    letter-spacing: 0;
    text-transform: none;
    padding-left: 0;
    border: none;
    text-align:center;
}

/* AREA/DISCIPLINE DROPDOWN MENU */

.select2-container--classic .select2-selection--multiple {
	cursor: pointer;
}

.select2-container--classic.select2-container--open .select2-dropdown {
	margin-top: -2px;
}

.select2-results__option[title$='child category'] {
	font-style: italic;
	display: inline-block;
	width: 100%;
	background-color: #ddd;
}

/*pointer icon for child categories*/

.select2-results__option[title$='child category'] {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNNy4zMyAyNGwtMi44My0yLjgyOSA5LjMzOS05LjE3NS05LjMzOS05LjE2NyAyLjgzLTIuODI5IDEyLjE3IDExLjk5NnoiLz48L3N2Zz4=);
    background-repeat: no-repeat;
    background-size: 13px 17px;
    padding-left: 15px;
    background-position: 3px 50%;
}

/*removing hyphen added by WP*/

.select2-results__option[title$='child category']:first-letter {
    visibility:hidden;
}

.select2-results__option[title$='parent category'] {
	font-weight: bold;
	font-size: 13pt;
}

.select2-results__option:not(:first-child)[title$='parent category'] {
	border-top: 2px solid #000;       
}

.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
    color: #b22;
    border: 1px solid #b22;
    height: 11px;
    margin-right: 5px;
    vertical-align: 60%;
    line-height: 8px;
    border-radius: 50%;
}

.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #f44;
    border: 1px solid #f44;
}

.select2-container--classic .select2-selection--multiple .select2-selection__choice {
    padding: 0 5px !important;   
}

.select2-container--classic .select2-selection--multiple .select2-selection__choice[title$="child category"] {
    margin: 7px 3px 7px 3px !important;
    font-size: 11pt;
    height: 25px;
}

.select2-container--classic .select2-selection--multiple .select2-selection__choice[title$="parent category"] {
    font-size: 13pt;
    font-weight: bold;
    height: 33px;
    margin: 4px 2px 4px 2px !important;
}

.select2-container--classic .select2-dropdown--below {
    box-shadow: 6px 6px 9px #444;
}

/* PRODUCTS CONTAINER/LAYOUT */

.woocommerce .entry-content .oceanwp-toolbar {
    padding: 8px 10px;
    background: #eee;
    box-sizing: border-box;
    width: calc(100% + 40px);
    position: relative;
    left: -20px;
}

.woocommerce ul.products.grid {
	text-align: center;
}

.oceanwp-row .span_1_of_3.product {
    width: 31.33%;
    margin: 1%;
}

/* INDIVIDUAL PRODUCTS */

.woocommerce ul.products .product {
    border: 1px solid #666;
    padding: 0.8rem;
    /* overriding woocommerce style */
    padding-bottom: 0.8rem !important;
    box-shadow: 3px 3px 5px #666;
	float: none;
	display: inline-block;
}

.woocommerce ul.products.grid .product {
	max-width: 260px;
	vertical-align:top;
}

.category {
	color: white;
	font-weight: bold;
}

.woocommerce ul.products li.product .woo-entry-inner li {
	margin-bottom: 0 !important;
	font-weight: 300 !important;
}

.lesson-area-banner {
	width: 100%;
}

/* this is the 'quick view' mouseover link */
.woocommerce-LoopProduct-link {
    max-height: 28px;
}

p.lesson-area-title {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 13px;
}

.woo-entry-inner li.title {
    padding: 10px;
    background-color: #fff;
    margin-top: -32px;
    height: 62px;
}

.woo-entry-inner li.title h2, .woo-entry-inner li.title h2 a {
    width: 100%;
    height: 100%;
}

.woo-entry-inner li.title h2 a {
    display: -webkit-box !important;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 42px;
}

.woo-entry-inner li.title h2 {
    margin-bottom: 0;  
    width: 100%;
    font-size: 15px;
    font-weight: 700;
}

.owp-quick-view {
	bottom: unset;
	top: 0;
}

li.price-wrap {
    padding: 10px;
}

.quantity {
    display: none !important;
}

.woocommerce ul.products li.product .price .amount {
	color: #444 !important;
}

.woo-entry-inner li.category {
	transform: translateY(-100%);
	height: 32px;
    margin-bottom: -32px;
	font-size: 14px;
	background: rgba(0,0,0,0.6);
}

.woocommerce ul.products li.product li.category a {
    color: white !important;
    font-weight: bold;
    display: block;
    padding: 9px;
    font-style: normal;
    border-radius: 15px;
	font-size: 14px;
}

/*a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart.added {
    border: 3px double #666;
    color: #666;
}*/

/* for some reason some widgets include empty paragraphs, which add useless whitespace by their margins */

p:empty {
    display: none;   
}

/* parent container for setting frame to 4:3 ratio regardless of screen size */
.iframeCont {
    width: 100%;
    padding-bottom: 75%;
    position: relative;
}

.iframeCont iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

