/* Less than the full size template width */
@media screen and (max-width: 960px){
    
    #bom-content-wrapper.travel-page .infoList {
        position: inherit;
    }

    #bom-content-wrapper.travel-page .loc-book-travel {
            position: inherit;
            top: auto;
            left: auto;
    }       
    
    #bom-right-col{
	display: none;
    }

    #bom-wrapper{
        width: 735px;
    }
    #bom-content-wrapper {
	width: 520px !important;
    }
    
    #candle-con-lower #lac-message-container #lac-message-text{
	left: 20px;
    }
    #video-container video{
	width: 100% !important;
    }
    div#bom-header #bom-photo-frame {
	  left: 268px;
	}
	#video-container {
		right: -50px;
	}
	#bom-wrapper {
		overflow: hidden;
	}
    #bom-header #bom-photo-con{
	left: 296px !important;
    }
    
    #main-nav-drop-con{
	left: 265px;
    }
    
    #bom-header #bom-header-back{
	width: 100%;
	background-position-x: -80px !important;
    }
    
    #candles-con .candle-body-lit{
	background-size: 100%;
	height: 100px;
	width: 95px;
    }
    #candles-con .candle-body-unlit{
	height: 91px;
	width: 87px;
	background-size: 100%;
    }
       
    #candles-con #candle-0{ left: 225px; }
    #candles-con #candle-1{ left: 410px; }
    #candles-con #candle-2{ left: 195px; }
    #candles-con #candle-3{ left: 442px; }
    #candles-con #candle-4{ left: 165px; }
    #candles-con #candle-5{ left: 472px; }
    #candles-con #candle-6{ left: 135px; }
    #candles-con #candle-7{ left: 502px; }
    #candles-con #candle-8{ left: 105px; }
    #candles-con #candle-9{ left: 532px; }
    #candles-con #candle-10{ left: 75px; }
    #candles-con #candle-11{ left: 562px; }
    #candles-con #candle-12{ left: 45px; }
    #candles-con #candle-13{ left: 592px; }
    #candles-con #candle-14{ left: 15px; }
    #candles-con #candle-15{ left: 622px; }
    #candles-con #candle-16{ left: -15px; }
    #candles-con #candle-17{ left: 652px; }
    #bom-header #bom-in-memory-con {
	left: 10px;
	width: 275px;
    }
    #bom-header #bom-in-memory-con #bom-in-memory-name{
	font-size: 28px !important;
    }
    
    #candle-con,
    #candle-con-lower,
    #bom-content-container{
		background-position-x: -80px !important;
    }
    
    div#bom-nav{
	top: 7px;
    }
    
    #candles-con .candle-flame-con{
	left: 43px;
    }
    
    #bom-nav #bom-nav-sendflowers{
	height: 94px;
    }
	
    #bom-footer-cap, #bom-footer-con {
	    width: 737px;
	    background-size: 100% 100%;
    }
    #bom-footer-con #bom-footer-msg {
	    margin-left: 20px;
    }
    #bom-footer-links .bom-footer-links-col {
	    width: 142px;
    }
    #bom-footer-con #bom-footer-provided-by-con {
	    background-position: -145px center !important;
    }
    
    #bom-header #bom-header-back {
	    background-position: center top !important;
    }
    #florist-one-skin {
	width: 100% !important;
    }
    #florist-one-skin .cards-list {
	text-align: center;
    }
    #florist-one-skin .cards-list .card {
	float: none !important;
	display: inline-block;
    }
    
    
}
/* Less than the full size, but greater than the mobile width */
 @media screen and (max-width: 960px) and (min-width: 750px){
}
/* Mobile width */
@media screen and (max-width: 750px){ 

    #bom-wrapper div#bom-header {
	height: 350px;
    }
