/* 
Theme Name:		 Galleriet
Description:	 Galleriet is a child theme
Author:			 Robert
Template:		 astra
Version:		 1.0.0
Text Domain:	 galleriet
*/

p > a{
	text-decoration: underline !important ;
	text-decoration-color: #B00835 !important;
}


.category_list{
	display: flex ;
	align-items: stretch ;
	list-style: none ;
	margin: 0 !important;
	padding: 0 !important;
	flex-wrap: wrap ;
}

.category_list > li > a{
	padding: 19px 24px ;
	color: #000 ;
	border: 1px solid #B3B3B3 ;
	margin-top: -1px;
	font-size: 22px ;
	line-height: 1em ;
	/*font-family : 'Byker', sans-serif;*/
	font-weight: 400 ;
	display: block ;
	margin-left: -1px ;
	transition: all 0.3s ease ;
	white-space: nowrap ;
}

.category_list > li > a:hover{
	color: #fff ;
	background: #141414 ;
	border-color: #141414 ;
}

.category_list > li > a.active{
	color: #fff ;
	background: #141414 ;
	border-color: #141414 ;
}

#popup_menu{
	display: none ;
	position: fixed ;
	width: 100% ;
	max-width: 100% ;
	overflow-x: hidden ;
	z-index: 999 ;
	left: 0 ;
	top: 0 ;
	height: 100% ;
	max-height: 100vh ;
	overflow-y: scroll ;
}

.topRow {
	max-width: 1620px ; 
	margin: 0 auto -79px !important ;
	padding: 0 !important;
}

.bottomRow {
	padding: 0 !important;
}

.e-n-menu-title, .e-n-menu-title-text{
	cursor: pointer !important;
}

.trail-items li::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 11 11' fill='none'%3E%3Cpath d='M5.53516 0.890625L10.1066 5.46204L5.53515 10.0335' stroke='%232B2B2B'%3E%3C/path%3E%3C/svg%3E");
    margin-left: 15px;
}

@media (min-width: 1200px) {
    .ast-plain-container.ast-no-sidebar #primary {
        margin-top: 20px;
    }
}

header.entry-header .entry-title {
    margin-bottom: 0.1em;
}

.archive .entry-title, .blog .entry-title, .search .entry-title {
    line-height: 1;
    font-weight: 400 !important;
    margin-bottom: 0.1em;
}




