/*
 *  Remodal - v0.6.3
 *  Flat, responsive, lightweight, easy customizable modal window plugin with declarative state notation and hash tracking.
 *  http://vodkabears.github.io/remodal/
 *
 *  Made by Ilya Makarov
 *  Under MIT License
 */

/* ==========================================================================
   Remodal necessary styles
   ========================================================================== */

/* Hide scroll bar */

html.remodal-is-locked {
  overflow: hidden;
  background-color: #000;
}

/* Anti FOUC */

.remodal,
[data-remodal-id] {
    visibility: hidden;
}
.remodal, .remodal * {
  font-family: "Exo 2", sans-serif;
}

/* Necessary styles of the overlay */

.remodal-overlay {
    position: fixed;
    z-index: 9999;
    top: -5000px;
    right: -5000px;
    bottom: -5000px;
    left: -5000px;

    display: none;
}

/* Necessary styles of the wrapper */

.remodal-wrapper {
    position: fixed;
    z-index: 10000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    display: none;
    overflow: auto;
    text-align: left;

}
.remodal-act-wrapper .remodal-overlay,
.remodal-act-wrapper .remodal-wrapper{
    z-index: 0;
}
body.remodal-act-wrapper .remodal-bg{
  -webkit-filter: none;
  -ms-filter: none;
  filter: none;
  -moz-filter: none;
  -o-filter: none;
}

.smooth-scrolling{
    -webkit-overflow-scrolling: touch;
}

.remodal-wrapper:after {
    display: inline-block;

    height: 100%;
    margin-left: -0.05em;

    content: "";
}

/* Fix iPad, iPhone glitches */

.remodal-overlay,
.remodal-wrapper {
    -webkit-transform: translateZ(0px);
}

/* Necessary styles of the modal dialog */

.remodal {
    position: relative;

    display: inline-block;
}

/* Anti-zoom. Font-size should be >= 16px. */


/* ==========================================================================
   Remodal default theme
   ========================================================================== */

/* Default theme font */

/* Background for effects */

section.fixed-title{
  position: fixed;
  top: 0;
  width: 100%;
}

.remodal-title {
  position:relative;
  text-align: left;
  color: #fff;
  background-color: #8A8A8A;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 26px 12px 36px;
  line-height: 1.42;
  -webkit-background-size: 15px 15px;
  -moz-background-size: 15px 15px;
  background-size: 15px 15px;
  -webkit-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
}
.avery .remodal-title:before{
}
.avery .remodal-title:after{
  content: "";
  background: url("/img/room/icon-remodal-title_g.png");
  -webkit-background-size: 16px 16px;
  -moz-background-size: 16px 16px;
  background-size: 16px 16px;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #fff;
  color: #8A8A8A;
}

.remodal-title:after{
  content: "ｉ";
  display: block;
  position: absolute;
  top: 50%;
  left: 5px;
  margin-top: -0.75em;
  background-color: #FFF;
  -webkit-border-radius: 30px;
  border-radius: 100%;
  width: 22px;
  height: 22px;
  color: #8A8A8A;
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W4", 'メイリオ', "Osaka", "ＭＳ Ｐゴシック ", sans-serif;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  line-height: 1.42;
}


.remodal-article {
  overflow-x: hidden;
  overflow-y: scroll;
  padding: 0px;
  margin: 0px;
  background-color: #fff;
  border: 3px solid #8A8A8A;
  border-radius: 0 0 5px 5px;
  box-sizing: border-box;
}
.remodal-article > div{
  margin:12px 20px;
}
.modal-subtxt-container {
  padding: 15px;
  margin-bottom: 30px;
  background-color: #f7f7f7;
}


