@font-face
{
    font-family: heading_font;
    src: url("fonts/a_dark_wedding__2007.ttf");
}

@font-face
{
    font-family: custom_font1;
    src: url("fonts/Mf Wedding Bells.ttf");
}

@font-face
{
    font-family: font_feronia;
    src: url("fonts/Feronia.ttf");
}

html
{
  font-family: font_feronia;
  color: white;
  text-align:center;
  background: #D31027; /* fallback for old browsers */
  background: -webkit-linear-gradient(to left, #D31027 , #EA384D); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to left, #D31027 , #EA384D); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

body
{
  min-width: 960px;
  min-height: 600px;
  text-align:center;
  background: #D31027; /* fallback for old browsers */
  background: -webkit-linear-gradient(to left, #D31027 , #EA384D); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to left, #D31027 , #EA384D); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  margin-top: 1.3%;
}

a
{
    text-decoration: none;
    color: white;
}

#MainWrapperDiv
{
  position:relative;
  margin:auto;
}

#LeftPanelDiv
{
  position:absolute;
  left:0;
  height:100%;
  width:17%;
}

#NamesHeader
{
  position:relative;
  font-family: heading_font;
  font-weight:bold;
  margin: 0;
  padding: 0;
  color: rgb(255, 255, 255);
  /*text-shadow:1px 2px 2px black;
  text-shadow:  rgb(204, 56, 75) 0px 1px 0px,
                rgb(201, 55, 74) 0px 2px 0px,
                rgb(187, 54, 72) 0px 3px 0px,
                rgb(185, 53, 70) 0px 4px 0px,
                rgb(170, 52, 65) 0px 5px 0px,
                rgba(0, 0, 0, 0.0980392) 0px 6px 1px,
                rgba(0, 0, 0, 0.0980392) 0px 0px 5px,
                rgba(0, 0, 0, 0.298039) 0px 1px 3px,
                rgba(0, 0, 0, 0.14902) 0px 3px 5px,
                rgba(0, 0, 0, 0.2) 0px 5px 10px,
                rgba(0, 0, 0, 0.2) 0px 10px 10px,
                rgba(0, 0, 0, 0.0980392) 0px 20px 20px;*/
}

#NamesHeader span
{
  position:absolute;
  margin: auto;
  display:block;
  width:100%;
  height:80%;
}

.AnjanaNameSpan
{
  position:absolute;
  width: 100%;
  height: 1em;
  top: 0em;
}

.SujitNameSpan
{
  position:absolute;
  width: 100%;
  height: 1em;
  bottom: -0.3em;
}

.NameBackgroundImage
{
  opacity: 0.6;
  max-width: 100%;
  max-height: 100%;
  min-width: 100%;
  min-height: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.NamesHeaderRingsImg
{
  width:40%;
  padding: 0;
  margin:0;
}

.WeddingKnotImage
{
  position: absolute;
  left: 0;
  width:100%;
}

#TimerDiv
{
  position: relative;
  width:100%;
  bottom:0;
  left:0;
  z-index: 5;
  font-family: heading_font;
  text-align: center;
  display:flex;
  align-items: center;

  color: white;
  /*color: rgba(211,16,39, 0.5);*/
}

.daysRemainigImage
{
  position:absolute;
  width:100%;
  height: 100%;
  /*top: -0.8em;*/
  left: 0;
  z-index: -10;
}
#TimerDiv .DaysRemainingSpan
{
  font-weight: bold;
}

#TimerDiv .DaysRemainingHolder
{
  position:absolute;
  width:100%;
  bottom: 1em;
  left: 0;
  text-align:center;
}

/*  Navigation stuffs  */
#NavigationDiv
{
  position: relative;
  z-index: 6;
  min-width:100%;
  max-height:50%;
  background-color: rgba(234,56,77, 0.5);
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.NavigationBanner
{
  width:100%;
  height:100%;;
}

#NavigationUL
{
  list-style:none;
  min-width:100%;
  max-height:50%;
  margin:0;
  padding:0;
}

.NavigationItemLi
{
  display: block;
  width:100%;
  font-weight: bold;
}

.NavigationItemLi > a
{
  padding: 4%;
  vertical-align: middle;
  color: white;
  display:block;
}
#NavigationUL .Selected
{
  background-color: rgba(234,56,77, 0.5);
  background: #D31027; /* fallback for old browsers */
  background: -webkit-linear-gradient(to left, #D31027 , #EA384D); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to left, #D31027 , #EA384D); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
/*.background_image
{
  position:absolute;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border:10px solid white;
  left: 0;
  max-width: 100%;
  max-height: 100%;
  min-height: 100%;
}*/
/***
Hover animations
**/
/* Sweep To Bottom */
.hvr-sweep-to-bottom
{
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.hvr-sweep-to-bottom:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #D31027; /* fallback for old browsers */
  background: -webkit-linear-gradient(to left, #D31027 , #EA384D); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to left, #D31027 , #EA384D); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-sweep-to-bottom:hover, .hvr-sweep-to-bottom:focus, .hvr-sweep-to-bottom:active {
  color: white;
}
.hvr-sweep-to-bottom:hover:before, .hvr-sweep-to-bottom:focus:before, .hvr-sweep-to-bottom:active:before {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}
/*  Navigation stuffs end */
#ContentPanelDiv
{
  position:absolute;
  right:0;
  height:100%;
  width:82.5%;
}

#ActualContentsArea
{
  position:absolute;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  z-index: 998;
  height:100%;
  width: 100%;
  color: white;
}

.imageCrawlerItemHolder
{
}

#imageSlideShow
{
  position:relative;
  top:0;
  height: 100%;
  width:100%;
}
.imageCrawlerItem
{
  height:100%;
}

.contentRightRibbon
{
  position: absolute;
  z-index: 11;
}

.WeddingRibbonKnot
{
  position:absolute;
  z-index: 11;
  top: 0;
  width: 30%;
  pointer-events: none;
}

/******** Ribbon css*********/

#ContentsHeader
{
  width:95%;
  height: 15%;
  position: relative;
  font-weight: bold;
  margin: auto;
  vertical-align: middle;
  display: table;
  z-index: 10;
  font-family: heading_font;
}

#ContentHeaderTextSpan
{
  position: absolute;
  display: table-cell;
  margin: auto;
  width: 100%;
  left: 0;
}

#PageContents
{
}

.scroller
{
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.scroller ul
{
  height: 100%;
  list-style: none;
  margin:0;
  padding: 0;
}

.scroller li
{
  height: 100%;
  float: left;
}
.scroller li img
{
  height: 100%;
  opacity: 0.3;
}
#contentDecorations
{
  position:absolute;
  height:100%;
  width:100%;
  top:0;
}

#PageContents
{
  height: 85%;
  text-align:center;
  background-color: rgba(0,0,0,0.5);
  overflow-y: auto;
  overflow-x: auto;
}

.amazonRegistryFrame
{
  width: 100%;
  height: 100%;
}

#contentsArea
{
  position: absolute;
  height:100%;
  width:100%;
  z-index: 9;
}

#div_iframe_container
{
  width: 100%;
  height: 100%;
}

/*Events page styles*/
#eventsWeddingInfoBox, #eventsWeddingReceptionInfoBox, #eventsAccomodationInfoBox
{
  height: 30.333%;
  width: 60%;
  display: block;
}

.card
{
  width: 100%;
  height: 98%;
  line-height: 98%;
  text-align: center;
}
.front
{
  background-color: rgba(0,0,0,0.5);
  text-align: center;
  vertical-align: middle;
}
.back
{
  background-color: rgba(0,0,0,0.8);
}
.back .backCardContents
{
  text-align: left;
  width: 80%;
  height: 100%;
}
.back .backCardContents ul
{
  margin-top: 0;
  width: 100%;
}

.back .backCardContents ul li a
{
  display: block;
  width: 100%;
}
.front label
{
  position: relative;
  top: 40%;
  margin: auto;
}

#eventsMapBox
{
  position:absolute;
  height: 81.9%;
  top:15%;
  width: 37%;
}

#eventsMapBox .embeddedMap
{
  height: 90%;
  opacity: 0.85;
  width: 100%;
}
#eventsMapBox label
{
  display: inline-block;
  height: 10%;
  line-height: 150%;
  vertical-align: middle;
  margin: 0;
  padding: 0;
  width: 100%;
}

#eventsMapBox:hover
{
}
#eventsMapBox:hover .embeddedMap
{
  opacity: 1;
}

/* Photos page */
#imageGallaryInPhotos
{
  text-align:left;
  width: 75%;
  margin: auto;
}

#imageGallaryInPhotos .fancybox .thumbnails
{
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border: 0.1em solid white;
  margin: 3%;
  -webkit-transition: all 100ms ease-in;
  -webkit-transform: scale(1);
  -ms-transition: all 100ms ease-in;
  -ms-transform: scale(1);
  -moz-transition: all 100ms ease-in;
  -moz-transform: scale(1);
  transition: all 100ms ease-in;
  transform: scale(1);
}

#imageGallaryInPhotos .fancybox .thumbnails:hover
{
  -webkit-transition: all 100ms ease-in;
  -webkit-transform: scale(1.1);
  -ms-transition: all 100ms ease-in;
  -ms-transform: scale(1.1);
  -moz-transition: all 100ms ease-in;
  -moz-transform: scale(1.1);
  transition: all 100ms ease-in;
  transform: scale(1.1);
}

.homePageContents
{
  position: relative;
}

.homePageContents .viewsBox
{
  position: absolute;
  width: 36%;
  height: 38%;
  padding: 2%;
}
.homePageContents .viewsBox .contentBox
{
  margin-top: 0%;
}
.homePageContents .viewsBox .viewsHeader
{
  font-weight:bold;
  text-decoration: underline;
}

.homePageContents .herViewBox
{
  top: 1%;
  right: 2%;
  height: 15%;
  width: 30%;
}

.homePageContents .hisViewBox
{
  top: 27%;
  right: 2%;
  height: 30%;
  width: 30%;
}

.homePageContents .ourStoryBox
{
	padding-left: 5%;
  top: 1%;
  left: 2%;
  width: 54%;
  height: 88%;
}

.homePageContents .ourStoryBox img
{
	width: 60%;
	max-height: 20%;
	margin-left: 2%;
}

.homePageContents .quoteBox
{
  bottom:2.5%;
  right: 2%;
  width: 30%;
  height: 20%;
}

.homePageContents .hisViewBox img
{
  width: 90%;
}

.rainDrop
{
  width: 1%;
}
