/*
#------------------------------------------------------------------------
# Writer - #8 2014 Joomla! template (for Joomla 2.5)
#
# Copyright (C) 2007-2014 Gavick.com. All Rights Reserved.
# License: Copyrighted Commercial Software
# Website: http://www.gavick.com
# Support: support@gavick.com
*/

/* Basic elements */
*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
html { -webkit-font-smoothing: subpixel-antialiased; }
body {
	background: #f5f5f5;
	color: #444;
	font-size: 21px;
	font-weight: 400;
	line-height: 1.9;
	margin: 0;
	min-height: 100%;
	padding: 0;
	word-wrap: break-word;
}
a,
a.inverse:active,
a.inverse:focus,
a.inverse:hover,
.itemInfo a.inverse:active,
.itemInfo a.inverse:focus,
.itemInfo a.inverse:hover,
.itemAdditionalInfo a.inverse:active,
.itemAdditionalInfo a.inverse:focus,
.itemAdditionalInfo a.inverse:hover {
	color: #e45425;
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
	text-decoration: none;
}
.itemInfo a.inverse,
.itemAdditionalInfo a.inverse {
	color: #a8a8a8;
}
a.inverse,
a:hover,
a:active,
a:focus { color: #010101; }
h1,
h2,
h3,
h4,
h5,
h6 {
	color: #000;
	font-weight: 400;
	line-height: 1.2;
	margin: 0;
	padding: 0;
}
.itemBody h1,
.itemBody h2,
.itemBody h3,
.itemBody h4,
.itemBody h5,
.itemBody h6 {
	font-weight: bold;
	margin: 100px 0 30px;
}
h1 {
	font-size: 40px;
	text-transform: none
}
h2,
.componentheading {
	font-size: 36px;
	text-transform: none
}
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }
.itemBody h1 { font-size: 36px; }
.itemBody h2 { font-size: 26px; }
.itemBody h3 { font-size: 22px; }
.itemBody h4 { font-size: 18px; }
.itemBody h5 { font-size: 16px; }
.itemBody h6 { font-size: 14px; }
b,
strong { font-weight: 600; }
ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
li {
	font-size: 18px;
	line-height: 1.7;
}
p { margin: 1em 0 2em; }
iframe { max-width: 100%!important; }


/* Containers */
#gk-bg {
	width: 100%;
}
#gk-header {
	background: #fff;
	border-right: 1px solid #e5e5e5;
	float: left;
	height: 100%;
	left: 280px;
	position: absolute;
	top: 0;
	-webkit-transition: left .3s ease-out;
	-moz-transition: left .3s ease-out;
	-ms-transition: left .3s ease-out;
	-o-transition: left .3s ease-out;
	transition: left .3s ease-out;
	width: 75px;
	z-index: 2;
}
#gk-right {
	padding: 0 10px 0 75px;
	position: relative;
}
#gk-right-helper {
	display: none;
}
#gk-right.has-top-area {
	padding-top: 145px;
}
#gk-right-top {
	background: #fff;
	content: "";
	display: block;
	height: 75px;
	left: 0;
	overflow: hidden;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1;
}
#gk-right-top-bg {
	background: #fff;
	content: "";
	display: block;
	height: 75px;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 0;
}
#gk-footer,
#gk-sidebar,
#gk-breadcrumb {
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	-ms-transition: all .3s ease-out;
	-o-transition: all .3s ease-out;
	transition: all .3s ease-out;
}
#gk-right.popup-open #gk-footer,
#gk-right.popup-open #gk-sidebar,
#gk-right.popup-open #gk-breadcrumb {
	opacity: 0;
}
body.no-sidebar #gk-right-top-bg {
	display: none;
}

#gk-content {
	background: #fff;
	padding-left: 75px;
	/*position: relative;*/
	z-index: 1;
}
.no-sidebar #gk-content {
	width: 100%!important;
}

/* fixed-content suffix */
.fixed-content #gk-content {
	height: 100%;
	position: fixed;
}
.fixed-content #gk-mainbody {
	height: 100%;
	left: 75px;
	position: absolute;
	right: 0;
}

