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

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

/* default background */
body {
  background-color: #f2f2f2;
}
/* for Ludlum GmbH Products for LSL website */
body.ludlum-gmbh {
  background-color: #ffffff;
}

/* main content bottom padding */

#fav-mainwrap {
  padding-bottom: 15px;
  min-height: 500px;
}
.home #fav-mainwrap {
  min-height: auto; 
}

/* line spacing */
p {
  line-height: 1.8em;
  /*text-align: justify;*/
}
#fav-sidebar1 .moduletable p {
  text-align: left;
}
#fav-slide p {
  text-align: center;
}
table p {
  text-align: center;
  line-height: 1.5em;
}

/* list item spacing */
#fav-maincontent li {
  margin-bottom: 5px;
}

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

/* Add margin to topbar module position */
div#fav-topbar div.moduletable {
  margin-top: 20px;
  margin-bottom: 20px;
}

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

/* Align nav menu items */
/*@media (min-width: 992px) {
  div#fav-nav {
    width: 80%;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  div#fav-nav {
    width: 100%;
  }
}*/
#fav-nav .favnav, .favnav ul.nav {
  float: none;
}
.favnav ul.nav {
  margin-left: auto;
  margin-right: auto;
  display: table;
}

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

/* Make top drop down menu item background gray 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;
}

/* Lead position styling */
#fav-lead.favth-content-block {
  padding-top: 10px;
  padding-bottom: 5px;
}

/*buttons*/
.fav-container #fav-leadwrap.fav-module-block-color .favth-btn, .fav-container #fav-basewrap.fav-module-block-color .favth-btn {
  background-color: #981b1e;
  color: #ffffff;
}
.fav-container .favth-btn.btn-word-wrap {
  white-space: normal;
}
.fav-container .moduletable.favth-color .favth-btn:hover {
  background-color: #555;
}
/* Back button */
.back-button {
  background-color: #fff; 
  border: 1px solid #ccc; 
  border-radius: 4px;
  color: #0099ff;
}
.back-button:hover {
  color: #981b1e;
  background-color: #ddd;
}

/* h2 size in Hikashop category description */
.hikashop_category_information h2 {
  font-size: 30px;
  color: #333;
}

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

/* Table headers */
th {
  background-color: #b0c4de;
}

/* Job Listing table */
.table-job-listing th {
  background-color: #ffffff;
}
.table-job-listing tbody > tr:nth-child(2n) > td, .table-job-listing tbody > tr:nth-child(2n) > th {
  background-color: #f2f2f2;
}
.table-job-listing p {
  text-align: left;
}

/* RSForm Directory table header */
.directoryTable th {
  background-color: #ffffff;
}

/* Sidebar module margin */
#fav-sidebar1 .moduletable, #fav-sidebar2 .moduletable  {
  margin-top: 30px;
}

/* Side menu module padding */
.moduletable.favth-title-border {
  padding-top: 15px;
}
ul.menufavth-line ul.nav-child a {
  padding-left: 0px;
}

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

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

/* ordered list style */
ol {
  padding: 0 0 0 25px;
  margin-bottom: 14px;
}

/* list in table */
td ul {
  margin-bottom: 0px;
}

/* copyright position styling */
#fav-copyrightwrap {
  background-color: #f2f2f2;
}
#fav-copyrightwrap a {
  color: #93272c;
}
#fav-copyrightwrap a:hover {
  color: #808080;
}

/* Table header font weight */
.table th, strong {
  font-weight: 500;
}

/* Table - no borders */
.favth-table.no-border > tbody > tr > td {
  border-top: none;
}

/* Joomla Custom Fields */
dd.field-entry {
  margin-bottom: 5px;
}
span.field-label {
  font-weight: 500;
}

/*Hikashop Styling */

/* Product page table width */
.hikashop_product_page table {
  width: auto;
}
/* format product/category name in product/category listing */
.fav-container .hikashop_product_name a,
.fav-container .hikashop_category_name a {
  font-weight: 500;
  color: #0099ff;
}
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_row .hikashop_product_name {
  font-size: 16px;
  margin: 0px;
}
.fav-container .hikashop_product_name {
  font-size: 14px;
  margin: 0px;
}

/* Category listing div padding */
.fav-container .hikashop_subcontainer.thumbnail {
  padding: 15px;
}
/* Vertically align product listing content */
table.hikashop_products_table th, table.hikashop_products_table td {
  vertical-align: middle !important;
}
/* Table column header font weight */
.fav-container .hikashop_product_image.title, .fav-container .hikashop_product_name.title, th, strong, th.hikashop_product_field label {
  font-weight: 500;
  margin-bottom: 0px;
}
/* Hikashop custom field preserve white space (make a non-breaking space) */
div.hikashop_product_fieldpmt_diameter span {
  white-space: pre;
}
/* Show line break */
.fav-container .hikashop_product_page br {
    display: initial;
}
/* Hikashop additional product images */
.fav-container .hikashop_product_page .hikashop_small_image_div img.hikashop_child_image {
  height: 50px;
  margin: 2px;
}
.hikashop_product_page div.hikashop_small_image_div a {
  margin-bottom: 3px;
}
/* Hikashop shadowbox for images */
#sb-body, #sb-loading {
  background-color: #ffffff;
}

