﻿.modal .modal-footer {
    height: auto;
}

/* #iomilano-Li,
#iomilano-Ri {
    display: block;
    margin: 0 auto;
} */

#listino .btn {
    background-color: gray;
}

/* #key-iomilano .book-cover-thb {
    display: inline-block;
    margin: 0 auto;
} */

#key-iomilano .book-cover-thb-size img {
    display: block;
    margin: 0;
    width: 64px;
}

#key-iomilano .book-cover-thb2-size img {
    display: block;
    margin: 0;
    height: 32px;
}

#key-iomilano .title-color {
    text-transform: uppercase;
    color: black;
}

#nav-page .iomilano {
    font-weight: normal;
}

#nav-page .iomilano:not(.shown):hover {
    color: #444;
}

#nav-page .iomilano:not(.shown):hover>span {
    color: #d00000;
    font-weight: bold;
}

/* #nav-page .iomilano>span {
    font-weight: bold;
    color: #444;
}
#nav-page .iomilano:hover {
    color: #444;
}
#nav-page .iomilano:hover>span {
    color: #d00000;
}
#nav-page .iomilano.shown>span {
    color: white;
} */

#book-cover-iomilano {
    margin-top: 5rem;
}

/* 
#key-iomilano table.mainCover tr {
    border: 0;
} */

#key-iomilano .buyme>span {
    font-size: 0.75rem;
    line-height: normal;
    white-space: nowrap;
}


#key-iomilano .btn-contrast.btn-hilight.lll {
    line-height: 0.8rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    text-transform: lowercase;
}

/* #key-iomilano .zyx {
    max-height: 36px;
    width: auto;
    max-width: none;
} */

#key-iomilano table.mainCover .plus {
    padding: 0;
    user-select: none;
    cursor: default;
}

#key-iomilano .title-color>span,
#key-iomilano .title-special>span {
    color: #d00000;
    font-weight: bold;
}

#key-iomilano .sub-title0 {
    font-size: 1.30rem;
}

#key-iomilano .sub-title1 {
    color: #888;
}

#key-iomilano .book-edition-preview {
    height: inherit;
}

#modal-sheet.bottom-sheet {
    max-height: none;
}

#key-iomilano .choose-container {
    width: auto;
    margin: 0 auto;
}

/* #key-iomilano .choose-container tr {
    border: 0;
} */

#key-iomilano .choose-container td {
    padding: 0;
    text-align: center;
    vertical-align: top;
}

#key-iomilano .choose-container td+td {
    padding-left: 0.5rem;
}

#key-iomilano .choose-container .btn-contrast {
    line-height: 1.75rem;
    min-height: auto;
}

/* #key-iomilano [type="radio"]:checked+span:after,
#key-iomilano [type="radio"].with-gap:checked+span:before,
#key-iomilano [type="radio"].with-gap:checked+span:after {
    border: 2px solid #888;
}

#key-iomilano [type="radio"]:checked+span:after,
#key-iomilano [type="radio"].with-gap:checked+span:after {
    background-color: #d00000;
} */

#key-iomilano .btn-contrast {
    /* margin-top: 0.5rem; */
    background-color: white;
    color: #444;
    line-height: 40px;
    min-height: 40px;
    height: auto;
}

#key-iomilano .btn-contrast.btn-hilight {
    color: #d00000;
}

#key-iomilano .img-selected {
    display: block;
    font-size: 0.85rem;
    line-height: 1;
    font-weight: normal;
    min-height: 55px;
}

#key-iomilano .img-sel-thb {
    max-height: 50px;
}

#key-iomilano .modal-ajax .modal-content {
    min-height: 200px;
}

.section {
    display: flex;
    flex-flow: row wrap;
    font-size: 1rem;
    line-height: normal;
    width: 80%;
    margin: 0 auto;
}

.section>div {
    flex: 1;
    padding: 0.25rem;
}

.section h2 {
    font-size: 0.95rem;
    font-weight: bold;
    margin: 0.25rem auto 0 auto;
    padding: 0;
    line-height: normal;
}

.section p {
    font-size: 0.75rem;
    margin: 0.35rem auto;
    padding: 0;
    line-height: normal;
}

.radios {
    margin: 0.85rem auto 0.55rem auto;
}

.radios [type="radio"]:not(:checked)+span,
.radios [type="radio"]:checked+span {
    padding-left: 25px;
    margin-right: 0.25rem;
    font-size: 0.8rem;
}

.section input[type="radio"] {
    display: none;
}

.section input[type="radio"]:not(:disabled)~label {
    cursor: pointer;
}

.section input[type="radio"]:disabled~label {
    color: #bcc2bf;
    border-color: #bcc2bf;
    box-shadow: none;
    cursor: not-allowed;
}

.section label {
    height: 100%;
    display: block;
    background: white;
    border: 1px solid #bbb;
    /*border-radius: 20px;*/
    padding: 15px 0 0.35rem 0;
    /*margin-bottom: 15px;*/
    text-align: center;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.10);
    position: relative;
    color: #888;
}

.section input[type="radio"]:checked+label {
    background: #bbb;
    color: #000;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.15);
}

.section input[type="radio"]:checked+label::after {
    color: #444;
    font-family: FontAwesome;
    border: 1px solid #444;
    content: "\f00c";
    font-size: 14px;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    height: 24px;
    width: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 5px -2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 601px) {

    #key-iomilano .sold-out .book-edition-preview a::before {
        right: -20px;
    }

    #key-iomilano .book-edition-preview img {
        max-width: 100%;
    }

    #key-iomilano .title-color {
        text-align: center;
    }

    #key-iomilano .sub-title0 {
        font-size: 0.8rem;
        line-height: 1rem;
        text-align: center;
    }

    #key-iomilano .btn-contrast {
        min-height: inherit;
        line-height: 20px;
        padding: 0.5rem;
    }

    #key-iomilano .book-details2 td {
        font-size: 0.80rem;
        height: auto;
        line-height: 1.15rem;
    }

    .key-iomilano h6.title {
        text-align: center;
    }

    .key-iomilano .preorder-box {
        font-size: 0.75rem;
        line-height: 1.0rem;
    }
}