body {
	background-color:#000;
	background-image:url('/template/images/stars.gif');
	background-position:top center;
	background-repeat:repeat;
	color:#777 !important;
	margin:none !important;
	border-radius:none !important;
	font-family: 'Merriweather', serif;
}

div.body-section a:link,
div.body-section a:visited {
    text-decoration: none;
    color: #0062cc !important;
    outline: none !important;
}


div.body-section a:hover,
div.body-section a:focus {
    text-decoration: underline;
    color: #355690 !important;
    outline: none !important;
}

#contact-section .mb-5 {
  margin-bottom: 0 !important;
}

.review em {
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 0;
    color: #000000;
    font-style:normal;
    margin-left:0.8em;
    margin-top:10px;
}

body.home #banner-section picture *,
body.home #banner-section video {
	width:100%;
	height:auto;
	display:block;
	margin:5% auto;
}

body.home #about-section video,
body.home #about-section picture * {
	width:100%;
	max-width:600px;
	height:auto;
	display:block;
	margin:5% auto;
}

.page {
	padding:0;
	margin-bottom:0;
}

.hero-wrap .slider-text h1 {
	padding:30px 0;
}

#stars {
	position: fixed;
	right: 0;
	bottom: 0;
	min-width: 100%; 
	min-height: 100%;
}

form.bg-dark {
  background: transparent !important;
}

.hero-wrap {
	background-image:url('/template/images/clipper.png');
	background-position:top right;
	background-size:contain;
	background-repeat:no-repeat;
	height:auto !important;
	position:relative !important;
	/* overflow:hidden; */
}

.hero-wrap .slider-text .one-forth {
	height:auto !important;
}

.authorpic,
#author-section img {
	float:right !important;
	width:40%;
	max-width:350px !important;
	margin:0 0 40px 40px !important;
}

#book-cover-section .cover video {
	width:100%;
	height:auto;
	padding:5%;
}

/*
.hero-wrap:after {
	content:'';
	position:absolute;
	
	bottom:0;
	left:0;
	width:100%;
	height:17%;
	
	background-image:url('/template/images/sea.png');
	background-position:top right;
	background-size:cover;
	background-repeat:no-repeat;
	
	animation: sway 10s infinite;
    transform-origin: 50% 100% 0;
}
*/

.hero-wrap .slider-text {
        height:auto !important;
}

@keyframes sway {
    0%, 100%{ transform: rotate(-2deg);}
    50%{ transform: rotate(1deg); }
}

h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5 {
  line-height: 1.5;
  color: #fff;
  font-weight: 400;
  font-family: 'Merriweather', serif;
}

h4,
.heading-section .subheading,
.heading-section.heading-section-white .subheading {
	color:#5c87d4 !important;
}


.testimony-section .owl-dots .owl-dot.active {
	background: #5c87d4;
}

.testimony-section .owl-dots .owl-dot {
	background: rgba(255, 255, 255, 0.5);
}

.testimony-wrap .icon {
	background:#5c87d4;
}

h1, .h1 {
  color: #fff;
  text-shadow:rgba(0,0,0,0.7) 0 1px 3px;
}

h1 span,
.navbar-brand span,
h1 i,
.navbar-brand i {
	text-transform:uppercase;
	color: rgba(255,255,255,0.5) !important;
	border-top:1px solid white;
	border-bottom:1px solid white;
	padding:3px 1px;
	white-space:nowrap;
	font-style: normal;
}

.navbar-brand span,
.navbar-brand i {
	font-size:14px;
	font-style: normal;
}

h1 span,
h1 i {
	font-size:30px;
	font-style: normal;
}

 .hero-wrap .slider-text .subheading {
 	padding-top:30px;
      text-transform: uppercase;
      font-size: 14px;
      font-weight: 700;
      color: #5c87d4;
      letter-spacing: 2px;
}

.btn.btn-primary,
.ftco-footer .ftco-footer-widget .btn-primary,
.ftco-footer .ftco-footer-widget .btn-primary:hover {
    background: #5c87d4 !important;
    border: 1px solid #5c87d4 !important;
    color: #eee !important;
}

.btn.btn-primary:hover {
      border: 1px solid #355690 !important;
      background: #355690 !important;
      color: #fff !important;
}

.navbar-brand {
  font-weight: 700;
  font-size: 18px;
  font-family: 'Merriweather', serif;
}

.buypanel {
	float:left;
	width:50%;
	margin:5% 0;
	padding:5%;
	text-align:center;
}

.hero-wrap .slider-text span.subheading > p {
	font-size: inherit;
	line-height: inherit;
	font-weight: inherit;
}

#testimonial-section span.subheading p {
	font-size: inherit;
	line-height: inherit;
	font-weight: inherit;
	color: inherit;
}

