/*
  Theme Name: Velocity Partners
  Theme URI: https://velocitypartners.vc/
  Author: RoundFloor
  Author URI: https://roundfloor.gr
  Description: Custom child theme for velocitypartners.vc website customization.
  Version: 1.0.0
  Template: thegem
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
  Text Domain: velocitypartners
  Domain Path: /languages
*/

/* Child theme CSS
--------------------------------------------------------------- */

/*** Helpers ***/
.rf-hide,
.logged-in .rf-hide-logged-in,
.rf-show-logged-in {
  display: none;
}
.logged-in .rf-show-logged-in {
  display: block;
}

/*** 5-cols Layout ***/
@media screen and (max-width: 1199px) {
  .five-columns.vc_row {
    margin-bottom: 40px;
  }
}
@media screen and (min-width: 768px) {
  .five-columns.vc_row .vc_col-sm-2 {
    float: left;
    width: 20%;
    padding: 0;
    min-height: 0;
  }
}

/*** Companies Portfolio Archive ***/
.rf-portfolio .portfolio.hover-default .portfolio-item .image .overlay .links .caption {
  padding: 0 30px;
}
.rf-portfolio .portfolio.hover-default .portfolio-item .image .overlay .links .caption .title {
  font-size: 14px;
  line-height: 21px;
  margin-bottom: 0;
}
.rf-portfolio .portfolio-icons {
  display: none;
}
.rf-portfolio .portfolio:not(.hover-horizontal-sliding) .portfolio-item .image .image-inner img {
  left: 0;
}

/*** Companies Portfolio Single ***/
/* Top */
.rf-portfolio-top.wpb_row {
  margin: 80px 0 60px;
}
.rf-portfolio-top .wpb_single_image {
  margin-bottom: 55px;
}
.rf-portfolio-top .wpb_text_column {
  color: #3f3f3f;
  font-size: 22px;
}

/* Main */
.rf-portfolio-main {
  font-size: 17px;
  line-height: 1.55;
}
.rf-portfolio-main--text h1 {
  font-size: 26px;
  letter-spacing: 0;
}
.rf-portfolio-main--members .vc_column_container:first-child > .vc_column-inner {
  padding-right: 0;
}
.rf-portfolio-main--members .wpb_single_image img {
  width: 109px;
  height: 109px;
  border-radius: 50%;
}
.rf-portfolio-main--text .team-person {
  border-bottom-color: #ed1b2f;
}
@media screen and (max-width: 1040px) and (min-width: 768px){
  .rf-portfolio-main--members .wpb_single_image img {
    width: 75px;
    height: 75px;
  }
}
@media screen and (max-width: 767px) {
  .rf-portfolio-top.wpb_row {
    margin-bottom: 0;
  }
  .rf-portfolio-main--sidebar {
    text-align: center;
    margin-bottom: 60px;
  }
}

/*** reCAPTHCA v3 ***/
.grecaptcha-badge {
  visibility: hidden;
}
.rf-recaptcha-tos {
  font-size: 12px;
  line-height: 1.3;
  margin: 0;
}
.cf-style13-textarea {
  margin-bottom: 12px;
}

/*** Cookies Notice (Cookie Notice for GDPR & CCPA) ***/
#cookie-notice .cookie-notice-container {
  padding: 45px 30px;
}
#cookie-notice .cn-privacy-policy-link {
  color: #00a99d;
  text-decoration: underline;
}
#cookie-notice .cn-privacy-policy-link:hover {
  color: rgba(0, 169, 157, 0.65);
}
#cookie-notice #cn-accept-cookie,
#cookie-notice #cn-refuse-cookie {
  font-weight: bold;
  text-transform: uppercase;
  padding: 12px 42px;
  border: 1px solid #00a99d;
  border-radius: 50px;
}
#cookie-notice #cn-refuse-cookie {
  background-color: transparent;
}
#cookie-notice.cookie-notice-visible,
#cookie-notice .cn-button {
	font-family: 'Open Sans';
}
#cn-close-notice {
  display: none;
}
/*** END - Cookies Notice ***/

