.modalsm {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

	
.modalsm-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 1rem 1.5rem;
    width: 22rem;
	margin-left:auto;
	margin-right:auto;
	/*
	width: 22rem;
	width: 24rem;
	left: 30%;
	*/
    border-radius: 0.5rem;
}

.close-button {
    float: right;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: lightgray;
}

.close-button:hover {
    background-color: darkgray;
}

.show-modalsm {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

.grey{
	background:gainsboro;	
}

#modalsmtext{
text-align:left;
height:150px;
}

#modalsmtext p{
margin-top:8px;
margin-bottom:8px;
}

@media only screen and (max-width: 768px) {
	 
  .modalsm-content {
	  color:navy;
    width: 100%;
  }
	
}