* {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

/*----------------------------------------------------------------------------*/
/* Bootstrap overrides */

label {
	font-weight: normal;
	cursor: pointer;
}

/*----------------------------------------------------------------------------*/

html {
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	padding: 0;

	font-family: 'PT Sans', Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 20px;
}

p {
	margin: 0 0 20px 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Belleza", Arial, Helvetica, sans-serif;
}

h1 {
	color: #333333;
	font-size: 32px;
	line-height: 48px;
	margin: 0.5em 0;
}

h2 {
	font-size: 30px;
	letter-spacing: 0.5px;
	color: #d75d2b;
	line-height: 30px;
	margin: -10px 0 20px 0;
}

h3 {
	font-size: 19px;
	margin-top: 2em;
	color: #333;
}

h2.mtv-page-title {
	text-align: center;
	margin-bottom: 0;
}

h3.mtv-page-subtitle {
	text-align: center;
	margin-top: 6px;
	margin-bottom: 15px;
}

a,
a:link,
a:visited {
	color: #d75d2b;
	text-decoration: none;
	cursor: pointer;
}

a:hover,
a:active {
	color: #ffae5d;
	text-decoration: none;
}

.clearfix {
    clear: both;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.se-error {
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	margin: 60px 0 !important;
}

.center {
	text-align: center;
}

/* Hide vimeography container until vimeography.css is loaded (fix #13) */
.vimeography-greyscale {
	visibility: hidden;
}

.cleeng-subscriptions {
	display: block;
	float: right;
	margin-top: 50px;
	text-align: right;
	width: 100%;
}

.cleeng-subscriptions a {
	color: #000;
	font-size: 14px;
}

.tcbox {
	border: 1px solid #bababa;
	border-top: 5px solid #d75d2b;
	padding: 20px;
	width: 100%;
}

.tcbox ol {
	margin: 16px 0;
}

.rt-error {
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	margin: 60px 0 !important;
}

/* FIXME this was added for online retreat pages in the first place. */
.row .col-sm-6 img {
	max-width: 100%;
	height: auto;
}

/*----------------------------------------------------------------------------*/

/*
	Button styles. Can be used both with hrefs and with buttons.
	The right way to use buttons in HTML:
		<p class="text-center"><a class="btn btn-mtv" href="/live-satsang/">Watch Live</a></p>

	The old (wrong because it is button inside a link...) way:
		<a href="/live-broadcast/live-satsang/"><button id="subscribeCleeng" class="moojitv">Watch live</button></a>
*/

.btn-mtv,
.btn-mtv:link,
.btn-mtv:visited,
.moojitv {
	-moz-border-radius: 0;
	border-radius: 0; /* bootstrap styles override */
	display: inline-block;
	width: 226px;
	max-width: 100%;
	margin: 0 20px 20px 20px;
	padding: 1px 23px 0 23px;
	border: 0;
	border-bottom: 3px solid #96340e;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	/*text-shadow: 0 0 1px #888;*/
	font-size: 13px;
	line-height: 32px;
	color: #FFF;
	background-color: #d75d2b;

	/* animate background color */
	-webkit-transition: background-color 200ms linear;
	   -moz-transition: background-color 200ms linear;
		 -o-transition: background-color 200ms linear;
			transition: background-color 200ms linear;
}

.moojitv {
	margin: 0;
}

.btn-mtv:hover,
.btn-mtv:focus,
.moojitv:hover,
.moojitv:focus {
	background-color: #fd8a19;
	text-decoration: none;
	color: #FFF;
}

.btn-mtv:active,
.btn-mtv.active,
.moojitv:active,
.moojitv.active {
	margin-top: 3px;
	text-decoration: none;
	color: #FFF;
	border-bottom-width: 0;
	-webkit-box-shadow: inset 0 3px 0 0 #96340e;
	   -moz-box-shadow: inset 0 3px 0 0 #96340e;
			box-shadow: inset 0 3px 0 0 #96340e;
}

.btn-mtv.disabled,
.btn-mtv:disabled,
.btn-mtv[disabled],
.moojitv[disabled] {
	background-color: #fd8a19;
	background-image: none;
}

/*----------------------------------------------------------------------------*/

.no-bottom-margin {
	margin-bottom: 0;
}

/* HEADER */
.mtv-header {
	border-top: 25px solid #d75d2b;
	border-bottom: 1px solid #808080;
	height: 161px;
}

.mtv-header-logo {
	display: block;
	height: 135px;
	width: 240px;
	max-width: 100%;
	margin: 0 auto;
	background: url('../img/logo.png') 50% 50% no-repeat;
}

/* MAIN CONTENT WIDTH */

.container-fluid {
	padding: 0 25px;
}

.post-type-archive-freemedia .container-fluid {
	padding: 0;
}

.mtv-page-slug-online-retreat .container-fluid,
.single-freemedia .container-fluid,
.mtv-page-slug-radio .container-fluid {
	padding: 0 20px;
}

.mtv-content-block,
.mtv-content-block-2 {
	padding-top: 35px;
	max-width: 985px;
	margin: 0 auto;
}

.mtv-content-block-2 {
	padding-top: 0;
}

.mtv-page-slug-broadcast .mtv-content-block {
	max-width: 685px;
}

.mtv-page-slug-sahaja-express .mtv-content-block,
.mtv-page-slug-radio .mtv-content-block,
.mtv-page-slug-online-retreat .mtv-content-block,
.post-type-archive-freemedia .mtv-content-block,
.single-freemedia .mtv-content-block {
	max-width: 940px;
}

.error404 .mtv-content-block,
.search-no-results .mtv-content-block,
.search-results .mtv-content-block {
	max-width: 820px;
}

/*----------------------------------------------------------------------------*/
/* SLICK SLIDER STYLES FOR HOMEPAGE*/

.mtv-slider {
   margin-bottom: 0;2
}

.mtv-slider img {
   width: 100%;
}

.mtv-slider__prev-arrow,
.mtv-slider__next-arrow {
   position: absolute;
   opacity:0.8;
   top: 50%;
   margin-top:-31px;
   width: 63px;
   height: 63px;
   background:none;
   background-color: rgba(0, 0, 0, 0.5) ;
   color:#fff;
   cursor: pointer;

   -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
   -moz-opacity: 1;
   -khtml-opacity: 1;
   opacity: 1;
   -webkit-transition: opacity 0.2s ease-out; -moz-transition: opacity 0.2s ease-out; -o-transition: opacity 0.2s ease-out; -ms-transition: opacity 0.2s ease-out;
   -webkit-transform: translateZ(1000px);
   -webkit-transform-style: preserve-3d;
}

.mtv-slider__prev-arrow:before,
.mtv-slider__next-arrow:before {
   position: absolute;
   padding:0;
   width: 100%;
   line-height: 63px;
   text-align: center;
   font-size: 34px;
   font-family: 'Ionicons';
   -webkit-font-smoothing: antialiased;
}


.mtv-slider__prev-arrow:before {
   content:"\f3d2";
   margin-left: -2px;
}

.mtv-slider__next-arrow:before {
   content:"\f3d3";
   margin-left: -1px;
}

.mtv-slider__next-arrow {
   left:auto;
   right:0;
}

.mtv-slider:hover .mtv-slider__prev-arrow,
.mtv-slider:hover .mtv-slider__next-arrow {
   display:block;
   opacity:0.8;
}

.mtv-slider .mtv-slider__prev-arrow:hover,
.mtv-slider .mtv-slider__next-arrow:hover {
   opacity:1;
}

.mtv-slider__prev-arrow {
   background-position: 19px 19px;
   left: 0;
   margin-left:0;
   z-index:100;
   opacity: 0;
}

.mtv-slider__next-arrow {
   background-position: 29px 19px;
   right: 0 ;
   margin-left:0;
   z-index:100;
   opacity: 0;
}

/* Shadows */

.mtv-slider__bottom-shadow {
   position: absolute;
   pointer-events: none;
   background-image: url(../img/revslider-shadow-bottom.png);
   background-repeat: no-repeat;
   background-position: bottom center;
   height: 32px;
   width: 100%;
   bottom: 0;
   z-index: 99;
}

.mtv-slider__top-shadow {
   position: absolute;
   pointer-events: none;
   background-image: url(../img/revslider-shadow-top.png);
   background-repeat: no-repeat;
   background-position: top center;
   height: 42px;
   width: 100%;
   top: -1px;
   z-index: 99;
}

/* PAGINATION */

.pagination {
	float: right;
	margin: 40px 30px 0 0;
	font-size: 12px;
}

.pagination a {
	margin-bottom: 5px;
	outline-offset: initial;
}

.pagination a.inactive {
	border: 1px solid #747474;
	display: inline-block;
	height: 20px;
	line-height: 18px;
	color: #747474;
	padding: 0 6px;
	margin-left: 5px;
	border-color: #e0dede;
}

.pagination .pagination-next {
	display: inline;
	font-size: 12px;
	margin-left: 8px;
}

.pagination .pagination-prev {
	display: inline;
	font-size: 12px;
	margin-right: 3px;
}

.pagination .pagination-prev:before,
.pagination .pagination-next:after {
	position: absolute;
	font-size: 13px;
	font-family: 'Ionicons';
	color: #333333;
	padding-top: 1px;
}

.pagination .pagination-next:after {
	content: "\f3d1";
	padding-left: 5px;
}

.pagination .pagination-prev:before {
	content: '\f3cf';
	margin-left: -10px;
	padding-right: 5px;
}

.pagination .current,
.pagination a.inactive:hover {
	border: 1px solid #d75d2b;
	display: inline-block;
	height: 20px;
	line-height: 18px;
	color: #fff;
	padding: 0 6px;
	margin-left: 5px;
}

.pagination .current {
	background-color:#d75d2b;
}

.pagination a.inactive:hover {
	color: #ffae5d;
}

.pagination .pagination-next:hover:after,
.pagination .pagination-prev:hover:before {
	color: #d75d2b;
}

/*----------------------------------------------------------------------------*/

/* INDEX PAGE */

/*
	Tiles.
	Columns with image tiles.
	For now we use same classes that were used in
	Avada and Fusion.
 */

.column-container {
	position: relative;
	max-width: 340px;
	min-height: 440px;
	margin: 0 auto;
}

/* FIXME is it only on index page? If so - it is better to update css selector */
.column-container a {
	display: block;
	position: absolute;
	width: 100%;
	bottom: 0;
	text-align: center;
}

.imagehoverbox {
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	   -moz-background-size: cover;
			background-size: cover;
}

.imagehoverbox img {
	display: block;
	max-width: 100%;

	opacity: 1;

	/* This fixes image jumping */
	-webkit-transform: translateZ(0px);
	   -moz-transform: translateZ(0px);
		-ms-transform: translateZ(0px);
		 -o-transform: translateZ(0px);
			transform: translateZ(0px);

	-webkit-transition: opacity 300ms linear;
	   -moz-transition: opacity 300ms linear;
		 -o-transition: opacity 300ms linear;
			transition: opacity 300ms linear;
}

.imagehoverbox:hover img {
	opacity: 0;
}

.p-product {
	text-align: justify;
}

/*----------------------------------------------------------------------------*/

/* SUBSCRIPTION PAGE */

.p-image img {
	max-width: 100%;
	height: auto;
}

.mtv-subscription-tiles {
	margin-left: -19px;
	margin-right: -19px;
}

.mtv-subscription-tiles .col-sm-4 {
	padding-left: 19px;
	padding-right: 19px;
}

/*----------------------------------------------------------------------------*/

/* LIVE SATSANG PAGE */

#LiveSatsangNotification,
#MoojiTvNotification {
	text-align: center;
	font-style: italic;
	border: 1px solid silver;
	max-width: 640px;
	margin: 0 auto 20px auto;
	padding: 10px;
}

.mtv-live-satsang-container {
	max-width: 640px;
	margin: 40px auto 0 auto;
}

/*----------------------------------------------------------------------------*/

/* ONLINE RETREAT PAGES */

.tabs {
	margin: 0.7em 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.tabs li {
	display: inline-block;
	padding: 0.5em 1em;
	/* border-radius: 5px; */
}

.tabs li.active {
	background-color: rgba(215, 93, 43, 0.2);
}

.mtv-page-slug-broadcast img.aligncenter {
	max-width: 100%;
}

#online_retreat_player {
    height: 900px;
    margin-top: 40px;
}

/*----------------------------------------------------------------------------*/

/* CONTACT US PAGE */

.mtv-page-slug-contact-us .tcbox {
	margin-bottom: 20px;
}

/*----------------------------------------------------------------------------*/

/* FOOTER */

.mtv-footer {
	height: 624px;
	background: url('/wp-content/uploads/2014/08/BOTTOM-PHOTO.jpg') center center no-repeat;
	-webkit-background-size: cover;
	   -moz-background-size: cover;
			background-size: cover;
	text-align: center;
	padding: 9em 15px 0 15px;
}

.mtv-footer-quote {
	font-size: 22px;
	font-family: "Belleza", Arial, Helvetica, sans-serif;
	line-height: 30px;
}

.mtv-footer-quote:before,
.mtv-footer-quote:after {
	content: '"';
}

/*----------------------------------------------------------------------------*/

.mtv-orange-box {
	position: relative;
	background-color: #d75d2b;
	color: #FFF;
	padding: 32px 60px 20px 60px;
}

.mtv-orange-box:before {
	content: "";
	position: absolute;
	display: block;
	width: 40px;
	height: 40px;
	background-color: #d75d2b;
	left: 50%;
	margin-left: -20px;
	top: -20px;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		 -o-transform: rotate(45deg);
			transform: rotate(45deg);
}

.mtv-orange-box h2 {
	color: #FFF;
	margin-top: 0;
	margin-left: 30px;
	line-height: 20px;
	font-size: 30px;
}

.mtv-orange-box .container-fluid {
	max-width: 985px;
	margin: 0 auto;
	padding: 0;
}

.mtv-check-list {
	margin: 0;
	padding: 0;
	margin-top: 5px;
}

.mtv-check-list li {
	position: relative;
	list-style: none;
	min-height: 4em;
	margin-left: 30px;
	margin-bottom: 20px;
	padding-right: 34px;
	font-size: 15px;
	line-height: 21px;
}

.mtv-check-list li:last-child {
	margin-bottom: 0;
}

.mtv-check-list li .glyphicon {
	position: absolute;
	left: -24px;
}

#cleengButtonBar {
	text-align: center;
	/*margin: 40px -80px 0 -80px;*/
	margin: 40px 0 0 0;
}

