/*
    Theme Name: Underscore Child theme
    Theme URI: http://akatombo.no
    Description: Underscore Child Theme
    Author: Nirav
    Author URI: http://akatombo.no
    Template: underscoretheme
    Version: 2.1.3
    License: GNU General Public License v2 or later
    License URI: LICENSE
    Text Domain: devwp
    Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

@charset "UTF-8"; 
    
@import url('https://fonts.googleapis.com/css?family=Alex+Brush|EB+Garamond&display=swap');

body {
    background-color: #f8f9fa;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    min-height: 100vh;
    font-family: 'EB Garamond', serif;
    color: #333;
	font-size: 1.2rem;
    overflow-x: hidden;
}
.post, .page {
    margin: 0 0 0;
}
h1 {
    font-family: 'Alex Brush', cursive;
    font-size: 55px;
}
h1.entry-title {
    margin-top: 0em;
    text-align: center;
}
.h1-style, .archive .site-main h2 {
    font-family: 'Alex Brush', cursive;
}
h2 {
	font-size: 2.5rem;
}
a, a:active, a:visited, a:link {
    color: #600;
}
.dropdown-menu {
    margin-top: -2px;
}
.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 20px;
}
.wp-block-image figcaption {
    text-align: center;
}
.nav-item:focus,
.dropdown:focus,
textarea:focus, 
input[type="text"]:focus, 
input[type="password"]:focus, 
input[type="datetime"]:focus, 
input[type="datetime-local"]:focus, 
input[type="date"]:focus, 
input[type="month"]:focus, 
input[type="time"]:focus, 
input[type="week"]:focus, 
input[type="number"]:focus, 
input[type="email"]:focus, 
input[type="url"]:focus, 
input[type="search"]:focus, 
input[type="tel"]:focus, 
input[type="color"]:focus, 
.uneditable-input:focus,
a:focus,.nav-link:focus
{
    border:none !important;
    outline:none !important;
}
select:focus {
   outline-color: transparent;
}

#logo {
    font-family: 'Alex Brush', cursive;
    font-size: 47px;
    text-decoration: none;
    text-shadow: 1px 1px 0 #fff;
    margin-top: 0px;
}
#logo a:link, #logo a:visited{
    text-decoration: none;
    color: #333;
}

h1, h2, h3, h4 {
    text-shadow: 1px 1px 0 #fff;
    font-weight: normal;
    font-style: normal;
}

.mainMenu {
    background-image: url("images/header-background.png");
    background-repeat: repeat-x;
    font-size: 19px;
    height: 110px;
}
.wpml-ls-legacy-list-horizontal a {
    padding: 0 5px;
}
.navbar {
    margin-top: 10px;
}

.mainMenu ul li a {
    color: #333!important;
    text-shadow: 1px 1px 0 #fff
}

.mainMenu ul li a:active {
    background-color: #eee;
}

.mainMenu nav {
    padding-top: 0px;
}

.mainMenu .widget, .mainMenu nav.navbar {
    margin: 0px!important;
}

.dropdown-menu {
    background-color: rgba(234,234,234,0.9);
}

.dropdown-toggle::after {
    opacity: 0.5;
}

.navbar-toggler {
    border-color: rgba(0,0,0,0)!important;
}

.carousel-item {
  height: 100vh;
  min-height: 300px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
  /*---Firefox Bug Fix --*/
  .carousel-item {
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  -webkit-backface-visibility: visible;
          backface-visibility: visible;
}

.slidetext p {
    font-family: 'Alex Brush', cursive; 
    font-size: 40px; 
    line-height: 28px;
    color: #fff;
}

.slidetext.topLeft {
    position: absolute; top: 200px;left:20px; max-width: 400px;
}

.slidetext.bottomLeft {
    position: absolute; bottom: 200px;left:20px; max-width: 400px;
}

.slidetext.topRight{
    position: absolute; top: 200px;right:20px; max-width: 400px;
}

.slidetext.bottomRight {
    position: absolute; bottom: 200px;right:20px; max-width: 400px;
}

.slidetext.centerCenter {
    position: absolute;
  top: 50%; right: 50%;
  transform: translate(50%,-50%);
  text-align: center;
}

