/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2019/11/2, 下午 03:39:51
    Author     : jimmy
*/

#MyBlog{
    margin-top: 0px;
    margin-right: 5px;
    position: fixed;  /*固定在網頁上不隨卷軸移動，若要隨卷軸移動用absolute*/
    top: 50%;  /*設置垂直位置*/
    right: -110px;  /*設置水平位置，依所放的內容多寡需要自行手動調整*/
    background: #F5F5F5;  /*背景顏色*/
    opacity:0.8; 
    padding: 10px;
    border-radius: 10px;  /*圓角*/
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

#MyBlog:hover{  /*當滑鼠移至此區塊時，伸縮區塊*/
    right: -10px;
}

#MyBlog #title{
    padding-right: 5px;  /*讓標題與連結中間有空隙*/
}

#MyBlog1{
    margin-top: 60px;
    margin-right: 5px;
    position: fixed;  /*固定在網頁上不隨卷軸移動，若要隨卷軸移動用absolute*/
    top: 50%;  /*設置垂直位置*/
    right: -110px;  /*設置水平位置，依所放的內容多寡需要自行手動調整*/
    background: #F5F5F5;  /*背景顏色*/
    opacity:0.8; 
    padding: 10px;
    border-radius: 10px;  /*圓角*/
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

#MyBlog1:hover{  /*當滑鼠移至此區塊時，伸縮區塊*/
    right: -10px;
}

#MyBlog1 #title{
    padding-right: 5px;  /*讓標題與連結中間有空隙*/
}

#MyBlog2{
    margin-top: 120px;
    margin-right: 5px;
    position: fixed;  /*固定在網頁上不隨卷軸移動，若要隨卷軸移動用absolute*/
    top: 50%;  /*設置垂直位置*/
    right: -110px;  /*設置水平位置，依所放的內容多寡需要自行手動調整*/
    background: #F5F5F5;  /*背景顏色*/
    opacity:0.8; 
    padding: 10px;
    border-radius: 10px;  /*圓角*/
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

#MyBlog2:hover{  /*當滑鼠移至此區塊時，伸縮區塊*/
    right: -10px;
}

#MyBlog2 #title{
    padding-right: 5px;  /*讓標題與連結中間有空隙*/
}

#MyBlog3{
    margin-top: 180px;
    margin-right: 5px;
    position: fixed;  /*固定在網頁上不隨卷軸移動，若要隨卷軸移動用absolute*/
    top: 50%;  /*設置垂直位置*/
    right: -110px;  /*設置水平位置，依所放的內容多寡需要自行手動調整*/
    background: #F5F5F5;  /*背景顏色*/
    opacity:0.8; 
    padding: 10px;
    border-radius: 10px;  /*圓角*/
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

#MyBlog3:hover{  /*當滑鼠移至此區塊時，伸縮區塊*/
    right: -10px;
}

#MyBlog3 #title{
    padding-right: 5px;  /*讓標題與連結中間有空隙*/
}

#MyBlog4{
    margin-top: -60px;
    margin-right: 5px;
    position: fixed;  /*固定在網頁上不隨卷軸移動，若要隨卷軸移動用absolute*/
    top: 50%;  /*設置垂直位置*/
    right: -110px;  /*設置水平位置，依所放的內容多寡需要自行手動調整*/
    background: #F5F5F5;  /*背景顏色*/
    opacity:0.8; 
    padding: 10px;
    border-radius: 10px;  /*圓角*/
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

#MyBlog4:hover{  /*當滑鼠移至此區塊時，伸縮區塊*/
    right: -10px;
}

#MyBlog4 #title{
    padding-right: 5px;  /*讓標題與連結中間有空隙*/
}

.pic img{
    transform:scale(1,1);
    transition: all 1s ease-out;
    background-color: #DDDDDD;
    box-shadow: 0 0 3px 3px #AAAAAA;
}
.pic img:hover{transform:scale(1.05,1.05);}

#gotop {
    position:fixed;
    z-index:90;
    right:30px;
    bottom:31px;
    display:none;
    width:50px;
    height:50px;
    color:#fff;
    opacity:0.8; 
    background:#33b5e5;
    line-height:50px;
    border-radius:50%;
    transition:all 0.5s;
    text-align: center;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
}
#gotop :hover{
    opacity:0.8; 
    background:#33b5e5;
}

.mySlides {display:none}
/* 幻灯片容器 */
.slideshow-container {
    top: 46px;
    position: fixed;
    width: 100%;
    position: relative;
    margin: auto;
}

/* 下一张 & 上一张 按钮 */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}

/* 定位 "下一张" 按钮靠右 */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* 标题文本 */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* 数字文本 (1/3 等) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* 标记符号 */
.dot1,.dot2,.dot3,.dot4 {
    position: absolute;
    top: 85%;
    cursor:pointer;
    height: 10px;
    width: 10px;
    margin: 0 10px;
    background-color: rgba(255,255, 255, 0.8);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot1{
    left: 38%
}

.dot2{
    left: 44%
}

.dot3{
    right: 44%
}

.dot4{
    right: 38%
}

.active, .dot:hover {
    background-color: #717171;
}

/* 淡出动画 */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}