.astric {
	color:red;
	font-size:15px;
	font-weight: 900; 
}

/* for authenticate.php */

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 25%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}
#category #cat_name label{
    position: absolute;
    top: -42px;
    right: 234px;
}
#investment #invest_name label{
    position: absolute;
    top: -44px;
    right: 153px;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}
.header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

.content-body {
    padding: 22px 16px;
}
.error {
    color: red;
    margin-top: 8px;
}
.drop-toggle label {
    display: inline-block;
    font-weight: 700;
    margin-bottom: 5px;
    max-width: 100%;
    padding-left: 0;
}
.checkbox #category{
    padding-left: 0px;
    font-weight: 700;
}
a.button {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;

    text-decoration: none;
    color: initial;
}
@media only screen and (min-width: 481px) and (max-width: 767px){
    .content {
        width: 312px;
    }
}
@media only screen and (max-width: 480px) {
    .content {
        width: 300px;
    }
    .content .content-body label {
        font-size: 12px;
    }
}
/* End */