/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
/* Mackay-Regular */
@font-face {
  font-family: "Mackay";
  src: url("../fonts/Mackay-Regular.eot"); /* IE9 Compat Modes */
  src: url("../fonts/Mackay-Regular.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
  url("../fonts/Mackay-Regular.otf") format("opentype"), /* Open Type Font */
  url("../fonts/Mackay-Regular.svg") format("svg"), /* Legacy iOS */
  url("../fonts/Mackay-Regular.ttf") format("truetype"), /* Safari, Android, iOS */
  url("../fonts/Mackay-Regular.woff") format("woff"), /* Modern Browsers */
  url("../fonts/Mackay-Regular.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}
/* BwDarius-Regular */
@font-face {
  font-family: 'BwDarius';
  src: url('../fonts/BwDarius-Regular.eot');
  src: url('../fonts/BwDarius-Regular.eot?#iefix') format('embedded-opentype'),
  url('../fonts/BwDarius-Regular.svg#BwDariusDEMO-Regular') format('svg'),
  url('../fonts/BwDarius-Regular.ttf') format('truetype'),
  url('../fonts/BwDarius-Regular.woff') format('woff'),
  url('../fonts/BwDarius-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/*------ Variables --------*/
:root {
  --main-bg-color: #000;
  --text-color-white: #fff;
  --text-color-balck: #000;
  --text-color-red: #c94a4d;
  /*--base-font-size: 1.3rem;*/
  --base-font-size: 1rem;
  --base-font-family: 'BwDarius';
}

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
  /*font-family: 'Merriweather', serif;*/
  /*font-family: 'Mackay', sans-serif;*/
  font-family: var(--base-font-family), sans-serif;
  background-color: var(--main-bg-color);
}
body.fixed-bg {
  position: relative;
  background: url('../img/bg-3000-2343.jpg');
  -moz-background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  width: 100%;
  background-color: var(--main-bg-color);
}
.fullscreen {
  height: 80vh;
  width: 100%;
}
.bg-img-home {
  /*position: relative;
  background: url('../img/bg-3000-2343.jpg');
  -moz-background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  width: 100%;*/
}

.bg-overlay {
  background-color: rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}
.page {
  position: relative;
  z-index: 5;
  overflow: hidden;
  overflow-y: hidden;
  width: 100%;
  height: 100vh;
  pointer-events: auto;
  background: #2a2b30;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Color Class */
.bg-red {
  color: var(--text-color-red);
}
.list-group-bg {
  background-color: var(--main-bg-color);
  padding: .75rem 0;
}
.list-group-bg-action {
  color: var(--text-color-white);
}
.list-group-bg-action:focus, .list-group-bg-action:hover {
  color: var(--text-color-red);
  background-color: var(--main-bg-color);
}
/* Icon Size */
.icon-size {
  font-size: 0.8rem;
}
/* ===== Header ===== */

body.home-index .home-header .navbar-black {
  /*opacity: 0.8;*/
}
.header .navbar-black {
  background-color: var(--main-bg-color);
}
.header .navbar-black .navbar-nav .nav-item .active>.nav-link {
  color: var(--text-color-white);
}
.header .navbar-black .navbar-nav .nav-item .nav-link {
  color: var(--text-color-white);
}
.header .navbar-black .navbar-nav .nav-item .nav-link {
  color: var(--text-color-white);
}
.header .navbar-black .nav-item.active .nav-link,
.header .navbar-black .nav-item .nav-link:active,
.header .navbar-black .nav-item .nav-link:focus,
.header .navbar-black .nav-item:hover .nav-link {
  color: var(--text-color-red);
}
.header .navbar-nav .active > .nav-link,
.header .navbar-nav .nav-link.active,
.header .navbar-nav .nav-link.show,
.header .navbar-nav .nav-link .show > .nav-link {
  color: var(--text-color-red);
}

/* ===== Body Content ===== */

/* Home Page */
.home-index .home-content {}

/* fixed-banner  */
.fixed-banner-desktop {
  height: 430px;
  background: url(../img/Building-image-1.jpg) no-repeat center 40% fixed;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;
}
.blog-img-desktop {
  height: 430px;
  background: url(../img/kuet.jpg) no-repeat center 40% fixed;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;
}
.blog-img-desktop-v1 {
  height: 430px;
  background: url(../img/Compensation-in-Writ-Proceedings.jpg) no-repeat center 40% fixed;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;
}
.blog-img-desktop-v2 {
  height: 430px;
  background: url(../img/Guidelines-for-White-Label-ATM-and-Merchant-Acquiring-Services.jpg) no-repeat center 40% fixed;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;
}
.blog-img-desktop-v3 {
  height: 430px;
  background: url(../img/How-Legally-Binding-is-Twitter.jpg) no-repeat center 40% fixed;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;
}
.blog-img-desktop-v4 {
  height: 430px;
  background: url(../img/Incarceration-Revisited.jpg) no-repeat center 40% fixed;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;
}
.blog-img-desktop-v5 {
  height: 430px;
  background: url(../img/Liability-of-Registering-Officer-under-the-Registration-Act-1908.jpg) no-repeat center 40% fixed;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;
}
.banner-caption-container {
  max-width: 1140px;
  width: 98%;
  margin: 0 auto;
  position: relative;
}
.banner-caption {
  background: url(../img/banner-text-bg.png) repeat-x 0 0;
  width: auto;
  color: var(--text-color-white);
  text-transform: uppercase;
  position: absolute;
  top: 100px;
  right: 43px;
  font-size: 22px;
  padding: 20px 30px;
  letter-spacing: 1px;
}
.banner-caption:before {
  content: '';
  position: absolute;
  display: inline-block;
  line-height: 0;
  border: 0.3em solid transparent;
  border-left: 0.3em solid #a22d29;
  border-bottom: 0.3em solid #a22d29;
  left: 0;
  top: -12px;
  opacity: 0.9;
}
.banner-caption span {
  font-weight: 600;
}
.banner-caption-small {
  color: var(--text-color-white);
  background-color: rgba(66, 63, 60, 0.9);
  position: absolute;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  letter-spacing: 1px;
  top: 170px;
  right: 0;
}
.banner-caption-small:after {
  content: '';
  position: absolute;
  display: inline-block;
  line-height: 0;
  border: 0.5em solid transparent;
  border-right: 0.5em solid #423f3c;
  border-top: 0.5em solid #423f3c;
  right: 0;
  bottom: -12px;
  opacity: 0.9;
}
/* body-content  */
.body-content {
  margin-bottom: 2rem;
}
.body-content__title {
  color: var(--text-color-white);
  padding: 1.5rem 2rem 1.5rem 0;
  font-size: 1.6rem;
}
.body-content__item {
  color: var(--text-color-white);
}
.body-content__slog {
  margin-bottom: 1.2rem;
}
.body-content__slog h3 {
  font-size: 1.5rem;
}
.body-content__des {}
.body-content__des p {
  font-size: var(--base-font-size);
  letter-spacing: 1px;
  line-height: 1.6rem;
}

/* Lawyer Profile */
.body-content__des p.email-info {
  margin-top: 1rem;
}
.mobile-display-column {
  margin-bottom: 20px;
}
.lawyer-profile-info {
  color: var(--text-color-white);
}
.lawyer-profile__title {}
.lawyer-profile__title h4 {}
.lawyer-profile__title h4 i {
  margin-right: 10px;
  border: 2px solid var(--text-color-white);
  padding: 10px;
}
.lawyer-profile__title h5 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
/* ===== contact page ===== */
.contact-box-part{
  color: var(--text-color-white);
  border-radius:0;
  padding:10px;
  margin:30px 0px;
}
.contact-box-part-title{
  margin-top: 20px;
}
.contact-box-part-text{
  margin:20px 0px;
}
.contact-box-part-text a {
  color: var(--text-color-white);
}

/* ===== practice page ===== */
.practice-box-part{
  color: var(--text-color-white);
  border-radius:0;
  padding:10px;
  margin:30px 0px;
}
.practice-box-part-title{
  margin-top: 20px;
}
.practice-box-part-text{
  margin:20px 0px;
}
.practice-box-part-text a {
  color: var(--text-color-white);
}
/*======= Blog === */
.card-bg {
  background-color: var(--main-bg-color);
  border: 1px solid var(--text-color-white);
  border-radius: 0;
}
.card-bg-link, .card-bg .card-body a {
  color: var(--text-color-white);
}
.card-bg-link:hover, .card-bg .card-body a:hover {
  color: var(--text-color-red);
  text-decoration: none;
}
.blog-text-show p {
  margin-bottom: 1.5em;
}
.blog-content-collapse {
  display: none;
}
.blog-field-collapse p {
  margin-bottom: 1.5em;
}
.blog-content-list {}
.blog-content-list li {}
.blog-view-more {
  line-height: 3.35rem;
  font-size: 1.125rem;
  margin-top: 2rem;
  min-width: 220px;
  height: 60px;
}
/* blog another example */
.blog-summary .collapse:not(.show) {
  overflow: hidden;

}
.blog-summary a.collapsed:after  {
  content: '+ Read More';
}

.blog-summary a:not(.collapsed):after {
  content: '- Read Less';
}
#blog-summary {
  text-align: justify;
}
#blog-summary a.collapsed:after  {
  content: '+ Read More';
}

#blog-summary a:not(.collapsed):after {
  content: '- Read Less';
}
.blog-content-list {
  list-style: none;
  padding: 0;
}
.blog-content-list .list-sup {
  margin-right: 5px;
}
.blog-red-more {
  line-height: 3.35rem;
  font-size: 1.125rem;
  margin-top: 2rem;
  min-width: 220px;
  height: 60px;
  display: inline-block;
  background-color: #ebebeb;
  text-align: center;
  color: black;
}
.blog-red-more:hover, .blog-view-more:hover {
  color: var(--text-color-red);
  text-decoration: none;
}
/* ===== Footer ===== */
.home-footer-fixed {
  background-color: var(--main-bg-color);
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  opacity: 0.8;
}
.home-footer-fixed .footer__copyright {
  margin-top: 1rem;
}
.footer__copyright {
  color: var(--text-color-white);
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (max-width : 767px) {
  .header {
    display: flex;
    flex-direction: column-reverse;
  }
  .header .nav-mobile-relative {
    position: relative;
  }
  .header .nav-mobile-postion {
    position: absolute;
    top: 80%;
    width: 100%;
    background-color: var(--main-bg-color);
    left: 0;
    padding: 0 0 0 20px;
    z-index: 2;
  }
  .header .navbar-toggler {
    background-color: var(--text-color-white);
    /*margin-bottom: 10px;*/
  }
  .header .navbar-brand.mobile-margin-auto {
    margin: 0 auto;
  }
/* home page logo height */
  .mobile-height-logo {
    padding-top: 0;
  }
  .mobile-height-logo-img {
   height: 100px;
  }
  .mobile-height-menu {
    padding-bottom: 0;
  }

  body.home-index .home-header .mobile-height-logo {
    /*background-color: transparent;*/
    position: relative;
    height: 60px;
  }
  body.home-index .home-header .mobile-height-logo .mobile-margin-auto {
    position: absolute;
    left: 50%;
    top: -50px;
    z-index: 5;
    transform: translate(-50%, 0);
  }
  /* Lawyer profile */
  .mobile-display-column {
    flex-direction: column-reverse;
  }
  .mobile-column-grid:nth-child(1) {
    margin-top: 20px;
  }

  .fixed-banner-desktop {
    /*height: 150px;
    background: url(../img/Building-image-1.jpg) no-repeat scroll center center / 100% auto;*/
    display: none;
  }
  .fixed-banner-mobile {
    background: rgba(0, 0, 0, 0) url(../img/Building-image-1.jpg) no-repeat scroll center 45% / 100% auto;
    height: 150px!important;
    margin-top: 0;
  }
  .blog-img-desktop {
    display: none;
  }
  .blog-img-mobile {
    background: rgba(0, 0, 0, 0) url(../img/kuet.jpg) no-repeat scroll center 45% / 100% auto;
    height: 150px!important;
    margin-top: 0;
  }
  .blog-img-desktop-v1 {
    display: none;
  }
  .blog-img-mobile-v1 {
    background: rgba(0, 0, 0, 0) url(../img/Compensation-in-Writ-Proceedings.jpg) no-repeat scroll center 45% / 100% auto;
    height: 150px!important;
    margin-top: 0;
  }
  .blog-img-desktop-v2 {
    display: none;
  }
  .blog-img-mobile-v2 {
    background: rgba(0, 0, 0, 0) url(../img/Guidelines-for-White-Label-ATM-and-Merchant-Acquiring-Services.jpg) no-repeat scroll center 45% / 100% auto;
    height: 150px!important;
    margin-top: 0;
  }
  .blog-img-desktop-v3 {
    display: none;
  }
  .blog-img-mobile-v3 {
    background: rgba(0, 0, 0, 0) url(../img/How-Legally-Binding-is-Twitter.jpg) no-repeat scroll center 45% / 100% auto;
    height: 150px!important;
    margin-top: 0;
  }
  .blog-img-desktop-v4 {
    display: none;
  }
  .blog-img-mobile-v4 {
    background: rgba(0, 0, 0, 0) url(../img/Incarceration-Revisited.jpg) no-repeat scroll center 45% / 100% auto;
    height: 150px!important;
    margin-top: 0;
  }
  .blog-img-desktop-v5 {
    display: none;
  }
  .blog-img-mobile-v5 {
    background: rgba(0, 0, 0, 0) url(../img/Liability-of-Registering-Officer-under-the-Registration-Act-1908.jpg) no-repeat scroll center 45% / 100% auto;
    height: 150px!important;
    margin-top: 0;
  }
  /*======= Blog === */
  .card-bg {
    margin-bottom: 20px;
  }
  .company-logo {
	margin-bottom: 10px;
}
}

/* ----------- iPhone 4 and 4S ----------- */

/* Portrait and Landscape */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 480px)
and (-webkit-min-device-pixel-ratio: 2) {

}

/* Portrait */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 480px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: portrait) {
}

/* Landscape */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 480px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape) {

}

