/*
Theme Name: Customized account theme for WOCA 
Theme URI: https://brightsolutions.dk
Description: Additional Child theme for the BrightSky Master theme, designed for WOCA
Author: Tommy Martinsen
Author URI: https://brightsolutions.dk
Template: brightsky-master
Version: 0.0.03
Text Domain: brightsky-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

.woocommerce-account .entry-content {
padding: 40px;display: flex;
}

.woocommerce-account .entry-content input {
    width: 100%;
}

.woocommerce-account .entry-content label {
    width: 100%;
    display: inline-block;
}

.woocommerce-account .entry-content span em {
    width: 100%;
    display: inline-block;
}

.woocommerce-account .entry-content .woocommerce {width: 100%;}
.woocommerce-MyAccount-content h2 {
    font-size: 2em;
    font-weight: 600
}

.woocommerce-MyAccount-content .addresses {
    margin-top: 40px
}

.woocommerce-MyAccount-content .addresses .woocommerce-Address .title {
    background-color: #f7f7f7;
    padding: 15px 25px;
    position: relative;
    border-bottom: 1px solid #fff
}

.woocommerce-MyAccount-content .addresses .woocommerce-Address .title h3 {
    font-size: 20px;
    font-weight: 400;
    margin: 0
}

.woocommerce-MyAccount-content .addresses .woocommerce-Address .title a {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 15px;
    background-color: #fff;
    color: #898989
}

.woocommerce-MyAccount-content .addresses .woocommerce-Address .title a:hover {
    background-color: #f8f8f8;
    color: #555
}

.woocommerce-MyAccount-content .addresses .woocommerce-Address address {
    background-color: #f7f7f7;
    padding: 15px 25px;
    color: #898989
}

.woocommerce-MyAccount-content #payment .payment_methods {
    margin-bottom: 1.618em !important
}

.woocommerce-MyAccount-content #payment .payment_methods li .payment_box {
    background-color: rgba(0,0,0,.05)
}

p.stars span a {
    border-color: #eaeaea
}

@media(min-width: 768px) {
    .woocommerce-MyAccount-navigation {
        float:left;
        width: 14%;
	   margin-top: 30px;
    }

    .woocommerce-MyAccount-content {
        float: left;
        width: 82%;

    }
}
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 15px 0;
    padding: 0;
    border-top: 1px solid #eaeaea
}

.woocommerce-MyAccount-navigation ul li {
    list-style: none;
    border-bottom: 1px solid #eaeaea;
    position: relative
}

.woocommerce-MyAccount-navigation ul li a {
    padding: 12px 0;
    display: block
}

.woocommerce-MyAccount-navigation ul li a:before {
    display: inline-block;
  
    font-weight: normal;
    font-style: normal;
    letter-spacing: normal;
    text-rendering: auto;
    font-size: inherit;
    text-rendering: auto;

    line-height: 22px;
    margin-left: 8px;
    width: 20px;
    text-align: right;
    float: right;
    -moz-opacity: .45;
    -webkit-opacity: .45;
    opacity: .45;
    -webkit-transition: opacity .3s ease;
    -moz-transition: opacity .3s ease;
    -ms-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    transition: opacity .3s ease
}

.woocommerce-MyAccount-navigation ul li a:hover:before {
    -moz-opacity: 1;
    -webkit-opacity: 1;
    opacity: 1
}

.woocommerce-MyAccount-navigation ul li.is-active a:before {
    -moz-opacity: 1;
    -webkit-opacity: 1;
    opacity: 1
}

.woocommerce-MyAccount-navigation ul li a::before {
   /* content: ">" !important;*/
}


.woocommerce-MyAccount-navigation-link.is-active {
}

.woocommerce-MyAccount-navigation-link.is-active > a {
    font-weight: 700;
}

.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #fff !important;
}



.woocommerce-MyAccount-content a:hover {
    color: #303030;
}

.woocommerce-MyAccount-navigation ul {
}

.woocommerce-MyAccount-navigation-link > a {
    font-size: 14px;
    font-weight: 400;
    padding: .875em 0 !important;
    clear: both;
    display: block;  
}

.woocommerce-MyAccount-navigation-link > a:hover, .woocommerce-MyAccount-navigation-link.is-active > a {
    font-weight: 600;
}
.pdoc-documentlist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Set minimum column width to match item max width */
  gap: 20px; /* Ensures spacing between items */
  padding: 20px;
}

.pdoc-item {
  border: 1px solid #ddd;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 250px; /* Ensure consistent size */
}

.pdoc-image img {
  max-width: 100px; /* Adjust to parent width */
  height: auto;
  margin-bottom: 10px;
}

.pdoc-tekst {
  margin: 5px 0;
}

.pdoc-tekst a {
  color: #007bff;
  text-decoration: none;
}

.pdoc-tekst a:hover {
  text-decoration: underline;
}
.sp-infosection {
    display: none !important;
}
.sp-header-thirdrow {
    display: none !important;
}
.site-branding a{
  height: fit-content;
  display: inline-block;
  margin: auto 0;
}
input#rememberme {
    width: 16px;
}
button.woocommerce-button.button.woocommerce-form-login__submit {
    float: right;
}
p.woocommerce-LostPassword.lost_password {
    width: 100%;
    display: inline-block;
    text-align: right;
}
.woocommerce-account .entry-content:has(.woocommerce-form-login) {
    max-width: 500px;
    margin: 0 auto;
}
main {
	display: block;
	min-height: calc(100vh - 405px);
}
.custom-account-content {
    margin-bottom: 34px;
}
.custom-dashboard-content .sp-text-foto{
    margin-left: 0;
}
.woocommerce-account .sp-secondrow-right-content.main-navigation, .woocommerce-account  .menu-section,.woocommerce-account .sp-topbar-actions {
    display: none;
}
.woocommerce-account input[readonly],.woocommerce-account #account_first_name, .woocommerce-account #account_last_name,.woocommerce-account #account_email {
  background-color: #f5f5f5;
  cursor: not-allowed;
}
#account_display_name_description{
display: none;
}
.woocommerce-account .woocommerce-form-row:has(#account_display_name){
display:none;
}
.woocommerce-account p.woocommerce-form-row{
  max-width: 600px;
  display:inline-block;
  margin-right: 30px;
  min-width: 250px;
}
form.woocommerce-EditAccountForm.edit-account {
    padding: 40px;
}
form.woocommerce-EditAccountForm.edit-account fieldset {
    margin-top: 40px;
}
.dashboard_account_details_container, .dashboard_account_container  {
    margin: 40px;
}
/* Shared animated dropdown styles */
#customer-edit-container,
#user-update-container,
#new-contact-container {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

#customer-edit-container.open,
#user-update-container.open,
#new-contact-container.open {
  max-height: 1000px; /* Adjust this to suit your tallest form */
}
.dashboard_account_details_container .woocommerce-Button.button{

}

.dashboard_account_details_container .woocommerce-Button.button {
  text-transform: lowercase;
}

.dashboard_account_details_container .woocommerce-Button.button::first-letter {
  text-transform: uppercase;
}
.woca_user_record,  .woca_user_header {
    display: inline-block;
    width: 100%;
}
.woca_user_header {
   font-weight: bold;
}
.woca_user_record div, .woca_user_header div {
    display: inline-block;
    width: 33%;
}