/* full-width suffix */
.full-width #gk-bg {
	max-width: 100%;
}
.full-width #gk-mainbody .box {
	margin: 0;
}
.full-width #gk-content {
	background: transparent;
}

/* no-bg suffix */
.no-bg #gk-content {
	background: transparent;
}
.no-bg #gk-mainbody .box {
	margin: 0!important;
}

/* Logo  */
#gk-logo {
	display: block;
	margin-right: -1px;
}
#gk-logo img {
	display: block;
	height: auto;
	max-width: 75px;
}
#gk-logo-text {
	float: left;
	font-size: 24px;
	height: 75px;
	line-height: 75px;
	margin-right: 50px;
	position: relative;
	text-transform: uppercase;
	top: 35px;
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	transform: rotate(-90deg);
	-webkit-transform-origin: left top;
	-moz-transform-origin: left top;
	-ms-transform-origin: left top;
	-o-transform-origin: left top;
	transform-origin: left top;
	width: 1px;
	white-space: nowrap;
}

#gk-logo + #gk-logo-text {
	top: 50px;
}

#gk-logo-text.two-lines {
	line-height: 24px;
	padding: 12px 0;
}

#gk-logo-text > span {
	display: block;
}

@media (max-height: 300px) {
	#gk-logo-text {
		display: none!important;
	}
}

/* Menu bar */
#gk-menu-button {
	left: 0;
	position: absolute;
	top: 50%;
}

/* Right top area */
#gk-social,
#gk-search,
#gk-login-btn {
	float: right;
	height: 40px;
	margin: 18px 0;
}
#gk-login {
	display: none;
}
#gk-login-btn {
	display: block;
	font-size: 20px;
	height: 20px;
	line-height: 20px;
	overflow: hidden;
	margin: 28px 20px;
	width: 20px;
}
#gk-search {
	background: #fff;
	border-right: 1px solid #d5d5d5;
	height: 40px;
	position: relative;
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	-ms-transition: all .3s ease-out;
	-o-transition: all .3s ease-out;
	transition: all .3s ease-out;
}
#gk-search .inputbox {
	border: none;
	height: 40px!important;
	line-height: 40px!important;
	outline: none;
	padding: 0 20px!important;
}
#gk-search.search-active .inputbox {
	padding: 0 50px 0 20px !important;
	width: 100%;
}
#gk-search .inputbox:active,
#gk-search .inputbox:focus,
#gk-search .inputbox:hover {
	background: transparent!important;
}
#gk-search:after {
	color: #999;
	content: "k";
	font-family: "writer-pixellove";
	font-size: 20px;
	line-height: 40px;
	position: absolute;
	right: 20px;
	top: 0;
}
#gk-social {
	line-height: 50px;
	padding: 0 40px;
}
#gk-social a {
	color: #888;
	display: inline-block;
	font-size: 20px;
	line-height: 25px;
	height: 22px;
	margin: 0 2px;
	overflow: hidden;
	text-align: center;
	width: 24px;
}
#gk-social a:active,
#gk-social a:focus,
#gk-social a:hover {
	color: #e45425;
}
#gk-search + #gk-social {
	border-right: 1px solid #d5d5d5;
}

/* Stylearea */
#gk-style-area {
	clear: both;
	display: block;
	float: left;
	line-height: 10px;
	margin: 0 0 40px 0;
	padding: 0;
	text-align: center;
}
#gk-style-area a {
	display: inline-block;
	height: 9px;
	margin: 15px 0 0 5px;
	text-indent: -9999px;
	-webkit-transform: scale(1.0);
	-moz-transform: scale(1.0);
	-ms-transform: scale(1.0);
	-o-transform: scale(1.0);
	transform: scale(1.0);
	-webkit-transition: -webkit-transform 0.2s ease-out;
	-moz-transition: -moz-transform 0.2s ease-out;
	-o-transition: -o-transform 0.2s ease-out;
	transition: transform 0.2s ease-out;
	width: 9px;
}
#gk-style-area a:first-child { margin-left: 0; }
#gk-style-area a:hover {
	-webkit-transform: scale(1.25);
	-moz-transform: scale(1.25);
	-ms-transform: scale(1.25);
	-o-transform: scale(1.25);
	transform: scale(1.25);
}
#gk-color1 { background: #e45425; }
#gk-color2 { background: #6ac3e3; }
#gk-color3 { background: #dd9505; }

