/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* GLOBAL */
html {
	scroll-behavior: smooth;
}
:target
{
	scroll-margin-top: 80px;
}
.grecaptcha-badge {
  display: none !important;
}
.fusion-blogsidebar .widget {
	border-color: #b88f52 !important;
}
.fusion-page-title-bar-center .fusion-page-title-captions,
.fusion-page-title-bar .fusion-breadcrumbs {
  text-align: left !important;
}
.c-menu .menu-text {
  font-size: 17px;
  padding: 10px 30px;
}
.r-footer {
  padding-top: 10px !important;
}
.r-footer .c-icon,
.r-footer .fusion-column,
.r-footer .fusion-layout-column {
  margin-bottom: 0px !important;
}
.r-footer .c-icon a {
  color: #2b2e34 !important;
  white-space: nowrap;
}
.r-footer .c-icon {
  font-size: 17px !important;
  line-height: 23px !important;
}
.r-footer .fusion-layout-column .icon {
  margin-top: 5px;
}
.r-footer .fusion-layout-column:nth-child(1) .icon {
  margin-top: 28px !important;
}
.r-footer .fusion-layout-column:nth-child(2) .icon {
  margin-top: 28px !important;
}
.r-copy {
  font-size: 14px;
}
.r-copy a {
  color: #2b2e34;
}
.r-copy a:hover,
.r-copy strong a {
  color: #b88f52 !important;
}
.r-copy .c-text-right {
  text-align: right;
}
.r-copy .fusion-layout-column {
  margin-bottom: 0px !important;
}
 .fusion-header .fusion-logo {
	 margin: 0 !important;
}
 .fusion-header .fusion-logo img {
  height: 105px !important;
	 transition: height 0.5s;
}
.fusion-is-sticky .fusion-header .fusion-logo img {
  height: 65px !important;
}

