body {
  overflow-x: hidden;
  font-family: 'MyRiad', sans-serif;
}

p {
  line-height: 1.75;
}

a {
  color: #222222;
}

a:hover {
  color: white;
}

.text-primary {
  color: white !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'MyRiad', sans-serif;
}

section {
  padding: 27px 0;
}

section h2.section-heading {
  font-size: 40px;
  margin-top: 0;
  margin-bottom: 15px;
}

section h3.section-subheading {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 75px;
  text-transform: none;
  font-family: 'MyRiad', sans-serif;
}

.btn {
  font-family: 'MyRiad', sans-serif;
}

.btn-xl {
  font-size: 18px;
  padding: 20px 40px;
}

::-moz-selection {
  background: white;
  text-shadow: none;
}

::selection {
  background: white;
  text-shadow: none;
}

img::-moz-selection {
  background: transparent;
}

img::selection {
  background: transparent;
}

img::-moz-selection {
  background: transparent;
}

#mainNav {
  background-color: #212529;
  padding-top: 3px;
  padding-bottom: 3px;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
}

#mainNav .navbar-brand {
  color: white;
  font-family: 'MyRiad', sans-serif;
  padding-top: 6px;
  padding-bottom: 6px;
}

#mainNav .navbar-brand:active,
#mainNav .navbar-brand:focus,
#mainNav .navbar-brand:hover {
  color: white;
}

#mainNav .nav-link {
  display: block;
  padding: .5rem 0rem;
}

#mainNav .nav-link #search {
  outline: none;
  border: 1px;
  background: transparent;
  color: white;
  width: 85px;
  display: none;
}

#mainNav .nav-link .search-icon {
  cursor: pointer;
  color: white;
  display: none;
}

#mainNav .nav-link .filter-icon {
  cursor: pointer;
  color: white;
  display: block;
}

header.masthead {
  height: 280px;
  width: 100%;
  text-align: center;
  color: white;
}

header.masthead .intro-text {
  position: absolute;
  top: 0;
  width: 100%;
  height: 280px;
  padding-top: 140.5px;
}

header.masthead .intro-text .intro-heading {
  font-size: 26px;
  letter-spacing: 3.5px;
  font-family: 'MyRiad', sans-serif;
}

#header_texture {
  position: absolute;
  top: 0px;
  background-image: url("/img/texture.png");
  height: 280px;
  width: 100%;
  background-repeat: repeat;
  opacity: 0.5;
}

.filter-mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  -webkit-transition: width 0.8s ease;
  transition: width 0.8s ease;
  z-index: 99;
  overflow: auto;
  color: #efefef;
  margin: 0;
}

.filter-mobile.hide {
  width: 0;
  -webkit-transition: width 0.5s ease;
  transition: width 0.5s ease;
}

.close-filter-mobile {
  margin-top: 11.5px;
  margin-right: 11.5px;
  width: 25px;
  height: 25px;
  cursor: pointer;
  background-color: transparent;
  position: relative;
  float: right;
}

.close-filter-mobile-lr {
  background-color: #212529;
  z-index: 1051;
  width: 1px;
  height: 25px;
  margin-left: 12px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.close-filter-mobile-rl {
  background-color: #212529;
  z-index: 1052;
  width: 1px;
  height: 25px;
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

.options-mobile {
  position: relative;
  color: #212529;
  width: 100%;
  margin-top: 48px;
  padding: 10px;
}

.options-mobile .dropdown-filter-platform-mobile {
  position: relative;
  font-size: 14px;
  z-index: 0 !important;
  display: none;
}

.options-mobile .dropdown-filter-platform-mobile #p1m.chosen {
  background-color: #9e9e9e;
}

.options-mobile .dropdown-filter-platform-mobile #p2m.chosen {
  background-color: #9e9e9e;
}

.options-mobile .dropdown-filter-platform-mobile.hide {
  display: block;
}

.options-mobile .dropdown-filter-format-mobile {
  position: relative;
  font-size: 14px;
  z-index: 0 !important;
  display: none;
}

.options-mobile .dropdown-filter-format-mobile #f1m.chosen {
  background-color: #9e9e9e;
}

.options-mobile .dropdown-filter-format-mobile #f2m.chosen {
  background-color: #9e9e9e;
}

.options-mobile .dropdown-filter-format-mobile #f3m.chosen {
  background-color: #9e9e9e;
}

.options-mobile .dropdown-filter-format-mobile #f4m.chosen {
  background-color: #9e9e9e;
}

.options-mobile .dropdown-filter-format-mobile #f5m.chosen {
  background-color: #9e9e9e;
}

