html,
body {
  background-color: #f7f7f7 !important;
  padding-top: 38px;
  display:flex; flex-direction:column;
}

.navbar {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 5px;
}

/*
header top
*/
.topbar{
  background-color: #212529;
  padding: 2px 0;
}

.topbar .container .row {
  margin:-7px;
  padding:0;
}

.topbar .container .row .col-md-12 { 
  padding:0;
}

.topbar p{
  margin:0;
  display:inline-block;
  font-size: 15px;
  color: #f1f6ff;
}

.topbar p > i{
  margin-right:5px;
}
.topbar p:last-child{
  text-align:right;
} 

header .navbar {
    margin-bottom: 0;
}

a {
  color: #0a0a0a;
  text-decoration: none;
}

li {
    list-style-type: none;
}

.mx-background-top-linear {
    background: -webkit-linear-gradient(45deg,#021f47 48%, #1bbfe2 48%);
    background: -webkit-linear-gradient(left, #021f47 48%, #1bbfe2 48%);
    background: linear-gradient(45deg, #021f47 48%, #1bbfe2 48%);
}

/*
header end
*/

/* make images fill height and width or clip */
.cover-img {
  /* The image used */
  background-image: url("../img/25552.jpg");

  /* Full height */
  height: calc(100vh - 76px);

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.btn-default {
  color:white;
  background: linear-gradient(to right, #4a65aa, #1bbfe2);
  border-color: #4a65aa;
}
.btn-default:focus,
.btn-default.focus {
  color: white;
  background-color: #2980b9;
  border-color: #8c8c8c;
}
.btn-default:hover {
  color: white;
  background-image: linear-gradient(to left, #4a65aa, #1bbfe2);
  border-color: #1bbfe2;
}
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
}

.btn-default:active:hover,
.btn-default.active:hover,
.open > .dropdown-toggle.btn-default:hover,
.btn-default:active:focus,
.btn-default.active:focus,
.open > .dropdown-toggle.btn-default:focus,
.btn-default:active.focus,
.btn-default.active.focus,
.open > .dropdown-toggle.btn-default.focus {
  color: white;
  background-color: #2980b9;
  border-color: #8c8c8c;
}
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
  background-image: none;
}

.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus {
  background-color: #fff;
  border-color: #ccc;
}
.btn-default .badge {
  color: #fff;
  background-color: #333;
}

@media (max-width: 576px) {
.mhide{
  display: none;
  }
}

.card p{
  margin-bottom: 3px;
}

.cardhover:hover{
  transition: .3s transform cubic-bezier(.155,1.105,.295,1.12),.3s box-shadow,.3s 
  -webkit-transform cubic-bezier(.155,1.105,.295,1.12);
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}

/*
Counter Card
*/

.card-counter{
    box-shadow: 8px 8px 10px #DADADA;
    margin: 5px;
    padding: 20px 10px;
    background-color: #fff;
    height: 100px;
    border-radius: 5px;
    transition: .3s linear all;
  }

  .card-counter:hover{
    box-shadow: 4px 4px 20px #DADADA;
    transition: .3s linear all;
  }

  .card-counter.primary{
    background-image: linear-gradient(45deg, #2980b9, #6dd5ed);
    color: #FFF;
  }

  .card-counter.danger{
    background-image: linear-gradient(315deg, #6dd5ed 0%,  #17a2b8 74%);
    color: #FFF;
  }  

  .card-counter.success{
    background: linear-gradient(to right, #4a65aa, #1bbfe2);
    color: #FFF;
  }  

  .card-counter.info{
    background-color: #26c6da;
    color: #FFF;
  }  

  .card-counter i{
    font-size: 5em;
    opacity: 0.2;
  }

  .card-counter .count-numbers{
    position: absolute;
    right: 35px;
    top: 20px;
    font-size: 34px;
    display: block;
    font-weight: bold;
  }

  span.count-numbers:after {
    content: "+";
    display: inline-block;
  }

  .card-counter .count-name{
    position: absolute;
    right: 35px;
    top: 65px;
    font-style: italic;
    text-transform: capitalize;
    display: block;
    font-size: 18px;
  }

  /*
Counter end
*/

.snows {
  background: radial-gradient(ellipse at bottom, #1b2735 30%, #090a0f 100%);
  overflow-x: hidden;
  max-height: 100vh;
  /* If you want to change the site height you can remove overflow-y */
  /* pureSnow will automatically detect height of body tag */
  overflow-y: hidden;
  color: white;
}

.snowflake {
  position: absolute;
  width: 7px;
  height: 7px;
  background: linear-gradient(white, white);
  /* Workaround for Chromium's selective color inversion */
  border-radius: 50%;
  filter: drop-shadow(0 0 10px white);
}

.ncard{
  border: none;
  transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
  overflow:hidden;
  border-radius:20px;
  min-height:350px;
  box-shadow: 0 0 12px 0 rgba(0,0,0,0.2);

 @media (max-width: 768px) {
  min-height:350px;
}

@media (max-width: 420px) {
  min-height:300px;
}

 &.card-has-bg{
  transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
  background-size:100% 50%;
  background-repeat:no-repeat;
  background-position: bottom;
  &:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: inherit;
  }

  &:hover {
    transform: scale(0.98);
    box-shadow: 0 0 5px -2px rgba(0,0,0,0.3);
    background-size:130%;
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);

    .card-img-overlay {
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
    background: rgb(35,79,109);
    background: linear-gradient(0deg, rgba(4,69,114,0.5) 0%, rgba(4,69,114,1) 100%);
     }
  }
}
 .card-meta{color:#1c4a81}
 .ncard-body{ 
   transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}
 &:hover {
   .ncard-body{
    margin-top:30px;
    transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
   }
 cursor: pointer;
 transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
}
 .card-img-overlay {
  transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
  background: rgb(35,79,109);
  background: linear-gradient(0deg, rgba(35,79,109,0.3785889355742297) 0%, rgba(21,187,225) 150%);
}
}

.footer{
  background-color: #212529;
}

.footer p{
  margin:0;
  font-size: 16px;
  color: #f1f6ff;
}

.footer-author{
  display: flex; justify-content: flex-end;
}

@media (max-width: 576px) {
.footer-author{
  display: flex; justify-content: center;
  }

.footer-company{
  display: flex; justify-content: center;
  }
}

.footer_heading {
    position: relative;
    color: #fff;
    padding-bottom: 5px;
}

.footer_heading:after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    width: 40px;
    height: 3px;
    background-color: #f2ca48;
}

.card-img-top {
    width: 100%;
    height: 15vw;
}

@media (max-width: 767px){
  .card-img-top {
    height: 30vw;
  }
}