/* Popup Box */

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #000000;
    margin: 17vh auto; /* 15% from the top and centered */
    padding: 0px;
    border: 6px solid #fff;
    width: 850px; /* Could be more or less, depending on screen size */
    height:70%;
}
@media (min-width: 1366px) {
  .modal-content {
    background-color: #000000;
    margin: 17vh auto; /* 15% from the top and centered */
    padding: 0px;
    border: 1px solid #969696;
    width: 850px; /* Could be more or less, depending on screen size */
	height:60%;}
}

 .fancyclose, .fancyprev, .fancynext {background-image: url(fancybox_sprite.png);}

.fancyclose {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 8040;
}


.modal-footer {
    padding: 2px 16px;
    background-color: #313131;
    color: white;
    height:10%;
}

/* The Close Button */
.close {
    color: #aaa;
    float: left;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

button.button {
 	background:none;
  border-top:none;
  border-right:none;
  border-left:none;
  border-bottom:#02274a 1px solid;
  padding:0 0 3px 0;
  font-size:16px;
}

.modal-header {
    padding: 2px 16px;
    background-color: #313131;
    color: #a91414;


button.button:hover {
  border-bottom:#a99567 1px solid;
  color:#a99567;
}