/*!
 * Start Bootstrap - Modern Business (https://startbootstrap.com/template-overviews/modern-business)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-logomodern-business-nav/blob/master/LICENSE)
 */

body {
  padding-top: 54px;
  height: 100%;
}

@media (min-width: 992px) {
  body {
    padding-top: 0;
  }
}

.fixed-top {position: sticky !important;}

.bg-dark {
    background-color: #fff !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(0, 0, 0, .8);
}

.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(0, 0, 0, 1);
}

.bg-dark.navbar {box-shadow: 0 0 7px rgba(0, 0, 0, 0.4); display: flex; flex-direction: column;}

.navbar-brand {padding-bottom: 0; padding-top: 0;}
.navbar .container {display: flex; flex-direction: column;}

footer.bg-dark {background-color: #fff !important; border-top: 1px solid #999;}
footer p.text-white {color: #000 !important;}

.loginbtn {position: absolute; right: 0; top: 24px; list-style: none; padding: 0; margin: 0; z-index: 200;}
.loginbtn .nav-link {background: #007bff; color: #fff; border-radius: 0.25rem;}
.loginbtn .nav-link:hover {background: #dc3545;}

.time {position: absolute; left: 0; top: 30px; z-index: 200;}

.carousel-item {
  height: 65vh;
  min-height: 300px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.portfolio-item {
  margin-bottom: 30px;
}


body {padding-bottom: 0;}
body.login {padding-bottom: 130px;}
footer.py-5 {padding: 25px 15px !important; margin-top: 30px;}
.login footer.py-5 {position: fixed; left: 0; right: 0; bottom: 0;}
.login .wrapper-page {position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 20px; background: #fff; box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); max-width: 300px; width: 100%;}
.createaccbtn-box table {width: 100%;}
#createAccountBtn {background: #E5E5E5; border: 0; width: 100%; padding: 7px 10px; border-radius: 5px; color: #242424; margin: 15px 0 0; cursor: pointer;}
button:focus {outline: 0;}
#createAccountBtn img {margin-top: -2px;}

.navbar .container {position: relative;}
.welcome {position: absolute; right: 100px; top: 30px; color: #000;}

@media (max-width: 991px) {
  .welcome {right: 100px; top: 30px;}
}

img {max-width: 100%;}

/*============================ Home page html -CSS =================================*/

.container {height: 100%;}
.container.home {height: 100%;}
.container.home ul {list-style: none; margin: 15px 0 0; padding: 0;}
.container.home ul li {padding-bottom: 5px; margin-bottom: 15px; border-bottom: 1px solid #ccc;}
.container.home ul li h4 {font-size: 15px; font-weight: bold;}
.container.home ul li a {color: #000;}

.container.home .smallblock-news ul li {display: flex;flex-direction: row;flex-wrap: wrap; justify-content: space-between;}
.container.home .smallblock-news ul {margin-top: 0;}
.smallblock-news ul li img {width: 120px;}
.smallblock-news ul li .news-content {width: calc(100% - 130px);}

.container.home .smallblock-news.right-aligned ul li {flex-direction: row-reverse;}
.smallblock-news .news-content .name {margin-bottom: 5px;}
.smallblock-news.right-aligned ul li .news-content {width: calc(100% - 70px);}
.container.home .smallblock-news.right-aligned img {width: 50px; height: 50px;}

.largeblock-news .listingbox {display: flex; border-bottom: 1px solid #ccc; padding-bottom: 20px; margin-bottom: 20px;}
.largeblock-news ul li:last-child {border-bottom: 0; padding-bottom: 0; margin-bottom: 0;}

.smallblock-news2 ul {display: flex; grid-column-gap: 20px;}
.container.home .smallblock-news2 ul li {margin: 0; padding: 0; border: 0;}
.container.home .smallblock-news2 ul li h4 {margin-top: 7px;}
.smallblock-news2 {border-bottom: 1px solid #ccc; padding-bottom: 15px; margin-bottom: 15px;}

.container.home .smallblock-news3 ul li h4 {margin-top: 7px;}

.largeblock-news .listingbox.sideview {width: 100%;}
.largeblock-news .listingbox.sideview ul li {display: flex; grid-column-gap: 15px;}

.newslider {border-bottom: 1px solid #ccc; margin-bottom: 20px; padding-bottom: 20px;}
.newslider ul {display: flex; flex-direction: row; flex-wrap: wrap; grid-column-gap: 15px;}
.container.home .newslider ul li {width: calc((100% - (15px * 3)) / 4 ); border-bottom: 0; margin: 0; padding: 0;}
.newslider ul li h4 {margin-top: 7px;}

.account-btn {text-align: center !important;}

.popup-overlay {position: fixed; left: 0; top: 0; bottom: 0; right: 0; z-index: 1100; background: rgba(0, 0, 0, 0.6); opacity: 0; pointer-events: none; transition: all 0.5s;}
.popup-overlay.show {opacity: 1; pointer-events: auto;}
.login-popup {width: 300px; background: #fff; padding: 20px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);}
body.fixed {overflow: hidden;}