.options-mobile .dropdown-filter-format-mobile.hide {
  display: block;
}

.options-mobile .dropdown-filter-type-mobile {
  position: relative;
  font-size: 14px;
  z-index: 0 !important;
  display: none;
}

.options-mobile .dropdown-filter-type-mobile #t1m.chosen {
  background-color: #9e9e9e;
}

.options-mobile .dropdown-filter-type-mobile #t2m.chosen {
  background-color: #9e9e9e;
}

.options-mobile .dropdown-filter-type-mobile.hide {
  display: block;
}

.options-mobile .dropdown-item-filter-mobile {
  display: block;
  width: 100%;
  padding: .25rem 1rem;
  clear: both;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  border: 0;
  background-color: transparent;
}

.options-mobile .header-filter-mobile {
  width: 100%;
  height: 26px;
  position: relative;
}

.options-mobile .header-filter-mobile .fa-angle-down {
  position: absolute;
  right: 0;
}

.options-mobile .header-filter-mobile .fa-angle-up {
  position: absolute;
  right: 0;
}

.options-mobile .separator-filter-mobile {
  background-color: #9E9E9E;
  width: 100%;
  height: 1px;
  margin: 10px 0;
  opacity: 0.5;
}

.ad-title-card {
  width: 100%;
  height: 25px;
  font-size: 14px;
  font-family: 'MyRiad', sans-serif;
  padding: 5px 15px 0px 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  top: -60px;
  color: white;
}

.ad-brand-card {
  width: 100%;
  height: 25px;
  font-size: 12px;
  font-family: 'MyRiad', sans-serif;
  padding: 0px 15px 5px 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.5px;
  position: relative;
  top: -60px;
  color: #bcbcbc;
}

#portfolio {
  position: absolute;
  top: 280px;
  left: 0px;
  width: 100%;
}

#portfolio .portfolio-item {
  right: 0;
  margin: 0 0 20px;
}

#portfolio .portfolio-item .portfolio-link {
  position: relative;
  display: block;
  max-width: 400px;
  margin: 0 auto;
  cursor: pointer;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover {
  position: absolute;
  width: 100%;
  height: 180px;
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
  opacity: 0;
  background: rgba(33, 37, 41, 0.6);
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
  opacity: 1;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
  font-size: 20px;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 20px;
  margin-top: -12px;
  text-align: center;
  color: white;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
  margin-top: -12px;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
  margin: 0;
}

#portfolio .portfolio-item .portfolio-caption {
  max-width: 400px;
  margin: 0 auto;
  padding-top: 5px;
  text-align: left;
  background-color: transparent;
  margin-top: 180px;
}

#portfolio .portfolio-item .portfolio-caption h4 {
  margin: 0;
  text-transform: none;
}

#portfolio .portfolio-item .portfolio-caption p {
  font-size: 12px;
  font-style: italic;
  margin: 0;
  font-family: 'MyRiad', sans-serif;
}

.portfolio-bg {
  max-width: 400px;
  height: 60px;
  margin: 0 auto;
  padding-top: 5px;
  text-align: left;
  background-color: black;
  opacity: 0.65;
  position: relative;
  top: -5px;
  left: 0;
}

.portfolio-caption {
  height: 60px;
}

#portfolio * {
  z-index: 2;
}

.portfolio-modal {
  padding-right: 0px !important;
}

.portfolio-modal .modal-content {
  padding: 0 0;
  text-align: center;
}

.portfolio-modal .modal-content .section-mobile {
  padding: 0 0.3rem;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.portfolio-modal .modal-content .section-mobile .spec-mobile-btn {
  width: 100%;
  height: 40px;
  padding: 10px;
  text-transform: uppercase;
}

.portfolio-modal .modal-content .section-mobile .spec-mobile {
  width: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.9);
  -webkit-transition: height 0.8s ease;
  transition: height 0.8s ease;
  height: 100%;
  z-index: 1;
  left: 0;
  top: 0;
  border-radius: .2rem;
  color: white;
  overflow: auto;
  font-size: 16px;
  text-align: left;
}

.portfolio-modal .modal-content .section-mobile .spec-mobile .container {
  padding-top: 8px;
  padding-bottom: 8px;
}

.portfolio-modal .modal-content .section-mobile .spec-mobile .name-specs-mobile {
  font-size: 18px;
  text-align: center;
}

.portfolio-modal .modal-content .section-mobile .spec-mobile .platform-specs-mobile {
  padding-left: 10px;
}

.portfolio-modal .modal-content .section-mobile .spec-mobile .format-specs-mobile {
  padding-left: 10px;
}

