/*
  Document   : _defs.scss
  Created on : 10.09.2012, 17:08:30
  Author     : hendrik
  Description:
  Purpose of the stylesheet follows.
*/
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
  display: block;
}

audio, canvas, video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

audio:not([controls]) {
  display: none;
}

[hidden] {
  display: none;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

html, button, input, select, textarea {
  font-family: sans-serif;
  color: #222;
}

body {
  margin: 0;
  font-size: 1em;
  line-height: 1.4;
}

::-moz-selection {
  background: #008fd7;
  color: #fff;
  text-shadow: none;
}

::selection {
  background: #008fd7;
  color: #fff;
  text-shadow: none;
}

a {
  color: #00e;
}

a:visited {
  color: #551a8b;
}

a:hover {
  color: #06e;
}

a:focus {
  outline: thin dotted;
}

a:hover, a:active {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b, strong {
  font-weight: bold;
}

blockquote {
  margin: 1em 40px;
}

dfn {
  font-style: italic;
}

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

ins {
  background: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background: #ff0;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

pre, code, kbd, samp {
  font-family: monospace, serif;
  _font-family: 'courier new', monospace;
  font-size: 1em;
}

pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

q {
  quotes: none;
}

q:before, q:after {
  content: "";
  content: none;
}

small {
  font-size: 85%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

ul, ol {
  margin: 1em 0;
  padding: 0 0 0 40px;
}

dd {
  margin: 0 0 0 40px;
}

nav ul, nav ol {
  list-style: none;
  list-style-image: none;
  margin: 0;
  padding: 0;
}

img {
  border: 0;
  -ms-interpolation-mode: bicubic;
  vertical-align: middle;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 0;
}

form {
  margin: 0;
}

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

label {
  cursor: pointer;
}

legend {
  border: 0;
  *margin-left: -7px;
  padding: 0;
  white-space: normal;
}

button, input, select, textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}

button, input {
  line-height: normal;
}

button, input[type="button"], input[type="reset"], input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
  *overflow: visible;
}

button[disabled], input[disabled] {
  cursor: default;
}

input[type="checkbox"], input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
  *width: 13px;
  *height: 13px;
}

input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
  vertical-align: top;
  resize: vertical;
}

input:invalid, textarea:invalid {
  background-color: transparent;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td {
  vertical-align: top;
}

ol, ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.clear {
  clear: both;
}

.float-left {
  display: block;
  float: left;
}

.float-right {
  display: block;
  float: right;
}

.page table td {
  vertical-align: bottom;
}

img {
  color: #fff;
}

p {
  margin-bottom: 5px;
}

a {
  color: #666;
  text-decoration: none;
}
a:visited {
  color: #666;
  text-decoration: none;
}
a:hover {
  color: #cc0066;
}
a img:hover {
  opacity: 0.85;
}

body {
  background: #fff;
  /*  background: transparent url("images/black_pattern01.jpg") no-repeat top center fixed;*/
  color: #666;
}
body * {
  font-family: "Times New Roman", times, serif;
}

h1, h2, h3, h4, h5, h6 {
  clear: both;
}

h5 {
  font-weight: normal;
}

#Wrapper {
  margin: 0 auto;
  max-width: 100%;
  padding: 0 10%;
  overflow: visible;
  background: #fff;
  position: relative;
}
#Wrapper.HomePage {
  padding-right: 10px;
}

#SiteTitle {
  margin-top: 60px;
  font-size: 30px;
  line-height: 37px;
  font-weight: normal;
  text-transform: uppercase;
  font-style: italic;
  color: #666;
  margin-bottom: 50px;
}
#SiteTitle a {
  color: #666;
}

#ContactInfo {
  padding-bottom: 8px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 5px;
}
#ContactInfo * {
  font-size: 18px;
  line-height: 18px;
  font-weight: normal;
  text-transform: lowercase;
  font-style: italic;
  color: #111;
}