#cleengButtonBar .moojitv {
	margin: 0 20px 20px 20px;
}

#cleengButtonBar #terms_and_conditions {
	margin-right: 0.5ex;
}

/*----------------------------------------------------------------------------*/
/* Here we override some bootstrap styling for tabs. */

.mtv-faq-tabs {
	margin-bottom: 50px;

	-webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.2);
	   -moz-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.2);
			box-shadow: 0 2px 2px 0 rgba(0,0,0,0.2);
}

.mtv-faq-tabs ul.nav-tabs {
	display: table;
	width: 100%;
	border-bottom: 0;
	background-color: #FFF;
}

/* Hide 1px-width line after all tabs */
.mtv-faq-tabs ul.nav-tabs:before,
.mtv-faq-tabs ul.nav-tabs:after {
	display: none;
}

/* display table-cell will allow tabs to use all available space */
.mtv-faq-tabs .nav-tabs > li {
	display: table-cell;
	float: none;
	background-color: #FFF;
	text-align: center;
	padding-left: 1px;
}

.mtv-faq-tabs .nav-tabs > li:first-child {
	padding-left: 0;
}

.mtv-faq-tabs .nav-tabs > li > a,
.mtv-faq-tabs .nav-tabs > li.active > a {
	margin: 0;
	border: 0;
	border-top: 5px solid #d75d2b;
	-moz-border-radius: 0;
		 border-radius: 0;
	background-color: rgb(255, 142, 1);
	color: #FFF;
	outline: none;

	-webkit-transition: background-color 200ms linear;
	   -moz-transition: background-color 200ms linear;
		 -o-transition: background-color 200ms linear;
			transition: background-color 200ms linear;

}