.portfolio-modal .modal-content .section-mobile .spec-mobile .type-specs-mobile {
  padding-left: 10px;
}

.portfolio-modal .modal-content .section-mobile .spec-mobile .description-specs-mobile {
  padding-left: 10px;
}

.portfolio-modal .modal-content .section-mobile .spec-mobile .feature-specs-mobile {
  padding-left: 10px;
}

.portfolio-modal .modal-content .section-mobile .spec-mobile .specification-item {
  width: 50%;
  display: inline-block;
  margin: 0;
  vertical-align: top;
}

.portfolio-modal .modal-content .section-mobile .spec-mobile .qrcode-placement-mobile {
  width: 160px;
  height: 160px;
  background-color: white;
  padding: 5px;
  margin: auto;
  margin-top: 15px;
}

.portfolio-modal .modal-content .section-mobile .spec-mobile .qrcode-placement-mobile #qrcode-mobile canvas {
  width: 100%;
  height: 100%;
}

.portfolio-modal .modal-content .section-mobile .spec-mobile.hide {
  height: 0;
  -webkit-transition: height 0.5s ease;
  transition: height 0.5s ease;
}

.portfolio-modal .modal-content .section-dekstop-left {
  padding: 0 0.3rem;
}

.portfolio-modal .modal-content .section-dekstop-left .spec-desktop {
  width: 480px;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.9);
  -webkit-transition: width 0.8s ease;
  transition: width 0.8s ease;
  height: 100%;
  z-index: 1;
  right: 0;
  top: 0;
  color: white;
  overflow: auto;
  font-size: 16px;
  text-align: left;
}

.portfolio-modal .modal-content .section-dekstop-left .spec-desktop .container {
  padding-top: 8px;
  padding-bottom: 8px;
}

.portfolio-modal .modal-content .section-dekstop-left .spec-desktop .modal-spec-back-icon {
  position: absolute;
  color: white;
  right: 12px;
  top: 50%;
  font-size: 50px;
  margin-top: -25px;
  cursor: pointer;
  z-index: 1;
}

.portfolio-modal .modal-content .section-dekstop-left .spec-desktop .name-specs-desktop {
  font-size: 18px;
  text-align: center;
}

.portfolio-modal .modal-content .section-dekstop-left .spec-desktop .platform-specs-desktop {
  padding-left: 10px;
}

.portfolio-modal .modal-content .section-dekstop-left .spec-desktop .format-specs-desktop {
  padding-left: 10px;
}

.portfolio-modal .modal-content .section-dekstop-left .spec-desktop .type-specs-desktop {
  padding-left: 10px;
}

.portfolio-modal .modal-content .section-dekstop-left .spec-desktop .description-specs-desktop {
  padding-left: 10px;
}

.portfolio-modal .modal-content .section-dekstop-left .spec-desktop .feature-specs-desktop {
  padding-left: 10px;
}

.portfolio-modal .modal-content .section-dekstop-left .spec-desktop .specification-item {
  width: 50%;
  display: inline-block;
  margin: 0;
  vertical-align: top;
}

.portfolio-modal .modal-content .section-dekstop-left .spec-desktop.hide {
  width: 0;
  -webkit-transition: width 0.5s ease;
  transition: width 0.5s ease;
}

.portfolio-modal .modal-content .section-dekstop-left #iframe-placement-desktop {
  height: 100%;
}

.portfolio-modal .modal-content .section-dekstop-right {
  padding: 0 0.3rem;
  background-color: #f5f5f5;
  border-top-right-radius: .3rem;
  border-bottom-right-radius: .3rem;
}

.portfolio-modal .modal-content .section-dekstop-right .modal-pic {
  margin: auto;
  margin-top: 20px;
  margin-bottom: 15px;
  position: relative;
  width: 75%;
  padding-top: 75%;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
}

.portfolio-modal .modal-content .section-dekstop-right .modal-pic .spec-button {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  position: absolute;
  bottom: 0;
  text-align: center;
  color: white;
  vertical-align: middle;
}

.portfolio-modal .modal-content .section-dekstop-right .modal-pic .spec-button .spec-word {
  position: absolute;
  bottom: 5px;
  left: 50%;
  margin-left: -17px;
}

.portfolio-modal .modal-content .section-dekstop-right .qrcode-placement-desktop {
  margin: auto;
  margin-top: 5px;
  padding: 10px;
}

.portfolio-modal .modal-content .section-dekstop-right .qrcode-placement-desktop #qrcode-desktop canvas {
  width: 100%;
  height: 100%;
}

.portfolio-modal .modal-content .desktop-in-mobile-col-md-10 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 83.333333%;
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}

