/* Custom, anything smaller than 480px (extra small devices) */
@media only screen and (max-width: 479px) {
  h1 {
    font-size: 30px;
  }

  body.full-width ul.box-item {
    width: 100%;
    height: 250px;
    padding: 0;
  }

  body.full-width ul.box-item:nth-child(2n),
  body.full-width ul.box-item li:nth-child(2) {
    padding: 0;
  }

  body.full-width ul.box-item h1 a {
    padding-top: 200px;
  }

  .contact-category .contact-item .contact-image {
    width: 100%;
  }
  .contact-category .contact-item .contact-details {
    width: 100%;
  }
  .event-image {
    display: none;
  }
  .event-info {
    width: 100%;
  }
  .jbusinessdirectory-category-container .category-image,
  .jbusinessdirectory-category-container .category-description {
    width: 100%;
  }
  .jbusinessdirectory-category-container .category-description h3 {
    margin-top: 20px;
  }
  .edave-jpagedetail div.edave-jpageleft,
  .edave-jpagedetail div.edave-jpageright {
    width: 100%;
  }
  #mm-sidebar img {
    display: none;
  }
  /* Business Directory */
  .jbusinessdirectory-adminForm .result,
  .edave-jbusinessdirectory-imagedetails,
  .business-image-container,
  .business-container {
    padding-right: 0px;
  }
  .business-image-container,
  .business-info-container,
  .edave-jbusinessdirectory-description,
  .edave-jbusinessdirectory-details {
    width: 100%;
  }

  /** BookEasy Search **/
  div.search-gadget.BE .button {
    width: 100%;
  }
  /** BookEasy Region **/
  #bookeasy-region div.region-gadget .list-item h3 {
  }
  #bookeasy-region div.region-gadget .list-item h3,
  #bookeasy-region div.region-gadget .list-item p.location,
  #bookeasy-region div.region-gadget .list-item p.rating,
  #bookeasy-region div.region-gadget .list-item .fromPrice {
    float: left;
    padding-left: 150px;
    clear: left;
    width: 100%;
    position: relative;
    top: 0;
  }

  #bookeasy-region div.region-gadget .list-item p.location {
    margin-bottom: 0;
  }

  #bookeasy-region div.region-gadget .list-item .thumb {
    width: 150px;
    position: absolute;
  }

  #bookeasy-region div.region-gadget .list-item .description {
    width: 100%;
    padding-left: 0;
    padding-top: 10px;
    clear: both;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (min-width: 280px) {
  .chronoform #form-row-first-tab-next,
  .chronoform #form-row-second-tab-back,
  .chronoform #form-row-second-tab-next,
  .chronoform #form-row-third-tab-back,
  .chronoform #form-row-submit {
    width: 48% !important;
  }
  .chronoform #form-row-second-tab-back {
    float: right;
  }
  .chronoform #form-row-submit {
    float: left;
  }
  #mm-sidebar img {
    display: none;
  }
}

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {
  header.header-fixed,
  header.header-static {
    position: fixed;
    z-index: 9999;
    width: 100%;
    margin: 0 auto;
  }
  #slider {
    /* margin-top: 242px; */
    margin-top: 0;
  }
  #aa-slider .otherimages {
    padding-left: 8px;
  }
  .jmslideshow .slideshow-content,
  .jmslideshow a.cycle-prev,
  .jmslideshow a.cycle-next {
    top: 55%;
  }

  .jmslide-item .slideshow-content h1 {
    font-size: 36px;
  }

  .header-fixed.no-slider #mainbodycontent {
    padding-top: 323px;
  }

  .main-header .logo {
    text-align: left;
    padding-left: 0;
  }
  .main-header .navbar-brand img {
    max-width: 100%;
  }
  #mainmenu {
    padding-right: 0;
  }
  #mainmenu.push-down {
    margin-top: 0;
  }
  .jmslideshow .slideshow-content {
    display: block;
  }
  .nav-tabs > li > a {
    border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    -o-border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
  }
  .text-image-caption {
    padding: 15px;
    text-align: left;
  }
  .text-content {
    padding: 15px 0;
  }
  .introtext-image-caption {
    text-align: left;
  }
  #searchForm .phrases,
  #searchForm .only {
    float: none;
    width: 100%;
  }
  .search-results {
    clear: none;
  }
  .chronoform #form-row-first-tab-next,
  .chronoform #form-row-second-tab-back,
  .chronoform #form-row-second-tab-next,
  .chronoform #form-row-third-tab-back,
  .chronoform #form-row-submit {
    width: 33% !important;
  }
  .chronoform #form-row-second-tab-back,
  .chronoform #form-row-third-tab-back {
    float: right;
  }
  .chronoform #form-row-submit {
    float: left;
  }
  .edave-jeventrow .edave-jdesc img {
    position: absolute;
    top: 0px;
    left: -8px;
    width: 135px;
    height: auto;
  }
  .edave-jeventrow .edave-jdetail {
    border-left: 1px solid #cacaca;
    min-height: 132px;
  }
  .jbusinessdirectory-adminForm {
    padding-right: 10px;
  }
  /* Main Menu css changes for 2 columns */
  #menutop nav ul.nav > li > ul.dropdown-menu {
    padding: 0 !important;
  }
  nav ul.nav > li > ul.dropdown-menu > li > a.menuitembar {
    margin: 5px 12px 5px 12px;
  }
  nav ul.nav > li > ul.dropdown-menu > li:nth-child(2n + 0) > a.menuitembar {
    margin-left: 0px;
  }
  .menu-2column > ul {
    width: 540px;
  }
  .menu-2column > ul > li {
    width: 50%;
    float: left;
  }
  .menu-2column > ul > li > a {
    overflow: hidden;
    white-space: pre-wrap !important;
  }
  .menu-2column .image-title {
    display: inline;
  }
  .menu-2column img {
    float: left;
    display: inline;
  }
  /* J-Business */
  .edave-jbusinessdirectory-description {
    min-height: 200px;
  }
  #adminForm .result {
    min-height: 200px;
  }

  #adminForm .result .edave-jbusinessdirectory-imagedetails {
    width: 200px;
    height: 200px;
    position: absolute;
  }

  #adminForm .result .edave-jbusinessdirectory-description {
    padding-left: 220px;
  }

  #one-page-container #company-facilities li {
    width: 33.333%;
  }

  .jbusinessdirectory-search-filter {
    margin-top: 0px;
  }

  .edave-jbusinessdirectory-description h3,
  .edave-jbusinessdirectory-description h3 a {
    line-height: 1;
  }

  .edave-jbusinessdirectory-description h3 a span {
    font-size: 16px;
  }

  #one-page-container .company-type-location .company-city,
  #one-page-container .company-type-location .company-phone {
    display: inline-block;
    width: auto;
  }

  #one-page-container #company-info .company-slogan,
  #one-page-container #company-info .company-keywords {
    padding-left: 30px;
    padding-top: 0;
  }
  #one-page-container #company-info .company-keywords {
    margin-top: 0;
  }
  footer .sitemap ul li {
    width: 50%;
    float: left;
  }

  /* Box item editor style */
  ul.box-item {
    width: 50%;
    padding: 0;
    padding-right: 8px;
    height: 250px;
  }

  ul.box-item:nth-child(2n) {
    padding-left: 8px;
    padding-right: 0px;
  }

  ul.box-item li:nth-child(2) {
    padding-right: 8px;
  }
}