.mtv-faq-tabs .nav-tabs > li > a:hover,
.mtv-faq-tabs .nav-tabs > li.active > a:hover {
	margin: 0;
	border: 0;
	border-top: 5px solid #d75d2b;
	-moz-border-radius: 0;
		 border-radius: 0;
	background-color: rgba(255, 142, 1, 0.8);
	color: #FFF;
}

.mtv-faq-tabs .nav-tabs > li.active > a,
.mtv-faq-tabs .nav-tabs > li.active > a:focus,
.mtv-faq-tabs .nav-tabs > li.active > a:hover {
	margin: 0;
	background-color: #FFF;
	color: #d75d2b;
}

.mtv-faq-tabs .tab-pane {
	padding: 15px;
}

/*----------------------------------------------------------------------------*/

#radiocontainer p {
	text-align: center;
}

#radiocontainer iframe {
	position: relative;
	height: 150px;
	width: 100%;
	margin: 24px auto;
}

/*----------------------------------------------------------------------------*/

/* FIXME rename this classes to mtv-* when new theme is live */

.fm-card,
.mtv-card {
	position: relative;
	padding: 25px 350px 10px 60px;
	height: 290px;
	background-color: #F8971D;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.fm-card-image,
.mtv-card-image {
	position: absolute;
	top: 0;
	right: 0;
	max-width: 100%;
}

.fm-card h3,
.mtv-card h3 {
	line-height: 22px;
}

/*----------------------------------------------------------------------------*/

/* 404 page */
/* TODO better class names please */

.error_page .error-message {
	/*margin-top: 65px;*/
	color: #F0F0F0;
	font-size: 170px;
	line-height: 170px;
	font-weight: bold;
}

.error_page .useful_links {
	padding-left: 7%;
}

.error_page .list-icon {
	list-style: none;
	margin: 0;
	padding: 0;
	margin-top: 10px;
}

.error_page .list-icon li {
	list-style: none;
	line-height: 18px;
	margin: 0;
	padding: 0;
	margin-bottom: 15px;
	padding-left: 25px;
}

.error_page .list-icon li.red a:link,
.error_page .list-icon li.red a:visited {
	color: red;
}

.error_page .list-icon li.red a:hover,
.error_page .list-icon li.red a:active {
	color: #ffae5d;
}

.error_page .list-icon li:before {
	display: block;
	float: left;
	height: 18px;
	width: 18px;
	margin-right: 0;
	margin-left: -25px;
	padding-left: 1px;
	-moz-border-radius: 75px;
	     border-radius: 75px;
	background-color: #d75d2b;
	color: #ffffff;
	text-align: center;
	font-size: 8px;
	font-family: 'Ionicons';
	content: "\f3d1";
}

.search-page-search-form {
  margin-bottom: 0;
  padding-bottom: 0;
  border: none;
}

.search-page-search-form {
	margin-bottom: 0;
	padding-bottom: 0;
	border: none;
	border-color: #e0dede;
}

.search-page-search-form .search-form {
	margin: 0;
	padding: 0;
	border-style: none;
	text-align: right;
}

.search-page-search-form .search-form .search-table {
	display: table;
	width: 100%;
}

.search-page-search-form .search-form .search-table .search-field {
	display: table-cell;
	vertical-align: top;
}

.search-page-search-form .search-form .search-table .search-field input {
	float: none;
	display: block;
	margin: 0;
	width: 100%;
	height: 33px;
	padding: 8px 2%;
	font: 13px Arial, Helvetica, sans-serif;
	-moz-border-radius: 0;
	     border-radius: 0;
	border: 1px solid #d2d2d2;
	text-indent: 0;
	color: #aaa9a9;
	background-color: #ffffff;

	-webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1) inset;
	   -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1) inset;
	        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1) inset;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
	-webkit-appearance: none;
	   -moz-appearance: none;
}

