/*
 *  Remodal - v1.1.1
 *  Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
 *  http://vodkabears.github.io/remodal/
 *
 *  Made by Ilya Makarov
 *  Under MIT License
 */

/* ==========================================================================
   Remodal's necessary styles
   ========================================================================== */

/* Hide scroll bar */

html.remodal-is-locked {
  overflow: hidden;

  -ms-touch-action: none;
  touch-action: none;
}

/* Anti FOUC */

.remodal,
[data-remodal-id] {
  display: none;
}

/* 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: center;

  -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-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Necessary styles of the modal dialog */

.remodal {
  position: relative;

  outline: none;

  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.remodal-is-initialized {
  /* Disable Anti-FOUC */
  display: inline-block;
}



/* ==========================================================================
   Remodal's default mobile first theme
   ========================================================================== */

/* Default theme styles for the background */

.remodal-bg.remodal-is-opening,
.remodal-bg.remodal-is-opened {
  -webkit-filter: blur(3px);
  filter: blur(3px);
}

/* Default theme styles of the overlay */

.remodal-overlay {
  background: rgba(43, 46, 56, 0.9);
}

.remodal-overlay.remodal-is-opening,
.remodal-overlay.remodal-is-closing {
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.remodal-overlay.remodal-is-opening {
  -webkit-animation-name: remodal-overlay-opening-keyframes;
  animation-name: remodal-overlay-opening-keyframes;
}

.remodal-overlay.remodal-is-closing {
  -webkit-animation-name: remodal-overlay-closing-keyframes;
  animation-name: remodal-overlay-closing-keyframes;
}

/* Default theme styles of the wrapper */

.remodal-wrapper {
  padding: 10px 10px 0;
}

/* Default theme styles of the modal dialog */

.remodal {
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 10px;
  padding: 20px;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  border: 5px #ffffff  solid;
  color: #2b2e38;
  background: #fff;
  border-radius: 0.5em;
}
.remodal2 {
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 10px;
  padding: 0px;

  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  color: #000000;
  background: #fff;
	border-radius: 5px;
}

.remodal.remodal-is-opening,
.remodal.remodal-is-closing,
.remodal2.remodal-is-opening,
.remodal2.remodal-is-closing  {
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.remodal.remodal-is-opening,
.remodal2.remodal-is-opening {
  -webkit-animation-name: remodal-opening-keyframes;
  animation-name: remodal-opening-keyframes;
}

.remodal.remodal-is-closing,
.remodal2.remodal-is-closing {
  -webkit-animation-name: remodal-closing-keyframes;
  animation-name: remodal-closing-keyframes;
}

/* Vertical align of the modal dialog */

.remodal,
.remodal-wrapper:after,
.remodal2,
.remodal2-wrapper:after {
  vertical-align: middle;
}

/* Close button */

.remodal-close {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  overflow: visible;
  width: 35px;
  height: 35px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
  text-decoration: none;
  color: #95979c;
  border: 0;
  outline: 0;
  /* background: transparent; */
  background: url(/images/2014/controls.png) no-repeat -25px 0;
  width: 25px;
  height: 25px;
  text-indent: -9999px;
}

.remodal-close:hover,
.remodal-close:focus {
  color: #2b2e38;
}

.remodal-close:before {
  /* font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif !important; */
  /* font-size: 50px; */
  /* line-height: 35px; */
  /* position: absolute; */
  /* top: 0; */
  /* left: 0; */
  /* display: block; */
  /* width: 35px; */
  /* content: "\00d7"; */
  text-align: center;
}

#modal1Title {
	clear: both;
	vertical-align: top;
	border-top: 1px #BABABA solid;
	border-bottom: 1px #BABABA solid;
	border-left: 1px #BABABA solid;
	margin: 5% 3% 0 3%;
	padding: 0;
	width: 94%;}
#modal1Title th {
	border-right: 1px #BABABA solid;
	border-bottom: 1px #BABABA solid;
	background-color: #FDEADA;
	padding: 3% 2%;
	margin: 0px;
	text-align: center;
	vertical-align: middle;
	font-weight: normal;
	font-size: 108%;}
#modal1Title td {
	border-right: 1px #BABABA solid;
	border-bottom: 1px #BABABA solid;
	padding: 3% 2%;
	text-align: center;
	color: #FF0000;
	font-size: 108%;}

#modal1Desc {
	padding: 1em 0;
}

#modal1Title2 {
    clear: both;
    vertical-align: top;
    background-color: #FFAE00;
    margin: 0;
    line-height: 2.5em;
    text-align: center;
    font-size: 108%;
    font-weight: bold;
    padding: 0;
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

/* Dialog buttons */

.remodal-confirm,
.remodal-cancel {
  font: inherit;
  display: inline-block;
  overflow: visible;
  min-width: 46%;
  margin: 0;
  padding: 12px 0px;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  border: 0;
  outline: 0;
  border-radius: 15px;
  margin: 0px 5px;
}

