
/** modal windows **/
.reveal-modal {
    margin-left: -45%;
    width: 90%;
    border: none;
    top: 10px;
    z-index: 1010
}
.reveal-modal .close-reveal-modal {
    font-size: 24px;
    line-height: 1;
    top: 2px;
    right: 2px;
    border: 2px solid #6c6c6c;
    padding: 5px 10px;
    background: #fff;
    color: #6c6c6c;
    z-index: 1011
}
@media only screen and (max-width:640px) {
    .reveal-modal {
        margin-left: 0;
        width: 100%;
        top: 0
    }
}
.custom-modal {
    display: none;
    position: fixed;
    z-index: 1010;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000;
    background-color: rgba(0, 0, 0, .75)
}
.custom-modal-show {
    display: block
}
.custom-modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    border: 1px solid #888;
    width: 90%;
    max-width: 340px;
}
.custom-modal-content.small {
    width: 50%;
    max-width: 600px;
}
.custom-modal-content.tiny {
    width: 35%;
    max-width: 600px;
}
.custom-modal-content img.session-file{
  max-width: 100%;
  max-height: 75%;
}
.custom-modal-content li{
    clear: left
}
.close,
.close:active {
    position: absolute;
    font-size: 24px;
    line-height: 1;
    top: -10px;
    right: -10px;
    border: 2px solid #fff;
    padding: 5px 10px;
    background: green;
    color: #fff;
    z-index: 1011;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -khtml-border-radius: 20px;
    -webkit-border-radius: 20px
}
.close:focus,
.close:hover {
    color: #fff;
	background: darkgreen;
	text-decoration: none;
    cursor: pointer;
}


/*
@media only screen and (max-width:820px) {
    .custom-modal-content {
        margin: 5% auto;
        width: 90%
    }
	.custom-modal-content.small {
	    width: 90%;
	}
	.custom-modal-content.tiny {
	    width: 60%;
	}
}
@media only screen and (max-width:780px) {
    .custom-modal-content {
        margin: 5% auto;
        width: 90%
    }
	.custom-modal-content.small {
	    width: 90%;
	}
	.custom-modal-content.tiny {
	    width: 60%;
	}
}
@media only screen and (max-width:720px) {
    .custom-modal-content {
        margin: 5% auto;
        width: 90%
    }
	.custom-modal-content.small {
	    width: 90%;
	}
	.custom-modal-content.tiny {
	    width: 70%;
	}
}
@media only screen and (max-width:680px) {
    .custom-modal-content {
        margin: 2% auto;
        width: 95%
    }
	.custom-modal-content.small {
	    width: 95%;
	}
	.custom-modal-content.tiny {
	    width: 80%;
	}
    .close,
	.close:active {
        top: 1px;
        right: 1px
    }
}
@media only screen and (max-width:640px) {
    .custom-modal-content {
        margin: 0;
        width: 100%;
        height: auto;
        top: 0;
        overflow: auto
    }
	.custom-modal-content.small,
	.custom-modal-content.tiny {
        width: 100%;
	}
    .close,
	.close:active {
        top: 1px;
        right: 1px
    }
}
*/