.search-page-search-form .search-form .search-table .search-button {
	display: table-cell;
	width: 33px;
	vertical-align: top;
}

.search-page-search-form .search-form .search-table .search-button input[type="submit"] {
	font: 100% Arial, Helvetica, sans-serif;
	-webkit-appearance: none;
	   -moz-appearance: none;
	display: block;
	background: #000000;
	border: none;
	-moz-border-radius: 0;
	     border-radius: 0;
	color: #FFFFFF;
	font-size: 20px;
	height: 33px;
	line-height: 33px;
	margin: 0;
	padding: 0;
	width: 33px;
	text-indent: 0;
	cursor: pointer;
	font-family: 'Ionicons';
	text-shadow: none;
	-webkit-font-smoothing: antialiased;
	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	-o-transition: all .2s;
	transition: all .2s;
}

.search-page-search-form .search-form .search-table .search-button input[type="submit"]:hover {
	background-color: #d75d2b;
}

/* Search results page */

.search-results .search-page-search-form h3,
.search-no-results .search-page-search-form h3 {
	margin-top: 1em;
}

.search-results h2.entry-title,
.search-no-results h2.entry-title {
	font-size: 24px;
	margin: 0.3em 0;
}

.search-results article,
.search-no-results article {
	margin-bottom: 2.5em;
}

