/* Metro Tiles
edit by Eason

.bg-color-teal { background-color: #95dde5 !important; }
.bg-color-blue { background-color: #95bde5 !important; }
.bg-color-purple { background-color: #e395e5 !important; }
.bg-color-darkpurple { background-color: #643EBF !important; }
.bg-color-red { background-color: #e595ac !important; }
.bg-color-orange { background-color: #e5a895 !important; }
.bg-color-green { background-color: #95e595 !important; }
.bg-color-skyblue { background-color: #95b8e5 !important; }

.bg-color-teal-dark { background-color: #008299 !important; }
.bg-color-blue-dark { background-color: #2672EC !important; }
.bg-color-purple-dark { background-color: #8C0095 !important; }
.bg-color-darkpurple-dark { background-color: #5133AB !important; }
.bg-color-red-dark { background-color: #AC193D !important; }
.bg-color-orange-dark { background-color: #D24726 !important; }
.bg-color-green-dark { background-color: #008A00 !important; }
.bg-color-skyblue-dark { background-color: #094AB2 !important; }
-------------------------------------------------- */
/*! 無障礙AA調整版本：全面調整 font-size 的字型大小設定，由「絕對單位」改為「相對單位」 by Stan */
.bg-color-1 {
    background-color: #F2854C !important;
}
.bg-color-2 {
    background-color: #85A9C3 !important;
}
.bg-color-3 {
    background-color: #EF3A5B !important;
}
.bg-color-4 {
    background-color: #04ACAD !important;
}
.bg-color-5 {
    background-color: #EBB741 !important;
}
.bg-color-6 {
    background-color: #BEA881 !important;
}
.bg-color-7 {
    background-color: #83A8C3 !important;
}
.bg-color-8 {
    background-color: #385E82 !important;
}
.bg-color-9 {
    background-color: #8BBA30 !important;
}
.bg-color-10 {
    background-color: #BEA881 !important;
}
.bg-color-11 {
    background-color: #2FB1BE !important;
}
.bg-color-12 {
    background-color: #FF8080 !important;
}

