

*{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

*:focus { outline: none;}

html,	body {
	display:table;
	margin:0px;
	padding:0px;
	height:100%;
	width:100%;
	font-size:100%;
	font-family: verdana,arial,sans-serif;
}



h1,h2,h3,h4,p{
	margin:0;
}


a{
	color:#004cff;
	text-decoration:none;
	cursor:pointer;
	font-size: 100%;
	transition: 0.5s all;
	-webkit-transition: 0.2s all;
}

ul, li {
	margin: 0;
	padding: 0;
	display: block;
}


nav > div, header > div, section > div, footer > div:nth-child(2) > div{
	display: table;
	border-collapse: collapse;
	width:95%;
	margin:0 auto;
}


header,section,footer
{
	display:table-row;
}


header{
	background: url(../img/bg.jpg) center top no-repeat;
	background-size: cover;
	height:1%;
}
header > div{

}
header > div > div{
	display	:	table-cell;
	vertical-align:middle;
	padding:10px 0;
}
header > div > div:nth-child(1){
	width:170px;
}
header > div > div:nth-child(1) > a{
	display:block;
	text-decoration:none;
	color:#FFFFFF;
	font-size:160%;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, .7);
}
header > div > div:nth-child(1) > a > span{
	color:#FFF;
	font-size:220%;
}
header form{
	display:table;
	width:100%;
}
header form input[type="text"]{
	display:inline-block;
	background:#FFF;
	border:1px solid #FFF;
	width: 85%;
	max-width:350px;
	height: 45px;
	padding: 10px 16px;
	font-size: 18px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-left: 0;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  transition: box-shadow 0.45s, border-color 0.45s ease-in-out;
}
header form	input[type="submit"]{
	display:inline-block;
	vertical-align: top;
	background:	#3061EE url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvb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/Pvsb8G0AAABkSURBVHjaYmCAgv///zcA8fv/CABiNzDgAkDJ8/9xg/PYNDQgmRyAJB6AZHMDuiaYRAAWAwNgBqJLgAEep2PKk6uJLOeRFRACWIL8PRq/AJfbsUYuSAPO+MIHkFxCX43vAQIMABf1JM+sc0n+AAAAAElFTkSuQmCC') 50% 50% no-repeat;
	cursor:	pointer;
	height: 45px;
	width: 45px;
	margin-left:-1px;
	background-color: #f6b33d;
  border: 1px solid #FFA300;
	border-left: 0;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}
