/*
/   name           Haven
/   version        1.6
/   description    Responsive and customizable Joomla! template
/   demo           http://demo.favthemes.com/haven
/   author         FavThemes
/   author URL     https://www.favthemes.com
/   copyright      Copyright (C) 2012-2017 FavThemes.com. All Rights Reserved.
/   license        Licensed under GNU/GPLv3 (http://www.gnu.org/licenses/gpl-3.0.html)
*/

/*//////////////////////////////////////////////////////////////////////////////
///
///  custom style
///
//////////////////////////////////////////////////////////////////////////////*/

/* text formatting */
p {
  text-align: justify;
  line-height: 2em;
}
div#fav-maincontent li {
  line-height: 2em;
}

/* Change padding around lead module position */
#fav-lead {
  padding-top: 5px;
  padding-bottom: 5px
}

/* Change top drop down menu opacity */
#fav-headerwrap, #fav-headerwrap.fav-fixed {
  opacity: 1 !important;
}

/* Make top drop down menu item background gray and font color black on hover and selection */
#fav-headerwrap .favnav .nav-child li.active a, #fav-headerwrap .favnav .nav-child li a:hover, #fav-headerwrap .favnav .nav-child li a:focus, #fav-headerwrap .favnav .nav-child li .nav-header, #fav-headerwrap .favnav .nav-child li.active .nav-header, #fav-headerwrap .favnav .nav-child li .nav-header:hover, #fav-headerwrap .favnav .nav-child li .nav-header:focus {
  background-color: #f2f2f2 !important;
}

/* Change margin around navigation menu */
.favnav ul.nav > li > a, .favnav ul.nav > li > .nav-header {
  margin: 0px 5px !important;
}

/* Change padding around navigation menu links */
#fav-container .favnav.navstyle-2 ul.nav > li > a, #fav-container .favnav.navstyle-2 ul.nav > li > .nav-header {
  padding: 10px 14px;
  border-radius: 0px;
}

/* Center navigation menu items */
div#fav-nav {
  width: 82%;
}

/* Keep main menu bar margins on smaller screens */
@media (max-width: 991px) {
  #fav-container .favnav ul.nav > li > a,
  #fav-container .favnav ul.nav > li > .nav-header {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
  }
  #fav-container .favnav.navstyle ul.nav > li > a,
  #fav-container .favnav.navstyle ul.nav > li > .nav-header {
    margin-bottom: 5px !important;
  }
}

/* Add background color to element (used mainly for modules) */
.gray
{
  background-color: #f2f2f2;
}
.light-gray-blue
{
  background-color: #d6dce5;
  color: #4080c0;
}

/* unordered list style */
ul {
  list-style: disc;
  padding: 0 0 0 25px;
}

/* ordered list style */
ol {
  margin-left: 25px;
}

/* Set h3 size (so first one won't be same as h2) */
.fav-container h3:first-of-type {
  font-size: 24px;
}

/* make hr color darker */
hr {
  border-top-color: #ccc;
}

/* table header cell color */
th {
  color: #f5f5f5;
  background-color: #4080c0;
} 

/* Product page table width */
.hikashop_product_page table {
  width: auto;
}

/* remove bottom margin from label elements (problem in product listing table) */
label {
  margin-bottom: 0px;
}

/* format product name in product listing */
.fav-container .hikashop_product_name a {
  font-weight: bold;
  color: #1B98D6;
}
span.hikashop_product_name {
  text-align: center;
}

/* Change category/product name font size and margin in listings */
.fav-container .hikashop_category_name,
.fav-container .hikashop_product_name {
  font-size: 14px;
  margin: 0px;
}

/* Center text in product listing */
.table th, .table td {
  text-align: center;
}

/* Remove bottom margin from product image in product listing */
.fav-container .hikashop_product_image, .fav-container .hk_product_image {
  margin-bottom: 0px;
}

/* Vertically align product listing content */
table.hikashop_products_table th, table.hikashop_products_table td {
  vertical-align: middle !important;
}

/* Product side filter spacing */
.hikashop_filter_main {
  margin-bottom: 15px;
}

/* Add spacing between filter checkbox and label */
span.hikashop_filter_checkbox label {
  margin-left: 5px;
}

/* Align checkboxes with text */
input[type="checkbox"] {
  margin: 0px;
}

/* Make filter titles bold */
span.hikashop_filter_title {
  font-weight: bold;
}

/* Filter button font */
.fav-container .hikabtn {
  font-size: 15px;
}

/* Remove left padding from product description */
.hikashop_product_left_part {
  padding-left: 0px;
}

/* Side menu top margin and padding */
.moduletable.favth-border {
  margin-top: 25px;
  padding-top: 15px;
}

