.page-section {
  padding-top: 60px;
  padding-bottom: 60px;
  
}

.page-section.page-section--sm {
  padding-top: 30px;
  padding-bottom: 30px;
}

.page-section.page-section--medium {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-section.page-section--large {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (min-width: 992px) {
  .page-section.page-section--large {
    padding-top: 150px;
    padding-bottom: 150px;
  }  
}


.rhythm-mb5 > * {
  margin-bottom: 50px !important;
}
.rhythm-mb > *:last-child {
  margin-bottom: 0 !important;
}

.page-section__title {
  font-weight: bold;
  font-size: 38px;
  margin-bottom:40px;
}

@media (max-width: 991px) {

  .page-section {
    padding-top:  40px;
    padding-bottom: 40px;
  }


  .page-section__title {
    font-size: 28px;
    margin-bottom: 20px;
  }  
}



.page-section__body {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 40px;
}
@media (max-width: 991px) {
  .page-section__body {
    font-size: 16px;
    margin-bottom: 20px;
  }  
}


.flexrow {
  display: flex;
  /* justify-content: center; */
  flex-direction: column;
}  

@media screen and (min-width: 992px) {
  .flexrow {
    flex-direction: row;  
  }
}

@media screen and (max-width: 992px) {
  .logo-productshot__logo {
    margin-bottom: 40px;
  }  
}


.logo-productshot__logo img {
    width: 400px;
}


.logo-productshot__product {
  position: relative;
}

.logo-productshot__tag {
  height: 200px;
}

.logo-productshot__ruler {
  height: 200px;
  display: block;
  position: absolute;
  
  top: 50%;
  left:  100%;
  /* transform: translate(calc(100% + 50px), -50%); */
  /* transform: translateX(100%) translateX(50px) translateY(-50px); */
  transform: translateX(50px) translateY(-50%);
  opacity: 0;
  transition: 500ms all ease;
}
.logo-productshot__ruler.in-view {
  opacity: 1;
  transform: translateX(12px) translateY(-50%);
}

.tag-ruler {
  position: relative;
}
// @media (max-width: 991px) {
//   .logo-productshot__tag {
//     height: 100px;
//   }
//   .logo-productshot__ruler {
//     height: 100px;
//     right: -10px;
//   }
// }

@media (max-width: 480px) {
  .logo-productshot__tag {
    height: 130px;
  }
  .logo-productshot__ruler {
    height: 130px;

  }
}


.front-slick{
  margin-bottom:0 !important;
  display: none;

}

@media (min-width: 992px) and (min-height: 650px) {
  .object-fit .front-slideshow {
    height:  calc(100vh - 320px);
  }
  .object-fit .front-slideshow .slick-slide {
    object-fit: cover;
    height: 100%;
  }
}


.front-slick.slick-initialized {
  display: block;
}


@media (max-width: 991px) {
  .front-slideshow img {
    min-height: 300px;
    object-fit:cover;
  }  
}



.front-slick .slick-dots {
  position: absolute;
  bottom: 10px;
}


.front .slick-dots li button:before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background: #fff;
  border: 1px solid transparent;
  
  opacity: 1;
  border-radius: 50%;
}

.front .inverted .slick-dots li button:before {
  background: #000;
}

.slick-dots li.slick-active button:before {
  background: transparent;
  border: 1px solid #fff;
}

.inverted .slick-dots li.slick-active button:before {
  background: transparent;
  border: 1px solid #000;
}

.lora-kpi__item {
  margin-bottom: 40px;
  color: #fff;
  background-repeat: no-repeat;
  background-position: center left;
  
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  font-size: 22px;
  font-weight: 300;
}

.lora-kpi__item:last-child {
  margin-bottom: 0;
}

.lora-kpi__icon {
  margin-right: 20px;
  width: 40px;
}

@media (max-width: 991px) {
  .lora-kpi__icon {
    width: 32px;
  }
  .lora-kpi__item {
    font-size: 20px;
    margin-bottom: 30px;
    /* padding-left: 30px; */
    /* background-size: 20px; */
  }
}


.lora-kpi__item--invert {
  color: #666;
}

.field-collection-container {
  border: none;
  margin-bottom: 0;
}

.bg-primary {
  background: #1675a9;
}
.bg-secondary {
  background: #0d9b62;
}
.bg-silver {
  background: #f7f7f7
}

.clr-white {
  color: #fff;
}




.lora-slideshow__item {
  background-position: center; center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 500px;
}


/* .lora-slidseho-wrap {
  position: relative;
} */
.lora-slideshow:after {
  content: "";
  display: block;
  width:  68px;
  height:  58px;
  background: url('/sites/all/themes/viloc_fourteen/images/icons/lora-certified.svg') no-repeat;
  background-size: 100%;
  z-index: 99;
  position: absolute;
  top: 30px;
  right:  30px;
}

@media screen and (min-width: 992px) {
  .lora-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
  }
  .lora-slideshow:after {
    width:  107px;
    height:  92px;
  }
}


