/**
 * Baseline CSS
 * @author Maik Helsing
 * <www.agentur-vida.de>
 */
html,
body{
  background: #fff;
  -webkit-overflow-scrolling:touch;

  height: 100%;
  width: 100%;
}
  body{
    color: #0f5b82;
    font: 12px/16px Verdana,sans-serif;

    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -hyphens: auto;
  }

  body.navIsVisible,
  body.mpIsOpen{ position: relative; overflow: hidden; } 

::selection,
::-moz-selection
{
  background:#dd971f;
  color:#fff
}

@font-face {
  font-family: 'FontAwesome';
  src: url('../../files/bm2015/css/fonts/fontawesome-webfont.eot');
  src: url('../../files/bm2015/css/fonts/fontawesome-webfont-.eot#iefix') format('embedded-opentype'), url('../../files/bm2015/css/fonts/fontawesome-webfont.woff') format('woff'), url('../../files/bm2015/css/fonts/fontawesome-webfont.ttf') format('truetype'), url('../../files/bm2015/css/fonts/fontawesome-webfont.svg#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

body *{
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

h1, h2, h3,
h4, h5, h6{
  font-size: 100%;
  font-weight: normal;
  line-height: normal;
  margin: 0 0 12px 0;
  padding: 0;
}
  h1{ font-size:1.8333em; }
  h2{ font-size:14px; font-weight: bold; /*1.6667em;*/ }
  h3{ font-size:1.5em; }
  h4{ font-size:1.3333em; }

html, body, form,
pre, figure, ul, li{
  margin: 0;
  padding: 0;
}

img{ border: 0; }
ul, li{ list-style: none; }

i{
  font-family: FontAwesome;
  font-style: normal;
}

form,
input, select, textarea
{
  font-family: Verdana,sans-serif;
  font-size: 13px;
}

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

.invisible{
  display: none;
  opacity: 0;
}

a{
  color: #f3941a;/* #0f5b82; */
  text-decoration: none;
}
  a:hover,
  a:focus,
  a:active{ color: #f3941a; }

/* Structure
 ============================================ */
#BodyWrapper{
  min-height: 450px;
  padding-bottom: 30px;
  position: relative;

  -webkit-transition:margin .5s ease;
  -moz-transition:margin .5s ease;
  -ms-transition:margin .5s ease;
  -o-transition:margin .5s ease;
  transition:margin .5s ease;
}

@media only screen and (min-width:800px) {
  #BodyWrapper.centered{
    top: 30%;
    -webkit-transform: translateY(-25%);
    -moz-transform: translateY(-25%);
    -ms-transform: translateY(-25%);
    -o-transform: translateY(-25%);
    transform: translateY(-25%);
  }
}

header,
footer,
.wrapperNavTrigger{
  margin: 0 auto;
  max-width: 992px;
  padding: 0 12px;
  position: relative;
  width: auto;
}

header{
  display: table;
  padding: 12px;
  width: 100%;
}
  header #top_image{
    display: table-cell;
    vertical-align: middle;
  }
  /*header #top_image a img{ margin-left: -5px; }*/

@media only screen and (min-width:992px) {
  header{ height: 110px; }
  footer{ margin-top: 26px; }
}

.contentPage #Content{
  background: #c5cfd8;
  position: relative;
  width: 100%;
}

.bigBlueTop #Content{
  border-top: 35px solid #0f5b82;
  padding-top: 12px;
}

.bigBlueBottom #Content{
  border-bottom: 35px solid #0f5b82;
  padding-bottom: 12px;
}

.contentPage #Content .mod_navigation{ margin-bottom: 24px; }

/* Forms
 ============================================ */
input.text,
#recaptcha_response_field,
textarea{
  border: 1px solid #ccc;
  height: 25px;
  line-height: 20px;
  padding: 3px;
}
  textarea{
    height: auto;
    width: 100%;
  }

label{
  font-size: 13px;
  line-height: 20px;
}

legend{
  /*font-size: 16px;*/
  font-weight: bold;
  margin: 0;
  padding: 3px 0;
}

input[type=submit],
button:not(.mfp-close):not(.mfp-arrow),
a.button{
  background: #708e9e;
  border: 1px solid #708e9e;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  padding: 4px 12px;
  text-transform: uppercase;

  -webkit-box-shadow: 0px 2px 15px 0px rgba(117,117,117,0.55);
  -moz-box-shadow: 0px 2px 15px 0px rgba(117,117,117,0.55);
  box-shadow: 0px 2px 15px 0px rgba(117,117,117,0.55);
}
  input[type=submit]:after,
  button:not(.mfp-close):after,
  a.button:after{
    content: '\f0a9';
    font-family: FontAwesome;
    padding-left: 4px;
  }
  button.searchNow:after{ content: '\f002'; }
  button.bookmark:after{ content: '\f02e'; }
  button.adChangecat:after{ content: '\f044'; }
  button.delete:after{ content: '\f014'; }
 
button:not(.mfp-close):disabled{
  background: #ccc !important;
  color: #999 !important;
  cursor: default !important;
}

/* Default Form Settings */
fieldset{
  display: inline-block;
  max-width: 340px;
  padding-bottom:3px;
  width: 100%;
}
  fieldset.wide{ max-width: none; }

label,
input.text,
#recaptcha_response_field{
  display: block;
  width: 100%;
}
  #recaptcha_response_field,
  input.text{ margin-bottom: 12px; }

