/*

WEBOSFER for Essential - Responsive Minimal One Page HTML Template

Author: Alpay ÖZPINAR
Date: Agust 2017
Version: 1.4

-----------------------
| [Table of Contents] |
-----------------------

1. Main Style
2. Navigation Bar
3. Main Top
4. Buttons
5. Links
6. Section
7. Genel
8. iletisim
9. Social
10. Footer
11. Media Queries

*/

/* MAIN STYLE */

html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #555;
  background-color: #FFF;
  line-height: 2;
  letter-spacing: 1px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  letter-spacing: 2px;
  color: #1E1E1E;
  margin-top: 0;
}

p.mini {
  letter-spacing: 0;
  line-height: 1;
  font-size: 12px;
  font-style: italic;
  color: #555;
  margin-bottom: 0;
}

.color {
  color: #1E1E1E;
}

.padding {
  padding: 0 100px;
}

.padding-top {
  padding-top: 200px;
}

.padding-bottom {
  padding-bottom: 200px;
}

i {
  color: #1E1E1E;
  -webkit-transition: all 0.3s ease-in-out 0.1s;
  -moz-transition: all 0.3s ease-in-out 0.1s;
  -o-transition: all 0.3s ease-in-out 0.1s;
  -ms-transition: all 0.3s ease-in-out 0.1s;
  transition: all 0.3s ease-in-out 0.1s;
}

i:hover {
  color: #000;
  cursor: pointer;
}

hr {
  width: 50px;
  height: 1px;
  background-color: #1E1E1E;
  margin: 30px auto;
  border: 0;
  position: relative;
}

input {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(30, 30, 30, 0.3);
  padding: 12px;
  margin: 0;
  -webkit-transition: all 0.3s ease-in-out 0.1s;
  -moz-transition: all 0.3s ease-in-out 0.1s;
  -o-transition: all 0.3s ease-in-out 0.1s;
  -ms-transition: all 0.3s ease-in-out 0.1s;
  transition: all 0.3s ease-in-out 0.1s;
}

textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(30, 30, 30, 0.3);
  padding: 12px;
  min-height: 200px;
  margin: 12px 0 12px 0;
  -webkit-transition: all 0.3s ease-in-out 0.1s;
  -moz-transition: all 0.3s ease-in-out 0.1s;
  -o-transition: all 0.3s ease-in-out 0.1s;
  -ms-transition: all 0.3s ease-in-out 0.1s;
  transition: all 0.3s ease-in-out 0.1s;
}

input:focus {
  outline: none;
  border-bottom: 1px solid #000;
}

textarea:focus {
  outline: none;
  border-bottom: 1px solid #000;
}

.partner-table {
  display: table;
  width: 100%;
  height: 100%;
}

.partner {
  display: table-cell;
  vertical-align: middle;
  float: none;
}

::selection {
  background-color: #1E1E1E;
  color: #FFF;
}

::-moz-selection {
  background-color: #1E1E1E;
  color: #FFF;
}

.main-top ::selection, .Genel ::selection, .dark ::selection, .testimonials ::selection, #footer ::selection {
  background-color: #FFF;
  color: #1E1E1E;
}

.main-top ::-moz-selection, .Genel ::-moz-selection, .dark ::-moz-selection, .testimonials ::-moz-selection, #footer ::-moz-selection {
  background-color: #FFF;
  color: #1E1E1E;
}

/* NAVIGATION BAR */

.navbar {
  -webkit-transition: height 0.3s cubic-bezier(0, 0, 0.7, 1);
  -moz-transition: height 0.3s cubic-bezier(0, 0, 0.7, 1);
  -o-transition: height 0.3s cubic-bezier(0, 0, 0.7, 1);
  -ms-transition: height 0.3s cubic-bezier(0, 0, 0.7, 1);
  transition: height 0.3s cubic-bezier(0, 0, 0.7, 1);
  height: 100px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
background-image: url(../../images/header-back.png);
  background-repeat: repeat-x;
}