/* Group modules */
#gk-top,
#gk-bottom {
	clear: both;
	overflow: hidden;
	padding: 40px 75px;
}
#gk-mainbody {
	padding: 75px;
	position: relative;
}
#gk-top + #gk-mainbody,
#gk-mainbody + #gk-bottom {
	border-top: 1px solid #e5e5e5;
}

/* standard breadcrumb */
#gk-breadcrumb {
	border-bottom: 1px solid #d5d5d5;
	margin: -70px 0 32px 0;
	overflow: hidden;
	padding: 10px 0;
	text-align: right;
}
.breadcrumbs {
	color: #000;
	float: left;
	font-size: 14px;
	text-align: right;
	width: 100%;
}
.breadcrumbs li.separator {
	color: #aaa;
	font-size: 14px;
	padding: 4px 6px !important;
	text-align: center;
	width: 22px;
}
.breadcrumbs > li {
	clear: none;
	display: inline-block;
	font-size: 14px;
}
.breadcrumbs li a { color: #888; }
.breadcrumbs li a:hover { color: #e45425; }

/* footer */
#gk-footer {
	border-top: 1px solid #ddd;
	color: #000;
	font-size: 14px;
	font-weight: 300;
	line-height: 2;
	padding: 0;
	text-align: right;
}
#gk-footer strong { color: #000; }
#gk-footer-nav {
	margin: 0 auto;
	padding: 15px 0;
}
#gk-footer-nav li {
	border: none;
	display: inline-block;
	float: none;
	font-size: 12px;
	font-weight: bold;
	line-height: 32px;
	margin: 0!important;
	padding: 0 10px!important;
}
#gk-footer-nav li:last-child {
	padding-right: 0!important;
}
#gk-footer a {
	color: #000;
	padding: 0!important;
}
#gk-footer a:active,
#gk-footer a:focus,
#gk-footer a:hover { color: #e45425; }
#gk-copyrights {
	border-top: 1px solid #ddd;
	font-size: 14px;
	line-height: 20px;
	margin: 0;
	padding: 20px 0;
	position: relative;
}

/* Other footer elements */
#gk-framework-logo {
	display: block;
	width: 90px;
	height: 36px;
	background: url('../images/gavern-logo.png') no-repeat 0 0;
	text-indent: -9999em;
	margin: 12px auto 0 auto;
	opacity: 0.4;
}
/* Suffixes */

/* default suffix */
.box {
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 50px 0;
	width: 100%;
}
div.content { clear: both; }
.box li {
	border-bottom: 1px solid #ddd;
	line-height: 1.6;
	padding: 7px 0;
}
.box li:last-child { border-bottom: none; }
.box li a {
	line-height: 1.0;
	text-decoration: none;
}
.box a { text-decoration: none; }
.box ul ul { margin-left: 20px; }
.box .header, #loginForm > h3 {
	color: #111;
	font-size: 18px;
	font-weight: bold;
	line-height: 1;
	padding: 0 0 24px 0;
	text-transform: uppercase;
}

/* clear suffix */
.box.clear {
	border: none !important;
	clear: none;
	padding: 0!important;
}
.clear div.content { clear: both; }

/* advertisement suffix */
.box.advertisement .header {
	background: transparent;
	border-bottom: 1px solid #ddd;
	color: #999!important;
	font-size: 12px!important;
	font-weight: 300;
	line-height: 16px;
	margin: 0 0 16px 0;
	min-height: 21px;
	padding: 0;
	text-align: right;
	text-transform: uppercase;
}

/* suffix light */
.box.light .box-wrap {
	background: #fff;
	border: none;
	padding: 32px!important;
}

