/* icon-ommx 2015 */
@font-face {
    font-family: 'icon-ommx';
    src: url('../fonts/icon-ommx.eot');
    src: url('../fonts/icon-ommx.eot?#iefix') format('embedded-opentype'),
         url('../fonts/icon-ommx.woff') format('woff'),
         url('../fonts/icon-ommx.ttf') format('truetype'),
         url('../fonts/icon-ommx.svg#fontelloregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

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

audio,
canvas,
img,
video {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   OMMX Special 
   ========================================================================== */  
::-moz-selection {
  background: #D22929;
  color: #EFEFEF;
  text-shadow: none;
}

::selection {
  background: #d22929; /*#D22929*/
  color: #efefef;
  text-shadow: none;
}

/* webkit scroller */
::-webkit-scrollbar-thumb:vertical { height:10px; border:1px solid #222; /* border-radius: 5px; */ background:#eee;}
::-webkit-scrollbar-thumb:horizontal { height:10px; border:1px solid #222; /* border-radius: 5px; */ background:#ccc;}
::-webkit-scrollbar { margin-right:5px; width:12px; height:8px; background:#000; }

/*for Firefox*/ 
a:focus, a:active {outline: none;}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html {
    height: 100%;
    font-family: 'EB GARAMOND',times, Georgia,serif;
    
    text-rendering: optimizelegibility; /* warning may be slower */
}
body {
    background-color: white;
    height: 100%;
    position: relative;
}

.swiper-container {
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
    z-index: 0;
    
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.swiper-slide img {
/*    width: 100%;
    height: 100%;*/
    border: 1px solid #AAA;
    width: 90%;
    height: 90%;
    margin: 3em auto;
}

footer {
    position: fixed;
    bottom: 0px;
    height: 40px;
    padding: 4px;
    width: 100%;
    background-color: #222;
    color: #eef;

    z-index: 1; /* MO added */
}

footer .wrapper {
    width: 55%;/* MO added */
    margin: 0 auto;
    text-align: center;
    font-family: 'cousine', courier new, monospace;
    font-size: 12px;
}
footer .wrapper > * {
    display: inline-block;
}

footer a,
footer a:hover,
footer a:visited {
    color: transparent;   
}

footer .btn {
    width: 70px;
    text-align: center;
    line-height: 30px;
    color: #EFEFEF; /* MO added */
    border: 1px solid #777; /* MO added */
}
footer .btn:hover {
    cursor: pointer;
    background-color: #333;
}
footer #next { float: right; }
footer #prev { float: left; }

.octicon {
font-size: 25px;
}
footer .selectWrap {
    width: 25%;/* MO added */
  
	text-transform: uppercase;
	letter-spacing: 1px;
}

footer select {
    height: 32px;
    width: 100%;

    border: none;
    background: transparent;
    color: #aaa;
    
    font-family: 'cousine', courier new, monospace;
    font-size: 12px;  
    letter-spacing: 0.5px;
    word-spacing: -3px;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    cursor: pointer;
    outline: none;
}
#pageIndex {
    width: 40px;
}
footer select:hover {
    color: #fff;
}
footer option {
    background-color: #222;
}
footer option:hover {
    background-color: #333;
}
/* ==========================================================================
   ICON-OMMX
   ========================================================================== */
.PRV:before {
  content: "\e827";
  font-size: 22px;
  font-family: icon-ommx;
  color: #EFEFEF;
  vertical-align: bottom;
}
.NXT:before {
  content: "\e826";
  font-size: 22px;
  font-family: icon-ommx;
  color: #EFEFEF;
  vertical-align: bottom;
}
.HME:before {
  content: "\e804";
  font-size: 18px;
  font-family: icon-ommx;
  color: #EFEFEF;
  vertical-align: bottom;
}
.FLS:before {
  content: "\e85C";
  font-size: 16px;
  font-family: icon-ommx;
  color: #EFEFEF;
  vertical-align: bottom;
}
/* ==========================================================================
   loader from http://codepen.io/alachie/pen/AslbK
   ========================================================================== */
.curve {
  position: fixed;
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 10px solid rgba(255, 255, 255, 0);
  border-right-color: rgba(255, 255, 255, 1);
  border-left-color: rgba(255, 255, 255, 1);
  border-radius: 50%;

  -webkit-animation: spin 1s linear infinite;
  -moz-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(360deg);
  }
}

/* ==========================================================================
   loader from http://codepen.io/alachie/pen/AslbK
   ========================================================================== */
.loader {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    background: #f8f8f8; /*#555*/ 
    background: rgba(25,25,25,.9); /*rgba(85,85,85,0.8)*/

    z-index: 1000;
}
/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 960px) {

    .swiper-slide img {
        width: 105%;
        height: 105%;
        margin: 0;
        border: 0;
    }  
    footer .wrapper {
        width: 100%;
    }
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}