@media screen and (min-width: 320px) {
  .sabaq-navbar-brand {
    position: absolute !important;
    margin-top: 12px !important;
    left: 0px !important;
    top: -9px;
    background: Transparent url(/images/logo-smaller.png) left top no-repeat !important;
    width: 80px !important;
    height: 60px !important;
  }
}

@media screen and (min-width: 320px) and (max-width: 768px) {
  .sabaq-navbar-toggler {
    background-color: #2F2F2F;
    position: absolute;
    right: 0px;
    padding: 5px 10px;
    margin-right: 10px;
    border: 1px solid grey;
    border-radius: 4px;
  }
}

.sabaq-logo {
  position: absolute !important;
}

@media screen and (min-width: 320px) {
  .sabaq-logo {
    margin-top: 12px !important;
    left: 0px !important;
    top: -9px;
    background: Transparent url(/images/logo-smaller.png) left top no-repeat !important;
    width: 80px !important;
    height: 60px !important;
  }
}

@media screen and (min-width: 480px) {
  .sabaq-logo {
    text-align: left !important;
    z-index: 500;
    margin-top: 13px !important;
    text-indent: -9999px;
  }
}

@media screen and (min-width: 768px) {
  .sabaq-logo {
    margin: 0 auto !important;
    text-align: center !important;
    z-index: 500;
    margin-top: 24px !important;
    left: 44% !important;
    background: Transparent url(/images/logo.png) center top no-repeat !important;
    text-indent: -9999px;
    width: 110px !important;
    height: 83px !important;
  }
}

@media screen and (min-width: 992px) {
  .sabaq-logo {
    left: 45% !important;
  }
}

@media screen and (min-width: 1200px) {
  .sabaq-logo {
    left: 45.5%;
  }
}

.header-bg {
  width: 100% !important;
  z-index: 1000 !important;
  margin-top: 10px;
}

@media screen and (min-width: 320px) {
  .header-bg {
    background: url(/images/headerx320.jpg) top left no-repeat !important;
    width: 100% !important;
    height: 60px !important;
    z-index: 1000 !important;
    margin-top: 0px !important;
    margin-bottom: 10px !important;
  }
}

@media screen and (min-width: 480px) {
  .header-bg {
    margin-bottom: 15px !important;
  }
}

@media screen and (min-width: 768px) {
  .header-bg {
    background: url(/images/header.jpg) top center no-repeat !important;
    height: 90px !important;
  }
}

@media screen and (min-width: 768px) {
  .sabaq-container {
    width: 998px;
  }
}

.bg-black {
  background-color: #000;
}

main {
  min-height: 378px;
}

body {
  font-size: 14px;
}

/* Center the loader */

#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Add animation to "page content" */

.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s;
}

@-webkit-keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }

  to {
    bottom: 0px;
    opacity: 1;
  }
}

@keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }

  to {
    bottom: 0;
    opacity: 1;
  }
}

