/*
Theme Name: Cuber Child
Description: Child theme for Cuber
Author: Sergey J
Template: cuber
Version: 1.0
*/

@import url('../cuber/style.css');

/* Headings */
h1, h2, .h1, .h2 {
  margin-bottom: 2.5rem;
}

h3, h4, h5, h6, .h3, .h4, .h5, .h6 {
  margin-bottom: 1.5rem;
}

/* Display Headings */
.display-2, .display-3, .display-4 {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.display-2 {
  font-size: 2.67rem; /* 40px */
  line-height: 1.4;
}

@media (min-width: 420px) {
  .display-2 { font-size: 3.33rem; /* 50px */ }
}

.display-3 {
  font-size: 2rem; /* 40px */
  line-height: 1.5;
}

@media (min-width: 420px) {
  .display-3 { font-size: 2.67rem; /* 50px */ }
}

.display-4 {
  font-size: 1.7rem; /* 40px */
  line-height: 1.35;
}

@media (min-width: 420px) {
  .display-4 { font-size: 1.9rem; }
}

@media (min-width: 580px) {
  .display-4 { font-size: 2.2rem; }
}

.display-6 {
  line-height: 1.667;
}

/* Horizontal Rule */
hr {
  box-sizing: content-box;
  overflow: visible;
  text-align: inherit;
  margin-bottom: 20px;
  border: 0 !important;
  border-top: 3px solid #007bff;
  height: 3px;
}

hr::after {
  content: "";
  display: inline-block;
  width: 119px;
  max-width: 100%;
  border-top: 3px solid #007bff;
  vertical-align: top;
}

/* Contact Page Icons */
.feature-3 .feature__icon { margin-bottom: -62px; }
.feature-3 .feature__title h5 { margin-bottom: 1rem; }
.feature-3 .feature__title, .feature-3 .feature__body { margin-left: 50px; }

/* Animated Feature Icons */
.feature-4:hover .feature__icon { transform: none; }
.feature-4 .feature__icon a {
  display: inline-block;
  transform: translateY(0);
  transition: all 0.2s ease-in-out;
}
.feature-4 .feature__icon a:hover { transform: translateY(-5px); }

/* Portfolio */
.vp-portfolio__item-img::before { background: transparent; }
.vp-portfolio__items-style-default .vp-portfolio__item-img {
  width: 200px;
  max-width: 100%;
  margin: 0 auto 20px;
}

/* Footer */
.footer__bottom {
  background-color: #171830;
  padding: 1.375rem 0;
  border-top-color: #666;
  color: #999;
}
.footer__top-logo { max-width: 142px; }
.widget ul#menu-footer-column-1 li a {
  color: #626262;
  font-weight: bold;
}
.widget ul#menu-footer-column-1 li a:hover,
.widget ul#menu-footer-column-1 li a:active,
.widget ul#menu-footer-column-1 li a:focus {
  color: #292929;
}

/* Card Posts */
.card-post { box-shadow: 0 0 25px 10px rgba(0, 0, 0, 0.03); }
.card-post .card-title { font-weight: 600; }

/* Timeline Component */
@media (min-width: 768px) and (max-width: 991.98px) {
  .timeline .event:before {
    text-align: left;
    position: static;
  }
}
@media (min-width: 768px) {
  .timeline { padding-right: 0; }
}

/* Columns */
@media (min-width: 540px) {
  .text-column-1-2\@s { column-count: 2; }
}
[class*='text-column-'] { column-gap: 30px; }

/* Tables */
table th:last-child, table td:last-child { padding-right: 0; }
.document-gallery td:first-child { display: none; }
.document-gallery td:nth-last-child(2) { text-align: center; width: 60px; display: none; }
.document-gallery td:last-child { text-align: right; width: 50px; }

@media (min-width: 540px) {
  .document-gallery td:first-child { width: 150px; }
  .document-gallery td:nth-last-child(2) { display: table-cell; }
  .document-gallery td:last-child { width: 75px; }
}

.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Stock Ticker */
.stock-ticker-wrapper ul.stock_ticker .sqitem { white-space: normal; }

/* Homepage */
#home-banner #white-line::after {
  content: '';
  width: 2px;
  height: 100vh;
  background-color: white;
  position: absolute;
  z-index: 1;
  top: 115%;
  left: 50%;
  transform: translateX(-50%);
}
@media (min-width: 420px) {
  #home-banner #white-line::after { top: 120%; }
}

/* Buttons */
.btn { padding: 0.518rem 1.75rem; }
.btn-line {
  color: #555;
  background: transparent !important;
  padding: 0.5rem 0.1rem;
  border-bottom: 2px solid #007bff;
  font-size: 1.4725rem !important;
  font-weight: 600;
}
.btn-line:hover, .btn-focus:hover, .btn-active:hover {
  border-bottom: 2px solid #007bff;
  color: #007bff;
}

/* Menubar */
.menubar .menubar__buttons .btn {
  font-size: 1rem;
  padding: 0.469rem 1.208rem;
}
.menubar .menubar__logo img { width: 100%; }

/* Fluent Forms */
.fluent_form_1 .ff-field_container,
.fluent_form_1 .ff-column-container {
  margin-bottom: 20px;
}
.fluent_form_2 .ff-el-form-control::placeholder { color: #FFF !important; }

/* Utilities */
.hide-element { display: none !important; }

/* News Grid */
.news-grid .vc_gitem-post-data-source-post_title h4 {
  font-size: 1rem !important;
  color: #494949 !important;
}

/* Stock Ticker Widget */
.tradingview-widget-copyright, #sl-credit { display: none !important; }

/* Press Releases post grid */
@media (min-width: 768px) {
	.vc_grid-filter-dropdown .vc_grid-styled-select select,
	.vc_grid-filter-select .vc_grid-styled-select select {
		font-size: 14px !important;
		min-width: 50px !important;
		-webkit-appearance: none;
	}	
}