
.header-container a{
display: inline-block;
}

.header-container .donate{
max-width: max-content;
    float: right;
    width: 100%;
}

.header-container .donate button{
		margin: 0;
    background: #FAD038;
    color: #1D3B74;
    border-radius: 0;
		height: 75px;
}

.header-container .object.button-style-five:hover{
background:white;
}

.tile.header .masthead-logo{
max-width: 520px;
}

.content_container{
max-width: 1240px;
margin: auto;
position: relative;
}

#ama-page-22923 .site-wrapper{
background-color:#F8F8F8;
}

.site-wrapper{
background-color:white;
}


/*********************************Version 6**********************************************/

#ama-page-403 .tile{
padding-top:0;
}

#ama-page-404 .tile{
padding-top:0;
}

.site-wrapper{
max-width: none;
background-color: #F8F8F8;
}

#ama-page-403 .site-wrapper{
max-width: none;
background-color: #F8F8F8;
}

#ama-page-404 .site-wrapper{
max-width: none;
background-color: #F8F8F8;
}

#ama-page-22923 .content_container{
background:none;
}

.header .content_container{
background:none;
box-shadow:none;
}

.footer .content_container{
background:none;
box-shadow:none;
}

.content_container{
max-width: 1240px;
margin: auto;
position: relative;
background:white;
box-shadow: 0px 2px 18px 0px rgb(0 0 0 / 15%);
}

.tile.full-width-image-with-content {
    position: absolute;
}


.carousel-inner .item img{
opacity: 0.8;
}

.tile.header .header-container{
    text-align: center;
        max-width:unset;
        margin:auto;
        padding:0;
        background:#2D539A;
}

.carousel_overlay .masthead-logo{
max-width: 450px;
}

#ama-page-403 .tile.header .header-container{
    text-align: center;
        max-width:unset;
        margin:auto;
        padding:0;
        background:#2D539A;
}

#ama-page-403 .carousel_overlay .masthead-logo{
max-width: 450px;
}

#ama-page-404 .tile.header .header-container{
    text-align: center;
        max-width:unset;
        margin:auto;
        padding:0;
        background:#2D539A;
}

#ama-page-404 .carousel_overlay .masthead-logo{
max-width: 450px;
}

.carousel_overlay{
    position: absolute;
    z-index: 10;
        width: 100%;
        margin-top: 6%;
}

.carousel_overlay a{
display: table-cell;
}

.carousel_overlay .container{
    display: table-cell;
    vertical-align: middle;
}

.carousel_overlay .container a{
background-color: #2D539A;
    font-size: .875em;
    letter-spacing: 1px;
    font-family: "AvertaBold", sans-serif;
    color: white;
    text-transform: uppercase;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    padding: 9.5px 50px 11.5px 27px;
    margin-top: 18px;
    display: inline-block;
    margin-bottom: -10px;
    position: relative;
    -moz-transition: background-color 200ms ease-in-out;
    -o-transition: background-color 200ms ease-in-out;
    -webkit-transition: background-color 200ms ease-in-out;
    transition: background-color 200ms ease-in-out;
}

.carousel_overlay .container a:after{
position: absolute;
    content: "";
    background-image: url(/img/sprite-s6e9692456d.png);
    background-position: -10px -28px;
    background-repeat: no-repeat;
    overflow: hidden;
    display: inline-block;
    height: 11px;
    width: 14px;
    right: 26px;
    top: 50%;
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.carousel_overlay .container h1{
font-family: "Cardo", serif;
    font-weight: 700;
    font-size: 3.125em;
    line-height: 59px;
    color: white;
    letter-spacing: 0;
        text-shadow: 2px 2px #0000005e;
}

.carousel_overlay .masthead-crest{
height: 250px;
}

.carousel-inner .item{
max-height:400px;
}

.carousel .carousel-indicators{
display:none;
}

.tile.header .main-navigation{
background:#FAD038;
}

.tile.header .main-navigation .responsive-login-link, 
.tile.header .main-navigation .responsive-menu-open{
    color: #1D3B74;
}

.tile.header{
background-color: #FAD038;
}

#ama-page-403 .tile.header{
background-color: #FAD038;
}

.tile.header .main-navigation ul li a{
color:#1D3B74;
}

.tile.header .main-navigation ul li.has-dropdown:hover a{
color:#1D3B74;
}

.tile.header .main-navigation ul li.has-dropdown:hover .sub-menu a{
color:#1D3B74;
}

.grey_background{
background-color: #F8F8F8;
}

.blue_background{
    background-color: #99bbdf;
        position: relative;
/*    padding-bottom: 1.5em;*/
}

