/*
Theme Name: Martfury Child
Theme URI: http://drfuri.com/unero
Author: DR Furuu
Author URI: http://drfuri.com
Description: Martfury Child Theme.
Version: 1.0
License: GNU General Public License v2+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: martfury-child
Domain Path: /lang/
Tags: one-column, two-columns, left-sidebar, right-sidebar, full-width-template, post-formats, theme-options, threaded-comments, translation-ready
Template: martfury
*/



.logo {
	position: relative;
}
.site-header .logo img.site-logo-o {
	position: absolute;
	animation-iteration-count: infinite;
}
.logo #oFirst {
      animation-name: spin1;
      animation-duration: 5s;
      animation-timing-function: linear;
}
.logo #oSecond {
      animation-name: spin1;
      animation-delay: 2s;
      animation-duration: 10s;
      animation-timing-function: linear;
}
@keyframes spin1 {
  0% {
    transform: rotate(0deg); }
  25% {
    transform: rotate(-360deg); }
  100% {
    transform: rotate(-360deg); } }
.topbar-right #custom_html-13 .gamipress-user-points:not(.gamipress-layout-none) {
	margin-bottom: 0.5rem !important;
}
.topbar-right .widget_icl_lang_sel_widget {
	width: 160px;
}
.topbar-mobile .widget {
	width: 130px;
}
.backtotop {
	bottom: 50px !important;
}
.woocommerce-widget-layered-nav .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item.show-swatch {
	margin: 0 !important;
	padding: 0 !important;
}
.site-header .extras-menu .menu-item-account > a:hover {
	text-decoration-line: underline;
}


.gamipress-user-points img {
	max-width: 15px;
	margin-right: 10px;
}
.registration.register.buddypress #buddypress {
    margin-right: auto !important;
    margin-left: auto !important;
}
.registration.register.buddypress #signup-form #submit {
    height: 42px;
    line-height: 42px;
    padding-left: 20px;
    padding-right: 20px;
    min-width: 100px;
    padding-top: 0;
    padding-bottom: 0;
    border: none;
    font-weight: 700;
    border-radius: 5px;
    white-space: nowrap;
    background-color: var(--mf-background-primary-color);
    color: var(--mf-background-primary-text-color);
}
.registration.register.buddypress .bp-messages.info {
	display: none;
}
/*.advert-price {
	color: var(--mf-background-primary-color) !important;
    border: 2px solid var(--mf-background-primary-color) !important;
}
.advert-link-wrap:hover .advert-price {
	color: #000 !important;
	background-color: var(--mf-background-primary-color) !important;
}*/
#custom_html-13 {
	display:none;
}
@media screen and (min-width: 1200px) {
	.site-header .logo img.site-logo-o {
		width: 36px;
		bottom: 10px;
	}
	.logo #oFirst {
		left: 113px;
	}
	.logo #oSecond {
		left: 189px;
	}	
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
	.site-header .logo img.site-logo-o {
		width: 30px;
		bottom: 8px;
	}
	.logo #oFirst {
		left: 91px;
	}
	.logo #oSecond {
		left: 154px;
	}
}
@media screen and (min-width: 560px) and (max-width: 991px) {
	.site-header .logo img.site-logo-o {
		width: 39px;
		bottom: 9px;
	}
	.logo #oFirst {
		left: 117px;
	}
	.logo #oSecond {
		left: 197px;
	}
}
@media screen and (max-width: 559px) {
	.site-header .logo img {
		max-width: 170px;
		width: 170px;
	}
	.site-header .logo img.site-logo-o {
		width: 26px;
		bottom: 6px;
	}
	.logo #oFirst {
		left: 80px;
	}
	.logo #oSecond {
		left: 135px;
	}
}

.hide_vendor_custom_regfield {
  display: none !important;
}

.adverts-options, .footer-bottom, #data-personal-li, .site-footer .footer-widgets:after {
	display: none !important;
}


/* Roma Custom */
.my-adverts-category-icon-big{
	height: 300px !important;
	overflow: hidden;
	text-align: center;
}

.my-adverts-category-icon-big img {
	height: 100%;
	margin-left: 0;
	width: 600px;
}

.adverts-flexbox strong{
	display: flex;
}

@media (min-width: 0px) and (max-width: 760px) {
	.adverts-flexbox strong{
		display: block;
	}
}

.adverts-category-all-main{
	display: block !important;
	text-align: center;
	margin-top: -300px;
	height: 300px;
	box-sizing: border-box;
	overflow: hidden;
}

