.npad {margin: 20px 0px 0px 90px;}
.w150 {width:150px;}
.w250 {width:250px;}
.w450 {width:450px;}
.bookgift {line-height: 130%;font-size:80%;}
.center {text-align:center;margin:auto;}
.hide {display:none;}

	/* accordion*/
.w3-hide{display:none!important}
.w3-show{display:block!important}
#comments {display:block;}	
	
	
    .snackbar {
    font-family: Arial, Helvetica, sans-serif;
    top:-184px;
    max-width:400px;
    text-align: center;
    left:calc(50% - 200px);
    color:red;
    position: fixed;
    background-color: #fefefe;
    margin: auto;
    padding: 22px;
    border-radius: 2px;
    width: 40%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    transition: top 1s ease-out 0s;
    z-index:1000;
}
.snackbar h2{
      font-size: 16px!important;
}
    .snackbar.enabled{
        top:40px;
    }
.snackbar.disabled{
        top:-84px!importnat;
    }
#notice {
font-family: Arial, Helvetica, sans-serif;
  position: fixed;
  top: 0%;
  left: 0%;
  width:100%;
  height:100%;*/
  /* bring your own prefixes 
  transform: translate( -50%);*/
  color:red;
  font-size:18px;
  font-weight:bold;
  z-index:99;
  
  visibility: hidden;
  min-width: 250px;
  background-color: rgb(0,0,0);
background-color: rgba(0,0,0,0.2);
  -moz-box-shadow:    3px 3px 5px 6px #eee;
  -webkit-box-shadow: 3px 3px 5px 6px #eee;
  box-shadow:         3px 3px 5px 6px #eee;
  color: red;
  text-align: center;
  border-radius: 2px;
  padding: 0px;

}
#notice.active-not{
 display: block!important;
  top:0%;
    
}
#notice.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 4.5s;
  animation: fadein 0.5s, fadeout 0.5s 4.5s;
}        
        #notice {font-family: Arial, Helvetica, sans-serif;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    /*position: fixed;*/ /* Stay in place */
    z-index: 100; /* Sit on top */
    padding-top: 50px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0);  
    background-color: rgba(0,0,0,0.8);  
}

/* Modal Content */
.modal-content {
    position: relative;
background-color: #fff;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 35%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding-top: 15px;
    padding: 15px;
    text-align: left;
    background-color: #a23021;
    color: white;
}

.modal-body {padding: 2px 16px;padding-top:15px;text-align:center;}


.button {
  display: inline-block;
  padding: 12px 25px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #fff;
  background-color: #830c0c;
  border: none;
  border-radius: 8px;
  transition: 0.3s;
  border-bottom: 2px solid #5e0000;
}
.button:hover {background-color: #a70000;}
.button:active {
  background-color: #610909;
  transform: translateY(3px);
}

.button:focus{outline:0;}
.btnpad {margin:10px;}


/* removes button style*/
#myBtn { border:none;background:none; } 
#myBtn:hover {text-decoration:underline;cursor: pointer;}

#ajaxtxt {color:red;}
        .comment_form_active{
            display:block!important;
        }
        .submit-button {
            display: inline-block;
            padding: 12px 25px;
            font-size: 16px;
            cursor: pointer;
            text-align: center;
            text-decoration: none;
            outline: none;
            color: #fff;
            background-color: #830c0c;
            border: none;
            border-radius: 8px;
            transition: 0.3s;
            -webkit-appearance: none;
            cursor: pointer;
        }

        .submit-button:hover {
            background-color: #a23021;
        }
@media screen and (max-width:970px)
{
	.modal-content {
		width: 90%;
	}
}