#ama-page-22873 .carousel_sidebar{
position: absolute;
}

.blue_background .about p{
color:#FAD038;
padding-right: 40px;
padding-top: 30px;
color:#1D3B74;
    font-size: 1.1em;
        font-weight: 600;
}

.blue_background .about p:last-child{
padding-bottom: 40px;
}

.join_us_box{
box-shadow: 5px 5px 10px 5px rgb(0 0 0 / 20%);
text-align: left;
margin-top:0;
width:92%;
margin-left: 2%;
padding:20px;
margin-top:30px;
}

#ama-page-22323 .join_us_box{
margin-top:0px;
}

#ama-page-22323 .join_us_box.this_day h1{
color:white !important;
}

.join_button{
box-shadow: 5px 5px 10px 5px rgb(0 0 0 / 20%);
width:92%;
margin-left: 2%;
margin-bottom:30px;
}

.box_container{
margin:4em 0;
background:white;
box-shadow: 5px 5px 10px 5px rgb(0 0 0 / 20%);
padding: 20px;
}

.join_us_box a{
color:#FAD038;
}

.box_container p{
padding-bottom:10px;
}

.box_container h2{
font-family: "PT Serif Caption", serif;
color:#1D3B74;
font-size: 1.4em;
font-weight: bold;
margin: 5px 0px 15px 0px;
}

.box_container .research_listings{
margin-top:30px;
margin-bottom:20px;
text-align: center;
}

.box_container .research_listings li{
width:20%;
display: inline-table;
text-align: center;
margin-right: 3%;
    font-weight: bold;
    position: relative;
}

.box_container .research_listings li a{
    text-decoration: none;
    padding:20px;
    background:#99bbdf;
    width: 100%;
    display: table-cell;
  height: 90px;    
    vertical-align: middle;
}

.box_container .research_listings li:last-child{
margin-right:0;
}

.triple_box{
text-align:center;
}

.triple_box .box_container{
width: 30%;
display: block;
float: left;
margin-right: 5%;
text-align:left;
}

.triple_box .box_container:hover{
text-decoration:none;
}

.triple_box .box_container div{
overflow: hidden;
position: relative;
}

.triple_box .box_container img{
max-width: 100%;
    height: auto;
    display: block;
        -webkit-transition: all .5s;
    transition: all .5s;
}

.triple_box .box_container:hover img{
transform: scale(1.1);
}

.triple_box li{
margin-left: 1em;
margin-right: 1em;
color: black !important;
font-family: 'Open Sans' !important;
line-height: 1.5em !important;
}

.triple_box .box_container ul li{
padding-bottom:10px;
}

.picture_background::before {    
content: "";
background-image: url("/img/An-English-Ship-with-Sails-Loosened-Firing-a-Gun-by-Peter-Monamy-edit2.jpg");
background-size: 100%;
background-repeat: no-repeat;
background-position: bottom;

position: absolute;
      top: 0px;
      right: 0px;
      bottom: 0px;
      left: 0px;
      opacity: 0.5;
}

.triple_box .box_container:last-child{
margin-right: 0;
}

.triple_box .box_container{
padding:0;    
}

.triple_box .box_container img{
width:100%;
}

.triple_box .box_container h2{
padding:0 20px;
}

.triple_box .box_container p{
padding:0 20px 20px 20px;
}

.box_container .publication_listings{
margin-top:10px;
margin-bottom:20px;
text-align: center;
}

.box_container .publication_listings li{
width:20%;
padding:20px;
display: inline-block;
text-align: center;
margin-right: 3%;
font-family: "PT Serif Caption", serif;
font-weight: bold;
color:#2D539A;
}

.box_container .publication_listings li:last-child{
margin-right:0;
}

.box_container .publication_listings li img{
width:100%;
margin-top:15px;
border:1px solid #f8f8f8;
box-shadow: 5px 5px 10px 5px rgb(0 0 0 / 20%);
}

.tile.header .main-navigation ul li a:after{
background:#1D3B74;
}

.tile.header .main-navigation.sticky{
    position: fixed;
    top: 0px;
        left:0;
}

.main_container.stuck{
margin-top:46px;
}

.box_container .research_listings li:hover a{
color: #2a6496;
}

.main_container .box_container ul.research_listings li a:after {
    position: absolute;
    bottom: 0px;
    width: 0;
    -moz-transition: width 200ms ease-in-out;
    -o-transition: width 200ms ease-in-out;
    -webkit-transition: width 200ms ease-in-out;
    transition: width 200ms ease-in-out;
    height: 4px;
    background-color: #FAD038;
    content: "";
    left: 50%;
    -moz-transform: translate(-50%);
    -ms-transform: translate(-50%);
    -webkit-transform: translate(-50%);
    transform: translate(-50%);
}

