.ct { list-style: none; padding: 0; margin-bottom: 0; background-color: #a8815b; } @media (min-width: 768px) { .ct-hide-on-pc { display: none !important; } } @media (max-width: 767px) { .ct-hide-on-mobile { display: none !important; } } .ct-title { display: none; } @media (max-width: 767px) { .ct-title { display: none !important; } } .ct-hover-container span { display: block; } @media (min-width: 768px) { .ct-container { position: fixed; z-index: 999; top: 50%; transform: translate(0, -50%); right: 0; } .ct-container .ct-hover-container { right: 100%; } .ct a { display: block; } .ct a, .ct span { text-decoration: none; line-height: 1.5; } .ct > li { position: relative; z-index: 0; } .ct > li > a { text-align: center; transition: color 0.35s, background-color 0.35s; color: #ffffff; background-color: #a8815b; line-height: 2em; width: 2em; height: 2em; font-size: 20px; } .ct > li:hover { z-index: 9; } .ct > li:hover > a { color: #ffffff; background-color: #886848; } .ct > li > .ct-hover-container { position: absolute; top: 0; white-space: nowrap; min-width: 140px; opacity: 0; visibility: hidden; transform: translate(0, 15px); transition: visibility 0.35s, opacity 0.35s, transform 0.35s; } .ct > li:hover > .ct-hover-container { visibility: visible; transform: translate(0, 0); opacity: 1; } .ct-item { color: #ffffff; background-color: #886848; padding: 15px; } .ct-item:not(:last-child) { border-bottom: 1px solid rgba(255, 255, 255, 0.25); } .ct-item:hover { color: #ffffff; background-color: #775b3f; } .ct-item-result { font-size: 1.25em; font-weight: bold; } .ct-item-qrcode-title { font-size: 12px; text-align: center; } .ct-gotop > a { overflow: hidden; transition: all 0.35s !important; } .ct-gotop:not(.active) > a { height: 0; } } @media (max-width: 767px) { .ct { display: flex; } .ct-container { position: fixed; z-index: 999; bottom: 0; left: 0; width: 100%; } .ct a, .ct span { display: block; text-decoration: none; line-height: 1.5; } .ct > li { position: relative; flex: 1 0 0%; z-index: 0; } .ct > li > a { text-align: center; transition: color 0.35s, background-color 0.35s; color: #ffffff; background-color: #a8815b; font-size: 20px; display: block; width: 100%; padding: 5px; } .ct > li:hover { z-index: 9; } .ct > li:hover > a { color: #ffffff; background-color: #886848; } .ct > li > .ct-hover-container { position: absolute; bottom: 100%; white-space: nowrap; min-width: 140px; opacity: 0; visibility: hidden; transform: translate(0, 15px); transition: visibility 0.35s, opacity 0.35s, transform 0.35s; } .ct > li:nth-child(3) ~ li > .ct-hover-container, .ct > li:last-child > .ct-hover-container, .ct > li:nth-last-child(2) > .ct-hover-container { right: 0; left: auto; } .ct > li:hover > .ct-hover-container { visibility: visible; transform: translate(0, 0); opacity: 1; } .ct-item { color: #ffffff; background-color: #886848; padding: 15px; } .ct-item:not(:last-child) { border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .ct-item:hover { color: #ffffff; background-color: #775b3f; } .ct-item-result { font-size: 1.25em; font-weight: bold; } .ct-item-qrcode-title { font-size: 12px; text-align: center; } .ct-gotop { position: absolute !important; bottom: 100%; right: 0; margin-right: 5px; margin-bottom: 5px; } .ct-gotop > a { overflow: hidden; padding: 0 !important; transition: all 0.35s !important; width: 2em !important; height: 2em !important; line-height: 2em; } .ct-gotop > a .ct-title { display: none !important; } .ct-gotop:not(.active) > a { height: 0 !important; } }