.remodal-confirm {
  color: #4d4d4d;
  border-radius: 25px;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #8A6603), color-stop(0.65, #C59613), color-stop(0.35, #FFC72E), color-stop(0.00, #FFCD45 ));
  background: -webkit-linear-gradient(top, #FFCD45  0%, #FFC72E 35%, #C59613 65%, #8A6603 100%);
  background: -moz-linear-gradient(top, #FFCD45  0%, #FFC72E 35%, #C59613 65%, #8A6603 100%);
  background: -o-linear-gradient(top, #FFCD45  0%, #FFC72E 35%, #C59613 65%, #8A6603 100%);
  background: -ms-linear-gradient(top, #FFCD45  0%, #FFC72E 35%, #C59613 65%, #8A6603 100%);
  background: linear-gradient(to bottom, #FFCD45  0%, #FFC72E 35%, #C59613 65%, #8A6603 100%);
  background: #ffcd44;
}

.remodal-confirm:hover,
.remodal-confirm:focus {/* background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #8A6603), color-stop(0.65, #C59613), color-stop(0.35, #FFC72E), color-stop(0.00, #FFCD45 )); *//* background: -webkit-linear-gradient(top, #FFCD45  0%, #FFC72E 35%, #C59613 65%, #8A6603 100%); */background: -moz-linear-gradient(top, #FFCD45  0%, #FFC72E 35%, #C59613 65%, #8A6603 100%);background: -o-linear-gradient(top, #FFCD45  0%, #FFC72E 35%, #C59613 65%, #8A6603 100%);background: -ms-linear-gradient(top, #FFCD45  0%, #FFC72E 35%, #C59613 65%, #8A6603 100%);/* background: linear-gradient(to bottom, #FFCD45  0%, #FFC72E 35%, #C59613 65%, #8A6603 100%); */background: #ffcd44;}

.remodal-cancel {
	border-radius: 25px;
	color: #fff;
	background: #969696;
}

.remodal-cancel:hover,
.remodal-cancel:focus {
  background: #969696;
}

.remodal-yellow {
  font: inherit;

  display: inline-block;
  overflow: visible;

  min-width: 80%;
  margin: 0;
  padding: 12px 0;

  cursor: pointer;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;

  border: 0;
  outline: 0;
}
.remodal-yellow {
	border-radius: 5px;
  color: #fff;
  background: #FFAE00;
}

.remodal-yellow:hover,
.remodal-yellow:focus {
  background: #FFAE00;
}

/* Remove inner padding and border in Firefox 4+ for the button tag. */

.remodal-confirm::-moz-focus-inner,
.remodal-cancel::-moz-focus-inner,
.remodal-close::-moz-focus-inner,
.remodal-yellow::-moz-focus-inner {
  padding: 0;

  border: 0;
}

/* Keyframes
   ========================================================================== */

@-webkit-keyframes remodal-opening-keyframes {
  from {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);

    opacity: 0;
  }
  to {
    -webkit-transform: none;
    transform: none;

    opacity: 1;

    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

@keyframes remodal-opening-keyframes {
  from {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);

    opacity: 0;
  }
  to {
    -webkit-transform: none;
    transform: none;

    opacity: 1;

    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

@-webkit-keyframes remodal-closing-keyframes {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);

    opacity: 1;
  }
  to {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);

    opacity: 0;

    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

@keyframes remodal-closing-keyframes {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);

    opacity: 1;
  }
  to {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);

    opacity: 0;

    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

@-webkit-keyframes remodal-overlay-opening-keyframes {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes remodal-overlay-opening-keyframes {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes remodal-overlay-closing-keyframes {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes remodal-overlay-closing-keyframes {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Media queries
   ========================================================================== */

@media only screen and (min-width: 641px) {
  .remodal {
    max-width: 700px;
  }
}

/* IE8
   ========================================================================== */

.lt-ie9 .remodal-overlay {
  background: #2b2e38;
}

.lt-ie9 .remodal {
  width: 700px;
}

#modal2Title {
    clear: both;
    vertical-align: top;
    background-color: #FF9C00;
    margin: 0;
    line-height: 2.5em;
    text-align: center;
    font-size: 100%;
    font-weight: bold;
    padding: 0;
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.modal2_inner {
    width: 94%;
    margin: 3%;
}

#modal2Desc {
	padding: 0.5em 0;
}

/* Dialog buttons */

.remodal-confirm2,
.remodal-cancel2 {
  font: inherit;

  display: inline-block;
  overflow: visible;

  min-width: 80%;
  margin: 0;
  padding: 12px 0;

  cursor: pointer;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;

  border: 0;
  outline: 0;
}

.remodal-confirm2{
  color: #fff;
border-radius: 5px;
	  background: #FFAE00;
}

.remodal-confirm2:hover,
.remodal-confirm2:focus {
	  background: #FFAE00;
}

.remodal-cancel2 {
	border-radius: 5px;
  color: #fff;
  background: #969696;
}

.remodal-cancel2:hover,
.remodal-cancel2:focus {
  background: #969696;
}

/* Remove inner padding and border in Firefox 4+ for the button tag. */
.remodal-close2 {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    overflow: visible;
    width: 35px;
    height: 35px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
    text-decoration: none;
    color: #fff;
    border: 0;
    outline: 0;
    background: transparent;
}
.remodal-close2:before {
    font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif !important;
    font-size: 50px;
    line-height: 35px;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 35px;
    content: "\00d7";
    text-align: center;
}
.remodal-confirm2::-moz-focus-inner,
.remodal-cancel2::-moz-focus-inner,
.remodal-close2::-moz-focus-inner {
  padding: 0;

  border: 0;
}

.remodal2 {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 10px;
    padding: 0px;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    color: #000000;
    background: #fff;
    border-radius: 5px;
    max-width: 500px;
    border:none;
    padding-bottom: 10px;
}