/* ----------- iPhone 5, 5S, 5C and 5SE ----------- */

/* Portrait and Landscape */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 568px)
and (-webkit-min-device-pixel-ratio: 2) {

}

/* Portrait */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 568px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: portrait) {
}

/* Landscape */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 568px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape) {

}

/* ----------- iPhone 6, 6S, 7 and 8 ----------- */

/* Portrait and Landscape */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (-webkit-min-device-pixel-ratio: 2) {

}

/* Portrait */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: portrait) {

}

/* Landscape */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape) {

}

/* ----------- iPhone 6+, 7+ and 8+ ----------- */

/* Portrait and Landscape */
@media only screen
and (min-device-width: 414px)
and (max-device-width: 736px)
and (-webkit-min-device-pixel-ratio: 3) {

}

/* Portrait */
@media only screen
and (min-device-width: 414px)
and (max-device-width: 736px)
and (-webkit-min-device-pixel-ratio: 3)
and (orientation: portrait) {

}

/* Landscape */
@media only screen
and (min-device-width: 414px)
and (max-device-width: 736px)
and (-webkit-min-device-pixel-ratio: 3)
and (orientation: landscape) {

}

/* ----------- iPhone X ----------- */

/* Portrait and Landscape */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 812px)
and (-webkit-min-device-pixel-ratio: 3) {

}

/* Portrait */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 812px)
and (-webkit-min-device-pixel-ratio: 3)
and (orientation: portrait) {

}

/* Landscape */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 812px)
and (-webkit-min-device-pixel-ratio: 3)
and (orientation: landscape) {
  .header {
    display: flex;
    flex-direction: column-reverse;
  }
  .header .navbar-toggler {
    background-color: var(--text-color-white);
    /*margin-bottom: 10px;*/
  }
  .header .nav-mobile-relative {
    position: relative;
  }
  .header .nav-mobile-postion {
    position: absolute;
    top: 80%;
    width: 100%;
    background-color: var(--main-bg-color);
    left: 0;
    padding: 0 0 0 20px;
    z-index: 2;
  }
  .bg-img-home {
   /* background-position: center -46%;*/

  }
  body.home-index .home-header .mobile-height-logo {
/*    background-color: transparent;
    margin: 0 auto;*/
  }
  body.home-index .home-header .mobile-height-logo .mobile-margin-auto {

  }
}

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

