/**
 * BNS Add Style - Custom Stylesheet
 *
 * This file was added after the activation of the BNS Add Style Plugin.
 *
 * If you no longer want to use these styles delete the contents of this file,
 * or simply deactivate the BNS Add Style Plugin (recommended).
 *
 * If you choose to deactivate this plugin this file will remain as is but will
 * not be used. If you reactivate this plugin the styles below will take effect.
 *
 * Add your custom styles for this theme below this comment block. Enjoy!
 */

/******************************************************************** Mobile Menu */

#mobile-menu {
    display: none;
    position: absolute;
    right: 20px;
    top: 3px;
	z-index: 9999;
}
#mobile-menu .shiftnav-toggle {
    background: none;
    color: #666;
    font-size: 25px;
    padding: 5px;
}
#shiftnav-main .shiftnav-menu-image {
    text-align: center;
    background: #666;
}
#shiftnav-main li a {
    text-transform: uppercase;
}
#shiftnav-main li li a {
    text-transform: none;
    font-size: 14px;
    padding: 8px 0px 8px 50px;
}

/******************************************************************** Responsive */

@media screen and (max-width: 1100px) {
	body .sf-menu > li > a {
    	font-size: 12px !important;
    	padding-left: 10px;
    	padding-right: 10px;
	}
	#topnav > li:first-child {
    	margin-left: 14px;
	}
}

@media screen and (max-width: 991px) {
	#motopress-main {
    	overflow-x: hidden;
	}
	#topnav {
    	display: none;
	}
	body .menu_top {
    	height: 47px;
	}
	body #mobile-menu {
		display: block;
	}
}

@media screen and (max-width: 900px) {
	body .motopress-wrapper.header {
    	margin-top: 0px !important;
	}
}


@media screen and (max-width: 480px) {
	body .top-events {
    	display: none;
	}
	body .header .logo_link {
    	margin-top: -47px;
	}
	body .logo.pull-left {
    	margin: 0px;
	}
	body #motopress-main.main-holder {
		margin-top: 0px;
	}
}

@media screen and (max-width: 375px) {
	#motopress-main .content-holder > .container {
    	margin-bottom: 0px !important;
	}
}

/******************************************************************** Other Styling */

body .homepage {
    height: auto !important;
    min-height: 0px !important;
}
.home #motopress-main .content-holder > .container {
    min-height: 0px !important;
}
.home #motopress-main {
    min-height: calc(100vh - 85px);
    background: #666666;
}

@media (max-width: 768px) {
  .homepage {
    background-size: cover;
  }
}

/* Page Background Fixing */
.page-template-page-with-bg #slider-wrapper img {
  position: relative;
  bottom: 210px;
  left: 0;
  right: 0;
}
.page-template-page-with-bg .Accesories #slider-wrapper img {
  display: none;
}
.Accesories {
  background-size: cover;
  background-position: bottom right; 
}

.motopress-wrapper.content-holder .container { 
  /* min-height: calc(100vh - 247px); */
  min-height: 100vh;
}


/* contact */ 
textarea, input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"], 
input[type="date"], 
input[type="month"], 
input[type="time"], 
input[type="week"], 
input[type="number"], 
input[type="email"], 
input[type="url"], 
input[type="search"], 
input[type="tel"], 
input[type="color"], 
.uneditable-input, 
.wpcf7-form textarea {
  background: rgba(255,255,255, 0.3);
  width: 40%; 
  min-height: 25px; 
  box-sizing: border-box; 
}

