/*
Theme Name: Modality Child
Theme URI: http://www.vmthemes.com/modality-wordpress-theme/
Template: modality
Author: VM Themes
Author URI: http://www.vmthemes.com
Description: Modality introducing a very clean and neat design that can be used for any type of website. It comes with great variety of options to customize the look and feel of the theme via Customizer. Theme supports responsive design, customizable home page sections, Google fonts, unlimited colors, animation, automatic image resizing and more. The FontAwesome icon pack delivers Retina Ready icons that look great on an iPad or other HD devices. 4 footer widget columns, scroll to top feature, social links, support for WooCommerce and Contact Form 7 plugins, five post formats and more.
Tags: one-column,two-columns,right-sidebar,left-sidebar,grid-layout,footer-widgets,blog,e-commerce,photography,custom-background,custom-menu,custom-colors,featured-images,post-formats,theme-options,threaded-comments,translation-ready,full-width-template,custom-header,featured-image-header
Version: 1.0.5.2.1660204214
Updated: 2022-08-11 00:50:14

*/

#header-wrap nav.navbar {
    max-width: 1400px;
}

#menu-main > li > a {
    font-size: 12px !important;
}
.nav.navbar-nav > li:last-child > a,
.nav.navbar-nav > li:last-child > a:hover,
.nav.navbar-nav > li:last-child > a:focus{
    background: #8c640e;
    color: #fff;
    border-radius: 30px;
    line-height: 1;
    padding: 14px 15px !important;
    margin-left: 10px;
	outline: none;
}
.nav.navbar-nav > li:last-child.active > a{
	color: #fff !important;
}
.page-id-9924 div#content-box {
    padding: 30px;
}
.maintblrsrvtnfrm {
    padding-top: 30px;
}
.maintblrsrvtnfrm {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}
.maintblrsrvtnfrm .form-group {
    max-width: 50%;
    flex: 0 0 50%;
    padding: 0 15px;
}
input:focus,
input:focus-visible{
	outline: none !important;
}
.maintblrsrvtnfrm input[type="text"], 
.maintblrsrvtnfrm input[type="tel"], 
.maintblrsrvtnfrm input[type="email"], 
.maintblrsrvtnfrm input[type="number"], 
.maintblrsrvtnfrm input[type="date"] {
    height: 45px;
    border: 1px solid #e3e3e3;
    box-shadow: none;
    width: 100%;
    padding: 0 10px;
	background: transparent;
}
.maintblrsrvtnfrm input[type="submit"], 
.maintblrsrvtnfrm input[type="submit"]:hover, 
.maintblrsrvtnfrm input[type="submit"]:focus {
    background: #8c640e;
    color: #fff;
    border: none;
    padding: 0px 30px;
    height: 50px;
    font-size: 16px !important;
    margin-top: 15px;
    outline: none;
    border-radius: 10px;
}
.maintblrsrvtnfrm form .form-group:last-child {
    margin-bottom: 0;
}
.page-id-9944 #content-box,
.page-id-9952 #content-box{
    padding: 30px;
    display: flex;
    align-items: center;
}
.page-id-9944 #content-box #post-body h2 {
    text-align: center;
}
h3.nomargin {
    margin: 0;
    padding: 0;
}
.page-id-9944 #content-box h1#post-title,
.page-id-9952 #content-box h1#post-title,
.page-id-9944 #content-box .breadcrumbs,
.page-id-9952 #content-box .breadcrumbs{
    display: none;
}
.page-id-9944 div#article,
.page-id-9952 div#article{
    text-align: center;
}
.page-id-9944 div#article p,
.page-id-9952 div#article p{
	font-size: 18px;
}
body #content-box {
    padding: 30px;
}

.mainpopbox {
    position: fixed;
    text-align: center;
    background: rgba(0,0,0,0.6);
    height: 100%;
    width: 100%;
    padding: 30px 15px;
    overflow: auto;
    display: flex;
    top: 0;
    left: 0;
	visibility: hidden;
	opacity: 0;
    z-index: 999;
}
.mainpopbox.active {
	visibility: visible;
	opacity: 1;
}

.mainpopbox::before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.25em;
}
.popboxwrap{
	display: inline-block;
	background: #fff;
	max-width: 600px;
	width: 100%;
	margin: auto; 
	vertical-align: middle;
}
.inrpopboxwrap h3 {
    background: #8c640e;
    margin: 0;
    color: #fff;
    letter-spacing: 0;
    font-size: 18px;
    padding: 16px;
}
.inrpopboxwrap strong {
    font-size: 20px;
    color: #000;
    margin: 20px 0;
    display: inline-block;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}
.inrpopboxwrap ul {
    margin: 0 0 25px;
}
.inrpopboxwrap ul li{
	list-style: none;
}
.popboxwrap{
	position: relative;
}
.popboxwrap span.closepopup {
    position: absolute;
    height: 30px;
    width: 30px;
    background: #fff;
    top: -15px;
    right: -15px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #000;
	cursor: pointer;
}



.event-content > .readmore > a {
    display:none !important;
}
.popup .slick-slide.mySlides {
    flex-direction: column;
    align-items: center !important;
    text-align: center !important;
}
#boxes #dialog {
    height: auto;
    width: 100%;
    max-width: 400px;
    padding: 10px;
}
.popup .slick-slide.mySlides .content-right {
    width: 100%;
    text-align: center;
}
.popup #mySlides > a, .popup #mySlides > a div {
    width: 100% !important;
    text-align: center !important;
}
.popup #mySlides > a div .wp-post-image {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    width: auto;
    height: 530px;
}
.close{
	z-index: 9;
}
body .popup .slick-prev {
    left: -10px;
    height: 45px;
    z-index: 99;
    width: 26px;
    opacity: 0;
    transform: none;
}
body .popup .slick-next {
    right: -10px;
    height: 45px;
    z-index: 99;
    width: 26px;
	opacity: 0;
	transform: none;
}



@media screen and (min-width: 991px){
	.sidebar-footer.lastone {
		float: left;
		width: 28%;
	}
}
@media screen and (max-width: 768px){
	.maintblrsrvtnfrm .form-group {
		max-width: 100%;
		flex: 0 0 100%;
	}
	.event-content > .readmore > a {
		display:none !important;
	}
}
@media screen and (max-width: 375px){
	#boxes #dialog {
		max-width: 295px;
		padding: 10px !important;
	}
	.image-left {
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.popup #mySlides > a div .wp-post-image {
		height: 380px;
	}
	.popup #mySlides > a {
		margin: 0;
		width: 100%;
	}
}