/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {
  .main-header .navbar-brand img {
    max-height: 80px;
  }

  .header-top-singlerow .main-header .navbar-brand img {
    max-height: 80px;
    margin-top: 0px;
  }

  #mainmenubar {
    float: right;
  }

  #slider {
    /* margin-top: 250px; */
    margin-top: 0;
  }
  #content.col-md-9 {
    padding-right: 40px;
  }
  .jmslideshow .slideshow-content,
  .jmslideshow a.cycle-prev,
  .jmslideshow a.cycle-next {
    top: 45%;
  }

  .header-fixed.no-slider #mainbodycontent {
    padding-top: 323px;
  }

  .main-header .navbar-brand {
    padding-top: 30px;
    padding-bottom: 0;
  }
  #mainmenu.push-down {
    margin-top: 70px;
  }

  .header-top-singlerow #mainmenu {
    margin-top: 40px;
  }

  .push-down #mainmenubar {
    padding-left: 40px;
  }
  .edave-jeventrow,
  .edave-jdetail {
    min-height: 132px;
  }
  /*
	.item-page div.mosaic-block.mosaic-half.bar2,
	.item div.mosaic-block.mosaic-half.bar2 {
		max-width: 49%;
		margin-right: 2% !important;
	}
	.item-page div.mosaic-block.mosaic-half.bar2:nth-child(2n),
	.item div.mosaic-block.mosaic-half.bar2:nth-child(2n) {
		margin-right: 0 !important;
	} */
  .item-page div.mosaic-block.mosaic-half.bar2,
  .item div.mosaic-block.mosaic-half.bar2 {
    max-width: 48%;
    margin-left: 1% !important;
    margin-right: 1% !important;
  }
  .item-page div.mosaic-block.mosaic-full.bar2,
  .item div.mosaic-block.mosaic-full.bar2 {
    margin-left: 1% !important;
    margin-right: 1% !important;
    max-width: 98%;
  }
  /* J-Business */
  #adminForm .result {
    min-height: 200px;
  }

  .jbusinessdirectory-search-filter {
    margin-top: 0px;
    padding-bottom: 8px;
  }
  .edave-jbusinessdirectory-imagedetails .business-description {
    margin-bottom: 0px;
  }

  .edave-jbusinessdirectory-description {
    padding-bottom: 0;
  }

  .edave-jbusinessdirectory-description h3,
  .edave-jbusinessdirectory-description h3 a {
    line-height: normal;
  }

  .edave-jbusinessdirectory-description h3 a span {
    font-size: 20px;
  }

  body.full-width #articleBody ul.box-item {
    width: 33.33%;
    padding-left: 4px;
    padding-right: 4px;
    margin-bottom: 8px;
  }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {
  #mainmenu ul.nav > li,
  #mainmenu ul.nav > li > a {
    font-size: 17px;
  }

  #slider {
    margin-top: 0px;
  }
  #content.col-md-9 {
    padding-right: 60px;
  }
  .jmslideshow .slideshow-content,
  .jmslideshow a.cycle-prev,
  .jmslideshow a.cycle-next {
    top: 45%;
  }

  .header-fixed.no-slider #mainbodycontent {
    padding-top: 273px;
  }

  .col-lg-offset-1_5 {
    margin-left: 12.5%;
  }

  .col-lg-1_25 {
    width: 10.4166666%;
  }

  .col-lg-1_5 {
    width: 12.5%;
  }

  .col-lg-1_75 {
    width: 14.5833333%;
  }

  .main-header .navbar-brand {
    padding-top: 26px;
  }

  footer .sitemap ul li {
    width: 33.3%;
  }
  /* J-Business */
  #one-page-container #company-facilities li {
    width: 25%;
  }

  .edave-jbusinessdirectory-imagedetails img {
    position: absolute;
    height: 100%;
    object-fit: cover;
  }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 1600px) {
  /*
	.container {
		width: 1600px;
	}
	ul.bsc_colourpanels, div.mosaic-block.bar2,
	.mosaic-fadeslide div.mosaic-block .details-content a, 
	.mosaic-lighten div.mosaic-block .details-content a,
	.mosaic-lighten div.mosaic-block.bar2 div.mosaic-overlay {
		height: 300px !important;
	}

	.mosaic-lighten .mosaic-block-style3 a h4 {
		margin-top: 270px;
	}

	.major-heading-container {
		margin-bottom: 20px;
	}
	*/
}