p.error{ color: #ff0000; }

.radio_container label,
.checkbox_container label{ display: inline; }
.radio_container,
.checkbox_container{ margin-bottom: 12px; }

#ctrl_berlinmusiker_subscribedCategories span{ display: block; }
#tl_lost_password{ padding: 24px 0; }

a.probutton{
  background: #e3e5e5;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  display: inline-block;
  margin: 6px 0 12px 0;
  padding: 6px 12px;
}
  a.probutton:after{
    content: '\f219';
    font-family: FontAwesome;
    padding-left: 4px;
  }

/* ContentClasses
 ============================================ */
.clearFix:after{
  clear: both;
  content: '.';
  display: block;
  height: 0;
  visibility: hidden;
}

.floatLeft{ float: left; }
.floatRight{ float: right; }

.box{
  display: inline-table;
  /*min-height: 140px;*/
}
  .box:last-child{ border-right: none; }

.mod_article.w33{
  margin-right: 1%;
  margin-top: 12px;
  /*min-width: 300px;*/
  min-width: 238px;
  width: 32%;
}

.mod_article.blue{
  background-color: #c3d1de;
  border-color: #c3d1de;
}

.mod_article.grey1{
  background-color: #e3e5e5;
  border-color: #e3e5e5;
}

.blue_border {
  height: 35px;
  margin: 20px 0 0;
  border-top: 1px solid #fff;
  background-color: #0f5b82;
}

@media only screen and (max-width:600px) {
  .w33,
  .mod_article.w33{
    margin-right: 0;
    width:100%;
  }
}

.grey1{
  background-color: #e3e5e5;
  color: #666;
  padding: 12px;
}

.errorBox,
.mainCatDesc{
  background-color: #fff;
  border: 5px solid #fff;
  border-radius: 5px;
  color: #0f5b82;
  font-size: 12px;
  left: 50%;
  max-width: 275px;
  padding: 12px;
  position: absolute;
  top: 24px;
  z-index: 99;
}

@media only screen and (max-width:768px){
  .errorBox{ margin-left: -140px; }
}

.closeErrorBox{
  background:#fff;
  display:block;
  height:20px;
  line-height: 20px;
  position:absolute;
  right:-4px;
  text-align: center;
  top:-4px;
  width:20px;
}
  .closeErrorBox:after{
  	content: '\f00d';
    font-family: FontAwesome;
    font-size: 13px;
  }

#recaptcha_image{
  margin-bottom: 12px;
  max-width: 95%;
  width: auto;
}
.recaptcha_only_if_image{
  display: block;
  margin: 12px 0;
}

/**
 * Navigation Styles
 * @author Maik Helsing
 * <www.agentur-vida.de>
 */

.berlinmusiker_startlink a{ text-transform: uppercase; }
.mod_navigation{
  font-family: "Roboto Condensed",narrow,sans-serif;
  /*font-size: 13px;*/
}

#BottomBar{
  font-size: 14px;
}

#BottomBar .description{
  color: #333;
  display: block;
  font-size: 12px;
  line-height: 12px;
  text-transform: none;
}

header .mod_navigation{
  left: 300px;
  position: absolute;
  top: 40%;
}
  header .mod_navigation li{ padding: 0 6px; }
  header .mainNavigation li{ display: inline-block; }

.mainNavigation{
  font-size: 13px;
  text-transform: uppercase;
  position:relative;
  z-index: 1;
}

.mainNavigation li a,
.mainNavigation li .active,
.mainNavigation li .trail{
  color: #0f5b82;
  display: inline-block;
  line-height: 20px;
  padding: 3px 4px;
}
  .mainNavigation li a:hover,
  .mainNavigation li .trail,
  .mainNavigation li .active{ color: #f3941a !important; }

#metaNav{ display:none; }

@media only screen and (min-width:992px){
  /* BottomBar Right */
  #BottomBar{
    background: none;
    bottom: auto;
    position: fixed;
    right:0;
    top: 50%;
    width: auto;
    z-index: 100;

    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  #BottomBar ul{
    background: #f3941a;
    margin: 0;
    margin-right: -20px;
    max-width: none;
    width: 115px;

    -webkit-box-shadow: 0 0 10px 0;
    box-shadow: 0 0 10px 0;
    border-radius: 5px 0 0 5px;

    -webkit-transition:margin-right .5s ease;
    -moz-transition:margin-right .5s ease;
    -ms-transition:margin-right .5s ease;
    -o-transition:margin-right .5s ease;
    transition:margin-right .5s ease;
  }
    #BottomBar ul:hover{ margin-right: 0; }

  #BottomBar a{ color: #fff; }
  #BottomBar .last{ border:none !important; }
    #BottomBar a:hover,
    #BottomBar .active,
    #BottomBar .trail{ color: #333; }

  #BottomBar li,
  #BottomBar li a,
  #BottomBar span.active,
  #BottomBar li.trail{ display: block; }
  
  #BottomBar li a:not(.trail),
  #BottomBar li.trail,
  #BottomBar span.active{
    border-bottom: 1px solid #fff;
    border-right: 0;
    padding: 12px 24px 12px 12px;
    text-transform: uppercase;
  }

  #BottomBar .homeLink{
    border: none !important;
    display: block;
    margin-top: 10px;
    padding: 6px 12px 0 12px !important;
  }
    #BottomBar .homeLink img{
      display: inline-block;
      margin-top: 10px;
    }
}


/* Mobile Navigation
 ============================================ */
.wrapperNavTrigger{ display: none; }

