/*
----
*/

.chart_natal {
    padding: 2em;
    border-radius: 10px;
    background: #eff6ff;
}

.chart_natal h2 {
    font-size: 1.5rem !important;
    font-weight: 500 !important;
}

.chart_natal h3 {
    font-size: 1.3rem !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem;
}

.chart_natal h3.accordion-header {
    margin-bottom: 0;
}

.chart_natal h4 {
    font-size: 1.1rem !important;
    font-weight: 500 !important;
}

.grv_check {
    margin-bottom: 1.5rem;
}

.chart_natal button.accordion-button {
    padding: 8px 11px !important;
    border: none !important;
    border-bottom: 1px solid #97a4b5 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.form-control:focus, .form-select:focus, .form-check-input:focus {
    background-color: #fff !important;
    border-color: var(--af-primary) !important;
	box-shadow: none !important;
}

.form-select {
    color: #404040 !important;
    border: 1px solid #97a4b5 !important;
    border-radius: 7px !important;
    padding: 5px 11px !important;
	background-position: right 11px center !important;
	background-size: 10px 9px !important;
}

.form-check {
    margin-left: 1em;
	margin-bottom: 0;
}

.form-check-input:checked {
    background-color: var(--af-primary) !important;
    border-color: var(--af-primary) !important;
}

.form-check input {
    color: #404040 !important;
    border: 1px solid #97a4b5 !important;
    border-radius: 5px !important;
    padding: 8px 8px !important;
    margin: 7px;
}

.form-check label {
    color: #404040 !important;
    padding: 5px 11px 5px 0 !important;
}

.no_label>input, .no_label>select, .no_label>.form-check {
    margin-top: 21px;
}

.btn_chart {
    background-color: #023773;
    border-radius: 10px;
    padding: 5px 25px;
    font-size: 1.05em;
    border: none;
    color: #fff;
    /* line-height: 2; */
}

.btn_chart:hover {
    background-color: #ff006b;
}

input[type="number"] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: textfield;
	-ms-appearance: textfield;
	margin: 0;
}

input[type="number"]::-ms-clear {
  display: none;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    display: none;
    -webkit-appearance: none;
    margin: 0;
}

.advanced_accordion .form-check-input {
    margin-top: 0 !important;
}
.chart_accordion .input-group-text {
	background-color: #eff6ff !important;
}

.chart_accordion h2.accordion-header, .instructions h2.accordion-header {
    margin-bottom: 0 !important;
}

.chart_a_body.accordion-body {
    padding: 0 !important;
}

.asp_lbl {
    text-align: left;
}
.aspect_orb {
    width: 2.2rem !important;
    max-width: 2.2rem;
    flex: none !important;
    text-align: center;
}

.primary_box {
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.primary_box .box_item {
    padding: 0.5rem 1rem;
    background: #eff6ff;
    border-radius: 3px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.fire_i {color: #fd6027;}
.earth_i {color: #69472c;}
.air_i {color: #167eca;}
.water_i {color: #1aa3b0;}

.natal_data h3 {
    margin-top: 2rem;
}

.data_wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* плавная прокрутка на iOS */
}

.planet_data, .house_data, .fictitious_data {
    display: inline-grid;
    grid-template-columns: auto auto auto;
    min-width: max-content;
    gap: 10px;
	width: 100%;
}

.aspect_data {
    display: inline-grid;
    grid-template-columns: auto auto auto auto;
    min-width: max-content;
    gap: 10px;
	width: 100%;
}

.item_data{
    display: contents;
}

.item_head {
    font-weight: bold;
    background: #d7ffe3;
}

.item_name, .item_sign, .item_position, .item_house, .item_aspect, .item_orb {
    padding: 5px 10px;
    background: #eff6ff;
    border: 1px solid #dee2e6;
    white-space: nowrap;
    text-align: center;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.item_head .item_name, .item_head .item_sign, .item_head .item_position, .item_head .item_house, .item_head .item_aspect, .item_head .item_orb {
    font-weight: bold;
    background: #d7ffe3;
}

.item_name svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
}

.item_sign svg {
    width: 15px;
    height: 15px;
    min-width: 15px;
    min-height: 15px;
}

.item_aspect svg {
    width: 15px;
    height: 15px;
    min-width: 15px;
    min-height: 15px;
}

.item_name span, .item_sign span, .item_position span, .item_house span, .item_aspect span, .item_orb span {
    white-space: nowrap;
}

@media (min-width: 1200px) and (max-width: 1399px) {
	.birth_data .form-check {
		margin-left: 5px !important;
	}

}

@media (min-width: 992px) and (max-width: 1199px) {
	.birth_data .form-check {
		margin-left: 0 !important;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	
}
@media (min-width: 576px) and (max-width: 767px) {
	.aspect_data, .planet_data, .house_data, .fictitious_data {
		gap: 5px;
	}

	.item_name, .item_sign, .item_position, .item_house, .item_aspect, .item_orb {
		padding: 5px 10px;
		gap: 9px;
	}
}
@media (max-width: 575px) {
	.aspect_data, .planet_data, .house_data, .fictitious_data {
		gap: 5px;
	}
	
	.item_name, .item_sign, .item_position, .item_house, .item_aspect, .item_orb {
		padding: 4px 8px;
		gap: 8px;
		font-size: 0.9rem;
	}
}