/* suffix _text */
.box_text > div { background: #fff; }

/* suffix dark */
.box.dark .box-wrap {
	background: #111;
	border: none;
	color: #999;
	padding: 32px!important;
}
.box.dark .header {
	background: transparent!important;
	line-height: 1.2;
}
.box.dark h1,
.box.dark h2,
.box.dark h3,
.box.dark h4,
.box.dark h5,
.box.dark h6 { color: #fff; }
.box.dark ul {
	margin: 0;
	padding: 0;
}
.box.dark ul li {
	border-bottom: 1px solid #555;
	font-size: 15px;
	position: relative;
}
.box.dark ul li:last-child { border-bottom: none; }
.box.dark a { color: #ddd!important; }
.box.dark a:active,
.box.dark a:focus,
.box.dark a:hover { color: #e45425!important; }
.box.dark ul ul { margin: 0 0 0 20px; }

/* Suffix nomargin */
.box.nomargin {
	margin: 0!important;
	padding: 0!important;
}

/* Menu suffix */
.box ul.menu ul { margin: 0 0 32px 0; }
.box ul.menu li li {
	border-bottom: 1px solid #e5e5e5;
	font-size: 12px;
	padding-left: 6px;
}
.box ul.menu li.active { background: #F2F4F5 }
.box ul.menu li.active a { padding: 8px 16px }
.box ul.menu li li a { margin: 0 0 0 6px }
.box .menu .header + .content ul li:first-child { border-top: none; }
.menu li a {
	color: #000;
	display: inline-block;
	font-size: 15px;
	padding: 8px 0;
}
.menu li a:hover {
	color: #e45425 !important;
	padding-left: 10px;
}
.box .menu li li a {
	color: #666;
	font-weight: normal
}
.box .menu li strong { display: block; }

/* tablet/mobile suffixes */
.onlydesktop { display: block; }
.onlytablet { display: none; }
.onlymobile { display: none; }

/* Login form */
#gkFBLogin {
	float: left;
	width: 45%;
}
#gkFBLogin p {
	line-height: 18px;
	margin: 14px 0 20px;
}
#gkFBLogin + #login-form,
#gkFBLogin + #com-login-form {
	float: left;
	width: 45%;
	margin-left: 4%;
	padding-left: 30px;
	border-left: 1px solid #e7e7e7;
}
#form-login-remember { margin: 10px 0; }

#login-form fieldset p { margin: 0.5em 0; }
#login-form ul {
	border-top: 1px solid #E5E5E5;
	margin: 0 0 12px;
	overflow: hidden;
	padding: 12px 0;
}
#login-form ul li {
	color: #999;
	font-size: 12px;
	display: inline-block;
	line-height: 1.6;
	margin-right: 12px;
}
#login-form input[type="text"],
#login-form input[type="password"] { width: 95%; }
label#jform_spacer-lbl {
	font-size: 11px;
	font-weight: normal;
	color: #666;
}

/* Popup login */
#gkPopupLogin {
	display: none;
	left: 0;
	opacity: 0;
	margin-top: 200px;
	padding: 0 0 0 75px;
	position: absolute;
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	-ms-transition: all .3s ease-out;
	-o-transition: all .3s ease-out;
	transition: all .3s ease-out;
	width: 100%;
}
.popup-open #gkPopupLogin {
	margin-top: 45px;
	opacity: 1;
}
#gkPopupLogin span#fb-auth {
	margin-top: 0;
}
#gkPopupLogin .button:active,
#gkPopupLogin .button:focus,
#gkPopupLogin .button:hover {
	background: transparent;
}
.gkUsermenu {
	clear: both;
	float: left;
	margin: 20px 0;
}
.gkUserdata .logout-button .button,
.gkUserdata #login-form .button {
	margin: 10px 0 0 0;
}
#gkPopupLogin #form-login-buttons { clear: both}
#gkPopupLogin #form-login-buttons input.button { margin: 0 0 50px}
#gkPopupLogin #fb-auth, #gkPopupLogin .button.full { width: 95% }
#gkPopupLogin #form-login-remember { float: left;}
#gkPopupLogin #form-login-forgot { float: right; margin: 10px 5% 0 0}
#gkPopupLogin #form-login-forgot a { color: #999; font-size: 14px; }
#gkPopupLogin #form-login-forgot a:hover { color: #111}