@media only screen and (max-width:991px) {
  #metaNav,
  .wrapperNavTrigger{ display: block; }
  header .mainNavigation{ display: none; }

  #MobileMenu {
    height: 30px;
    line-height: 30px;
    position: relative;
    z-index: 110;

    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  #MobileMenu .iconText {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    padding-left: 24px;
  }

  #MobileMenu .menuIcon {
    background-color: #f3941a;
    bottom: auto;
    display: inline-block;
    height: 2px;
    left: 0;
    position: absolute;
    top: 50%;
    width: 18px;

    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    transition: background-color 0.3s;

    -webkit-transform: translateX(0) translateY(-50%);
    -moz-transform: translateX(0) translateY(-50%);
    -ms-transform: translateX(0) translateY(-50%);
    -o-transform: translateX(0) translateY(-50%);
    transform: translateX(0) translateY(-50%);
  }

  #MobileMenu .menuIcon::before,
  #MobileMenu .menuIcon:after {
    background-color: #f3941a;
    content: '';
    height: 100%;
    position: absolute;
    right: 0;
    width: 100%;
    -webkit-transition: -webkit-transform .3s, top .3s, background-color 0s;
    -moz-transition: -moz-transform .3s, top .3s, background-color 0s;
    transition: transform .3s, top .3s, background-color 0s;
  }
  #MobileMenu .menuIcon::before { top: -5px; }
  #MobileMenu .menuIcon::after { top: 5px; }

  .navIsVisible #MobileMenu .menuIcon { background-color: rgba(255, 255, 255, 0); }
  .navIsVisible #MobileMenu .menuIcon::before,
  .navIsVisible #MobileMenu .menuIcon::after { background-color: #fff; }

  .navIsVisible #MobileMenu .menuIcon::before {
    top: 0;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
  }

  .navIsVisible #MobileMenu .menuIcon::after {
    top: 0;
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
  }

  /* MobileNavigation Container
   ============================================ */
  #MobileNavigation{
    background: rgba(243, 148, 26, 0.975); /*rgba(2, 23, 37, 0.90);*/
    height: 100%;
    left: 0;
    overflow: auto;
    padding: 12px 0;
    position: fixed;
    text-align: center;
    top: -100%;
    width: 100%;
    z-index: 100;
    
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    transition-duration: 0.4s;
  }
    .navIsVisible #MobileNavigation {
      -webkit-transform: translateY(0);
      -moz-transform: translateY(0);
      -ms-transform: translateY(0);
      -o-transform: translateY(0);
      transform: translateY(0);
      top: 0;
    }

  #MobileNavigation a{ color: #fff; }
  #MobileNavigation .trail,
  #MobileNavigation .active,
  #MobileNavigation a:hover{ color: #333 !important; }

  #MobileNavigation li.trail,
  #MobileNavigation li.active,
  #MobileNavigation a:not(.invisible){
    display: block;
    font-size: 18px;
    font-weight: normal;
    margin: 0 auto;
    padding: 12px;
  }
    #MobileNavigation a.homeLink{ display: none; }

  #BottomBar{
    border-top: 1px solid #fff;
    margin-top: 12px;
  }

  #BottomBar li{
    border-bottom: 1px solid #fff;
    line-height: 22px;
  }
    #BottomBar li:first-child{ display: none; }
    #BottomBar li.last{ border:none; }
}


/* Navigation ContentPages
 ============================================ */
.mobileNavTrigger{ display: none; }
.contentNav{
  background: #0f5b82;
  /*border-bottom: 2px solid #fff;*/
  width: 100%;
}
  #bottom_menu .contentNav{
    border:none;
    border-top: 2px solid #fff;
  }

.contentNav ul{
  color: #f3941a;
  margin: 0 auto;
  max-width: 992px;
  overflow: hidden;
  white-space: nowrap;
  text-transform: uppercase;
}