#nav {
  overflow: hidden;
  margin-bottom: 45px;
}
.HomePage #nav {
  margin-bottom: 45px;
}
#nav .menu_item {
  float: left;
  padding-right: 2px;
  margin-bottom: 1em;
  font-size: 12px;
  line-height: 15px;
  color: #999;
}
#nav .menu_item a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 15px;
  color: #999;
  border-bottom: 1px solid #fff;
}
#nav .menu_item a:hover {
  color: #cc0066;
}
#nav .menu_item a.current, #nav .menu_item a.section {
  color: #222;
}
#nav .hiddenMenuEntry a {
  border-bottom: 1px solid #ccc;
  display: inline-block;
  color: #fff;
  line-height: 9px;
}
#nav .hiddenMenuEntry a:hover {
  color: #cc0066;
  border-bottom-color: #fff;
}
#nav .hiddenMenuEntry .current, #nav .hiddenMenuEntry .section {
  color: #222;
  border-bottom: none;
}
#nav .gap {
  padding-left: 3px;
  padding-right: 1px;
}

#Submenu {
  overflow: hidden;
  margin-bottom: 15px;
  margin-top: -17px;
}
#Submenu img {
  display: block;
  float: left;
  margin: 0;
  padding: 0;
}

#Content {
  /*  overflow: hidden;*/
}

#MainSlides {
  margin-top: 20px;
  margin-bottom: 65px;
  position: relative;
  /*  margin-left: -3px;*/
}
#MainSlides.galerieProjekt {
  margin-bottom: 2em;
}
#MainSlides .slide {
  width: 1012px;
  height: 462px;
}

#BackClose {
  position: absolute;
  right: -34px;
  top: 17px;
  width: 34px;
  height: 32px;
  margin: 0;
  padding: 0;
  background: url("images/close.png") black no-repeat top left scroll;
}

#MainContent {
  width: 900px;
  text-align: justify;
  max-width: 100%;
}
@media (max-width: 1050px) {
  #MainContent {
    text-align: left;
  }
}
@media (max-width: 650px) {
  #MainContent {
    text-align: left;
  }
}
#MainContent p, #MainContent li {
  font-size: 0.9em;
  margin: 0 0 0.5em;
}
#MainContent img {
  max-width: 100%;
  height: auto;
}

#PageTitleDiv {
  margin: 15px 0 10px 0;
}
#PageTitleDiv h1, #PageTitleDiv h2 {
  background: #000;
  margin: 0 0 3px 0;
  padding: 0 10px 5px 10px;
  color: #fff;
  text-transform: lowercase;
  font-size: 30px;
  font-weight: normal;
  line-height: 23px;
  letter-spacing: 1px;
  display: table;
  font-style: italic;
}

#PageTitle {
  background: #000;
  margin: 15px 0 15px 0;
  padding: 0 25px 5px 10px;
  color: #fff;
  text-transform: lowercase;
  font-size: 30px;
  font-weight: normal;
  line-height: 23px;
  letter-spacing: 1px;
  display: table;
  font-style: italic;
}

#PageTitleImg {
  margin: 15px 0 15px 0;
}

/* GALERIE SEITE */
#GalerieContainer {
  overflow: hidden;
}
#GalerieContainer .teaserBox {
  float: left;
  list-style: none;
  margin: 0;
  width: 460px;
  height: 440px;
  padding-right: 20px;
}
@media (max-width: 1220px) {
  #GalerieContainer .teaserBox {
    width: 50%;
    /*height: auto;*/
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
}
@media (max-width: 650px) {
  #GalerieContainer .teaserBox {
    float: none;
    width: 100%;
    height: 400px;
    padding: 10px;
  }
}
.GaleriePage #GalerieContainer .teaserBox {
  opacity: 0;
}
#GalerieContainer .teaserImg {
  width: 100%;
  height: 317px;
  background: #fff;
  margin-bottom: 15px;
  text-decoration: none;
  display: block;
}
#GalerieContainer .teaserImg img {
  width: 100%;
  height: auto;
  -moz-box-shadow: 3px 3px 4px 0px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 3px 3px 4px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 3px 3px 4px 0px rgba(0, 0, 0, 0.5);
}
@media (max-width: 650px) {
  #GalerieContainer .teaserImg img {
    width: 100%;
    height: auto;
  }
}
#GalerieContainer img:hover {
  opacity: 1;
}
#GalerieContainer .teaserText {
  width: 100%;
  text-align: right;
  font-size: 11px;
  line-height: 13px;
  font-style: italic;
}
#GalerieContainer .teaserText a {
  text-decoration: none;
}
#GalerieContainer .teaserMore {
  color: #cc0066;
  text-transform: uppercase;
  font-style: italic;
  padding-top: 2px;
  font-size: 1.1em;
  line-height: 1.2em;
}
#GalerieContainer .teaserMore:hover {
  text-decoration: underline;
}