/* Login with Facebook button */
span#fb-auth small {
	width: 20px;
	background: transparent url('../images/fbauth.png') no-repeat 0 2px;
	text-indent: -999em;
	display: block;
	float: left;
	border-right: 1px solid #a0aecd;
	margin: 17px 16px 0 10px;
	height: 17px;
}
span#fb-auth {
	background-color: #798db9;
	border-radius: 1px;
	-moz-border-radius: 1px;
	-webkit-border-radius: 1px;

	display: inline-block;
	color: #fff;
	line-height: 49px;
	font-size: 14px;
	font-weight: 700;

	padding: 0 30px 0 12px;
	cursor: pointer;
	height: 49px;
	-webkit-transition: background-color 0.2s ease-out;
	-moz-transition: background-color 0.2s ease-out;
	-o-transition: background-color 0.2s ease-out;
	transition: background-color 0.2s ease-out;
	position: relative;
	text-transform: uppercase;
	text-align: center;

}
span#fb-auth:hover { background-color: #556b9b; }

/* Fix bugs with joomla 3.8.2 */
.frontpage-overlay.jmoddiv.jmodinside {
	position: static;
}

/* Fix bugs with Joomla 4 */

/* Popover */
.popover {
  position: absolute;
  top: 0;
  left: 0;
  /*z-index: 1010;*/
  display: none;
  max-width: 276px;
  padding: 1px;
  text-align: left;
  background-color: #ffffff;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  white-space: normal;
}

.popover.top {
  margin-top: -10px;
}

.popover.right {
  margin-left: 10px;
}

.popover.bottom {
  margin-top: 10px;
}

.popover.left {
  margin-left: -10px;
}

.popover-title {
  margin: 0;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  -webkit-border-radius: 5px 5px 0 0;
  -moz-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
}

.popover-title:empty {
  display: none;
}

.popover-content {
  padding: 9px 14px;
}

.popover .arrow,
.popover .arrow:after {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

.popover .arrow {
   border-width: 11px;
}

.popover .arrow:after {
  border-width: 10px;
  content: "";
}

.popover.top .arrow {
  left: 50%;
  margin-left: -11px;
  border-bottom-width: 0;
  border-top-color: #999;
  border-top-color: rgba(0, 0, 0, 0.25);
  bottom: -11px;
}

.popover.top .arrow:after {
  bottom: 1px;
  margin-left: -10px;
  border-bottom-width: 0;
  border-top-color: #ffffff;
}

.popover.right .arrow {
  top: 50%;
  left: -11px;
  margin-top: -11px;
  border-left-width: 0;
  border-right-color: #999;
  border-right-color: rgba(0, 0, 0, 0.25);
}

.popover.right .arrow:after {
  left: 1px;
  bottom: -10px;
  border-left-width: 0;
  border-right-color: #ffffff;
}

.popover.bottom .arrow {
  left: 50%;
  margin-left: -11px;
  border-top-width: 0;
  border-bottom-color: #999;
  border-bottom-color: rgba(0, 0, 0, 0.25);
  top: -11px;
}

.popover.bottom .arrow:after {
  top: 1px;
  margin-left: -10px;
  border-top-width: 0;
  border-bottom-color: #ffffff;
}

.popover.left .arrow {
  top: 50%;
  right: -11px;
  margin-top: -11px;
  border-right-width: 0;
  border-left-color: #999;
  border-left-color: rgba(0, 0, 0, 0.25);
}

.popover.left .arrow:after {
  right: 1px;
  border-right-width: 0;
  border-left-color: #ffffff;
  bottom: -10px;
}

/* Edit Profile */
.profile-edit #member-profile fieldset + div {
	line-height: 39px;
}

