.home .Header { margin-bottom:20px !important; }
.home .Footer { margin-top:15px !important; }

.Header .LogoImg, .Header .LogoText { display:inline-block;vertical-align:top;color:#fff; }
.Header .LogoImg img { max-height:100px;padding:0 0 10px 0; }
.Header .LogoText { float:right; }
.Header .LogoText h2 { font-size:4em;line-height: 50%; }
.Header .LogoText h3 { font-size:1.7em;line-height: 150%;margin-top:3%; }
.Header .MainMenu ul { text-align:center; }
.Header .MainMenu ul li:first-child a { background-image:none !important; }
.Header .MainMenu ul.menu li > a { background-image: url('/wp-content/themes/nishmat/assets/images/main-nav-divider.png');background-repeat:no-repeat; }
.Header .MainMenu ul.sub-menu li > a { background:none; }

.HomeSlider, .ProgramsLinks, .YoatzotLink, .TourNishmat, .NewsEvents, .SidebarLinks, .CatPosts, .Content, .FindUs { overflow:visible; }
.HomeSlider ul li .caption-wrap .caption { font-size:1.5em;line-height: 125%;background-image: url('/wp-content/themes/nishmat/assets/images/caption-bg.jpg'); }

.websol .metaslider .flexslider { margin:0; }
.websol .HomeSlider .flexslider .flex-control-paging { bottom: 0px;line-height: 100%;z-index: 999;width:auto;right:1%; }

.websol .border img, .TourImg img { width:100%;display:block; }
.websol .shadow { text-align:center;margin-top: -2px; }

.NewsEvents { padding-top:18%; }
.NewsEvents .mtphr-dnt img { width:25%;float: left;margin-left: 3%; }
.NewsEvents .mtphr-dnt a { text-decoration:none; }
.NewsEvents .mtphr-dnt h4, .NewsEvents .mtphr-dnt .mtphr-dnt-posts-excerpt { width:65%;float: left;margin-left: 3%; }
.NewsEvents .mtphr-dnt .mtphr-dnt-posts-excerpt a { color:#901c22;font-weight:bold; }

.TourNishmat { margin-top:7%; }
.TourNishmat .block-subtitle, .NewsEvents .block-subtitle, .FindUs .block-subtitle { position:absolute;top:25px;width:100%; }
.TourNishmat .block-subtitle .right, .NewsEvents .block-subtitle .right, .CatPosts .MenuTitle .right, .FindUs .block-subtitle .right { background-image: url('/wp-content/themes/nishmat/assets/images/widget-heading-right.png');background-repeat:no-repeat;position: absolute;width: 6px;height: 37px;top: 0px;right: -6px; }
.TourNishmat .block-subtitle .left, .NewsEvents .block-subtitle .left, .CatPosts .MenuTitle .left, .FindUs .block-subtitle .left { background-image: url('/wp-content/themes/nishmat/assets/images/widget-heading-left.png');background-repeat:no-repeat;position: absolute;width: 6px;height: 37px;top: 0px;left: -6px; }

.TourNishmat, .NewsEvents, .CatPosts, .FindUs { position:relative; }

.FindUs { padding:25% 0 10% 0; }
.FindUs .SocialLinks { text-align:center; }

.ProgramLink { position:relative;margin-bottom: 8px; }
.ProgramLink img { width:100%; }
.ProgramLink .caption { position:absolute;color:#fff;top:20%;right:38%;padding-left: 3%; }
.ProgramLink .caption h3 { font-size: 1.8em;line-height: 100%; }
.ProgramLink .caption p { font-size: 1.2em;line-height: 100%; }
.ProgramLink .readmore { position:absolute;top:15%;right:-17px;color:#fff;text-align:center;background-repeat:no-repeat;width: 52px;height: 75px;line-height: 70px; }
.ProgramLink .readmore.more1 { background-image: url('/wp-content/themes/nishmat/assets/images/more-lnk1.png'); }
.ProgramLink .readmore.more2 { background-image: url('/wp-content/themes/nishmat/assets/images/more-lnk2.png'); }

.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea { width:100%; }
#wpcf7-f2113-o1 input[type="submit"] { float:left;background-color:#9C1F25;color:#fff; }

.AboutUs .wpcf7 input { height:25px; }
.AboutUs .wpcf7 { background:#3B99D9;padding:15px 15px; }
.websol .AboutUs .wpcf7 p { text-align:center;color:#fff; }
.AboutUs .wpcf7 .name { margin-bottom:5px; }
.AboutUs .wpcf7 .phone { width:79%;display:inline-block; }
.AboutUs .wpcf7 .submit { width:25%;display:inline; }
.AboutUs .wpcf7 .submit input { border-radius:0; }

.Newsletter .wpcf7 { padding:14px 15px; }
.Newsletter .wpcf7 .name, .Newsletter .wpcf7 .lname { width:48%;display:inline-block; }
.Newsletter .wpcf7 .lname, .Newsletter .wpcf7 .submit input { float:left;margin-right: 4%; }
.Newsletter .wpcf7 .email { margin:5px 0; }

.FooterText h2 { font-size:1.5em; }
.FooterText h3 { line-height: 100%;margin-top:7px; }
.FooterText .Address { line-height: 100%;margin-top:10px; }

.NewsEvents a { color:#000; }
.block-subtitle a { color:#fff;text-decoration:none; }
.FooterText a, .CopyRight a { color:#fff; }

.fa-youtube, .fa-facebook, .fa-twitter { padding:7px;color:#fff; }
.fa-youtube { background:#FF0000; }
.fa-facebook { background:#4267B2;padding: 7px 10px;margin: 0 7px; }
.fa-twitter { background:#1DA1F2; }

.CatPosts input[type="text"] { width:75%; }
.CatPosts input[type="submit"] { background-color:#668DAA;color:#fff; }

.support { text-align: center;background-color: #D86163;border-radius: 99px;padding: 8px 12px;margin: 2em 0 1em; }
.support a { 
	color: #fff;
	font-size: 1.5em;
	font-weight: bold; 
}

.CatPosts { box-shadow:none !important; }
.CatPosts .MenuTitle { background: #901C22;height: 29px;color: #fff;font-size: 1.2em;line-height: 27px;padding: 0 6%; }
.CatPosts ul { padding:15px; }
.CatPosts li { margin-bottom:7px;border-bottom:1px solid #0003;padding: 5px 2px; }
/* .CatPosts li:hover { background:url('https://www.nishmat.net/resources/images/theme/sidebar-nav-a-bg.jpg') repeat-y; } */
/* .CatPosts li a { color:#000;text-decoration:none;font-size: 1.1em;line-height: 125%; } */
.CatPosts li a { color: rgba(136,136,136,0.97);text-transform: uppercase;text-decoration:none;font-size: 1.1em;line-height: 125%; }
.CatPosts .SocialLinks { text-align:center; }
.CatPosts .SocialLinks i { font-size: 2.2em; }
.CatPosts .SocialLinks i.fa-facebook { padding:7px 13px;margin:0; }
.CatPosts .SocialLinks a { vertical-align: top;display: inline-block; }
.SocialLinks img.donate { position:relative; }

.SideLinks { padding: 0 15px; }
.SideLinks h2 { font-size: 2.2em;line-height: 150%; }
.SideLinks a { text-decoration:none;display:block;color:#888888; }

button#SearchButton { font-size:1.3em;background:#990000;color:#fff; }
form.SearchLessons { border:4px double;margin-top:10px; }

/* .HeaderContent { position: relative;border-top: 3px double #0003;border-bottom: 3px double #0003;;background-image: url('/wp-content/themes/nishmat/assets/images/title-inner-bg.jpg');background-repeat: repeat-y;background-size: contain;height: 70px; } */
.HeaderContent { position: relative;border-bottom: 1px solid #0003; }
.Titles, .TitleImg { display: inline-block; }
.TitleImg { position:absolute;right:0;bottom:-8px; }
.CatTitle { color:#951d24;font-size: 0.7em;line-height: 100%;font-weight:bold; }
/* .PostTitle { color:#2f7cc8;font-size: 1.5em;line-height: 100%; } */
.PostTitle { color:#54595f;font-size: 1em;line-height: 100%;text-transform: uppercase; }
.Banner img { width:100%; }

.Content { line-height: 185%; }
.Content h2 { color:#951d24;font-size: 150%; }

.category-blog .Content.block-type-content div.entry-content, .archive.tag .Content.block-type-content div.entry-content { width:calc(100% - 140px);float:left; }

a.more-link { float:right;margin-top: 15px; }

#gallerycontainer, #albumcontainer, #AsherSearch input[type="submit"] { display:inline-block; }
#AsherSearch input[type="submit"] { background:#9c1f25;color:#fff; }
.single-gallery .Content .gallery img { max-width:93%;background: #fff;padding: 5px; }
.LastGalleries ul li { display:inline-block;text-align:center;background: #fff;padding: 5px;margin:5px;width: calc(33.3% - 20px); }
.LastGalleries ul li img { max-width:100%; }

table td.lesson_actions { display: inline;line-height: 70px; }
body table td.lecturer_img, body table td.lesson_actions { text-align:center !important; }
.ContentTorah img { border-radius:0;height:70px; }
.lesson_data a.lecturer_name, .lesson_data a.lesson_name { display:block;text-decoration: none;color: #000; }
.lesson_data a.lesson_name { font-size:125%;color:#84191F; }
.ContentTorah tr.lesson a.more-link, .ContentLesson a.more-link { border-radius: 50%;padding: 10px 10px;margin: 0 3px;width: 15px;height: 15px;display: inline-block;line-height: 100%; }
.ContentTorah tr.lesson a.more-link { background: #42A6E2;color: #fff; }
.ContentTorah tr.lesson a.more-link:hover { background: #84191F; }
.ContentLesson a.more-link { background: #42A6E2;color: #fff;float:none; }
.ContentTorah table tr.lesson td.lesson_actions, .ContentTorah table tr th { text-align:center !important; }
.ContentTorah table tr.lesson td.lesson_actions a.more-link { float:none !important; }
.ContentTorah table { 
	margin-top:10px;
	-webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}
.ContentTorah table tr th { background: #BDBDBD;margin-top:10px; }

.TitleLesson { background: #84191F;color: #fff;display: block;margin: 10px 0;text-align: center; }
.wp-audio-shortcode { direction:ltr; }

.navigation { text-align:center;min-height: 25px; }
.navigation li { display: inline; }
.navigation li a, .navigation li a:hover, .navigation li.active a, .navigation li.disabled {
    color: #fff;
    background-color: #901C22;
    cursor: pointer;
    padding: 2px 7px;
	text-decoration: none;
}
ul.languagebar { float:right; }
ul.languagebar, ul.languagebar * { color:#fff; }
ul.languagebar li { display:inline-block; }

img { max-width: 100%; }
.pc_one_col_form.pc_registration_form, .pc_one_col_form.pc_custom_form { max-width: 100% !important; }
input[type="submit"]#btnAction { background:#901C22;color:#fff;float: right; }

:not(.rtl) .wpcf7 { direction:ltr !important; }

.fancybox-title-float { top:-20px;bottom:auto; }

.ContentWrapper .column.grid-width-16 .block { padding:0 0 0 10px; }

.question { cursor: pointer;font-weight: bold;overflow: hidden;padding-left: 21px;text-decoration: underline;margin-bottom: 15px; }
.answer { background: none repeat scroll 0 0 #FFF;border-left: 2px solid #D2D2D2;margin-bottom: 20px;margin-left: 20px;padding: 5px 20px;display: none; }

.Content .wpcf7#wpcf7-f3475-o1 { border:1px solid #ccc;color:#84191F;padding:5px; }
.Content .wpcf7#wpcf7-f3475-o1 div.name, .Content .wpcf7#wpcf7-f3475-o1 div.email { display:inline-block;width:35%; }
.Content .wpcf7#wpcf7-f3475-o1 div.submit { display:inline-block;width:25%; }

.layout-using-template-8 .ContentWrapper, .layout-using-template-8 .ContentWrapper .block-type-content { padding:0; }
.layout-using-template-8 .header, .layout-using-template-8 .ContentWrapper .row { margin:0 !important;margin-bottom:0 !important; }
.layout-using-template-8 #wrapper-w6i5a8b14254d573, .layout-using-template-8 div#whitewrap div.wrapper-mirroring-w6i5a8b14254d573 { margin:0 !important;margin-bottom:0 !important; }
.layout-using-template-8 .LogoImg img  { max-height: 110px; }
.layout-using-template-8 .LogoText h3 { font-size: 1em; }
.layout-using-template-8 .entry-content { margin-top:0 !important; }

.layout-using-template-8 .block-type-content div.entry-content, .layout-using-template-8 .block-type-content div.entry-content p { color: inherit;font-size: inherit;line-height: inherit;margin-bottom: inherit;  }
#block-b975a8b1425550fe .nav-horizontal ul.menu > li > a, #block-b975a8b1425550fe .nav-search-active .nav-search { height: 35px;line-height: 35px; }
.block-type-navigation.MainMenu ul.menu li:hover > ul.sub-menu, .block-type-navigation.MainMenu ul.menu li.sfHover > ul.sub-menu { margin-left: -2.3%; }

.MainMenu #menu-mainmenu { margin-bottom:0; }
.MainMenu #menu-mainmenu li ul.sub-menu ul.sub-menu { display:none;left:100%;margin-top: -25px; }
.MainMenu #menu-mainmenu li ul.sub-menu li:hover ul.sub-menu { display:block; }

/* .postid-2297 .CatPosts, .postid-2297 .SidebarLinks { display:none; } */
.postid-2297 form label, .postid-4212 form label { max-width:620px; }
.postid-2297 form label { max-width:620px; }
.ContentCategory tr td img { height:auto; }
/* below added by hindy */
.block-content img { max-width: 200px; float:left; padding-right:20px; padding-bottom:20px;}
