/* Table of Contents
---------------------------------------------------------------
	#Footer
    #Footer widgets
    #Footer bar
    #Footer bar: Stacked
    #Footer bar: Centered
    #Plugin: Flickity

--------------------------------------------------------------- */

/* #Footer
--------------------------------------------------------------- */

.nm-footer {
   position: relative;
   right: 0;
   /* Needed for the CSS animation */
   float: left;
   clear: both;
   width: 100%;
}


/* #Footer widgets
--------------------------------------------------------------- */

.nm-footer-widgets {
   padding-top: 55px;
   padding-bottom: 15px;
   overflow: hidden;
   background: #fff;
}

.nm-footer-widgets.has-border {
   border-top: 1px solid #eee;
}

.nm-footer-block-grid {
   margin: 0 -15px;
}

.nm-footer-block-grid>li {
   margin-bottom: 0;
   padding: 0 15px 40px;
}


/* #Footer bar
--------------------------------------------------------------- */

.nm-footer-bar {
   --nm--footer-content-spacing: 18px;
   /*float: left;
	clear: both;*/
   color: #aaa;
   width: 100%;
   vertical-align: middle;
}

.nm-footer-bar-inner {
   padding-top: 30px;
   padding-bottom: 31px;
   overflow: hidden;
   background: #282828;
}

.nm-footer-bar-col-inner {
   display: flex;
   flex-wrap: wrap;
   gap: var(--nm--footer-content-spacing);
}

.nm-footer-bar-right .nm-footer-bar-col-inner {
   justify-content: flex-end;
}

.nm-footer-bar a {
   color: #aaa;
}

.nm-footer-bar a:hover {
   color: #eee;
}

/* Bar: Logo */
.nm-footer-bar-logo {
   margin-right: var(--nm--footer-content-spacing);
}

.nm-footer-bar-logo img {
   display: inline-block;
   vertical-align: middle;
   width: auto;
   max-height: 30px;
}

/* Bar: Menu */
.nm-footer-bar .menu {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 2px var(--nm--footer-content-spacing);
}

.nm-footer-bar .menu .sub-menu {
   display: none;
}

.nm-footer-bar .menu>li {
   border-bottom-color: #3a3a3a;
}

.nm-footer-bar .menu>li>a {
   display: inline-block;
   vertical-align: middle;
}

/* Bar: Text */
.nm-footer-bar-text {
   display: flex;
   flex-wrap: wrap;
   gap: var(--nm--footer-content-spacing);
}

.nm-footer-bar-right .nm-footer-bar-text {
   justify-content: flex-end;
   text-align: right;
   width: 100%;
}

.nm-footer-bar-text img {
   width: auto;
   max-height: 24px;
   vertical-align: middle;
}

/* Bar: Text: Custom text */
.nm-footer-bar-custom-text {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: var(--nm--footer-content-spacing);
}

.nm-footer-bar-right .nm-footer-bar-custom-text {
   justify-content: flex-end;
   text-align: right;
}

/* Bar: Social icons */
.nm-footer-bar-social {
   display: flex;
   flex-wrap: wrap;
   gap: var(--nm--footer-content-spacing);
}

.nm-footer-bar-social a {
   color: #eee;
}

.nm-footer-bar-social a:hover {
   color: #c6c6c6;
}

.nm-footer-bar-social i {
   font-size: 18px;
   vertical-align: middle;
}

@media all and (max-width: 991px) {
   .nm-footer-bar-right .nm-footer-bar-col-inner {
      justify-content: flex-start;
   }

   /* Bar: Text */
   .nm-footer-bar-text {
      width: 100%;
   }

   .nm-footer-bar-right .nm-footer-bar-text {
      justify-content: flex-start;
   }

   /* Bar: Right column inner */
   .nm-footer-bar-right .nm-footer-bar-col-inner {
      margin-top: var(--nm--footer-content-spacing);
   }
}

@media all and (max-width: 550px) {
   .nm-footer-bar-col-inner {
      flex-direction: column;
   }

   /* Bar: Menu */
   .nm-footer-bar .menu {
      display: block;
   }

   .nm-footer-bar .menu>li {
      display: block;
      padding: 3px 0;
      border-bottom: 1px solid #3a3a3a;
   }

   .nm-footer-bar .menu>li:last-child {
      border-bottom: 0 none;
   }
}