.portfolio-modal .modal-content .desktop-in-mobile-col-md-2 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 16.666667%;
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

.modal-separator {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: #e3e3e3;
}

.portfolio-modal .modal-content img {
  margin-bottom: 30px;
}

.portfolio-modal .modal-content button {
  cursor: pointer;
}

.portfolio-modal .close-modal {
  position: absolute;
  width: 25px;
  height: 25px;
  cursor: pointer;
  right: 1px;
  top: 1px;
  border-radius: .3rem;
}

.portfolio-modal .close-modal:hover {
  opacity: 0.3;
}

.portfolio-modal .close-modal .lr {
  /* Safari and Chrome */
  z-index: 1051;
  width: 1px;
  height: 25px;
  margin-left: 12px;
  /* IE 9 */
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background-color: #212529;
}

.portfolio-modal .close-modal .lr .rl {
  /* Safari and Chrome */
  z-index: 1052;
  width: 1px;
  height: 25px;
  /* IE 9 */
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  background-color: #212529;
}

.portfolio-modal .modal-dialog {
  margin: 0.5rem;
  padding: 0;
}

.modal.fade .modal-dialog {
  transition: -webkit-transform .3s ease-out !important;
  -webkit-transition: -webkit-transform .3s ease-out !important;
  transition: transform .3s ease-out !important;
  transition: transform .3s ease-out, -webkit-transform .3s ease-out !important;
  transition: transform .3s ease-out,-webkit-transform .3s ease-out !important;
  -webkit-transform: translate(0, -25%) !important;
  transform: translate(0, 100%) !important;
}

.modal.show .modal-dialog {
  -webkit-transform: translate(0, 0) !important;
  transform: translate(0, 0) !important;
}

.submit-filter-mobile {
  position: absolute;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
}

/*---------------------------------*/

#options {
  letter-spacing: 1px;
  position: absolute;
  width: 60%;
  margin-left: 20%;
  height: 48px;
  z-index: 99;
  text-align: center;
  text-transform: uppercase;
  display: none;
}

.option-separator-shadow {
  position: absolute;
  left: 0px;
  top: 328px;
  background-image: url("/img/border.png");
  width: 100%;
  height: 24px;
  background-repeat: repeat;
  display: none;
}

.opsi-filter {
  font-family: 'MyRiad', sans-serif;
  display: inline;
  padding-left: 12px;
  padding-right: 12px;
  background-color: transparent;
  height: 48px;
  padding-top: 14px;
  font-size: 14px;
}

/*---------------------------------*/

.dropdown-menu {
  font-size: 14px;
}

.dropdown-item {
  font-size: 14px;
}

.ajax-load {
  padding: 10px 0px;
  width: 100%;
}

#emptyRecord {
  display: none;
  position: relative;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
}

/* Responsive Section*/

@media (min-width: 480px) {
  header.masthead .intro-text {
    padding-top: 142px;
  }

  header.masthead .intro-text .intro-heading {
    font-size: 28px;
    letter-spacing: 3.5px;
  }

  .options-mobile {
    padding: 16px;
  }

  .portfolio-modal .modal-dialog {
    margin: 1rem;
    padding: 0 15px;
  }

  .portfolio-modal .close-modal {
    background-color: transparent;
    right: -27px;
    top: 0px;
  }

  .portfolio-modal .close-modal .lr {
    background-color: white;
  }

  .portfolio-modal .close-modal .lr .rl {
    background-color: white;
  }
}

@media (min-width: 576px) {
  header.masthead .intro-text {
    padding-top: 143.5px;
  }

  header.masthead .intro-text .intro-heading {
    font-size: 30px;
    letter-spacing: 4px;
  }

  .options-mobile {
    padding: 20px;
  }

  .modal-dialog {
    max-width: none;
  }
}

@media (min-width: 768px) {
  section {
    padding: 100px 0;
  }

  #mainNav .nav-link #search {
    display: inline;
  }

  #mainNav .nav-link .search-icon {
    display: inline;
  }

  #mainNav .nav-link .filter-icon {
    display: none;
  }

  header.masthead .intro-text {
    padding-top: 145px;
  }

  header.masthead .intro-text .intro-heading {
    font-size: 32px;
    letter-spacing: 5px;
  }

  #options {
    display: block;
  }

  .option-separator-shadow {
    display: block;
  }

  #portfolio .portfolio-item {
    margin: 0 0 26px;
  }
}

@media (min-width: 992px) {
  #options {
    letter-spacing: 1.5px;
  }

  .opsi-filter {
    font-size: 16px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .dropdown-menu {
    font-size: 16px;
  }

  .dropdown-item {
    font-size: 14px;
  }
}