.btn {
  height: 55px;
}

@media (max-width: 991px) {
  .btn {
    height:  42px;
  }
}

.btn-outline {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-weight: 300;
}

.btn-white {
  background: #fff;
  border: 1px solid #fff;
  color: #1675a9;
}

.btn-outline:hover, .btn-outline:focus {
  background:rgba(255, 255, 255, 0.2);
  color: #fff;
}

.button-icon img {
  display: block;
  width: 26px;
  transition: 300ms all ease;
}

.button-icon {
  margin-right: 20px;
}

.btn-icon {
  padding-right: 20px;
  font-size: 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}


.btn-icon:hover .button-icon img {
  transform: translateX(4px);
}



body {
  background: #fff;
}



.btn--arrow, .btn--arrow:hover, .btn--arrow:focus {
  background: #fff url('/sites/all/themes/viloc_fourteen/images/icons/arrow.svg') no-repeat;
  background-position: 20px center;
  background-size: 25px 25px;
  color: #1675a9;
  height: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  transition:  300ms all ease;
}

@media (max-width: 991px) {
  .btn--arrow, .btn--arrow:hover, .btn--arrow:focus {
    height:  42px;
  }
}

.btn--arrow:hover {
  background-position: 24px center;
}

.btn--arrow:hover {
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.9);
}
    

.battery-grid {
  margin-top: 20px;
  // display: grid;
  // grid-template-columns: 60px 60px 60px 60px;
  // grid-template-rows: 60px 60px;
  display: flex;
  margin:  0 auto;
  flex-wrap: wrap;
  max-width: 250px;
}

#battery-toggle {
  margin-bottom: 40px;
}

.no-gutters {
  margin: 0 !important;
}

.no-gutters > * {
  padding: 0 !important;
}


@media (max-width: 991px){
  .battery-grid {
    margin-left: auto;
    margin-right: auto;
  }
}


.battery-grid .smaller {
  font-size:  0.8em;
  font-weight: normal;
}

.battery-grid .cell {
  border: 1px solid #fff;
  color: #fff;
  display: flex;
  font-size: 18px;
  font-weight: 200;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  position: relative;
}


.battery-grid .tooltip {
  width:  100%;
}
.battery-grid .cell__inner {
  position: relative;
  width:  100%;
  height:  100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 992px) {
  .battery-grid {
    max-width:  320px;
  }
  .battery-grid .cell {
    width:  80px;
    height:  80px;
  }
}

.battery-grid .cell .icon{
}

@media (max-width: 991px) {
  .battery-grid .cell .icon {
    height:  18px !important;
  }
}

.tooltip {
  justify-self: flex-start;
  align-self: flex-start; 
  flex: 0;
  width: auto;
  background: none;
  opacity: 1 !important;
} 
.tooltip > .tooltip-inner {
  background: #fff;
  border-radius: 0;
  padding: 5px;
}

@media (max-width: 991px) {
  .tooltip {
    font-size:  12px;
  }
}

.tooltip.top > .tooltip-inner {
  transform: translateY(9px) !important;
}

.tooltip.top > .tooltip-arrow {
  border-top: 5px solid #fff !important;
  transform: translateY(9px) !important;
}



.rounded-top-left {
  border-top-left-radius: 5px;
}
.rounded-bottom-left {
  border-bottom-left-radius: 5px;
}
.rounded-top-right {
  border-top-right-radius: 5px;
}
.rounded-bottom-right {
  border-bottom-right-radius: 5px;
}


.lora-slideshow img {
  width: 100% !important;
  height:  auto !important;
}

@media (min-width: 992px) {
  .lora-slideshow img {
    display: none !important;
    width:  100%;
    height:  100%;
    object-fit: cover;
  }
}

.lora-slideshow__bg {
  width:  100%;
  height:  100%;
  background-size: cover;
  background-repeat: none;
  background-position: center center;
}

.ml-auto {
  margin-left: auto;
}
.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}
.justify-content-center {
  justify-content: center;
}
.justify-content-between {
  justify-content-between;
}
.align-items-center {
  align-items: center;
}
@media (min-width: 992px) {
  .mr-md-auto {
    margin-right: auto;
  }  
}


