/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* 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); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
 
    border: 1px solid #888;
    width: 52%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

video {
    width: 670px;
}

@media screen and (max-width:1280px){
           .modal {
    display: none; /* Hidden by default */
    z-index: 1; /* Sit on top */
    left:224px;
    top:30px;
    width:61%; /* Full width */
    height:560px; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

video {
    width:700px;
	margin-top:-10px;
}
/* Modal Content */
.modal-content {
    background-color: #fefefe;
	margin-top: -50px;
    border: 1px solid #888;
    width:93%;
	height:560px;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

     
    }


@media screen and (max-width:992px){
            .modal {
    display: none; /* Hidden by default */
    z-index: 1; /* Sit on top */
    left:76px;
    top:30px;
    width: 81%; /* Full width */
    height:577px; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

video {
    width:766px;
	margin-top: -20px;
}
/* Modal Content */
.modal-content {
    background-color: #fefefe;
	margin-top: -100px;
    border: 1px solid #888;
    width:100%;
	height:576px;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

     
    }
/* Medium devices (tablets, 768px and up) */
@media only screen and (max-width: 768px){
           .modal {
    display: none; /* Hidden by default */
    z-index: 1; /* Sit on top */
    left:76px;
    top:80px;
    width: 81%; /* Full width */
    height:460px; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

video {
    width:572px;
	margin-top: -20px;
}
.modal-content {
    background-color: #fefefe;
	margin-top: -50px;
    border: 1px solid #888;
    width:100%;
	height:459px;
}


.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

     
    }
	

    @media only screen and (max-width:360px){
           .modal {
    display: none; /* Hidden by default */
    z-index: 1; /* Sit on top */
    left:15px;
    top:80px;
    width: 90%; /* Full width */
    height:291px; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

video {
    width: 300px;
	margin-top:-10px;
}

.modal-content {
    background-color: #fefefe;
	margin-top: -50px;
    border: 1px solid #888;
    width:100%;
	height: 290px;
}


.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

    }
	
