* {
	margin: 0;
	padding:0;
}

html, body {
    position: relative;
	width: 100%;
	height: 100%;
	display: flex;
    flex-direction: column;


}

@font-face {
  font-family: 'StagSans-Book';
  src: url('fonts/StagSans-Book.eot?#iefix') format('embedded-opentype'),  url('fonts/StagSans-Book.otf')  format('opentype'),
	     url('fonts/StagSans-Book.woff') format('woff'), url('fonts/StagSans-Book.ttf')  format('truetype'), url('fonts/StagSans-Book.svg#StagSans-Book') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'StagSans-Light';
  src: url('fonts/StagSans-Light.eot?#iefix') format('embedded-opentype'),  url('fonts/StagSans-Light.otf')  format('opentype'),
	     url('fonts/StagSans-Light.woff') format('woff'), url('fonts/StagSans-Light.ttf')  format('truetype'), url('fonts/StagSans-Light.svg#StagSans-Light') format('svg');
  font-weight: normal;
  font-style: normal;
}


a {text-decoration:none;}
ul {list-style-type:none; height:100%}
ul li{margin:0 auto;}

.pageWrapper {
	background: rgba(226,229,231,1);
	background: -moz-radial-gradient(center, ellipse cover, rgba(226,229,231,1) 0%, rgba(165,171,176,1) 100%);
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(226,229,231,1)), color-stop(100%, rgba(165,171,176,1)));
	background: -webkit-radial-gradient(center, ellipse cover, rgba(226,229,231,1) 0%, rgba(165,171,176,1) 100%);
	background: -o-radial-gradient(center, ellipse cover, rgba(226,229,231,1) 0%, rgba(165,171,176,1) 100%);
	background: -ms-radial-gradient(center, ellipse cover, rgba(226,229,231,1) 0%, rgba(165,171,176,1) 100%);
	background: radial-gradient(ellipse at center, rgba(226,229,231,1) 0%, rgba(165,171,176,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e5e7', endColorstr='#a5abb0', GradientType=1 );
	width:100%;
	/* height: 100%; */
	/* overflow-y: hidden; */
	flex: 1 0 auto;
}

img {
	max-width:100%;
}

.pageTitle {
	height:130px;
	width:100%;
	background-color:#E32029;
	
}

.shadowBox   {
	width: 80%;
    /*max-width: 730px;*/
	max-width:840px; /*marina 30-7-18*/
    margin: 0 auto;
}

.shadowBox img {
	margin:0 auto;
	display:block;
	height:105px;
	z-index:-1;
}

.container{
	width:100%;
	height:auto;
	position:relative;
	flex: 1 0 auto;
	
}

.borderBox{

	width: 80%;
    max-width: 730px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    border-radius: 1.125em;
    background-color: white;
    background-image: url(images/shadow.png);
	background-position: 50% 284px;
    background-repeat: no-repeat;
    background-size: 102%;
	-webkit-box-shadow: 0px 15px 43px -13px rgba(0,0,0,0.65);
	-moz-box-shadow: 0px 15px 43px -13px rgba(0,0,0,0.65);
	box-shadow: 0px 15px 43px -13px rgba(0,0,0,0.65);
	
}


.backBtn {
	float: right!important;
	width: 50px;
	margin-top: -2px;
	height: 80px;
	cursor:pointer;
	z-index: 1;
    position: relative;
}

.backBtn svg {
	width: 50px;
	height: 80px;
}

.backBtn:hover .cls-7 {
	fill:black;
}

 .backBtn {
	float:right;
	margin-top: -105px;
}
	
.borderBox ul {
	text-align: center;
	
}

.borderBox ul li{
	margin-right: 5%;
	margin-bottom:50px;
}
.borderBox ul li:nth-child(4){		
		margin-right: 0;		
	}


.borderBox ul li:nth-child(5){		
		margin-bottom: 0;		
	}
	
	.borderBox ul li:nth-child(6){		
		margin-bottom: 0;		
	}
	
	.borderBox ul li:last-child{
		margin-right: 0;
		margin-bottom: 0;		
	}
	
.redRibbon{
	background-image:url('images/photoBG_shadows.png');
	background-position: top center;
	background-size:contain;
	background-repeat: no-repeat;
	display:block;
    display:inline-block;
	margin-top: -28px;
    width: 200px;
	height:258px;
	
}


.redRibbon img:first-child {
	margin: 15% auto;
    display: block;
    width: 65%!important;
}

.redRibbon img:last-child {
	/* margin: 0; */
    vertical-align: middle;
	width:10%;
	/* margin-top: -2px; */
}

	.redRibbon a img:hover {
	-webkit-filter: brightness(80%);
	}

.borderBox a:hover .pdfBtn,
.borderBox a:hover .pdfBtn {
	background-color: black;
}

.shineBox {
	margin-top:5px;
	clear: both;
}

.shineBox img {
	width:80%!important;
	margin:0 auto;
	display: block;
	max-width:730px;
	height:50px;
}

.footer {
	max-height:65px;
	background-color:#E32029; 
	position: relative;
	bottom: 0;
	width: 100%;
	font-family: 'StagSans-Light';
	font-size: 17px;
	text-align:center;
	line-height:63px;
	color:white;
	flex: 1 0 auto;
}
.footer.ETPage {
	max-height:65px;
	background-color:#E32029; 
	position: relative;
	bottom: 0;
	width: 100%;
	font-family: 'StagSans-Light';
	font-size: 17px;
	text-align:center;
	line-height:63px;
	color:white;
	flex: 1 0 auto;

}

.bookTxt {
 font-family: 'StagSans-Book';
}

.smallerTxt,
#copyYear {
 font-size: 13px;
}

