/* Mavrosxristoforos.com Template
   All Rights Reserved - Christopher Mavros (C) */
/* GENERAL */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600);
html, body { height: 100%; }
body { font-family: 'Open Sans', Helvetica, Arial; }
.clr { clear: both; }
@media (min-width:768px){.container{width: 740px;}}
@media (min-width:992px){.container{width: 960px;}}
@media (min-width:1200px){.container{width:100%;max-width:1800px;}}
      
/* HEADER */
.navbar { margin-bottom: 0; border-bottom: 0; }
.navbar { padding: 0px 5px; }
.navbar-brand { padding: 2px 5px 5px 0; margin-left: 0 !important; }
@media (max-width: 400px) {
  .navbar { padding: 0px 5px; }
  .navbar img {max-width: 180px;}
}
@media (min-width: 768px) and (max-width:991px) {
  .navbar img {max-width: 190px;}
}
@media (max-width: 991px) {
  .navbar-wrapper .container { width: 100% !important; }
}
@media (min-width: 992px) {
  .item-368 .list-unstyled.dropdown-menu { min-width: 46%; }
  .item-603 .list-unstyled.dropdown-menu { min-width: 32%; }
}
.list-unstyled.dropdown-menu { width: auto; background: #222; border-radius: 0; padding-bottom: 15px; }
@media (max-width: 767px) {
  .list-unstyled.dropdown-menu { width: 100% !important; }
}
ul.navbar-nav li ul { display: none; position: absolute; list-style: none; background-color: #222; }
.dropdown-menu{border-top:none;}
.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus, .dropdown-menu>li>span:hover { background-color: #222; }
.dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>span{background-color:#10101A;}
.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus{background-color:#10101A;}
ul.navbar-nav li ul li, ul.navbar-nav li ul li a, ul.navbar-nav li ul li span, .navbar-inverse .navbar-nav>li>a { color: #CCC; }
ul.navbar-nav li ul li:hover a, ul.navbar-nav li ul li:hover span { color: #FFF; }
/*ul.navbar-nav li:hover ul { display: block; }*/
@media (max-width: 767px) {
  ul.navbar-nav li ul { position: static; }
  /*ul.navbar-nav li:active ul { display: block;  }*/
  .dropdown-menu { float: none; border: none; border-radius: none; box-shadow: none; -webkit-box-shadow: none; }
}
.navbar-nav>li>span { padding: 15px 15px; line-height: 20px; color: #CCC; position: relative; display: block; }
.navbar-nav>li:hover>span { color: #fff; }

.tvtma-megamnu-content .megacol-header,
.tvtma-megamnu-content .megacol-header a, .tvtma-megamnu-content .megacol-header span { background: none;
  text-transform: none; font-size: 14px; font-weight: normal;
  text-shadow: none; color: #CCC; }
li.megacol-header { border-bottom: 1px solid #CCC; margin-bottom: 5px; }
.tvtma-megamnu-content li>a, .tvtma-megamnu-content li>span { color: #DDD; border-bottom: 1px solid #252525; }
.tvtma-megamnu-content ul li:last-child>a, .tvtma-megamnu-content ul li:last-child>span, li.item-376>a { border-bottom: none; }
.tvtma-megamnu-content li>span2 { display: block; padding: 3px 20px; clear: both; font-weight: normal; line-height: 18px; white-space: nowrap; }
.dropdown-menu .divider { margin: 5px 0; background-color:#CCC; }
.tvtma-megamnu .nav-child a, .tvtma-megamnu .nav-child span { color:#DDD; }
.tvtma-megamnu li.item-363 { position: relative !important; }
.dropdown-toggle.disabled { padding-right: 30px; }
.tvtma-megamnu .dropdown-caret { position: absolute !important; top: 0; right: 0; padding-left: 0; }
.nav.navbar-nav>li { display: block !important; }

/* Search */
#mod-search-searchword { width: 80%; margin-bottom: 5px; color: #222; }
.search .button.btn { padding: 5px 10px; line-height: 15px; }

/* Main Component */
.inner_content { margin-top: 20px; }
.bottom_modules { margin-top: 20px; }
@media(max-width: 991px) { .items-row.cols-2 .span6>div:after { clear: both; } }
@media(min-width: 992px) { .items-row.cols-2 .span6 { float: left; max-width: 48%; margin-right: 2%; text-align: justify; } }
.page-header { margin: 0; }
.readmore .btn { color: #fff; background-color: #428bca; border-color: #357ebd; }
dl.article-info { margin-bottom: 5px; }
.item-page { text-align: justify; }
.item-image img { max-width: 100%; }
.img_caption { width: auto !important; }
.span6 .item:last-child { clear: both; }
.horizontal_ruler_no_footer { padding: 5px 0; margin: 10px 15%; border-bottom: 1px solid #CCC; }
.breadcrumb { margin-bottom: 0px; }
.pull-left.item-image { margin-top: 20px; margin-right: 10px; }

.right_column { padding: 10px; background: #DDD; }
@media(min-width: 600px) {
  .inner_content.with_right { float: left; width: 65%; margin-right: 3%; }
  .right_column { float: right; width: 30%; margin-top: 20px; min-height: 95%; }
}

/* Footer */
.footer { background: #222; margin-bottom: 10px; padding: 20px 10px; color: #AAA; margin-top: 20px; }
.footer .container { min-height: 240px; }
.footer h3 { font-size: 18px; margin-top: 0px; color: #888; border-bottom: 1px solid #272727; }
.footer .nav>li>a { padding: 5px 10px; }
@media (min-width: 600px) {
  .footer .col-lg-3 {
    width: 25%;
    float: left;
  }
}
@media (max-width: 600px) {
  .footer .moduletable { margin-bottom: 15px; border-bottom: 1px solid #333; }
  .footer h3 { font-size: 16px; }
  .footer { font-size: 12px; }
}
.nspro_field { margin-bottom: 5px; }
.controls .label, .controls input { display: block !important; margin-bottom: 5px; }
#modlgn-remember { position: static; margin: 0 5px 0 0; float: left; height: 24px; display: inline-block; }
.element-invisible { display: none; }
#login-form ul { list-style-type: none; margin: 10px 0 0; padding-left: 0; }
.checkbox label { padding-left: 0 !important; }

.copyright { text-align: center; font-size: 11px; margin-bottom: 10px; }
.copyright ul.nav>li>a { padding:0; display:inline; background:none !important;}

@media (max-width: 500px) {.mobile_clr { clear:both; }}  

div.rapid_contact_ex label { margin: 0; }
.rpx_field { margin-bottom: 10px !important; }
div.rapid_contact_ex input.send_me_a_copy_checkbox { display: inline-block !important; min-height: 0 !important; }

.form-horizontal .control-label { text-align: left !important; }
#cjk_self_trigger { display: inline-block; vertical-align: middle; }
.error-message { color: #c22303; margin-bottom: 10px; }
.message { font-size: 20px; color: #2f56ef; margin-bottom: 10px; }
.alert-notice, div.alert.alert-message { color: #31708f; background-color: #d9edf7; border-color: #bce8f1; }
.alert-error, .alert-error .alert-message {color: #a94442; background-color: #f2dede; border-color: #ebccd1; }
.alert-error hr { border-top-color: #e4b9c0; }
.alert-error .alert-link { color:#843534; }
.alert-success { background-color: #dff0d8; border-color: #d6e9c6; color: #3c763d; }

@media(min-width: 992px) {
  li.item-363 div.tvtma-megamnu-content>ul { width: 49% !important; }
  li.item-363 div.tvtma-megamnu-content>ul:last-child { clear: both; width: 100% !important; }
}
li.item-363 div.tvtma-megamnu-content>ul:last-child>li { border-top: 1px solid #CCC; margin-top: 10px; padding-top: 5px; overflow: hidden; }
@media (max-width: 767px) {
  .navbar-inverse .navbar-nav .open .dropdown-menu .divider { background-color: #CCC; }
}
.custom_left_column, .custom_right_column { display:none; }
.main_column img { margin-right: 15px; }
@media (min-width: 992px) {
  .main_column { float: left; }
  .custom_left_column, .custom_right_column {
    display: block;
    float: left;
    margin-right: 8px;
  }
  .main_column.split-in-2 { width: 75%; }
  .custom_left_column.split-in-2 { width: 22%; margin-right: 2%; }
  .custom_right_column.split-in-2 { width: 22%; margin-left: 2%; }
  .main_column.split-in-3 { width: 60%; }
  .custom_left_column.split-in-3 { width: 17%; margin-right: 2%; }
  .custom_right_column.split-in-3 { width: 17%; margin-left: 2%; }
}

.custom_google_ads { margin-bottom: 10px; overflow: hidden; }
@media (min-width: 768px) {
  #searchForm fieldset { width: 48%; margin-right: 2%; float:left; }
}
#searchForm fieldset .phrases-box label, #searchForm fieldset.only label { margin-left: 40px; }
#searchForm fieldset .ordering-box label { margin-left: 20px; }
#searchForm legend { margin-bottom: 0; }
.search-sep { border-top: 1px solid #e5e5e5; margin: 15px 0; }
.search-form.form-limit { float: right; }
@media (min-width: 768px) {
  .search-sep { margin: 15px 2% 15px 0; }
  .search-form.form-limit { margin-right: 2%; }
}
.counter { margin-top: 10px; }

/* Cookie Consent */
.cc_container { font-size: 12px !important; font-family: 'Open Sans', Helvetica, Arial !important; }
div.cc_banner.cc_container { padding: 5px 7% !important; }
.cc_container a.cc_btn, .cc_container a.cc_btn:visited {
  color: #fff !important; background-color: #428bca !important;
  border-color: #357ebd !important; }
@media (max-width: 450px) {
  .cc_container { font-size: 16px !important; }
}

/* Contact Form */
.rpx_field_input .inputbox, .rpx_field_input .textarea, .rpx_field_input select { max-width: 100% !important; width: 100% !important; }

/* General */
.pt-10 { padding-top: 10px; }
.pt-20 { padding-top: 20px; }
.pt-30 { padding-top: 30px; }
.pt-40 { padding-top: 40px; }
.pt-50 { padding-top: 50px; }
.pt-60 { padding-top: 60px; }
.pt-70 { padding-top: 70px; }
.pt-80 { padding-top: 80px; }
.pt-90 { padding-top: 90px; }
.pt-100 { padding-top: 100px; }
.pb-10 { padding-bottom: 10px; }
.pb-20 { padding-bottom: 20px; }
.pb-30 { padding-bottom: 30px; }
.pb-40 { padding-bottom: 40px; }
.pb-50 { padding-bottom: 50px; }
.pb-60 { padding-bottom: 60px; }
.pb-70 { padding-bottom: 70px; }
.pb-80 { padding-bottom: 80px; }
.pb-90 { padding-bottom: 90px; }
.pb-100 { padding-bottom: 100px; }

@media(min-width:768px) { .mobile-only { display: none; } .large-only { display: block; } }
@media(max-width:767px) { .mobile-only { display: block; } .large-only { display: none; } }

/* Languages */
.mod-languages { float: right; }
.mod-languages a {color:#777;display:inline-block;padding-top:16px}
.mod-languages a:hover { color: #DDD; }
.visually-hidden { display: none; }
div.mod-languages ul.lang-inline li { line-height: 41px; margin: 0; }
div.mod-languages ul li.lang-active { background: none !important; }
div.mod-languages ul li.lang-active a { color: #f0f0f0; }
.lang-active a { font-weight: bold; }
@media(max-width:767px){.mod-languages {margin-right: 0.25em}}

/* Button Colors */
.btn-purple { color: #fff; background-color: #8E63CE; border-color: #7C54B8; }
.btn-purple:hover, .btn-purple:focus { color: #fff; background-color: #7648B6; border-color: #653AA0; }
.btn-viber { color: #fff; background-color: #59267c; border-color: #59267c }
.btn-viber:hover, .btn-purple:focus { color: #fff; background-color: #7a5196; border-color: #7a5196; }
.btn-teal { color: #fff; background-color: #4AA3A3; border-color: #3F9191; }
.btn-teal:hover, .btn-teal:focus { color: #fff; background-color: #398989; border-color: #2F7373; }
.btn-dark { color: #fff; background-color: #555555; border-color: #444444; }
.btn-dark:hover, .btn-dark:focus { color: #fff; background-color: #3F3F3F; border-color: #2C2C2C; }
.btn-cyan { color: #fff; background-color: #5BC0DE; border-color: #46B8DA; }
.btn-cyan:hover, .btn-cyan:focus { color: #fff; background-color: #31B0D5; border-color: #269ABC; }
.btn-indigo { color: #fff; background-color: #5C6BC0; border-color: #4F5DB0; }
.btn-indigo:hover, .btn-indigo:focus { color: #fff; background-color: #3F51B5; border-color: #3949AB; }
.btn-navy { color: #fff; background-color: #3F5C7D; border-color: #344E68; }
.btn-navy:hover, .btn-navy:focus { color: #fff; background-color: #314863; border-color: #293C53; }
.btn-olive { color: #fff; background-color: #8DAA3C; border-color: #7E9834; }
.btn-olive:hover, .btn-olive:focus { color: #fff; background-color: #748B2F; border-color: #647927; }
.btn-brown { color: #fff; background-color: #8D6E63; border-color: #7A6056; }
.btn-brown:hover, .btn-brown:focus { color: #fff; background-color: #6D4C41; border-color: #5D4037; }
.btn-slate { color: #fff; background-color: #607D8B; border-color: #546E7A; }
.btn-slate:hover, .btn-slate:focus { color: #fff; background-color: #455A64; border-color: #37474F; }
.btn-rose { color: #fff; background-color: #D87093; border-color: #CC5E84; }
.btn-rose:hover, .btn-rose:focus { color: #fff; background-color: #C85A7C; border-color: #B94A6C; }
.btn-gold { color: #fff; background-color: #C9A227; border-color: #B28F22; }
.btn-gold:hover, .btn-gold:focus { color: #fff; background-color: #A8861F; border-color: #8F711B; }
.btn-steel { color: #fff; background-color: #6A8CAF; border-color: #5B7D9F; }
.btn-steel:hover, .btn-steel:focus { color: #fff; background-color: #557899; border-color: #4A6985; }
.btn-forest { color: #fff; background-color: #4F8A4F; border-color: #447744; }
.btn-forest:hover, .btn-forest:focus { color: #fff; background-color: #3F6F3F; border-color: #355F35; }
.btn-bright-red { color: #fff; background-color: #E53935; border-color: #D32F2F; }
.btn-bright-red:hover, .btn-bright-red:focus { color: #fff; background-color: #C62828; border-color: #B71C1C; }
.btn-crimson { color: #fff; background-color: #DC3545; border-color: #C82333; }
.btn-crimson:hover, .btn-crimson:focus { color: #fff; background-color: #BD2130; border-color: #A71D2A; }
.btn-coral { color: #fff; background-color: #FF6F61; border-color: #F45C4D; }
.btn-coral:hover, .btn-coral:focus { color: #fff; background-color: #F45142; border-color: #E64A3B; }
.btn-pink { color: #fff; background-color: #EC407A; border-color: #E91E63; }
.btn-pink:hover, .btn-pink:focus { color: #fff; background-color: #D81B60; border-color: #C2185B; }
.btn-violet { color: #fff; background-color: #9C27B0; border-color: #8E24AA; }
.btn-violet:hover, .btn-violet:focus { color: #fff; background-color: #7B1FA2; border-color: #6A1B9A; }
.btn-sky { color: #fff; background-color: #2196F3; border-color: #1E88E5; }
.btn-sky:hover, .btn-sky:focus { color: #fff; background-color: #1976D2; border-color: #1565C0; }
.btn-lime { color: #fff; background-color: #8BC34A; border-color: #7CB342; }
.btn-lime:hover, .btn-lime:focus { color: #fff; background-color: #689F38; border-color: #558B2F; }
.btn-amber { color: #fff; background-color: #FFB300; border-color: #FFA000; }
.btn-amber:hover, .btn-amber:focus { color: #fff; background-color: #FB8C00; border-color: #F57C00; }
.btn-deep-orange { color: #fff; background-color: #FF7043; border-color: #F4511E; }
.btn-deep-orange:hover, .btn-deep-orange:focus { color: #fff; background-color: #E64A19; border-color: #D84315; }
.btn-emerald { color: #fff; background-color: #2ECC71; border-color: #27AE60; }
.btn-emerald:hover, .btn-emerald:focus { color: #fff; background-color: #239B56; border-color: #1E8449; }

/* Table Colors */
.table-striped-olive>tbody>tr:nth-of-type(odd), .table-striped-olive>tbody>tr:nth-of-type(odd)>td, .table-striped-olive>tbody>tr:nth-of-type(odd)>th { background-color: #f3f6eb; }
.table-striped-purple>tbody>tr:nth-of-type(odd), .table-striped-purple>tbody>tr:nth-of-type(odd)>td, .table-striped-purple>tbody>tr:nth-of-type(odd)>th { background-color: #f2ecfb; }
.table-striped-deep-orange>tbody>tr:nth-of-type(odd), .table-striped-deep-orange>tbody>tr:nth-of-type(odd)>td, .table-striped-deep-orange>tbody>tr:nth-of-type(odd)>th { background-color: #fff0e9; }
.table-striped-crimson>tbody>tr:nth-of-type(odd), .table-striped-crimson>tbody>tr:nth-of-type(odd)>td, .table-striped-crimson>tbody>tr:nth-of-type(odd)>th { background-color: #fdeced; }
.table-striped-red>tbody>tr:nth-of-type(odd), .table-striped-red>tbody>tr:nth-of-type(odd)>td, .table-striped-red>tbody>tr:nth-of-type(odd)>th { background-color: #fdeeee; }
.table-striped-green>tbody>tr:nth-of-type(odd), .table-striped-green>tbody>tr:nth-of-type(odd)>td, .table-striped-green>tbody>tr:nth-of-type(odd)>th { background-color: #edf8ed; }
.table-striped-emerald>tbody>tr:nth-of-type(odd), .table-striped-emerald>tbody>tr:nth-of-type(odd)>td, .table-striped-emerald>tbody>tr:nth-of-type(odd)>th { background-color: #e9f9f0; }
.table-striped-teal>tbody>tr:nth-of-type(odd), .table-striped-teal>tbody>tr:nth-of-type(odd)>td, .table-striped-teal>tbody>tr:nth-of-type(odd)>th { background-color: #ebf7f7; }
.table-striped-cyan>tbody>tr:nth-of-type(odd), .table-striped-cyan>tbody>tr:nth-of-type(odd)>td, .table-striped-cyan>tbody>tr:nth-of-type(odd)>th { background-color: #eef9fc; }
.table-striped-blue>tbody>tr:nth-of-type(odd), .table-striped-blue>tbody>tr:nth-of-type(odd)>td, .table-striped-blue>tbody>tr:nth-of-type(odd)>th { background-color: #edf5fc; }
.table-striped-navy>tbody>tr:nth-of-type(odd), .table-striped-navy>tbody>tr:nth-of-type(odd)>td, .table-striped-navy>tbody>tr:nth-of-type(odd)>th { background-color: #edf1f5; }
.table-striped-violet>tbody>tr:nth-of-type(odd), .table-striped-violet>tbody>tr:nth-of-type(odd)>td, .table-striped-violet>tbody>tr:nth-of-type(odd)>th { background-color: #f5eef8; }
.table-striped-pink>tbody>tr:nth-of-type(odd), .table-striped-pink>tbody>tr:nth-of-type(odd)>td, .table-striped-pink>tbody>tr:nth-of-type(odd)>th { background-color: #fdf0f6; }
.table-striped-gold>tbody>tr:nth-of-type(odd), .table-striped-gold>tbody>tr:nth-of-type(odd)>td, .table-striped-gold>tbody>tr:nth-of-type(odd)>th { background-color: #fcf8ea; }
.table-striped-amber>tbody>tr:nth-of-type(odd), .table-striped-amber>tbody>tr:nth-of-type(odd)>td, .table-striped-amber>tbody>tr:nth-of-type(odd)>th { background-color: #fff9e8; }
.table-striped-brown>tbody>tr:nth-of-type(odd), .table-striped-brown>tbody>tr:nth-of-type(odd)>td, .table-striped-brown>tbody>tr:nth-of-type(odd)>th { background-color: #f6f2f0; }
.table-striped-slate>tbody>tr:nth-of-type(odd), .table-striped-slate>tbody>tr:nth-of-type(odd)>td, .table-striped-slate>tbody>tr:nth-of-type(odd)>th { background-color: #f0f4f6; }
.table-striped-indigo > tbody > tr:nth-of-type(odd), .table-striped-indigo>tbody>tr:nth-of-type(odd)>td, .table-striped-indigo>tbody>tr:nth-of-type(odd)>th { background-color: #eef0fb; }

/* Icons for Menu Items */
@media (min-width:768px) and (max-width:1260px) {
  li.item-6083>a, li.item-6103>a,
  li.item-6084>a, li.item-6104>a,
  li.item-6088>a, li.item-6108>a,
  li.item-6092>a, li.item-6112>a,
  li.item-6095>a, li.item-6115>a,
  li.item-6099>a, li.item-6119>a,
  li.item-6616>a, li.item-6615>a,
  li.item-6987>a, li.item-7000>a,
  li.item-18844>a, li.item-18846>a { font-size: 0; line-height: 0; }
}
@media (min-width:768px) {
  ul.nav.menu.navbar-nav:has( li:nth-child(9) ) > li > a {
  	font-size: 0; line-height: 0;
  }
  ul.nav.menu.navbar-nav:has( li:nth-child(9) ) > li > a:before {
  	font-size: 14px !important; line-height: 20px !important;
  }
}

li.item-6083>a:before, li.item-6103>a:before,
li.item-6084>a:before, li.item-6104>a:before,
li.item-6088>a:before, li.item-6108>a:before,
li.item-6092>a:before, li.item-6112>a:before,
li.item-6095>a:before, li.item-6115>a:before,
li.item-6099>a:before, li.item-6119>a:before,
li.item-6616>a:before, li.item-6615>a:before,
li.item-6987>a:before, li.item-7000>a:before,
li.item-18844>a:before, li.item-18846>a:before {
  font-family: Font Awesome\ 5 Free;
  font-size: 18px;
  line-height: 20px;
  padding: 0 8px;
}
@media (max-width:767px), (min-width:1261px) {
  li.item-6083>a:before, li.item-6103>a:before,
  li.item-6084>a:before, li.item-6104>a:before,
  li.item-6088>a:before, li.item-6108>a:before,
  li.item-6092>a:before, li.item-6112>a:before,
  li.item-6095>a:before, li.item-6115>a:before,
  li.item-6099>a:before, li.item-6119>a:before,
  li.item-6616>a:before, li.item-6615>a:before,
  li.item-6987>a:before, li.item-7000>a:before,
  li.item-18844>a:before, li.item-18846>a:before {
    font-size: inherit;
    line-height: inherit;
    padding: 0 8px 0 0;
  }
}
li.item-6083>a:before, li.item-6103>a:before, li.item-6987>a:before, li.item-7000>a:before { content: "\f015"; }
li.item-6084>a:before, li.item-6104>a:before { content: "\f0c0"; }
li.item-6088>a:before, li.item-6108>a:before { content: "\f279"; }
li.item-6092>a:before, li.item-6112>a:before { content: "\f02d"; }
li.item-6095>a:before, li.item-6115>a:before { content: "\f0b1"; }
li.item-6099>a:before, li.item-6119>a:before { content: "\f508"; }
li.item-6616>a:before, li.item-6615>a:before { content: "\f05a"; }
li.item-18844>a:before, li.item-18846>a:before { content: "\f5da"; }

/* Web App */
@media(max-width:900px){h2.congregation_name{position: absolute; right: 10px; color: rgba(0,0,0,0.1); font-size: 15px; top: 40px;}}
.navbar-toggle{float:left;margin-right:0;margin-left:10px;}
.dropdown-menu>li>a{padding:6px 20px;border-bottom:1px solid #1E1E1E;}
@media(max-width:500px){.item_type_title{font-size:17px;margin: 5px 0 !important;}}

/* New Login Form */
.inner_content .login.center-align { text-align: center; }
.inner_content .login.center-align form, .inner_content .login.center-align .com-users-login__options { width: 100%; text-align: center; max-width: 250px; margin: 0 auto; }
.inner_content .login.center-align .com-users-login__options .list-group-item { border: none; }
.inner_content .login .controls input { width: 100%; }

joomla-alert { min-height: 60px; display: flex !important; justify-content: space-between; flex-flow: row-reverse; align-items: center; }
.input-password-toggle { display: none; }
input#remember { margin-top: 20px; }
.form-control-feedback { display: none; }

a[role="button"] { cursor: pointer; }

.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus { color: #fff; }

.main-btn-group { display: flex; justify-content: space-between; }

/* Dark Mode */
body.dark { background: #222; color: #eee; --bs-secondary-color: #e0e0e0; --bs-border-color: #444; }
body.dark .homepage.main_content { background: #2a2a2a; }
body.dark input[type="text"], body.dark input[type="password"], body.dark input[type="email"], body.dark input[type="number"], body.dark textarea, body.dark .rpx_field select, body.dark .form-select { color: #eee; background: #444; border-color: #666; }
body.dark input::placeholder { color: #eee; }
body.dark ::-webkit-input-placeholder, body.dark ::-moz-placeholder, body.dark :-ms-input-placeholder, body.dark :-moz-placeholder { color: #aaa; }
body.dark a { color: #a0c5e4; }
body.dark a.btn { color: #fff; }
body.dark .download-page-content-right, body.dark .breadcrumb, body.dark .dropdown-menu, body.dark select, body.dark .btn.dropdown-toggle, body.dark .panel { background: #333; color: #eee; border-color: #444; }
body.dark .btn-primary.dropdown-toggle { background: #428bca; }
body.dark .download-page-discount-badge { color: #111; }
body.dark .nav-tabs>li.active>a, body.dark .nav-tabs>li.active>a:hover, body.dark .nav-tabs>li.active>a:focus { background: #222; color: #a0c5e4; }
body.dark .download-related-link a { background: #3D3D3D; border-color: #333; color: #7aadd9; }
body.dark .nav>li>a:hover, body.dark .nav>li>a:focus { background: #222; color: #fff; }
body.dark .navbar-default { background: #333; border-color: #383838; }
body.dark .navbar-default .navbar-nav>li>a { color: #ddd; }
body.dark .navbar-default .navbar-nav>li.active>a, body.dark .navbar-default .navbar-nav>li>a:hover, body.dark .navbar-default .navbar-nav>li>a:focus { background: #303030; color: #fff; }
body.dark #catid { background: #222; }
body.dark .well { background: #333; border-color: #333; }
body.dark .pagination>li>a, body.dark .pagination>li>span { background: #333; border-color: #444; }
body.dark .btn-secondary, body.dark .btn-default { background: #333; color: #ccc; border-color: #444; }
body.dark legend { color: #ccc; border-bottom-color: #333; }
body.dark .btn:hover, body.dark .btn:focus { color: #eee; }
body.dark .btn-black { background-color: #333; border-color: #444; }
body.dark .modal-content { background: #222; }
body.dark .table { --bs-table-bg: #222; --bs-table-color: #eee; --bs-table-striped-color: #eee; --bs-table-active-color: #fff; --bs-table-hover-color: #fff; background-color: #222; }
body.dark .table-bordered { border-color: #444; }
body.dark .table-striped>tbody>tr:nth-child(odd)>td, body.dark .table-striped>tbody>tr:nth-child(odd)>th { background: #313131; }
body.dark .table-bordered>thead>tr>th, body.dark .table-bordered>tbody>tr>th, body.dark .table-bordered>tfoot>tr>th, body.dark .table-bordered>thead>tr>td, body.dark .table-bordered>tbody>tr>td, body.dark .table-bordered>tfoot>tr>td { border-color: #444; }
body.dark .table>thead>tr>th, body.dark .table>tbody>tr>th, body.dark .table>tfoot>tr>th, body.dark .table>thead>tr>td, body.dark .table>tbody>tr>td, body.dark .table>tfoot>tr>td { border-top-color: #444; }
body.dark .table>thead>tr>th { border-bottom-color: #444; }
body.dark .table-hover>tbody>tr:hover>td, body.dark .table-hover>tbody>tr:hover>th { background: #282828; }
body.dark code { color: #25c79e; background: #363636; }
body.dark pre { background: #363636; border-color: #444; color: #25c79e; }
body.dark .tvtma-megamnu-content li>a, body.dark .tvtma-megamnu-content li>div, body.dark .tvtma-megamnu-content li>span { border-bottom-color: #383838; }
body.dark #main-content.homepage img { box-shadow: 3px 3px 5px #181818; }

.mx_dark_toggle_wrapper { float: right; }
.mx_dark_toggle { padding: 15px 0; padding-bottom: 15px; display: block; color: #eee !important; }
.mx_dark_toggle, .mx_dark_toggle:hover, .mx_dark_toggle:focus{ text-decoration:none !important; }
.mx_dark_toggle:before { display: inline-block; font: normal normal normal 16px/1 "Font Awesome 5 Free"; font-size: 16px; text-rendering: auto; -webkit-font-smoothing: antialiased; vertical-align: bottom; content: "\f185"; font-weight: 900; }
.mx_dark_toggle.on:before { content: "\f186"; }
@media(max-width: 767px), (min-width:860px) {
  .mx_dark_toggle:before { margin-right: 10px; }
  /*.mx_dark_toggle:after { content: "Dark Theme"; }*/
}
body.dark a.close { color: #000; }
body.dark ul.profilebox a.label { color: #FFF; }

body.dark .btn.dropdown-toggle { border: 1px solid #444; }

body.dark #sbox-window, body.dark #sbox-content { background-color: #333; }
body.dark label.sq_label { background-color: transparent; }
body.dark ul.breadcrumb li.active span { color: #FFF; }
body.dark .cc_container--open { border-top: 1px solid #111; }
body.dark .mx-license-details .mx-grid>div:first-child { background: #333; }
body.dark .mx-license-details .mx-grid>div:nth-child(2) { background: #1A1A1A; }
body.dark ul.tags li a { color: #222; }
body.dark .list-group-item { background: inherit; color: inherit; }
body.dark .card { background-color: #333; }
body.dark h2.congregation_name { color: rgba(255, 255, 255, 0.9); }
body.dark #cboxContent { color: #000; }
body.dark .nav-tabs { border-bottom-color: #383838; }
body.dark .nav-tabs>li.active>a, body.dark .nav-tabs>li.active>a:hover, body.dark .nav-tabs>li.active>a:focus { border-color: #383838; border-bottom-color: transparent; }
body.dark .bg-gray { background: #444; }

/* Dark Mode Alerts */
body.dark .alert-success { color: #a8d5a2; background-color: #29352a; border-color: #405640; }
body.dark .alert-success hr { border-top-color: #526f50; }
body.dark .alert-success .alert-link { color: #c0e6ba; }
body.dark .alert-info { color: #9ec9df; background-color: #28343a; border-color: #3d5965; }
body.dark .alert-info hr { border-top-color: #507484; }
body.dark .alert-info .alert-link { color: #b9dded; }
body.dark .alert-warning { color: #dfc98d; background-color: #393326; border-color: #5d5338; }
body.dark .alert-warning hr { border-top-color: #756641; }
body.dark .alert-warning .alert-link { color: #ecd9a5; }
body.dark .alert-danger { color: #e0a2a2; background-color: #3a2b2c; border-color: #604143; }
body.dark .alert-danger hr { border-top-color: #764e50; }
body.dark .alert-danger .alert-link { color: #efb9b9; }
body.dark .alert-notice, body.dark div.alert.alert-message { color: #9ec9df; background-color: #28343a; border-color: #3d5965; }
body.dark .alert-error, body.dark .alert-error .alert-message { color: #e0a2a2; background-color: #3a2b2c; border-color: #604143; }
body.dark .alert-error hr { border-top-color: #764e50; }
body.dark .alert-error .alert-link { color: #efb9b9; }
body.dark .alert-success { background-color: #29352a; border-color: #405640; color: #a8d5a2; }

/* Dark Mode Table Colors */
body.dark .table-striped-olive>tbody>tr:nth-of-type(odd),
body.dark .table-striped-olive>tbody>tr:nth-of-type(odd)>td,
body.dark .table-striped-olive>tbody>tr:nth-of-type(odd)>th { background-color: #30352b; }
body.dark .table-striped-purple>tbody>tr:nth-of-type(odd),
body.dark .table-striped-purple>tbody>tr:nth-of-type(odd)>td,
body.dark .table-striped-purple>tbody>tr:nth-of-type(odd)>th { background-color: #322d3a; }
body.dark .table-striped-deep-orange>tbody>tr:nth-of-type(odd),
body.dark .table-striped-deep-orange>tbody>tr:nth-of-type(odd)>td,
body.dark .table-striped-deep-orange>tbody>tr:nth-of-type(odd)>th { background-color: #3a302b; }
body.dark .table-striped-crimson>tbody>tr:nth-of-type(odd),
body.dark .table-striped-crimson>tbody>tr:nth-of-type(odd)>td,
body.dark .table-striped-crimson>tbody>tr:nth-of-type(odd)>th { background-color: #3a2c2f; }
body.dark .table-striped-red>tbody>tr:nth-of-type(odd),
body.dark .table-striped-red>tbody>tr:nth-of-type(odd)>td,
body.dark .table-striped-red>tbody>tr:nth-of-type(odd)>th { background-color: #3a2d2e; }
body.dark .table-striped-green>tbody>tr:nth-of-type(odd),
body.dark .table-striped-green>tbody>tr:nth-of-type(odd)>td,
body.dark .table-striped-green>tbody>tr:nth-of-type(odd)>th { background-color: #2c362c; }
body.dark .table-striped-emerald>tbody>tr:nth-of-type(odd),
body.dark .table-striped-emerald>tbody>tr:nth-of-type(odd)>td,
body.dark .table-striped-emerald>tbody>tr:nth-of-type(odd)>th { background-color: #29372f; }
body.dark .table-striped-teal>tbody>tr:nth-of-type(odd),
body.dark .table-striped-teal>tbody>tr:nth-of-type(odd)>td,
body.dark .table-striped-teal>tbody>tr:nth-of-type(odd)>th { background-color: #293637; }
body.dark .table-striped-cyan>tbody>tr:nth-of-type(odd),
body.dark .table-striped-cyan>tbody>tr:nth-of-type(odd)>td,
body.dark .table-striped-cyan>tbody>tr:nth-of-type(odd)>th { background-color: #29363a; }
body.dark .table-striped-blue>tbody>tr:nth-of-type(odd),
body.dark .table-striped-blue>tbody>tr:nth-of-type(odd)>td,
body.dark .table-striped-blue>tbody>tr:nth-of-type(odd)>th { background-color: #2a343a; }
body.dark .table-striped-navy>tbody>tr:nth-of-type(odd),
body.dark .table-striped-navy>tbody>tr:nth-of-type(odd)>td,
body.dark .table-striped-navy>tbody>tr:nth-of-type(odd)>th { background-color: #2c3035; }
body.dark .table-striped-violet>tbody>tr:nth-of-type(odd),
body.dark .table-striped-violet>tbody>tr:nth-of-type(odd)>td,
body.dark .table-striped-violet>tbody>tr:nth-of-type(odd)>th { background-color: #342e37; }
body.dark .table-striped-pink>tbody>tr:nth-of-type(odd),
body.dark .table-striped-pink>tbody>tr:nth-of-type(odd)>td,
body.dark .table-striped-pink>tbody>tr:nth-of-type(odd)>th { background-color: #392d34; }
body.dark .table-striped-gold>tbody>tr:nth-of-type(odd),
body.dark .table-striped-gold>tbody>tr:nth-of-type(odd)>td,
body.dark .table-striped-gold>tbody>tr:nth-of-type(odd)>th { background-color: #38352a; }
body.dark .table-striped-amber>tbody>tr:nth-of-type(odd),
body.dark .table-striped-amber>tbody>tr:nth-of-type(odd)>td,
body.dark .table-striped-amber>tbody>tr:nth-of-type(odd)>th { background-color: #3a3528; }
body.dark .table-striped-brown>tbody>tr:nth-of-type(odd),
body.dark .table-striped-brown>tbody>tr:nth-of-type(odd)>td,
body.dark .table-striped-brown>tbody>tr:nth-of-type(odd)>th { background-color: #342f2c; }
body.dark .table-striped-slate>tbody>tr:nth-of-type(odd),
body.dark .table-striped-slate>tbody>tr:nth-of-type(odd)>td,
body.dark .table-striped-slate>tbody>tr:nth-of-type(odd)>th { background-color: #2d3437; }
body.dark .table-striped-indigo>tbody>tr:nth-of-type(odd),
body.dark .table-striped-indigo>tbody>tr:nth-of-type(odd)>td,
body.dark .table-striped-indigo>tbody>tr:nth-of-type(odd)>th { background-color: #2e303a; }

/* Dark Mode Joomla Alerts */
body.dark joomla-alert {
    --jui-alert-button-color-dark: #d8d8d8;
    --jui-alert-button-color-light: #222;

    --jui-alert-success-color: #a8d5a2;
    --jui-alert-success-background-color: #29352a;
    --jui-alert-success-border-color: #405640;
    --jui-alert-success-link-color: #c0e6ba;

    --jui-alert-info-color: #9ec9df;
    --jui-alert-info-background-color: #28343a;
    --jui-alert-info-border-color: #3d5965;
    --jui-alert-info-link-color: #b9dded;

    --jui-alert-warning-color: #dfc98d;
    --jui-alert-warning-background-color: #393326;
    --jui-alert-warning-border-color: #5d5338;
    --jui-alert-warning-link-color: #ecd9a5;

    --jui-alert-danger-color: #e0a2a2;
    --jui-alert-danger-background-color: #3a2b2c;
    --jui-alert-danger-border-color: #604143;
    --jui-alert-danger-link-color: #efb9b9;
}

/* Congregation Select */
@media(max-width:767px){.nav>li>.congregation_select_link{padding-left:0;}}
.mod_congregation_select { float: right; }
.nav>li>a.congregation_select_link { color: #777; padding: 15px 0; line-height: 20px; }
.nav>li>a.congregation_select_link:hover, .nav>li>a.congregation_select_link:focus { color: #FFF; background-color: transparent; }
.congregation_list { list-style: none; padding-left: 0; min-width: 200px; }
.congregation_list>li { padding: 4px; }
.congregation_list>li.active_congregation { font-weight: bold; background-color: #f9f9f9; }

/* Specific Views */
.territory_real_id_overlay a, body.dark .territory_real_id_overlay a { color: #000; text-decoration: none !important; transition: font-size .25s; }
.territory_real_id_overlay a:hover, body.dark .territory_real_id_overlay a:hover { outline: 5px dashed #FFF; text-shadow: 0 0 10px #000; color: #FFF; z-index: 100000; position: fixed; }