.contentNav li{
  display: inline-block;
  line-height:38px;
}
.contentNav a,
.contentNav span{
  border-right: 1px solid #fff;
  line-height: 13px;
  padding: 3px 12px;
}
  .contentNav a{ color: #fff; }
    .contentNav a:hover,
    .contentNav a.trail,
    .contentNav .active{ color: #f3941a; }
    .contentNav .last a,
    .contentNav .last span{ border:none; }

/* MOBILE - Navigation ContentPages
 ============================================ */
.navToLong .mobileNavTrigger{
  color: #fff;
  display: block;
  margin: 0 auto;
  line-height: 30px;
  max-width: 992px;
  overflow: hidden;
  text-align: center;
  text-transform: uppercase;
}
  .mobileNavTrigger:after{
    content: '\f107';
    font-family: FontAwesome;
    padding: 0 6px;
  }

/*.navToLong.contentNav ul{ display: none; }*/
.navToLong.contentNav{ border-bottom: 1px solid #fff; }
.navToLong.contentNav li{
  display: block;
  width: 100%;
}

.navToLong.contentNav a,
.navToLong.contentNav span{
  border-bottom: 1px solid #ccc;
  border-right: none;
  display: block;
  text-align: center;
  padding: 6px 12px;
  width: 100%;
}


/* */

/**
 * Content Styles
 * @author Maik Helsing
 * <www.agentur-vida.de>
 */

div.FacebookConnect a {
  width: 1px;
  height: 20px;
  overflow: hidden;
  display: inline-block;
  padding-left: 83px;
  background: url("../../files/bm2015/img/active_200_small.png") left top no-repeat;
}

.startBox{
  border-radius: 4px;
  padding: 25px;
}
  .startBox p{ margin-bottom:0; }
  .startBox h1{
    margin: 0 0 12px;
    padding: 0;
    font-size: 14px;
    line-height: 12px;
    font-weight: normal;
  }

.startBox:last-child{ margin-right: 0 !important; }

#ad_count{
  color: #666;
  margin: 30px 0;
}

/* Category List
 ============================================ */
ul.bm2015_supercat{ background-color: #fff; }
li.bm2015_mainCatList{
  background: #0f5b82;
  /*border-bottom: 1px solid #fff;*/
  font-size: 18px;
  margin-bottom: 1px;
  position: relative;
  
  line-height: 36px;
  text-transform: uppercase;
  font-family: "Roboto Condensed",narrow,sans-serif;
  letter-spacing: 0.2px;
}
  li.bm2015_mainCatList:hover{ z-index: 2; }
  li.bm2015_mainCatList .mainCatItem{
    color: #fff;
    max-width: 992px;
    margin: 0 auto;
    padding:0 12px;
  }
    li.bm2015_mainCatList .mainCatItem > a,
    li.bm2015_mainCatList .mainCatItem label{ color: #fff; }

    body:not(.mobile) li.bm2015_mainCatList .mainCatItem:not(.isDisabled) a:hover,
    body:not(.mobile) li.bm2015_mainCatList .mainCatItem:not(.isDisabled):hover,
    body:not(.mobile) li.bm2015_mainCatList .mainCatItem:not(.isDisabled):hover a.mainCatLink,
    li.bm2015_mainCatList .mainCatItem label:hover,
    li.bm2015_mainCatList .mainCatItem input[type=checkbox]:checked + label{ color: #f3941a; }

a.mainCatLink,
span.mainCatLink{
  display: inline-block;
  min-width: 260px;
  line-height: 37px;
  width: 25%;
}

.mainCatIcon{ display: none; }
.isTouch:not(.mobile) .mainCatIcon{
  display: inline-block;
  -moz-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  transform:rotate(-90deg);
}

ul.bm2015_subCatList,
ul.bm2015_subCatList li{
  display: inline-block;
  font-size: 13px;
  padding:0;
}

/* Category List Selectable
 ============================================ */
.bm2015_mainCatList fieldset{
  margin: 0;
  padding: 0;
}
.mainCatDesc{
  display: none;
  font-size: 13px;
  left: inherit;
  line-height: 18px;
  margin-left: 90px;
  max-width: 225px;
  padding: 6px;
  text-transform: none;
  top: 32px;

  position: absolute;
}
  .mainCatItem:hover .mainCatDesc{ display: block; }
  .isTouch .mainCatDesc{ display: none !important; }
  #MainCatItem_4 .mainCatDesc, #MainCatItem_5 .mainCatDesc, MainCatItem_6 .mainCatDesc{
    bottom: 32px;
    top: auto;
  }

#category .formbody > label,
.bm2015_mainCatList input.checkbox{ display: none; }
li.bm2015_mainCatList .mainCatItem input[type=checkbox] + label{
  padding-right: 18px;
  position: relative;
}

li.bm2015_mainCatList .mainCatItem input[type=checkbox]:checked + label:after{
  content: '\f046';
  font-family: FontAwesome;
  line-height: 22px;
  position: absolute;
  right: 0;
  top: 10px;
}

li.bm2015_mainCatList .mainCatItem .error input[type=checkbox]:checked + label,
li.bm2015_mainCatList .mainCatItem .error input[type=checkbox]:checked + label:after{ color: #ff0000; }
li.bm2015_mainCatList .mainCatItem .error input[type=checkbox]:checked + label:after{ content:'\f147'; }


#category .submit_container{
  background: #f3941a;
  width: 100%;
}


#category button.submit,
#category input.submit{
  background: #f3941a;
  border: none;
  border-top: 1px solid #fff;
  box-shadow: none;
  color: #fff;
  display: block;
  font-size: 16px;
  line-height: 26px;
  margin: 0 auto;
  margin-top: -1px;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 5;
}

.selectCategoryList .bmListHeader{
  background: #f3941a;
  text-transform: uppercase;
}

.bmListingPage p.error{ display: none; }
.bmListingPage .errorBox p.error{
  display: block;
  margin-top: 0;
  padding-top: 0;
}

#category .selectedCategoryList,
#newAd1 .selectCategoryList,
#editAd .selectCategoryList,
.selectCategoryList .errorDescription{ display: none; }

#newAd1 .selectedCategoryList,
#category .selectCategoryList{ display: block; }

ul.bm2015_subCatList li label{ padding: 12px; }

@media only screen and (min-width:769px) {
  li.bm2015_mainCatList{ height: 36px; }
  li.bm2015_mainCatList .mainCatItem a{ color: #fff; }
  ul.bm2015_subCatList li:not(.isSelected){ opacity: 0; }
    li.bm2015_mainCatList .mainCatItem:not(.isDisabled):hover ul.bm2015_subCatList li:not(.isSelected){ opacity: 1; }

  ul.bm2015_subCatList li a,
  ul.bm2015_subCatList li label{ padding: 12px; }
}

/* Category List Mobile
 ============================================ */
@media only screen and (max-width:768px) {
  li.bm2015_mainCatList .mainCatItem{
    padding:0;
    text-align: center;
    position: relative;
  }
  .selectCategoryList .bmListHeader{ text-align: center; }
  .mainCatDesc{ display: none !important; }

  li.bm2015_mainCatList .mainCatItem input[type=checkbox]:checked + label:after{ top: 3px; }

  a.mainCatLink,
  span.mainCatLink{
    display: block;
    padding: 3px 12px;
    width: 100%;
  }
    .isOpen .mainCatLink,
    .isOpen .mainCatIcon{ color: #f3941a !important; }
    .mainCatIcon {
      display: block;
      font-weight: 200;
      height: 40px;
      line-height: 40px;
      position: absolute;
      right: 0;
      text-align: center;
      top: 0;
      width: 60px;

      -webkit-transition:transform .5s ease;
      -moz-transition:transform .5s ease;
      -ms-transition:transform .5s ease;
      -o-transition:transform .5s ease;
      transition:transform .5s ease;
    }

    li.bm2015_mainCatList .mainCatItem.isOpen .mainCatIcon{
      -moz-transform: rotate(180deg);
      -webkit-transform: rotate(180deg);
      transform:rotate(180deg);
    }

  ul.bm2015_subCatList{
    background: #e3e5e5;
    display: none;
    padding: 12px 24px;
  }

  ul.bm2015_subCatList li,
  ul.bm2015_subCatList a,
  li.bm2015_mainCatList .mainCatItem label{
    color: #0f5b82;
    padding: 6px;
  }

  .mainCatDesc{ display:none; }
  .isOpen .mainCatDesc{
    background: #e3e5e5;
    color: #444;
    display: block;
    line-height: 18px;
  }

  #category button.submit,
  #category input.submit{
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    width:100%;
  }
}

/* Listings
 ============================================ */
.bmListHeader,
.bmListFooter,
.bmListItem,
.bmPagination{
  background: #0f5b82;
  border-bottom: 1px solid #fff;
  position: relative;
}
  .bmListHeader,
  .bmListFooter{ color: #fff; }

.bmListHeader .wrapper,
.bmListFooter .wrapper,
.bmListItem .wrapper,
.bmPagination .wrapper{
  display: table;
  max-width: 992px;
  margin: 0 auto;
  padding:12px;
  width: 100%;
}
  .bmPagination .wrapper{ max-width: 480px; }

.bmDesc,
.bmText{
  display: table-cell;
  margin-right: 6px;
}
  .bmText div{ display: inline-block; }

.bmListItem{ background: #c5cfd8; }
.bmListItem:nth-child(even){ background: #e3e5e5; }
.bmListItem .bmDesc{ min-height: 60px; }

.bmCity{
  margin:-10px 0 10px 34px;
}
  .bmCity a{
    background:#fff;
    color:#0f5b82;
    font-size: 11px;
    font-weight: bold;
    padding:3px 6px;
  }
    .bmCity a:hover{ text-decoration: underline; }

.bmPro .bmProMark{
  color: #f3941a;
  display: block;
  font-size: 9px;
  font-weight: bold;
  margin-left: 6px;
  position: absolute;
  top: 11px;
}

  .bmPro .bmText,
  .bmMarked .bmText{
    padding-left: 34px;
  }

span.bmMarked{
  color: #f3941a;
  display: block;
  font-family: FontAwesome;
  font-size: 14px;
  margin-left: 10px;
  position: absolute;
  top: 11px;
}
  .bmPro span.bmMarked{ top: 32px; }

@media only screen and (min-width:990px) {
  .bmPro .bmProMark{ margin-left: 0; }
  span.bmMarked{ margin-left: 3px; }
  .bmCity{ margin-left: 0; }
}

@media only screen and (min-width:1048px) {
  .bmPro .bmProMark{ margin-left: -38px; }
  .bmPro .bmText,
  .bmMarked .bmText{ padding-left: 0; }
  span.bmMarked{ margin-left: -32px; }
}

.bmProAdvice{
  display: inline-block;
  font-size: 12px;
  padding: 3px 6px;
  width:100%;
}
  .bmProAdvice *{
    display: inline;
    margin: 0;
    padding: 0;
  }

  .bmProAdvice:before{
    color: #f3941a;
    content: '\f219';
    font-family: FontAwesome;
  }

.bmCat:before{
  content: '\f105';
  font-family: FontAwesome;
  padding:0 6px;
}

.bmDesc{
  font-size: 11px;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}
  .bmListItem .bmDesc.bmStart{ text-transform: none; }

.bmText,
.bmDesc{ float: left; }

.bmText{ width: 370px; }
  .bmListItem .bmText{ white-space: pre-wrap; }

.bmStart,
.bmSample,
.bmLink{ width: 60px; }

.bmResponse{ width: 65px; }
.bmImage{ width: 40px; }
.bmMore{
  padding-left: 12px;
  position: relative;
  text-align: left;
}
  .bmDesktopMore{ display: none; }

/* ListIcons */
.bmListIcon a{
  color: #0f5b82;
  display: inline-block;
  font-size: 0;
  position: relative;
  width: 25px;
}

.bmListIcon a:after{
  font-family: FontAwesome;
  font-size: 15px;
  left: 0;
  position: absolute;
  top: -3px;
  width: 25px;
}

.bmImage a:after{ content: '\f03e'; }
.bmSample a:after{ content: '\f0a1'; }
.bmLink a:after{ content: '\f08e'; } /* f0c1 */
.bmResponse a:after{ content: '\f003'; } /* f0e0 */

.bmListItem .bmMore{
  height: 100px;
  margin: 0;
}

.bmMoreLink,
.bmListItem .bmMore .slideToggle{ display: none; }

.bmMoreList{
  left:0;
  max-height: 100%;
  overflow: hidden;
  top:0;

  -webkit-transition:max-height 300ms;
  -moz-transition:max-height 300ms;
  -ms-transition:max-height 300ms;
  -o-transition:max-height 300ms;
  transition:max-height 300ms;
}
  .bmListItem .showMoreList .bmMoreList{
    max-height: 100%;
  }
  .bmMoreList a:before{
    content: '\f105';
    font-family: FontAwesome;
  }
  .mobile .bmMoreList a{
    display: block;
    line-height: 22px;
  }

/* AD-List EditPro
 ============================================ */
.bmOperations{ padding: 12px; }
.bmOperations button,
.bmOperations .button{
  display: inline-block;
  margin-right: 12px;
}

.bmStatus{
  font-size: 11px;
  line-height: 20px;
  margin-bottom: 6px;
  width:100%;
}

.bmAdOnline,
.bmAdPublished{
  color: #fff;
  font-size: 11px;
  line-height: 20px;
  padding: 2px 4px;
}
  .bmAdOnline{ background: #f3941a; }
  .bmAdPublished{ background: #0f5b82; }

.bmCheckBox{
  float: left;
  width:30px;
}

label.adCategory{ display: none; }

.bmEditPro .bmText{ white-space: normal; }
.bmEditPro .bmText strong{ line-height: 22px; }
.bmProActions{ text-align: left; }
.mainCatItem.isDisabled{ opacity: 0.6; }
.mainCatItem.isDisabled:after{
  content: '\f046';
  font-family: FontAwesome;
  font-size: 18px;
  position: absolute;
  right: 24px;
  top: 16px;
}

fieldset.mainCatListing{ max-width: none; }
.mainCatListing legend{ padding-bottom: 12px; }
.mainCatListing span{
  display: inline-block;
  margin-right: 6px;
  line-height: 22px;
}

#createProAd .col1.floatLeft{ margin-right: 24px; }
  
.bmPagination{ background: #fff; }
  .bmListFooter .bmPagination{
    background:#0f5b82;
    min-height: 37px;
  }
  .bmPagination{ text-align: center; }
.bmPagination li,
.bmPagination li > div{ display: inline; }
.bmPagination a,
.bmPagination span{
  background: #fff;
  border: 1px solid #ddd;
  margin-left: -1px;
  padding: 4px 8px;
}
  .bmPagination a:hover{
    background: #e3e5e5;
    color: #0f5b82;
  }
  .bmPagination .current a{ opacity: 0.6; }
  .bmPagination span {
    padding: 4px 7px;
    overflow: hidden;
  }


/* AD-List Mobile
 ============================================ */
@media only screen and (max-width:991px) {
  .bmListItem .wrapper{ padding:12px 0 0 0; }

  .berlinmusiker_morelink,
  .bmListItem .bmStart{ line-height: 30px; }
    .bmMoreLink{ display: inline-block; }

  .bmProAdvice,
  .bmListHeader .bmDesc{ display: none; }

  .bmText{
    display: block;
    padding: 0 12px 0 34px;
    width: 100%;
  }

  .bmMobileContainer{
    display: table;
    margin-top: 12px;
    width: 100%;
  }
    .bmListItem .bmText{
      padding-bottom: 12px;
    }

  .bmListItem .bmDesc{
    height: auto;
    margin-right: 0;
    max-width: 60px;
    min-height: 10px;
    width: 16%;
  }
    .bmListItem .bmStart{
      margin-left: 34px;
      text-align: left;
      max-width: 30px;
    }

  .bmListIcon a:after{ top: 3px; }

  .bmListItem .bmMore{
    background: #7f9aa8;
    clear: both;
    color: #fff;
    display: none;
    max-width: none;
    overflow: hidden;
    width: 100%;
  }
    .bmListItem .bmMore .slideToggle{
      bottom: 12px;
      cursor: pointer;
      display: block;
      font-family: FontAwesome;
      font-size: 38px;
      height: 30px;
      line-height: 30px;
      position: absolute;
      text-align: center;
      right: 12px;
      width: 30px;
    }
    .bmListItem .bmMore a{ color: #fff; }
    .bmListItem .bmMore ul{ padding: 12px 0; }
    .bmListItem .bmMore li{ line-height: 20px; }

  .listInContent{ margin: 0 -12px; }
  .bmOperations .bmCheckBox{ display: none; }
  .bmOperations button{
    margin-bottom: 6px;
    width: 100%;
  }
  .bmListItem.bmEditPro .wrapper{ padding: 12px 12px 0 12px; }
  .bmEditPro .bmCheckBox{ width: 10%; }
  .bmEditPro .bmText,
  .bmEditListItem .bmText{
    margin-right: 0;
    padding-left: 0;
    width:90%;
  }
    bmEditListItem .bmText{ width: 100%; }

  .bmListItem .bmDesc.bmProActions{
    border-top: 1px solid #fff;
    padding: 6px 0;
    width: 100%;
  }
    .bmProActions a{
      display: block;
      line-height: 22px;
    }
}

@media only screen and (min-width:992px){
  .selectCategoryList{
    overflow: hidden;
    position: relative;
  }

/*  .selectCategoryList ul.bm2015_subCatList{
    position: relative;
    z-index: 2;
  }*/

  .selectCategoryList .bmListHeader{
    border: none;
    font-size: 14px;
    margin-right: 30%;
    position: absolute;
    right: 0;
    text-align: center;
    top: 97px;
    width: 495px;
    z-index: 1;

    -webkit-transform: rotate(-40deg);
    -moz-transform: rotate(-40deg);
    -ms-transform: rotate(-40deg);
    -o-transform: rotate(-40deg);
    transform: rotate(-40deg);
  }

  #createProAd .selectCategoryList .bmListHeader{ margin-right: -115px; }

  #category{ position: relative; }
  #category button.submit,
  #category input.submit{
    border: none;
    border-radius: 7px;
    bottom: 30px;
    position: absolute;
    right: 30%;
    width: 115px;

    -webkit-box-shadow: 0 0 5px 0;
    box-shadow: 0 0 5px 0;
  }

  .bmDesktopMore{ display: block; }
    .bmDesktopMore a{ color: #0f5b82;}
      .bmDesktopMore a:hover{ color: #f3941a; }

  .bmListItem .bmMore{
    height: auto;
    max-width: 270px;
  }

  .bmMoreList{
    max-height: 15px;
    height: auto;
  }
    .bmMoreList.bmShowMore{ max-height: 125px; }

  .bmMore .replyed:before{
    content: '\f105';
    font-family: FontAwesome;
    padding-right: 4px;
  }
}


/* Add Ad-Workflow
 ============================================ */
#ad fieldset{ float: left; }
#ad fieldset.col1{ margin:0 48px 24px 0; }

.selectedCategoryList{
  margin: 6px 0 12px 0;
  width:100%;
}
  .selectedCategoryList li{
    list-style: initial;
    margin-left: 16px;
  }

.berlinmusiker_form_file_upload_session{ padding-bottom: 12px; }
.ios .adMp3,
.android .adMp3{ display: none; }

/* SomeContent
 ============================================ */
.contentPage:not(.contentFull) .mod_article{
  margin: 0 auto;
  max-width: 992px;
  overflow: hidden;
  padding: 0 12px;
}

.contentFull .blue_border{ margin-top: 0; }

#TwoColumns div.col1,
#TwoColumns div.col2{
  float: left;
  width: 50%;
}
  #TwoColumns div.col1{ padding-right: 24px; }

@media only screen and (max-width:480px) {
  #TwoColumns div.col1,
  #TwoColumns div.col2{
    padding-right: 0;
    width: 100%;
  }
}

.mod_closeAccount,
.mod_FacebookConnect{ padding-top: 12px; }

.bmPlayer{
  background: #0f5b82;
  bottom: -60px;
  padding: 6px 0;
  position: fixed;
  width:100%;

  -webkit-transition:bottom .35s ease;
  -moz-transition:bottom .35s ease;
  -ms-transition:bottom .35s ease;
  -o-transition:bottom .35s ease;
  transition:bottom .35s ease;
}
.audiojs{
  background: #0f5b82;
  margin: 0 auto;
  width: 320px !important;

  box-shadow: none;
  -webkit-box-shadow:none;
  -moz-box-shadow: none;
}
  .audiojs .play-pause{ border:none; }
  .audiojs .scrubber{ width:275px !important; }
  .bmPlayer.isPlaying{ bottom: 0; }

.bmPlayer.play .audiojs .play-pause p.play{ display:none !important; }
.bmPlayer.play .audiojs .play-pause p.pause{ display:block !important; }


/* Hint
 ============================================ */
#hint{
  background-color: #c5cfd8;
  border-radius: 5px;
  left: 50%;
  max-width: 100%;
  min-width: 320px;
  padding: 20px;
  position: absolute;
  top: -1000px;
  width: auto;
  z-index: 1000;

  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);

  -webkit-transition:top .35s ease;
  -moz-transition:top .35s ease;
  -ms-transition:top .35s ease;
  -o-transition:top .35s ease;
  transition:top .35s ease;

  -webkit-box-shadow: 0 0 10px 0;
  -moz-box-shadow: 0 0 10px 0;
  -ms-box-shadow: 0 0 10px 0;
  -o-box-shadow: 0 0 10px 0;
  box-shadow: 0 0 10px 0;
}
  #hint.show{ top: 50%; }
  #hint img{
    height: auto !important;
    max-width: 100% !important;
    width: auto !important;
  }

#hint_close{
  cursor: pointer;
  display: inline-block;
  float: right;
  margin-bottom: 12px;
}
  #hint_close:after{
    content: '\f057';
    font-family: FontAwesome;
    font-size: 16px;
    margin-left: 6px;
  }

.mfp-iframe-holder .mfp-close{
  right: 0 !important;
  top: 0 !important;
}

.mfp-iframe-holder .mfp-arrow-right,
.mfp-iframe-holder .mfp-arrow-left{ display:none; }


.radio_container span{
  display: inline-block;
  line-height: 22px;
}

.locationInput{
  float: left;
  width: auto;
}
.locationInput.postal{
  max-width: 60px;
  width: 25%;
}
.locationInput.city{
  float: right;
  max-width: 280px;
  width:75%;
}

fieldset.wide .adWebsite{ float: left; width: 100%; }
fieldset.wide .locationInput.postal{ max-width: 120px; }
fieldset.wide .locationInput.city{ max-width: 100%; }


/* Donations
 ============================================ */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button,
input[type=date]::-webkit-inner-spin-button,
input[type=date]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
input[type=number],
input[type=date] {
  -moz-appearance: textfield;
}

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

#donations {
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 199;
}

#DonationOverlay {
  background: #c5cfd8;
  height: auto;
  max-height: 45px;
  padding: 5px 0;
  text-align: center;
  width: 100%;
  transition: min-width .4s ease .5s, max-height .5s ease .0s;
}
  #DonationOverlay:hover {
    max-height: 1000px;
    transition: min-width .4s ease .0s, max-height .5s ease .5s;
  }
  
.donationWrapper {
  background: #c5cfd8;
  position: relative;
}

.donationWrapper .wrapper {
  margin: 0 auto;
  max-width: 800px;
  padding: 20px 60px;
  text-align: center;
}

@media screen and (min-width: 991px) {
  #donations {
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    width: auto;
  }

  #DonationOverlay {
    min-width: 550px;
    border-radius: 4px;
    width: auto;
  }

  #DonationOverlay:hover {
    min-width: 800px;
    max-width: 100%;
  }

  #DonationOverlay .wrapper {
    padding: 0 60px;
  }
}