.slideshow {
    top: 0px;
    right: 0px;
    min-height: 100vh;
}
.wp-block-quote {
    padding: 31px!important;
    clear: both;
	font-style: italic;
	max-width: 500px;
	margin: 15px auto;
}
.wp-block-quote cite::before {
	content: "- ";
}

.wp-block-quote::before {
    content:url('images/blockquote.png')!important;
    float: left;
    margin-left: -31px;
    margin-bottom: 20px;
    margin-right: 5px;
    display: block;
}

.wp-block-embed iframe {
	min-width: 100%;
	min-height: 500px;
}

.site-main {
    max-width: 800px;
    margin: 0px auto;
}

.sidebar h2 {
    font-size: 25px;
	border-top: 1px solid #aaa;
	padding-top: 20px;
}
.sidebar .gallery-icon {
    margin-right: 10px;
}

.gform_wrapper {
    max-width: 600px;
    margin: auto;
    padding-top: 30px;
}
.ginput_container {
	margin-bottom: 25px!important;
}
.ginput_container label {
	margin-top: 20px;
}

.form-control {
    font-size: 16px!important;
}

.swahaFooter {
    background-image:url("images/flower-for-footer.png"),url("images/footer-background.png") ;
    background-repeat: no-repeat,repeat-x;
    background-position: right bottom, left top;
    min-height: 148px;
    font-size: 15px;
    line-height: 16px;
    color: #111;
    position: absolute;
    bottom: 0;
    z-index: 10;
}
.swahaFooter ul{
    list-style: none;
    padding-left: 0px;
    margin-left: 10px;
    line-height: 1.5em;

}
.swahaFooter a{
    color: #333;
    text-decoration: none;
}

.swahaFooter a:hover{
    color: #333;
    text-shadow: 1px 1px 0 #fff;
}
.swahaFooter h2.widget-title {
    font-family: 'Alex Brush', cursive;
	margin: 0px 0px;;
	font-size: 30px;
}
.swahaFooter .widget {
	margin-bottom: 0px;
}
.swahaFooter ul {
	margin: 0px;
	padding-left: 5px;
	margin-top: -15px;
}
.swahaFooter .widget_recent_entries ul {
	margin-top: 0px;
}
.footerBorder {
    border-left: 1px solid #888;
}

.pagination {
	margin: 0px auto;
}

.pagination .current {
	text-decoration: underline;
}
.pagination .page-numbers {
	padding: 3px 9px;
}
.category-sangha-news .pagination .page-numbers {
	padding: 3px 2px;
}

/* carousel control */

.carousel.carousel-fade .carousel-item {
    display: block;
    opacity: 0;
    transition: opacity ease-out 1.7s;
    left: 0;
    top: 0;
    position: absolute;
}
.carousel.carousel-fade .carousel-item.active {
    opacity: 1 !important;
}
.carousel.carousel-fade .carousel-item:first-child {
    top: auto;
    position: relative;
    transition: opacity ease-out 1.7s;
}
.mountainsGandalf {
    background-size: cover;
    background-attachment: fixed;
    background-image: url(images/090926_Nepal_3961.jpg);
    min-height: 100vh;
}
.bg-retreats-norway {
    background-size: cover;
    background-attachment: fixed;
    background-image: url(images/080530_007-1.jpg);
}
.bg-retreats-brazil {
    background-size: cover;
    background-attachment: fixed;
    background-image: url(images/120305_Brazil_305.jpg);
}
.bg-heart-letters {
    background-size: cover;
    background-attachment: fixed;
    background-image: url(images/love-letters-bg-07.jpg);
}

.page .wp-post-image {
    display: none;
}
.mainContent {
    margin-top: 90px;
    margin-bottom: 40px;
    box-shadow: 0 1px 3px #777;
    background-color: rgba(234,234,234,0.9);
    border-radius: 5px;
    min-height: 100vh;
	max-width: 940px;
}
.single-audio-subjects .mainContent {
    max-width: 1100px;
}

.mainContent img{
    border-radius: 5px;  
}
.blocks-gallery-item__caption {
    display: none;
}
.aligncenter {
    display: inline-block;
    text-align: center;
}
.audioContent h2 {
    font-family: 'EB Garamond', serif;
    font-size: 23px;
}
.page-template-audio iframe{
	padding: 5px;
}
hr.archive {
    width: 100%;
    height: 35px;
    background: url("images/divider-leaf.png") no-repeat center center;
    margin: 10px auto 30px;
    border: 0;
}

