.bg-wg-modal {
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    /*padding-top: 100px;*/
    z-index: 999;
}
.bg-wg-modal .wg-modal {
    display: block;
    width: 80%;
    position: relative;

    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;
}
.bg-wg-modal.closing .wg-modal {
    -webkit-animation-name: animatetopHide;
    -webkit-animation-duration: 0.4s;
    -webkit-animation-fill-mode: forwards;
    animation-name: animatetopHide;
    animation-duration: 0.4s;
    animation-fill-mode: forwards;
}
.bg-wg-modal.closing {
    -webkit-animation-name: bgAnimatetopHide;
    -webkit-animation-duration: 0.4s;
    -webkit-animation-fill-mode: forwards;
    animation-name: bgAnimatetopHide;
    animation-duration: 0.4s;
    animation-fill-mode: forwards;
}
.wg-modal.verticalCentering {
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0!important;
    margin-bottom: 0!important;
}
.wg-modal {
    display: none;
    /*margin: 100px auto;*/
    margin: 10% auto;
    background-color: #fff;
    padding: 20px;
}
.wg-modal.innerScroll .wg-content {
    max-height: calc(100vh - 240px);
    overflow-y: auto;
}
.wg-modal .wg-modal-close {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 34px;
    font-weight: bold;
    line-height: 100%;
    cursor: pointer;
    height: 34px;
    width: 34px;
    text-align: center;
    z-index: 1;
}
.wg-modal .wg-header {
    background-color: #eee;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px;
}

/* 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}
}

@-webkit-keyframes animatetopHide {
    from {top: 0; opacity: 1}
    to {top: -300px; opacity: 0}
}
@keyframes animatetopHide {
    from {top: 0; opacity: 1}
    to {top: -300px; opacity: 0}
}

@-webkit-keyframes bgAnimatetopHide {
    from {opacity: 1}
    to {opacity: 0}
}
@keyframes bgAnimatetopHide {
    from {opacity: 1}
    to {opacity: 0}
}


/*
RESPONSIVE
*/

/* Table of Contents
==================================================
    #Base (1180 Grid)
    #Desktop (960 Grid)
    #Tablet (Portrait)
    #Mobile (Portrait)
    #Mobile (Landscape)
    #Clearing */
    
    

/* #Dekstop (960 Grid)
================================================== */

    /* Note: Design for a width of 960px */

    @media only screen and (min-width: 960px) and (max-width: 1199px) {
		
    }
    
    @media only screen and (min-width: 769px) and (max-width: 1040px) {
		
	}
	
	/* Note: Design for a width of 768px */
	/*Exception for Mini Logo on Lateral Menu*/
    @media only screen and (min-width: 768px) and (max-width: 899px) {
		
	}
	
/* #Tablet (Portrait)
================================================== */

    /* Note: Design for a width of 768px */

    @media only screen and (min-width: 768px) and (max-width: 959px) {
				
    }

	/*Exception Width: Fixing Top Menu*/	
	@media only screen and (min-width: 900px) and (max-width: 1040px) {
		
	}

/*  #Mobile (Portrait)
================================================== */

    /* Note: Design for a width of 320px */

    /* @media only screen and (max-width: 767px) {*/
    @media only screen and (max-width: 899px) {
			
	}
	
	
	@media only screen and (min-width: 480px) and (max-width: 767px) {
		.wg-modal {
			margin: 30% auto;
		}
	}

/* #Mobile (Landscape)
================================================== */

	/*More Little*/
	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {
		.wg-modal {
			margin: 30% auto;
		}
	}

    /* Note: Design for a width of 480px */

    @media only screen and (min-width: 480px) and (max-width: 767px) and (orientation : landscape) {
		
	}
	
	/*iPad in landscape*/
	@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) { 
		
	}
	
	/*iPad in portrait*/
	@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) { 
		
	}