/* Overide Boostrap */
.container{
				padding:0;
			} 
.navbar-inverse {
    background-color: #ff7cd8;
    border-color: #ff7cd8;
}
.navbar-inverse .navbar-nav li:hover{
	color: #1c1b1b !important; 
	background-color: #ff7cd8 !important;
}
.navbar-inverse .navbar-nav>.active>a{
	font-size:2rem;
	color: #1c1b1b;
    background-color: #ff7cd8 !important;
}
		
@media (max-width: 768px) {
	element.style {
		margin-top: 20px;
	}
.navbar-brand {
	position: fixed ;
	float: left ;
	padding: 20px 15px ;
	font-size: 14px ;
	line-height: 20px ;
	height: 60px ;
}
.navbar-inverse .navbar-toggle .icon-bar {
	background-color: #8ed0f3 ;
	}
}
			  
			.panel{
			  border-radius: 0 ;
			}
            .panel-primary {				
				border-color: #ECB3FF ;				
            }
            .panel-primary>.panel-heading {
                color: #fff ; 
				border-radius:0 ;
				background: rgb(255,124,216); 
				background: -moz-linear-gradient(left,  rgba(255,124,216,1) 0%, rgba(253,137,215,1) 59%, rgba(253,137,215,1) 59%, rgba(251,166,225,1) 66%, rgba(251,166,225,1) 66%, rgba(252,236,252,1) 100%, rgba(252,236,252,1) 100%); /* FF3.6-15 */
				background: -webkit-linear-gradient(left,  rgba(255,124,216,1) 0%,rgba(253,137,215,1) 59%,rgba(253,137,215,1) 59%,rgba(251,166,225,1) 66%,rgba(251,166,225,1) 66%,rgba(252,236,252,1) 100%,rgba(252,236,252,1) 100%); /* Chrome10-25,Safari5.1-6 */
				background: linear-gradient(to right,  rgba(255,124,216,1) 0%,rgba(253,137,215,1) 59%,rgba(253,137,215,1) 59%,rgba(251,166,225,1) 66%,rgba(251,166,225,1) 66%,rgba(252,236,252,1) 100%,rgba(252,236,252,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
				filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff7cd8', endColorstr='#fcecfc',GradientType=1 ); /* IE6-9 */
				
				border-color: #ECB3FF ;
				
            }


/* บนหน้าจอที่มีขนาดไม่เกิน 992px */
@media screen and (max-width: 992px) {
    .my-modal-centent-hoz{
        width: 90% !important;        
    }
    .my-modal-centent-ver{
        width: 90% !important;        
    }
}
  
/* บนหน้าจอที่มีขนาด 600px หรือน้อยกว่า */
@media screen and (max-width: 600px) {    
    .my-modal-centent-hoz{
        width: 100% !important;
    }
    .my-modal-centent-ver{
        width: 100% !important;
    }
}


.close-x{
    position: inherit; 
    right: -45%;
    bottom: 5%;
    font-size: 1.5em;
    color: #f00;
    cursor: pointer;
}
.close-x2{
    position: inherit; 
    font-size: 1.5em;
    color: #f00;
    cursor: pointer;
}
.my-modal{  
    position: absolute;
    width:100%;
    height:100vh;    
    top:0;
    right: -7px;
    z-index: 99991;
    text-align: center;
}
.my-modal-2{  
    position: fixed;
    overflow: scroll;
    width:100%;
    height:100%;    
    top:0;
    right: -7px;
    z-index: 99993;
    text-align: center;
}

.my-modal-3{  
    position: fixed;
    overflow: scroll;
    width:100%;
    height:100%;    
    top:0;
    right: 0;
    z-index: 99992;
    text-align: center;
}
.my-modal-overy{  
    position: fixed;
    margin: 0 auto;
    background: url(../img/overlay.png);
    opacity: 0.8;
    width: 100%;
    height:100%;
    top:0%;
	left:0%;
	right:0%;
    z-index:15;    
}

/* แนวนอน */
.my-modal-centent-hoz{        
    position: relative;
    width: 32%;  
    margin: 0 auto;  
    background: #fff;
    border-radius: 6px;        
    top: 1%;
    background: rgba(0,0,0,0);
    z-index: 15;
    /* animation */
    -webkit-animation-duration: .5s;
    -webkit-animation-delay: .0s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -webkit-backface-visibility: visible!important;
    -webkit-animation-name: fadeInRight;
}

.my-modal-centent-hoz > img {
    width: 100%;
    border: 0;
    margin: 0 auto;   
    z-index: 9999;
}   

/* แนวตั้ง */
.my-modal-centent-ver{        
    position: relative;
    margin: 0 auto;  
    width: 60%;    
    background: #fff;
    border-radius: 6px;        
    top: 1%;    
    background: rgba(0,0,0,0);
    z-index: 15;
    /* animation */
    -webkit-animation-duration: .5s;
    -webkit-animation-delay: .0s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -webkit-backface-visibility: visible!important;
    -webkit-animation-name: fadeInRight;
}


@-webkit-keyframes fadeInRight{
    0%{
        opacity: 0;
        -webkit-transform: translateX(20px)
    }
    100%{
        opacity: 1;
        -webkit-transform: translateX(0)
    }
}

/* Dashboard */
.small-box {
    border-radius: 2px;
    position: relative;
    display: block;
    margin-bottom: 20px;
    box-shadow: 0 2px 2px rgb(0 0 0 / 20%);
    color: white;
}
.small-box>.inner {
    padding: 5px 5px 15px 10px;
}
.small-box .icon {
    -webkit-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear;
    position: absolute;
    top: -10px;
    right: 10px;
    z-index: 0;
    font-size: 90px;
    color: rgba(0,0,0,0.15);
}
.small-box>.icon:hover{
    font-size: 100px;
    top: -20px;
}