/* #Footer bar: Stacked
--------------------------------------------------------------- */

/* Bar: Logo */
.layout-stacked .nm-footer-bar-logo {
   margin-right: 0;
}

/* Bar: Menu */
.nm-footer-bar.layout-stacked .menu {
   gap: 2px calc(var(--nm--footer-content-spacing) + 2px);
}

/* Bar: Text */
.layout-stacked .nm-footer-bar-left .nm-footer-bar-text {
   width: 100%;
}


/* #Footer bar: Centered
--------------------------------------------------------------- */

.layout-centered .nm-footer-bar-left,
.layout-centered .nm-footer-bar-right {
   width: 100%;
}

.layout-centered .nm-footer-bar-col-inner {
   flex-direction: column;
   align-items: center;
}

.layout-centered .nm-footer-bar-right .nm-footer-bar-col-inner {
   justify-content: flex-start;
   margin-top: calc(var(--nm--footer-content-spacing) + 2px);
}

/* Bar: Logo */
.layout-centered .nm-footer-bar-logo {
   margin-right: 0;
}

/* Bar: Text */
.layout-centered .nm-footer-bar-text {
   flex-direction: column;
   align-items: center;
}

@media (max-width: 550px) {
   .layout-centered .nm-footer-bar-col-inner {
      align-items: flex-start;
   }

   /* Bar: Text */
   .layout-centered .nm-footer-bar-text {
      align-items: flex-start;
   }
}


/* #Plugin: Flickity
--------------------------------------------------------------- */

.flickity-enabled {
   position: relative;
}

.flickity-enabled:focus {
   outline: none;
}

.flickity-viewport {
   position: relative;
   overflow: hidden;
   height: 100%;
}

.flickity-slider {
   position: absolute;
   width: 100%;
   height: 100%;
}

.flickity-enabled.is-draggable {
   -webkit-tap-highlight-color: transparent;
   -webkit-user-select: none;
   -moz-user-select: none;
   -ms-user-select: none;
   user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
   cursor: move;
   cursor: -webkit-grab;
   cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
   cursor: -webkit-grabbing;
   cursor: grabbing;
}

/* Flickity: Button */
.flickity-button {
   position: absolute;
   top: 50%;
   display: block;
   color: #111;
   width: 50px;
   height: 128px;
   margin-top: -64px;
   border: none;
   background: none;
   -webkit-transition: all 0.2s ease;
   transition: all 0.2s ease;
}

.flickity-button:after {
   font-family: 'nm-font';
}

.flickity-button:hover {
   color: #dc9814;
   cursor: pointer;
}

.flickity-button:focus {
   outline: none;
}

.flickity-button:disabled {
   opacity: 0.3;
   cursor: default;
   pointer-events: none;
}

.flickity-button-icon {
   display: none;
}

/* Flickity: Previous/next buttons */
.flickity-prev-next-button.previous {
   left: -10px;
}

.flickity-prev-next-button.previous:after {
   content: "\e600";
}

.flickity-prev-next-button.next {
   right: -10px;
}

.flickity-prev-next-button.next:after {
   content: "\e601";
}

/* Flickity: Page dots */
.flickity-page-dots {
   position: absolute;
   bottom: 30px;
   left: 50%;
   line-height: 1;
   width: 100%;
   max-width: var(--nm--page-width);
   padding: 0 27px;
   -webkit-transform: translateX(-50%);
   transform: translateX(-50%);

}

.flickity-page-dots .dot {
   -webkit-box-sizing: content-box;
   box-sizing: content-box;
   position: relative;
   display: inline-block;
   width: 6px;
   height: 6px;
   margin: 0 6px;
   vertical-align: middle;
   cursor: pointer;
   -webkit-border-radius: 50%;
   border-radius: 50%;
   background-color: #aaa;
}

.flickity-page-dots .dot.is-selected {
   width: 10px;
   height: 10px;
   margin: 0 2px;
   border: 2px solid #dc9814;
   background: none;
}

@media all and (max-width: 400px) {

   /* Flickity: Page dots */
   .flickity-page-dots {
      bottom: 22px;
   }

   .flickity-page-dots .dot,
   .flickity-page-dots .dot.is-selected {
      margin: 0 7px;
   }

   .flickity-page-dots .dot.is-selected {
      width: 6px;
      height: 6px;
      border: 0 none;
      background: #dc9814;
   }
}