/* basic form */
.zagata_form { display: block; max-width: 1200px; margin: 0 auto; position: relative; top: 0; left: 0; padding: 0; overflow: hidden; transition-duration: 0.4s; }
.zagata_form .wpcf7-response-output { position: relative; z-index: 10; margin: 0 !important; background: #1C1B28; background-color: rgba(28, 27, 40, 0.84); }
.zagata_form > p { margin: 0; padding: 0; }
.zagata_form h3, .zagata_form h4, .zagata_form h5, .zagata_form h6 { font-family: 'Anek Bangla', 'Anek Latin'; font-style: normal; font-weight: 500; line-height: 1.5; text-align: center; color: #F2F6FA; }
.zagata_form h3 { font-size: 32px; }
.zagata_form h4 { font-size: 26px; margin-bottom: 40px; }

.zagata_form a:link, .zagata_form a:visited { color: #C99812; }
.zagata_form a:active, .zagata_form a:hover, .zagata_form a:focus { color: #DFAE25; }
.zagata_form a.ct-link:link, .zagata_form a.ct-link:visited, .zagata_form a.ct-link:active, .zagata_form a.ct-link:hover, .zagata_form a.ct-link:focus { color: #fff; }


/* steps */
.zagata_step { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: flex-start; top: 0; left: 0; transition-duration: 0.6s; opacity: 0; }
.zagata_step .step { flex-basis: 100%; padding: 0; display: flex; flex-direction: column; }
.zagata_step header { display: none; } 
.zagata_step section { padding: 30px 0 25px 0px; text-align: left; min-height: 35px; display: flex; flex-direction: column; align-content: center; justify-content: center; }
.zagata_step footer { display: flex; flex-direction: row; justify-content: space-between; border-top: 1px solid #676783; padding: 40px 0 0; align-items: center; flex-wrap: wrap; }
.zagata_step br { display: none; }
.zagata_step label { text-align: left; line-height: 1.4; }
.zagata_step label i { font-style: none; color: var(--red); }
.zagata_step section h6 { font-size: 18px; text-align: left; margin-bottom: 5px; }
.zagata_step section > p { margin: 0; }
.zagata_step img { display: block; margin: 0 auto; }
.zagata_step .btn-next { margin: 0 0 0 auto; }
.zagata_step .wpcf7-spinner { margin: 0 0 0 auto; }
.zagata_step button { border: 0; }

/* progress bar */
.zagata_form .prgrss { width: 100%; position: absolute; left: 0; top: 0; display: flex; flex-direction: row; flex-wrap: nowrap; list-style: none; margin: 0; padding: 0; border-top: 4px solid #1C1B28; border-radius: 2px; min-height: 16px; }
.zagata_form .prgrss .cl { height: 4px; background: #DFAE25; border-radius: 2px; position: absolute; top: -2px; left: 0; transition-duration: 0.6s; }
.zagata_form .prgrss li { flex-grow: 1; margin: 0; padding: 0; position: relative; top: 0; left: 0; text-align: center; color: #fff; }

/* rows and cols */
.za-row { margin-bottom: 20px; display: flex; flex-direction: row; justify-content: space-between; align-items: stretch; flex-grow: 1; }
.za-row .za-row { margin-bottom: 0; align-items: center; }
.zagata_step section .za-row:last-child p,
.zagata_step section .za-row:last-child { margin-bottom: 0; }

.za-col { flex-basis: 100%; }
.za-col-2 { flex-basis: 50%; }
.za-col-3 { flex-basis: 33%; }
.za-col-1-4 { flex-basis: 25%; }
.za-col-3-4 { flex-basis: 75%; }

.pd-r { padding-right: 50px; }
.pd-r24 { padding-right: 24px; }
.pd-l { padding-left: 50px; }
.pd-b25 { padding-bottom: 25px; margin-bottom: 0; }
.pd-b38 { padding-bottom: 38px; margin-bottom: 0; }

.brd-r { border-right: 1px solid #1C1B28; }
.brd-l { border-left: 1px solid #1C1B28; }

.za-row > label { margin-right: 50px; font-style: normal; font-weight: 400; font-size: 16px; line-height: 19px; color: #40536B; }
.za-row > label + span,
.za-row > label + .wpcf7-form-control-wrap { flex-grow: 1; }

.pd-r .pd-r { padding-right: 24px; }
.pd-l .pd-l { padding-left: 24px; }

/* simple radio */
.wpcf7-radio, .wpcf7-checkbox { }

.wpcf7-radio .wpcf7-list-item,
.wpcf7-checkbox .wpcf7-list-item { margin: 0 60px 0 0; }
.wpcf7-radio .wpcf7-list-item.last,
.wpcf7-checkbox .wpcf7-list-item.last { margin-right: 0; }
.wpcf7-radio .wpcf7-list-item-label,
.wpcf7-checkbox .wpcf7-list-item-label { font-style: normal; font-weight: 400; font-size: 16px; line-height: 19px; color: #70849E; }

.wpcf7-acceptance input,
.wpcf7-radio input, 
.wpcf7-checkbox input { display: none; }

.wpcf7-acceptance input + .wpcf7-list-item-label:before,
.wpcf7-radio input + .wpcf7-list-item-label:before,
.wpcf7-checkbox input + .wpcf7-list-item-label:before { margin: 0 8px 0 0; display: inline-block; position: relative; top: 3px; left: 0; }
.wpcf7-radio input + .wpcf7-list-item-label:before { content: url('data:image/svg+xml,%3Csvg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Ccircle cx="8" cy="8" r="7.5" stroke="%23BCC8DB"/%3E%3C/svg%3E%0A'); }
.wpcf7-acceptance input + .wpcf7-list-item-label:before,
.wpcf7-checkbox input + .wpcf7-list-item-label:before { content: url('data:image/svg+xml,%3Csvg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Crect x="0.5" y="0.5" width="15" height="15" stroke="%23BCC8DB"/%3E%3C/svg%3E'); }

.wpcf7-acceptance input:checked + .wpcf7-list-item-label, 
.wpcf7-radio input:checked + .wpcf7-list-item-label, 
.wpcf7-checkbox input:checked + .wpcf7-list-item-label { color: #40536B; }
.wpcf7-radio input:checked + .wpcf7-list-item-label:before { content: url('data:image/svg+xml,%3Csvg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Ccircle cx="8" cy="8" r="7.5" stroke="%23BCC8DB"/%3E%3Ccircle cx="8" cy="8" r="5" fill="%23DFAE25"/%3E%3C/svg%3E'); }
.wpcf7-acceptance input:checked + .wpcf7-list-item-label:before,
.wpcf7-checkbox input:checked + .wpcf7-list-item-label:before { content: url('data:image/svg+xml,%3Csvg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Crect x="0.5" y="0.5" width="15" height="15" stroke="%23BCC8DB"/%3E%3Cpath d="M2.85718 8.57143L6.28575 12L13.1429 4" stroke="%23DFAE25" stroke-width="2"/%3E%3C/svg%3E'); }

.wpcf7-acceptance .wpcf7-list-item { margin: 0; padding: 0; }
.wpcf7-acceptance .wpcf7-list-item-label { display: block; position: relative; top: 0; left: 0; padding: 0 0 0 22px; font-style: normal; font-weight: 400; font-size: 14px; line-height: 130%; color: #70849E; }
.wpcf7-acceptance input + .wpcf7-list-item-label:before { position: absolute; top: 0; left: 0; }

/* checkbox 2 img */
.xfwd { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 24px; }
.xfwd input + .wpcf7-list-item-label:before { display: none; }
.xfwd > .wpcf7-list-item { display: block; text-align: center; margin: 0; }
.xfwd > .wpcf7-list-item:first-child { margin-left: 0; }
.xfwd > .wpcf7-list-item input { display: none; }
.xfwd > .wpcf7-list-item .wpcf7-list-item-label { display: block; width: auto; min-width: 160px; height: 180px; position: relative; top: 0; left: 0; background: #1C1B28 url() no-repeat center center; background-color: rgba(28, 27, 40, 0.84); border: 0; font-style: normal; font-weight: 500; font-size: 18px; line-height: 1.5; text-align: center; color: #F2F6FA; padding: 135px 15px 0 15px; background-position: 50% 35px; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.xfwd > .wpcf7-list-item input:checked + .wpcf7-list-item-label { background-color: #DDE6F2; color: #233E7A; }

/* large checkbox 2 img */
.xlicn { }
.xlicn > .wpcf7-list-item:nth-child(3n + 1) { margin-left: 0; }
.xlicn > .wpcf7-list-item .wpcf7-list-item-label { width: 250px; height: 110px; background-position: 10px 50%; padding: 0 15px 0 115px; text-align: left; display: flex; flex-direction: column; justify-content: center; }

/* all fields */
.wpcf7-form-control-wrap input:not([type=checkbox]):not([type=radio]):not([type=range]), .wpcf7-form-control-wrap textarea, .wpcf7-form-control-wrap select { width: 100%; width: calc(100% - 2px); background: #1E1E2B; border: 1px solid #676783; border-radius: 3px; padding: 9px 12px 7px; font-style: normal; font-weight: 500; font-size: 17px; line-height: 20px; color: #CED8EC; }
.wpcf7-form-control-wrap input:focus, .wpcf7-form-control-wrap textarea:focus, .wpcf7-form-control-wrap select:focus { outline: 0 !important; border-color: #CED8EC !important; }
.wpcf7-form-control-wrap input.err:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .wpcf7-form-control-wrap textarea.err, .wpcf7-form-control-wrap select.err { border-color: var(--red); }
.wpcf7-form-control-wrap textarea { height: 90px; resize: none; }

input::placeholder { font-style: normal; font-weight: 400; font-size: 16px; line-height: 19px; color: #BCC8DB; }

.lbl { display: block; text-align: left; }
.lbl label { display: inline-block; padding: 0; margin: 0 0 8px; background: transparent; font-style: normal; font-weight: 500; font-size: 16px; line-height: 1.3; color: #CED8EC; position: relative; top: 0; left: 0; z-index: 1; }
.lbl label i { font-style: normal; color: #DFAE25; }

.za-row hr { height: 1px; border: 0; background: #1C1B28; margin-bottom: 24px; }
.za-wide { width: 100%; padding: 19px 0; line-height: 1; border: 0; }

.wpcf7-not-valid-tip { font-weight: 400; font-size: 15px; line-height: 18px; }
.wpcf7 form .wpcf7-response-output { margin: 0; position: absolute; top: auto; bottom: 0; left: 0; width: 100%; text-align: center; }

/* text2checkbox */
.xlicn > .lbl { width: 250px; padding-top: 15px; margin: 0px 0px 20px 20px; }
.xlicn > .lbl .wpcf7-text { display: block; }
.xlicn > .lbl .wpcf7-text .wpcf7-form-control-wrap { display: block; width: 250px; }

/* field with m2 */
.wpcf7-form-control-wrap { display: block; }
span > .wpcf7-form-control-wrap:after { position: absolute; top: 3px; right: 3px; background: #fff; padding: 10px; border-left: 1px solid #1C1B28; font-style: normal; font-weight: 500; font-size: 17px; line-height: 20px; color: #70849E; }

span.m2 > .wpcf7-form-control-wrap:after { display: block; content: 'm\000B2'; }
span.bj > .wpcf7-form-control-wrap:after { display: block; content: 'Bj'; }
span.sl > .wpcf7-form-control-wrap:after { display: block; content: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 0L10 2L5 6L4.76995e-08 2L7.15493e-08 -1.19249e-07L5 4L10 0Z' fill='%23363F50'/%3E%3C/svg%3E%0A"); }


/* scrollbar  / ragne */
input.rng[type=range] { width: 100%; padding: 0; border: 0; background: transparent; -webkit-appearance: none; position: relative; top: 0; left: 0; }
input.rng[type=range]:focus { background: transparent; outline: none; }

input.rng[type=range]::-webkit-slider-runnable-track { height: 3px; background: #DDE6F2; border: 0; border-radius: 2px; }
input.rng[type=range]::-moz-range-track { height: 3px; background: #DDE6F2; border: 0; border-radius: 2px; }
input.rng[type=range]::-ms-track { height: 3px; background: #DDE6F2; border: 0; border-radius: 2px; }

input.rng[type=range]::-webkit-slider-thumb { background: #c00; color: #c00; border: 2px solid #fff; width: 11px; height: 11px; border-radius: 50%; margin-top: -5px; }
input.rng[type=range]::-moz-range-thumb  { background: #c00; color: #c00; border: 2px solid #fff; width: 11px; height: 11px; border-radius: 50%; margin-top: -5px; }
input.rng[type=range]::-ms-thumb { background: #c00; color: #c00; border: 2px solid #fff; width: 11px; height: 11px; border-radius: 50%; margin-top: -5px; }

.wpcf7 .zagata_step input.rng[type=range]::-webkit-slider-thumb { -webkit-appearance: none; background: #DFAE25; border: 2px solid #fff; width: 15px; height: 15px; border-radius: 50%; }
.wpcf7 .zagata_step input.rng[type=range]::-moz-range-thumb { background: #DFAE25; border: 2px solid #fff; width: 15px; height: 15px; border-radius: 50%; }
.wpcf7 .zagata_step input.rng[type=range]::-ms-thumb { background: #DFAE25; border: 2px solid #fff; width: 15px; height: 15px; border-radius: 50%; }


input.rng[type=range]:before, input.rng[type=range]:after { position: absolute; top: -12px; background: #EDF3FC; border-radius: 15px; font-style: normal; font-weight: 500; font-size: 13px; line-height: 16px; color: #70849E; text-align: center; padding: 5px 12px 4px; width: 75px; }

input.rng[type=range]:before { left: -80px; content: '< ' attr(min) ; } /* m\000B2 */
input.rng[type=range]:after { right: -80px; content: attr(max) ' >'; } 

.bj input.rng[type=range]:before { left: -80px; content: attr(min) ; }
.bj input.rng[type=range]:after { right: -80px; content: attr(max); } 

.wpcf7-form-control-wrap[data-left] { display: block; width: calc(100% - 160px); margin: 0 80px 30px; padding: 0; }
.wpcf7-form-control-wrap[data-left]:before { display: block; position: absolute; top: -15px; left: var(--x); content: attr(data-value); width: 60px; text-align: center; margin-left: -25px; font-style: normal; font-weight: 500; font-size: 17px; line-height: 20px; color: #40536B; white-space: nowrap; }

.m2 .wpcf7-form-control-wrap[data-left]:before { content: attr(data-value) 'm\000B2'; }

@media (max-width:1510px) {
	
	.xfwd > .wpcf7-list-item .wpcf7-list-item-label { height: 160px; padding-top: 125px; background-position: 50% 24px; font-size: 14px; }
	.xlicn > .wpcf7-list-item .wpcf7-list-item-label { width: 210px; height: 110px; background-position: 10px 50%; background-size: 80px; padding: 0 10px 0 105px; }
	.xlicn > .lbl { width: 210px; }
}

@media (max-width:767px) {

	.zagata_step section { padding: 30px 0 10px 0px; text-align: center; min-height: 100px; }
	.zagata_step h4 { margin-bottom: 12px; }
	.zagata_step h6 { font-size: 26px; }

	.za-row { flex-direction: column; }
	.za-row .za-row { align-items: stretch; }
	.za-col, .za-col-2, .za-col-1-4, .za-col-3-4 { flex-basis: 100%; }


	.pd-r, .pd-r24, .pd-l, .pd-r .pd-r { padding-right: 0; padding-left: 0; padding-bottom: 30px; }
	.pd-b25, .pd-b38 { padding-bottom: 30px; }

	.za-row > label { margin-right: 0; margin-bottom: 16px; }

	.brd-r { border-right: 0; border-bottom: 1px solid #1C1B28; }
	.brd-l { border-left: 0; border-top: 1px solid #1C1B28; }

	.mbl-ord2 { order: 2; padding-top: 30px; }
	.mbl-ord2 + .brd-l { border-top: 0; border-bottom: 1px solid #1C1B28; }
	
	.xfwd { display: flex; flex-direction: row; justify-content: center; flex-wrap: wrap; grid-gap: inherit; }
	.xfwd > .wpcf7-list-item:first-child,
	.xfwd > .wpcf7-list-item:last-child,
	.xfwd > .wpcf7-list-item { margin: 0 5px 10px; }
	.xlicn { flex-direction: column; }
	.xlicn > .wpcf7-list-item .wpcf7-list-item-label { width: 100%; width: calc(100% - 2px); height: 110px; }
	.xlicn > .lbl { width: 100%; margin: 0; padding: 0; } 
	.xlicn > .wpcf7-list-item:first-child, .xlicn > .wpcf7-list-item:last-child, .xlicn > .wpcf7-list-item { margin: 0 0 10px; }

}

@media (max-width:480px) {
	.zagata_form .d-sm-none { display: none; }
	
	.zagata_step .btn-prev { margin-bottom: 10px; }
	
	.xfwd > .wpcf7-list-item .wpcf7-list-item-label { width: 140px; height: 140px; padding-top: 105px; background-position: 50% 24px; background-size: 70px; font-size: 13px; }
	.xlicn { flex-direction: column; }
	.xlicn > .wpcf7-list-item .wpcf7-list-item-label { width: 100%; width: calc(100% - 2px); background-position: 10px 50%; padding-top: 0; }
	
	.zagata_form .wpcf7-submit { width: 100%; }
}