.navbar-title {
  -webkit-transition: all 0.3s cubic-bezier(0, 0, 0.7, 1);
  -moz-transition: all 0.3s cubic-bezier(0, 0, 0.7, 1);
  -o-transition: all 0.3s cubic-bezier(0, 0, 0.7, 1);
  -ms-transition: all 0.3s cubic-bezier(0, 0, 0.7, 1);
  transition: all 0.3s cubic-bezier(0, 0, 0.7, 1);
  height: 100px;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 5px;
  color: #FFF;
  display: table-cell;
  vertical-align: middle;
}

.navbar .navbar-title:hover {
  color: #FFF;
}

.navbar-title img {
  -webkit-transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
  -moz-transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
  -o-transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
  -ms-transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
  transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
}

.navbar-nav {
  display: table-cell;
  vertical-align: middle;
}

.navbar-nav > li {
  -webkit-transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
  -moz-transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
  -o-transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
  -ms-transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
  transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
  float: none;
  height: 100px;
  padding: 0px 20px;
  display: table-cell;
  vertical-align: middle;
}

.navbar-nav > li > a {
  -webkit-transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
  -moz-transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
  transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
  color: #E6E6E6;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0;
}

.navbar-nav > li:hover > a, .navbar-nav > li > a:focus {
  color: #FFF;
  background-color: transparent;
}

.navbar.navbar-light {
  -webkit-transition: height 0.5s cubic-bezier(0, 0, 0.3, 1);
  -moz-transition: height 0.5s cubic-bezier(0, 0, 0.3, 1);
  -o-transition: height 0.5s cubic-bezier(0, 0, 0.3, 1);
  -ms-transition: height 0.5s cubic-bezier(0, 0, 0.3, 1);
  transition: height 0.5s cubic-bezier(0, 0, 0.3, 1);
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
  height: 76px;
background-image: none;
}

.navbar.navbar-light .navbar-title img {
}

.navbar.navbar-light .navbar-title {
  -webkit-transition: all 0.5s cubic-bezier(0, 0, 0.3, 1);
  -moz-transition: all 0.5s cubic-bezier(0, 0, 0.3, 1);
  -o-transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
  -ms-transition: all 0.3s cubic-bezier(0, 0, 0.3, 1);
	transition: all 0.5s cubic-bezier(0, 0, 0.3, 1);
  height: 76px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 5px;
  color: #1E1E1E;
  display: table-cell;
  vertical-align: middle;
}

.navbar.navbar-light .navbar-title:hover {
  color: #000;
}

.navbar.navbar-light .navbar-nav.nav-text-light > li {
  -webkit-transition: all 0.5s cubic-bezier(0, 0, 0.3, 1);
  -moz-transition: all 0.5s cubic-bezier(0, 0, 0.3, 1);
  -o-transition: all 0.5s cubic-bezier(0, 0, 0.3, 1);
  -ms-transition: all 0.5s cubic-bezier(0, 0, 0.3, 1);
  transition: all 0.5s cubic-bezier(0, 0, 0.3, 1);
  height: 60px;
}

.navbar.navbar-light .navbar-nav.nav-text-light > li > a {
  color: #1E1E1E;
}

.navbar.navbar-light .navbar-nav.nav-text-light > li > a:hover {
  color: #000;
}

.navbar.navbar-light .navbar-nav.nav-text-light > li.active > a {
  color: #000;
}

.navbar-toggle {
  margin-top: 15px;
  margin-right: 0;
  background-color: transparent;
  border-radius: 0;
  padding-right: 0;
}

.navbar-toggle .icon-bar {
  background-color: #1E1E1E;
  border-radius: 0;
  width: 25px;
}

.navbar-toggle .icon-bar+.icon-bar {
  margin-top: 6px;
}

/* MAIN TOP */

.main-top {
  position: relative;
  width: 100%;
  height: 100%;
}

.main-top .main-content {
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
  display: table;
}

.main-top .main-content .container.content {
  display: table-cell;
  vertical-align: middle;
}