.donationHeadline h2 {
  background: url('../../files/bm2015/img/BM_LOGO_WHITE.png') left center no-repeat;
  background-size: contain;
  color: #fff;
  display: inline-block;
  font-family: "Roboto Condensed",narrow,sans-serif;
  font-weight: normal;
  margin-bottom: 20px;
  padding: 0 0 0 45px;
  text-align: center;
}
  .donationHeadline small {
    display: block;
  }

@media screen and (min-width: 768px) {
  #DonationOverlay {
    max-height: 55px;
  }
  .donationHeadline h2 {
    font-size: 18px;
    letter-spacing: 0;
    padding-right: 45px;
  }
}

.donationBody {
  display: inline-block;
  max-width: 600px;
  padding: 0 20px;
  transition: opacity .5s ease 0s;
}
  #DonationOverlay .donationBody {
    opacity: 0;
  }
  #DonationOverlay:hover .donationBody {
    opacity: 1;
    transition: opacity .5s ease .6s;
  }

.doantionAmount {
  display: flex;
}
.donationSubmit {
  margin: 10px 0;
}

.doantionAmount input[type=radio] {
  background: transparent;
  left: 4px;
  margin: 0;
  opacity: 0;
  padding: 0;
  position: absolute;
  top: 6px;
  z-index: 0;
}