.teaserBox p {
  margin-bottom: 5px;
}

#GalleryDescription {
  margin-top: 12px;
  font-size: 10px;
}

.galerieProjekt {
  margin-bottom: 140px;
}
.galerieProjekt img {
  padding-bottom: 40px;
  /*  position: relative;*/
}
.galerieProjekt .banner-description {
  /*  position: absolute;*/
  /*  bottom: -15px;*/
  /*  left: 5px;*/
}

#BackstageGallery {
  overflow: hidden;
  margin-right: -15px;
}
#BackstageGallery li {
  float: left;
  list-style: none;
  margin: 0 15px 8px 0;
  opacity: 0;
}
#BackstageGallery img {
  /*  position: absolute;*/
  /*  top: 0;
    left: 0;*/
  /*  background: url("images/loading.gif") transparent center center no-repeat scroll;*/
}

#GalerieContainer.videos .teaserHeadline {
  color: #cc0066;
  font-size: 12px;
  line-height: 14px;
  font-weight: bold;
  font-style: normal;
  text-transform: uppercase;
  margin-bottom: 2px;
}

#PhotographerContent {
  /*  width: 450px;*/
}

/* --- KONTAKT --- */
.floatContainer {
  overflow: hidden;
}

#KontaktContainer {
  /*  width: 1470px;*/
  background: #000;
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  overflow: hidden;
}
#KontaktContainer.smallContainer {
  /*  width: 990px;*/
}
#KontaktContainer a {
  color: #ccc;
  text-decoration: none;
}

.kontaktBox {
  float: left;
  margin: 20px 15px 10px 25px;
  width: 200px;
  /*  min-height: 250px;*/
}
.kontaktBox p {
  color: #fff;
}

#KontaktContainer .verticelLine {
  display: block;
  margin: 40px 0 60px;
  height: 160px;
  width: 1px;
  background: #555;
  float: left;
}

#Kontakt1 {
  padding-left: 10px;
  padding-right: 20px;
  /*  border-right: 1px solid #777;*/
}

#Representation {
  margin: 0 15px 0 40px;
  float: left;
  overflow: hidden;
}
#Representation .repres {
  margin-right: 15px;
  margin-left: 0;
}

#KontaktForm {
  width: 420px;
  /*  padding-top: 26px;*/
  min-height: inherit;
  margin-left: 40px;
  margin-right: 1px;
  padding-right: 30px;
}

#Form_ContactForm {
  padding-top: 10px;
}

#KontaktForm label {
  color: #bbb;
  float: none;
  display: block;
  margin: 0;
  font-size: 12px;
  line-height: 14px;
}
#KontaktForm .field {
  width: 190px;
  margin-bottom: 4px;
}
#KontaktForm input {
  height: 10px;
  width: 165px;
  background: #fff;
  border: 1px solid #777;
}
#KontaktForm textarea {
  background: #fff;
  border: 1px solid #777;
}
#KontaktForm #Nachricht {
  float: right;
  width: 230px;
}
#KontaktForm #Form_ContactForm_Nachricht {
  height: 116px;
  width: 220px;
}
#KontaktForm .Actions {
  margin-top: 2px;
  overflow: hidden;
  padding-right: 30px;
}
#KontaktForm #Form_ContactForm_action_SendContactForm {
  /*  float: right;*/
  margin-left: 185px;
  width: auto;
  height: 20px;
  color: #bbb;
  background: #000;
  border: none;
}

#Kontakt4 {
  padding-left: 10px;
  width: 170px;
}

#SocialMediaLinks {
  overflow: hidden;
}
#SocialMediaLinks li {
  list-style: none;
  float: left;
  width: 15px;
  height: 15px;
  padding-right: 5px;
  margin: 0;
}

/* --- IMPRESSUM --- */
#ImprintContainer {
  margin-top: 30px;
}

#ImprintContent {
  float: left;
  width: 200px;
  padding-right: 50px;
  border-right: 1px solid #ccc;
  font-size: 12px;
  line-height: 17px;
}

.disclaimer {
  float: left;
  width: 300px;
  padding-left: 50px;
}

#Footer {
  margin-top: 50px;
  border-top: 1px solid #ccc;
  padding-top: 13px;
  margin-bottom: 100px;
  overflow: hidden;
  font-size: 10px;
  color: #999;
  font-style: italic;
}