.content-slideshow {
  margin-bottom: 0 !important;
  color: #fff;
}

.content-slideshow__item.invert {
  color: #000;
}

.content-slideshow__item.invert .btn-outline {
  color: #000;
  border-color: #000;
}

.content-slideshow__item.invert .content-slideshow__number {
  border: 1px solid #000;
  color: #000;
}

.content-slideshow__overlay {
  opacity: 0.50;
  z-index: 0;
  position: absolute;
  top: 0;
  left:  0;
  bottom:  0;
  right:  0;
  width:  100%;
  height:  100%;
  display: block;
}

.contact-form {
  background: #1675a9;
  justify-content: center;
  align-items: center;
  flex-direction:column;
  color: #fff;
}

.contact-form--modal {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  transform: translateY(-100%);
  z-index: 9999;
  transition: 500ms all ease;
}

.contact-form--modal > .page-section {
  width: 100%;
  overflow-y: auto;
}

.contact-form--modal .form-control[name="service"] {
  display: none;
}

.contact-form--modal .form-control[name="service"] + .select2 {
  display: none;
}

.contact-form.in {
  transform: translateY(0);
}


.contact-form__close-button {
  position: absolute !important;
  top: 30px;
  right: 20px;
  z-index: 9999;
}

.btn-closer {
  background: transparent;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative
}

.btn-closer--small {
  width: 25px;
  height: 25px;
}

.btn-closer:before {
  content:"";
  width: 100%;
  height:3px;
  background: #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  left: 0;
  display: block;
}
.btn-closer:after {
  content:"";
  width: 100%;
  height:3px;
  background: #fff;
  transform: rotate(-45deg);
  position: absolute;
  top: 0;
  left: 0;
  display: block;

}

.front .form-control, .select2 {
  -webkit-appearance: none;
  -moz-appearance:    none;
  appearance:         none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 5px;
  font-size: 16px;
  font-style: normal;
  padding: 7px 12px; 
  color: #fff;
  width: 100%;
  height: 55px;
  font-weight: 300;
  margin-bottom: 0 !important;
}

@media (max-width: 991px) {
  .front .form-control, .select2 {
    height: 42px;
  }
}