.buypanel img {
	width:100%;
	height:auto;
	max-width:150px;
}

.hero-wrap div.text {
	background:rgba(0,0,0,0.35);
	border-radius:10px;
}

.ftco-footer {
	background: none;
	background-image:url('/template/images/sea.png');
	background-position:bottom center;
	background-repeat:repeat-x;
}

.user-img {
	display:none;
}

#author-section h2 {
	color:#333;
}

#author-section h2.white {
	color:#fff;
}

.blog-wrap {
	flex: 0 0 100%;
	border-bottom: 1px solid rgba(255,255,255,0.4) !important;
	background-color:rgba(255,255,255,0.85);
	padding:30px;
	
	background-image:url('/template/images/lined-paper.jpg');
	background-position:top right;
	background-size:cover;
	background-repeat:no-repeat;
	
	padding:5% 5% 5% 15%;
	
}

body.single-post div.heading-section {
	display:none;
}

body.blog .hero-wrap {
	background-size:contain;
	background-position:top right;
}
	
body.blog .js-fullheight {
	height:600px !important;
}

body.blog .hero-wrap div.text {
	background-color:transparent;
}


.hero-wrap .slider-text .one-forth {
          position: relative !important;
}

.hero-wrap .slider-text {
	overflow:initial !important;
}

.hero-wrap .slider-text .one-forth {
	top:50px !important;
}

@media (max-width: 1199.98px) {
        .hero-wrap .slider-text .one-forth {
          width: 100%;
          position: absolute;
          top: 0%;
          left: 0;
          right: 0;
          bottom: 0;
          z-index: 1;
          padding: 0;
        }
}

@media (max-width: 1006px) {
	.navbar-expand-lg .navbar-nav .nav-link {
		text-align:right !important;
		margin-right:12px;
	}
}

@media (max-width: 991.98px) {
        .hero-wrap .slider-text p {
          color: #fff;
    	}
    	.hero-wrap .overlay {
        	opacity: 0;
		}
		.hero-wrap div.text {
			padding:30px;
		}
		#author-section .py-md-5.w-100.bg-light.px-md-5 {
			padding:20px;
		}
}



@media (max-width: 800px) {
	.item.review {
		margin-bottom:40px;
	}
}

@media (max-width: 503px) {
	.navbar-brand {
		text-align:center;
	}
	.navbar-brand span {
		display: table;
		width: max-content;
		margin: 0 auto;
	}
	.hero-wrap .slider-text .one-forth {
          top: 10%;
        }
}

@media (max-width: 490px) {
       .buypanel {
       	width:100%;
       	margin:0;
       }
}

@media (max-width: 490px) {
        /*
        .hero-wrap .slider-text .one-forth {
          top: 0%;
        }
        */
}

@media (max-width: 375px) {
        .hero-wrap .slider-text .one-forth {
          top: 15%;
        }
}

@media (max-width: 350px) {
        .hero-wrap .slider-text .one-forth {
          top: 20%;
        }
}





@media (min-width: 992px) {
	.hero-wrap .slider-text .one-forth .text {
		max-width: 60%;
		top:5%;
		padding-top:30px;
		color:#ddd;
	}
	
	 .hero-wrap .slider-text .one-forth .text {
            position: relative;
            top: 0%;
            -webkit-transform: translateY(0);
            -ms-transform: translateY(0%);
            transform: translateY(0%);
    }
	
}

@media (max-height: 800px) {
        .hero-wrap .slider-text .one-forth {
          top: 5%;
        }
}

@media (max-height: 768px) and (max-width: 500px) {
        .hero-wrap .slider-text .one-forth {
          top: 35%;
        }
}

@media (max-height: 736px) {
        .hero-wrap .slider-text .one-forth {
          top: 20%;
        }
}

@media (max-height: 720px) {
        .hero-wrap .slider-text .one-forth {
          top: 10%;
        }
}
@media (max-height: 667px) {
        .hero-wrap .slider-text .one-forth {
          top: 35%;
        }
}
@media (max-height: 655px) {
        .hero-wrap .slider-text .one-forth {
          top: 30%;
        }
}

@media (max-height: 568px) {
        .hero-wrap .slider-text .one-forth {
          top: 60%;
        }
}

@media (max-height: 555px) {
        .hero-wrap .slider-text .one-forth {
          top: 60%;
        }
}

@media (max-width: 500px) {
        .authorpic,
        #author-section img {
			float:none !important;
			width:100%;
			max-width:100% !important;
			margin:40px 0 40px 0 !important;
		}
}

@media (max-height: 388px) {
        .hero-wrap .slider-text .one-forth {
          top: 80%;
        }
}