#FooterContent {
  width: 1000px;
  max-width: 100%;
}

.footerBlock {
  float: left;
  margin-right: 27px;
}
@media (max-width: 1050px) {
  .footerBlock {
    width: 50%;
    margin: 0;
    padding: 10px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
}
@media (max-width: 650px) {
  .footerBlock {
    width: 100%;
  }
}

.footerBlockRechts {
  float: right;
}

#Footer h2 {
  font-size: 10px;
  color: #cc0066;
  font-weight: normal;
  text-transform: uppercase;
  font-style: italic;
  margin-bottom: 15px;
}
#Footer .spalte {
  float: left;
  padding-right: 20px;
  text-transform: uppercase;
}
#Footer p {
  font-size: 10px;
  color: #999;
  margin-bottom: 0;
}
#Footer a {
  color: #999;
}
#Footer a:hover {
  color: #cc0066;
}
#Footer .spalte2 {
  float: left;
  padding-right: 10px;
}

.royalSlidesContainer .royalSlide {
  list-style: none;
  list-style-type: none;
  margin-left: 0;
}
.royalSlidesContainer .royalSlide img {
  max-width: 100%;
  height: auto;
}

#TopLink {
  position: fixed;
  right: 10px;
  bottom: 10px;
  cursor: pointer;
  font-size: 1em;
  text-align: center;
  padding: 0.4em 1em;
  border-radius: 5px;
  font-weight: bold;
  background: transparent;
  color: transparent;
  -moz-transition: 0.4s;
  -o-transition: 0.4s;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
#TopLink.visible {
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
}
#TopLink.visible:hover {
  -moz-box-shadow: 0px 0px 5px #333333;
  -webkit-box-shadow: 0px 0px 5px #333333;
  box-shadow: 0px 0px 5px #333333;
  background: rgba(0, 0, 0, 0.7);
}

