/*error line css*/
@keyframes error {
    from {
        background-color: #990000;
        color: white
    }
    to {
        background-color: #FF0000;
        color: white
    }
}

@-webkit-keyframes error {
    from {
        background-color: #990000;
        color: white
    }
    to {
        background-color: #FF0000;
        color: white
    }
}

.error {
    -webkit-animation: error 2s infinite;
    -moz-animation: error 2s infinite;
    animation: error 2s infinite;
}

/*info line css*/
@keyframes info {
    from {
        background-color: #009900;
        color: white
    }
    to {
        background-color: #00FF00;
        color: white
    }
}

@-webkit-keyframes info {
    from {
        background-color: #990000;
        color: white
    }
    to {
        background-color: #FF0000;
        color: white
    }
}

.info {
    -webkit-animation: info 2s infinite;
    -moz-animation: info 2s infinite;
    animation: info 2s infinite;
}

/*table css*/
.table th {
    text-align: center !important;
    background-color: lightblue !important;
}

/*input css*/
input {
    margin: 0 auto !important;
}

::-webkit-input-placeholder {
    font-style: italic;
}

:-moz-placeholder {
    font-style: italic;
}

::-moz-placeholder {
    font-style: italic;
}

:-ms-input-placeholder {
    font-style: italic;
}

/*MODAL css*/
.modal {
    text-align: center;
}

@media screen and (min-width: 768px) {
    .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

/*HELP css*/
div.help {
    display: none;
    /* Make sure the info element is initially hidden */
    color: #777;
    font-size: 12px;
    margin: 2px 0;
    text-indent: 1em;
}

input:focus + div.help, select:focus + div.help, textarea:focus + div.help {
    /* This selector selects the div.info that comes right after
       the focused input */
    display: block;
    /* Make the element visible */
}

/* Colors */
.danger {
    color: red !important;
}

.warn {
    color: darkorange !important;
}

.goahead {
    color: green !important;
}

div.mybox {
    border: 5px double green !important;
}