/*** GDPR Pages ***/
.entry-content.post-content .rf-gdpr-page {
  margin: 80px 0;
}
.rf-gdpr-page {
  font-size: 15px;
  line-height: 1.55;
}
.rf-gdpr-page h2,
.rf-gdpr-page h3,
.rf-gdpr-page h4,
.rf-gdpr-page h5,
.rf-gdpr-page h6 {
  color: #3c3950;
  margin: 0.83em 0 0.42em;
}
.rf-gdpr-page h2 {
  font-size: 26px;
}
.rf-gdpr-page h3 {
  font-size: 21px;
}
.rf-gdpr-page h4 {
  font-size: 18px;
}
.rf-gdpr-page h5 {
  font-size: 15px;
}
.rf-gdpr-page h6 {
  font-size: 15px;
}
/*** END - GDPR Pages ***/

/*** Footer Submenu ***/
.rf-footer-submenu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.rf-footer-submenu a {
  color: #fff;
  font-size: 13px;
  margin: 0 15px;
}
.rf-footer-submenu a:hover {
  color: #fff;
}
/*** END - Footer Submenu ***/

/*** Contact Form ***/
.rf-contact-form-input input[type=checkbox],
.rf-contact-form-input input[type=radio] {
  width: auto;
  height: auto;
  box-sizing: border-box;
  padding: 0;
}
.rf-contact-form-input input[type=checkbox] {
  -webkit-appearance: checkbox;
  margin-right: 8px;
  cursor: pointer;
}
.rf-contact-form-input .wpcf7-acceptance label {
  color: #3f3f3f;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
  text-transform: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  cursor: pointer;
}
.rf-contact-form-input .wpcf7-acceptance input[type=checkbox] {
  margin: 5px 8px 0 0;
}
.rf-contact-form textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required {
  height: 240px;
}
@media (max-width: 368px) {
  .wpcf7 .rf-contact-form-input input[type=checkbox] {
    width: auto!important;
  }
  .rf-contact-form-input .wpcf7-form-control-wrap.your-consent {
    display: inline-block;
  }
}
/*** END - Contact Form ***/

/*** Responsive Table ***/
.rf-table {
  margin: 1.1em 0;
  min-width: 300px;
}
.rf-table tr {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.rf-table th {
  display: none;
}
.rf-table td {
  display: block;
}
.rf-table td:first-child {
  padding-top: .5em;
}
.rf-table td:last-child {
  padding-bottom: .5em;
}
.rf-table td:before {
  content: attr(data-th) ": ";
  font-weight: bold;
  width: 6.5em;
  display: inline-block;
}
@media (min-width: 768px) {
  .rf-table td:before {
    display: none;
  }
}
.rf-table th,
.rf-table td {
  text-align: left;
}
@media (min-width: 768px) {
  .rf-table th,
  .rf-table td {
    display: table-cell;
    padding: .25em .5em;
  }
  .rf-table th:first-child,
  .rf-table td:first-child {
    padding-left: 0;
  }
  .rf-table th:last-child,
  .rf-table td:last-child {
    padding-right: 0;
  }
}
.rf-table {
  background: #fafafa;
  border-radius: 3px;
  overflow: hidden;
}
.rf-table tr {
  border-color: #fafafa;
}
.rf-table th,
.rf-table td {
  margin: .5em 1em;
}
@media (min-width: 768px) {
  .rf-table th,
  .rf-table td {
    padding: 1em!important;
  }
}
/*** END - Responsive Table ***/


/*** Main Menu CTA ***/
.rf-menu-cta {
  margin-left: 20px;
}
.header-style-4 #primary-menu.no-responsive > li.rf-menu-cta > a {
  color: #fff;
  padding: 5px 15px;
  border: 2px solid #fff;
}
.header-style-4 #primary-menu.no-responsive > li.rf-menu-cta > a:hover {
  color: #fff;
  background-color: #ed1b2f;
  border-color: #ed1b2f;
}
.header-main.header-style-4 #primary-menu.no-responsive>li.menu-item-active>a {
  border: none;
}
/*** END - Main Menu CTA ***/


/*** Home RF Sections ***/
.rf-home-section.wpb_row {
  margin-top: 0;
}
.rf-home-section .fullwidth-block-inner {
  padding: 60px 0;
}
.rf-home-section h2 {
  color: #ed1b2f;
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  text-align: center;
  line-height: 36px;
  letter-spacing: normal;
}
/*** END - Home RF Sections ***/