/* .notActive { */
  /* pointer-events: none; */
  /* cursor: default; */
  /* text-decoration: none; */
	/* color: inherit; */
/* } */

/* .notActive img { */
/* -webkit-filter: brightness(50%); */
/* } */

/* English Trails Page */

.wrapper {
	    flex: 1 0 auto;
}

.logo {
	width:80%;
	/*max-width:730px;*/
	max-width:840px; /*marina 30-7-18*/
	margin:0 auto; 
	line-height:130px;
	
}

.logo  img{
	vertical-align:middle;
}


.mainBody{
	width:80%;
	max-width:840px;
	margin:0 auto; 
	flex: 1 0 auto;
}
.mainBody .bookTitleBox {
	background-color:#6D6E70;
	width:220px;
	height:60px;
	border-radius:0 0 25px 25px;
	float:right;
	overflow: hidden;
	margin-right: 35px;
	}

	
	.titleShadow {
		margin-top: -7px;
		
	}
	
	
	.bookTitle{
		width: 224px;
		text-align: center;
		line-height: 50px;
	}
	
	.mainBody .backBtn {
		/* margin-top: -62px !important; */
		margin-top: 0 !important;
		float:right;
		
	}
	
	/* .wrapper{ */
		/* width:100%; */
		/* margin:0px auto; */
		/* overflow:hidden; */
		/* box-sizing:border-box; */
		/* /* padding:0px 30px 0px 30px; */ */
		/* } */

	.topbar {
	width:100%;
	height:130px; 

	}

	.sjBook {
		background-color:#009FE3;
		background-color:#FFEC00;
	}

	.secondTop{
		background-color:#009FE3;
		width:100%;
		height:110px;
		
	}


	.pageTitle span:first-child {

		margin-right:62px; /*62px =/= 3.875em !!!*/
	}



	.bookLogo img {
	  vertical-align: middle;

	}

	.pageTitle .bookLogo {
		width:45%;
		float:left;
		padding-right:5%;
	}

	.pageTitle .bookLogo:last-child {

		width:50%;
		padding-right:0;
	}

	.pageTitle .bookLogo:last-child img {
		width:65%;

	}

	.contentsTitle span {
		display:block;
		float:left;
		margin-left: 15px;
	}

	.titleIcon {
		margin-right:0!important;
	  width: 75px;
		height:8.125em; /*needed for IE*/
	}

	.contentsIcon {
		width: 55px;
		height:80px;
		margin-left: 20px!important;
	}
	
	.titleIcon svg,
	.contentsIcon svg {
		width: 100%;
		vertical-align: middle;
}

	.contentsTitle {
		color: #231f20; /*offblack*/
		font-family: 'StagSans-Book';
		font-size: 29px;
		height:80px;
		line-height:80px;
		vertical-align:middle;
		margin-bottom: 20px;
	}

	.ETContents{
		background-color:#231F20;
		width:100%;
		height:auto;
		margin-bottom:45px;
		color:white;
		line-height:56px;
		font-size:1.875em;
		font-family: 'StagSans-Book';
		position:relative;
		min-width: 335px;

		

	}
	.ETContents span:first-child {
		padding-left:4%;
		padding-right:5%;
		display: inline-block;
		width:20%
	}


	.ETContents svg{
		width: 40px;
		position: absolute;
		top: 50%;
		transform: translate(-50%, -50%);
		right: 0%;
	}

	.ETContents  svg:hover .cls-3 {
		fill:white;
	}

	.ETContents  svg:hover .cls-4 {
		fill:#231F20;
	}
	