.typography {
  font-family: "Times New Roman", times, serif;
  color: #666;
}
.typography h1, .typography h2, .typography h3, .typography h4, .typography h5, .typography h6 {
  clear: both;
  font-weight: normal;
}
.typography a {
  text-decoration: underline;
}
.typography a:hover {
  text-decoration: underline;
  color: #cc0066;
}
.typography .left {
  float: left;
  padding-right: 3px;
}
.typography .center {
  text-align: center;
}
.typography .right {
  float: right;
  padding-right: 3px;
}
.typography img {
  border: none;
  color: #fff;
}
.typography img.right {
  float: right;
  margin: 10px 0 5px 20px;
}
.typography img.left {
  float: left;
  margin: 10px 20px 5px 0;
}
.typography img.leftAlone {
  float: left;
  margin-right: 100%;
  margin-bottom: 5px;
}
.typography img.center {
  float: none;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.typography .pink {
  color: #cc0066;
}
.typography .grau666 {
  color: #666;
}
.typography .grau444 {
  color: #444;
}
.typography .grau222 {
  color: #222;
}
.typography .photographer {
  width: 450px;
  font-size: 14px;
  line-height: 19px;
}
.typography h1 {
  font-size: 1.3em;
  line-height: 1.3em;
  margin-bottom: 1em;
}
.typography .pageTitle {
  background: #000;
  margin: 0 0 3px 0;
  padding: 0 10px 5px 10px;
  color: #fff;
  text-transform: lowercase;
  font-size: 30px;
  font-weight: normal;
  line-height: 23px;
  letter-spacing: 1px;
  display: table;
  font-style: italic;
}
.typography h2 {
  font-size: 1.1em;
  line-height: 1.3em;
  margin: 1em 0 0.5em;
}
.typography h3 {
  font-size: 1em;
  line-height: 1.3em;
  margin: 1em 0 0.5em;
}
.typography hr {
  clear: both;
  height: 1px;
  width: 100%;
  background: #dadada;
  color: #dadada;
  border: none;
  margin: 20px 0;
}
.typography ul, .typography ol {
  margin-bottom: 10px;
}
.typography ul li, .typography ol li {
  color: #444;
  font-size: 12px;
  line-height: 18px;
  list-style: outside disc none;
  margin-left: 1.5em;
}
.typography .caption {
  font-size: 10px;
  line-height: 13px;
  color: #808080;
}
.typography .captionImage img {
  margin-bottom: 10px;
}
.typography .footerHeadline {
  font-size: 9px;
  font-weight: normal;
  color: #999;
  line-height: 11px;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.typography .footerText {
  font-size: 9px;
  font-weight: normal;
  color: #999;
  line-height: 11px;
}
.typography .clientsHeadline, .typography .clientsHellgrau, .typography .clientsMittelgrau, .typography .clientsDunkelgrau {
  display: inline;
  text-transform: uppercase;
  font-size: 25px;
  line-height: 32px;
}
.typography .clientsHeadline {
  color: #cc0066;
  font-style: italic;
}
.typography .clientsHellgrau {
  color: #999;
}
.typography .clientsMittelgrau {
  color: #666;
}
.typography .clientsDunkelgrau {
  color: #111;
}
.typography .clientsKleinPink {
  color: #cc0066;
  display: inline;
  font-size: 12px;
  line-height: 32px;
}
.typography .teaserHeadline {
  color: #111;
  font-size: 12px;
  line-height: 14px;
  font-weight: bold;
}
.typography .teaserText {
  color: #808080;
  font-size: 11px;
  line-height: 13px;
}
.typography .galleryTitle {
  color: #cc0066;
  text-transform: uppercase;
}
.typography .galleryHeadline {
  color: #000;
}
.typography .galleryText {
  color: #808080;
}
.typography .impressum_Headline {
  font-size: 12px;
  line-height: 14px;
  text-transform: uppercase;
  color: #cc0066;
  margin-bottom: 12px;
  font-weight: normal;
}
.typography h3.impressum_Headline {
  margin-bottom: 2px;
}
.typography .impressum_Text {
  color: #666;
  font-size: 12px;
  line-height: 14px;
  margin-top: 2px;
  margin-bottom: 12px;
}
.typography .impressum_Abstand {
  margin: 0;
}
.typography .jurist_Headline {
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  margin-bottom: 2px;
  color: #333;
  font-weight: normal;
  font-style: italic;
}
.typography h2.jurist_Headline {
  margin-bottom: 12px;
}
.typography .jurist_Text {
  text-align: justify;
  font-size: 11px;
  line-height: 13px;
  margin-bottom: 20px;
  color: #666;
}
.typography .kontakt_Headline {
  font-size: 12px;
  line-height: 17px;
  text-transform: uppercase;
  color: #cc0066;
  margin-bottom: 12px;
  font-weight: normal;
  background: #000;
  font-style: italic;
}
.typography h3.kontakt_Headline {
  margin-bottom: 2px;
  margin-top: 14px;
}
.typography .kontakt_Text {
  font-size: 12px;
  line-height: 14px;
  margin-top: 2px;
  margin-bottom: 12px;
  color: #bbb;
  background: #000;
}
.typography .kontakt_Text_MehrAbstand {
  font-size: 12px;
  line-height: 14px;
  margin-top: 19px;
  margin-bottom: 12px;
  color: #bbb;
  background: #000;
}
.typography .teaserBody {
  color: #444;
  font-size: 11px;
  line-height: 13px;
}
.typography .teaserBody p {
  margin-bottom: 0px;
  color: #444;
  font-size: 11px;
  line-height: 13px;
}

/* LINKS 
-------------------------------------------- */
/* WYSIWYG EDITOR ALIGNMENT CLASSES 
-------------------------------------------- */
/* IMAGES 
-------------------------------------------- */
/* headlines 
-------------------------------------------- */
/* CLIENTS */
/* --- Impressum / AGB --- */
/*
  Document   : _defs.scss
  Created on : 10.09.2012, 17:08:30
  Author     : hendrik
  Description:
  Purpose of the stylesheet follows.
*/
form fieldset, form .Actions {
  width: 500px;
  max-width: 100%;
  overflow: hidden;
  padding-left: 3px;
}
#Sidebar form fieldset, #Sidebar form .Actions {
  width: 290px;
}
form .field {
  clear: both;
}
form.userform label.left {
  font-weight: normal;
}
form input, form textarea {
  width: 480px;
  max-width: 100%;
  background: #fff;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -moz-box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.4);
  box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.4);
  border: 1px solid #ccc;
  font-size: 1.1em;
  margin: 1px 0 8px;
  padding: 3px 5px;
}
@media (max-width: 650px) {
  form input, form textarea {
    width: 280px;
  }
}
form input:hover, form textarea:hover {
  border-color: #b3b3b3;
}
form input:focus, form textarea:focus {
  border-color: gray;
}
#Sidebar form input, #Sidebar form textarea {
  width: 270px;
}
form input[type="submit"], form textarea[type="submit"] {
  width: 120px !important;
  margin-right: 10px;
  float: right;
  color: #666;
}
form input[type="checkbox"], form input[type="radio"], form textarea[type="checkbox"], form textarea[type="radio"] {
  width: 20px !important;
  margin-right: 10px;
  float: left;
}
form .field .optionset li {
  margin-bottom: 6px;
}
form .required {
  color: #d05050;
}