.main_container .box_container ul.research_listings li:hover a:after {
    width: 100%;
}


.box_container .publication_listings img{
max-width: 100%;
    height: auto;
    display: block;
        -webkit-transition: all .5s;
    transition: all .5s;
}

.box_container .publication_listings li:hover img{
transform: scale(1.1);
}

.tile.four-column-grid ul li h3{
font-family: unset;
font-size: 0.9em;
}

.tile.four-column-grid ul li p{
font-family: unset;
font-size: 0.75em;
line-height: 1.6em;
}

.tile.left-content-with-right-facebook-action .left-content{
max-width: -webkit-calc(100% - 500px);
}

.tile.left-content-with-right-facebook-action .facebook-action{
max-width: 470px;
}

.search-box .input-sm{
height: 40px;
    FONT-SIZE: 0.9em;
        width: 300px;
}

.search-box #results-search-button{
    padding-bottom: 10px !important;
    padding-top: 9px !important;
}

.fb img{
    width: 40px;
}

.carousel_sidebar .item .carousel-caption{
position:static;
padding: 0px;
text-shadow:unset;
text-align: left;
}

.join_us_box.this_day h1{
color:#FAD038 !important;
    font-size: 1.125em;
font-family: "PT Serif Caption", serif;
}

.join_us_box.this_day a {
    color: #FAD038;
}

.carousel_sidebar.carousel-fade .carousel-inner{
    background:unset;
}

.tile.header .main-navigation ul li.has-dropdown{
    padding-right: 25px;
}

.tile.header .main-navigation ul li.has-dropdown:after{
right: 10px;
}

.trafalgar_way::before{
    /*content: "";
    background-image: url(/img/trafalgar-way-banner.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;*/
}

.trafalgar_way_route{
position: absolute;
    top: 33px;
    left: 53px;
}

.trafalgar_way_route img{
max-width:185px;
}

.trafalgar_way_background{
margin-bottom:-8px;
}

.trafalgar_way{

}

.trafalgar_way_container{
    position: relative;
    overflow: hidden;
}

.tile.four-column-grid.blue{
border-top: 6px solid #313f70;
}

.trafalgar_way .trafalgar_way_text{
        font-size: 1.2em;
        padding: 26px 30px 36px 30px;
        max-width: 600px;
    width: 100%;
    position: absolute;
    /*top: 15%;*/
        bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: #e6eada6e;
    box-sizing: border-box;
}

.trafalgar_way .trafalgar_way_text p{
    color: #303e70;
    margin-bottom:20px;
}

.trafalgar_way .trafalgar_way_text a{
    padding: 12px 18px;
        font-size: 17px;
        background:#1D3B74;
        color:white;
}

.trafalgar_way .trafalgar_way_text a:after {
    position: absolute;
    bottom: 0px;
    width: 0;
    -moz-transition: width 200ms ease-in-out;
    -o-transition: width 200ms ease-in-out;
    -webkit-transition: width 200ms ease-in-out;
    transition: width 200ms ease-in-out;
    height: 4px;
    background-color: #FAD038;
    content: "";
    left: 50%;
    -moz-transform: translate(-50%);
    -ms-transform: translate(-50%);
    -webkit-transform: translate(-50%);
    transform: translate(-50%);
}

.trafalgar_way .trafalgar_way_text a:hover:after {
    width: 100%;
}

.trafalgar_way .trafalgar_way_text a:hover {
text-decoration:none;
}

.memorial_text{
	padding: 26px 30px 36px 30px;
	max-width: 60%;
	width: 100%;
	position: absolute;
	bottom: 15%;
	left: 50%;
	transform: translateX(-50%);
	text-align: left;
/*	background: rgba(230, 234, 218, 0.6); */
	box-sizing: border-box;
}

.memorial_text p{
 color: #FFFFFF;
    margin-bottom:20px;
		font-size: 1.1em;		
font-family: "PT Serif Caption", serif;		
padding-left: 1em;
background-color: #2d539a9c;
xbackground:#2d539a00;

	position: relative;
	left: -200%;
	opacity:0;
}

.memorial_text h2{
    margin-bottom:20px;
		font-size: 1.5em;
font-family: "PT Serif Caption", serif;
 color: #FFFFFF;
font-weight: bold;		
padding-left: 1em;
background-color: #2d539a9c;
xbackground:#2d539a00;

	position: relative;
	left: -200%;
	opacity:0;
}

.memorial_text a{
	color:white;
text-decoration:underline;	
}