.adverts-category-all-main a{
	color: white;
	letter-spacing: .1rem;
	font-weight: normal;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .75);
	display: inline-block;
	width: 100%;
	height: 300px;
	box-sizing: border-box;
	padding-top: 260px !important;
	background: linear-gradient(transparent, transparent, transparent, rgba(0, 0, 0, .75));
}

.adverts-category-all-main a:hover{
	color: var(--mf-primary-color);
	letter-spacing: .1rem;
}

.adverts-flexbox-item{
	border-radius: 1rem;
	overflow: hidden;
	background-color: rgb(234,243,248) !important;
	padding: 0 !important;
	flex-grow: 1;
}

.adverts-icon-folder{
	width: 100%;
	height: 300px !important;
	background: url("https://picsum.photos/600") no-repeat center;
	background-size: cover;
}

.adverts-icon-folder::before{
	content: none !important;
}

.adverts-flexbox-list li a{
	color: black;
	opacity: 0.5;
	font-weight: 500;
}

.adverts-flexbox-list li a:hover{
	color: var(--mf-primary-color);
}

.adverts-flexbox-list > li{
	padding: 0 1.5rem !important
}

.adverts-flexbox-list li:first-child{
	padding-top: 1rem !important;
}

.adverts-flexbox-list li:last-child{
	padding-bottom: 1rem !important;
}

.wpb_text_column :last-child{
	margin-bottom: 2% !important
}

/* -------------------- BADOG POINTS SECTION -------------------------------------------- */

@media screen and (min-width: 768px){
	.gamipress-user-points[class*="gamipress-columns"]>.gamipress-points{
		padding: .5em !important;
	}

	.gamipress-user-points:not(.gamipress-layout-none) {
		margin-bottom: 0rem !important;
	}
}

/* -------------------------- USER BUDDYPRESS SECTION -------------------------------- */

.bp-navs ul li a,
.bp-navs ul li span {
  border: 0;
  display: block;
  padding: 5px 10px;
  text-decoration: none;
  text-shadow: 0px 0px 0px black;
}

.buddypress-wrap .bp-navs li:not(.current) a:focus,
.buddypress-wrap .bp-navs li:not(.current) a:hover,
.buddypress-wrap .bp-navs li:not(.selected) a:focus,
.buddypress-wrap .bp-navs li:not(.selected) a:hover {
  background-color: transparent;
  color: white;
  text-shadow: 0px 0px 0px white;
}

/* BIG SCREENS */

@media screen and (min-width: 46.8em) {
  .buddypress-wrap .main-navs:not(.dir-navs) li.current a,
  .buddypress-wrap .main-navs:not(.dir-navs) li.selected a {
    background: #fff;
    color: black;
    font-weight: 900;
  }

  .main-navs {
    background-color: #fcb800;
  }

  .main-navs a {
    color: black;
    font-weight: 500;
    letter-spacing: 0.05rem;
  }

  .bp-subnavs a {
    color: #666;
    letter-spacing: 0.05rem;
    font-weight: 400;
  }

  .bp-subnavs a:hover {
    color: #fcb800 !important;
    text-shadow: 0px 0px 0px #fcb800 !important;
  }

  #subnav .selected a {
    color: #fcb800;
    text-shadow: 0px 0px 0px #fcb800 !important;
  }

  .main-navs .selected a {
    color: black;
    font-weight: 900 !important;
    background-color: #fcb800 !important ;
  }
  .buddypress-wrap.bp-dir-hori-nav:not(.bp-vertical-navs)
    nav:not(.tabbed-links) {
    border-top: none;
  }
}

/* SMALL SCREENS */

@media screen and (max-width: 46.8em) {
  .buddypress-wrap:not(.bp-single-vert-nav) .bp-navs li {
    background: #fcb800;
  }
}

.buddypress-wrap .bp-subnavs {
  margin-top: 0;
}

.single-headers .activity {
  position: absolute;
  top: 280px;
}

.buddypress-wrap .item-body {
  margin-top: 0;
}

.buddypress-wrap .item-body .screen-heading {
  display: none;
}

.buddypress-wrap .profile.edit .editfield {
  background: transparent;
  border: none;
  margin: 15px 0;
  padding: inherit;
}

.buddypress-wrap .field-visibility-settings,
.buddypress-wrap .field-visibility-settings-header {
  display: none;
}

.buddypress-wrap fieldset legend {
  opacity: 0.7;
  color: #666666;
  font-weight: 400;
}
.buddypress-wrap input[type="email"]:focus,
.buddypress-wrap input[type="password"]:focus,
.buddypress-wrap input[type="tel"]:focus,
.buddypress-wrap input[type="text"]:focus,
.buddypress-wrap input[type="url"]:focus,
.buddypress-wrap textarea:focus {
  border-color: #fcb800 !important;
  box-shadow: 0 0 8px #eaeaea !important;
}

