html,
body {
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    /* Standard syntax */

}

.book-list {
    margin: 0;
    padding: 30px;
}

.book-list span .drop {
    display: none;
    padding: 10px 0 10px 51px;
    border-bottom: 1px solid lightgray;
}

.book-list span .drop a {
    height: auto;
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.book-list .guide {
    padding: 0 23px;
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: bold;
    color: black;
}

.book-list .item .num {
    margin-left: 23px;
    font-size: 17px;
    display: flex;
    align-items: center;
    color: #00319f;
}

.book-list .item:hover {
    background-color: white !important;
}

.book-list .item .num .material-icons {
    font-size: 17px;
    font-weight: bold;
    background-color: transparent;
}

.book-list .item .desc .title {
    margin: 0 0 0 0;
    font-size: 17px;
    display: flex;
    font-weight: bold;
    align-items: center;
    color: #333;
}

.book-list .item {
    margin: 0 0 0 0;
    border-bottom: 1px solid lightgray;
    height: 40px;
}

.book-list hr {
    height: 4px;
    background-color: #FFB344;
    width: auto;
    border: none;
    border-radius: 5px;
    box-shadow: inset 0 0 2px rgba(0, 0, 0, .2);
    margin: 20px 20%;
}

.book-list .my-book {
    margin-bottom: 50px;
    font-size: 2rem;
    font-weight: bold;
    padding: 0 23px;
}

.book-cover {
    margin-right: 5%;
}

.media-object img {
    width: 200px;
    max-width: fit-content;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    height: auto !important;
    line-height: initial !important;
}

.media-object p,
.media-object li {
    line-height: 1.25 !important;
}

/* Foundation Custom */
.accordion,
.accordion-item,
.accordion-content,
.accordion-title,
:last-child:not(.is-active)>.accordion-title {
    border: none !important;
    padding: 0;
}

.accordion-title::before {
    top: 8px !important;
}

.accordion {
    padding-left: 30px;
    margin: 10px 0;
}

.accordion-title::before {
    position: absolute;
    left: -1rem;
    margin-top: -.5rem;
    content: "+";
    font-style: italic;
}

.accordion-title {
    font-weight: bold;
    margin-bottom: 5px;
    display: flex !important;
}

.second-title {
    font-weight: initial;
    font-weight: 500;
}

.position-left {
    width: 500px;
}

.accordion-title {
    font-size: 14px !important;
}

@media (max-width: 892px) {
    body {
        background-color: white;
    }

    .book-list {
        width: 100%;
        margin: 0 auto;
        padding: 20px 4% 90px 4%;
    }

    .book-list .item .desc .title {
        font-size: 16px;
        font-weight: bold;
    }

    .book-list span .drop a {
        font-size: 13px;
        color: #4490FF;
    }

    .sep {
        height: 10px !important;
    }

    .book-list span .drop {
        padding: 0;
        padding-left: 51px;
    }

    .position-left {
        width: 80%;
    }

    .main-content {
        position: relative;
        left: 0;
        width: 100%;
    }
    
    .main-content .box img {
        height: auto !important;
    }

    .accordion-title::before {
        position: absolute;
        left: -1rem;
        top: 6px;
        margin-top: -.5rem;
        content: "+";
        font-style: italic;
    }

    .main-content-title {
        font-size: 12px !important;
    }

    .main-content-title::before {
        top: 7px !important;
        font-style: italic;
    }
}

h1 {
    font-size: 25px;
}

h2 {
    font-size: 23px;
}

h3 {
    font-size: 20px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 15px;
}

h6 {
    font-size: 13px;
}

/* Table Style */
@media (max-width: 892px) {
    .fixed-td-1 tbody tr td:nth-child(1) {
        width: 35% !important;
    }

    .fixed-td-2 tbody tr td:nth-child(2) {
        width: 35% !important;
    }

    .fixed-td-3 tbody tr td:nth-child(3) {
        width: 40% !important;
    }
}
.main-content .box,
.main-content .box p {
    line-height: 1.25 !important;
}

.main-content {
    line-height: 1.25 !important;
}

.main-content p {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    line-height: 1.25 !important;
}

.main-content .box {
    border: 4px solid #eeeeee !important;
    margin-bottom: 3px;
}

.main-content table {
    margin: 0;
}

.main-content > p {
    margin: 8px 0 !important;
}

.main-content .box p,
.main-content .box table {
    margin-top: 2.5px;    
    margin-bottom: 2.5px;    
}

.main-content .round {
    border: 1px solid #333 !important;
    border-radius: 10px;
    margin-top: 3px;
    margin-bottom: 3px;
    font-size: smaller;
}

.main-content .round p {
    margin: 0 !important;
}

.main-content table tbody {
    border: none;
    background-color: transparent;
}

.main-content table tbody tr td {
    padding: 0 ;
}

.main-content table tbody tr td:nth-child(1) {
    padding-right: 7px;
}

.accordion-content ul .accordion-title[aria-expanded="true"] {
    color: red !important;
    font-weight: bold !important;
    background-color: transparent !important;
}

@media (max-width: 892px){
    .accordion-content ul .accordion-title {
        position: relative;
        left: 0;
        transition: all .2s ease-in-out;
    }
    .accordion-content ul .accordion-title[aria-expanded="true"] {
        color: red !important;
        font-weight: bold !important;
        background-color: transparent !important;
        position: relative;
        left: -46px;
    }
}

.accordion-content ul .accordion-title[aria-expanded="false"] {
    background-color: transparent !important;
}

.book-list hr {
    height: 5px;
    background-color: #fff;
    width: auto;
    border: none;
    border-radius: 5px;
    box-shadow: inset 0 0 2px rgba(0,0,0,.2);
    margin: 2.5px 0;
}

.cover::before {
    content: none !important;
}

.book-cover { 
    width: 100px;
    margin-right: 20px;
}
.main-content table tbody tr td {
    vertical-align: top;
}
.main-content .inner {
    background-color: transparent !important;
}

@media (max-width: 892px){
    .main-content .box {
        padding: 5px 5px !important; 
        line-height: 1.25 !important;
    }
    
    .main-content .box > p {
        padding: 0;
        margin-bottom: 0;
        line-height: 1.25 !important;
    }    
    .title-bar-left {
        display: flex;
        justify-content: center;
    }
    .media-object {
        flex-direction: column;
    }
    .media-object .book-cover {
        margin-bottom: 10px;
        margin-right: 0;
    }
    .book-cover {
        width: 100px;
    }
}

.main-content table {
    width: initial !important;
}

.main-content table {
    margin: 0 !important;
}

.main-content table td {
    padding: 0 !important;
}

.main-content table * {
    vertical-align: top !important;
}

.main-content table tr {
    background-color: transparent;
}

.main-content table tbody tr td {
    padding-right: 8px !important;
}

.main-content .reset-table th {
    padding: 0 !important;
}
.manner-table tbody tr td:nth-child(1) {
    padding: 0;
    width: 35%;
}
.main-content .reset-table th:nth-child(1) {
    padding-right: 8px !important;
}

.main-content .fluid {
    width: 100% !important;
}

.main-content .small {
    font-size: small !important;
}

.main-content .smaller {
    font-size: smaller !important;
}

.main-content .middle-align td {
    vertical-align: middle !important;   
}

/* For 3 column */
.main-content .sp-mid td:nth-child(2) span {
    font-size: 30px;
}

/* First td half padding */
.main-content .sp-pd td {
    padding-right: 5px !important;
}

.main-content .sp-table tr > th {
    padding: 0 !important;
}


.main-content .sp-table tr > th:nth-child(1) {
    width: 45% !important;
}

.main-content .sp-table-2 tr > td:nth-child(1) {
    width: 32% !important;
}

.main-content .sp-table-235 tr > td:nth-child(1) {
    width: 35% !important;
}

.main-content .sp-table-245 tr > td:nth-child(1) {
    width: 45% !important;
}

.main-content .sp-table-250 tr > td:nth-child(1) {
    width: 50% !important;
}

.main-content .sp-table-255 tr > td:nth-child(1) {
    width: 55% !important;
}

.main-content .sp-table-260 tr > td:nth-child(1) {
    width: 60% !important;
}

.main-content .sp-table-3 tr > th:nth-child(1) {
    width: 50% !important;
}

.main-content .sp-table-4 tr > th:nth-child(1) {
    width: 55% !important;
}
.main-content .sp-table-4 tr th {
    padding: 0 !important;
}

.main-content .sp-table-5 tr > td:nth-child(2) {
    width: 40% !important;
}

.main-content .sp-table-6 tr > td:nth-child(1) {
    width: 20% !important;
}
.main-content .sp-table-6 tr > td:nth-child(3) {
    width: 20% !important;
}

.main-content .sp-table-6 tr > td {
    padding: 0 2px !important;
}

.main-content .sp-symbol td:nth-child(2) {
    font-size: 22px !important;
    font-weight: bold !important;
}

.main-content .sp-symbol-2 td:nth-child(3) {
    font-size: 22px !important;
    font-weight: bold !important;
}

.accordion-title p,
.main-content-title p {
    margin-bottom: 0 !important;
    line-height: initial !important;
}

.accordion-content,
.accordion {
    background-color: transparent !important;
}

.main-content .box,
.main-content .round {
    background-color: #00000014 !important;
}
.main-content .inner {
    background-color: transparent !important;
}
.main-content .box hr {
    background-color: black !important;
    height: 1px !important;
}

.accordion-item {
    scroll-margin-top: 90px;
}
ul .main-content-title {
    color: red !important;
    font-weight: bold !important;
}
ul .is-active .main-content-title {
    color: red !important;
}
#ACC {
    position: relative;
    background-image: url(https://loudictionary.com/assets/images/logo_t.png);
    background-repeat: no-repeat;
    background-size: 25%;
    background-attachment: fixed;
    background-position: 33%;
}
@media (min-width: 892px) {
    #ACC .main-content .box {
        font-size: 18px;
    }
    
    #ACC .main-content .round {
        font-size: 16px;
    }
    .accordion-title {
        font-size: 20px !important;
    }
    .main-content-title {
        font-size: 18px !important;
    }
}
@media (max-width: 392px){
    #ACC {
        background-image: url(https://loudictionary.com/assets/images/logo_t.png);
        background-repeat: no-repeat;
        background-size: 80%;
        background-attachment: fixed;
        background-position: center;
    }
}