.remodal-article h2{ text-align:center; }
.user-support .remodal-article dl{}
.user-support .remodal-article dt{ font-size:14px; font-weight:bold; border-bottom:solid 1px #000; margin-bottom: 0.5em; }
.user-support .remodal-article dd{ margin-bottom:1.5em;   font-size: 12px; }

.remodal-bg {
    -webkit-transition: -webkit-filter 0.2s ease-out;
    -moz-transition: -moz-filter 0.2s ease-out;
    -o-transition: -o-filter 0.2s ease-out;
    transition: filter 0.2s ease-out;
}

body.remodal-is-active:not(.remodal-act-wrapper) .remodal-bg {
    -webkit-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: blur(3px);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
}

/* Default theme styles of the overlay */

.remodal-overlay {
    -webkit-transition: opacity 0.2s ease-out;
    -moz-transition: opacity 0.2s ease-out;
    -o-transition: opacity 0.2s ease-out;
    transition: opacity 0.2s ease-out;

    opacity: 0;
    background: rgba(33, 36, 46, 0.95);
}
.remodal-act-wrapper .remodal-overlay{
	background: rgba(0,0,0,0.7);
}


body.remodal-is-active .remodal-overlay {
    opacity: 1;
}

/* Default theme styles of the modal dialog */

.remodal {
    font-size: 13px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    min-height: 100%;
    padding: 0px;

    -webkit-transition: -webkit-transform 0.2s ease-out, opacity 0.2s ease-out, top 0.2s ease-out;
    -moz-transition: -moz-transform 0.2s ease-out, opacity 0.2s ease-out, top 0.2s ease-out;
    -o-transition: -o-transform 0.2s ease-out, opacity 0.2s ease-out, top 0.2s ease-out;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out, top 0.2s ease-out;
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
    transform: scale(0.95);

    top: 100%;
    position: absolute;
    opacity: 0;
    color: #000;
    background-color: #000;
    background-clip: padding-box;
}
.remodal.dhtml-modal{
    background-color: transparent;
	z-index:1;
}

.remodal .pjax-modal-contents-area{
    background-color: #8A8A8A;
	-webkit-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
}

body.remodal-is-active .remodal {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);

    opacity: 1;
    top: 0%;
}

/* Vertical align of the modal dialog */

.remodal,
.remodal-wrapper:after {
    vertical-align: middle;
}

/* Close button */

.remodal-close {
    position: absolute;
    top: 0px;
    right: 0px;

    width: 44px;
    height: 44px;

    -webkit-transition: background 0.2s ease-out;
    -moz-transition: background 0.2s ease-out;
    -o-transition: background 0.2s ease-out;
    transition: background 0.2s ease-out;
    text-decoration: none;

    -webkit-border-radius: 50%;
    border-radius: 50%;
}
.remodal-act-wrapper .remodal-close{
  top: 84px;
  right: 15px;
}


.remodal-close:after {
    font-size: 44px;
    font-family: "Exo 2", sans-serif;
    line-height: 44px;
    display: block;
    content: "×";
    cursor: pointer;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    text-decoration: none;

    color: #fff;
    text-align: center;
}

.remodal-close:hover,
.remodal-close:active {
    background: #3e5368;
}

.remodal-close:hover.remodal-close:after,
.remodal-close:active.remodal-close:after {
    color: #f4f4f4;
}

/* Dialog buttons */

.disable .ajx-confirm{
  background: #999 !important;
  border-color: #777 !important;
  text-shadow: -1px -1px 1px #666;
  padding: 8px 0px 6px 0;
  cursor: default;
}

.ajx-confirm,
.ajx-back,
.remodal-confirm,
.remodal-cancel {
    font-size: 10pt;
    display: block;
    width: 144px;
    margin: 0 auto 5px auto;
    padding: 2px 0;
    cursor: pointer;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    text-align: center;
    text-decoration: none;
    background-clip: padding-box;
}

.ajx-confirm{
    width: 100%;
}

.remodal-cancel {
    width: 144px;
    padding: 2px 0;
    font-size:15px;
    margin-bottom:20px;
}
.ajx-confirm,
.remodal-confirm {
}

.ajx-confirm,
.remodal-confirm:hover,
.remodal-confirm:active {
}


.ajx-back,
.remodal-cancel {
    color: #000;
    border-bottom: 2px solid #bbb;
    background: #ddd;
    text-align: center;
}

.ajx-back:hover,
.ajx-back:active,
.remodal-cancel:hover,
.remodal-cancel:active {
    color: #fff;
    background: #888;
}

/* Media queries
   ========================================================================== */

@media only screen and (min-width: 768px) {
  .remodal-act-wrapper .remodal-wrapper {
    margin-right: 280px;
  }
  .remodal-act-wrapper .remodal-wrapper .remodal{
      max-width: 100%;
  }
  .remodal {
      max-width: 600px;
  }
}

/* min-width 641px */ {
/*
@media only screen and (min-width: 40.063em) 
    .remodal {
        max-width: 700px;
    }
}*/

/* IE8
   ========================================================================== */

.lt-ie9 .remodal-overlay {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F021242E, endColorstr=#F021242E);
}

.lt-ie9 .remodal {
    width: 700px;
    min-height: 0;
    margin: 20px auto;
}

.lt-ie9 .remodal-close:after {
    margin: auto;

    text-align: center;
}

.lt-ie9 .remodal-close:hover,
.lt-ie9 .remodal-close:active {
    background: transparent;
}

.lt-ie9 .remodal-close:hover.remodal-close:after,
.lt-ie9 .remodal-close:active.remodal-close:after {
    color: #3e5368;
}