#PortfolioBlock {
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  margin-left: -6px;
}
#PortfolioBlock .portBlock {
  position: relative;
  width: 500px;
  float: left;
  margin: 6px;
  height: auto;
  background-size: cover;
  opacity: 0;
  /*    @include filter(blur(10px));
      @include transition(0.5s);*/
  -moz-transition: opacity 0.4s ease 0.4s;
  -o-transition: opacity 0.4s ease 0.4s;
  -webkit-transition: opacity 0.4s ease;
  -webkit-transition-delay: 0.4s;
  transition: opacity 0.4s ease 0.4s;
}
#PortfolioBlock .portBlock.portSizeS {
  width: 244px;
}
#PortfolioBlock .portBlock.lazy .content {
  background: rgba(255, 255, 255, 0.7);
}
#PortfolioBlock .portBlock.visible {
  opacity: 1;
  /*@include filter(blur(0));*/
  /*@include filter(sepia(0));*/
}
#PortfolioBlock .portBlock .content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -moz-transition: 200ms;
  -o-transition: 200ms;
  -webkit-transition: 200ms;
  transition: 200ms;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0.5em;
  background: transparent;
  color: transparent;
}
#PortfolioBlock .portBlock .content:hover {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.mfp-content .mfp-title, .mfp-content .mfp-counter {
  font-size: 0.8em;
  font-style: italic;
  color: #ccc;
  line-height: 1.3em;
}

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
}

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box;
}

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
  display: none;
}

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}

.mfp-ajax-cur {
  cursor: progress;
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
  cursor: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.mfp-loading.mfp-figure {
  display: none;
}

.mfp-hide {
  display: none !important;
}

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044;
}

.mfp-preloader a {
  color: #CCC;
}

.mfp-preloader a:hover {
  color: #FFF;
}

.mfp-s-ready .mfp-preloader {
  display: none;
}

.mfp-s-error .mfp-content {
  display: none;
}

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
}

.mfp-close:hover,
.mfp-close:focus {
  opacity: 1;
}

.mfp-close:active {
  top: 1px;
}

.mfp-close-btn-in .mfp-close {
  color: #333;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%;
}

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent;
}

.mfp-arrow:active {
  margin-top: -54px;
}

.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1;
}

.mfp-arrow:before,
.mfp-arrow:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: medium inset transparent;
}

.mfp-arrow:after {
  border-top-width: 13px;
  border-bottom-width: 13px;
  top: 8px;
}

.mfp-arrow:before {
  border-top-width: 21px;
  border-bottom-width: 21px;
  opacity: 0.7;
}

.mfp-arrow-left {
  left: 0;
}

.mfp-arrow-left:after {
  border-right: 17px solid #FFF;
  margin-left: 31px;
}

.mfp-arrow-left:before {
  margin-left: 25px;
  border-right: 27px solid #3F3F3F;
}

.mfp-arrow-right {
  right: 0;
}

.mfp-arrow-right:after {
  border-left: 17px solid #FFF;
  margin-left: 39px;
}

.mfp-arrow-right:before {
  border-left: 27px solid #3F3F3F;
}

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px;
}

.mfp-iframe-holder .mfp-close {
  top: -40px;
}

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #000;
}

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}

/* The shadow behind the image */
.mfp-figure {
  line-height: 0;
}

.mfp-figure:after {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #444;
}

.mfp-figure small {
  color: #BDBDBD;
  display: block;
  font-size: 12px;
  line-height: 14px;
}

.mfp-figure figure {
  margin: 0;
}

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px;
}

.mfp-image-holder .mfp-content {
  max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .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;
    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;
  }
}
@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }

  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0;
  }

  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%;
  }

  .mfp-container {
    padding-left: 6px;
    padding-right: 6px;
  }
}
