.demo-4
{
    font-family:"Noto Sans Gurmukhi";
    box-shadow: 0px 0px 20px 0px #cdcaca;
	min-height: 300px;
	min-width: 300px;
}
/* .bb-item { display: block !important; } */
.bb-custom-wrapper {
	width: 100%;
	height: 100%;
	position: relative;
	
}

.bb-custom-wrapper .bb-bookblock {
	
	width: 100%;
	height: 100%;
	-webkit-perspective: 6000px;
	perspective: 6000px;
	-webkit-user-select: none; /* Safari */
  	-ms-user-select: none; /* IE 10 and IE 11 */
  	user-select: none; /* Standard syntax */
}

.bb-custom-side {
	width: 50%;
	float: left;
	height: 100%;
	overflow: hidden;
	background: #fff;
	/* Centering with flexbox */
	display: -webkit-box;
	display: -moz-box;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-moz-box-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-moz-box-align: center;
	-webkit-align-items: center;
	align-items: baseline;
}

.bb-custom-firstpage h1 {
	font-size: 2.625em;
	line-height: 1.3;
	margin: 0;
	font-weight: 300;
	font-family:"Noto Sans Gurmukhi", system-ui;
	color: #666;
}

.bb-custom-firstpage h1 span {
	display: block;
	font-size: 14px;
	opacity: 0.3;
	padding: 0 0 0.6em 0.1em;
	
}

.bb-custom-firstpage {
	text-align: center;
	padding-top: 15%;
	width: 50%;
	float: left;
	height: 100%;
}

.bb-custom-side.second-page
{
    justify-content:center;
    align-items:center;
    font-size:16px;
    color:#444;
}
.bb-custom-side.second-page span 
{
	position: relative;
    /* left: 100px;
    top: -5px; */
	font-size: 12px;
    color: #555;
}
.bb-custom-side p {
	font-family: "Noto Sans Gurmukhi", system-ui;
	padding: 8%;
	font-size: 1em;
	font-weight: 320;
	
	line-height: 1.5em;
}

.bb-custom-wrapper h3 {
	font-size: 22px;
	font-weight: 500;
	margin: 0 0 8px;
	color:#333;
}
.bb-custom-wrapper h2 {
    font-family: inherit;
    font-weight: 500;
    font-size: 20px;
    position: relative;
    margin-bottom: 12px;
}
.bb-custom-wrapper h2 span { 
    display: block;
    position: absolute;
    font-size: 11px;
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
}


.bb-custom-wrapper > nav {
	width: 100%;
	height: 0px;
	margin: 0;
	position: absolute;
	z-index: 999999;
	text-align: center;
}

.bb-custom-wrapper > nav a {
	display: inline-block;
	text-align: center;
	border-radius: 2px;
	color: #000;
	font-size: 14px;
	
}

.bb-custom-wrapper > nav a:hover {
	opacity: 0.6;
}

/* No JS */
.no-js .bb-custom-wrapper {
	height: auto;
}

.no-js .bb-custom-content {
	height: 700px;
}

.flip-book
{
    height: 700px;
}

.bb-custom-firstpage, 
.bb-custom-side
{
    position: relative;
    z-index: 1;
   
}

.bb-custom-firstpage:before, 
.bb-custom-side:before
{
      
      content: "";
      position: absolute;
      top: 0; 
      left: 0;
      width: 100%; 
      height: 100%;  
      z-index: -1;
}
.bb-custom-firstpage:before
{
    background: url('./../images/kudattan-front-page.jpg');
    background-size:cover;
	background-repeat: no-repeat;
	background-position: center;
}


.bb-custom-side:before
{
     background: url('./../images/background.jpg');
     background-size:cover;
     opacity: 0.3; 
	 background-position: center;
}
.bb-custom-side.last-page h2{
	font-size: 0px;
}
.bb-custom-side.last-page
{
	font-size: 0px;
	color: transparent;
}

.bb-custom-side.last-page:before
{
	background: url('./../images/back-cover.jpg');
	background-size:cover;
	background-position: center;
	opacity: 1; 

}
.bb-inner-box
{
    width: 100%;
    padding: 10px;
    padding: 20px 30px 10px 30px;
    text-align: center;
    font-family: "Noto Sans Gurmukhi";
}
.bb-inner-box ul.tatkra
{
    text-align:left;
    font-size:15px;
    list-style: none;
    margin-left: 0;
    list-style-type: none;
    padding-left: 25px;
	display: grid;
	grid-template-columns: auto;
	grid-template-rows: repeat(22, 1fr);
	grid-auto-flow: column;
}

.bb-inner-box ul.tatkra li
{
	line-height: 28px;
	position: relative;
}
.bb-inner-box ul.tatkra li span
{
    display: none;
	margin-left: 12px;
}
.bb-inner-box ul.tatkra li a
{
	color: inherit !important;
}
#bb-bookblock-mobile .bb-custom-firstpage,
#bb-bookblock-mobile .bb-custom-side
{
	width: 100%;
}

#bb-bookblock, .bb-pagination, #bb-nav-first, #bb-nav-last {
	display: block;
}

#bb-bookblock-mobile, .bb-pagination-mobile, #bb-nav-first-mobile, #bb-nav-last-mobile {
	display: none;
}