.doantionAmount input[type=radio] + label,
.donationSubmit button[type=submit] {
  background: #fff;
  border: 1px solid #0f5b82;
  border-radius: 4px;
  box-shadow: none;
  color: #0f5b82;
  cursor: pointer;
  margin: 5px;
  padding: 5px 0;
  text-align: center;
  transition: all .3s ease;
}
  .doantionAmount input[type=radio] + label {
    max-width: 16%;
  }
  .doantionAmount input[type=radio]:checked + label {
    background: none;
  }

.doantionAmount .selfInput {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 16.5%;
  position: relative;
}

.doantionAmount input[type=number] {
  background: none;
  border: none;
  display: inline;
  color: #0f5b82;
  margin: 0 0 3px 0;
  padding: 0;
  text-align: center;
}
  .doantionAmount input[type=number]:focus {
    border: none;
    border-bottom: 1px solid #0f5b82;
    outline: none;
  }

@media screen and (min-width: 768px) {
  .doantionAmount .selfInput {
    flex-direction: row;
  }

  .doantionAmount input[type=number] {
    max-width: 25%;
    margin: 0 3px 0 0;
    text-align: right;
  }
}

.selfInput .placeholder {
  background: #fff;
  opacity: 1;
  position: absolute;
  transition: opacity .2s ease;
}
.doantionAmount input[type=radio]:checked + .selfInput .placeholder {
  opacity: 0;
  pointer-events: none;
}

