/*
Theme Name: nettoperasmus2024
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.0
Tested up to: 6.6.1
Requires PHP: 5.7
Version: 20240906
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nettoperasmus2024
Tags: blog, news, portfolio, one-column, wide-blocks, accessibility-ready, block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, sticky-post, style-variations, threaded-comments, translation-ready
*/

:root, .btn-secondary {
  --bs-border-radius: 4px; 
  --bs-btn-hover-bg: #fff;
  --bs-btn-bg: #fff !important;
  --bs-btn-color: #000;
}

.footerLogo {
  margin: 1rem !important;
  margin-left: 4rem !important;
  margin-right: 4rem !important;  
}

.btn-secondary:hover {
  --bs-btn-hover-color: #000;
  background-color: var(--wp--preset--color--custom-button-hover);
}

.wp-block-button > a:hover {
  background-color: var(--wp--preset--color--custom-button-hover);
}


.btn-secondary, .form-control {
  border: black;
  border-width: 1px;
  border-style: solid;
}

.rotate180 {
  transform: rotate(180deg);
}

.contentsListSearch, .contentsListIndividual {
  max-width: 80%;
  margin: auto;
  margin-top: 1.7rem;
  margin-bottom: 1.7rem;
}

.contentsListIndividual {
  display: flex;
  margin-bottom: 0;
}

.show-contents-button {
	margin-right: 10px;
}

header {
    display: flex;
    position: fixed;
    top: 0;
    width: -webkit-fill-available;
    z-index: 1000;
}

.full-width {
    width: -webkit-fill-available;
}

.Xmodal-backdrop {
    display: none;
}

.navigationButtonsOuter {
    display:flex;
    justify-content:space-between;  
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 3rem;
  }

  .modal.fade .modal-dialog, .fade {
    transition: transform 0s;
    transform: none;
}

  .make100height {
    height:fit-content;
    width:100%;
  }

  .navbar {
    padding: 0;
  }

  .navbarclosed {
    height: 66px;
    line-height: 66px;
    
    overflow: hidden;
  }

  

  .navButtonLink {
    display:inline-block;
  }

  .navLink {
    text-decoration: underline;
    font-weight: normal;
  }
  .navLink:hover {
    text-decoration: none;
  }


  .XnavButtonNextOuter {
    flex-grow: 1;
  }

  .navButtonNextOuter, .navButtonPrevOuter {
    padding: 1rem;
  }

  #nettop-page-navigation-narrow {
    display: none;
  }


  #nettop-page-navigation-narrow > .navButtonNextOuter > div {
    flex-flow: row-reverse;
  }
  #nettop-page-navigation-narrow > div {
    flex-grow: 1;
  }


  .navButtonPrevOuter {
    padding-left: 0;
  }

  .navButtonFlex {
    width: -webkit-fill-available;
    right: 0;
    display: inline-flex;
    
  }

  .navButtonBlock {
    display: block;
    text-decoration: none;
  }

  .navButton {
    display: flex;
    font-size: 16px;
    width: max-content;
    
  }

  .navbar-toggler, .navbar-togglerx {
    border: none;
  }
  
  .navbar-toggler-icon {
    background-image: none;
  }

  .navbar-toggler-position {
    position: absolute;
    right: 5px;    
  }

  .navButton a {
    position: absolute;
    top: 0;
    bottom: 0;      
    left: 0;
    right: 0;
    z-index: 999;
  }

  .navIcon {
    margin:auto;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }
  
  .arrow {
    font-size: 40px;
    height: 50px;
  }

  .expandNav {
    display: inline-block;
  }
  
  .vertical-center {
    margin: 0;
    position: relative;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  .accordion-body-menu-style {
    padding-top: 0;
    padding-right: 0;

  }

  .menuItemsChildren {
    margin-left: 20px;
  }

  .menuDownArrow {
    width:35px;
    height:35px;
    margin: auto;
    margin-left: 10px;
  }
  
  .menuIndent {
    margin-left: 20px;
  }

  .menuHideDropdownArrow {
    display: none;
  }
  
  .menuDropdown {
    flex-direction: column;
    /*display: none;*/

    
    opacity: 1;    
    transition: all 0.2s;
  }

  .menuDropDownHidden {
    opacity: 0;
    height: 0px;
    visibility:hidden;
    
  }  
  
  #dropDownMenuItem-1{
    display:flex;
  }
  
  .content {
    background-color: white;
    color:black;
  }
  
  .menuTitleOuter {
    width: -webkit-fill-available;
    display: flex;
    justify-content: space-between;
  }

  .menuDownArrowTransform {
    transform: rotate(180deg);
  }    
  
  .menuItemTop {
    display:flex;
    justify-content:space-between;  
  }
  
  .menuTitle {
    width: -webkit-fill-available;
    font-size: 16px;
    line-height: 30px;
    text-align: left;
    color: black;
    display: inline-block;
    padding-left: 0.4rem;
  }

  .menuTitle:hover, .subMenuTitle:hover {
    text-decoration: underline;
  }
  
  .subMenuTitle {
    width: -webkit-fill-available;
    font-size: 16px;
    line-height: 30px;
    text-align: left;
    color: black;
    display: inline-block;
    padding-left: 0.4rem;
  }

  .menuItemTop:hover, .menuTitleOuter:hover {
    background-color: var(--wp--preset--color--custom-content-list-hover-item);
  }