.bb-inner-box ul.tatkra li span
{
	position: absolute;
    bottom: -12px;
    font-size: 10px;
    font-weight: 500;

}
.poem-content
{
	display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: left;
    width: 100%;
}
.poem-content
{
	text-align: center;
}
.poem-content ul
{
	list-style: none;
	padding: 0;
	text-align: left;
	margin:0 0 12px 0;
}
.poem-content ul li
{
	font-size: 15px;
	line-height: 1.6;
}
.page-id-3243 .site-header .site-header-primary-section-right, .page-id-3243 .site-footer
{
	display: none;
}
.page-id-3243 .site-header
{
	position: absolute;
	z-index: 99;
	width: 100%;

}
.page-id-3243 .site-header .site-logo-img
{
	position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.page-id-3243 .site-header .site-primary-header-wrap
{
	min-height: 55px;
	padding: 0;
}
.page-id-3243 .main-header-bar
{
	padding: 0;
    background: transparent;
}
.page-id-3243 .custom-logo-link
{
	display: block;
	padding: 7px;
}
.page-id-3243 header .custom-logo-link img
{
	width: 160px;
}
.page-id-3243 .grecaptcha-badge
{
	display: none;
}
.bb-custom-icon-arrow-right, .bb-custom-icon-arrow-left
{
	background: url('./../images/arrow_icon.svg');
	width:35px;
	height: 35px;
	position: absolute;
	background-repeat: no-repeat;
	color: transparent !important;
	opacity: 0.7;
}
#bb-nav-goto, #bb-nav-goto-mobile  {
	display: none !important;
}
.bb-custom-icon-arrow-right 
{
	right: -60px;
}

.bb-custom-icon-arrow-left 
{
	left: -60px;
	transform: rotate(180deg);
}
.page-id-3243 .bb-pagination, .page-id-3243 .bb-pagination-mobile
{
	top: 50%;
    transform: translateY(-50%);
	margin: 0;
}
#bb-nav-first, #bb-nav-last, #bb-nav-first-mobile, #bb-nav-last-mobile
{
	position: absolute;
    bottom: -30px;
    left: 0;
    z-index: 999;
    font-size: 13px;
    color: #fff;
    background: #222222c4;
    padding: 4px 15px 2px;
	box-sizing: content-box;
}
#bb-nav-last
{
	left:unset;
	right:0;
}
#bb-nav-first:hover, #bb-nav-last:hover
{
	opacity: 1;
	background: #212121cb;
}
.swipe-left
{
    position: absolute;
    z-index: 9999999;
    bottom: 0px;
    left: 50%;
    background-size: 100% !important;
    width: 70px;
    height: 70px;
    background: url(./../images/swipe-left.gif);
    transform: translateX(-50%);
    
}
.swipe-left
{
    display:none;
}


@media (max-width: 1366px) and (orientation: landscape) {
	.swipe-left
    {
        display:block;
    }
}
@media (max-width: 1024px) and (orientation: landscape) {

	.flip-book
	{
		height:800px;
	}
	.swipe-left
    {
        display:block;
    }
}

@media (max-width: 1024px) and (orientation: portrait) {
    .swipe-left
    {
        display:block;
    }
	#bb-bookblock, .bb-pagination, #bb-nav-first, #bb-nav-last {
        display: none;
    }

	#bb-bookblock-mobile, .bb-pagination-mobile, #bb-nav-first-mobile, #bb-nav-last-mobile {
        display: block;
    }

	.book-main-container
	{
		max-width: 500px;
		margin: 0 auto;
	}


	.bb-custom-icon-arrow-right, .bb-custom-icon-arrow-left
	{
		width: 30px;
		height: 30px;
	}
	.bb-custom-icon-arrow-right 
	{
		right: 5px;
	}

	.bb-custom-icon-arrow-left 
	{
		left: 5px;
		transform: rotate(180deg);
	}
	#bb-nav-last-mobile
	{
		right: 0;
    	left: unset;
	}

}

@media only screen and (max-width: 767px) {
    .swipe-left
    {
        display:block;
    }
    /* For mobile, you can adjust styles or hide flip */
    #bb-bookblock, .bb-pagination, #bb-nav-first, #bb-nav-last {
        display: none;
    }

	#bb-bookblock-mobile, .bb-pagination-mobile, #bb-nav-first-mobile, #bb-nav-last-mobile {
        display: block;
    }
	.flip-book
	{
		height:620px;
	}
	.bb-inner-box ul.tatkra
	{
		grid-template-rows: repeat(22, 1fr);
		font-size:13px;
		padding-left: 5px;
	}
	.bb-custom-wrapper h2 {
		margin-bottom: 10px;
		font-size: 18px;
	}
	.bb-inner-box ul.tatkra li 
	{
		line-height:24px;
	}
	.bb-inner-box ul.tatkra li span
	{
		bottom: -11px;
		font-size: 9px;
	}

	.poem-content ul
	{
		margin-bottom: 11px;
	}
	.poem-content ul li
	{
		font-size: 14px;
		line-height: 1.5;
	}
	.page-id-3243 .custom-logo-link
	{
		padding: 8px 20px 0px 20px;
	}
	
	.bb-custom-icon-arrow-right, .bb-custom-icon-arrow-left
	{
		width: 30px;
		height: 30px;
	}
	.bb-custom-icon-arrow-right 
	{
		right: 5px;
	}

	.bb-custom-icon-arrow-left 
	{
		left: 5px;
		transform: rotate(180deg);
	}
	#bb-nav-last-mobile
	{
		right: 0;
    	left: unset;
	}

	.ast-desktop .ast-primary-header-bar.main-header-bar,
	.ast-header-break-point #masthead .ast-primary-header-bar.main-header-bar
	{
		padding: 0;
	}
	.page-id-3243 header .custom-logo-link img
	{
		width: 200px;
	}

	
}

@media only screen and (max-width: 385px) {
	.bb-inner-box ul.tatkra
	{
		font-size: 12px;
	}
	.page-id-3243 header .custom-logo-link img {
        width: 155px;
    }
}