/*** Home Latest Posts (Medium) ***/
/* With medium-widget.pixelpoint.io */
.rf-home-medium-latest-posts .wpb_raw_html {
  margin-bottom: 0;
}
.rf-medium-posts-feed.rf-pixelpoint {
  padding: 0 6px;
}
.rf-home-medium-latest-posts .rf-pixelpoint .medium-widget {
  line-height: 1.1;
}
.rf-home-medium-latest-posts .rf-pixelpoint .medium-widget-article__description,
.rf-home-medium-latest-posts .rf-pixelpoint .medium-widget-article__date {
  color: #3f3f3f;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.3;
}
.rf-home-medium-latest-posts .rf-pixelpoint .medium-widget-article__title {
  color: #3c3950;
}
.rf-home-medium-latest-posts .rf-pixelpoint .medium-widget-article__title:hover {
  color: #ed1b2f;
}
@media (max-width: 767px) {
  .rf-medium-posts-feed.rf-pixelpoint .medium-widget-article__row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

/* With twilik.com */
.rf-medium-posts-feed.rf-twilik {
  padding-top: 15px;
}
.rf-medium-posts-feed.rf-twilik .post-date {
  font-size: 17px;
}
.rf-medium-posts-feed.rf-twilik h2 {
  color: #3c3950;
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.3;
  text-transform: none;
  text-align: left;
  margin: 0.6em 0 0;
  -o-transition: color .3s;
  -webkit-transition: color .3s;
  transition: color .3s;
}
.rf-medium-posts-feed.rf-twilik h2:hover {
  color: #ed1b2f;
}
.rf-medium-posts-feed.rf-twilik .author {
  font-size: 17px;
}
.rf-medium-posts-feed.rf-twilik .excerpt,
.rf-medium-posts-feed.rf-twilik .excerpt figure,
.rf-medium-posts-feed.rf-twilik .rtb-col {
  display: none;
}
.rf-medium-posts-feed.rf-twilik .rtb-col:nth-child(1),
.rf-medium-posts-feed.rf-twilik .rtb-col:nth-child(2),
.rf-medium-posts-feed.rf-twilik .rtb-col:nth-child(3),
.rf-medium-posts-feed.rf-twilik .rtb-col:nth-child(4) {
  display: block;
}
.rf-medium-posts-feed.rf-twilik .read-more {
  text-align: left;
  margin: 10px 0 20px;
}
.rf-medium-posts-feed.rf-twilik .read-more a {
  color: #3c3950;
  font-size: 12px;
  border-color: rgba(60, 57, 80, .33);
  padding: 0 24px;
  margin: 0;
}
.rf-medium-posts-feed.rf-twilik .read-more a:hover {
  color: #fff;
  background-color: #ed1b2f;
  border-color: #ed1b2f;
}
@media (max-width: 1199px) {
  .rf-medium-posts-feed.rf-twilik .row > .rtb-col {
    margin-top: 0;
  }
  .rf-home-medium-latest-posts .vc_separator {
    margin-bottom: 4em;
  }
}
/*** END - Home Latest Posts (Medium) ***/


/*** Home Latest Posts (Blog) ***/
.rf-home-blog-latest-posts .blog {
  padding-top: 15px;
}
.rf-home-blog-latest-posts .blog .post-content-wrapper {
  background-color: #f7f7f7;
}
.rf-home-blog-latest-posts .blog article .post-featured-content>a:hover:before,
.rf-home-blog-latest-posts .blog article .post-featured-content > a:hover:after {
  display: none;
}
.rf-home-blog-latest-posts .entry-title {
  line-height: 13px;
  margin: 0 0 10px;
}
.rf-home-blog-latest-posts .entry-title a {
  display: block;
}
.rf-home-blog-latest-posts .post-title span {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: normal;
}
.rf-home-blog-latest-posts .summary {
  color: #3f3f3f;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.3;
}
.rf-home-blog-latest-posts .summary p {
  margin-bottom: 0;
}
.rf-home-blog-latest-posts .post-footer-sharing {
  display: none;
}
.rf-home-blog-latest-posts .gem-button.gem-button-style-outline {
  color: #3c3950;
  font-size: 12px;
  border-color: rgba(60, 57, 80, .33); /* #3c3950 */
}
.rf-home-blog-latest-posts .gem-button.gem-button-style-outline:hover {
  color: #fff;
  border-color: #ed1b2f;
}
/*** END - Home Latest Posts (Blog) ***/


/*** Single Post ***/
.single-post .post-meta-category-link {
  display: none;
}
.single-post .socials-sharing a[title="Google Plus"],
.single-post .socials-sharing a[title="Tumblr"],
.single-post .socials-sharing a[title="Pinterest"],
.single-post .socials-sharing a[title="StumbleUpon"] {
  display: none;
}
/* Typography */
.single-post .post-content {
  font-size: 17px;
  line-height: 1.55;
}
/*** END - Single Post ***/