.buddypress-wrap .standard-form .groups-members-search input[type="search"],
.buddypress-wrap .standard-form .groups-members-search input[type="text"],
.buddypress-wrap .standard-form [data-bp-search] input[type="search"],
.buddypress-wrap .standard-form [data-bp-search] input[type="text"],
.buddypress-wrap .standard-form input[type="color"],
.buddypress-wrap .standard-form input[type="date"],
.buddypress-wrap .standard-form input[type="datetime-local"],
.buddypress-wrap .standard-form input[type="datetime"],
.buddypress-wrap .standard-form input[type="email"],
.buddypress-wrap .standard-form input[type="month"],
.buddypress-wrap .standard-form input[type="number"],
.buddypress-wrap .standard-form input[type="password"],
.buddypress-wrap .standard-form input[type="range"],
.buddypress-wrap .standard-form input[type="search"],
.buddypress-wrap .standard-form input[type="tel"],
.buddypress-wrap .standard-form input[type="text"],
.buddypress-wrap .standard-form input[type="time"],
.buddypress-wrap .standard-form input[type="url"],
.buddypress-wrap .standard-form input[type="week"],
.buddypress-wrap .standard-form select,
.buddypress-wrap .standard-form textarea {
  background: inherit;
}

.buddypress-wrap .standard-form input[required]:valid,
.buddypress-wrap .standard-form select[required]:valid,
.buddypress-wrap .standard-form textarea[required]:valid {
  border-color: transparent;
}

.buddypress-wrap .standard-form input[required]:focus,
.buddypress-wrap .standard-form select[required]:focus,
.buddypress-wrap .standard-form textarea[required]:focus {
  border-color: #fcb800;
  border-width: 2px;
}

.buddypress-wrap .standard-form div.submit input {
  background-color: black;
  font-weight: 600;
  color: white;
  border-radius: 0.5em !important;
  padding: 20px 40px;
  font-size: 18px;
  margin-left: 0.35em;
}

.buddypress-wrap .standard-form div.submit input:hover {
  background-color: #fcb800
}

.bp-required-field-label {
  display: none;
}

/* Custom */
.profile-edit .field_1::before,
.profile-edit .field_3::before,
.profile-edit .field_8::before {
  margin: 1.5em 0.5em;
  margin-top: 0.5em;
  padding-top: 1.5em;
  border-top: 1px solid rgba(238, 238, 238, 0.7);
  font-weight: 600;
  color: black;
  font-size: 16px;
}
.profile-edit .field_1::before {
  content: "Osobní údaje";
  border: none;
  padding-top: 0;
}

.profile-edit .field_3::before {
  content: "Kontaktní údaje";
}

.profile-edit .field_8::before {
  content: "Firemní údaje";
}

.editfield input {
  color: black;
}

/* CUSTOM CONTAINER FOR NAME TITLE */
.profile-page-header {
  position: relative;
  overflow: visible;
}

.profile-page-header .entry-title {
  position: absolute;
  top: 345px;
}

@media (max-width: 782px) {
  .profile-page-header .entry-title {
    left: 50%;
    top: 405px;
    transform: translateX(-50%);
  }

  .single-headers .activity {
    top: 330px;
    transform: translateX(-50%);
  }
}

@media (min-width: 783px) {
  .profile-page-header .entry-title {
    width: 720px;
    left: calc(50% + 195px);
    transform: translateX(-50%);
  }
}

