/*
Theme Name:     Foxiz child
Template:      	foxiz
Theme URI:      https://foxiz.themeruby.com
Author:         Theme-Ruby
Author URI:     https://themeforest.net/user/theme-ruby/portfolio/
Description:    Make your modifications to Foxiz in this child theme.
Version:        1.0
Tags:           custom-background, custom-menu, featured-images, theme-options, custom-colors, translation-ready, threaded-comments, translation-ready
License:        Themeforest Licence
License URI:    https://themeforest.net/licenses/standard
*/

/* Your CSS code goes here
-------------------------------------- */
#rank-math-faq .rank-math-list-item{
	position:relative;
}
#rank-math-faq .rank-math-list-item input{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 41px;
    opacity: 0;
    cursor: pointer;
    z-index:999;
}
#rank-math-faq .rank-math-list-item h3 {
    background: #f1f2f6;
    padding: 10px 12px 10px 18px;
    cursor: pointer;
    font-size: 18px !important;
    font-weight: normal !important;
    position:relative;
    margin-bottom: 0;
}
#rank-math-faq .rank-math-list-item h3:before {
	display:inline-block;
	content: "";
    width: 0;
	height: 0;
	border-style: solid;
	border-width: 6px 0 6px 12px;
	border-color: transparent transparent transparent #000000;
	margin-right: 8px;
}
#rank-math-faq .rank-math-list-item input:checked+h3:before {
	-webkit-transform:rotate(90deg);
	-ms-transform:rotate(90deg);
	transform:rotate(90deg);
}
#rank-math-faq .rank-math-answer{
	padding: 10px 10px 0px 10px;
	max-height: 0;
	overflow:hidden;
}
#rank-math-faq .rank-math-list-item input:checked+h3~.rank-math-answer {
	max-height: 100vh;
	overflow:visible;
}
.single .container {
    margin-left: auto;
    margin-right: auto;
    max-width: 750px; /* Oletusasetus yli 1200px näytöille */
}

.single .loanscode_table .btn_area {
	max-width:66%;
    margin-left: auto;
    margin-right: auto;
	color: #fff;
	font-size: 20px;
}

h3, .h3 {
    font-family: var(--h3-family) !important;
    font-size: var(--h3-fsize) !important;
    font-weight: var(--h3-fweight) !important;
    font-style: var(--h3-fstyle) !important;
    line-height: var(--h3-fheight, 1.3) !important;
    letter-spacing: var(--h3-fspace) !important;
    text-transform: var(--h3-transform) !important;
}

.h5, h5 {
    font-family: var(--h5-family) !important;
    font-size: var(--h5-fsize) !important;
    font-weight: var(--h5-fweight) !important;
    font-style: var(--h5-fstyle) !important;
    line-height: var(--h5-fheight, 1.5) !important;
    letter-spacing: var(--h5-fspace) !important;
    text-transform: var(--h5-transform) !important;
}

h2, .h2 .rb-heading-index-0 .wp-block-heading{
    font-family: var(--h2-family) !important;
    font-size: var(--h2-fsize) !important;
    font-weight: var(--h2-fweight) !important;
    font-style: var(--h2-fstyle) !important;
    line-height: var(--h2-fheight, 1.25) !important;
    letter-spacing: var(--h2-fspace) !important;
    text-transform: var(--h2-transform) !important;
}