.memorial_text a:hover {
text-decoration:none;
}

@media (max-width: 1400px) {

    .carousel_overlay{
            margin-top: 4%;
    }

}

@media (max-width: 1200px) {

    #ama-page-22923 .carousel_overlay{
        margin-top:20px;
    }

    .carousel_overlay{
        margin-top:0;
    }
    
    .carousel_overlay .masthead-crest{
        padding-left: 40px;
    }
        
        .trafalgar_way .trafalgar_way_text{
            font-size:1.4em
        }
        
        .trafalgar_way .trafalgar_way_text a{
            font-size: 15px;
        }


}

@media (max-width: 1024px) {

.tile.header .main-navigation ul li.has-dropdown{
padding-right:0px;
}

.tile.header .main-navigation ul li.has-dropdown:hover .sub-menu a{
color:white;
}

.tile.header .main-navigation .mobile_hide{
display: inline-block !important;
}

.tile.header .main-navigation .desktop_hide{
display:none !important;
}

.tile.header .main-navigation ul li.has-dropdown a:hover{
color:#FAD038;
}

.tile.header .main-navigation ul li.has-dropdown:hover a{
color:#FAD038;
}

    .carousel_overlay .masthead-crest {
            height: 200px;
    }

        .tile.header .masthead-logo{
            max-width: 450px;
        }
				
				.header-container .donate button{
					height: 65px;
				}

        .trafalgar_way .trafalgar_way_text{
            max-width:700px;
            padding: 26px 30px 36px 30px;
        }

    .carousel_overlay .container h1{
        font-size: 2.4em;
    }
    
    .tile.left-content-with-right-facebook-action .left-content p{
            font-size: 12px;
    }
    
    .box_container .research_listings li a{
        min-height: 90px;
    }
    
    .box_container .research_listings li{
        vertical-align: top;
    }
    
    .carousel-inner .item{
        max-height: initial;
    }

}

@media (max-width: 1023px) {

    .tile.header .main-navigation ul li a{
    color:white;
    }
    
}

@media (max-width: 768px) {

        .trafalgar_way .trafalgar_way_text{
            max-width: 90%;
            padding: 20px;
            font-size: 1.2em;
            padding-bottom: 30px;
        }
        
        .trafalgar_way .trafalgar_way_text p{
                margin-bottom: 25px;
        }
    
    .carousel_overlay .container h1{
        font-size: 1.8em;
    line-height: unset;
    }
    
    .carousel_overlay .container{
    
    }
    
    .carousel_overlay .masthead-crest{
        height: 160px;
    }
    
    .tile.left-content-with-right-facebook-action .left-content{
        max-width: unset;
        margin-bottom:10px;
    }
    
    .tile.left-content-with-right-facebook-action .facebook-action{
            max-width: unset;
                margin-left:0;
    }
    
    .tile.left-content-with-right-facebook-action .facebook-action .fb{
            margin-top:20px;
            text-align:center;
    }
        
        .tile.left-content-with-right-facebook-action .facebook-action .fb a{
            margin-left:15px;
        }
    
    .box_container .publication_listings li{
        width: 45%;
    }
    
    .box_container .research_listings li{
        width: 45%;
        margin-right:0;
        margin-bottom:20px;
    }
    
    .box_container .research_listings li:nth-child(odd){
            margin-right: 10px;
    }
    
    .box_container .research_listings li:nth-child(even){
            margin-left: 10px;
    }
    
    .picture_background::before{
        background-size: 200%;
    }
    
    .triple_box .box_container{
        width: 100%;
        margin: 2em 0;
    }
    
    .triple_box .box_container:first-child{
        margin-top: 3em;
    }
    
    .triple_box .box_container:last-child{
        margin-bottom: 3em;
    }
    
    .tile.left-content-with-right-facebook-action .search-box{
            display: block;
    }
    
    .tile.left-content-with-right-facebook-action .search-box .input-group{
        width: 100%;
    }
    
    .tile.left-content-with-right-facebook-action .search-box .input-group-btn{
        vertical-align: top;
        top:0;
    }
    
    .search-box .input-sm{
        width: 100%;
    }

}

@media (max-width: 767px) {

.memorial_text{
max-width:100%;
}

.memorial_text h2{
    left: 0;
    opacity: 1;
}

.memorial_text p{
    left: 0;
    opacity: 1;
}

.blue_background .about p{
padding-right:0px;
}

	.carousel_overlay .masthead-crest{
		padding-left: 10px;
	}
	
	.trafalgar_way_route{
	top:0;
	left:0;
	}

	.trafalgar_way .trafalgar_way_text{
		position: static;
		position: static;
    left: unset;
		transform: translateX(0%);
		max-width:100%;
	}

	.header-container a{
		 display: block;		
	}
	
	.header-container .donate{
			max-width:100%;
			float:none;
	}
	
	.header-container .donate button{
			height: unset;
	}
	
	.header-container .object.button-style-five{
			font-size: 0.8em;
	}
	
}

