﻿/*
Theme Name: Reboot Child
Theme URI: https://wpshop.ru/themes/reboot
Author: WPShop.biz
Author URI: http://wpshop.biz/
Template: reboot
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */

#dch iframe {
  border-radius: 16px !important;
}

@media (min-width: 768px) {
  .script-inner-wrapper {
    max-width: 1150px !important;
  }

  .script-wrapper {
    min-height: 626px !important;
  }

  #dch {
    min-height: 396px !important;
  }
}

.rental-logos {
  padding-top: 5px !important;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
}


.rental-logo {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rental-logo a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.rental-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (min-width: 768px) {
  .rental-logos {
    flex-wrap: wrap;
    justify-content: center;
  }

  .rental-logo {
    flex: 0 0 calc(10% - 16px);
    max-width: 120px;
    min-width: 60px;
  }
}

@media (max-width: 767px) {
  .site-content {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 0px !important;
  }

  .page-template-default #main h1 {
    margin-top: 0px !important;
  }

  .mobile-menu-placeholder+.site-content {
    margin-top: -31px !important;
  }

  .script-wrapper {
    min-height: 684px !important;
    width: 100vw !important;
    margin-left: -10px;
  }

  #dch {
    min-height: 414.2px !important;
  }

  .rental-logos {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-content figure.wp-caption.alignright {
    float: none !important;
  }
}

.site-footer .footer-bottom li.menu-item span.removed-link {
  padding-right: 7px !important;
}

.site-footer .footer-bottom li.menu-item:first-child span.removed-link {
  padding-right: 10px !important;
}

.entry-content .cars-module-grid {
  margin-top: 20px;
}

table {
  width: 100%;
  border-collapse: separate; /* Required for border-radius */
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  table-layout: auto;
  background: #F9F9F9;
  border: 1px solid #F9F9F9;
}
th, td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
  white-space: normal;
}
th {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  font-weight: 600;
}
th:first-child {
  border-top-left-radius: 12px;
}
th:last-child {
  border-top-right-radius: 12px;
}
tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}
tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}
tbody tr:nth-of-type(odd) {
  background-color: #F4F4F4;
}

tbody tr:nth-of-type(even) {
  background-color: #F9F9F9;
}

tbody tr:hover {
  background-color: #e6e6e6;
}

@media (max-width: 768px) {
  th, td {
    padding: 6px 8px;
    white-space: nowrap;
  }
}

@media (min-width: 768px) {
  .footer-widgets {
      padding-bottom: 10px;
  }
  .footer-widget {
    margin-left: 0px;
    margin-right: 0px;
  }
}

.footer-widget ul {
  list-style: none;
  padding-left: 10px;
  margin-left: 10px;
}

.footer-widget ul li {
  margin-bottom: 8px;
}

.footer-widget ul li a {
  text-decoration: none;
}

.site-footer {
  padding-top: 30px;
}

.entry-content blockquote:not(.wpremark).info {
  border-radius: 12px;
}

.inst-block.inst-block-fullwidth, .ri-block.ri-block-fullwidth {
  border-radius: 20px !important;
}

.inst-block, .ri-block { 
border-radius: 15px !important;
}

.ndncc-block-wrapper, .ndncc-block, .benefit-block {
  border-radius: 20px !important;
}