.j4 .sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.j4 .element-invisible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  clip-path: inset(50%);
}

.j4 .input-group {
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: stretch;
  align-items: stretch;
}

.j4 .input-group .form-control,
.j4 .input-group-addon,
.j4 .input-group-btn {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
}

.j4 .input-group .form-control {
  position: relative;
  z-index: 2;
  -webkit-box-flex: 1;
  flex: 1 1 auto;
  width: 1%;
  margin-bottom: 0;
}

.j4 .input-group-addon {
  padding: .375rem .75rem;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  text-align: center;
  border: 1px solid #ccc;
  border-left: 0;
  background: #f2f2f2;
}

.j4 .has-danger .input-group-addon,
.j4 .has-danger .input-group-addon,
.j4 .has-danger .form-control {
  border-color: #d45555;
}

.j4 .control-group {
  margin-bottom: 18px;
  clear: both;
}

.j4 .control-group .control-label {
  float: left;
  width: 220px;
  padding-top: 5px;
  padding-right: 5px;
  text-align: left;
}

.j4 .control-group .control-label label {
  margin: 0;
}

.j4 .control-group .control-label .form-control-feedback {
  display: block;
  font-size: 80%;
}

.j4 .control-group .controls {
  margin-left: 220px;
}

.j4 .control-group .controls #remember {
  width: auto;
}

.j4 .control-group .controls .btn {
  float: none;
}

.j4 .input-group-btn .btn + .btn {
  margin-left: 2px;
}

.j4 .input-group .form-control {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.j4 .input-group .input-group-addon {
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

.j4 .float-right {
	float: right !important;
}

.j4 .mb-0 {
	margin-bottom: 0 !important;
}

.j4 .fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}

.j4 .fade.show {
  opacity: 1;
}

.j4 .collapse {
  display: none;
}

.j4 .collapse.show {
  display: block;
}

.j4 joomla-alert {
  display: none;
}

.j4 #helpsite-refresh {
	margin-top: 10px;
}

.j4 .edit.item-page #adminForm > fieldset {
	display: table-row;
}

.j4 fieldset.filters {
	padding: 0;
}

.j4 .tag_category .btn-group {
	float: none !important;
}

.j4 .tag_category__item:first-child {
	border-top: 0;
}

.j4 .invalid {
	color: #bc6564;
}

.j4 .invalid .form-control-feedback {
	font-size: 80%;
	display: none;
}

.j4 #com-login-form .control-label {
	float: none;
	width: auto;
	padding-top: 0;
	padding-right: 0;
}

.j4 #com-login-form .control-label label,
.j4 #com-login-form .login-fields label {
	line-height: 34px;
	float: none;
}

.j4 #com-login-form fieldset .control-group .control-label {
	float: left;
}

.j4 #com-login-form .controls {
	margin-left: 0;
}

.j4 #member-profile select,
.j4 #member-profile textarea,
.j4 #member-profile input[type="text"],
.j4 #member-profile input[type="password"],
.j4 #member-profile input[type="url"],
.j4 #member-profile input[type="email"] {
	width: auto;
}

.j4 #member-profile .input-group {
	width: auto;
	max-width: 266px;
}

.j4 #member-profile label {
	line-height: 39px;
}

.j4 .chzn-container.chzn-container-single .chzn-single,
.j4 .item-page.edit .chzn-container.chzn-container-single .chzn-single {
  display: inline-block;
  max-width: 100%;
  height: calc(calc(2.25rem + 2px) - 2px);
  padding: 0.375rem 1.75rem 0.375rem 0.75rem;
  padding-right: 0.75rem \9;
  line-height: 1.5 !important;
  color: #495057;
  vertical-align: middle;
  background: #fefefe url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  background-image: none \9;
  background-size: 8px 10px;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  box-shadow: none;
  height: auto !important;
  -moz-appearance: none;
  -webkit-appearance: none;
}

.j4 .chzn-container.chzn-container-single .chzn-single abbr,
.j4 .item-page.edit .chzn-container.chzn-container-single .chzn-single abbr {
  top: 10px;
}

