#active-popup {
  background-color: rgba(52,73,94, 0.7);
  position: fixed;
  width: 100%;
  heighT: 100% !important;
  top: 0;
  left: 0;
  z-index: 999;
}
#popup-container {
 margin: 77px 304px;
   position: fixed;
   z-index: 999;
  top: 0;
  display: none;
  background: #f6f6f6;
-moz-background-clip: padding;
-o-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box; /* prevents bg color from leaking outside the border */
-webkit-transform-origin:top left;
-moz-transform-origin:top left;
-o-transform-origin:top left;
transform-origin:top left;
-webkit-animation: iconosani 1.2s backwards;
animation: iconosani 1.2s backwards;
-moz-animation: iconosani 1.2s backwards;
-o-animation: iconosani 1.2s backwards;
overflow-y: auto;
    overflow-x: hidden;
    max-height: 410px;
	border-radius: 6px;
	}
#imgres{
   left: 4px;
    height: 100px;
    width: 150px;
    margin-left: -84px;
    float: left;
    margin-top: 147px;
    position: absolute;
	}
@-webkit-keyframes iconosani {
    0% {
        -webkit-transform: perspective(800px) rotateX(-90deg);
        -moz-transform: perspective(800px) rotateX(-90deg);
        -o-transform: perspective(800px) rotateX(-90deg);
        opacity: 1;
    } 
    40% {
        -webkit-transform: perspective(800px) rotateX(30deg);
        -moz-transform: perspective(800px) rotateX(30deg);
        -o-transform: perspective(800px) rotateX(30deg);
        opacity: 1;
    }
    70% {
        -webkit-transform: perspective(800px) rotateX(-10deg);
        -moz-transform: perspective(800px) rotateX(-10deg);
        -o-transform: perspective(800px) rotateX(-10deg);
    }
    100% {
        -webkit-transform: perspective(800px) rotateX(0deg);
        -moz-transform: perspective(800px) rotateX(0deg);
        -o-transform: perspective(800px) rotateX(0deg);
        opacity: 1;
    }
}


.modal-content{border: 2px solid #000000 !important;}

#popup-container a.close {
    position: relative;
    float: right;
    top: 7px;
    right: 6px;
    z-index: 99;
    font-weight: bolder;
    font-size: 19px;
    padding: 2px 6px 2px 6px;
    line-height: 1em;
    text-align: center;
    cursor: pointer;
    color: #fcfeff;
    opacity: 1.2;
    background: #4f5760;
    border: 2px solid #1c1b1b;
    border-radius: 5px;
	}
a.close:hover{
    }

input:-moz-placeholder{
  font-family: Trebuchet MS;
}

::-webkit-input-placeholder {
 font-family:  Trebuchet MS;
}
	
#tit{
text-align: center;
font-weight: 600;
font-size: 31px;
color: #bf1e2e;
line-height: 36px;
font-family: Trebuchet MS;}
	#subscribe{
       padding: 3px;
    margin-bottom: 5px;
		}
	#let{
    color: #004789;
font-size: 17px;
font-weight: bold;
text-align: center;
padding: 0px 6px 13px;
margin-bottom: 0px;
font-family: Trebuchet MS;
margin-top: 6px;}
#logo{
     height: 84px;
margin-top: 43px;
width: 246px;	}
#load{
	height: 30px;
    width: 30px;
	}
	#sm{
padding: 8px 0px 8px !important;
height: auto;
font-size: 13px;
text-align: center;
width: 96%;
border-radius: 5px;
margin-left: 12px;
    }
#theImg{
	height: 20px;
width: 20px;
margin-right: 6px;
	}

#let2{
	font-family: Trebuchet MS;
color: #0d5408;
font-size: 20px;
font-weight: bold;
text-align: center;
	}
#close2{
	padding: 12px 35px 12px 35px;
    font-size: 16px;
    font-weight: 900;
    line-height: normal;
    color: white;
    cursor: pointer;
    font-family:  Trebuchet MS;
	background:#4f5760;
	border-radius: 5px;
	}
#close2:hover{
	 transition: 0.5s all;
   background: url(http://www.thebigdatainsights.com/images/tick.png) no-repeat 5px 10px #000 !important;
   background-size: 20px 20px;
	}
	#popup-container input[type="email"] {
    padding: 0px 0px 0px 8px;
    height: 34px;
    font-family: Trebuchet MS;
   color: #000;
    background: #eff7ff;
    border: 1px solid;
    border-color: #c4c4c4 #d1d1d1 #d4d4d4;
   -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
    width: 94%;
    border-style: solid;
    border-radius: 5px;
	}
#subscribess {
  padding: 7px 0px 7px 0px;
font-size: 16px;
font-weight: 900;
line-height: normal;
color: white;
background: #4f5760;
cursor: pointer;
font-family: Trebuchet MS;
display: block;
margin: 0 auto;
top: 50%;
left: 50%;
text-align: center;
width: 88%;
margin-top: 2px;
border-radius: 5px;
		}
#im{
 height: 130px;
margin-top: 12px;
width: 224px;
    }
#popup-container input[type=email]:focus {
	background: #FFF !important;
	}
#subscribess:hover{
	    transition: 0.5s all;
   background: url(https://www.apacciooutlook.com/images/whitespace-email-icon.png) no-repeat 6px 8px #000;
   background-size: 20px 20px;
	}
@media only screen and (max-width: 677px) {
	#popup-container {margin: 15px 17px;}	
	}
	@media screen and (max-width: 991px) and (min-width: 678px) {
			#popup-container {margin: 42px 162px;}	
			
		#logo{
			height: 40px !important;
width: auto !important;
display: block !important;
margin-left: 0px !important;
			}
		#popup-container input[type="email"] {
			   margin-top: -8px !important;
             
			}
			}
	@media screen and (max-width: 677px) and (min-width: 320px) {
		
		#im{
			height: 104px !important;
            width: 105px !important;
			}
		#logo{
			height: 40px !important;
width: auto !important;
display: block !important;
margin-left: 0px !important;
			}
			#popup-container input[type="email"] {
			   margin-top: -8px !important;
height: 28px !important;

			}
			#ld{
				height: 5px !important;
				}
		
		#let{
			font-size:16px !important;
			margin-top: 0px !important;}
			
			.modal-footer{
		padding-top: 1px !important;
		}
				}
@media screen and (max-width: 1262px) and (min-width: 1031px) {
	
			#logo{
display: block !important;
margin-left: 0px !important;
			}
		#popup-container {
			margin: 37px 304px !important;
			}
	}
@media screen and (max-width: 991px) and (min-width: 678px) {
	#logo{
			height: 40px !important;
width: auto !important;
display: block !important;
margin-left: 0px !important;
			}
}
@media screen and (max-width: 1117px) and (min-width: 1031px) {
	#let{
		font-size: 15px !important;
		margin-top: 0px !important;
		}
	}
@media screen and (max-width: 1262px) and (min-width: 992px) {
	
	#im{
		
			height: 153px;
width: 151px;
			}
	#logo {
		margin-left: 0px !important;}
		}
@media screen and (max-width: 991px) and (min-width: 320px) {
	#sm {
		width: 91% !important;
margin-left: auto !important;
margin-right: auto !important; 
		}
	#subscribess {
margin-top: 12px !important;

		}
	#logo{
		margin-top:0px !important;
		}
	}
@media screen and (max-width: 1030px) and (min-width: 992px) {
	#popup-container {
    margin: 51px 163px;}
	}