/*----------------------------------------------------------------------------*/

/* MEDIA QUERIES */

/*
	Bootstrap media queries are like this:
		@media (min-width: 768px)  { ... }
		@media (min-width: 992px)  { ... }
		@media (min-width: 1200px) { ... }
*/

/* Small screens only: width <= 767px */
@media screen and (max-width: 767px) {
	/* INDEX PAGE OVERRIDES */
	.column-container {
		min-height: inherit;
		margin-bottom: 3em;
	}

	.column-container h3 {
		margin-top: 20px;
	}

	.column-container a {
		position: static;
	}

	/* SUBSCRIPTION PAGE OVERRIDES */
	.mtv-page-slug-subscription .p-image {
		text-align: center;
	}

	.mtv-check-list {
		margin-bottom: 10px;
	}

	.mtv-check-list li {
		padding-right: 0;
	}

	/* ONLINE RETREAT PAGE OVERRIDES */
	.fm-card,
	.mtv-card {
		height: auto;
		padding: 25px 60px 10px 60px;
		margin: 0 -20px;
		text-align: center;
	}

	.fm-card-content,
	.mtv-card-content {
		text-align: left;
	}

	.fm-card-image,
	.mtv-card-image {
		position: static;
	}

	/* FAQ PAGE OVERRIDES */

	.mtv-page-slug-faqs .container-fluid {
		padding: 0 20px;
	}

	.mtv-faq-tabs .nav-tabs li {
		display: block;
	}

	.mtv-faq-tabs .nav-tabs > li {
		padding-left: 0;
	}

	.mtv-page-slug-terms-conditions .container-fluid {
		padding: 0 20px;
	}

}