/* Media queries*/

@media screen and (max-width: 860px)
{
	.pageWrapper {
		height:auto;
		
	}
	.redRibbon {
		width:auto;
		margin-top:-32px;
		background-image:none;
		
	}
	.redRibbon:not(:nth-child(2)):not(:nth-child(3)) {
		background: rgba(245,245,245,0);
		background: -moz-linear-gradient(top, rgba(245,245,245,0) 0%, rgba(228,228,228,0) 11%, rgba(227,227,227,1) 11%, rgba(255,255,255,1) 60%, rgba(255,255,255,1) 100%);
		background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(245,245,245,0)), color-stop(11%, rgba(228,228,228,0)), color-stop(11%, rgba(227,227,227,1)), color-stop(60%, rgba(255,255,255,1)), color-stop(100%, rgba(255,255,255,1)));
		background: -webkit-linear-gradient(top, rgba(245,245,245,0) 0%, rgba(228,228,228,0) 11%, rgba(227,227,227,1) 11%, rgba(255,255,255,1) 60%, rgba(255,255,255,1) 100%);
		background: -o-linear-gradient(top, rgba(245,245,245,0) 0%, rgba(228,228,228,0) 11%, rgba(227,227,227,1) 11%, rgba(255,255,255,1) 60%, rgba(255,255,255,1) 100%);
		background: -ms-linear-gradient(top, rgba(245,245,245,0) 0%, rgba(228,228,228,0) 11%, rgba(227,227,227,1) 11%, rgba(255,255,255,1) 60%, rgba(255,255,255,1) 100%);
		background: linear-gradient(to bottom, rgba(245,245,245,0) 0%, rgba(228,228,228,0) 11%, rgba(227,227,227,1) 11%, rgba(255,255,255,1) 60%, rgba(255,255,255,1) 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#ffffff', GradientType=0 );
	}
	.redRibbon a {
		display: block;
		background-image: url(images/photoBG_shadows.png);
		background-position: top center;
		background-size: 82%;
		background-repeat: no-repeat;
		width: 276px;
		
	}

	.redRibbon img:first-child {
		margin: 11% auto;
		display:unset;
		width: 54%!important;
	}
	.borderBox { 
		width:548px;
		background-image:none;
	} 
	
	.borderBox ul li {
		margin-right: -4px!important;
		margin-left: -4px!important;
		padding-bottom:25px!important;
		
	}
	
	
	
.borderBox ul li:last-child {
	margin-bottom: 15px;
	
	
}
	
	.shineBox  {
        width: 548px;
		margin-left: auto;
		margin-right: auto;
	}
	
	.shineBox img {
    width: 100%!important;
	}
	
	.redRibbon img:last-child {	
	width:8%;
	
}



.pageWrapper .container {	
	margin-bottom: 70px;
}

/* .footer { */
	/* position:relative; */
	
/* } */

}

@media screen and (max-width: 1060px) 
{
.ETContents span:nth-child(2) {
		display:block;
		padding-left: 4%;
		
}

.ETContents span:first-child {

	width:50%
}

.ETContents svg{

    top: 73%;

}

/* .footer { */
	/* position:relative; */
	
/* } */
/* .footer.ETPage { */
	/* position: relative; */
	/* /* bottom: -65px; */ */
	
/* } */

}





