/*
Theme Name: Themely - Child Theme
Theme URI: https://www.limely.co.uk/
Author: Limely
Author URI: https://www.limely.co.uk/
Template: themely
Description: Custom Theme Developed By Limely
Version: 1.0.15
Text Domain: themely-child
*/

@font-face {
  font-family: 'behind_the_ninetiessemibold';
  src: url('fonts/behind-the-nineties-smbd-webfont.woff2') format('woff2'),
       url('fonts/behind-the-nineties-smbd-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
h1,h2,h3,h4,h5,h6 { font-family: 'behind_the_ninetiessemibold' !important;}

body{ }

/* Theme Responsive Styles */

body { padding-top: 75px !important }
#header .header { padding: 22px 0 !important; }
.nav ul li { margin-left: 20px !important }
.nav ul.sub-menu { width: 320px !important; }

.page-banner-large { min-height: auto !important; }
.home .page-banner-large { min-height: 800px !important; }

.panel-group .panel>.panel-heading a {font-size: 19px !important; }

.row-team .card-image { background-color: transparent; }
.row-team .card-image-inner { background-size: contain; }
.row-team .card-link:hover .card-image-inner { transform: scale(1) translateZ(0); opacity: 1; }
.row-team .card-team .card-image:after { display: none; }

.page-blocks .card, .page-blocks .card:hover { border-radius: 0; box-shadow: none; }
.page-blocks .card-image { background-color: transparent; padding-top: 100%; }
.page-blocks .card-image-inner, .page-blocks .card:hover .card-image-inner { background-size: contain; transform: scale(1) translateZ(0); }
.page-blocks .card-image-inner img { height: 100%; object-fit: contain; }
.page-blocks .card-content { paddig-top: 0; }

.modal-request-callback .modal-body { background: url(images/dyn-bg-report.png) no-repeat 0 -25px; background-size: 100%; padding-top: 210px; }

.box-pricing .box-image img { max-height: 110px !important !important; width: auto; }
.page-id-1039 .box-pricing .box-image img { max-height: 90px !important; }
.page-id-1039 .box-pricing .box-image { margin-bottom: 10px; margin-top: -20px; }

.reviews-slim { margin-top: 30px; margin-bottom: 20px; }
.reviews-slim img.stars { margin-top:-5px; margin-left: 5px; width: 120px; }
.reviews-slim img.stars-logo {margin-right: 5px; height: 25px; width: auto; }
.reviews-slim strong { text-transform: uppercase; }
.reviews-slim.reviews-light strong { color: #0b0b07; }

.reviews-rating { margin-top: 20px; }
.reviews-rating span { display: block; margin-top: 10px; font-size: 12px; }

.btn {border-radius: 100px !important;}
.image-marquee li { position: relative; }
.image-marquee li img { height: 500px; width: auto; }

/* Largest Devices */
@media only screen and (min-width : 1200px) {
  .image-marquee li.even img{ margin-top: 20px; }
  .image-marquee li.fourth:before{ position: absolute; top: -5px; right: 0px; content:''; background: url(images/brand-triangles.svg) no-repeat; width: 56px; height: 44px; }
  .image-marquee li.third:before{ position: absolute; top: 100px; right: 20px; content:''; background: url(images/brand-triangle.svg) no-repeat; width: 26px; height: 26px; }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 992px) and (max-width : 1199px) {
}

/* Medium Devices, Desktops */
@media only screen and (min-width: 768px) and (max-width : 991px) {
}

/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {

  #header .logo img { height: auto !important; }
  .modal-content {max-width: 500px; margin: 0 auto; }
  .modal-request-callback .modal-body { padding-top: 170px; }

  .section-logos .partner-logo img { max-height: 48px !important; }
  .section-image-marquee .tickercontainer { height: 350px !important; }
  .image-marquee li { line-height: 350px !important; }
  .image-marquee li img { height: 300px; width: auto; }

}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 479px) {
  .modal-request-callback .modal-body { background: none; padding-top: 25px; }
  .section-logos .partner-logo img { max-height: 42px !important; }
}