header form	div{
	display:inline-block;
	vertical-align: top;
	background-color: #F1F1F1;
	height: 45px;
	padding:0 5px;
  border: 1px solid #ccc;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}
header form select {
	background-color:transparent;
	vertical-align: top;
	border:0;
	margin-top: 12px;
	color:#777777;
	cursor:	pointer;
}





nav{
	background: rgba(0, 0, 0, 0.2);
	font-size:80%;
	color: #FFF;
}
nav > div > div{
	display	:	table-cell;
	padding:10px 0;
}
nav > div > div:nth-child(2){
	text-align:right;
}
nav a{
	color: #12b4f0;
	text-decoration:none;
}
nav a:hover{
	color: #FFF;
	text-decoration:underline;
}




section	 > div{
	margin:20px auto 50px auto;
}
section	 > div > h2{
	font-size:120%;
	margin-bottom:5px;
}

footer{
	height:1%;
	font-size: 90%;
	background: url(../img/bg.jpg) 50% 50% no-repeat;
	background-size: cover;
}
footer > div{
	font-size:90%;
	padding:30px 0px;
}
footer > div:nth-child(1){
	color: #333;
	text-align:center;
}
footer > div:nth-child(1) h3{
  color: #333;
  font-weight: 700;
  font-size: 1.3em;
  margin: 0;
  padding: 0 0 0.3em 0;
}
footer > div:nth-child(1) h4{
  font-weight: normal;
  font-size: 90%;
  margin: 0;
  padding: 0 0 0.3em 0;
  margin: 0;
  margin-bottom:20px;
  padding: 0;
  color: #000;
}
footer > div:nth-child(2){
	background: rgba(240, 172, 18, 0.56);
	padding: 30px 0;
}
footer > div:nth-child(2) > div{
	display:table;
	margin:0 auto;
}
footer > div:nth-child(2) > div > div{
	display:table-cell;
	width:33%;
}
footer > div:nth-child(2) > div > div:nth-child(1) a{
	color: #FFFFFF;
	text-decoration: none;
	display: block;
	font-size: 100%;
	margin-bottom:2px;
}
footer > div:nth-child(2) > div > div:nth-child(1) a:before {
	content: "\f105";
	font-family: FontAwesome;
	padding-right:5px;
}
footer > div:nth-child(2) > div > div:nth-child(1) a:hover{
	color: #000;
}
footer > div:nth-child(2) h5{
	color: #000;
	font-weight: 700;
	font-size: 120%;
	margin: 0;
	padding: 0 0 5px 0;
}
footer > div:nth-child(2) p{
	color: #FFFFFF;
	font-size: 90%
	line-height: 1.7em;
}

footer > div:nth-child(3){
	color: #000;
	text-align:center;
}
footer > div:nth-child(3) a{
	text-decoration: none;
	cursor:	pointer;
	color: #000;
}
footer > div:nth-child(3) a:hover{
	color: #000;
	text-decoration:underline;
}


.BibleBooksHome{
	display: grid;
  grid-template-columns: repeat(1, 1fr);
}
.BibleBooksHome > div{
	margin-bottom:10px;

}
.BibleBooksHome > div > div{
	display:inline-block;
	margin-right:10px;
}
.ListenAudo,
.BibleBooksHome > div > div > div{
	display:inline-block;
	cursor:pointer;
	color:#999;
}
.BibleBooksHome > div > div > div:before {
}




.HomeInfoPanel{
	column-count: 2;
	margin-bottom:40px;
}


.BText{

}
.BText > div{
	margin-bottom:10px;
}
.BText > div > a{
	display:block;
	color:#000;
}
.BText > div > span{
	color:#333333;
	font-size:80%;
	font-style: italic;
}
.BText strong{
	color:#004BE0;
}
.BText hr{
	border:0;
	border-bottom:1px solid #ddd;
	margin:15px auto 15px;
}


.BibleDictionary > h3{
	margin:0;
}
.BibleDictionary > div{
	display: grid;
  grid-template-columns: repeat(7, 1fr);
	margin-bottom:30px;
}
.BibleDictionary > div > a{
	display:block;
}


.BibleNames > h3{
	margin:0;
}
.BibleNames > div{
	display: grid;
  grid-template-columns: repeat(7, 1fr);
	margin-bottom:30px;
}
.BibleNames > div > a{
	display:block;
}



.PageContent{
	-webkit-columns: 20px 3;
	-moz-columns: 20px 3;
  columns: 20px 3;
}
.PageContent > a{
	display:block;
}




.BibleМaps h3{
	margin:0;
}


.LocationDetails .Map{
	display:inline-block;
	float:left;
	margin:0 20px 30px 0;
}



.VerseDetails h1{
	font-weight:normal;
	font-size:120%;
	background: #f8f6f7;
	padding: 10px 20px;
}
.VerseDetails h2{
	font-weight:normal;
	font-size:120%;
}
.VerseDetails h3{
	margin:20px 0 0 0;
	font-size:100%;
}
.VerseDetails p{

}


.TextParagraph{
	background: #f8f6f7;
	padding: 0 20px 10px 20px;
}
.TextParagraph > div{
	margin-bottom:5px;
}
.TextParagraph > div > a{
	color:#000;
}


.CrossReferences{
	background: #f8f6f7;
	padding: 10px 20px;
}
.CrossReferences > a{
	display:inline-block;
	padding:2px 10px;
}

.Commentaries{

}

.VerseDetailsОtherТranslations{
	margin:0 0 30px 0;
}
.VerseDetailsОtherТranslations > div{
	padding: 10px 20px;
	margin-bottom:10px;
	background: #f8f6f7;
}
.VerseDetailsОtherТranslations > div > div{
	font-size:80%;
	font-weight: bold;
	text-align: right;
}
.VerseDetailsОtherТranslations > div > a{
	color:#333333;
}



.BookPagination{
	text-align:center;
	padding-top:30px;
}
.BookPagination > a{
	font-size: 90%;
}


.Column7{
	display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 30px;
}
.Column7 > a{
	display:block;
}

.Column3{
	display: grid;
  grid-template-columns: repeat(3, 1fr);
	margin-bottom:30px;
}
.Column3 > a{
	display:block;
}


.grid5{
	display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 30px;
}
.grid5 > a{
	display:block;
}

.columns6{
	display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 30px;
}
.columns6 > a{
	display:block;
}



.ToolTip{
	display: inline;
	position: relative;
}
.ToolTip:hover:after{
	background: #333;
	border-radius: 2px;
	top: 26px;
	color: #FFF;
	content: attr(passage);
	left: 0;
	padding: 5px 10px;
	position: absolute;
	z-index: 98;
	width: 500px;
	font-size:90%;
	font-style: normal;
}
.ToolTip:hover:before{
	border: solid;
	border-color: #333 transparent;
	border-width: 0 6px 6px 6px;
	top: 20px;
	content: "";
	left: 50%;
	position: absolute;
	z-index: 99;
}
.ToolTip.toleft:after{
	left: 10px;
}
.ToolTip.toright:after{
	left: -350px;
}

.tealce{
	column-count: 3;
    column-gap: 1em;
}
.tealce > div{
	/*overflow: auto;
	-webkit-column-break-inside: avoid;
	-moz-column-break-inside: avoid;
	column-break-inside: avoid;
	padding-bottom:20px;

	*/

    display: inline-block;
    margin: 0 0 1em;
    width: 100%;
}


.massson {
	display: grid;
 grid-gap: 10px;
 grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
 /*grid-auto-rows: 300px;*/
}





.Pagination{
	font-size: 16px;
	text-align:center;
	padding-top:30px;
}
.Pagination	a{
	display:inline-block;
	margin:0 3px;
	color:#004BE0;
	font-size: 16px;
	text-decoration:none;
}
.Pagination	.page_selected	{
	color:#000;
	height:	22px;
	padding:3px;
	text-decoration:none;
	font-size: 16px;
}



.FB{
	margin:10px auto;
	text-align:center;
}
#fb-root {display: none;}
.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {max-width: 580px !important;}
#fb-root .pam{padding: 0px !important;}



@media screen and (max-width: 970px) {
	nav > div > div,
	header > div > div {
		display:block!important;
		width:100%!important;
		padding:5px 0!important;
		text-align:center!important;
	}

	header form {
    display: table;
    width: 100%;
}
	.BibleDictionary > div {
		-webkit-columns: 10px 7;
		-moz-columns: 10px 7;
		columns: 10px 7;
		margin-bottom:10px;
	}
}

@media (max-width: 800px)	{

	.HomeInfoPanel,
	.BibleBooksHome{
		column-count: 1;
	}


	.AdHeader,
	aside > div > div:nth-child(1){
		display:none !important;
	}

	article{
		max-width: 100%;
		padding-left:5px;
	}

	header > div {
    margin-top: 0px;
	}

	header form > div{
		display: none;
	}

	header form input[type="text"] {
		border: 1px solid #ccc;
		border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
	}

	section	> div {
		line-height: 210%;
	}

	footer > div:nth-child(2) > div > div{
		display:block;
		width:100%;
		margin-bottom:20px;
		text-align: center;
	}

	.BibleBooksHome > div > a{
		display:block;
	}

	.BibleBooksHome > div > div > a{
		display:inline-block;
		padding:5px 10px;
	}


	.PageContent {
    -webkit-columns: 10px 2;
    -moz-columns: 10px 2;
    columns: 10px 2;
	}
}

@media (max-width: 600px)	{

	h1 {
		font-size: 110%!important;
	}

	nav > div,
	nav > div > div > span{
		display:none;
	}

	.HeaderImage{
		height:100px;
	}


	.BibleDictionary > div,
	.Column7{
		-webkit-columns: 10px 3;
		-moz-columns: 10px 3;
		columns: 10px 3;
		margin-bottom:10px;
	}



	.PageContent {
    -webkit-columns: 20px 1;
    -moz-columns: 20px 1;
    columns: 20px 1;
	}

}


@media (max-width: 375px)	{


	.BibleDictionary > div,
	.Column7{
		-webkit-columns: 10px 2;
		-moz-columns: 10px 2;
		columns: 10px 2;
		margin-bottom:10px;
	}



}