/*
*** important: change in css need to stop and start intellij.
By just refreshing page is not going to have effect
*/
table{
    font-size: small;
}
.table-hover tbody tr:hover td {
    background: #818182;
}
.signup-form{
    width: 400px;
    margin: 0 auto;
    padding: 30px 0;
}
.signup-form h2{
    color: #636363;
    margin: 0 0 15px;
    position: relative;
    text-align: center;
}
.signup-form h2:before, .signup-form h2:after{
    content: "";
    height: 2px;
    width: 30%;
    background: #d4d4d4;
    position: absolute;
    top: 50%;
    z-index: 2;
}
.signup-form h2:before{
    left: 0;
}
.signup-form h2:after{
    right: 0;
}
.signup-form .hint-text{
    color: #999;
    margin-bottom: 30px;
    text-align: center;
}
.signup-form form{
    color: #999;
    border-radius: 3px;
    margin-bottom: 15px;
    background: #f2f3f7;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    padding: 30px;
}
.signup-form .form-group{
    margin-bottom: 20px;
}
.signup-form input[type="checkbox"]{
    margin-top: 3px;
}
.signup-form .btn{
    font-size: 16px;
    font-weight: bold;
    min-width: 140px;
    outline: none !important;
}
.signup-form .row div:first-child{
    padding-right: 10px;
}
.signup-form .row div:last-child{
    padding-left: 10px;
}
.signup-form a{
    color: #fff;
    text-decoration: underline;
}
.signup-form a:hover{
    text-decoration: none;
}
.signup-form form a{
    color: #5cb85c;
    text-decoration: none;
}
.signup-form form a:hover{
    text-decoration: underline;
}

.btn-file {
    background: url("/img/upload-file-2.svg") no-repeat top left;
    background-size: contain;
    background-color: rgba(255,255,255,0.0);
    cursor: pointer;
    display: inline-block;
    height: 40px;
    width: 40px;
    position: relative;
    overflow: hidden;
}

.fileUpload:hover {
    background-color: #eeeeee;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: pointer;
    display: block;
}

/*
using cipher-body and cipher-content to keep footer
1- at bottom of page
2- fixing overlapping problem of footer tag
https://stackoverflow.com/questions/26336190/bootstrap-sticky-footer-overlapping-content/29284379
https://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/
*/
.cipher-body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}
.cipher-content {
    flex: 1;
}

body{
    font-family: 'Exo 2', sans-serif;
    font-family: 'Raleway', sans-serif;
}

/*
make anchor to jump in correct position. Because I am using navigation bar the position is not
correct
*/
a.anchor {
    display: block;
    position: relative;
    top: -130px;
    visibility: hidden;
}

/*
change the carousel indicators into dots
*/
.carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 100%;
}

.table-wrapper {
    max-height: 30em;
    overflow: auto;
    display:inline-block;
}

/*
table th sticky header
*/
.sticky-header {
    position: sticky;
    top: 90px; /* adjust to match the actual navbar height */
    background-color: #95999c !important;
    color: white !important;
}