.main-top .main-content h1 {
  color: #FFF;
  font-family: "Open Sans", sans-serif;
  font-size: 70px;
  font-weight: 400;
  letter-spacing: 10px;
  text-transform: uppercase;
  margin-bottom: 0;
  -webkit-animation: fadeInLeft 2s;
  animation: fadeInLeft 2s;
}

.main-top .main-content h2 {
  color: #FFF;
  font-family: "Open Sans", sans-serif;
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 20px;
  padding-top: 30px;
  margin-bottom: 0;
  -webkit-animation: fadeInRight 2s;
  animation: fadeInRight 2s;
}

.main-top .scroll-down {
  width: 80px;
  height: 60px;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 10;
}

.main-top .scroll-down:before {
  bottom: 20px;
  width: 40px;
  height: 40px;
}

.main-top .scroll-down:before, .main-top .scroll-down:after {
  content: '';
  display: block;
  border-bottom: 1px solid #FFF;
  border-right: 1px solid #FFF;
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.main-top .scroll-down:before {
  -webkit-animation: scrollDown 0.5s infinite alternate;
  -moz-animation: scrollDown 0.5s infinite alternate;
  -o-animation: scrollDown 0.5s infinite alternate;
  -ms-animation: scrollDown 0.5s infinite alternate;
  animation: scrollDown 0.5s infinite alternate;
}

.main-top .scroll-down:after {
  width: 20px;
  height: 20px;
  bottom: 25px;
  -webkit-animation: scrollDown 0.5s infinite alternate;
  -moz-animation: scrollDown 0.5s infinite alternate;
  -o-animation: scrollDown 0.5s infinite alternate;
  -ms-animation: scrollDown 0.5s infinite alternate;
  animation: scrollDown 0.5s infinite alternate;
}

@keyframes scrollDown {
  0% {
    opacity: 1;
    -webkit-transform: rotate(45deg) translate(0px);
    -ms-transform: rotate(45deg) translate(0px);
    transform: rotate(45deg) translate(0px);
  }

  100% {
    opacity: 0.5;
    -webkit-transform: rotate(45deg) translate(3px, 3px);
    -ms-transform: rotate(45deg) translate(3px, 3px);
    transform: rotate(45deg) translate(3px, 3px);
  }
}

.scrollDown {
  -webkit-animation-name: scrollDown;
  animation-name: scrollDown;
}

/* BUTTONS */

.btn {
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-ms-border-radius: 6px;
	-o-border-radius: 6px;
	border-radius: 6px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 10px 50px;
  background-color: transparent;
  color: #1E1E1E;
  border: 1px solid #1E1E1E;
  box-shadow: inset 0px 0px 0px 0px #1E1E1E, inset 0px 0 0px 0px #1E1E1E;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.btn:hover {
  color: #FFF;
  box-shadow: inset 200px 0px 0px 0px #1E1E1E, inset -200px -0px 0px 0px #1E1E1E;
}

.btn:focus, .btn:active {
  background-color: #1E1E1E;
  border: 1px solid #1E1E1E;
  color: #FFF;
  outline: none !important;
}

/* LINKS */

a {
  color: #1E1E1E;
  font-weight: 400;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

a:hover, a:focus, a:active {
  color: #1E1E1E;
  opacity: 0.7;
  text-decoration: none;
  outline: none;
}

/* SECTION */

.section {
  background-color: #fff;
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading h2 {
  letter-spacing: 5px;
  color: #1E1E1E;
}

.section-content img {
  width: 100%;
}

.section.dark {
	background-color: #1E1E1E;
  padding: 100px 0;
}

.section.dark h2 {
  color: #FFF;
  font-weight: 100;
  text-align: center;
  letter-spacing: 10px;
  line-height: 2;
  padding: 0 5px;
}

.section.dark .btn {
  color: #FFF;
  border: 1px solid #FFF;
  margin-top: 30px;
  box-shadow: inset 0px 0px 0px 0px #FFF, inset 0px 0px 0px 0px #FFF;
}

.section.dark .btn:hover {
  color: #1E1E1E;
  box-shadow: inset 200px 0px 0px 0px #FFF, inset -200px -0px 0px 0px #FFF;
}

/* Genel */

#Genel i {
  font-size: 50px;
}

#Genel h3 {
  padding-top: 20px;
  padding-bottom: 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 5px;
}

.section.Genel {
  background-color: #1E1E1E;
  width: 100%;
  padding: 100px 0;
  margin: 0;
}

.section.Genel h3 {
  letter-spacing: 5px;
  color: #FFF;
}

.section.Genel hr {
  background-color: #FFF;
  margin-bottom: 30px;
}

.section.Genel p {
  color: #FFF;
  margin-bottom: 0;
}

/* SOCIAL */

.section.social {
  background-color: #F7F7F7;
  padding: 50px 0;
}

.section.social a i {
  background-color: #333;
  display: inline-block;
  color:#CCC;
  width: 84px;
  font-size: 30px;
  padding: 12px;
  border:1px solid #000;
	-webkit-border-radius: 42px;
	-moz-border-radius: 42px;
	-ms-border-radius: 42px;
	-o-border-radius: 42px;
	border-radius: 42px;
}

.section.social a i:hover {
  background-color: #CCC;
  color:#000;
}

/* FOOTER */

#footer {
  padding: 10px 0;
  background-color: #1E1E1E;
  color: #fff;
}