.donationSubmit button[type=submit] {
  min-width: 75px;
  padding: 5px 10px;
  text-transform: none;
}
  .donationSubmit button[type=submit]:after {
    display: none;
  }

#DonationOverlay img {
  height: 24px;
  margin: 0;
  padding: 0;
  width: 24px;
}
#DonationOverlay .donationArrow {
  bottom: -10px;
  left: 0;
  position: absolute;
  width: 100%;
  transition: all .2s ease .6s;
}

#DonationOverlay:hover .donationArrow {
  bottom: -6px;
  transform: rotate(180deg);
  transition: all .2s ease;
}

.donationDataForm {
  display: inline-block;
  text-align: left;
}

.donationDataForm label {
  margin: 12px 0 6px;
}

#StoreCustomer {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}
/* */
/*
#DonationOverlay {
  max-height: 1000px;
  max-width: 100%;
  min-width: 800px;
}

.donationBody {
  opacity: 1;
}
*/
/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
  z-index: 1042;
  overflow: hidden;
  position: fixed !important;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80); }

.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;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  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: #cccccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #cccccc; }
    .mfp-preloader a:hover {
      color: white; }

.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;
  -webkit-box-shadow: none;
  box-shadow: none; }
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;
  filter: alpha(opacity=65);
  padding: 0 0 18px 10px;
  color: white;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover, .mfp-close:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-close:active {
    top: 1px; }

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

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

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

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  filter: alpha(opacity=65);
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover, .mfp-arrow:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
    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, .mfp-arrow .mfp-a {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before, .mfp-arrow .mfp-b {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
    border-right: 17px solid white;
    margin-left: 31px; }
  .mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
    margin-left: 25px;
    border-right: 27px solid #3f3f3f; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
    border-left: 17px solid white;
    margin-left: 39px; }
  .mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
    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 {
  background: #c5cfd8;
  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: black; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  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: #444444; }
  .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;
    -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; } }

@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; } }

.mfp-ie7 .mfp-img {
  padding: 0; }
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px; }
.mfp-ie7 .mfp-container {
  padding: 0; }
.mfp-ie7 .mfp-content {
  padding-top: 44px; }
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0; }

