/* ------------------------------------------------------ */
/* Loring Ward and BAM Alliance Holiday Card */
/* ------------------------------------------------------ */

.sr { visibility: hidden; }
.srAni { visibility: hidden; }

body, html {
	background: #223249 url(../images/bg.gif) no-repeat 0 center;
	padding: 0;
	margin: 0;
	height: 100%;
	width: 100%;
	font-family: Montserrat, Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: 300;
	overflow: hidden;
}

strong {font-weight:600;}

#small-dialog {border-radius: 5px;}

#small-dialog h2 {font-size: 25px;padding-top:5px;}

#small-dialog p {line-height: 1.5em;font-size: 18px;}

#small-dialog p.small {font-size: 14px;}

svg {
	display: block;
	background: transparent!important;
}


/* ------------------------------------------------------ */
/* 404 page style */
/* ------------------------------------------------------ */

.fourmessage {
	color:#fff;
	font-size:36px;
	text-align:center;
	position:absolute; 
	left:0; right:0;
	top:200px; bottom:0;
	margin:auto;
	max-width:100%;
	max-height:100%;
	overflow:auto;
}

.fourmessage a {color:#fff;}



/* ------------------------------------------------------ */
/*  LOADING SPINNER  */
/* ------------------------------------------------------ */


.spinnerOutter {
	background: #223249;
	position:absolute;
	overflow: hidden;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	border: 0;		
	z-index: 1000;
}

.spinner {
  height: 50px;
  width: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -25px 0 0 -25px;
  -webkit-animation: rotation 1s infinite linear;
  -moz-animation: rotation 1s infinite linear;
  -o-animation: rotation 1s infinite linear;
  animation: rotation 1s infinite linear;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 100%;
}

.spinner:before {
  content: "";
  display: block;
  position: absolute;
  left: -2px;
  top: -2px;
  height: 100%;
  width: 100%;
  border-top: 2px solid rgba(255, 255, 255, 0.8);
  border-left: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-right: 2px solid transparent;
  border-radius: 100%;
}

@-webkit-keyframes rotation {
  from {
	-webkit-transform: rotate(0deg);
  }
  to {
	-webkit-transform: rotate(359deg);
  }
}
@-moz-keyframes rotation {
  from {
	-moz-transform: rotate(0deg);
  }
  to {
	-moz-transform: rotate(359deg);
  }
}
@-o-keyframes rotation {
  from {
	-o-transform: rotate(0deg);
  }
  to {
	-o-transform: rotate(359deg);
  }
}
@keyframes rotation {
  from {
	transform: rotate(0deg);
  }
  to {
	transform: rotate(359deg);
  }
}


/* ------------------------------------------------------ */
/*  FIREWORKS DIV   */
/* ------------------------------------------------------ */

.sky {
	position:absolute;
	width: 100vw;
	height: 100vh;
	color: #FFF;
	display: block;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	border: 0;	
	z-index: 10;
}


/* ------------------------------------------------------ */
/*  HAPPY NEW YEAR TEXT   */
/* ------------------------------------------------------ */


.greetingMessageOutter {
	width: 100%;
/*	max-width:1300px;*/
	margin: 0 auto;
	position: absolute;
/*	top: 46%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);*/
}

.greetingMessageInner {
	max-width:1300px;
	margin: 160px auto 0 auto;
	position: relative;
	padding-bottom: 10px;
}	

@media (max-height: 745px) {
  .greetingMessageInner {
	max-width:1000px;
	margin: 140px auto 0 auto;
	padding-bottom: 10px;
}
}

.happyNewYearContainer {
	margin:0 auto;
	position: relative; 
	width:50%;
}

.happyNewYear path {
  stroke-dasharray: 3000px;
  stroke-dashoffset: 3000px;
  animation-duration: 4.5s;
  animation-iteration-count: 1;
  animation-fill-mode: both;
  animation-timing-function: linear;
  animation-delay: 1s;

}

.happyNewYear {
  fill-opacity:0;
  animation-duration: 1s;
  animation-iteration-count: 1;
  animation-fill-mode: both;
  animation-timing-function: linear;
  animation-delay: 4.5s;
  stroke-width: 2px;
}	

.startAnimation .happyNewYear path {
  animation-name: greetingsDraw;
}	

.startAnimation .happyNewYear {
  animation-name: greetingsFill;
}

.happyNewYear .cls-1 { fill:#BCC3CE; }
.happyNewYear .cls-2 { fill:none; stroke:#BCC3CE;  stroke-miterlimit:10; } 


@keyframes greetingsDraw {
  
  100% {
	  stroke-dashoffset: 0px;
  }
}

@keyframes greetingsFill {
  
  100% {
	  fill-opacity:1;
	  stroke-width: 1px;
  }
}


/* ------------------------------------------------------ */
/*  LOGO   */
/* ------------------------------------------------------ */

.logoHeaderContainer {
    position: fixed;
    top:30px;
    left:40px;
    color:#81899B;
    z-index:999;
}

.logoHeader {
	width: 280px;
    max-width: 280px;
    position: relative;
    transition: 1s opacity ease-out;
}

_:-ms-input-placeholder, :root .logoHeader {
	margin-top:-44px;
}

@media (max-height: 745px) {
  .logoHeader {
	width: 260px;
    max-width: 260px;
}
}

.logoHeader .cls-1 { fill:#fff; }
.logoHeader .cls-2 { fill:#2E98BE; }

.logoAboutText a:link, .logoAboutText a:visited {color:#81899B;text-decoration:none;border-bottom:1px solid #81899B;}
.logoAboutText a:hover {color:#fff;border-bottom:1px solid #fff;}
.logoAboutText, .logo {float:left;}
.logoAboutText {border-left:2px solid #81899B;padding:19px 0 25px 33px;margin-left:42px;z-index:999999;}



/* ------------------------------------------------------ */
/*  TWENTY TWENTY   */
/* ------------------------------------------------------ */

.twenty {
    margin:0 auto;
    text-align:center;
    width:100%;
    opacity: 0;
	transition: all 2s ease-in-out;
}	


@media (max-height: 745px) {
  .twenty img {
    height:180px;
	width:auto;
  }
}



/* ------------------------------------------------------ */
/*  GIFTBOX & DIALOG   */
/* ------------------------------------------------------ */

.zoom-anim-dialog {
	z-index: 30;
}

.giftBox {
	position: fixed;
    bottom: 30px;
	z-index: 20;
    left: 47%;
    transform: translateX(-47%);
	opacity: 0;
	transition: all 1.5s ease-in-out;
}

.giftBox a {
	outline: 0;
	border: 0;
	text-decoration: none;
}

.giftBox img {
	width: 150px;
	height: 86px;
	transition: all .2s ease-in-out; 
}			

.giftBox:hover img {
	margin-left:-10px;
	width: 175px;
	height: 100px;
	
}		

.giftBoxRotate {
	-webkit-animation-name: rotateGift;
	-webkit-animation-duration: 7s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-delay: 4s;
}		

@keyframes rotateGift {
	  0%     { transform: rotate(0deg); } 
	  3%  { transform: rotate(6deg); }   
	  6% { transform: rotate(-6deg);  }  
	  9% { transform: rotate(6deg);  }  
	  12% { transform: rotate(0deg);  }      
	  100% { transform: rotate(0deg);  }   
}


/* ------------------------------------------------------ */
/* MOBILE BREAKPOINTS */
/* ------------------------------------------------------ */
@media all and (max-width: 1023px) {
   
 .logo {
    text-align:center;
    width:100%;
    margin:0 auto;
}
    
.logoHeaderContainer {
    position: relative;
    text-align:center;
    margin:0 auto;
    top:auto;
    left:auto;
}
    
.logoHeader {
	width: 260px;
    max-width: 260px;
    padding-bottom: 2%;
    margin: 6% auto 0 auto;
}
    
.logoAboutText {
    border-left:none;
    padding:10px 0 20px 0;
    margin-left:0;
    font-size:15px;
    width:100%;
    text-align:center;
}   

.greetingMessageInner {
/*	width: 95%;*/
	max-width:700px;
	margin: 160px auto 0 auto;
	position: relative;
	padding-bottom: 10px;
}
    
.greetingMessageOutter {
    width: 100%;
    top: 0%;
}

.happyNewYearContainer {
    width: 70%;
}

.giftBox {
    bottom: 80px;
    left: 43%;
    transform: translateX(-43%);
}
	
.giftBox img {
	width: 110px;
	height: 63px;
}	

.giftBox:hover img {
	width: 150px;
	height: 86px;
}	
    
.twenty img {
    width:70%;
    height:auto;
}	
    
#small-dialog h2 {font-size: 20px;padding-top:0px;}
#small-dialog p {line-height: 1.3em;font-size: 13px;}
					
}




@media all and (max-width: 700px) {
   
 .logo {
    text-align:center;
    width:100%;
    margin:0 auto;
}
    
.logoHeaderContainer {
    position: relative;
    text-align:center;
    margin:0 auto;
    top:auto;
    left:auto;
}
    
.logoHeader {
	width: 240px;
    max-width: 240px;
    padding-bottom: 2%;
    margin: 6% auto 0 auto;
}
    
.logoAboutText {
    border-left:none;
    padding:10px 0 20px 0;
    margin-left:0;
    font-size:15px;
    width:100%;
    text-align:center;
}   

	
.greetingMessageOutter {
    width: 100%;
    top: 0%;
}

.happyNewYearContainer {
    width: 90%;
}

.giftBox {
    bottom: 80px;
    left: 43%;
    transform: translateX(-43%);
}
	
.giftBox img {
	width: 110px;
	height: 63px;
}	

.giftBox:hover img {
	width: 150px;
	height: 86px;
}	
    
.twenty img {
    width:90%;
    height:auto;
}	
    
#small-dialog h2 {font-size: 20px;padding-top:0px;}
#small-dialog p {line-height: 1.3em;font-size: 13px;}
					
}


@media all and (max-width: 600px) {
    

    
.logoHeader {
	width: 220px;
    max-width: 220px;
    padding-bottom: 2%;
    margin: 6% auto 0 auto;
}
    
.logoAboutText {
    border-left:none;
    padding:10px 0 20px 0;
    font-size:14px;
}
	
.greetingMessageOutter {
    width: 100%;
    top: 0%;
}

.happyNewYearContainer {
    width: 90%;
}

.giftBox {
    bottom: 80px;
    left: 40%;
    transform: translateX(-40%);
}
	
.giftBox img {
	width: 110px;
	height: 63px;
}	

.giftBox:hover img {
	width: 150px;
	height: 86px;
}
    
#small-dialog h2 {font-size: 20px;padding-top:0px;}
#small-dialog p {line-height: 1.4em;font-size: 14px;}
					
}	



@media all and (max-width: 500px) {
    
.logoHeader {
	width: 220px;
    max-width: 220px;
    margin: 5% auto 0 auto;
}

    
.logoAboutText {
    padding:2px 0 20px 0;
    font-size:12px;
}
    
#small-dialog h2 {font-size: 20px;padding-top:0px;}
#small-dialog p {line-height: 1.3em;font-size: 13px;}
    
}


/* ------------------------------------------------------ */
/* THIS HAS TO STAY AT THE END */
/* ------------------------------------------------------ */

.goOpacity {
	opacity: 1;
}

.hide { display: none;}


/*  animated SVG IE fallback */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	
.happyNewYear
	{ fill-opacity:1; stroke-opacity: 0; }
	
	
}