/* Hikashop product titles */
.fav-container h1.hikashop-title, .fav-container h5.hikashop-title {
  margin-top: 0px;
}
/* Hikashop category listing sidemenu */
.fav-container .moduletable .accordion-group h4{
  margin: 0px;
}
.fav-container .moduletable .accordion-group h4 a {
  color: #0099ff;
}
.fav-container .moduletable .accordion-group h4 a:hover {
  color: #981b1e;
}
.hikashop_category_list {
  padding: 0px;
}
.moduletable > h3:first-of-type {
  margin-top: 0px;
}
/* Hikashop filter */
.hikashop_filter_ProductSearch_2 {
  margin-top: 2rem;
}
.hikashop_filter_ProductSearch_2 input[type="text"] {
  width: 99%;
}
#hikashop_filter_button_module_447 {
 box-shadow: none; 
}

/* FavContent module image size */
div[id^="favcontent-image"] img, div[id*=" favcontent-image"] img {
  width: auto;
}

/* RSForm stylings */
.formRequired {
 color: red; 
}
input.rsform-input-box[type="text"] {
  width: 300px;
}
.formResponsive textarea {
  width: 450px;
}
form .row {
  margin-left: -15px;
}
#rsform-table1 .rsform-table-row .rsform-right-col {
  color: #333;
}


/* AcyMailing Subscribe Module */
td.acyterms {
  padding-right: 20px;
}
table.acym_form {
  margin-top: 10px;
  margin-right: auto;
  margin-left: auto;
}
.acym_module_form input[type="checkbox"] {
  margin: 0px 0px 4px;
}
.acym_module_form input[type="text"], .acym_module_form input[type="email"] {
  width: 250px;
}
.acym_posttext {
  font-size: 10px;
}

/* AcyMailing Archive Listing */
#acym_wrapper p.acym__front__archive__newsletter_sending-date {
  margin-bottom: 1em;
}
#acym_wrapper a.acym__modal__handle {
  color: #0099FF;
}
#acym_wrapper a.acym__modal__handle:hover {
  color: #981B1E;
}
#acym_wrapper .acym__front__archive .acym__front__archive__title {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3em;
}
#acym_wrapper h1 {
  margin-top: 2rem;
  margin-bottom: 14px;
  color: #000000;
}
#acym_wrapper div#acym__front__archive__search {
  margin-bottom: 20px;
}
#acym_wrapper .button {
  background-color: #981b1e;
  border: #981b1e;
}
#acym_wrapper a, #acym_wrapper p, #acym_wrapper h1 {
  font-family: 'Roboto', sans-serif;
}

/* Linky Map */
/* Google map tooltips: https://www.gstatic.com/charts/48.1/css/core/tooltip.css */
div[id^="linkymap"] p {
  text-align: left;
}

/* Joomla Search */
form.form-search input[type="text"] {
  width: 75%;
}

/* Product video */
.video {
  float: left;
  margin-right: 20px;
}

/* Article tags */
.label-info[href] {
  background-color: #808080;
}
.tags .label {
  font-weight: 500;
}

/* Jatex styling */
.TEX-SS, .MJX-TEX {
  font-family: 'Roboto', sans-serif !important;
}
mjx-math {
  font-size: 14px !important;
}

/* Label */
label {
  font-weight: 500;
  cursor: auto;
}

/* Module default text color for color backgrounds */
.fav-module-block-color {
  color: #111;
}

/* Title link in category blog */
.fav-container .blog h3 a {
  color: #0099FF;
}

/* Image in category blog listing */
.pull-left.item-image {
  margin-bottom: 30px;
}

/* Change line spacing on mobile */
@media (max-width: 991px){
  .mobile-links {
    line-height: 2.5;
  }
}

/* DPCalendar tooltip text */
.tippy-box p {
  color: #fff;
  text-align: left;
}

/* DPCalendar page header */
.fav-container .dp-page-heading {
  margin-top: 2rem;
  margin-bottom: 1.4rem;
}

/* DPCalendar calender page */
.fc-view-container {
  margin-bottom: 20px;
}

/* DPCalendar event page */
.com-dpcalendar-event__locations .dp-map {
	height: 400px;
}
.com-dpcalendar-event .dp-button.dp-button-mail {
  display: none;
}
.com-dpcalendar-event__actions.dp-button-bar {
  border-bottom: none;
}

/* DPCalendar upcoming events module */
.mod-dpcalendar-upcoming-default .dp-flatcalendar {
  margin-bottom: 1em;
  height: auto;
}
.mod-dpcalendar-upcoming-default .dp-flatcalendar__month {
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1.5em;
}
.mod-dpcalendar-upcoming-default .dp-flatcalendar__day {
  border: 1px solid #333;
  padding-top: 1.5em;
  border-radius: 3px;
}
.mod-dpcalendar-upcoming-default .dp-event-url {
 font-size: 110%; 
}
.mod-dpcalendar-upcoming-default__event {
  padding-bottom: 10px;
  margin-bottom: 10px;
}

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

.disable-links a {
  color: #333;
  pointer-events: none;
}

/* Open House Buttons */
.fav-container .favth-btn.favth-btn-small.open-house-btn {
  background-color: #223667;
  box-shadow: none;
}
.fav-container .favth-btn.favth-btn-small.open-house-btn:hover {
  background-color: #333;
}

/* EB Timeline */
.is_articletimeline .newsflash-image {
  max-height: none;
}
.is_timeline_vt7 .timeline .timeline__items .timeline__item .timeline__item__inner .timeline__content__wrap p.timeline-title {
  margin-bottom: 10px;
}
.is_articletimeline .is_timeline_vt7 .timeline__item--left .newsflash-image img {
  float: unset;
  margin-right: 0;
}
.is_articletimeline .is_timeline_vt7 .timeline__item--right .newsflash-image img {
  float: unset;
  margin-left: 0;
}