.sidebar {
    background-image: url(images/flower_side_column.png);
	background-color: rgba(250,250,250,0.3);
    background-position: bottom center;
    background-repeat: no-repeat;
	padding: 5px 20px 20px 20px;
}
.sidebar h2 {
    font-family: 'EB Garamond', serif;
    text-shadow: 1px 1px 0 #fff;
    font-weight: normal;
    font-style: normal;
    font-size: 22px;
}
.sidebar a {
	text-decoration: underline;
}

.sidebar-audio h2{
    border-top: 0px;
}

.sidebar-audio {
    background-image: none!important;
}

.entry-content img {
    margin: 10px;
    box-shadow: none!important;
}

.single .site-main {
    margin-left: auto;
    margin-right: auto;
}
.single #primary {
    background-image: url("images/TajMahal_background.png");
    background-size: 100%;
    background-repeat: no-repeat;
}
.singlewrapper {
    padding: 145px 0px 0px 0px;
}
.single-post .singlewrapper img {
    box-shadow: 2px 2px 2px 1px #666;
    -webkit-box-shadow: 2px 2px 2px #666;
    border-radius: 5px;
    display: inline-block!important;
}
.single-post .size-fullwidth-one-up-golden, .size-fullwidth-one-up, .size-large {
    width: 98%;
}
.single-heart_letters .singlewrapper p {
    max-width: 350px;
    margin: 30px auto;
}
.single-heart_letters .singlewrapper .site-main h1 {
    font-family: 'EB Garamond', serif;
    font-size: 30px;
}

iframe {
    padding: 0px;
}

/*style new sangha news 2024 */

.sangha-news {
    margin-bottom: 300px;
}

.sangha-news .has-medium-font-size {
    font-size: 25px !important;
}

.sangha-news p {
    padding: 0px 40px;
    margin-bottom: 5px;
}

.sangha-news h1, .sangha-news h2, .sangha-news h3 {
    padding: 0px 40px;
}

.sangha-news .wp-block-media-text__content {
    padding-top: 30px;
    padding-bottom: 30px;
}

.bg-sangha-news {
    background-size: cover;
    background-attachment: fixed;
    background-position: top center;
    /*background-image: url(images/080530_007-1.jpg);*/
    padding-top: 100px;
}

.bg-white-gradient {
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
}

.bg-news-headline {
    background-color: #fff;
}

.roof {
    background-image: url('images/SanghaNews_top_big.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top center;
    padding-top: 130px;
    padding-bottom: 50px;
    margin: 0px auto;
}

h1.sangha-news-title {
    font-size: 60px;
}

/*style video link icons */

.videolinks .PodIcon {
    width: 100px; height: auto; margin: 0px auto; display: inline-block;
}
.videolinks hr {
    color: #eee;
    width: 320px;
}
.videolinks a img {
    transition: 0.25s;
}
.videolinks a img:hover {
    box-shadow: 0px 0px 4px 2px #eee;
    border-radius: 5px;
}

/* styling the photo gallery page */
body.single-photo-gallery .site-main {
	text-align: center;
}
body.page-template-photos .site-main h2 a {
	font-family: 'Alex Brush', cursive;
	font-size: 2.5rem;
	color: inherit;
}

.sidebar .wp-caption-text {
	display: none;
}

.single-post .entry-content {
    text-align: center;
}
.single-post .size-fullwidth-four-up {
    width: 200px;
}
.single-post .size-fullwidth-two-up-portrait {

}

.single-post .aligncenter {
    display: inline-block;
}

/* animations */
.fade-in {
opacity: 1;
animation-name: fadeInOpacity;
animation-iteration-count: 1;
animation-timing-function: ease-in;
animation-duration: 2s;
}

@keyframes fadeInOpacity {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

/* general */

.wp-block-separator {
    border-top: 1px solid #bbb;
}

/* gallery color box */
#cboxTitle {
    display: none!important;
}
/* video archive styling */
.video-list-item a h4{
	padding: 0px 10px;
	font-size: 21px;
	transform: translateY(-70px);
	color: #fff;
	text-shadow: 2px 1px 4px rgba(52,52,52,1);
	transition: 0.8s;
}
.video-list-item a:hover h4{
	transform: translateY(-75px);
}
.video-list-item a:hover{
	text-decoration: none;
}
.video-list-item img {
	filter: brightness(70%);
	transition: filter 0.3s;
}
.video-list-item img:hover {
	filter: brightness(100%)
}

/* bootstrap modal center styling used for videos on retreat */
.modal-dialog {
    max-width: 700px;
}
.modal-content {
    background: rgba(0, 0, 0, 0.01);
    border: none;
}
.video-parent{
    position: relative;
    cursor: pointer;
}
.video-parent-img-responsive{
    width:100%;
    height:auto;
    cursor: pointer;
    border-radius: 5px;    
}
.video-play-img{
    position: absolute;
    top: -10px;
    right: 0;
    cursor: pointer;
}

/* Design of the media player CP Media player plugin and single-audio post type */

.cpmp-playlist-download-link {
    float: right;
    color: #333!important;
}

#ms_avp .device-player-skin .cpmp-playlist-download-link::before {
    border-color: #eee!important;
    color: #aaa!important;
}

