/*
Theme Name:   Parsavesta Chid
Theme URI:    https://parsavesta.com
Description:  Parsavesta Chid Theme
Author:       KESHAVARZDEHGHAN
Author URI:   http://parsavesta.com
Template:     hello-elementor
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  parsavesta
*/


/* form range input */

/* Slider Wrapper */
.loan-slider-wrapper {
    max-width: 400px;
    margin: 20px auto;
    text-align: center;
    font-family: Arial, sans-serif;
}

/* Slider Style */
input[type="range"] {
	font-size: 1.5rem;
	width: 12.5em;
}

input[type="range"] {
	--thumb-height: 25px;
	--track-height: 0.125em;
	--track-color: rgb(101 101 101 / 20%);
	--clip-edges: 0.125em;
}

input[type="range"] {
	position: relative;
	background: blue;
	overflow: hidden;
}

input[type="range"],
input[type="range"]::-webkit-slider-runnable-track,
input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	transition: all ease 100ms;
	height: var(--thumb-height);
}

input[type="range"]::-webkit-slider-runnable-track,
input[type="range"]::-webkit-slider-thumb {
	position: relative;
}

input[type="range"]::-webkit-slider-thumb {
	--clip-top: calc((var(--thumb-height) - var(--track-height)) * 0.5 - 0.5px);
	--clip-bottom: calc(var(--thumb-height) - var(--clip-top));
	--clip-further: calc(100% + 1px);
	--box-fill: calc(-100vmax - var(--thumb-width, var(--thumb-height))) 0 0
		100vmax #ff7f51;
	width: var(--thumb-width, var(--thumb-height));
	background: linear-gradient(#ff7f51 0 0) scroll no-repeat left center /
		50% calc(var(--track-height) + 1px);
	background-color: #ff7f51;
	box-shadow: var(--box-fill);
	border-radius: 50%;
	border: 2px solid #ff000040;
	clip-path: polygon(
		100% -1px,
		var(--clip-edges) -1px,
		0 var(--clip-top),
		-100vmax var(--clip-top),
		-100vmax var(--clip-bottom),
		0 var(--clip-bottom),
		var(--clip-edges) 100%,
		var(--clip-further) var(--clip-further)
	);
}

input[type="range"]::-webkit-slider-runnable-track {
	background: linear-gradient(var(--track-color) 0 0) scroll no-repeat center /
		100% calc(var(--track-height) + 1px);
}

.gform-theme--framework #loan-slider[type] {
	border: 0 !important;
	box-shadow: none !important;
}

.gform-theme--framework #loan-slider[type] {
	outline: none !important;
}

/* Loan Value Display */
.loan-value-display {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
}

.loan-value-display span {
    color: #00c4cc;
}

/* Monthly Cost Section */
.monthly-cost {
    font-size: 18px;
    color: #555;
    margin-top: 15px;
}

.monthly-cost strong {
    color: #333;
}

.monthly-cost span {
    font-size: 24px;
    font-weight: bold;
    color: #00c4cc;
}

/* Number Field (if enabled) */
#loan-input {
    width: 100%;
    padding: 5px;
    font-size: 18px;
    text-align: center;
    border: 2px solid #e6e6e6;
    border-radius: 5px;
    margin-top: 10px;
    outline: none;
}

#loan-input:focus {
    border-color: #00c4cc;
    box-shadow: 0 0 5px rgba(0, 196, 204, 0.5);
}


/* radio button */

.pars-form-one .gfield_radio input[type="radio"]:checked, .pars-form-one .gfield_radio input[type=radio],
.pars-form-two .gfield_radio input[type="radio"]:checked, .pars-form-two .gfield_radio input[type=radio] {
    appearance: none !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.pars-form-one .gfield_radio input[type=radio]::before,
.pars-form-two .gfield_radio input[type=radio]::before {
    content: "✓" !important;
    background-color: transparent !important;
    position: absolute !important;
    width: 12px !important;
    height: 20px !important;
    color: #fff;
}

.pars-form-one .gfield_radio .gchoice, 
.pars-form-two .gfield_radio .gchoice {
    border: 1px solid #FFA839;
    background-color: #efefef;
    border-radius: 4px;
    color: #fff;
    height: 40px;
    align-content: center;
}

.pars-form-one .gfield_radio .gchoice input[type="radio"]:checked+label,
.pars-form-two .gfield_radio .gchoice input[type="radio"]:checked+label {
  background-color: #FFA839;
  color:#fff;
  display: flex;
  align-items: center;
}

.pars-form-one .gfield_radio .gchoice input[type="radio"]:checked,
.pars-form-two .gfield_radio .gchoice input[type="radio"]:checked {
    background-color: #FFA839 !important;
    border-radius: 0;
    width: 40px;
    height: 40px;
    justify-items: center;
    display: flex;
    align-items: center;
}

.pars-form-one .gfield_radio .gform-field-label,
.pars-form-two .gfield_radio .gform-field-label {
    margin: 0 !important;
}

.pars-form-one #input_1_15, #input_1_17 {
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: space-between;
    column-gap: 5px;
}

