@charset "utf-8";
/* CSS Document */

#basket {
    width: 100%;
    height: 100%;
    margin: auto;
    padding: 120px 20% 50px 20%;
    overflow: auto;
}

/*---------------------------------------------页首*/
#ladders {
    font-family: "Helvetica", serif;
    font-size: .8em;
    font-weight: bolder;
    width: 100%;
    margin: .3em auto 0 auto;
    position: relative;
}
.retour {
    position: absolute;
    font-size: 1.2em;
    top: 3em;
}
.retour:hover {
    color: #525252;
    text-decoration: underline;
}
#ladders hr {
    display: block;
    float: left;
    margin-top: 1.9em;
    margin-bottom: 0;
    padding: 0;
    border-width: 2px;
}
#hrA {
    width: 25%;
    border-color: #1a1a1a;
}
#hrB {
    width: 75%;
    border-color: #aaa;
}
#level1, #level2, #level3 {
    margin: 0;
    color: #aaa;
    border: 1px solid #aaa;
    border-radius: 3px;
    padding: .1em .5em;
    text-align: center;
    position: absolute;
    background: whitesmoke;
    top: 18px;
    font-size: .9em;
    cursor: pointer;
}
#level1 {
    left: 0;
    color: white;
    border-color: #1a1a1a;
    background: #1a1a1a;
}
#level2 {left: 49%;}
#level3 {right: 0;}
#txt1, #txt2, #txt3 {
    margin: 0;
    color: #aaa;
    position: absolute;
    top: 0;
    text-transform: uppercase;
    font-size: .8em;
}
#txt1 {
    left: 0;
    color: #1a1a1a;
}
#txt2 {left: 48.3%;}
#txt3 {right: 0;}

#basket-head {
    display: none;
    font-size: 2em;
    text-align: center;
    padding: .5em;
}

/*---------------------------------------------购物车窗体*/
#basket-box {
    float: right;
    width: 60%;
    height: auto;
    padding: 0 1em 0 0;
}
#basket-box h1 {
    font-size: 2em;
    text-align: right;
    padding: .6em 5em .3em 0;
}
#panierwindow {
    width: 100%;
    height: 800px;
    border: none;
}

/*---------------------------------------------总价窗体*/
#maininfo {
    float: right;
    width: 40%;
    height: 88%;
    padding: 1em 0 0 1em;
}
#price-box {
    width: 100%;
    padding: 1.5em 1em;
    background: #c6c6c6;
}
.infobox {padding: .2em 0;}
.lefttext {
    font-weight: bolder;
    text-transform: uppercase;
}
.righttext{
    font-family: "Roboto", serif;
    font-style: italic;
    float: right;
}
.dividing-line {
	width: 95%;
	height: 1em;
	margin: 1em auto 0 auto;
	border-top: 1px solid #525252;
}
.total {font-size: 1.5em;}

/*---------------------------------------------取货方式*/
#deliv-pick {
    position: relative;
    font-family: "Roboto", serif;
    margin: .5em 0;
    width: 100%;
}
.livraison {
    width: 100%;
    float: left;
    text-align: center;
    border: 1px solid #1a1a1a;
    padding: .8em .6em;
    cursor: pointer;
    transition: .1s;
}
.cant {
    width: 100%;
    float: left;
    color: #c6c6c6;
    text-align: center;
    border: 1px solid #c6c6c6;
    padding: .8em .6em;
    cursor: pointer;
}
.cant:hover, .cant:active, .cant:visited, .cant:link {color: #c6c6c6;!important;}
#zone {
    font-weight: bolder;
    width: 100%;
    margin-top: .5em;
    padding: .8em .6em;
    border: 1px solid #1a1a1a;
    background: whitesmoke;
    cursor: pointer;
}

/*---------------------------------------------警告提示*/
#warn-box {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .75);
    display: none;
    z-index: +100;
}
#warning {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: auto;
    padding: 1em;
    border-radius: .2em;
    background: whitesmoke;
    text-align: center;
}
#warning h1 {
    padding-bottom: 1em;
    font-size: 1.2em;
    font-weight: bold;
}
#warning p {padding-bottom: 1em;}
#button-box {display: inline-block;}
#warning button {
    float: left;
    padding: .6em 1em;
    margin: 0 .5em;
    text-transform: uppercase;
    font-weight: bold;
    transition: .1s;
}
#warn-ctrl {
    color: white;
    border: 1px solid #1a1a1a;
    background: #1a1a1a;
}
#warn-ctrl:hover {
    border: 1px solid #525252;
    background: #525252;
}
#warn-close {
    color: #1a1a1a;
    background: transparent;
    border: 1px solid #1a1a1a;
    display: none;
}
#warn-close:hover {
    box-shadow: inset 0 0 0 1px #1a1a1a;
}

/*---------------------------------------------前往下单*/
#checking {
    color: white;
    text-align: center;
    display: block;
    width: 100%;
    margin-top: .5em;
    padding: .8em .6em;
    background: #1a1a1a;
    cursor: pointer;
    transition: .1s;
}
#checking:hover {background: #525252;}


/*---------------------------------------------窗体自适应性布局*/
@media (max-width: 1280px) {
    #ladders hr {margin-top: 2.2em;}
    #basket {padding: 85px 20% 35px 20%;}
    #basket-box h1 {height: 6%;}
    #panierwindow {height: 700px;}
}

@media (max-width: 1024px) {
    #basket {
        padding-left: 5%;
        padding-right: 5%;
    }
    #warning {width: 65%;}
}

@media (max-width: 860px) {
    #basket-head {display: block;}
    #basket-box {
        width: 100%;
        padding-right: 0;
    }
    #panierwindow {height: 600px;}
    #basket-box h1 {display: none;}
    #basket-box {padding: 0;}
    #basket-box {padding-top: 1.5em;}
    #maininfo {
        width: 100%;
        height: auto;
        padding: 0;
    }
    #warning {width: 80%;}
}

@media (max-width: 768px) {
    #basket {padding-top: 60px;}
}

@media (max-width: 580px) {
    #basket {
        padding-left: 2%;
        padding-right: 2%;
    }
    #panierwindow {height: 500px;}
    #warning {width: 90%;}
}