/*.bg-color-n1{ background-color: #F2854C !important; }*/
.bg-color-n1{ background-color: #d43300 !important; }
.bg-color-n2{ background-color: #385E82 !important; }
/*.bg-color-n3{ background-color: #ad975a !important; }*/
.bg-color-n3{ background-color: #857342 !important; }
/*.bg-color-n4{ background-color: #04ACAD !important; }*/
.bg-color-n4{ background-color: #038181 !important; }
/*.bg-color-n5{ background-color: #EF3A5B !important; }*/
.bg-color-n5{ background-color: #E21239 !important; }
/*.bg-color-n6{ background-color: #4CAF50 !important; }*/
.bg-color-n6{ background-color: #3A833C !important; }
/*.bg-color-n7{ background-color: #727b82 !important; }*/
.bg-color-n7{ background-color: #6D767E !important; }
/*.bg-color-n8{ background-color: #2880c5 !important; }*/
.bg-color-n8{ background-color: #2577B6 !important; }
.bg-color-n9{ background-color: #865d4e !important; }

/*
.bg-color-1:hover { background-color: #FFF !important;color: #F2854C !important; }
.bg-color-2:hover { background-color: #FFF !important; color: #85A9C3 !important; }
.bg-color-3:hover { background-color: #FFF !important; color: #83A8C3 !important; }
.bg-color-4:hover { background-color: #FFF !important; color: #04ACAD !important; }
.bg-color-5:hover { background-color: #FFF !important; color: #EBB741 !important; }
.bg-color-6:hover { background-color: #FFF !important; color: #BEA881 !important; }
.bg-color-7:hover { background-color: #FFF !important; color: #EF3A5B !important; }
.bg-color-8:hover { background-color: #FFF !important; color: #385E82 !important; }
.bg-color-9:hover { background-color: #FFF !important; color: #BEA881 !important; }
.bg-color-10:hover { background-color: #FFF !important; color: #8BBA30 !important; }
.bg-color-11:hover { background-color: #FFF !important; color: #2FB1BE !important; }
*/
.bg-color-darken {
    background-color: #1c1c1c !important;
}



.metro {
    overflow: hidden;
}


.metro .carousel-control {
    top: 20%;
}



.metro .metro-sections {
    height: auto;
    position: relative;
    overflow: hidden;
    width: 10000px;
}

.metro-sections h2 {
    margin-left: 5px;
    /*font-family: 微軟正黑體 , "Open Sans",Arial,Helvetica,Sans-Serif;*/
    font-weight: 300;
    text-transform: lowercase;
}

.metro .metro-sections .metro-section {
    position: relative;
    float: left;
    /*width: 810px !important;*/
    width: auto;
    height: auto;
    margin-right: 75px;
}


/* fixed widths for tile sections
   units are measured per square tile width, i.e.: tile-span-1 = 160px = 1 square tile width (including margin)
*/
.metro .metro-sections .metro-section.tile-span-1 { width: 160px; margin-left: 0;}
.metro .metro-sections .metro-section.tile-span-2 { width: 320px; margin-left: 0;}
.metro .metro-sections .metro-section.tile-span-3 { width: 480px; margin-left: 0;}
.metro .metro-sections .metro-section.tile-span-4 { width: 640px; margin-left: 0;}
.metro .metro-sections .metro-section.tile-span-5 { width: 640px; margin-left: 0;}
.metro .metro-sections .metro-section.tile-span-6 { width: 800px; margin-left: 0;}
.metro .metro-sections .metro-section.tile-span-7 { width: 960px; margin-left: 0;}
.metro .metro-sections .metro-section.tile-span-8 { width: 1120px; margin-left: 0;}


/*default tile definition */
.metro .tile {
    position: relative;
    display: block;
    float: left;
    margin: 5px 0;
    padding: 0;
    /*padding-bottom: 1px;*/
    /*width: 150px;*/
    /*height: 150px;*/
    color: #FFF;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    background-color: #2C83EF;
}

.metro .tile:hover {
    /*outline: 3px #82BD1A solid;*/
    /*outline: 3px #fff solid;*/
}


.scroll {
    -webkit-transition:left 0.6s ease;  /* here the animation is set on 5 seconds */
    -moz-transition:left 0.6s ease;
    -o-transition:left 0.6s ease;
    transition:left 0.6s ease;
}

/* Metro Tiles Templates
-------------------------------------------------- */
.metro .tile.square.text {
    width: 110px;
    height: 110px;
    padding: 20px;
}
.metro .tile.square.image {
    width: 150px;
    height: 150px;
    padding: 0;
}
.metro .tile.square.image img {
    max-width: 150px;
    max-height: 150px;
}

.metro .tile.squarepeek {
    width: 150px;
    height: 300px;
}
.metro .tile.squarepeek .text-inner {
    width: 110px;
    height: 110px;
    padding: 20px;
}

.metro .tile.wide.text {
    width: 270px;
    height: 110px;
    padding: 20px;
}
.metro .tile.wide.image {
    width: 310px;
    height: 150px;
}
.metro .tile.wide.image.collection img {
    max-width: 158px;
    max-height: 150px;
    float: left;
}

/* template for full image */
.metro .tile.wide.imagetext.wideimage {
    width: 310px;
    height: 150px;
    padding: 0;
}
/* template with normal 80x80 image */
.metro .tile.wide.imagetext {
    /*width: 270px;*/
    /*height: 110px;*/
    /*padding: 20px;*/
}
.metro .tile.wide.imagetext .textover-wrapper {
    position: absolute;
    bottom: 0;
    width: 270px;
    height: 48px;
    padding: 2px 20px;
    background-color: inherit;
}

.metro .tile.widepeek {
    width: 310px;
    height: 310px;
}

/* template with normal 80x80 image */
.metro .tile.doublewide.imagetext {
    width: 590px;
    /*height: 110px;*/
    height: 90px;
    padding: 20px;
}

.metro .tile.doublewide.text {
    width: 270px;
    height: 110px;
    padding: 20px;
}
.metro .tile.doublewide.image {
    width: 310px;
    height: 150px;
}
.metro .tile.doublewide.image.collection img {
    max-width: 158px;
    max-height: 150px;
    float: left;
}

/* template for full image */
.metro .tile.doublewide.imagetext.wideimage {
    width: 310px;
    height: 150px;
    padding: 0;
}
.metro .tile.doublewide.imagetext .textover-wrapper {
    position: absolute;
    bottom: 0;
    width: 270px;
    height: 48px;
    padding: 2px 20px;
    background-color: inherit;
}

.metro .tile.doublewide.imagetext .column-text,
.metro .tile.doublewide.text .column-text,
.metro .tile.doublewidepeek.imagetext .column-text {
    display: block;
    float: left;
    width: 300px;
    padding-left: 10px;
}

.metro .tile.doublewide.imagetext .image-wrapper {
    display: block;
    float: left;
    width: 80px;
    height: 80px;
}

/* Default Tile
-------------------------------------------------- */

.metro .tile.app .image-wrapper {
    display: block;
    width: 150px;
    height: 80px;
    margin-top: 20px;
    padding: 8px 0;
    text-align: center;
    vertical-align: middle;
}
.metro .tile.app .image-wrapper img {
    max-width: 80px;
    max-height: 80px;
    margin: 0 auto;
}
.metro .tile .app-label {
    bottom: 5px;
    font-size: 1.2rem;
    left: 20px;
    position: absolute;
}
.metro .tile .app-count {
    position: absolute;
    right: 20px;
    bottom: 10px;
    font-size: 1.4rem;
    font-weight: bold;
}

.metro .tile.wide.app {
    width: 310px;
    height: 150px;
}
.metro .tile.wide.app .image-wrapper {
    width: 310px;
}


.image-wrapper span.icon {
    font-size: 8rem;
    height: 80px;
    line-height: 80px;
    width: 80px;
}

/*
-------------------------------------------------- */

.metro .tile.square.text .text-big {
    font-size: 7.6rem;
    line-height: 76px;
    text-align: left;
    overflow: hidden;
}
.metro .tile.square.text.tilesquareblock .text {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: left;
    overflow: hidden;
}

/* normal header in 1 line of wrapped text*/
.metro .tile .text-header {
    /*font-family: 微軟正黑體 , "Open Sans",Arial,Helvetica,Sans-Serif;*/
    font-weight: 300;
    font-size: 3.4rem;
    line-height: 36px;
    max-height: 36px;
    text-align: left;
    overflow: hidden;
}
/* One string of large text wrapped over a maximum of three lines.*/
.metro .tile .text-header3 {
    /*font-family: 微軟正黑體 , "Open Sans",Arial,Helvetica,Sans-Serif;*/
    font-weight: 300;
    font-size: 3.4rem;
    line-height: 36px;
    text-align: left;
    max-height: 110px;
    overflow: hidden;
}

/* 1 line of regular text (not wrapped) */
.metro .tile .text {
    font-size: 1.5rem;
    line-height: 18px;
    height: 18px;
    font-weight: normal;
    text-align: left;
    overflow: hidden;
}

/* regular text wrapped over a maximum of 2 lines */
.metro .tile .text2 {
    font-size: 1.5rem;
    font-weight: normal;
    line-height: 20px;
    max-height: 44px;
    overflow: hidden;
    text-align: left;
}

/* regular text wrapped over a maximum of 3 lines */
.metro .tile .text3 {
    font-size: 1.5rem;
    line-height: 18px;
    font-weight: normal;
    text-align: left;
    max-height: 56px;
    overflow: hidden;
}

/* regular text wrapped over a maximum of 4 lines */
.metro .tile .text4 {
    font-size: 1.5rem;
    line-height: 18px;
    font-weight: normal;
    text-align: left;
    max-height: 72px;
    overflow: hidden;
}

/* regular text wrapped over a maximum of 5 lines */
.metro .tile .text5 {
    font-size: 1.5rem;
    line-height: 18px;
    font-weight: normal;
    text-align: left;
    max-height: 92px;
    overflow: hidden;
}

/* Image Only Tiles
-------------------------------------------------- */
.metro .tile.square.image img {
    max-width: 150px;
    max-height: 150px;
}



/* Wide Text Only Tiles
-------------------------------------------------- */

.metro .tile .column {
    display: block;
    float: left;
    width: 130px;
}

.metro .tile .column2-label  {
    display: block;
    float: left;
    width: 90px;
}
.metro .tile .column2-text {
    display: block;
    float: left;
    width: 160px;
}

.metro .tile .column3-label  {
    display: block;
    float: left;
    width: 50px;
}
.metro .tile .column3-text {
    display: block;
    float: left;
    width: 200px;
}


/* Wide Image Only Tiles
-------------------------------------------------- */
.metro .tile.wide.image .mini-tiles {
    display: inline-block;
    float: left;
    width: 152px;
    height: 150px;
}
.metro .tile.wide.image .mini-tiles img {
    display: inline-block;
    float: left;
    max-width: 75px;
    max-height: 75px;
    border-left: 1px solid #2A2A2A;
}

/* Wide Image & Text Tiles
edit by eason
-------------------------------------------------- */
.metro .tile.wide.imagetext .column-text,
.metro .tile.wide.text .column-text,
.metro .tile.widepeek.imagetext .column-text {
    display: block;
    float: left;
    width: 180px;
    padding-left: 10px;
}
.metro .tile.wide.text .column-text-big {
    display: block;
    float: left;
    width: 80px;
}

.metro .tile.wide.imagetext .image-wrapper {
    display: block;
    float: left;
    /*width: 80px;*/
    /*height: 80px;*/
}
.metro .tile.wide.imagetext .image-wrapper img {
    /*max-width: 80px;*/
    /*max-height: 80px;*/
}
.metro .tile.widepeek.imagetext .image-wrapper {
    display: block;
    float: left;
    width: 192px;
    height: 192px;
}
.metro .tile.widepeek.imagetext .image-wrapper img {
    max-width: 192px;
    max-height: 192px;
}

/* ListView
 -------------------------------------------------- */
.listview-container.grid-layout {
    border: solid 2px rgba(0, 0, 0, 0.13);
    height: 240px;
    overflow: auto;
    padding: 2px;
    background-color: #FFF;
}


.mediumListIconTextItem {
    display: inline-block;
    position: relative;
    vertical-align: top;;
    width: 282px;
    height: 70px;
    padding: 5px;
    margin-bottom: 7px;
    margin-right: 24px;
    border: solid 3px transparent;
    overflow: hidden;
    background-color: #FFF;
    cursor: pointer;
}
.mediumListIconTextItem:hover {
    border: solid 3px #b3b3b3;
    background-color: #b3b3b3;
}

.mediumListIconTextItem img.mediumListIconTextItem-Image {
    display: inline-block;
    vertical-align: top;;
    width: 60px;
    height: 60px;
    margin: 5px;
}
.mediumListIconTextItem .mediumListIconTextItem-Image[class^="icon-"],
.mediumListIconTextItem .mediumListIconTextItem-Image[class*=" icon-"] {
    display: inline-block;
    width: 60px;
    height: 60px;
    font-size: 6rem;
    line-height: 60px;
    margin: 5px;
}
.mediumListIconTextItem .mediumListIconTextItem-Detail {
    display: inline-block;
    vertical-align: top;;
    margin: 5px;
}


.mediumListIconTextItem.selected {
    background-color: #4617b4;
}
.mediumListIconTextItem.selected:after {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    font-family: 'IcoMoon';
    content: "\e03c";
    color: #FFF;
    font-size: 1.6rem;
}

.mediumListIconTextItem.selected:hover {
    border: solid 3px #b3b3b3;
    background-color: #4617b4;
}
.mediumListIconTextItem.selected .mediumListIconTextItem-Detail,
.mediumListIconTextItem.selected .mediumListIconTextItem-Detail h4,
.mediumListIconTextItem.selected .mediumListIconTextItem-Detail h6 {
    color: #FFF;
}






/* Special undocumented tiles for ads
-------------------------------------------------- */
#ad-container {
    background-color: #0072BC;
    height: 90px;
    margin-top: 10px;
    text-align: center;
    width: 100%;
}

/*Button (125x125)*/
.metro .tile.ad.ad125 {
    width: 125px;
    height: 125px;
    padding: 12px 13px 13px 12px;
}

/*Small Rectangle (180x150)*/
.metro .tile.wide.ad.ad125 {
    width: 180px;
    height: 150px;
    padding: 0 65px;
}