#footer .social {
  float: left;
}

#footer .social i {
  font-size: 20px;
  color: #FFF;
  padding-top: 10px;
  padding-right: 20px;
  text-align: right;
}
#footer a {
  color: #CCC;
}

#footer a:hover {
  color: #FFF;
}

#footer .social i:hover {
  color: #1E1E1E;
}

.back-to-top {
  display: none;
  position: fixed;
  right: 24px;
  bottom: 42px;
  z-index: 9999;
}

.back-to-top a {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
  -webkit-transition-property: background-color;
  -moz-transition-property: background-color;
  -o-transition-property: background-color;
  transition-property: background-color;
  -webkit-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-timing-function: linear;
  -moz-transition-timing-function: linear;
  -o-transition-timing-function: linear;
  transition-timing-function: linear;
  display: block;
  width: 35px;
  height: 35px;
  text-align: center;
}

.back-to-top a i {
  font-size: 50px;
  color: #1E1E1E;
}

.copyright {
  font-size: 12px;
  letter-spacing: 5px;
  padding-top: 10px;
  text-align: center;
  text-align: center;
}

/* MEDIA QUERIES */

@media screen and (max-width: 1023px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 25px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 17px;
  }

  p {
    font-size: 14px;
    line-height: 1.9;
  }

  hr {
    width: 80px;
  }

  .section.Genel, .section.galeri, .section.daireler, .section.katlar, .section.bloklar, .section.konum {
    padding: 80px 0;
  }

  .section.dark {
    padding: 60px 0;
  }

  .section.dark h2 {
    font-size: 30px;
  }

  .section.dark .btn {
    margin-top: 25px;
  }

  .navbar-nav > li {
    padding: 0 15px;
  }

  .btn {
    padding: 10px 40px;
    font-size: 15px;
    letter-spacing: 2px;
  }

  .main-top .main-content h2 {
    font-size: 60px;
    margin-top: 35px;
  }

  .main-top .main-content h3 {
    font-size: 35px;
    letter-spacing: 15px;
  }

  .main-top .scroll-down {
    bottom: 10px;
  }

  .filter_group .filter {
    cursor: pointer;
    padding: 0 20px;
    font-size: 15px;
  }
}

@media all and (max-width: 900px) {
  .back-to-top {
    display: none;
  }
}