/* MENU */

    #bom-menu-btn{
	display: block;
    }
    #bom-nav{
	float: none;
	position: static;
	width: 100%;
	border: none;
	clear: both;
    }
    #bom-nav ul{
	display: none;
	position: relative;
	top: -50px;
    }
    
    #bom-nav #bom-nav-sendflowers{
	/*display: none;*/
	background: none;
	text-align: center;
	width: 100%;
	height: 55px;
	z-index: -1;
    }
    #bom-nav #bom-nav-sendflowers #bom-nav-sendflowers-txt {
	top: 40px !important;
	width: 95% !important;
	text-align: center !important;
    }
    #bom-nav-sendflowers a {
	color: #000;
    }
    #bom-nav-sendflowers #bom-nav-sendflowers-txt-major br {
	display: none;
    }

    #bom-nav-concierge-mobile{
        display: block;
    }
    #bom-nav-concierge{
        display: none;
    }
    #bom-nav-hal-mobile{
        display: block;
    }
    #bom-nav-hal{
        display: none;
    }
    #bom-nav-hal-mobile #bom-nav-hal-body {
        padding-top: 20px;
        width: auto;
        padding-left: 150px;
        float: none;
        font-size: 14px;
    }
    
    #bom-nav ul li.level1 a, #bom-menu-btn{
	background-repeat: no-repeat !important;
	background-size: 100% 64px !important;
	text-align: center;
    }

    #bom-nav ul li.level1 a,  #bom-nav ul li.level1, #bom-menu-btn{
    
	background-size: 100% 114px;
	text-align: center;
	padding-right: 0px;
    }
    #bom-nav ul li a.fly{
	background: none;
	position: relative;
    }

    #bom-nav ul li.level1 li a.active{
	background-image: none;
    }
	
#menu_memories_pm{ display: none; }

    #bom-nav ul li ul{
	display: none;
	position: static;
	left: auto;
	font-size: 14px;
	padding: 0 10px;
	
    }

    #bom-nav ul li:hover ul{
	bottom: auto;
	left: auto;
    }
    #bom-nav ul li.level1.activeFly{
	height: auto;
    }

    #bom-nav ul li.level1 ul li a{
	background: none !important;
	text-align: center;
    }
    .bom-expand-nav{
	width: 21px;
	height: 21px;
	position: absolute;
	background: url('icon-bom-expand.png');
	top: 6px;
	z-index: 10;
	right: 20px;
    }

    .resp-expanded .bom-expand-nav{
	background: url('icon-bom-collapse.png');
    }

    #bom-menu-btn {
	color: #fff;
	background: #444;
    }
    #bom-nav ul li.level1 a span, #bom-menu-btn{
	left: 0px;
	top: 0px;
	position: static;
	line-height: 32px;
    }