#navNext:hover, #navPrev:hover {
  background-color: var(--wp--preset--color--custom-button-hover);
}

  .menuCurrentItem {
    /*background-color: #d5f3d9;*/
    /*background-color:color-mix(in srgb, var(--wp--preset--color--custom-green-background) 15%, transparent);*/
    /*background-color:color-mix(in srgb, var(--wp--preset--color--custom-header-background) 15%, transparent);*/
    background-color:var(--wp--preset--color--custom-content-list-current-item);
  }

.contentsMenu {
  max-width: 80%;
  margin: auto;
}

.contentsMenu * {
  text-decoration: none;
}
  
 
.spacer {
  min-height: 100px;
}


.navBarOuter {
  display: flex;
  flex-direction: row;
}

.navBarSandwichOuter {
  flex-grow: 1;
}

.navBarSandwich {
  float:right;
  width:50px;
  height: 50px;
}

.navbar-brand {
  white-space: unset !important;
  color:white !important;
}

.showContentsButton {
  margin-right: 0.5rem;
}

.carousel-inner {
  width: 70%;
  margin: auto;
}

.carousel-control-next, .carousel-control-prev {
  opacity: unset;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
  background-image: none;
  width: fit-content;
  padding: 0.3rem;
  height: fit-content;
}

.carousel-indicators button {
  background-color: #000 !important;
}

.carousel-indicators {
  bottom: -50px;
}

.carousel-item {
  transition: transform .333s ease-in-out;
}


.form-control:focus, .btn-outline-secondary:focus, :focus-visible, .navbar-togglerx:focus, .btn-outline-light:focus {
  box-shadow: 0 0 0 0.25rem rgba(0,0,0,1);
  outline:none;
}

.btn-navbar, .navbar-nav > .btn-navbar   {
  color: #fff ;
  text-decoration: underline;
}

.search-navbar.btn-navbar {
  text-decoration: none;
}

.btn-navbar:focus, .navbar-nav > .btn-navbar:hover, .search-navbar-hover:hover  {
  color: #000 ;
  background-color: #fff !important;
  text-decoration: underline;
}


  .search-navbar {
    border: #fff;
    border-width: 1px;
    border-style: solid;
    border-color: #fff;
    background-color: var(--wp--preset--color--custom-header-background) !important;
    color: #fff;
  }

  .form-control.search-navbar, .form-control.search-navbar:focus {
    color: #fff;
  }  
  .form-control.search-navbar::placeholder {
    color: #fff;
    opacity: 1; /* Firefox */
  }

/* sandwich menu icon */
.navbar-togglerx {
  padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
  font-size: var(--bs-navbar-toggler-font-size);
  line-height: 1;
  color: var(--bs-navbar-color);
  background-color: transparent;
  transition: var(--bs-navbar-toggler-transition);

}

.sliderNavSmallScreen {
  position: relative;
  bottom: -73px;
  display: flex;
  flex-direction: row;
  justify-content:space-between;  
  justify-content: center;
  width: 50%;
  margin: auto;  
}

.nettop-carousel {
  margin-top: 3rem !important;
  margin-bottom: 4rem !important;
}


@media screen and (max-width: 801px) {
  .sliderNavLargeScreen {
    display: none;
  }

  .nettop-carousel {
    margin-bottom: 8rem !important;
  }
	
  .carousel-inner {
    width:100%;
  }
  
}
@media screen and (min-width: 802px) {
  .sliderNavSmallScreen {
    display: none;
  }
}


@media screen and (max-width: 991px) {


  .navbar-collapse.collapse, .navbar-collapse.collapsing {
    background-color: #fff;
  }

  #navbarSupportedContent {
    padding-bottom: 2rem; 
  }
  
  .XmaxSmallWidth {
    max-width: 80%;
    margin: auto;
    margin-top: 1rem;  
  }
  
  #navbarSupportedContent {
    border-bottom: black;
    border-bottom-style: solid;
    border-bottom-width: 1px;
  }
}

.modal-header {
  background-color: #115B97;
  color: #fff;
  padding: 0.3rem;
  min-height: 54px;
}

.footerTexts {
    display: inline-block;
    margin-left: 2rem;
    margin-right: 2rem;
}

.galleryOuter {
  display: flex;
  flex-direction: row;
  margin-top: 10px;
  
  flex-wrap: wrap;
}

.galleryItem {

  min-width:310px;
  max-width:310px;
  background-color: white;
  
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;

}

.galleryItemLink:focus, .galleryItemLink:active, .galleryItemLink:hover {
  /*text-decoration: underline;*/
  box-shadow: 0px 4px 10px #063028bb;
  
}

.galleryItemInner {
  border:none;
  box-shadow: 0px 4px 10px #0630284D;
  border-radius: 15px;  
  
  margin:10px;
  padding:10px;
  
  display: flex; 
  flex-direction: column;
  
  height: 95%;
  background-color: white;
  border-color: white !important;
}

.galleryItemMoveBottom {
  margin-top: auto;
  text-align: center;
  width:100%;
}

.galleryImage {
  margin-bottom: 15px;
  overflow: hidden;
}

.galleryItemText {
  text-align: left;
}

.galleryItemButton {
  width: max-content;
  margin: auto;
}

.galleryItemButton {
  color: var(--bs-btn-hover-color);
  background-color: var(--bs-btn-hover-bg);
  border-color: var(--bs-btn-hover-border-color);
  border-radius: 4px;
  width:max-content;
  margin: auto;
  padding: 6px;
  padding-left: 12px;
  padding-right: 12px;
  color: #000;
}