.emjs-playlist::before {
    display: none!important;
}

.emjs-playlist li {
    height: 47px;
    padding-top: 8px!important;
    background: #eee!important;
    color: #333!important;
    border-bottom: 1px solid #bbb;
}
.emjs-playlist li:hover {
    background: #fff!important;
}
.emjs-playlist li.current {
    background: #e4e4e4!important;
}

.mejs-mediaelement {
    background-color:#eee!important;
    
}
/* Player background */
.mytheme-mejs-container.mejs-container,
.mytheme-mejs-container .mejs-controls,
.mytheme-mejs-container .mejs-embed,
.mytheme-mejs-container .mejs-embed body {
   background-color: #efefef !important;
   box-shadow: 0px 0px 5px #aaa;
   border-radius: 10px;
   margin-bottom: 10px;
}

/* Player controls */
.mytheme-mejs-container .mejs-button > button {
  background-image: url("images/mejs-controls-dark.svg");
}

.mytheme-mejs-container .mejs-time {
  color: #888888;
}

/* Progress and audio bars */

/* Progress and audio bar background */
.mytheme-mejs-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
.mytheme-mejs-container .mejs-controls .mejs-time-rail .mejs-time-total {
  background-color: #fff;
}

/* Track progress bar background (amount of track fully loaded)
  We prefer to style these with the main accent color of our theme */
.mytheme-mejs-container .mejs-controls .mejs-time-rail .mejs-time-loaded {
  background-color: rgba(219, 78, 136, 0.075);
}

/* Current track progress and active audio volume level bar */
.mytheme-mejs-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current,
.mytheme-mejs-container .mejs-controls .mejs-time-rail .mejs-time-current {
  background: #db4e88;
}

/* Reduce height of the progress and audio bars */
.mytheme-mejs-container .mejs-time-buffering,
.mytheme-mejs-container .mejs-time-current,
.mytheme-mejs-container .mejs-time-float,
.mytheme-mejs-container .mejs-time-float-corner,
.mytheme-mejs-container .mejs-time-float-current,
.mytheme-mejs-container .mejs-time-hovered,
.mytheme-mejs-container .mejs-time-loaded,
.mytheme-mejs-container .mejs-time-marker,
.mytheme-mejs-container .mejs-time-total,
.mytheme-mejs-container .mejs-horizontal-volume-total,
.mytheme-mejs-container .mejs-time-handle-content {
  height: 3px;
}

.mytheme-mejs-container .mejs-time-handle-content {
  top: -6px;
}

.mytheme-mejs-container .mejs-time-total {
  margin-top: 8px;
}

.mytheme-mejs-container .mejs-horizontal-volume-total {
  top: 19px;
}
/* end of media player styling */

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) { 
    .navbar-nav {
     background-color: rgba(234,234,234,1);
     max-width: 350px;
     padding: 30px;
     border-radius: 5px;
    }
    .dropdown-item:focus, .dropdown-item:hover {
     background-color: rgba(238,238,238,1);
    }
    .dropdown-menu {
     border: 0px;
    }
    .sidebar h4 {
    text-shadow: 1px 1px 0 #fff;
    font-size: 33px;
	}
	.swahaFooter h2.widget-title {
	margin-top: 20px;
	}
	.swahaFooter {
	padding-bottom: 40px;
	}
}