/* Side menu margin and padding */
.moduletable.favth-title-border > h3:first-of-type {
  padding-bottom: 5px;
  margin-bottom: 10px;
}

/* Category page title */
div.hikashop_category_description_content > h3, div.hikashop_category_description_content > h1 {
  padding-top: 20px;
  font-size: 24px;
}

/* Product page title */
div.hikashop_product_top_part > h3 {
  padding-top: 20px;
}

/* Product page thumbnail images */
.fav-container .hikashop_product_page .hikashop_small_image_div img.hikashop_child_image {
  height: 50px;
  margin: 2px;
}

.fav-container .hikashop_product_page .hikashop_small_image_div {
  text-align: center;
}

/* Article title */
div.page-header > h3 {
  margin-top: 40px;
}
h1[itemprop="headline"] {
  margin-top: 40px;
  font-size: 24px;
}


/* Recently Viewed products div formatting */
.hikashop_listing_img_title {
  padding: 15px;
}
.fav-container .hikashop_product_name {
  margin: 15px;
}

/* Product selection page counter display */
.fav-container .hikashop_products_pagination .counter, .fav-container .hikashop_subcategories_pagination .counter {
  margin-top: 58px;
}

/* Product image modal window formatting */
#sbox-window {
  padding: 25px;
  box-sizing: content-box;
}

/* Product listing div padding */
.fav-container .hikashop_subcontainer.thumbnail {
  padding: 15px;
}

/* ul font color in footer */
#fav-footerwrap ul {
  color: #202020;
}

/* copyright background color */
#fav-copyrightwrap {
  background-color: #f2f2f2;
}

/* DPCalendar event location description */
.com-dpcalendar-event .dp-description__label {
  width: auto;
}
.com-dpcalendar-event .dp-description__description {
  margin-left: 75px;
}

/* Main menu submenu font size */
.favnav ul.nav ul.nav-child a, .favnav ul.nav ul.nav-child .nav-header {
  font-size: 15px;
}

/* Side menu subitems padding */
ul.menufavth-basic ul.nav-child a, ul.menufavth-arrow ul.nav-child a, ul.menufavth-side ul.nav-child a, ul.menufavth-line ul.nav-child a, ul.menufavth-basic ul.nav-child .nav-header, ul.menufavth-arrow ul.nav-child .nav-header, ul.menufavth-side ul.nav-child .nav-header, ul.menufavth-line ul.nav-child .nav-header {
  padding-left: 0px;
}

/* Voltage divider socket option table */
table.vd-socket > tbody > tr > td {
  border-top: none;
}

/* Add margin to top and bottom of main page content */
div.item-page {
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Remove slide position padding */
div#fav-feature {
  padding: 0px;
}

/* Slide links */
.slide-link {
  color: #4080c0; 
  font-size: 14px;
  background-color: #dcdcdc; 
  padding: 10px;
  display: inline-block;
}

/* <label> cursor */
label {
  cursor: auto;
}

/* Upcoming Exhibitions date icon size */
.dp-flatcalendar {
  height: 5em !important;
}

/* Upcoming Exhibitions date font size */
.mod-dpcalendar-upcoming-simple .dp-date__start, .mod-dpcalendar-upcoming-simple .dp-date__end, .mod-dpcalendar-upcoming-default .dp-date__start, .mod-dpcalendar-upcoming-default .dp-date__end {
  font-size: 0.9em;
}

/* Links in mobile slideshow */
.fav-container h4 a, .fav-container h5 a {
  color: #4080c0;
}

/* homepage News & Announcements and Upcoming Exhibitions modules size changes */
@media (min-width: 768px) {
  .width-67 {
    width: 67%;
    float: right;
  }
  .width-133 {
    width: 133%;
  }
}

/* mobile template section padding */
@media (max-width: 767px) {
  .favth-content-block {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

/* Application page tables */
.application > tbody > tr > td {
  padding: 15px;
}

/* Forms - text input fields */
input[type="text"]{
  padding: 4px 6px;
}
/* RMA form table */
#rsform_4_page_0 td {
  text-align: center;
}
/* Feedback form table */
#rsform_5_page_0 .favth-table {
  width: auto;
}
#rsform_5_page_0 .favth-table td {
  vertical-align: middle;
}
/* Form required field asterisk */
.formRequired {
  color: red;
}

/* Linky map tooltips */
div.google-visualization-tooltip p {
  text-align: left;
}

/* FavContent Module Images */
div.favth-content-block img {
  width: auto;
}

/* Google reCAPTCHA v3 */
.grecaptcha-badge { visibility: hidden; }