/* MENU */

    #bom-wrapper{
	width: 450px;
    }

    #bom-content-wrapper{
	margin-left: 0px;
	width: auto !important;
	min-height: 500px;
	padding: 10px;
	clear: both;
	float: none;
	padding-top: 20px;
    }

    .candle-flame-con{
	width: 15px;
	height: 28px;
	background-image:url('candle-flame.png');
	background-size: 100%;
    }
    .candle-flame-con .candle-flame{
	display: none !important;
    }
    #bom-header #bom-photo-frame,
    #bom-header #bom-photo-con,
    #candle-con,    
    #candle-con-lower{
	background-size: 100% !important;
	background-position-x: 0px !important;
    }

    #candles-con-message{
	color: #ffffff !important;
	display: none;
    }
    
    #candles-con .candle-body-lit{
	background-size: 100%;
	height: 50px;
	width: 50px;
    }
    #candles-con .candle-body-unlit{
	height: 50px;
	width: 50px;
	background-size: 100%;
    }
       
    #candles-con #candle-0{ left: 150px; top: -10px;}
    #candles-con #candle-2{ left: 130px; top: -28px; }
    #candles-con #candle-4{ left: 110px; top: -5px;}
    #candles-con #candle-6{  left: 90px; top: -23px; }
    #candles-con #candle-8{ left: 70px; top: 0px;}
    #candles-con #candle-10{ left: 50px; top: -18px; }
    #candles-con #candle-12{ left: 30px; top: 5px; }
    #candles-con #candle-14{ left: 10px; top: -13px; }
    #candles-con #candle-16{ left: -10px; top: 10px;}

    #candles-con #candle-1{ left: 245px; top: -10px;}
    #candles-con #candle-3{ left: 265px; top: -28px; }
    #candles-con #candle-5{ left: 285px; top: -5px;}
    #candles-con #candle-7{  left: 305px; top: -23px; }
    #candles-con #candle-9{ left: 325px; top: 0px;}
    #candles-con #candle-11{ left: 345px; top: -18px; }
    #candles-con #candle-13{ left: 365px; top: 5px; }
    #candles-con #candle-15{ left: 385px; top: -13px; }
    #candles-con #candle-17{ left: 405px; top: 10px;}

    #candles-con .candle-flame-con{
	width: 10px;
	height: 18px;
	left: 22px;
	top: -13px;
    }

    #bom-header #bom-photo-frame {
	  height: 140px !important;
	  left: 50% !important;
	  top: -9px !important;
	  width: 230px !important;
	  margin-left: -115px !important;
	}
    #bom-header #bom-photo-con{
	left: 233px !important;
    }    

    #bom-header #bom-photo-con{
	left: 191px !important;
	top: 15px !important;
    }
    
    #bom-header #bom-photo-con,
    #bom-header #bom-photo-con img{
        width:68px;
	height: 95px;
    }   
    #bom-content-container{
	background-position-x: center !important;
    }

    #candles-con,
    #candle-con{
	top: 91px !important;
	height: 100px !important;
    }
    
    #candle-con-lower{
	top: 142px !important;
	height: 63px !important;
	width: 450px;
	box-shadow: 0 0 5px #000;
    }
    
    #bom-content-container{
	width: 100%;
	/*margin-top: 205px !important; */
	background-position: center -45px !important;
    }
	.bom-leave-condolence-con form .bom-textarea {
		width: 410px !important;
	}
    
    #video-container{
	background-size: 100% !important;
	height: 112px !important;
    }
    
    #bom-header #bom-header-back{
		background-size: 100% !important;
		height: 130px;
    }
    #video-container{
	background-position:0px 0px !important;
    }
    #bom-header div#bom-in-memory-con{
	/*display: none;*/
	width: 95%;
	top: 215px;
    }

    #bom-wrapper #bom-backtofh-btn,
    #bom-footer-cap,
    #bom-footer-con #bom-footer-msg,
    #bom-footer-links,
    #main-nav-drop-con,
    #video-container video,
    #candle-con-lower #lac-message-container #lac-message-text{
	display: none;
    }
    
    #bom-footer-con{
	width: 100%;
    }
    
    #bom-footer-con #bom-footer-provided-by-con {
	background-position: -435px top !important;
    }
    
    #lac-proc{
	display: none;
    }
    
    div#candle-con-lower #lac-message-container #lac-message-img {
	  background-size: cover;
	  height: 80px;
	  left: 0;
	  top: -50px;
	  width: 165px;
	}
    #lac-message {
	width: 150px;
    }
    #bom-footer-widget-con,
    #bom-nav #bom-nav-ficta,
    #bom-nav-familylogin{
        display: none;
    }
    
    #bom-nav #bom-nav-HAL-txt{
        float: left;
        margin-left:65px;
    }    
	
	#bom-nav #bom-nav-subscriptionCTA, #bom-nav-familylogin {
	    float: left;
	    margin: 20px 3px 0;
	    display: block;
	    width: 48.5% !important;
	    height: 50px !important;
	    background-size: cover !important;
	}
    
    #bom-nav #bom-nav-concierge, #bom-nav #bom-nav-concierge-mobile{
	    float: left;
	    width: 100%;
	    height: 50px !important;
	    background-size: cover !important;        
    }
    
    #bom-nav-concierge #bom-nav-concierge-txt, #bom-nav-concierge-mobile #bom-nav-concierge-txt-mobile {
            text-align: center;
            padding-left: 0;
            padding-top: 16px;
            font-size: 1.6em;
          background: url('../../bom_images/conciergeServices-logo.png') no-repeat 5px 12px;
    }

	#bom-nav #bom-nav-familylogin #bom-nav-familylogin-txt, #bom-nav #bom-nav-ficta #bom-nav-familylogin-txt,
	#bom-nav #bom-nav-subscriptionCTA {
	    text-align: center;
	}
	#bom-nav #bom-nav-subscriptionCTA p {
	    display: inline-block;
	}
	#bom-nav #bom-nav-subscriptionCTA #bom-nav-subscriptionCTA-click {
	    padding: 0;
	}
	#bom-nav-familylogin p {
	    padding: 0 !important;
	    margin-bottom: 0 !important;
	}
	#bom-nav #bom-nav-familylogin, #bom-nav #bom-nav-ficta,
	#bom-nav #bom-nav-subscriptionCTA, #bom-nav-concierge {
	    border-top: solid 2px #fff;
	    border-bottom: solid 1px #fff;
	    box-shadow: 0 2px 5px rgba(0,0,0,.25);
	    background: rgb(45,49,48); /* Old browsers */
	    background: -moz-linear-gradient(top,  rgba(45,49,48,1) 0%, rgba(90,90,90,1) 100%); /* FF3.6+ */
	    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(45,49,48,1)), color-stop(100%,rgba(90,90,90,1))); /* Chrome,Safari4+ */
	    background: -webkit-linear-gradient(top,  rgba(45,49,48,1) 0%,rgba(90,90,90,1) 100%); /* Chrome10+,Safari5.1+ */
	    background: -o-linear-gradient(top,  rgba(45,49,48,1) 0%,rgba(90,90,90,1) 100%); /* Opera 11.10+ */
	    background: -ms-linear-gradient(top,  rgba(45,49,48,1) 0%,rgba(90,90,90,1) 100%); /* IE10+ */
	    background: linear-gradient(to bottom,  rgba(45,49,48,1) 0%,rgba(90,90,90,1) 100%); /* W3C */
	    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2d3130', endColorstr='#5a5a5a',GradientType=0 ); /* IE6-9 */
	}
	
	.bom-googlemap, #bom-googlemap {
		width: 100% !important;
		padding: 0 !important;
	}
	.bom-services-wrapper .infoContent {
		width: 200px !important;
	}
	.bom-services-wrapper {
		width: 100% !important;
	}
	#bom-nav-inner {
		background: none !important;
	}
	#bom-wrapper .store-container-outer {
	    top: 30px !important;
	    margin-bottom: 25px !important;
	}
	#bom-footer-con #bom-footer-provided-by {
	    left: 10px !important;
	    top: 15px !important;
	}
	#bom-footer-con #bom-footer-provided-by span {
	    line-height: 16px;
	}
	a.bom-button.bom-leave-condolence-link {
	    margin-left: 35%;
	}
	
}
/* Mobile landscape */
@media screen and (max-width: 750px) and (min-width: 479px){

}
/* Mobile portrait */
@media screen and (max-width: 479px){
    
    #bom-wrapper{
	/*width: 320px;   this is not fitting the space on iPhone 4, 5, 6 Nexus 5 and Blackberry Z10 */
	max-width: 315px; /* needs to have a width due to pre-wireframe & unembedded sites */
	/*width: 100%;*/
	border: none !important;
    }

    #bom-content-wrapper{
	width: 310px !important;
	padding-left: 5px;
	margin-top: 0;
    }
    
    #bom-nav{
	padding-right: 0px;
    }

    #bom-nav-concierge-mobile{
        display: block;
    }
    #bom-nav-concierge{
        display: none;
    }

    #candle-con-lower {
	top: 101px !important;
	height: 45px !important;
	width: 320px;
    }
    #bom-header div#bom-in-memory-con {
	max-width: 300px;
    }
    #bom-header #bom-header-back {
	height: 100px;
    }
    #video-container {
	background-size: 100% !important;
	height: 90px !important;
    }
    #candles-con, #candle-con {
	top: 64px !important;
	height: 73px !important;
    }
    
    #bom-header #bom-photo-frame {
	width: 180px !important;
	height: 105px !important;
	top: -15px !important;
	left: 50% !important;
	margin-left: -90px !important;
    }
    #bom-header #bom-photo-con, #bom-header #bom-photo-con img {
	width: 55px;
	height: 73px;
    }
    
    #bom-header #bom-photo-con{
	left: 131px !important;
	top: 3px !important;
    }

    #candles-con .candle-body-unlit,
    #candles-con .candle-body-lit {
	width: 40px;
	height: 40px;
    }
    #candles-con .candle-flame-con {
	width: 9px;
	height: 18px;
	left: 17px;
	top: -12px;
    }
    
    #travel_img {
        background-image: url("/book-of-memories/bom_images/FCS-header_sm.jpg");
        background-repeat: no-repeat;
        width: 100%; /*or your image's width*/
        height: 215px;
        background-size:cover;
        margin: 0;
        padding: 0;
    }     
    
    #candles-con #candle-0{ left: 95px; top: -14px;}
    #candles-con #candle-2{ left: 82px; top: -27px; }
    #candles-con #candle-4{ left: 69px; top: -10px;}
    #candles-con #candle-6{  left: 56px; top: -24px; }
    #candles-con #candle-8{ left: 43px; top: -7px;}
    #candles-con #candle-10{ left: 30px; top: -21px; }
    #candles-con #candle-12{ left: 17px; top: -4px; }
    #candles-con #candle-14{ left: 4px; top: -18px; }
    #candles-con #candle-16{ left: -9px; top: -1px;}

    #candles-con #candle-1{ left: 178px; top: -14px;}
    #candles-con #candle-3{ left: 191px; top: -27px; }
    #candles-con #candle-5{ left: 204px; top: -10px;}
    #candles-con #candle-7{  left: 217px; top: -24px;}
    #candles-con #candle-9{ left: 230px; top: -7px; }
    #candles-con #candle-11{ left: 243px; top: -21px;}
    #candles-con #candle-13{ left: 256px; top: -4px; }
    #candles-con #candle-15{ left: 269px; top: -18px;}
    #candles-con #candle-17{ left: 282px; top: -1px;}
    
    
    div#candle-con-lower #lac-message-container #lac-message-img {
	  background-size: 100% auto;
	  height: 61px;
	  left: -18px;
	  top: -45px;
	  width: 130px;
	}
    
    #bom-header div#bom-in-memory-con {
	top: 160px;
    }
    #bom-content-container {
	margin-top: 0 !important;
    }
    #bom-wrapper div#bom-header {
	height: 310px;
    }
    
    #bom-footer-con #bom-footer-provided-by-con {
	background-position: -560px top !important;
    }
    
    #bom-footer-con #bom-footer-provided-by{
	left: 5px;
	top: 5px;
	right: 0px;
    }
    #candle-msg-con{
    	display: none;
    }
	
    .bom-leave-condolence-con form .bom-textarea {
	    width: 290px !important;
    }
    #bom-lac-form #is-data #InfoAddress, #bom-lac-form #is-data #InfoCity, #bom-lac-form #is-data #InfoEmail {
	    width: 190px;
    }
    #bom-nav #bom-nav-subscriptionCTA, #bom-nav-familylogin {
	width: 48% !important;
    }
    #bom-nav #bom-nav-familylogin #bom-nav-familylogin-txt, #bom-nav #bom-nav-ficta #bom-nav-familylogin-txt,
    #bom-nav #bom-nav-subscriptionCTA #bom-nav-subscriptionCTA-text, #bom-nav #bom-nav-subscriptionCTA #bom-nav-subscriptionCTA-click {
	font-size: 12px !important;
    }
    form input[type="text"], textarea, .bom-donation-con .bom-textarea, select, #bom-charity-sel, form .bom-form-row input#CNumber {
	width: 240px;
    }
    form .bom-form-row input#CNumber {
	width: 240px !important;
    }
    form select#CEMonth, form select#CEYear {
	width: auto;
    }
    #bom-content-wrapper .bom-donation-con form .bom-form-row label {
	float: none;
    }
    div#aboutbom form .bom-textarea {
	width: 295px !important;
    }
    div#control {
	min-height: inherit;
    }
    #bom-footer-con #bom-footer-provided-by {
	left: 25px !important;
	top: 15px !important;
	width: 268px;
    }
    a.bom-button.bom-leave-condolence-link {
	margin-left: 30%;
	margin-top: 25px !important;
    }
    #florist-one-skin .header-bar {
	height: 65px;
    }
    .bom-video-con video#video-player {max-width: 100%; height: auto;}
}

@media screen and (max-width: 320px) {

    #bom-header div#bom-photo-frame {
	/*margin-left: -27px !important;*/
	width: 100% !important;
	background-size: contain !important;
	background-repeat: no-repeat;
    }
    div#candles-con, div#candle-con {
	top: 50px !important;
    }
    div#candle-con-lower {
	top: 95px !important;
    }

}