/* Large devices (desktops, less than 1200px) */


/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) { 
        #logo {
            font-size: 35px;
        }
        h1 {
            font-size: 40px;
        }
        .mainMenu {
        background-image: url("images/header-background-tablet.png");
        }
        .navbar-light .navbar-toggler{
            margin-top: 0px!important;
        }

        .carousel-item {
        margin-top: 60px;
        height: 700px;
        min-height: 300px;
        background: no-repeat center center scroll;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        }
        .wp-block-image .alignright {
        float: none;
        clear: both!important;
        margin: 0px auto;
        } 
        .swahaFooter {
        background-image:url("images/flower-for-footer.png"),url("images/footer-background-mobile.png") ;
        background-repeat: no-repeat,repeat-x;
        background-position: right bottom, left top;
        padding-top: 30px;
        min-height: 148px;
        font-size: 15px;
        line-height: 16px;
        color: #111;
        text-align: center;
        position: relative;
        margin-top: -196px;
        z-index: 10;
        }

        .size-fullwidth-four-up {
            width: 300px;
        }

        .sidebar-audio h2, .sidebar-audio h4{
            font-size: 1.5rem;
            border-top: 0px;
        }

        .single-audio-translated h1, .single-audio h1{
            font-size: 2.2rem;
            text-align: center;
            display: block;
        }

        .sidebar-audio .JP_Dropdown_Menu_widget {
            margin-bottom: 14px;
        }

        .roof {
            padding-top: 60px;
            padding-bottom: 20px;
        }

}
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
		body {
		font-size: 20px;
		}
        .mainMenu {
        background-image: url("images/header-background-mobile.png");
        background-repeat: repeat-x; 
        background-position: 0 -2px;
        background-size: 100%;
        font-size: 22px;
		position: absolute;
        }
		#menu-main-menu {
		border: 1px solid #aaa;
		margin-top: -4px;
		}
		.mainMenu ul li a {
		font-size: inherit;
		}
		.mainMenu ul li li {
		font-size: 19px;
		}
		#logo {
    	font-family: 'Alex Brush', cursive;
    	font-size: 32px;
    	text-decoration: none;
    	text-shadow: 1px 1px 0 #fff;
   		margin-left: 60px;;
		}
        .swahaFooter {
        background-image:url("images/flower-for-footer.png"),url("images/footer-background-mobile.png") ;
        background-repeat: no-repeat,repeat-x;
        background-position: right bottom, left top;
        background-size: 100%, 100%;
        min-height: 148px;
        font-size: 15px;
        line-height: 16px;
        color: #111;
        text-align: center;
        position: relative;
        margin-top: -210px;
        z-index: 10;
        }
        .carousel-item{
        background-attachment: scroll;
        }
		.wp-block-embed iframe {
		padding: 0px!important;
		min-height: 200px;
		}
		body.page-template-photos .site-main, body.archive .site-main {
		text-align: center;
		}
		body.page-template-photos .site-main h2, body.archive .site-main h2{
		margin: 10px 0px;
		}
		body.page-template-photos .site-main h1 {
		margin: 20px 0px;
		}

        .bg-sangha-news {
            background-size: 1200px auto;
            background-attachment: unset;
            background-position: top center;
            background-image: url(images/080530_007-1.jpg);
            padding-top: 100px;
        }

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
	.wpml-ls-item-en {
		position: absolute;
		top: -20px;
		right: 50px;
	}
	.wpml-ls-item-pt-br {
		position: absolute;
		top: -20px;
		right: 18px;
	}
}


/*Styling the contact form */
#input_1_4 {
	height: 60px!important;
	padding: 3px;
}

.form-control {
	border-radius: 0px!important;
	font-size: 25px;
}

.gform_validation_container {
	display: none;
}
.hidden_label .gfield_label {
	display: none;
}
/* lightbox styling */
#slb_viewer_wrap .slb_theme_slb_baseline .slb_container {
    padding: 2px!important;
}




