/*quiz on page allergy*/
.modal-window-quiz-container {
	  display: none;
    text-align: center;
    position: fixed;
    width: 100%;
    height: 100vh;
    left: 0;
    top: 0;
    padding: 0 8px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    z-index: 1100;
    background: linear-gradient(to bottom,#f0f2fe 0%,#f0f2fe 40%,#e8eaf5 100%);
}

.modal-window-quiz-container.show-quiz {
	display: flex;
}

.modal-window-quiz {
	  opacity: 1;
    transition: all .4s ease-out;
    max-width: 1400px;
    max-height: 100vh;
    background: #fff;
    border-radius: 4px;
    color: #666;
    box-shadow: 0 0 15px rgb(0 0 0 / 10%);
    width: 100%;
}


.modal-window-quiz-block .btn-wrapper,
.modal-window-quiz-block .finish-box {
	    display: flex;
    justify-content: center;
}

.modal-window-quiz-block {
	padding: 2rem 1rem;
	max-height: calc(90vh - 60px);
  overflow-y: hidden;
  background: -webkit-linear-gradient(left,#f3f3f3,#fff 51%,#f3f3f3);
  background: -o-linear-gradient(left,#f3f3f3 0,#fff 51%,#f3f3f3 100%);
  background: -ms-linear-gradient(left,#f3f3f3 0,#fff 51%,#f3f3f3 100%);
  background: linear-gradient(90deg,#f3f3f3 0,#fff 51%,#f3f3f3);
  min-height: calc(90vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-window-quiz-block .start-screen {
	 width: 100%;
	 display: none;
}

.modal-window-quiz-block .page-box {
	display: none;
}

.modal-window-quiz .show {
	display: block !important;
}

.modal-window-quiz .result-title {
    font-size: 2rem;
    color: #c09e2e;
    margin-bottom: 1.25rem;
}

.modal-window-quiz .mini-title {
    font-size: 1.25rem;
    color: #c09e2e;
    margin-bottom: 1.25rem;
    margin-top: 2.5rem;
    font-weight: 600;
}

.modal-window-quiz-block .btn-wrapper button,
.modal-window-quiz-block .finish-box button {
	  width: 100px;
    margin: 0 1rem 1rem 1rem;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    border-radius: 20px;
    background: #dfab00;
    padding: 10px 0;
    color: #fff;
    outline: none;
    cursor: pointer;
    transition: all .3s;
}

.modal-window-quiz-block .btn-wrapper button:hover,
.modal-window-quiz-block .finish-box button:hover {
	  background: #f5bc00;
}

.modal-window-quiz-block .btn-wrapper button[disabled="disabled"]:hover,
.modal-window-quiz-block .btn-wrapper button[disabled="disabled"] {
	background: #dbdbdb;
}

.modal-window-quiz-block .subtitle {
	  font-size: 2.5rem;
    font-weight: 700;
    color: #1d5e98;
    text-align: center;
    margin-bottom: 2rem;
}

.modal-window-quiz-block .start-screen hr {
		border: none;
    color: rgb(196,149,47);
    background-color: rgb(196,149,47);
    height: 2px;
    margin-bottom: 2rem;
}

.modal-window-quiz-block .container {
	display: none;
}

.modal-window-quiz .page-header {
	  width: 100%;
    height: 60px;
    border-bottom: 10px solid #dfddcd;
    background: #fff;
    display: flex;
    position: relative;
}

.page-header .power-bar {
	position: absolute;
  top: 50px;
  left: 0;
  width: 0;
  height: 10px;
  background: #dfab00;
  transition: all .3s;
}

.page-header .power-bar.bb-1 {
  width: 25%;
}

.page-header .power-bar.bb-2 {
  width: 50%;
}

.page-header .power-bar.bb-3 {
  width: 75%;
}

.page-header .power-bar.bb-4 {
  width: 100%;
}

.page-header .power-bar.mother-1 {
  width: 33%;
}

.page-header .power-bar.mother-2 {
  width: 66%;
}

.page-header .power-bar.mother-3 {
  width: 100%;
}

.modal-window-quiz .head-title {
	display: none;
	position: absolute;
  width: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.modal-window-quiz .head-title p {
	  color: #c09e2e;
    margin-right: 1rem;
    padding-right: 1rem;
    position: relative;
    font-size: 1rem;
    border-right: 1px solid #c09e2e;
    line-height: 1;
    margin-bottom: 0;
}

.modal-window-quiz .head-title em {
	font-size: 1rem;
	line-height: 1;
	font-style: normal;
}

.modal-window-quiz .head-title.show {
	display: flex !important;
}

.modal-window-quiz .remark {
	font-size: 0.875rem;
  margin-top: 0.75rem;
  color: #cfad3d;
  text-align: left;
}

.close-modal-window {
		color: #999;
    font-size: 30px;
    margin: 0 0 0 auto;
    background: transparent;
    outline: none;
    font-weight: bold;
    opacity: 0.7;
    z-index: 1;
}


.close-modal-window:hover {
	opacity: 1;
}

.button-open-quiz-link.desktop {
	display: none;
}

.button-open-quiz-link.mobile {
	  position: fixed;
	  display: block;
    bottom: 0;
    width: 100%;
    background: -webkit-linear-gradient(90deg,#fff,#eef5ff 20%,#fff 73%,#eef5ff);
    background: linear-gradient(90deg,#fff,#eef5ff 20%,#fff 73%,#eef5ff);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#eef5ff",GradientType=1);
    box-shadow: 0 0 10px rgb(0 0 0 / 10%);
    z-index: 1000;
    left: 0;
    padding: 0.5rem 1rem 4rem 1rem;
    cursor: pointer;
}

.button-open-quiz-link.mobile .text {
	  width: calc(100% - 120px);
	  color: #c09e2e;
}

.button-open-quiz-link.mobile .text h4 {
	margin-bottom: 0;
}

.button-open-quiz-link.mobile .link-img {
	  position: absolute;
    right: 0;
    top: -30px;
    width: 100px;
}

.button-open-quiz-link.mobile .link-img img {
	width: 100%;
}

.modal-window-quiz-block .show-block {
	width: 100%;
	max-height: calc(640px - 8rem);
  overflow-y: auto;
  padding: 0 1rem;
}

.modal-window-quiz-block .show-block::-webkit-scrollbar {
    width: 6px;  
    background-color: transparent;
}

.modal-window-quiz-block .show-block::-webkit-scrollbar-button:vertical:start:decrement,
.modal-window-quiz-block .show-block::-webkit-scrollbar-button:vertical:end:increment {
	display: none;
}

.modal-window-quiz-block .show-block::-webkit-scrollbar-thumb {
    background-color: #c8c8c8;
    border-radius: 9em;
}

.block-content .number {
	font-size: 1.5rem;
}

.block-content .number em {
	font-style: normal;
  color: #c09e2e;
  font-weight: bold;
}

.block-content .question {
	  color: #c09e2e;
    font-size: 2.5rem;
    line-height: 2.5rem;
    text-align: center;
    margin: 1rem 0 2rem 0;
}

.block-content .question-item {
	  width: 100%;
    padding: 1.25rem 0;
    border-top: 1px solid #dfddcd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.block-content .question-item.last {
	border-bottom: 1px solid #dfddcd;
}

.block-content .question-wrapper .item-wrapper {
	margin-bottom: 1.25rem
}

.block-content .ans-wrapper {
	display: flex;
}

.block-content .ans-box {
	 display: flex;
   align-items: center;
   margin-left: 1.25rem;
}

.block-content .ans-box p {
	margin-bottom: 0;
}

.block-content .ans-box .choice-img {
	  border: 1px solid #717171;
    background-color: transparent;
    width: 20px;
    height: 20px;
    margin-left: 0.5rem;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-content .ans-box .choice-img.checked:before {
	content: "";
  width: 10px;
  height: 10px;
  display: block;
  border-radius: 50%;
  background-color: #717171;
}

.block-content .question-text {
	text-align: left;
}

#tips-container {
	width: 300px;
  margin: 1rem auto;
}

.slick-slider {
	width: 100%;
}

.slick-track {
	display: flex;
	min-width: 300px;
}

.slick-arrow {
	  bottom: -28px;
    top: auto;
    font-size: 0;
    border: solid #c09e2e;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    height: 10px;
    width: 10px;
    border-radius: 0;
} 

.slick-arrow:before {
	display: none !important;
}

.slick-arrow.slick-next {
    right: 41%;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.slick-arrow.slick-prev {
    left: 41%;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

#now-bb-slide,
#now-mother-slide {
	 margin-right: 0.25rem;
}

.slider-number {
	  display: flex;
    color: #c09e2e;
    font-size: 0.875rem;
    line-height: 0.875rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.tip-box .tip,
.tip-boxes .tip {
	  position: relative;
    color: #1d5e98;
    font-size: 1.125rem;
    font-weight: 700;
    padding-top: 3rem;
    min-width: 300px;
}

.tip-box .tip p,
.tip-boxes .tip p {
  	padding: 4rem 2rem 3rem 2rem;
    border: 2px solid #c09e2e;
    border-radius: 20px;
}

.tip-box .tip .icon,
.tip-boxes .tip .icon {
	  position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid #c09e2e;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: calc((100% - 80px)/2);
}

.tip-boxes .tip .icon img,
.tip-box .tip .icon img {
	width: 65%;
}

.slick-list {
	width: 100%;
	display: block;
}

.button-item {
	  background: linear-gradient(135deg,rgb(196,149,47),rgb(225,199,0),rgb(196,149,47));
    color: #ffff;
    flex-basis: 48%;
    margin: 0.5rem 1%;
    border-radius: 20px;
    padding: 0.75rem 0;
    font-weight: bold;
    font-size: 0.75rem;
}

.button-item:hover {
  background: linear-gradient(135deg, rgba(196, 149, 47, 0.8), rgba(225, 199, 0, 0.8), rgba(196, 149, 47, 0.8));
}

.top-content {
	position: relative;
}

.top-content .mobile {
	  margin: 0 auto;
    max-width: 250px;
}

.top-content .button-container {
	  display: flex;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.top-content .desktop {
	display: none;
}

.top-content .text {
	  text-align: center;
    position: absolute;
    top: 100px;
    width: 100%;
    color: #c09e2e;
}

.modal {
	  position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1101;
    background: linear-gradient(to bottom,#f0f2fe 0%,#f0f2fe 40%,#e8eaf5 100%);
    cursor: pointer;
}

.modal-main {
	  box-shadow: 0 26px 18px 0 rgb(57 51 2 / 10%);
    background-color: #fff;
    padding: 2rem;
    width: 90%;
    margin: 0 auto;
    max-width: 700px;
    border: 5px solid !important;
    border-image-source: linear-gradient(to right, rgb(196,149,47),rgb(225,199,0),rgb(196,149,47)) !important;
    border-image-slice: 1 !important;
    text-align: center;
    cursor: default;
}

.modal-main  ul,
.modal-main  ol {
	text-align: left;
	margin: 1rem 0;
}

.modal.open-modal {
	display: flex;
}

.modal .modal-content {
	display: none;
}

.modal .modal-content.show {
	display: block;
}

.modal .title {
	  color: #C09E2E;
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 1rem;
}

@media screen and (min-width: 768px) {
	#tips-container {
		width: 500px;
	}
	.slick-track,
	.tip-box .tip,
  .tip-boxes .tip {
		min-width: 500px;
	}
	
	.top-content {
		max-width: 700px;
    margin: 0 auto;
    padding-top: 3rem;
	}
	
	.top-content .text {
		font-size: 1.25rem;
    top: 120px;
	}
	
	.top-content .desktop {
		display: block;
		width: 100%;
    max-width: 700px;
    margin: 0 auto;
	}
	
	.button-item.first {
		top: 1rem;
    left: 0;
	}
	
	.button-item.third {
		top: 1rem;
    right: 0;
	}
	
	.button-item.second {
		bottom: 1.5rem;
    left: 0;
	}
	
	.button-item.forth {
		bottom: 1.5rem;
    right: 0;
	}
	
	.button-item {
		position: absolute;
    min-width: 170px;
	}
	
	.top-content .mobile {
		display: none;
	}
	
	.button-open-quiz-link.mobile {
		padding: 0.5rem 1rem;
	}
}

@media screen and (min-width: 1100px) {
	.modal-window-quiz {
		max-height: 700px;
	}
	
	.modal-window-quiz-block {
		max-height: 640px;
		min-height: 640px;
	}
	
	.modal-window-quiz-block {
		padding: 4rem 2rem;
	}
	
	.modal-window-quiz .head-title p,
	.modal-window-quiz .head-title em {
		font-size: 1.5rem;	
	}
	
	.modal-window-quiz-block .start-screen {
		width: 50%;
	}
	
	.modal-window-quiz-block .show-block {
		padding: 0 10%;
	}
	
	.button-open-quiz-link.mobile {
		display: none;
	}
	
	.button-open-quiz-link.desktop {
	    display: block;
	    position: fixed;
	    top: 50%;
	    margin-top: -130px;
	    left: 10px;
	    z-index: 9;
	    width: 202px;
	    height: 295px;
	    overflow: hidden;
	    opacity: 1;
	    transition: all .3s;
	    z-index: 1100;
	    cursor: pointer;
	}
	
	.button-open-quiz-link:hover {
	    -webkit-filter: drop-shadow(0 0 8px rgba(0,0,0,.1));
	    filter: drop-shadow(0 0 8px rgba(0,0,0,.1));
	}
	
	.button-open-quiz-link img {
	    position: absolute;
	    top: 0;
	    left: 0;
	    width: 100%;
	}
	
	.button-open-quiz-link:hover img {
	    position: absolute;
	    top: -269px;
	}
}