@media (min-width: 960px) and (max-width: 991px) {
  .profile-page-header .entry-title {
    width: calc(840px + ((100vw - 960px) / 2)); /*840px - 855.5px*/
    left: calc(50% + 195px);
    transform: translateX(-50%);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .profile-page-header .entry-title {
    width: calc(981px + ((100vw - 992px) / 2)); /*981px - 1084.5px*/
    left: calc(50% + 195px);
    transform: translateX(-50%);
  }
}

@media (min-width: 1200px) {
  .profile-page-header .entry-title {
    width: calc(1185px + ((100vw - 1200px) / 2)); /*1185px*/
    left: calc(50% + 195px);
    transform: translateX(-50%);
  }
}

.buddypress-wrap input[type=text],
.buddypress-wrap input[type=email],
.buddypress-wrap input[type=tel],
.buddypress-wrap input[type=password],
.buddypress-wrap textarea {
	border: 1px solid #d9d9d9 !important;
	background: #fff !important;
	padding: 10px !important;
	border-radius: .5em !important;
}

.profile-page-header .entry-title {
	padding-top: 0;
	padding-bottom: 0; 
  /* Padding ???? */
  font-size: 24px;
  text-align: left;
  z-index: 50;
}

@media screen and (min-width: 1199px) {
  .header-department-bot .mr-extra-department .products-cats-menu.open .cats-menu-title:after{
    transform: translateY(-50%);
  }
  .site-header .products-cats-menu.open .toggle-product-cats, .site-header .products-cats-menu.mf-closed .toggle-product-cats {
    opacity: 0;
    z-index: -999;
    top: 120%;
    transform: scaleX(0);
}
 .site-header .products-cats-menu:hover .toggle-product-cats {
    opacity: 1;
    z-index: 991;
    top: 100%;
    transform: scaleX(1);
  }

}

/* MENU STYLING */

/* #menu-primary-menu > .menu-item:hover > .dropdown-submenu, 
#menu-primary-menu-czech > .menu-item:hover  > .dropdown-submenu {
  overflow: auto;
  max-height: 300px;
} */

/* SCROLBALL */

.toggle-product-cats::-webkit-scrollbar, 
.nav .menu .is-mega-menu .dropdown-submenu .mega-menu-content::-webkit-scrollbar {
  width: 8px;
  height: 6px;
}
.toggle-product-cats::-webkit-scrollbar-button, .nav .menu .is-mega-menu .dropdown-submenu .mega-menu-content::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}
.toggle-product-cats::-webkit-scrollbar-thumb, .nav .menu .is-mega-menu .dropdown-submenu .mega-menu-content::-webkit-scrollbar-thumb {
  background: #ffe014;
  border: 0px none #ffffff;
  border-radius: 50px;
}
.toggle-product-cats::-webkit-scrollbar-thumb:hover, .nav .menu .is-mega-menu .dropdown-submenu .mega-menu-content::-webkit-scrollbar-thumb:hover {
  background: #ffd70f;
}
.toggle-product-cats::-webkit-scrollbar-thumb:active, .nav .menu .is-mega-menu .dropdown-submenu .mega-menu-content::-webkit-scrollbar-thumb:active {
  background: #ffe014;
}
.toggle-product-cats::-webkit-scrollbar-track, .nav .menu .is-mega-menu .dropdown-submenu .mega-menu-content::-webkit-scrollbar-track {
  background: #cccccc;
  border: 0px none #ffffff;
  border-radius: 50px;
}
.toggle-product-cats::-webkit-scrollbar-track:hover, .nav .menu .is-mega-menu .dropdown-submenu .mega-menu-content::-webkit-scrollbar-track:hover {
  background: #bbbbbb;
}
.toggle-product-cats::-webkit-scrollbar-corner, .nav .menu .is-mega-menu .dropdown-submenu .mega-menu-content::-webkit-scrollbar-corner {
  background: transparent;
}

/* Header Menu */
.cats-menu-title{
  padding-left:0px;
}

.header-row{
  justify-content: center;
}
.mr-header-menu, .mr-extra-department{
  width: auto;
}
.mr-extra-department{
  padding-right: 29px
}
.cats-menu-title{
  font-weight: 400 !important;
}

.nav .menu .is-mega-menu .dropdown-submenu .menu-item-mega > a:not(.dropdown-toggle) {
  font-size: 14px;
  font-weight: normal;
}

.header-department-bot .mr-extra-department .products-cats-menu.open::before {
  width: 0;
}

.mr-extra-department .products-cats-menu .cats-menu-title::after{
  font-weight: normal;
}

.site-header .products-cats-menu .cats-menu-title .text::before {
  content: "";
  position: absolute;
  top: 120%;
  left: calc(50% - 5px);
  width: 13px;
  height: 13px;
  transform: rotate(
45deg
);
  border-left: 1px solid #cccccc;
  border-top: 1px solid #cccccc;
  background-color: #fff;
  z-index: -1;
  padding: 0;
  margin: 11px -7px 0 0;
  transition: top 0.3s ease 0s, opacity 0.1s;
  opacity: 0;
}

.site-header .products-cats-menu:hover .cats-menu-title .text::before {
  top: 100%;
  opacity: 1;
  z-index: 9999;
}

.toggle-product-cats {
  height: 420px;
  overflow-y: scroll;
  direction: rtl;
  display: flex;
  justify-content: flex-end;
  width: 750px !important;
}

.toggle-product-cats > ul {
  direction: ltr;
  height: fit-content;
  width: 250px !important;
}

.mr-extra-department .menu .is-mega-menu .dropdown-submenu .mega-menu-content {
  height: 420px;
  overflow-y: auto;

}




