/* general */
html,
body {
    background-color: #ececec;
    height: 100%;
}

li {
    list-style: none;
}

.btn-primary {
    border-radius: 0;
    background-color: #265a9e;
}

.btn-primary:hover {
    background-color: #205190;
    box-shadow: 0 0 3px rgba(0, 132, 255, 0.3);
}

textarea:focus,
textarea.form-control:focus,
input.form-control:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
[type=text].form-control:focus,
[type=password].form-control:focus,
[type=email].form-control:focus,
[type=tel].form-control:focus,
[contenteditable].form-control:focus {
    box-shadow: none;
    outline: 0px !important;
}

/* | HEADER
 * | top-bar
 */
.error {
    color: red;
    font-size: 11px;
}

.top-bar {
    width: 100%;
    height: 30px;
    background-color: #265a9e;
}

.top-bar .top-right {
    height: 30px;
}

.top-bar .top-right .signin,
.top-bar .top-right .signup {
    position: relative;
    display: inline-block;
}

.signin a,
.signup a,
.logout a {
    color: #ececec;
    font-size: 13px;
    margin: 0 5px;
    line-height: 30px;
}

.signin a:hover,
.signup a:hover,
.logout a:hover {
    text-decoration: none;
}

.page-wrapper {
    align-items: center;
    display: flex;
    background-color: #373330;
    height: 100vh;
    min-width: 50rem;
}

/*
 * AUTH
 */
 .login-wrapper {
     align-items: center;
     display: flex;
     background-color: #373330;
     height: 100vh;
     min-width: 50rem;
 }
 
 .card-container {
     background-color: #ffffff;
     border: 1px solid #e3e3e3;
     box-shadow: 0 5px 30px 0 #000000;
     margin: auto;
     width: 350px;
     max-width: 350px;
     padding: 50px 40px;
     text-align: center;
     position: relative;
 }
 
 .profile-img-card {
     width: 96px;
     height: 96px;
     margin: 0 auto 30px;
     display: block;
 }
 
 .form-signin small {
     text-align: left;
     font-size: 13px;
 }
 
 .form-signin input[type=email],
 .form-signin input[type=password],
 .form-signin input[type=text],
 .form-signin button {
     width: 100%;
     display: block;
     margin-bottom: 10px;
     z-index: 1;
     position: relative;
     -moz-box-sizing: border-box;
     -webkit-box-sizing: border-box;
     box-sizing: border-box;
 }
 
 .form-signin .form-control:focus {
     border-color: rgb(104, 145, 162);
     outline: 0;
     -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162);
     box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162);
 }

/* | HEADER
 * | Navbar
 */
.navbar-nav a {
    position: relative;
    margin-right: 15px;
}

.navbar-nav a:last-of-type {
    margin-right: 0;
}

.navbar-nav a:hover::after {
    content: "";
    width: 80%;
    display: inline-block;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -8px;
    border-bottom: 5px solid #265a9e;
}

.navbar-nav .active::after {
    content: "";
    width: 80%;
    display: inline-block;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -8px;
    border-bottom: 5px solid #265a9e;
}

/* | Jumbotron / Banner
 */
.jumbotron {
    height: 400px;
    background-position-y: bottom;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    margin-bottom: 25px;
}

.jumbotron .search {
    position: absolute;
    width: 550px;
    height: 50px;
    border-radius: 50px;
    top: 50%;
    left: 0;
    right: 0;
    margin: 0 auto;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    background-color: #ececec;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.jumbotron .search input {
    background: transparent;
    color: #5d6268;
    border: none;
    height: 50px;
    width: 415px;
    margin-left: 25px;
}

.jumbotron .button {
    position: absolute;
    display: inline-block;
    height: 50px;
    right: 0;
    padding: 4px;
}

.jumbotron .button .btn-search {
    background-color: #265a9e;
    border-radius: 50px;
    width: 100px;
    height: 100%;
    color: #ececec;
    border: none;
}

.jumbotron .button .btn-search:hover {
    background-color: #205190;
}

/* | CONTENT
 */
.catalog .catalog-header {
    text-align: center;
}

.catalog .catalog-title {
    font-size: 18px;
    color: #5d6268;
    margin-bottom: 50px;
}

.catalog .catalog-title::after,
.catalog .catalog-title::before {
    content: "";
    position: relative;
    display: inline-block;
    background-color: rgba(93, 98, 104, 0.3);
    width: 20%;
    height: 1.1px;
    vertical-align: middle;
}

.catalog .catalog-title::after {
    left: 30px;
    margin-right: -20%;
}

.catalog .catalog-title::before {
    right: 30px;
    margin-left: -20%;
}

.catalog .catalog-body .card {
    display: block;
    text-align: center;
}

.catalog .catalog-body .card img {
    cursor: pointer;
    height: 320px;
    object-fit: cover;
}

.card .card-body span {
    display: block;
}

.catalog .catalog-body .card .card-body {
    visibility: hidden;
    width: 100%;
    opacity: 0;
    position: absolute;
    bottom: 0;
    transition: 0.5s;
}

.catalog .catalog-body .card:hover .card-body {
    visibility: visible;
    opacity: 1;
    background-color: #ececec;
}

#article .note-table,
#article .note-insert,
#article .note-view {
    display: none !important;
}

.modal-body .image {
    float: left;
}

.modal-body .image .detail-image {
    height: 400px;
    border-radius: 5px;
}

.modal-body .detail-information {
    position: absolute;
    top: 20px;
    left: 300px;
    right: 20px;
}

.modal-body .detail-information .table tr th {
    width: 150px;
}

/* Cateogory */
dd {
    margin-bottom: 0;
}

.dlist-align dt {
    width: 90px;
    float: left;
    word-wrap: break-word;
}

.dlist-align dd {
    margin-left: 120px;
    vertical-align: baseline;
}

[class*="dlist-"] {
    margin-bottom: 5px;
}

.category a {
    color: black;
}

.category a:hover {
    background-color: rgb(221, 221, 255);
    color: black;
    text-decoration: none;
}

.card ul {
    padding: 0;
    margin: 0;
}

.menu-category a {
    text-decoration: none;
}

.menu-category li {
    list-style: none;
}

ul.menu a {
    display: block;
    color: #373330;
    font-weight: 500;
    padding: 10px 0px 10px 20px;
    border-bottom: 1px solid #ececec;
}

ul.menu a:hover {
    background: #f0f0f0;
}

.menu ul {
    display: none;
}

.menu li:hover ul {
    display: block;
}

.menu ul a {
    padding-left: 40px;
}



/* | FOOTER
 */
.footer {
    background-color: #265a9e;
    font-size: 16px;
    color: #ececec;
    padding: 10px 0;
}

.footer .bottom-border {
    border-bottom: 1px solid #205190;
    display: none;
}

.footer p {
    font-size: 14px;
}

.footer p span {
    color: #f7f7f7;
    font-weight: 500;
}

.footer a {
    font-size: 14px;
    font-weight: 500;
    color: #ececec;
}
  
  