@media screen and (max-width: 991px) {
  .padding {
    padding: 0 100px;
  }

  .padding-top {
    padding-top: 100px;
  }

  .padding-bottom {
    padding-bottom: 100px;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 25px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  h4 {
    font-size: 16px;
  }

  p {
    font-size: 13px;
    line-height: 1.8;
  }

  hr {
    width: 75px;
    margin: 25px auto;
  }

  .padding {
    padding: 0 50px;
  }

  .padding-top {
    padding-top: 50px;
  }

  .padding-bottom {
    padding-bottom: 50px;
  }

  .section.Genel, .section.galeri, .section.daireler, .section.katlar, .section.bloklar, .section.konum {
    padding: 70px 0;
  }

  .section h3 {
    margin-bottom: 40px;
  }

  .section.dark {
    padding: 50px 0;
  }

  .section.dark h2 {
    font-size: 25px;
    letter-spacing: 5px;
    line-height: 1.8;
  }

  .section.dark .btn {
    margin-top: 20px;
  }

  .main-top .main-content h2 {
    font-size: 50px;
    letter-spacing: 5px;
  }

  .main-top .main-content h3 {
    font-size: 25px;
    letter-spacing: 10px;
    padding-top: 20px;
  }

  .navbar.navbar-light .navbar-nav.nav-text-light > li {
    height: 50px;
  }

  .navbar.navbar-light .navbar-nav.nav-text-light > li > a {
    border-bottom: none;
  }

  .navbar.navbar-light .navbar-nav.nav-text-light > li > a:hover {
    border-bottom: none;
    text-decoration: none;
  }

  .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0;
    position: absolute;
    width: 110%;
    left: 0;
  }

  .navbar-collapse li {
    display: table;
    height: 42px;
    padding-left: 30px;
  }

  .navbar-collapse li a {
    font-size: 12px;
    padding: 15px;
    display: table-cell;
    vertical-align: middle;
  }

  .btn {
    padding: 5px 25px;
    font-size: 14px;
    letter-spacing: 1px;
  }

  #Genel i {
    font-size: 45px;
  }

  .team, .team .mask {
    width: 200px;
    height: 250px;
  }

  .team h2 {
    font-size: 16px;
    padding-top: 60px;
  }

  .team a.info i {
    font-size: 15px;
    padding: 10px 5px;
  }

  .filter_group .filter {
    cursor: pointer;
    padding: 0 15px;
    font-size: 14px;
  }

  .services i {
    font-size: 30px;
  }

  .section.clients .box img {
    max-width: 150px;
  }

  .iletisim-info {
    text-align: center;
  }

  .iletisim-info li {
    display: inline-block;
    padding: 0 5px 10px 5px;
  }

  .iletisim-info i {
    font-size: 20px;
    width: 100%;
    padding-bottom: 10px;
  }

  .iletisim-info h3, .iletisim-info p {
    padding-left: 0;
    padding-right: 0;
  }

  .copyright {
    letter-spacing: 3px;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 16px;
  }

  h4 {
    font-size: 15px;
  }

  p {
    font-size: 12px;
    line-height: 1.7;
  }

  hr {
    width: 50px;
    margin: 20px auto;
  }

  .section.Genel, .section.newsletter, .section.testimonials, .section.clients {
    padding: 50px 0;
  }

  .section.newsletter h3 {
    margin-bottom: 30px;
  }

  .section.dark {
    padding: 30px 0;
  }

  .section.dark h2 {
    font-size: 18px;
    letter-spacing: 3px;
    line-height: 1.5;
  }

  .section.dark .btn {
    margin-top: 10px;
  }

  .btn {
    padding: 5px 20px;
    font-size: 13px;
  }

  .main-top .main-content h2 {
    font-size: 40px;
    letter-spacing: 3px;
  }

  .main-top .main-content h3 {
    font-size: 20px;
    letter-spacing: 5px;
    padding-top: 10px;
  }

  #Genel i {
    font-size: 40px;
  }

  .filter_group .filter {
    cursor: pointer;
    padding: 0 10px;
    font-size: 13px;
  }

  .section.clients .box img {
    max-width: 100px;
  }

  .iletisim-info li {
    display: block;
  }

  .iletisim-form .btn {
    width: 100%;
  }

  .copyright {
    font-size: 11px;
  }
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  .main-top .main-content h2 {
    font-size: 30px;
  }

  .main-top .main-content h3 {
    font-size: 20px;
    letter-spacing: 5px;
    padding-top: 10px;
  }

  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0;
  }

  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }

  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }

  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }

  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }

  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px;
  }

  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0;
  }
}