/* Gallery Page Styles */
.nivoSlider {
  padding-right: 0px; 
  min-height: 475px; 
  max-height: 475px; 
  position: relative; 
}
.slider-wrapper { 
  background: #fff; 
}
.nivo-main-image { height: auto !important; }
.nivo-main-image, .nivo-slice img { border: 15px solid #fff; }
#nivo-controls-target .nivo-controlNav a { 
  width: 33%; 
  height: 205px; 
  display: inline-block; 
  background-size: cover !important; 
  border: 5px solid #fff; 
  margin-bottom: -5px; 
}
.nivo-controlNav a.active { border: 5px solid #990000 !important;}
#content .gallery-container { padding: 0; margin: 40px auto; display: block; overflow: hidden;}
#content .gallery-container * { box-sizing: border-box; }
/* #content .gallery-container > div > div { background: #fff; } */
.gallery-text { padding: 25px 40px; font-size: 10pt; }
.gallery-text h2 { margin-top: 0; margin-bottom: 10px; font-size: 15pt; color: #996633; }
.gallery-container .gallery-height-controller { background: #fff; height: 475px; overflow-y: scroll; overflow-x: hidden; border: 15px solid #fff; border-right: none; margin-left: -15px; }
#nivo-controls-target { padding-left: 15px; }
.nivoSlider { background: none; }
.nivoSlider img { 
  max-height: 475px; 
  width: auto !important; 
  position: absolute !important; 
  top: 50% !important; 
  -webkit-transform: translateY(-50%); 
      -ms-transform: translateY(-50%); 
          transform: translateY(-50%); 
  right: 0px !important; 
}
/* #main .no-show-scroll { padding-right: 500px; margin-right: -500px; box-sizing: content-box; } */
.gallery-height-controller + div {
  background: #fff;
  max-height: 475px;
}
.theme-default .nivoSlider { background:none; font-size: 0px; line-height: 0px; }

.nivoSlider .nivo-main-image { margin: 0 auto; }
.nivo-slice { 
  max-height: 475px; 
  /* background: #fff; */
  position: static !important;
}
.nivo-slice img { 
  width: auto !important; 
  position: absolute !important; 
  margin: 0 auto !important; 
  max-height: 475px !important; 
  top:50% !important; 
  -webkit-transform: translateY(-50%); 
      -ms-transform: translateY(-50%); 
          transform: translateY(-50%); 
  right: 0px !important; 
}

@media (min-width: 768px) and (max-width: 1550px) {
  #nivo-controls-target .nivo-controlNav a { height: 195px; }
}


@media (min-width: 768px) and (max-width: 1375px) {
  /* nav ul li a { font-size: 14px; } */
  #nivo-controls-target .nivo-controlNav a { height: 165px; }
}

@media (min-width: 768px) and (max-width: 1075px) {
  /* nav ul li a { font-size: 14px; } */
  #nivo-controls-target .nivo-controlNav a { height: 125px; }
}


@media (max-width: 767px) {
  .gallery-container, .gallery-height-controller { height: auto !important; /* background: #fff; */ }
  #nivo-controls-target { display: none; }
  .entry-content .gallery-container { margin: 20px 50px; }
  .nivo-main-image, .nivo-slice img { /* padding-left: 15px; */ height: auto !important; }
  .theme-default a.nivo-prevNav { left: 30px; }
  .nivo-directionNav { display: block !important; top: 225px; }
  .theme-default .nivo-directionNav a {   border: 0;
  background-color: #fff;
  border-radius: 50%; }
  .nivoSlider { padding-right: 0px; }
  .theme-default a.nivo-nextNav { right: 30px; }

  /* Contact */
  textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input, .wpcf7-form textarea { width: 100%; }
}

@media (max-width: 420px) {
  .homepage {
    background-position: 65% top !important;
  }
}



.YolanCris {
	max-width: 60%;
	width: 100%;
}
@media all and (min-width: 1900px) {
    
    .YolanCris,
	.YolanCris a {
        max-height: 600px;
        min-height: 600px;
    }
}
@media all and and (max-width: 1899px) {
    
    .YolanCris,
	.YolanCris a {
        max-height: 600px;
        min-height: 600px;
    }
}
@media all and and (max-width: 1799px) {
    
    .YolanCris,
	.YolanCris a {
        max-height: 600px;
        min-height: 600px;
    }
    .YolanCris {
        max-width: 105%;
        width: 200%;
    }
}
@media all and (max-width: 1699px) {
    
    .YolanCris,
	.YolanCris a {
        max-height: 500px;
        min-height: 500px;
    }
    .YolanCris img {
        max-width: 105%;
        width: 200%;
    }
}
@media all and (max-width: 1599px) {
  
    .YolanCris,
	.YolanCris a {
        max-height: 500px;
        min-height: 500px;
    }
    .YolanCris img {
        max-width: 105%;
        width: 200%;
    }
}
@media all and (max-width: 1499px) {

    .YolanCris,
	.YolanCris a {
        max-height: 475px;
        min-height: 475px;
    }
}
@media all and (max-width: 1399px) {
  
    .YolanCris,
	.YolanCris a {
        max-height: 350px;
        min-height: 350px;
    }
}
@media all and (max-width: 1299px) {
  
    .YolanCris,
	.YolanCris a {
        max-height: 350px;
        min-height: 350px;
    }
}
@media all and (max-width: 1199px) {

    .YolanCris,
	.YolanCris a {
        max-height: 330px;
        min-height: 330px;
    }
}








/**/

.home_posts .home_post span {
  display: none;
}