.j4 .chzn-container.chzn-container-single .chzn-single:focus,
.j4 .item-page.edit .chzn-container.chzn-container-single .chzn-single:focus {
  border-color: #19b6ff;
  outline: none;
}

.j4 .chzn-container.chzn-container-single .chzn-single:disabled,
.j4 .item-page.edit .chzn-container.chzn-container-single .chzn-single:disabled {
  color: #868e96;
  cursor: not-allowed;
  background-color: #e9ecef;
}

.j4 .chzn-container.chzn-container-single .chzn-single div b,
.j4 .item-page.edit .chzn-container.chzn-container-single .chzn-single div b {
  background: none;
}

.j4 .chzn-container.chzn-container-single .chzn-drop,
.j4 .item-page.edit .chzn-container.chzn-container-single .chzn-drop {
	background: #fefefe;
	border: 1px solid #ced4da;
}

.j4 .chzn-container.chzn-container-single.chzn-container-active .chzn-single,
.j4 .item-page.edit .chzn-container.chzn-container-single.chzn-container-active .chzn-single {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.j4 .chzn-container-single,
.j4 .item-page.edit .chzn-container-single {
  width: auto !important;
}

.j4 .chzn-container-single .chzn-search input[type="text"] {
	float: none;
}

#editor-xtd-buttons .btn {
	margin-top: 10px;
}

/* MODAL */
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000000;
}

.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop,
.modal-backdrop.fade.in {
  opacity: 0.8;
  filter: alpha(opacity=80);
}

.modal-header {
  padding: 9px 15px;
  border-bottom: 1px solid #eee;
}

.modal-header .close {
  margin-top: 2px;
}

.modal-header h3 {
  margin: 0;
  line-height: 30px;
  clear: unset;
  padding-top: 0;
  padding-right: 22px;
}

.modal-body {
  position: relative;
  max-height: 400px;
  padding: 15px;
  overflow-y: auto;
}

.modal-body iframe {
	border: 0;
}

.modal-form {
  margin-bottom: 0;
}

.modal-footer {
  padding: 14px 15px 15px;
  margin-bottom: 0;
  text-align: right;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  -webkit-border-radius: 0 0 6px 6px;
     -moz-border-radius: 0 0 6px 6px;
          border-radius: 0 0 6px 6px;
  *zoom: 1;
  -webkit-box-shadow: inset 0 1px 0 #ffffff;
     -moz-box-shadow: inset 0 1px 0 #ffffff;
          box-shadow: inset 0 1px 0 #ffffff;
}

.modal-footer:before,
.modal-footer:after {
  display: table;
  line-height: 0;
  content: "";
}

.modal-footer:after {
  clear: both;
}

.modal-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: 5px;
}

.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}

.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}

div.modal {
  position: fixed;
  top: 10%;
  left: 50%;
  z-index: 1050;
  width: 754px;
  margin-left: -377px;
  background-color: #ffffff;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.3);
  *border: 1px solid #999;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
  outline: none;
  -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
     -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
          box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -webkit-background-clip: padding-box;
     -moz-background-clip: padding-box;
          background-clip: padding-box;
}

div.modal.fade {
  top: -25%;
  -webkit-transition: opacity 0.3s linear, top 0.3s ease-out;
     -moz-transition: opacity 0.3s linear, top 0.3s ease-out;
       -o-transition: opacity 0.3s linear, top 0.3s ease-out;
          transition: opacity 0.3s linear, top 0.3s ease-out;
}

div.modal.fade.in {
  top: 10%;
}

/* Joomla JUI NOTE: Original .modal definition has to be commented */

@media (max-width: 767px) {
  div.modal {
    position: fixed;
    top: 20px;
    right: 20px;
    left: 20px;
    width: auto;
    margin: 0;
  }
  div.modal.fade {
    top: -100px;
  }
  div.modal.fade.in {
    top: 20px;
  }
}

@media (max-width: 480px) {
  div.modal {
    top: 10px;
    right: 10px;
    left: 10px;
  }
}