@media (max-width: 600px) {

#ama-page-22923 .carousel_overlay{
margin-top:0;
}

#ama-page-22923 .carousel_overlay .container h1{
font-size:1.4em;
}

.carousel_overlay .container a{
font-size:0.8em;
}

.carousel_overlay .masthead-crest{
height: 150px;
}

}

@media (max-width: 600px) {
	.trafalgar_way_route img{
			height: 90px;
	}
	
	.carousel_overlay .container h1{
		font-size: 1.6em;
	}
	.memorial_text{
		    font-size: 80%;
		}

}

@media (max-width: 470px) {
	.memorial_text{
		    position: unset;
				transform: unset;
				font-size: unset;
				background-color: #2D539A;
				padding: 10px;
		}
}

@media (max-width: 300px) {
	.trafalgar_way_route img{
			height: 60px;
	}
	
	#ama-page-22923 .carousel_overlay .container h1{
		font-size: 1.2em;
	}
}

.map_key{
    border: 1px solid #F8F8F8;
    float: right;
    width: 100%;
		padding:10px;
		max-width: 550px;
}

.map_key div{
padding:10px 0;
display: table;
}

.map_key p{
display: table-cell;
vertical-align: middle;
text-align: right;
}

.map_key img{
display: table-cell;
}

.map_key input{
margin-right:10px;
}

#ama-page-22973 .results-expanded div{

}

#ama-page-22973 .results-expanded div.map_field{
margin-top: 10px;
}

.mem-log-div {
  margin-top: 0px;
  background-image: url("/img/mem-map2.gif");
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
	}
	
.shop_listings{
    display: grid;
    grid-gap: 2em;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    margin-top: 2em;
		text-align: left;
}

.shop_listings img{
width:100%;
max-width: 100%;
    height: auto;
    display: inline-block;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.shop_listings img:hover{
    transform: scale(1.1);
}

.shop_listings h3{
margin-top: 22px;
}

.shop_listings p{
margin-top: 16px !important;
}

.shop_listings .img_wrapper{
    overflow: hidden;
    position: relative;
}

.shop_listings .button{
color: #1D3B74;
font-family: "Open Sans Semibold",sans-serif;
font-size: 1em;
padding: 10px 12px;
background-color: #FAD038;
display: inline-block;
margin-top:1em;
position: relative;
}

.shop_listings a:hover{
text-decoration:none;
}

.shop_listings .button:after{
position: absolute;
    bottom: 0px;
    width: 0;
    -moz-transition: width 200ms ease-in-out;
    -o-transition: width 200ms ease-in-out;
    -webkit-transition: width 200ms ease-in-out;
    transition: width 200ms ease-in-out;
    height: 4px;
    background-color: #1D3B74;
    content: "";
    left: 50%;
    -moz-transform: translate(-50%);
    -ms-transform: translate(-50%);
    -webkit-transform: translate(-50%);
    transform: translate(-50%);
}

.shop_listings .button:hover:after{
    width: 100%;
}

#ama-page-23073 .shop_listings{
display: block;
}

#ama-page-23073 .shop_listings .listing{
border-bottom: 1px solid #586072;
padding-bottom: 40px;
padding-top: 40px;
display: inline-block;
width:100%;
}

#ama-page-23073 .shop_listings .listing .inner_listing{
max-width: 900px;
margin: auto;
}

#ama-page-23073 .shop_listings .img_wrapper{
max-width: 400px;
float:left;
margin-right: 2em;
margin-bottom: 2em;
}

#ama-page-23073 .shop_listings h3{
margin-top:0;
}

#ama-page-23073 .shop_listings .button{
float: right;
}

.grid-25-75{
	grid-template-columns: 25% calc(75% - 10px);
	display: grid;
	grid-gap: 10px;
}

.grid-50-50{
	grid-template-columns: 50% calc(50% - 10px);
	display: grid;
	grid-gap: 10px;
}


.grid-70-30{
	grid-template-columns: calc(70% - 10px) 30%;
	display: grid;
	grid-gap: 10px;
}

.tooltip_col .toolatr {
  width: 210px;
  background-color: #428bca;
  padding: 0.5em;
  font-size: 0.8em;
  text-align: left;
  letter-spacing: 0.05em;
}
