.bg{
	max-height:120%;
    padding-bottom: 3%;
    box-sizing: border-box;
    background-color: #ccc;
}

header{
    height: 60px;
    background-color: #000;
}

.logo{
    height: 56px;
    width: 45%;
    float: left;
    margin-left: 22px;
    display: block;
}

.logo img{
    width: 100%;
    height: 100%;
    margin-top: 2px;
}

#yellow{
    color: yellow;
}

.calender-btn{
    height: 60px;
    width: 90px;
    float: right;
    margin-right: 3px;
    background-color: #DE5136;
}

.calender-btn a{
    text-decoration: none;
}

.btn1{
    margin-right: 2.1%;
}

.calender-btn p{
    color: #fff;
    line-height: 60px;
    text-align: center;
    font-size: 14px;
}

.calender-box{
    height: 290px;
    min-height: 290px;
    width: 300px;
    background-color: #fafafa;
    margin: 22px 0 0 0;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
    display: block;
}

.image-box{
    width: 300px;
    height: 250px;
    min-height: 250px;
    position: relative;
}

.image-box img{
    width: 100%;
    height: 100%;
}

.no-pad{
    padding: 0;
}

.calender-box h3{
    padding: 10px 30px 5px 10px;
    margin: 0;
    font-weight: bold;
    width: 250px;
    font-size: 18px;
}

#date, #time, #at{
    color: #000;
    float: left;
    padding: 0 4px;
    text-transform: uppercase;
}

#time, #at{
    font-size: 14px;
}

#date{
    font-size: 13px;
    padding-left: 10px;
}

#at{
    padding: 0 2px;
    font-weight: bold;
}

.clear{
    clear: both;
}

#detail{
    padding: 0 10px 20px 10px;
    height: 100%;
    word-wrap: break-word;	
    word-break: break-word;
    hyphens: auto;	
}

.detail a {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: s-resize;	
}

#datebox-month, #datebox-date, #datebox-day{
    text-align: center;
    vertical-align:middle;
    color: #fff;
    padding: 0;
    margin: 0;
}

#datebox-month{
    font-weight: bold;
    padding: 14px 0 0 0;
    text-transform: uppercase;
}

#datebox-day{
    font-size: 12px;
    text-transform: uppercase;
}

#datebox-date{
    font-weight: bold;
}

.contentbox {
	margin-top:105px;
	height:130px;
	margin-right:10px;	
	padding-bottom:70px;
	position:absolute;
	overflow:scroll;
}

.content-article {
	margin-top:0px;
	height:230px;
	margin-right:10px;	
	padding-bottom:10px;
	position:absolute;
	overflow:scroll;
}

.imagehead {
	height:90px;
}

.headbox .imagebox{
	height:90px;
	position: absolute;
	background-color: white;
	margin-top:2px;
	margin-bottom:2px;
	right:100px;
	z-index: 1!important; 
}

.headbox .imagebox:not(.imageboxnoimage):hover img { 
position:absolute!important; 
width:auto!important; 
} 

.headbox .imagebox:not(.imageboxnoimage):hover { 
margin-right:-90px!important; 
width:280px!important; 
height:230px!important; 
overflow-x:scroll!important; 
overflow-y:hidden!important; 
} 

.datebox{
    height: 90px;
    background-color: dodgerblue;
    position: absolute;
}

.headbox .datebox{
	height:90px;
	width:80px;
	right:8px;	
	margin:2px;
}

.detailbox {
	position:absolute;
}

.calender-box-footer{
    width: 100%;
    height: 40px;
    position: absolute;
    bottom: 0;
    right: 0;
    overflow: hidden;
}

.generel{
    height: 50px;
    border-top: 10px solid #fff;
     background-color: #040033;
}

.add-footer{
     background-color: #6599FF;
        padding-right: -1px;
    padding-left: -1px;
}

.article-footer {
    background-color: #267133;
}

.advertisement{
    width: 100%;
    height: 280px;
    margin: 0;
    padding: 0;
    visibility: visible !important;
    display: block;
}

.form-box{
    height: 500px;
    width: 400px;
    background-color: aquamarine;
    margin: 0 auto;
    padding: 20px;
}

#btn1, #btn2, #btn3{
    height: 40px;
    width: auto;
    border: none;
    background-color: cadetblue;
    display: block;
    margin: 10px auto;
    color: #fff;
    cursor: pointer;
}

#btn1:hover, #btn2:hover, #btn3:hover{
    background-color: darkseagreen;
    color: #000;
}

.form-box table{
    width: 100%;
    border: 1px solid #000;
}

.form-box table tr td{
    border: 1px solid #999;
}

#form-date-box{
    width: 50px;
}

textarea{
    width: 100%;
    height: 150px;
}

.news-view{
    width: 800px;
    margin: 100px auto;
}

.news-view table{
    width: 100%;
    border: 1px solid #000;
    background-color: burlywood;
}

.news-view table tr td{
    border: 1px solid #999;
}

.ad-view{
    width: 500px;
    margin: 0 auto;
    border: 1px solid #000;
}

.ad-view table{
    background-color: bisque;
}

.ad-view table tr td:first-child{
    width: 50px;
}

.ad-view table tr td{
    width: 150px;
    border: 1px solid #999;
}

::-webkit-scrollbar {
  width: 6px; 
   background-color: rgba(0,0,0,0);
  -webkit-border-radius: 80px;
}

::-webkit-scrollbar:hover {
  background-color: rgba(0, 0, 0, 0.09);
}

::-webkit-scrollbar-thumb:vertical {
  background: rgba(0,0,0,0.61);
  -webkit-border-radius: 80px;
}

::-webkit-scrollbar-thumb:vertical:active {
  background: rgba(0,0,0,0.61);
  -webkit-border-radius: 80px;
}

footer{
    height: 60px;
    background-color: black;
}

.btn-footer{
    float: right;
    margin-right: 2%;
}

.calender-box .content-article {
    padding-right: 10px;
}

@media(min-width:992px){
    .first{
    margin-right: -8.5px;
    margin-left: 8.5px;
    }

.last{
    margin-left: -8px;
    margin-right: 8px;
}    
}

@media(min-width:767px) and (max-width:991px){
    .bg{
    min-height: 2581px;
    max-height: 120%;
}
}

@media(max-width:767px){
    .bg{
    min-height: 4760px;
    max-height: 120%;
}
}

@media(max-width:600px){
    .logo h2{
        font-size: 26px;
}

.calender-btn{
        float: right;
        width: 80px;
        margin-right: 5%;
}

.calender-btn p{
	font-size: 14px;
	}
}