



.wrap{width:100%;position:relative; line-height:1.6; font-size:1em; }

.unitName{ background:#ff822f;}

.pop-up-wrap{position:relative;}
.pop-up-wrap.no-show {display: none;}
.pop-up{display:none;}
.pop-up.show{display:inline-block !important;}

.pop-up {
    width: 800px;
    height: 325px;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 95px auto;
    background-color: #fff1f1;
    z-index: 1000001;
    box-shadow: 0 0 15px #000;
    padding: 20px 30px;
    text-align: center;
    border-radius: 10px;
    border-bottom: 40px solid #ff7f7f;
}
.pop-up-img {
    display: inline-block;
    position: absolute;
    left: 10px;
}
.pop-up-text {
    display: inline-block;
    width: 400px;
    right: 0;
    position: absolute;
    text-align: left;
    margin-right: 20px !important;
}
.pop-up-text p {
    font-size: 24px;
    margin-top: 65px;
    text-align: left;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: bold;
    color: #464646;
}
.pop-up-btn {
    display: inline-block;
    text-align: center;
}
.pop-up-btn a {
    background: #f36867;
    display: inline-block;
    color: #fff;
    width: 188px;
    height: 68px;
    vertical-align: top;
    padding-top: 4px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}
.pop-up-btn a:hover {
    background-color: #ee5352;
}
.pop-up-btn span {
    display: block;
    font-size: 16px;
}
.pop-up-btn.register a {
    padding-top: unset;
    line-height: 68px;
    margin-left: 15px;
}
.overlay.show {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    /* visibility: hidden; */
    z-index: 1000000;
    opacity: 1;
}
.no-show-btn {
    position: absolute;
    bottom: -33px;
    color: #fff;
    letter-spacing: 1px;
    font-weight: bold;
    cursor: pointer;
}
.close-popup-btn {
    position: absolute;
    right: -20px;
    top: -20px;
    border-radius: 100%;
    background-color: #ff7f7f;
    width: 40px;
    height: 40px;
    color: #fff;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
}

@media screen and (max-width: 540px) {

.pop-up {
    width: 340px;
    height: 465px;
}
.pop-up-img {
    bottom: -2px;
}
.pop-up-text {
    width: 100%;
    margin-right: unset !important;
    text-align: center;
}

.pop-up-btn a {
	font-size: 18px;padding-top: 7px; width: 150px;}
	
.pop-up-btn span {
    font-size: 14px;
}	
.pop-up-text p {
    margin-top: 20px;text-align: center;
}
.pop-up-img img {
    width: 100%;
}
	
}


/*-------------功能按鈕---------------*/
.viewBtn {width:96%; margin:.6em  auto; /*border-top:1px solid #c1c1c1; */padding-top:10px;}

.viewBtn .fb-like{}

.viewBtn .pros,.viewBtn .reply,.viewBtn .share{ display:block; float:right; width:130px; height:32px; line-height:32px; font-size:.93em; font-family:"微軟正黑體"; margin-left:5px;}




/*-------------mainNav單元文字變色---------------*/
.mainNav > ul > li:nth-child(1) > a {
    color: #00babc;
    font-weight: bold;
}
@media screen and (max-width: 980px) {
	
.mainNav > ul > li:nth-child(4) > a { color:#333; }

}





.essay-page-box h1 { }

.essay-page-box .search-article-wrap { position:relative;top:0 ; right:0; }


.essay-page-box .btn-try{width: 100%;max-width: 400px;margin:80px auto;vertical-align: middle;text-align: center;padding: 14px;font-size: 24px;font-weight: bold;
    
     position: relative;color: #fff;display: block;

}


.essay-page-box .btn-try:before{
    display: block;
/*    background: linear-gradient(90deg,#f36,#61c2f0,#f441a5,#ffeb3b,#f36);*/
    background: linear-gradient(90deg,#31a0da,#00b998,#83d60d,#b7ea1d,#83d60d,#00ce6b,#31a0da);
    background-size: 400%;
    border-radius: 5px;
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    opacity: .9;
    filter: blur(0px);
    animation: bg-move 12s linear infinite;
    transition: all .35s;
    }
    
 

.essay-page-box .btn-try:hover{text-decoration: none;
}

 .essay-page-box .btn-try:hover:before{
        
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    opacity: 1;
    animation: bg-move 4s linear infinite;
    }



 
    @keyframes bg-move{
      0%{background-position:0}
      to{background-position:400%}
    }


@media screen and (max-width: 640px) {
.viewBtn .fb-like{ display:block; float: none;}
.viewBtn .pros,.viewBtn .reply,.viewBtn .share{ display:block; float: none; margin:10px 0; width:35%; max-width: none; font-size:80%;}	
    
    .essay-page-box .btn-try{font-size: 20px;}
}




