/*==================圖鑑區==================*/
.dexbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    justify-content: space-around;
    align-content: flex-start;
    padding: 3px 0px 0px 0px;
    width: 100%;
}
.dexcard {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    border-radius: 10px;
    border-top: 2px solid #ffffff; border-left: 2px solid #ffffff;
    border-right: 2px solid #d8d8d8; border-bottom: 2px solid #d8d8d8;
    background: linear-gradient( to left top, #dfdfdf 30%, #eeeeee 60%, #fcfcfc 90%);
	box-shadow: 6px 6px 4px #888888;
    width: 305px;
    height: 405px;
    padding: 2px 2px 2px 2px;
    margin: 7px 7px 7px 7px;
}

.dexno {
    width: 40%;
    height: 25px;
    display: flex;
    border-radius: 10px;
    background: linear-gradient( to right, #d29360 5%, #c16922 22.5%, #9c3b01 40%, #e2e2c6 40.1%, #e2e2c6 100%);
}
.dexnol {
    width: 40%;
    height: 25px;
    color: #ffffff;
    text-align: center;
    padding: 0px 1px 0px 3px;
}
.dexnor {
    width: 60%;
    height: 25px;
    padding: 0px 0px 0px 2px;
}

.dextype {
    width: 60%;
    height: 25px;
    padding: 2px 2px 0px 0px;
    text-align: right;
}

.dexnlpic {
    width: 50%;
    background-color: #ffffff41;
    background-image: url(../special/img/s03_bg1o.png);
    background-size: 100%;
}
.dexmgpic {
    width: 50%;
    background-color: #ffffff41;
    background-image: url(../special/img/s03_bg2-3o.png);
    background-size: 100%;
}
.dexgmpic {
    width: 50%;
    background-color: #ffffff41;
    background-image: url(../special/img/s03_bg3-1o.png);
    background-size: 100%;
}
.dexnlpic img, .dexmgpic img, .dexgmpic img {
    width: 100%;
}

.dexname {
    display: table;
    width: 50%;
}
.dexname div {
    display:  table-cell;
    vertical-align: middle;
    text-align: center;
    line-height: 25px;
}

.dexpm1 {
    width: 45%;
    height: 25px;
    color: #ffffff;
    text-align: center;
    border-radius: 10px;
    background: linear-gradient( to left top, #9c3b01 30%, #c16922 60%, #d29360 90%);
    margin: 1px 0px 1px 0px;
}
.dexpm2 {
    width: 55%;
    height: 20px;
    text-align: center;
}

.dexhg1 {
    width: 45%;
    height: 25px;
    color: #ffffff;
    text-align: center;
    border-radius: 10px;
    background: linear-gradient( to left top, #9c3b01 30%, #c16922 60%, #d29360 90%);
    margin: 1px 0px 1px 0px;
}
.dexhg2 {
    width: 55%;
    height: 20px;
    text-align: center;
}

.dexnlav1, .dexhiav1 {
    width: 45%;
    height: 25px;
    color: #ffffff;
    vertical-align: top;
    text-align: center;
    border-radius: 10px;
    background: linear-gradient( to left top, #9c3b01 30%, #c16922 60%, #d29360 90%);
    margin: 1px 0px 1px 0px;
}
.dexnlav2, .dexhiav2 {
    width: 55%;
    height: 20px;
    text-align: center;
}

.dexinner {
    width: 100%;
    padding: 0px 5px 5px 5px;
}
/*===========================================*/

/*====================變形====================*/
@media (min-width: 510px) and (max-width: 800px) {
    .dexcard {
        width: 170px;
        height: 320px;
        margin: 7px 3px 7px 3px;
    }
    .dexname div, .dexpm2, .dexhg2, .dexnlav2, .dexinner {
        font-size: 12px;
        line-height: 15px;
    }
    .dexpm1, .dexhg1, .dexnlav1, .dexhiav1 {
        width: 35%;
    }
    .dexpm2, .dexhg2, .dexnlav2, .dexhiav2 {
        width: 65%;
    }
}
@media (min-width: 440px) and (max-width: 510px) {
    .dexcard {
        width: 160px;
        height: 320px;
        margin: 7px 3px 7px 3px;
    }
    .dexname div, .dexpm2, .dexhg2, .dexnlav2, .dexinner {
        font-size: 12px;
        line-height: 15px;
    }
    .dexpm1, .dexhg1, .dexnlav1, .dexhiav1 {
        width: 35%;
    }
    .dexpm2, .dexhg2, .dexnlav2, .dexhiav2 {
        width: 65%;
    }
}
@media (max-width: 440px) {
    .dexcard {
        width: 140px;
        height: 320px;
        margin: 7px 3px 7px 3px;
    }
    .dexname div, .dexpm2, .dexhg2, .dexnlav2, .dexinner {
        font-size: 10px;
        line-height: 12px;
    }
    .dexpm1, .dexhg1, .dexnlav1, .dexhiav1 {
        width: 35%;
    }
    .dexpm2, .dexhg2, .dexnlav2, .dexhiav2 {
        width: 65%;
    }
}

@media (max-width: 510px) {
    .dexname div {
        font-size: 10px;
        line-height: 15px;
    }
}
/*===========================================*/

/*==================屬性圖標==================*/
.normal, .fire, .water, ._electric, .grass, .ice, .fighting, .poison, .ground, 
.flying, .psychic, .bug, .rock, .ghost, .dragon, .dark, .steel, .fairy {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: 100%;
    margin: 0px 5px 0px 5px;
}
/*普通系*/.normal {
    background-image: url(../special/img/s03_typeicon_01.png);
}
/*草系*/.grass {
    background-image: url(../special/img/s03_typeicon_05.png);
}
/*火焰系*/.fire {
    background-image: url(../special/img/s03_typeicon_02.png);
}
/*水系*/.water {
    background-image: url(../special/img/s03_typeicon_03.png);
}
/*電氣系*/._electric {
    background-image: url(../special/img/s03_typeicon_04.png);
}
/*冰系*/.ice {
    background-image: url(../special/img/s03_typeicon_06.png);
}
/*岩石系*/.rock {
    background-image: url(../special/img/s03_typeicon_13.png);
}
/*地面系*/.ground {
    background-image: url(../special/img/s03_typeicon_09.png);
}
/*邪惡系*/.dark {
    background-image: url(../special/img/s03_typeicon_16.png);
}
/*超能力系*/.psychic {
    background-image: url(../special/img/s03_typeicon_11.png);
}
/*格鬥系*/.fighting {
    background-image: url(../special/img/s03_typeicon_07.png);
}
/*飛行系*/.flying {
    background-image: url(../special/img/s03_typeicon_10.png);
}
/*幽靈系*/.ghost {
    background-image: url(../special/img/s03_typeicon_14.png);
}
/*蟲系*/.bug {
    background-image: url(../special/img/s03_typeicon_12.png);
}
/*毒系*/.poison {
    background-image: url(../special/img/s03_typeicon_08.png);
}
/*鋼系*/.steel {
   background-image: url(../special/img/s03_typeicon_17.png);
}
/*龍系*/.dragon {
    background-image: url(../special/img/s03_typeicon_15.png);
}
/*妖精系*/.fairy {
    background-image: url(../special/img/s03_typeicon_18.png);
}
/*===========================================*/