#ACC::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url(https://loudictionary.com/assets/images/grammar/w2.png);
    background-repeat: repeat;
    background-size: 35%;
    opacity: 0.05;
}

@media (max-width: 392px){
    #ACC::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-image: url(https://loudictionary.com/assets/images/grammar/w2.png);
        background-repeat: repeat;
        background-size: 40%;
        opacity: 0.09;
    }
}

.result_list {
    margin-bottom: 10px;
}
.result_list .unit {
    display: inline-flex;
    background-color: #FC6471;
    color: white;
    font-weight: bold;
    padding: 1px 10px;
    border-radius: 3px;
    font-family: monospace;
    flex-grow: 0;
    flex-shrink: 0;
    align-items: center;
}
.result_list .link {
    font-family: monospace;
    color: #0D00A4;
    padding: 1px 10px;
    display: inline-flex;
    flex-grow: 0;
    align-items: center;
}
.result_list > div:nth-child(1) {
    display: flex;
}
.result_list p {
    margin-top: 5px;
    line-height: 1.5;
    font-size: 15px;
    margin-bottom: 0;
}
.float-search-bar {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    background-color: #fefefe;
    padding: 130px 10% 90px 10%;
}

#grammar_float_search_bar {
    outline: none;
}

#grammar_search_bar {
    border-radius: 50px !important;
}

.float-search-bar .close-button {
    right: 0;
    font-size: 1.5rem;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.float-search-bar #grammar_float_search_result {
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    max-height: 60vh;
    overflow: auto;
}
.float-search-button {
    position: fixed;
    right: 15px;
    bottom: 130px;
    z-index: 200;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: deepskyblue;
    border-radius: 25px;
    border: 2px solid white;
    color: white;
    font-weight: bold;
    box-shadow: 0 0 10px -5px rgba(0,0,0,.6);
}

















