/* 
Theme Name: Rival Child
Theme URI: https://rivaldigital.com
Description: Rival Digital Child Theme
Author: Rival Team
Author URI: https://rivaldigital.com
Template: yootheme
Version: 1.0.1
Text Domain: yootheme-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/
.uk-heading-medium{font-family: 'brandon-grotesque' !important;font-weight: 900 !important;}

@media screen and (min-width: 577px) {
  #CybotCookiebotDialog.CybotEdge {
    max-height: 28vh  !important;
	}
	
	#CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton {
  background-color: #1032CF;
  border: 2px solid #1032CF;
  border-radius: .25em;
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  max-height:40px !important;
  padding: 0 1em;
  font-size:12px !important;
  font-weight: 600;
  text-align: center;
  user-select: none;
  width: 100%;
  box-sizing: border-box;
}
	#CybotCookiebotDialogBodyContentText, #CybotCookiebotDialogBodyContentTitle, #CybotCookiebotDialogGpcText{font-size:12px !important;}	
}

@media (max-width: 576px) {

  /* Main Cookiebot dialog - bottom mobile card */
  #CybotCookiebotDialog {
    position: fixed !important;

    top: auto !important;
    bottom: 12px !important;

    left: 12px !important;
    right: 12px !important;

    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;

    transform: none !important;
    margin: 0 !important;

    box-sizing: border-box !important;
    border-radius: 12px !important;

    z-index: 2147483647 !important;
  }

  /* Make all Cookiebot elements use border-box */
  #CybotCookiebotDialog *,
  #CybotCookiebotDialogBodyUnderlay * {
    box-sizing: border-box !important;
  }

  /* Reduce general dialog text size */
  #CybotCookiebotDialog {
    font-size: 12px !important;
  }

  #CybotCookiebotDialog * {
    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  /* Reduce main body spacing */
  #CybotCookiebotDialogBody {
    padding: 12px !important;
  }

  #CybotCookiebotDialogBodyContent {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Title / heading */
  #CybotCookiebotDialogBodyContentTitle {
    font-size: 15px !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
  }

  /* Main description text */
  #CybotCookiebotDialogBodyContentText {
    font-size: 12px !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
  }

  /* GDPR category wrapper reset */
  .CybotCookiebotDialogBodyBottomWrapper,
  #CybotCookiebotDialogBodyLevelWrapper,
  #CybotCookiebotDialogBodyLevelButtons,
  #CybotCookiebotDialogBodyLevelButtonsTable,
  #CybotCookiebotDialogBodyLevelButtonsRow,
  #CybotCookiebotDialogBodyLevelButtonsSelectPane,
  #CybotCookiebotDialogBodyFieldsetInnerContainer {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* GDPR category rows */
  #CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonWrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    padding: 6px 8px !important;

    min-height: auto !important;
    gap: 8px !important;

    text-align: left !important;
  }

  /* GDPR category labels */
  #CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonLabel,
  #CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonDescription {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  /* Toggle wrapper */
  #CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonSliderWrapper {
    width: 34px !important;
    height: 18px !important;
    min-width: 34px !important;
    flex: 0 0 34px !important;
  }

  /* Toggle background */
  #CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonSlider {
    width: 34px !important;
    height: 18px !important;
  }

  /* Toggle circle */
  #CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonSlider::before {
    width: 14px !important;
    height: 14px !important;
    left: 2px !important;
    bottom: 2px !important;
  }

  /* Toggle circle checked position */
  #CybotCookiebotDialogBodyLevelButtonsSelectPane input:checked + .CybotCookiebotDialogBodyLevelButtonSlider::before {
    transform: translateX(16px) !important;
  }

  /* Show details spacing */
  #CybotCookiebotDialogBodyEdgeMoreDetails {
    margin-top: 6px !important;
    padding: 0 !important;
  }

  #CybotCookiebotDialogBodyEdgeMoreDetailsLink {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  /* Main action buttons wrapper */
  #CybotCookiebotDialogBodyButtons {
    display: flex !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }

  /* Main action buttons */
  #CybotCookiebotDialogBodyButtons button {
    font-size: 12px !important;
    line-height: 1.2 !important;

    padding: 8px 10px !important;
    min-height: 34px !important;
    height: auto !important;

    width: auto !important;
    flex: 1 1 auto !important;

    border-radius: 6px !important;
  }

  #CybotCookiebotDialogBodyButtons button span {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }
	#CybotCookiebotDialogHeader{display:none !important;}
	
	  #CybotCookiebotDialogDetailBody {
    max-height: 28vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }
	#CybotCookiebotDialog .CybotCookiebotDialogGpcContainer {max-height:45px !important;}
	
	#CybotCookiebotDialog .CybotCookiebotScrollContainer{
    max-height: 28vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }
}