/* HOME */
.home #main {
  padding-bottom: 0px !important;
}
.tfs-slider .slide-content-container .caption h4 {
  font-weight: 200 !important;
}
.tfs-slider .slide-content-container .buttons a {
  font-size: 17px;
  padding: 10px 45px;
}
.r-box {
  margin-top: 30px !important;
}
.r-box .s-box .fusion-column-wrapper {
  border: 1px solid #d0b07c;
  border-radius: 30px;
  height: 400px;
  box-shadow: 0 0 20px rgba(184, 143, 82, 0.2);
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.r-box .s-box:hover .fusion-column-wrapper {
  box-shadow: 0 0 20px rgba(184, 143, 82, 0.6);
}
.r-box .s-box .c-text h3 {
  color: #2b2e34 !important;
  font-size: 36px;
  font-weight: 700;
}
.r-box .s-box2 {
  margin-top: 30px !important;
}
.r-box .s-box2 .fusion-column-wrapper {
  border: 1px solid #d0b07c;
  border-radius: 30px;
  height: 190px;
  box-shadow: 0 0 20px rgba(184, 143, 82, 0.2);
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.r-box .s-box2 .c-image {
  float: left !important;
  left: 10px;
}
.r-box .s-box2.fusion-builder-column-2 .c-image {
  left: 50px;
}
.r-box .s-box2.fusion-builder-column-3 .c-image {
  left: 20px;
}
.r-box .s-box2 .c-text {
  position: absolute;
  left: 194px;
  z-index: 9 !important;
}
.r-box .s-box2:nth-child(3) .c-text {
  left: 220px;
}
.r-box .s-box2:last-child .c-text {
  left: 215px;
}
.r-box .s-box2 .c-text h3 {
  font-size: 26px;
}
.r-box .c-title h2 {
  font-weight: 400 !important;
  font-size: 36px !important;
  margin-bottom: 0;
}
.r-news {
  padding: 50px 30px !important;
  margin-top: 60px !important;
}
.r-news .c-title h2 {
  font-weight: 400 !important;
  font-size: 36px !important;
}
.r-news .flexslider .slides img {
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}
.r-news .recent-posts-content {
  background: #fff;
  margin-top: -10px;
  padding: 10px 30px;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}
.r-news .recent-posts-content h4 {
  font-size: 18px;
}
.r-news .recent-posts-content h4 a {
  color: #2b2e34 !important;
  font-weight: 700;
}
.r-news .meta span {
  color: #d0b07c;
}
.r-news p {
  font-size: 15px;
  line-height: 24px;
}
.r-partners .c-partners {
  margin: 40px 0 20px;
}

/* PAGES */
.fusion-date-and-formats,
.fusion-blog-layout-medium-alternate .fusion-meta-info {
  display: none;
}
.fusion-blog-layout-medium-alternate .fusion-post-medium-alternate {
  border: 1px solid #ddd;
  margin-bottom: 40px;
}
.fusion-blog-layout-medium-alternate
  .fusion-post-medium-alternate
  .post-content
  h2 {
  padding-top: 20px;
}
.sidebar .widget .heading h4,
.sidebar .widget .widget-title {
  margin-top: 0px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
}
.widget_recent_entries .post-date {
  font-size: 14px;
}
.p-ubezpieczenia .s-box {
  text-align: center;
}
.p-ubezpieczenia .s-box .fusion-column-wrapper {
  margin: 0 10px;
  border: 1px solid #ddd;
}
.p-ubezpieczenia .s-box {
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.p-ubezpieczenia .s-box:hover {
  -moz-transform: scale(1.05);
  -webkit-transform: scale(1.05);
  -o-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}
.p-ubezpieczenia .s-box .c-text {
  line-height: 24px;
  margin-top: 15px;
}
html .formcraft-css .powered-by {
  display: none !important;
}
.p-contact .s-data {
  background: #b88f52;
  padding: 30px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.p-contact .s-map iframe {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.p-contact .s-data:before {
  width: 0;
  height: 0;
  border-top: 40px solid transparent;
  border-bottom: 40px solid transparent;
  border-right: 40px solid #b88f52;
  content: "";
  position: absolute;
  left: -30px;
  top: 35%;
}
.p-contact .s-data h2,
.p-contact .s-data a,
.p-contact .s-data {
  background: #b88f52;
  color: #fff;
}
.p-contact .s-data h2 {
  font-size: 24px !important;
}
.p-contact .s-data a:hover {
  text-decoration: underline;
}
.c-contact-name {
	position: relative;
	color: #fff;
}
.c-contact-name::after {
	content:"";
	display: block;
	position: absolute;
	bottom: -0.25rem;
	left:0;
	right:0;
	height: 2px;
	background-color: #fff;
}
.p-contact-data h3 {
  font-size: 18px;
  font-weight: 700;
}
.p-contact-data small a {
  border: 2px solid #b88f52;
  display: block;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  padding: 10px;
  box-shadow: 0 0 20px #ddd;
}
.p-contact-data small a:hover {
  background: #b88f52;
  color: #fff;
}
.p-contact .c-image {
	height: 280px;
  width: 380px;
  position: absolute;
  bottom: 0px;
  right: 0px;
}
.p-contact .c-image img {
	object-fit: cover;
	border-bottom-right-radius: 10px;
	height: 100%;
}
.c-toggle-clientarea .fusion-panel {
  border: 1px solid #ddd;
  padding: 3px 15px;
  margin-bottom: 10px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.c-toggle-clientarea .fusion-panel:hover {
  background: #f5f5f5;
}
html .formcraft-css .fc-form .form-element .checkbox-cover > div label a {
  color: #b88f52;
  font-weight: 700;
}
html .formcraft-css .fc-form .form-element .checkbox-cover > div label {
  font-size: 14px;
  text-align: justify;
}
.customText-cover div:nth-child(1) b {
  color: #b88f52;
  font-size: 18px !important;
}
.fusion-privacy-bar
  .fusion-privacy-bar-main
  .fusion-privacy-bar-acceptance:hover {
  color: #b88f52;
}
.fusion-social-networks.boxed-icons .fusion-social-network-icon:not(.custom) {
  background: #fff;
  border-color: #ddd;
}
.fusion-social-networks.boxed-icons .fusion-Messanger {
  padding: 6px !important;
  vertical-align: top;
}
/* MOBILE */
@media only screen and (max-width: 800px) {
  .tfs-slider .slide-content-container h1 {
    font-size: 20px !important;
    line-height: 26px !important;
  }
  .tfs-slider .slide-content-container .caption h4 {
    font-size: 16px !important;
    line-height: 20px !important;
  }
  .tfs-slider .slide-content-container .buttons a {
    font-size: 14px;
    padding: 7px 35px;
  }
  .home #main {
    padding-top: 30px;
  }
  .r-box {
    margin-top: 0px !important;
  }
  .r-box .s-box .fusion-column-wrapper {
    height: 200px;
    padding: 10px 5px !important;
  }
  .r-box .s-box .c-text h3 {
    color: #2b2e34 !important;
    font-size: 20px !important;
    font-weight: 700;
  }
  .r-box .s-box img {
    width: 70%;
  }
  .r-box .s-box2:nth-child(2) img {
    width: 45%;
  }
  .r-box .s-box2 {
    margin-top: 0px !important;
  }
  .r-box .s-box2 .fusion-column-wrapper {
    height: 170px;
    margin: 5px;
  }
  .r-box .s-box2 .c-image {
    float: left !important;
    left: 10px;
  }
  .r-box .s-box2.fusion-builder-column-2 .c-image {
    left: 50px;
  }
  .r-box .s-box2.fusion-builder-column-3 .c-image {
    left: 20px;
  }
  .r-box .s-box2 {
    text-align: center;
  }
  .r-box .s-box2 .c-text {
    position: relative;
    left: 0;
    text-align: center;
  }
  .r-box .s-box2:nth-child(3) .c-text {
    left: 0;
  }
  .r-box .s-box2:nth-child(4) .c-text {
    left: 0;
    top: 8px;
  }
  .r-box .s-box2 .c-text h3 {
    font-size: 16px !important;
  }
  .r-box .c-title h2 {
    font-size: 24px !important;
    margin-bottom: 0;
  }
  .r-partners .c-partners {
    margin: 0px !important;
  }
  .r-news {
    padding: 30px !important;
    margin-top: 40px !important;
  }
  .r-news .c-title h2 {
    font-size: 24px !important;
  }
  .r-news .flexslider .slides img {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
  }
  .r-news .recent-posts-content {
    padding: 10px 20px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 00px;
  }
  .r-news .recent-posts-content h4 {
    font-size: 16px;
  }
  .fusion-recent-posts {
    margin-bottom: 0px;
  }
  .r-news p {
    display: none;
  }
  .r-news .fusion-column {
    margin-bottom: 20px !important;
  }
  .r-footer {
    padding-bottom: 30px !important;
  }
  .r-footer .fusion-content-boxes .link-area-box {
    padding: 5px;
    font-size: 14px;
  }
  .r-footer .fusion-content-boxes .content-container {
    margin-bottom: 0px;
  }
  .r-copy .fusion-text {
    text-align: center;
    font-size: 13px;
  }
  .fusion-body .fusion-page-title-bar h1 {
    font-size: 20px !important;
  }
  .p-contact iframe {
    width: 100%;
    height: 350px;
  }
  .p-contact .s-data:before {
    border-top: 0px solid transparent;
    border-bottom: 0px solid transparent;
    border-right: 0px solid #b88f52;
  }
  .p-contact .s-data {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
  }
  .p-contact .c-image {
    width: 100%;
    position: relative;
    bottom: 0px;
    right: 0px;
  }
  .p-contact .c-image img {
	  border-radius: 0;
  }
  .c-menu .menu-text {
    font-size: 20px;
    padding: 10px 30px;
    background: #b88f52;
    color: #fff;
  }
  .fusion-blog-layout-medium-alternate .fusion-post-medium-alternate {
    border-color: transparent;
  }
  .fusion-privacy-bar .fusion-privacy-bar-main .fusion-privacy-bar-acceptance {
    padding: 7px 12px;
  }
  .fusion-privacy-bar,
  .fusion-privacy-bar-full {
    padding: 10px;
    line-height: 20px;
  }
}