.pars-form-one #input_1_15 .gchoice {
    width: 99% !important;
}

.pars-form-one #input_1_17 .gchoice {
    width: 32%;
}

.pars-form-one .ginput_container input[type],
.pars-form-two .ginput_container input[type] {
    background-color: #0000000d;
    border: 1px solid #ffa839;
}

.pars-form-one .gform-theme.gform-theme--framework.gform_wrapper .button,
.pars-form-two .gform-theme.gform-theme--framework.gform_wrapper .button {
    background-color: #ffa839 !important;
    width: 100% !important;
}

.pars-form-one .gform-page-footer.gform_page_footer.top_label,
.pars-form-two .gform-page-footer.gform_page_footer.top_label {
    display: flex;
}

/* second form */

.pars-form-two .pars-form-image .gchoice {
    inline-size: 170px !important;
    min-inline-size: 170px !important;
    max-inline-size: 170px !important;
    height: auto !important;
    box-shadow: none !important;
    border: 0 !important;
}

.pars-form-two .gfield-image-choice-wrapper-inner label {
    font-size: 12px ;
    color: #333 ;
    cursor: pointer ;
    font-weight: normal ;
    text-align: center ;
    overflow: hidden ;
    text-overflow: ellipsis ;
    white-space: nowrap ;
}

.pars-form-two .pars-form-image .gfield-choice-input {
    display: none !important;
}

.pars-form-two .pars-form-image .gchoice input+label{
    margin: 0 !important;
}

.pars-form-image .gfield_radio :has(input:checked), .pars-form-image .gfield_radio .gchoice:hover .gfield-image-choice-wrapper-outer {
    border: 1px solid #ffa839 !important;
}

.pars-form-two .pars-form-image .gfield-choice-input:checked + label {
    font-weight: bold !important;
     color: #ffa839 !important; 
    background-color: transparent !important;
}

.pars-form-image .gfield_radio :has(input:checked) .gfield-image-choice-wrapper-inner {
    border: 0 !important;
}

.pars-form-image .gfield_radio .gchoice:hover .gform-field-label {
    color: #ffa839 !important;
}

.pars-form-image .gfield-choice-image {
    filter: brightness(0);
}

.pars-form-image .gfield_radio .gchoice:hover .gfield-choice-image, .pars-form-image .gfield_radio :has(input:checked) .gfield-choice-image  {
    filter: brightness(1);
}

.pars-form-two .pars-form-image .gfield-choice-image-wrapper {
    width: 70px !important;
    height: 70px !important;
}

.pars-form-two .pars-form-image .gfield-image-choice-wrapper-outer {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
    flex-direction: column;
    border: 1px solid #00000059 !important;
}

.pars-form-image .gfield_radio :has(input:checked)::after {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}

#input_2_9, #input_2_8, #input_2_18, #input_2_20, #input_2_25 {
    width: 100%;
}

/* home gallery */

pars-logo-sec .gallery-item .gallery-icon img {
    height: 50px;
}

.pars-logo-sec .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
}

.pars-logo-sec .gallery-item {
    width: 45% !important;
    padding: 10px !important;
}

/**/
#pars-svg path {
    fill: #F6EFE8 !important;
}

.pars-accordion .xpro-accordion-list {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15) !important;
    border-radius: 10px !important;
    border:1px solid rgb(0 0 0 / 5%) !important;
}

.pars-accordion .xpro-accordion-list:hover{
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.31) !important;
    border:1px solid #96949487 !important;
    
}

.childrenNumber .gfield_radio, .Accommodation .gfield_radio, .statusMarital .gfield_radio, .Employment .gfield_radio, .consolidate .gfield_radio, .co-applicant .gfield_radio{
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
}

/* support btn */

.hiden {
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s 0.5s;
}

.hiden.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: 0s;
}

.pars-icon {
    position: relative;
    z-index: 1;
}

.pars-icon::before {
    content: "Kundtjänst";
    position: absolute;
    left: -110px;
    top: 50%;
    transform: translate(60%,-50%);
    width: 100px;
    height: 30px;
    background-color: #1d2731;
    text-align: center;
    line-height: 2em;
    color: #fff;
    font-family:
    "Yekan Bakh";
    font-size: 14px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    transition: all 0.5s ease-in-out;
}

.pars-icon:hover::before {
    transform: translate(0, -50%);
    opacity: 1;
    visibility: visible;
}

/* end footer */


#trp-floater-ls.trp-bottom-right {
    display: none !important;
}


a#menu-item-dropdown-3455 {
    padding-left: 20px !important;
}