/* Kundeklubb */


    #kundeklubbskjema input[type='number']{
        background-color: #ffffff;
        border-color: #000000;
        border-width: 0px 0px 2px 0px;
        border-radius: 0px 0px 0px 0px;
    }

    #kundeklubbskjema p{
        width: 50%;
        float: left;
        padding: 0 2% 0 2%;
    }

    #kundeklubbskjema p.wide{
        width: 100%;
    }

    #kundeklubbskjema p.mobnr{
        width: 72%;
        margin: 0;
        padding: 0;
    }


    #kundeklubbskjema p.noair{
        margin: 0;
    }

    #kundeklubbskjema p.topair{
      margin-top: 1.2em;
    }

    #kundeklubbskjema input[type=text],#kundeklubbskjema input[type=number]{
        margin:0.625rem 0 0.625rem 0;
        padding: 0.625rem 3%;
        width: 100%;
        font-size: 1.2em;
    }



    #kundeklubbskjema label {
        font-weight:bold;
        display: block;
    }

    #kundeklubbskjema .group label {
        width: 46%;}

    #kundeklubbskjema .kjonn{
        display:block;
    }

    #kundeklubbskjema .lastned p{
        padding:0;
    }


    #kundeklubbskjema .psend {
        display: inline;
        width: 27%;
        margin: 0 0 0% 1%;
        padding: 0;
    }

    #kundeklubbskjema input[type='submit']{
      background-color: #F27287;
        border-color: #000;
        border-radius: 4px 4px 4px 4px;
        width: 100%;
        font-size: 20px;
        font-weight: 400;
        line-height: 1.1em;
        height: 70px;
        transition: opacity 0.3s ease;
    }

    #kundeklubbskjema .psend input[type='submit']:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    .jointheclubspin {
        position: relative;
        display: inline-block;
        width: 100%;
        min-height: 70px;
      overflow: visible;
    }

    .jointheclubspin::after {
        content: '';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        border: 3px solid #000;
        border-radius: 50%;
        border-top-color: transparent;
        animation: spin 0.8s linear infinite;
      -webkit-animation: spin 0.8s linear infinite;
      z-index: 1000;
      pointer-events: none;
      box-sizing: border-box;
    }

    .jointheclubspin input[type='submit']{
      position: relative;
    }

    @keyframes spin {
        0% { transform: translateY(-50%) rotate(0deg); }
        100% { transform: translateY(-50%) rotate(360deg); }
    }

    @-webkit-keyframes spin {
      0% { -webkit-transform: translateY(-50%) rotate(0deg); }
      100% { -webkit-transform: translateY(-50%) rotate(360deg); }
    }

    #kundeklubbskjema .inform{
        display: inline-block;
        margin: 6% 0 4% 2%;
    }

    #kundeklubbskjema .bigbreak{
        border-bottom: 0.0625rem solid #C5BA91;
        clear: both;
        display: block;
        margin: 0 0 2.5em;
        padding: 2.5em 0 0;
        width: 100%;
    }

    #kundeklubbskjema .error{
	    color: #d32f2f;
	    font-size: 12px;
	    margin: -3.4rem 0 1.25em 0.2rem;
        background: none repeat scroll 0 0 #D0D0D2;
        display: block;
        pointer-events: none;
        position: absolute;
        padding: 0.1875rem 0.75rem;
        font-weight: bold;
        border-radius: 0.375rem;
    }

    #kundeklubbskjema .intxt{
        margin:0;
    }


      #kundeklubbskjema label {
        font-weight: bold;
        display: flex!important;
    }
    .clubform {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin: 24px 0;
    }
    .clubform .form-field {
      display: flex;
      flex-direction: column;
    }
    .clubform .form-field.full-width {
      grid-column: 1 / -1;
    }
    .clubform label {
      font-weight: 600;
      margin-bottom: 8px;
      font-size: 14px;
      color: #333;
    }
    .clubform input[type='text'],
    .clubform input[type='number'],
    .clubform select {
      padding: 12px 16px;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-size: 14px;
      background-color: #fff;
      transition: border-color 0.3s ease;
    }
    .clubform select {
      padding: 8px 16px;
      margin: 0.625rem 0 0.625rem 0;
      height: auto;
      line-height: 1.5;
    }
    .clubform input[type='text']:focus,
    .clubform input[type='number']:focus,
    .clubform select:focus {
      outline: none;
      border-color: #0074a8;
      box-shadow: 0 0 0 3px rgba(0, 116, 168, 0.1);
    }
    .clubform .gender-group {
      display: flex;
      gap: 24px;
      margin-top: 20px;
    }
    .clubform .gender-group label {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0;
      font-weight: 400;
      cursor: pointer;
      line-height: 1;
    }
    .clubform .gender-group input[type='radio'] {
      width: 18px;
      height: 18px;
      margin: 0 12px 0 0;
      vertical-align: middle;
    }

    .clubform .section-title {
      grid-column: 1 / -1;
      font-weight: 600;
      font-size: 14px;
      color: #333;
      margin-top: 8px;
      margin-bottom: 4px;
    }
    .clubform .children-section {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      padding-top: 16px;
      border-top: 1px solid #eee;
    }
    .clubform .children-section .child-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }
    .clubform .children-year-select {
      display: flex;
      flex-direction: column;
    }
    .clubform .checkbox-group {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .clubform .checkbox-group label {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin: 0;
      font-weight: 400;
      cursor: pointer;
      line-height: 1;
    }
    .clubform .checkbox-group label .label-text {
      flex: 1;
      line-height: 1.4;
    }
    .clubform .checkbox-group input[type='checkbox'] {
      width: 18px;
      height: 18px;
      margin: 2px 12px 0 0;
      cursor: pointer;
      vertical-align: text-top;
    }
    .clubform .info-text {
      grid-column: 1 / -1;
      font-size: 13px;
      color: #666;
      line-height: 1.5;
      margin-top: -18px;
    }
    .clubform .privacy-text {
      grid-column: 1 / -1;
      font-size: 13px;
      color: #666;
      line-height: 1.5;
    }
    .clubform .submit-button {
      grid-column: 1 / -1;
      margin-top: 24px;
    }
    @media (max-width: 768px) {
      .clubform {
        grid-template-columns: 1fr;
        gap: 16px;
      }
      .clubform .children-section {
        grid-template-columns: 1fr;
      }
      .clubform .children-section .child-row {
        grid-template-columns: 1fr;
      }
      .clubform .checkbox-group {
        grid-template-columns: 1fr;
      }
    }


/* form datepicker*/
  .ui-datepicker {
    font-family: inherit;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .ui-datepicker-header {
    background-color: #f27287;
    color: #ffffff;
    border: none;
    border-radius: 4px 4px 0 0;
    padding: 10px;
  }
  
  .ui-datepicker-title {
    color: #ffffff;
    font-weight: bold;
  }
  
  .ui-datepicker-prev, .ui-datepicker-next {
    color: #ffffff;
    cursor: pointer;
  }
  
  .ui-datepicker-prev:hover, .ui-datepicker-next:hover {
    background-color: rgba(255,255,255,0.2);
    border-radius: 3px;
  }
  
  .ui-datepicker table {
    width: 100%;
    margin-top: 10px;
  }
  
  .ui-datepicker td {
    padding: 5px;
    text-align: center;
  }
  
  .ui-datepicker-calendar td.ui-datepicker-other-month {
    color: #ccc;
  }
  
  .ui-datepicker-calendar td.ui-datepicker-current-day a {
    background-color: #f27287;
    color: #ffffff;
    border-radius: 3px;
    font-weight: bold;
  }
  
  .ui-datepicker-calendar a {
    color: #333;
    text-decoration: none;
    padding: 5px;
    border-radius: 3px;
  }
  
  .ui-datepicker-calendar a:hover {
    background-color: #f0f0f0;
  }
  
  .ui-datepicker-calendar .ui-datepicker-unselectable {
    color: #ccc;
  }
  
  .ui-datepicker-week-col {
    color: #999;
    font-size: 0.9em;
  }



.elementor-element h2{
	word-break: break-word !important ;
}

@media(min-width: 1025px){
	.jet-listing-grid__item:nth-child(3n) .loop-container{
		margin-left: auto !important;
	}
	
	.jet-listing-grid__item:nth-child(3n + 1) .loop-container{
		margin-right: auto !important;
	}
	
	.jet-listing-grid__item:nth-child(3n + 2) .loop-container{
		margin-left: auto !important;
		margin-right: auto !important;
	}
	
	.jet-listing-grid__item:nth-child(1) .loop-container{
		margin-right: auto  !important;
		margin-left: 0 !important ;
	}
	
	/*.loop-container{
		margin-right: auto !important ;
		margin-left: auto !important ;
	}*/
	
	.elementor-icon-list-text{
		word-break: break-all !important ;
	}
}

@media(max-width: 767px){
	.category_list{
		flex-wrap: nowrap; 
		overflow-y: scroll ;
	}
	

	
	.top-notice.bottom{
		position: fixed ;
		width: 100% ;
		left: 0 ;
		bottom: 0 ;
		z-index: 10000
	}
	
	
	.topRow {
		max-width: 1620px ; 
		margin: 0 auto -49px !important ;
	    padding: 0 !important;
	}
	
	.category_list > li > a{
		padding: 15px 20px ;
		white-space: nowrap ; 
		font-size: 14px ;		
		margin-left: 0px ;
		margin-right: -1px ;
	}

	#kundeklubbskjema p.mobnr{
	    width: 100%;
	}

	#kundeklubbskjema .psend {
	    display: block;
	    width: 100%;
	    margin: 2% 0 0% 0%;
	    padding: 0;
	}

	#kundeklubbskjema .psend input[type="submit"]{
	    width: 100%;
	    font-size: 20px;
	    font-weight: 400;
	    line-height: 1.1em;
	}
	
	.store-btn{
		font-size: 15px !important ;
		height: 11px !important ;
	}
	
}