.select2 {
  padding: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

.select2-container {
  z-index: 9999 !important;
  max-width: 100%;
}

.contact-form--static .select2-container {
  z-index: 500 !important;

}

.select2-container .select2-selection--single .select2-selection__rendered {
  padding: 0 12px !important;
  height:  55px !important;
  line-height: 55px !important;
}

@media (max-width: 991px) {
  .select2-container .select2-selection--single .select2-selection__rendered {
    height:  42px !important;
    line-height: 42px !important;
  }
}


.select2-container--default .select2-results__option--highlighted[aria-selected]{
  background: #ccc !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height:  55px !important;
}

@media (max-width: 991px) {
  .select2-container--default .select2-selection--single .select2-selection__arrow {
    height:  40px !important;
  }  
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  /* border-color: #fff transparent transparent transparent !important;
  border-width:  5px 4px 0 4px !important; */
  width:  20px !important;
  height:  55px !important;
  border:  none !important;
  top:  0 !important;
  left:  auto !important;

  display: block;
  background: url('/sites/all/themes/viloc_fourteen/images/icons/arrow-down.svg') no-repeat;
  background-position: left center !important;
  background-size: 75% !important;
}


.select2-search--dropdown .select2-search__field {
  margin-bottom: 5px;
  border-radius: 5px;
}

@media (max-width: 991px) {
  .select2-container--default .select2-selection--single .select2-selection__arrow b {
    height:  42px !important;  
  }
}

select[name="amount"].shown + .select2 {
  display: block;
}

select[name="amount"].hidden + .select2 {
  display: none;
}

.select2-container--default .select2-selection--single {
  background: transparent !important;
  border:  none !important;
  color:  #fff;
}
.select2-selection__rendered {
  color:  #fff !important;
}

.front textarea.form-control {
  height: 90px;
}


// @media (max-width: 991px) {
//   .front .form-control {
//     height: 24px;
//     padding: 4px;
//     font-size: 14px;
//   }
//   .front textarea.form-control {
//     height: 40px;
//   }
// }



.front .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.front .form-group {
  margin-bottom: 10px;
}

.front .form-inline .form-group {
  margin-bottom: 0;
}

@media screen and (orientation: portrait) and (max-width: 992px) { 
  .content-slideshow .slick-dots {
    position: absolute;
    top: 40px;
    bottom: auto;
  }
}

@media screen and (orientation: landscape) and (max-width: 992px) {
  .content-slideshow .slick-dots {
    top: 20px;
    bottom: auto;
  }
}

@media screen and (min-width: 992px) {
  .content-slideshow .slick-dots {
     top: 80px; 
    bottom: auto;
  }
}

.content-slideshow .slick-track{
    display: flex;
}

.content-slideshow .slick-slide{
  display: flex;
  flex-direction: column;
  height: auto;
  align-items: center; //optional
  
}

@media (max-width: 991px) {
  .content-slideshow .slick-slide {
    min-height: calc(100vh );
    text-align: center;
    background-image: none !important;
  }
}

@media (min-width: 992px) {
  .content-slideshow .slick-slide {
    padding: 180px 0;
  }
}


.content-slideshow__item {
  padding: 75px 0;
  position: relative;
  justify-content: center; //optional
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-color: #1675a9;
}


@media (max-width: 992px) and (orientation: landscape) {
  .content-slideshow__item {
    padding: 30px 0;  
  }
  
}

.content-slideshow .slick-next, .content-slideshow .slick-prev {
  width: 37px;
  height: 46px;
  /* background-size: 10px; */
  /* background-color: #fff; */
  opacity: .76;
  background-position: center center;
}

.content-slideshow .slick-disabled {
  display:  none !important;
}

@media (min-width: 992px) {
  .content-slideshow .slick-next, .content-slideshow .slick-prev {
    /* width: 40px;
    height: 69px; */
    /* background-size: 15px; */
  }
}

.content-slideshow .slick-next {
  right: 0;
  background-image: url('/sites/all/themes/viloc_fourteen/images/icons/slick-right.svg');
}

.content-slideshow.inverted .slick-next {
  background-image: url('/sites/all/themes/viloc_fourteen/images/icons/slick-right-invert.svg'); 
}

.content-slideshow .slick-prev {
  left: 0;
  background-image: url('/sites/all/themes/viloc_fourteen/images/icons/slick-left.svg');
  opacity: 0.21;
}

.content-slideshow.inverted .slick-prev {
  left: 0;
  background-image: url('/sites/all/themes/viloc_fourteen/images/icons/slick-left-invert.svg');
  opacity: 0.21;
}

.content-slideshow__image {
  margin: 40px 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.content-slideshow__image img {
  max-height: 200px;
}

/* @media (max-width: 991px) { */
  .content-slideshow__image img {
    margin:  0 auto;
    max-width: 200px;
  }
/* } */


.logo-ribbon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.logo-ribbon > * {
  width:  33.332%;
  height: auto;
  padding: 25px;
}

@media (min-width: 768px) {
  .logo-ribbon > * {
    width:  16.6662%;
    padding:  30px;
  }
}

@media (min-width: 1200px) {
  .logo-ribbon > * {
    width:  10%;
    padding: 15px;
  }
}


.content-slideshow__bodytext h2 {
  font-weight: bold;
  font-size: 20px;
  font-weight: 600;
}
.content-slideshow__number {
  position: static;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 1px solid #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* @media screen and (min-width: 992px) {
  .content-slideshow__number {
    position: absolute;
    top: 20px;
  }
} */

@media screen and (max-width: 991px) and (orientation: landscape) {
  .content-slideshow__number {
    position: absolute;
    top: 10px;
    left: 20px;

  }
}


.newsletter-section {
   display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.newsletter-section__title {
  font-weight: 300;
  margin-top: 0;
  margin-bottom: 30px;
  
  font-size: 26px;
  text-align: center;

}

.newsletter-section .form-control {
  width:  155px !important;
  margin-right: 10px;
}

@media screen and (max-width: 380px) {
  .btn-icon {
    font-size: 11px;
  }

  .battery-grid .cell {
    width:  48px;
    height:  48px;
    font-size:  14px;
    flex-direction: column;
  }

  .battery-grid {
    max-width: 192px;
  }

  .tooltip > .tooltip-inner {
    font-size: 9px;
  }
  
  .newsletter-section .form-control {
    width: 130px !important;
  }
  .logo-productshot__tag {
    height: 90px;
  }
}


@media (min-width: 992px) {
  .newsletter-section .form-control {
    width:  300px !important;
    margin-right: 15px;
  }

  .newsletter-section {
    display: flex;
    justify-content: between;
    flex-direction: row;
  }
  .newsletter-section__title {
    font-size: 32px;
    margin-right: auto;
    margin-bottom: 0;
  }
}


