* {
  margin: 0;
  padding: 0;
}

body {
  color: #191919;
  background: #ffffff;
  font-weight: 300;
  font-size: .9em;
  overflow-x: hidden;
  line-height: 193%;
}

body.contentpane,
body.mceContentBody {
  background: #FFFFFF;
}


/* TEMPLATE DEFAULTS
----------------------------------------------------------- */

.s5_lr_tab {
  background: url(../images/s5_lrtab.png) 5px 2px repeat-y;
  cursor: pointer;
  position: fixed;
  padding-top: 16px;
  padding-bottom: 16px;
  width: 35px;
  line-height: 35px;
  z-index: 3
}

.s5_lr_tab:hover {
  background: url(../images/s5_lrtab.png) -30px 2px repeat-y
}

.s5_lr_tab_inner {
  font-size: 12pt;
  font-weight: 400;
  width: 35px;
  float: right
}

#s5_columns_wrap {
  overflow: hidden;
  position: relative;
  width: 100%
}

#s5_columns_wrap_inner {
  width: 200%
}

#s5_center_column_wrap {
  float: left;
  left: 50%;
  position: relative;
  width: 50%
}

#s5_center_column_wrap_inner {
  left: -100%;
  overflow: hidden;
  min-height: 1px;
  position: relative
}

#s5_left_column_wrap {
  float: left;
  left: -50%;
  position: relative
}

#s5_below_body_wrap {
  margin-top: 14px
}

#s5_main_body_wrap {
  min-height: 100%;
  width: 100%
}

#s5_width_wrap {
  position: relative;
  margin-left: auto;
  margin-right: auto
}

.s5_wrap {
  margin: 0 auto
}

.s5_float_left {
  float: left
}

.s5_frontenderrormsg {
  float: left;
  height: 48px;
  margin-top: -7px;
  width: 61px;
  background: url(../images/vertex/error.png) no-repeat
}

#s5_above_body .s5_fourdivs_2 {
  padding-bottom: 15px;
  padding-right: 15px
}

#s5_below_body .s5_fourdivs_2 {
  padding-top: 15px;
  padding-right: 15px
}

#s5_above_body,
#s5_below_body {
  margin-right: -15px
}

.s5_fourdivs_title {
  margin-bottom: 8px
}

#s5_drop_down_container_inner {
  padding: 30px 24px 0 0
}

#s5_drop_down_container {
  display: none;
  overflow: hidden
}

#s5_drop_down_button {
  cursor: pointer
}

#s5_drop_down_inner .s5_fourdivs_1 {
  padding-left: 24px;
  margin-bottom: 40px
}

#s5_drop_down_inner .s5_fourdivs_title {
  margin-bottom: 14px
}

#s5_drop_down_container_inner {
  z-index: 1;
  position: relative
}

#s5_drop_down_button {
  position: relative;
  z-index: 1
}


/* END TEMPLATE DEFAULTS
----------------------------------------------------------- */

a {
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  text-decoration: underline;
}

a:active {
  outline: none;
}

a:focus {
  -moz-outline-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  line-height: 130%;
}

h1 {
  font-size: 2.3em;
  margin-bottom: 10px;
}

h2 {
  font-size: 2.1em;
  margin-bottom: 10px;
}

#s5_component_wrap_inner h2,
#s5_component_wrap_inner h1 {
  font-size: 2.5em;
  text-align: center;
  font-weight: 600;
}

#s5_component_wrap_inner h2 a,
#s5_component_wrap_inner h1 a {
  text-decoration: none;
  color: #1F1F1F;
}

h3 {
  font-size: 1.8em;
}

h4 {
  font-size: 1.5em;
}

h5 {
  font-size: 1.1em;
}

h3.s5_demo_h3 {
  background: #fff none repeat scroll 0 0;
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 25px;
  padding: 11px 0;
}


/* FORM FIELDS
----------------------------------------------------------- */

fieldset {
  padding-top: 7px;
  padding-bottom: 7px;
}

#form-login fieldset {
  border: none;
  padding-top: 0px;
}

#form-login p {
  padding-top: 0px;
}

#login br {
  display: none;
}

#login .button {
  margin-top: 8px;
  margin-bottom: 8px;
}

#login ul,
#form-login ul {
  padding-top: 8px;
  padding-bottom: 8px;
}

#cboxLoadedContent #modlgn-username,
#cboxLoadedContent #modlgn-passwd,
#cboxLoadedContent #username_vmlogin,
#cboxLoadedContent #password_vmlogin {
  width: 100% !important;
}

.inputbox,
.registration input,
.login input,
.contact-form input,
#jform_contact_message,
input,
textarea,
.validate,
select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  border: none;
  font-size: 14px;
  font-weight: 400;
  padding: 12px;
  padding-left: 0 !important;
  letter-spacing: 2px;
  background: transparent;
  border-bottom: solid 1px #000;
  color: #000000;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  min-height: 40px;
}

.inputbox:hover,
.registration input:hover,
.login input:hover,
.contact-form input:hover,
#jform_contact_message:hover,
input:hover,
textarea:hover,
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 {
  -webkit-box-shadow: 0 5px 2px -2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 2px -2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 2px -2px rgba(0, 0, 0, 0.2);
}

.inputbox.mailchimp_signup {
  width: 35%;
  font-style: italic;
}

select.inputbox {
  behavior: none
}

#filter-search,
select {
  font-size: 11pt!important
}

label.invalid {
  color: red
}

.invalid {
  border-color: red!important
}

.tool-tip {
  float: left;
  background: #CCC;
  border: 1px solid #333;
  padding: 5px;
  color: #000;
  max-width: 200px
}

.tool-title {
  padding: 15px 0 5px;
  margin: -15px 0 0;
  font-weight: 700;
  color: #000
}

.tool-text {
  color: #000;
  margin: 0
}

#response:empty {
  padding: 0;
  margin: 0
}

#login-form .input-prepend input {
  font-size: 14px !important;
}


/* BUTTONS
----------------------------------------------------------- */

.btn,
.button,
button,
.btn-primary,
.readon,
p.readmore a,
a.k2ReadMore,
.userItemReadMore,
div.catItemCommentsLink,
.userItemCommentsLink,
a.readmore-link,
a.comments-link,
div.itemCommentsForm form input {
  padding: 13px 30px;
  margin-top: 14px;
  margin-bottom: 0px;
  font-weight: 400;
  border: 1px solid #000;
  background: none;
  color: #000;
  cursor: pointer;
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: none;
  font-size: 0.9em;
}

a.btn {
	color: #000 !important;
}

p.readmore a.btn span {
  display: none;
}

p.readmore a,
p.readmore {
  display: inline-block;
  margin-right: 11px;
  margin-top: 10px;
}

p.readmore:hover a,
.readon:hover,
.button:hover,
button:hover {
  background: #000000 !important;
  text-decoration: none;
}

.button {
  margin: 0px;
  margin-top: 0px;
  margin-right: 8px;
  color: #000;
}

.pager a,
.pager a:hover,
.readon:hover {
  color: #fff;
}

.button:hover,
.btn:hover {
  color: #fff;
  background: #000;
}

#pop-print:hover a {
  color: #fff;
}


/* FONT CONTROLS
----------------------------------------------------------- */

#fontControls {
  float: right;
  margin-left: 16px;
  margin-top: 3px;
  text-align: center;
}

#fontControls a {
  color: #333333;
}

.decreaseSize {
  font-size: 12px;
}

.increaseSize {
  font-size: 19px;
}

.resetSize {
  font-size: 16px;
  margin-left: 5px;
  margin-right: 5px;
}


/* SCROLL TO TOP
----------------------------------------------------------- */

#s5_scrolltopvar {
  bottom: 30px;
  height: 42px;
  position: fixed;
  right: 30px;
  width: 42px;
}

#s5_scrolltotop {
  height: 0;
  visibility: hidden;
}

.s5_scrolltop_fadeout {
  -moz-opacity: .0;
  -khtml-opacity: .0;
  filter: alpha(opacity=0);
  opacity: .0;
}

.s5_scrolltotop {
  height: 42px;
  width: 42px;
  display: block;
  position: fixed;
  z-index: 3;
  cursor: pointer;
  background: #fff url(../images/s5_scroll_arrow.png) no-repeat;
  background-position: 9px 10px;
}

.s5_scrolltop_fadein {
  -moz-opacity: 1 !important;
  -khtml-opacity: 1 !important;
  filter: alpha(opacity=100) !important;
  opacity: 1 !important;
}

a.s5_scrolltotop:hover {
  background-color: #efefef !important;
}


/* BOTTOM MENU
----------------------------------------------------------- */

#s5_bottom_row3_area2 ul.menu li {
  padding-top: 5px;
}

#s5_bottom_menu_wrap ul.menu a:hover {
  text-decoration: none;
}

#s5_bottom_menu_wrap {
  padding-top: 10px;
  padding-bottom: 10px;
  float: right !important;
  margin: auto !important;
  position: relative !important;
  width: auto !important;
}

#s5_bottom_menu_wrap ul.menu li {
  padding-right: 7px;
  padding-left: 7px;
  font-size: 1.1em;
  font-weight: 300;
  color: #747474;
  float: left;
  position: relative !important;
}

#s5_bottom_menu_wrap ul.menu li a {
  font-size: .9em;
  color: #000;
}


/* COLUMN MENU
----------------------------------------------------------- */

#s5_center_area1 .module_round_box ul.menu a {
  padding: 24px;
  padding-bottom: 6px;
  padding-top: 6px;
  display: block;
  color: #191919;
}

.module_round_box ul.menu a:hover {
  text-decoration: underline;
}

.module_round_box ul.menu ul a:hover {
  text-decoration: underline;
}

.module_round_box ul.menu ul a {
  background: none;
  padding: 6px;
  padding-left: 10px;
  border-bottom: none;
  display: block;
}

.module_round_box ul.menu ul ul a {
  font-size: 8pt;
  padding: 3px;
  padding-left: 20px;
  border-bottom: none;
  display: block;
  font-weight: normal;
}

.module_round_box ul.menu #current ul span {
  font-weight: normal;
}

.module_round_box ul.menu li {
  padding: 0px;
}

.module_round_box ul.menu li ul li {
  margin-left: 24px;
}

#s5_center_area1 .module_round_box_outer ul.menu a,
#s5_center_area1 .module_round_box_outer .separator {
  display: block;
  font-size: 1.0em;
  padding: 5px 0px;
}

#s5_center_area1 .module_round_box_outer ul.menu a:hover {
  text-decoration: none;
  color: #000000;
}

#s5_center_area1 .module_round_box_outer ul.menu ul a:hover {
  text-decoration: none;
}

#s5_center_area1 .module_round_box_outer ul.menu ul a {
  background: none;
  padding: 0 6px 0px 10px;
  border-bottom: none;
  display: block;
}

#s5_center_area1 .module_round_box_outer ul.menu ul ul a {
  border-bottom: medium none;
  display: block;
  font-size: 1em;
  font-weight: 300;
  line-height: 23px;
  padding: 0 3px 0 19px;
}

#s5_center_area1 .module_round_box_outer ul.menu #current ul span {
  font-weight: normal;
}

#s5_center_area1 .module_round_box_outer ul.menu li {
  margin-left: 9px;
  padding: 0px;
  margin-bottom: 7px;
}

#s5_center_area1 .module_round_box_outer ul.menu li a,
#s5_center_area1 .module_round_box_outer .separator {}

#s5_center_area1 .module_round_box_outer ul.menu li li a {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

#s5_center_area1 .module_round_box_outer ul.menu li ul li {
  margin-left: 24px;
}

#s5_center_area1 .module_round_box_outer .menu li img {
  margin-left: -6px;
  padding-right: 12px;
}

#s5_center_area1 .module_round_box_outer .separator .image-title {
  font-size: 1.1em;
}

#s5_center_area1 .module_round_box_outer .separator {
  display: block;
  margin-bottom: 7px;
  margin-left: 0px;
  margin-top: 5px;
}

#s5_center_area1 .module_round_box_outer ul.menu a {}

#s5_center_area1 .module_round_box_outer ul.menu ul {
  font-size: 0.9em;
  margin-top: 17px;
}

#s5_center_area1 ul.menu li ul li ul li span {
  line-height: 16px;
  padding: 0 !important;
}

#s5_center_area1 ul.menu li li a {
  color: #5d5d5d;
}

#s5_center_area1 ul.menu li img {
  display: none;
}


/* ACCORDION MENU
----------------------------------------------------------- */

.s5_accordion_menu ul li span {
  color: #000000;
  font-weight: 300;
}

.s5_accordion_menu h3.s5_am_toggler,
.s5_accordion_menu h3.s5_am_toggler a.mainlevel {
  line-height: normal !important;
  background: none !important;
  font-weight: 300;
}

.s5_accordion_menu h3.s5_am_toggler {
  border-bottom: 1px solid #f3f3f3;
  border-left: none;
  border-right: none;
}

.s5_accordion_menu h3:first-child {
  border-top: 1px solid #f3f3f3;
}

.s5_accordion_menu h3.s5_am_open a.mainlevel {
  color: #ffffff !important;
}

.s5_accordion_menu h3.s5_am_open:hover a.mainlevel {
  color: #292929 !important;
}

div.s5_accordion_menu_element li li {
  padding-left: 4px !important;
}

div.s5_accordion_menu_element li li li {
  padding-left: 12px !important;
}

div.s5_accordion_menu_element li a,
.s5_am_inner_li .separator span {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  padding-left: 7px !important;
  border-bottom: none !important;
  font-size: .9em !important;
  display: block !important;
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  -o-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
  color: #000000 !important;
}

div.s5_accordion_menu_element li li a,
.s5_am_innermenu .s5_am_inner_li .separator span {
  background: none !important;
  padding: 0px 6px 4px 0px !important;
  font-size: 0.85em !important;
  border: none !important;
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  -o-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}

#current ul.s5_am_innermenu a.mainlevel {
  color: #292929 !important;
}

h3 span.s5_accordion_menu_left {
  display: block !important;
  padding: 18px 18px 6px 28px !important;
}

.s5_am_inner_li span.s5_accordion_menu_left {
  padding: 0px !important;
}

.s5_am_innermenu span.s5_accordion_menu_left {
  background: none !important;
}

.s5_accordion_menu ul li {
  padding: 0px !important;
  padding-bottom: 0px !important;
  padding-top: 0px !important;
  line-height: 16px;
}

.s5_accordion_menu {
  margin: 6px 0px 0 !important;
}

.s5_accordion_menu div {
  width: 100% !important;
}

.s5_am_innermenu img {
  display: none !important;
}

.s5_accordion_menu h3 {
  padding: 0px !important;
  -webkit-transition: all 300ms ease-out;
  -moz-transition: all 300ms ease-out;
  -o-transition: all 300ms ease-out;
  transition: all 300ms ease-out;
  color: #292929 !important;
  margin: 0 -1px 0 -14px !important;
  position: relative !important;
  width: auto !important;
  display: block !important;
  font-size: 1.0em !important;
  height: 50px !important;
}

.s5_accordion_menu h3:hover {
  background: #000000 !important;
  color: #ffffff !important;
  -webkit-transition: all 300ms ease-in;
  -moz-transition: all 300ms ease-in;
  -o-transition: all 300ms ease-in;
  transition: all 300ms ease-in;
}

.s5_accordion_menu h3:hover a {
  color: #ffffff !important;
}

.s5_accordion_menu h3.s5_am_parent span.s5_accordion_menu_left {
  cursor: pointer !important;
  background: url(../images/s5_acc_r_parent.png) no-repeat right -20px !important;
  padding-right: 24px !important;
  position: relative !important;
}

.s5_accordion_menu h3.s5_am_parent span.s5_accordion_menu_left:hover {
  background: url(../images/s5_acc_r_parent_hover.png) no-repeat right -20px !important;
}

.s5_accordion_menu h3.s5_am_open:hover span,
.s5_accordion_menu h3.s5_am_open:hover a {
  color: #ffffff;
}

.s5_accordion_menu h3.s5_am_open span.s5_accordion_menu_left {
  background: url(../images/s5_acc_r_parent_hover.png) no-repeat right -20px !important;
}

.s5_accordion_menu h3.s5_am_open span.s5_accordion_menu_left:hover {
  background: url(../images/s5_acc_r_parent_hover.png) no-repeat right -20px !important;
}

.s5_accordion_menu h3.s5_am_not_parent span.s5_accordion_menu_left {
  background: none !important;
}

.s5_accordion_menu h3.s5_am_toggler.s5_am_open.s5_am_parent,
.s5_accordion_menu h3.s5_am_toggler.s5_am_open.s5_am_not_parent {
  background: #000000 !important;
}

.s5_accordion_menu h3.s5_am_not_parent {
  cursor: pointer !important;
}

.s5_accordion_menu h3.s5_am_toggler div {
  margin: 0px !important;
  padding: 0px !important;
}

.s5_accordion_menu h3.s5_am_toggler a.mainlevel {
  width: auto !important;
  border: none !important;
  padding: 0px !important;
  color: #292929;
  margin: 0px !important;
}

.s5_accordion_menu h3.s5_am_toggler:hover a.mainlevel {
  color: #ffffff;
  text-decoration: none;
}

div.s5_accordion_menu_element li {
  list-style-image: none !important;
  list-style-position: outside !important;
  list-style-type: none !important;
}

div.s5_accordion_menu_element {
  width: auto !important;
}

.s5_accordion_menu #s5_am_parent_div_current,
.s5_accordion_menu .s5_accordion_menu_element {
  background: none !important;
}

ul.s5_am_innermenu {
  padding: 19px 8px 8px 11px !important;
  margin-bottom: 0px !important;
  margin-left: 20px !important;
  margin-top: 0px !important;
}

ul.s5_am_innermenu a:hover {
  color: #000000 !important;
  text-decoration: underline !important;
  -webkit-transition: all 300ms ease-in;
  -moz-transition: all 300ms ease-in;
  -o-transition: all 300ms ease-in;
  transition: all 300ms ease-in;
}

.s5_accordion_menu h3.s5_am_parent {
  padding-right: 0px !important;
}

.s5_accordion_menu h3 span img {
  padding-top: 2px;
  margin-left: -6px;
}


/* BODY ELEMENTS
----------------------------------------------------------- */

#s5_loginreg {
  margin-top: 0px;
}

#s5_loginreg,
#s5_register,
#s5_login {
  float: right;
}

#s5_login {
  cursor: pointer;
  padding: 5px 11px 5px 15px;
  color: #ffffff;
}

#s5_login:hover {
  color: #ffffff;
}

#s5_register {
  cursor: pointer;
  color: #ffffff;
  padding: 5px 11px 5px 15px;
}

.s5_logo_wrap {
  float: left;
  padding-right: 6%;
  cursor: pointer;
}

.s5_logo_css img {
  float: left;
}

#s5_login,
#s5_register {
  font-weight: 400;
  color: #000;
}

#s5_menu_wrap {
  float: left;
}

#s5_pos_custom_2 .module_round_box_outer,
#s5_pos_custom_2 .module_round_box {
  margin-left: 0px !important;
  margin-right: 0px !important;
}

#s5_header_area2 {
  padding-top: 40px;
  padding-bottom: 40px;
  background: #fbfafa;
}

#s5_pos_custom_1_inner {
  padding-bottom: 85px;
  padding-top: 75px;
}

.s5_uppercase {
  text-transform: uppercase;
}

.s5_highlightfont.largefont {
  display: block;
  font-size: 2.1em;
  line-height: 42px;
  margin-top: 12px;
  position: relative;
}

.smallfont {
  font-size: 1.2em;
  font-weight: 500;
}

.s5_boxedborder {
  border: 3px solid #000;
  font-size: 1.1em;
  padding: 60px;
}

#s5_footer {
  font-size: 0.9em;
  color: #969797;
  float: right;
}

#s5_footer_area_inner {
  padding-top: 50px;
  padding-bottom: 50px;
}

#s5_footerright {
  float: right;
}

.s5_boxedborder strong {
  display: block;
  letter-spacing: 3px;
  margin-bottom: -14px;
}

#s5_login span {
  display: block;
  float: left;
  font-size: 1.4em;
  line-height: 3px;
  margin-right: 6px;
  padding-top: 3px;
}

#s5_language_wrap {
  float: right;
  margin-top: 9px;
  position: relative;
  z-index: 1;
}

#s5_responsive_menu_button {
  margin-top: 36px;
  cursor: pointer;
  font-size: 29px;
  float: left;
}

.s5_signature {
  display: block;
  margin-top: 20px;
  text-align: right;
}

.testimonial_left {
  width: 47%;
  margin-bottom: 10px;
  float: left;
}

.testimonial_right {
  float: right;
  margin-bottom: 20px;
  margin-right: 59px;
  margin-top: -20px;
  width: 47%;
}

.testimonial_left .testimonial_padding {
  padding-right: 75px;
}


/* testimonials */

.s5_test_left_100 {
  position: absolute;
  width: 100%;
}

.s5_test_right_50 {
  float: right;
  width: 50%;
}

.s5_test_right_50 .social_icon {
  margin-left: 0px;
  margin-right: 30px;
}

.s5_test_padding_inner {
  padding: 75px 0;
}


/* our photographers */

.s5_ap_left_50,
.s5_ap_right_50 {
  float: right;
  width: 50%;
}

.s5_ap_right_50 .social_icon {
  margin-left: 0px;
  margin-right: 30px;
}

.s5_ap_padding_inner {
  padding: 75px;
}

.rounded_image {
  height: 83px;
  overflow: hidden;
  width: 83px;
}


/* MODULE STYLES
----------------------------------------------------------- */

#s5_above_body,
#s5_below_body {
  margin-right: -12px;
}

#s5_above_body .moduletable {
  margin-bottom: 20px;
  padding-right: 12px;
}

#s5_below_body .moduletable {
  margin-top: 20px;
  padding-right: 12px;
}

.module_round_box h3.s5_mod_h3 {
  font-size: 1.3em;
  margin-bottom: 45px;
  margin-top: 3px;
  color: #000000;
}

.module_round_box .s5_h3_first {
  color: #000000;
}

.module_round_box {
  text-shadow: none;
  color: #000000;
  margin-left: 7px;
  margin-right: 7px;
}

.module_round_box a {
  color: #000000;
}

.module_round_box_inner {
  padding: 0px;
}

#s5_drop_down_wrap .module_round_box {
  margin-bottom: 35px;
}

.module_round_box_outer .s5_h3_first {
  font-size: 0.9em;
  font-weight: 500;
}

.module_round_box_outer .s5_h3_last {
  display: block;
  font-size: 1.7em;
  margin-top: 10px;
  font-weight: 600;
}

#s5_center_area1 .module_round_box_outer {
  margin-bottom: 50px;
}

#s5_center_area1 .module_round_box {
  padding: 40px;
}

.module_round_box_outer,
.moduletable {
  position: relative;
}

.module_round_box_outer .jmodedit,
.moduletable .jmodedit {
  background: #fff !important;
  font-weight: 500;
  margin: 0;
  right: 0;
  top: 0;
  text-transform: none;
  padding: 2px 8px;
  position: absolute;
  z-index: 999;
}

.module_round_box_outer .jmodedit:hover,
.moduletable .jmodedit:hover {
  background: #000 !important;
}

#s5_top_bar .moduletable .jmodedit {
  color: #000 !important;
}

div[role="tooltip"] {
  display: none;
  position: absolute;
  background: #000;
  color: #fff;
  padding: 12px;
  border-radius: 4px;
  z-index: 100;
  right: 0;
  top: 30px;
  min-width: 100px;
}

div[role="tooltip"].show {
  display: block;
}

#s5_component_wrap .row {
  margin-left: 0;
}

/* top-padding */

.module_round_box.top-padding {
  margin-top: 250px;
}


/* right-padding */

.module_round_box.right-padding {
  margin-right: 150px;
}


/* dark */

.module_round_box.dark {
  background: #333333 none repeat scroll 0 0;
  color: #fff;
  padding: 40px;
}

.module_round_box.dark h3,
.module_round_box.dark .s5_h3_first {
  color: #fff;
}


/* highlight1 */

.module_round_box.highlight1 {
  background: #333333 none repeat scroll 0 0;
  color: #fff;
  padding: 40px;
}

.module_round_box.highlight1 h3,
.module_round_box.highlight1 .s5_h3_first {
  color: #fff;
}


/* highlight1_border */

.module_round_box.highlight1_border {
  border: 3px #333333 solid;
  color: #000;
  padding: 40px;
}

.module_round_box.highlight1_border h3,
.module_round_box.highlight1_border .s5_h3_first {
  color: #000;
}


/* border */

.module_round_box.border {
  border: 3px #000 solid;
  color: #000;
  padding: 40px;
}

.module_round_box.border h3,
.module_round_box.border .s5_h3_first {
  color: #000;
}


/* gray */

.module_round_box.gray {
  background: #f8f8f8 none repeat scroll 0 0;
  padding: 40px;
}

.module_round_box.gray h3,
.module_round_box.gray .s5_h3_first {
  color: #000;
}

.s5_ap_right_50 .module_round_box_outer .s5_h3_last {
  line-height: 31px;
}


/* SPACING AND ALIGNMENT
----------------------------------------------------------- */

.module_round_box_outer,
#s5_component_wrap,
#s5_center_area .moduletable,
.module_round_box_outer-none {
  margin-left: 12px;
  margin-right: 12px;
}

#s5_header_wrap {
  margin-left: 19px;
  margin-right: 19px;
}

#s5_top_row1_area_inner,
#s5_top_row2_area_inner,
#s5_top_row3_area_inner,
#s5_center_area2,
#s5_bottom_row1_area_inner,
#s5_bottom_row2_area_inner,
#s5_bottom_row3_area_inner {
  padding-top: 90px;
  padding-bottom: 90px;
}

#s5_pos_custom_3 {
  padding-top: 130px;
}


/* GLOBAL CSS
----------------------------------------------------------- */

.s5_roundedimage,
.s5_roundimage_inner,
input#mod-search-searchword,
#s5_ls_outer_wrap .s5_ls_readmore,
.pagination span.s5_pagespan span,
.pagination span.s5_pagespan a,
#s5_inquirybox,
#s5_button_frame ul li,
.s5_buttoncenter .button,
#s5_photo_showcase_prev,
#s5_photo_showcase_next,
#s5_loading_inner,
.s5_tab_show_next_prev_top .s5_tab_show_next_prev,
.rounded_image {
  -moz-border-radius: 100px;
  -webkit-border-radius: 100px;
  border-radius: 100px;
}

#s5_inquiryboxopen,
#s5_inquiryboxopentitle {
  -moz-border-radius: 12px 12px 0 0;
  -webkit-border-radius: 12px 12px 0 0;
  border-radius: 12px 12px 0 0;
}

#s5_responsive_mobile_bottom_bar .s5_scrolltotop,
.input-append .uneditable-input,
.input-append input,
.input-append select,
.input-prepend .uneditable-input,
.input-prepend input,
.input-prepend select {
  -moz-border-radius: 0px !important;
  -webkit-border-radius: 0px !important;
  border-radius: 0px !important;
}

.button,
p.readmore a,
a.readon,
div.catItemReadMore,
.userItemReadMore,
div.catItemCommentsLink,
.userItemCommentsLink,
a.readmore-link,
a.comments-link,
div.itemCommentsForm form input#submitCommentButton,
#s5_login,
#s5_register,
#s5_bottom_menu_wrap ul.menu a,
#s5_footer a,
.s5_scrolltotop,
.jdGallery .carousel .carouselInner .thumbnail,
.jdExtCarousel .carouselInner .thumbnail,
#s5_bottom_row3_area2 .module_round_box ul.menu a,
.s5_va_active span.s5_va_h3_inner_span,
.s5_va_inactive span.s5_va_h3_inner_span,
#s5_top_menu ul li a,
a,
.s5_rowselector,
.S5_menu_module_group img,
input#mod-search-searchword,
.s5_scrolltotop,
#s5_cartbutton,
.jdGallery a.left,
.jdGallery a.right,
#s5_scrolltopvar,
#s5_top_menu_wrap li a,
#s5_is_leftarrow,
#s5_is_rightarrow,
.S5_parent_subtext,
.S5_submenu_item,
.S5_subtext,
.inputbox,
.registration input,
.login input,
.contact-form input,
#jform_contact_message,
input,
.s5_scrolltop_fadeout,
.s5_scrolltop_fadein,
.dropdown-menu li > a:hover,
.dropdown-menu li > a:focus,
.dropdown-submenu:hover > a,
.dropdown-menu .active > a,
.dropdown-menu .active > a:hover,
.nav-list > .active > a,
.nav-list > .active > a:hover,
.nav-pills > .active > a,
.nav-pills > .active > a:hover,
.btn-group.open .btn-primary.dropdown-toggle,
.btn-primary:hover,
.btn-primary,
.item-page .dropdown-menu li > a:hover,
.blog .dropdown-menu li > a:hover,
.item .dropdown-menu li > a:hover,
#searchForm .btn-toolbar .btn,
#cboxLoadedContent input,
#s5_nav li:hover,
#s5_nav li,
button,
button:hover,
.letter_div_m a:hover,
.letter_div_m a,
#items_imageleft,
#items_imageright,
.s5_button,
#s5_nav li span.s5_level1_span1,
.s5_scrolltotop,
a.readon,
p.readmore a,
#s5_custom2 .module_round_box-bigtitle_dark h3.s5_mod_h3,
#s5_custom2 .module_round_box-bigtitle_light h3.s5_mod_h3,
textarea,
a.btn,
p.readmore a.btn,
.circle_table_icons,
#s5_photo_showcase_prev,
#s5_photo_showcase_next,
.s5_masondisplay_container .item,
#s5_search_wrap {
  -webkit-transition: all 200ms ease-in 0s;
  -moz-transition: all 200ms ease-in 0s;
  -o-transition: all 200ms ease-in 0s;
  transition: all 200ms ease-in 0s;
}

#subMenusContainer .S5_submenu_item.active {
  background: #000;
}

#subMenusContainer .S5_submenu_item.active > a {
  color: #fff;
}

#s5_responsive_mobile_scroll .s5_scrolltotop {
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  margin-top: 19px !important;
}

.pager li.next a {
  background: #fff;
  color: #000;
  position: fixed;
  padding-left: 21px;
  padding-right: 21px;
  margin-top: -23px;
  right: 0;
  top: 50%;
  font-weight: 500;
  font-size: 1.2em;
  -moz-border-radius: 12px 0px 0px 12px;
  -webkit-border-radius: 12px 0px 0px 12px;
  border-radius: 12px 0px 0px 12px;
  -webkit-box-shadow: 40px 0 40px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 40px 0 40px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 40px 0 40px 0 rgba(0, 0, 0, 0.1);
}

.pager li.next a:hover {
  background: #fff !important;
}

.pager li.previous a {
  background: #fff;
  color: #000;
  position: fixed;
  padding-left: 21px;
  padding-right: 21px;
  margin-top: -23px;
  left: 0;
  top: 50%;
  font-weight: 500;
  font-size: 1.2em;
  -moz-border-radius: 0px 12px 12px 0px;
  -webkit-border-radius: 0px 12px 12px 0px;
  border-radius: 0px 12px 12px 0px;
  -webkit-box-shadow: -40px 0px 40px 0 rgba(0, 0, 0, 0.1);
  box-shadow: -40px 0px 40px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: -40px 0px 40px 0 rgba(0, 0, 0, 0.1);
}

.pager li.previous a:hover {
  background: #fff !important;
}


/* LOGIN
----------------------------------------------------------- */

#login-form input {
  display: block;
  width: 100%;
}

#login-form #modlgn-remember {
  width: auto;
}

#login-form button {
  display: block;
  clear: both;
  color: #000;
  margin-bottom: 12px;
}

#login-form button:hover {
  color: #fff;
}

#login-form .control-label {
  margin-top: 14px;
}

#login-form a:hover {
  text-decoration: underline;
}

#login-form #form-login-remember {
  padding-top: 10px;
  margin-bottom: 10px;
  float: none;
}

#login-form #form-login-remember .control-label {
  margin-top: 0;
  vertical-align: top;
}

#login-form #modlgn-remember {
  margin-right: 10px;
}


/* MOBILE BAR
----------------------------------------------------------- */

#s5_responsive_mobile_bar_active {
  padding-top: 12px !important;
}


/* PAGINATION
----------------------------------------------------------- */

.pagination .pagination,
p.counter,
.pagination span.s5_pagespan a,
.pagination span.s5_pagespan a:hover {
  -webkit-transition: all 200ms ease-in 0s;
  -moz-transition: all 200ms ease-in 0s;
  -o-transition: all 200ms ease-in 0s;
  transition: all 200ms ease-in 0s;
}

.pagenav a {
  padding: 8px;
  padding-left: 20px;
  padding-right: 20px;
  -webkit-transition: all 200ms ease-out;
  -moz-transition: all 200ms ease-out;
  -o-transition: all 200ms ease-out;
  transition: all 200ms ease-out;
}

.pagination .counter {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  float: none;
  padding: 0px;
  margin: 0px;
  margin-bottom: 20px;
  font-size: 0.9em;
}

.pagenav {
  padding-top: 40px;
  padding-bottom: 0px;
}

.pagination {
  padding-top: 30px;
  padding-bottom: 40px;
}

.s5_negative_margin_content .pagination {
  padding-bottom: 66px;
  padding-top: 20px;
}

.pagination {
  text-align: center;
  margin: 0px;
}

.pagination .pagination {
  text-align: center;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

.pagination .pagination a,
.pagination .pagination span {
  padding: 0px;
  margin: 0px;
  padding: 2px !important;
  padding-left: 13px !important;
  padding-right: 13px !important;
  margin-left: 4px;
  margin-right: 4px;
  font-size: 0.9em;
  color: #000000;
  background: #FFFFFF;
  border: solid 1px #E1E0E0;
  display: inline-block;
  margin-bottom: 8px;
}

.pagination .pagination a {
  color: #FFFFFF;
}

.pagination .pagination a:hover {
  text-decoration: none;
}

.pagination a {
  background: #000 !important;
  border: 1px solid #000 !important;
}


/* CONTENT STYLE
----------------------------------------------------------- */

.article-info dt,
.article-info dd {
  font-size: 0.9em;
  display: inline-block;
  margin-right: 14px;
}

ul.tags {
  margin: 0px;
}

ul.tags li {
  display: inline;
  margin: 5px;
  list-style: none;
}

.article-info dd,
.article-info dt {
  font-size: 1.1em;
  line-height: 170%
}

.article-info {
  margin-bottom: 9px;
  margin-top: 0px;
}

.article-info-term {
  display: none;
}

.search #searchForm fieldset.word label {
  margin-right: 10px;
}

.search #searchForm fieldset.word input {
  width: 50%;
}

.search #searchForm fieldset.word {
  margin-bottom: 50px;
  text-align: center;
}

.search fieldset.phrases legend,
.search fieldset.only legend {
  color: #7d7d7d;
}

.search fieldset.phrases,
.search fieldset.only {
  margin-bottom: 13px;
}

.dropdown-menu {
  border: none !important;
}

.article_column {
  float: left;
}

.item-separator {
  display: block;
  clear: both;
  margin-bottom: 50px;
}

.item-page,
.category-desc {
  margin-bottom: 34px;
  clear: both;
}

.item-page {
  margin-bottom: 0px;
}

.article_separator {
  display: none;
}

.article-info {
  font-size: 0.9em;
  font-style: normal;
  margin-bottom: 60px;
}

.blog-featured .article-info {
  margin-top: -8px;
  margin-bottom: 14px;
}

.article-info-term {
  display: none;
}

.article_column .contentpaneopen {
  padding-right: 15px;
}

.buttonheading {
  float: right;
  padding-right: 5px;
}

.contentpane ul li {
  text-align: left;
}

.sectiontableheader {
  text-align: left;
  font-weight: bold;
  padding: 5px;
}

legend.sectiontableheader {
  background: none;
}

.sectiontableheader th {
  padding-left: 8px;
  padding-right: 8px;
}

.sectiontableentry1,
.sectiontableentry2 {
  padding-bottom: 5px;
}

td {
  padding-bottom: 0px;
  padding-top: 0px;
}

table.searchintro {
  padding: 10px 0;
  width: 80%;
}

tr.sectiontableentry1 td {
  padding: 2px;
}

tr.sectiontableentry2 td {
  padding: 2px;
}

.sectiontableheader {
  line-height: 29px;
  padding: 0pt 10px;
}

.sectiontableentry1 {
  font-size: 9pt;
  padding: 7px;
  background: #ECECEC;
}

.sectiontableentry2 {
  font-size: 9pt;
  padding: 7px;
}

ul.actions li {
  float: right;
  padding-left: 8px;
  list-style: none;
}

.img-intro-left,
.img-fulltext-left {
  float: left;
}

.img-intro-right,
.img-fulltext-right {
  float: right;
}

#s5_component_wrap ul.actions {
  margin-left: 0px;
}

#s5_component_wrap ul.pagenav {
  margin: 0px;
}

ul.actions i {
  display: none;
}

.calendar .button {
  color: #000000 !important;
  background: none !important;
  display: table-cell !important;
  padding: 2px !important;
}

.dropdown-toggle,
.dropdown-toggle:hover {
  padding: 9px;
  background: none !important;
  margin-right: 0px !important;
  margin-top: -6px !important;
  border: none;
  font-size: 14px;
  line-height: 1;
  min-width: 1px;
}

.btn .caret {
  margin-left: 5px;
  margin-top: 6px;
}

.btn-group.open .dropdown-toggle {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.dropdown-menu {
  border: none;
}

.dropdown-menu span {
  margin-right: 8px;
}

.item-page .dropdown-toggle,
.blog .dropdown-toggle,
.item .dropdown-toggle {
  background: #FFFFFF !important;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.page-header {
  border: medium none;
  margin: 0 0 10px;
  padding: 0;
}

.item,
.items-leading {
  margin-bottom: 60px !important;
}

.article-info dt,
.article-info dd {
  display: inline-block;
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 1px;
  margin-right: 14px;
  text-transform: uppercase;
}

.article-info {
  text-align: center;
}

.items-more ol {
  margin: 0px;
}

.pull-left.item-image,
.item .pull-right.item-image {
  float: none;
}

.item-page .item-image {
  margin-bottom: 25px;
}


/* MISCELLANEOUS
----------------------------------------------------------- */

legend {
  border: none !important;
}

.moduletable .breadcrumb,
.module_round_box_outer .breadcrumb {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  box-shadow: none;
  padding: 0px;
  margin: 0px;
}

.module_round_box_outer ul li a,
.module_round_box_outer ul.menu li span {
  padding-bottom: 6px;
  margin-bottom: 6px;
  display: block;
  line-height: 15px;
}

.s5_module_box_1 ul.menu ul a span {
  margin: 0px;
  padding: 0px;
}

.jicons-icons {
  float: left;
  padding-right: 7px;
}

.jicons-icons {
  display: none;
}

#GM_form {
  margin: 0;
}

#s5_map_canvas img {
  max-width: none !important;
}

fieldset a {
  font-weight: bold;
}

#member-registration legend {
  font-size: 1.7em;
  margin-bottom: 20px;
}

ul {
  margin-left: 18px;
}

div.syndicate div {
  text-align: center;
}

.mosimage {
  padding: 0;
  border: 1px solid #CCCCCC;
  background: #ffffff;
  margin: 6px;
}

.mosimage img {
  padding: 0;
  margin: 0!important;
}

.mosimage_caption {
  background: #EFEFEF none repeat scroll 0%;
  border-top: 1px solid #CCCCCC;
  color: #666666;
  margin-top: 2px;
  padding: 1px 2px;
}

div.syndicate div {
  text-align: center;
}

.back_button {
  height: 37px;
  padding-top: 26px;
}

div.back_button a,
div.back_button a:hover,
div.back_button a:active {
  margin: -2px 0;
  display: block;
  font-weight: bold;
  height: 37px;
  text-decoration: none!important;
}

.s5_centerit {
  text-align: center;
  display: block;
}

iframe {
  border: none;
}

.login label {
  display: block;
}

th {
  font-weight: bold;
  padding: 5px 0;
  text-align: left;
}

td.num {
  text-align: left;
  vertical-align: top;
}

td.hits {
  text-align: center;
  vertical-align: top;
}

td p {
  line-height: 1.7em;
  margin: 0;
}

.filter {
  margin: 10px 0;
}

.display-limit,
.filter {
  margin-right: 7px;
  text-align: right;
}

table,
table td {
  border-collapse: collapse;
}

table.weblinks,
table.category {
  margin: 10px 0 20px 0;
  width: 100%;
}

table.weblinks th,
table.category th {
  font-size: 1em;
  font-weight: normal;
}

table.weblinks th:first-child,
table.category th:first-child {
  border-left: medium none;
}

table th {
  background: #E9E9E9;
  padding: 6px 10px;
}

fieldset.filters {
  margin-top: 10px;
}

#search-searchword {
  min-height: 52px;
}


/* LANGUAGE FLAGS
----------------------------------------------------------- */

.s5_languageflags {
  margin: 0px;
  margin-left: 18px;
}

div.mod-languages li {
  margin: 0 0 0 3px
}

#s5_pos_language li {
  float: right;
  margin: 0 0 0 8px
}


/* IMAGES
----------------------------------------------------------- */

a img,
fieldset,
img {
  border: none
}

.module_round_box_outer img {
  line-height: 100%;
  display: inline-block
}

.mosimage {
  padding: 0;
  margin: 6px
}

.mosimage img {
  padding: 0;
  margin: 0!important
}

.mosimage_caption {
  background: #333;
  color: #FFF;
  font-size: 8pt;
  margin-top: 2px;
  padding: 1px 2px
}


/* SYSTEM MESSAGES
----------------------------------------------------------- */

#system-message {
  margin-bottom: 20px
}

#system-message dd.message ul {
  background: url(../../system/images/notice-info.png) 4px center no-repeat #C3D2E5;
  margin-left: 4px;
  margin-top: 13px
}

#system-message dd.error ul {
  color: #c00;
  background: url(../../system/images/notice-alert.png) 4px center no-repeat #E6C0C0;
  border-top: 3px solid #DE7A7B;
  border-bottom: 3px solid #DE7A7B
}

#system-message dd.notice ul {
  color: #c00;
  background: url(../../system/images/notice-note.png) 4px center no-repeat #EFE7B8;
  border-top: 3px solid #F0DC7E;
  border-bottom: 3px solid #F0DC7E
}


/* TOOLTIPS
----------------------------------------------------------- */

.tip-wrap {
  z-index: 1000003
}

.tip-wrap .tip {
  background: #fff;
  padding: 5px;
  border: 1px solid #eee;
  max-width: 300px
}

.tip-wrap .tip-title {
  background: #101010;
  color: #FFF;
  font-size: 1em;
  margin-bottom: 4px;
  padding: 5px 8px;
  text-shadow: 0 1px 0 #000
}

.tip-wrap.tip-text {
  padding: 3px;
  font-size: 11px;
  line-height: 16px
}

.tooltip {
  border: none!important;
  background: 0 0!important
}


/* PAGES - GENERAL
----------------------------------------------------------- */

h1.pages_center_text {
  font-size: 2em;
  font-family: arial;
  text-transform: none
}

.pages_highlight_box {
  padding: 30px;
  color: #FFF;
  display: block
}

.pages_highlight_box h3 {
  text-transform: none;
  font-size: 1.9em
}

.pages_highlight_box .readon {
  margin-top: 20px
}

.pages_center_text {
  text-align: center
}

address {
  padding-top: 4px;
  padding-bottom: 4px;
}

.contact h3 {
  margin-bottom: 20px;
  margin-top: 15px;
}


/* PAGES - CONTACT
----------------------------------------------------------- */

.jicons-text {
  font-weight: 700
}

.contact-image {
  margin-bottom: 20px
}

@media screen and (max-width:1050px) {
  .contact-image {
      float: right
  }
}

@media screen and (max-width:700px) {
  .contact .thumbnail {
      float: none!important;
      margin-bottom: 14px
  }
  .contact .thumbnail img {
      width: 100%
  }
}

.contact-form label {
  display: block;
}

.contact .dl-horizontal dt {
  width: auto
}

.dl-horizontal dt {
  float: none;
  overflow: visible;
  text-align: inherit
}

dd,
dt {
  line-height: 220%
}

#contact-form {
  margin: 0px;
}

#contact-form fieldset {
  padding: 0px;
}

#contact-form .form-actions {
  margin-bottom: 0px;
}

#contact-form.well {
  padding: 0;
  background: none;
  box-shadow: none;
  border: none;
}

#contact-form.form-horizontal .control-label {
  float: none;
}

#contact-form.form-horizontal fieldset > .control-group:last-child .control-label {
  float: left;
  width: auto;
  margin-right: 10px;
}


/* PAGES - SEARCH
----------------------------------------------------------- */

.search #searchForm fieldset.word label {
  margin-right: 10px
}

.search #searchForm fieldset.word input {
  width: 50%
}

.search #searchForm fieldset.word {
  margin-bottom: 50px;
  text-align: center
}

.search fieldset.only,
.search fieldset.phrases {
  margin-bottom: 13px
}

#searchForm button {
  padding-top: 14px;
  padding-bottom: 13px;
  margin-top: 0
}

#searchForm {
  margin: 0
}

#search-searchword {
  font-size: 14px
}

.search h1.page-title {
  margin-bottom: 40px
}

.search #searchForm .btn-toolbar {
  margin-bottom: 20px
}

.searchintro {
  margin-bottom: 15px
}

.searchintro strong {
  font-weight: 400
}

.badge-info,
.label-info {
  background: #333;
  font-weight: 400
}

#searchForm .only legend,
#searchForm .phrases legend {
  float: left;
  margin-right: 17px;
  margin-bottom: 0;
  font-size: .9em;
  margin-top: -6px;
  width: auto
}

#searchForm fieldset input,
#searchForm fieldset label {
  min-height: auto
}

.chzn-container-single .chzn-single {
  border: 1px solid #E6E9E9;
  -webkit-box-shadow: none!important;
  -moz-box-shadow: none!important;
  box-shadow: none!important;
  -webkit-border-radius: 0!important;
  -moz-border-radius: 0!important;
  border-radius: 0!important;
  height: 32px;
  font-weight: 400;
  line-height: 31px;
  padding: 0 0 0 12px;
  background: #fff
}

.chzn-container-active.chzn-with-drop .chzn-single {
  background: #fff
}

.chzn-container .chzn-drop {
  -webkit-border-radius: 0!important;
  -moz-border-radius: 0!important;
  border-radius: 0!important
}

.chzn-container-single .chzn-single div b {
  background-position: 0 7px
}

.chzn-container .chzn-results li.active,
.chzn-container .chzn-results li.highlighted {
  background: #000
}

.checkbox,
.ordering-box,
.ordering-box #ordering_chzn,
.ordering-box .ordering,
.phrases-box,
.radio {}

.controls>.checkbox:first-child,
.controls>.radio:first-child {
  padding-top: 0
}

.ordering-box .ordering {
  margin-right: 8px
}

.checkbox,
.radio {
  margin-right: 25px
}

#contact-form,
#contact-form .form-actions {
  margin-bottom: 0
}

.form-actions {
  border: none;
  background: #F6F6F6
}

#searchForm fieldset {
  border: none!important;
  background: 0 0!important;
  padding: 0!important;
  margin: 0 0 18px!important
}


/* PAGES - ABOUT
----------------------------------------------------------- */

.about_wrapper {
  padding-top: 10px
}

.about_wrapper img {
  float: left;
  max-width: 45%!important;
  margin-right: 30px;
  margin-bottom: 30px
}

@media screen and (max-width:750px) {
  .about_wrapper img {
      float: none;
      max-width: 100%!important;
      margin-right: 0;
      margin-bottom: 30px
  }
}

.about_wrapper h3 {
  margin-bottom: 14px;
  font-weight: 600
}

.about_bottom_item1 {
  width: 47%;
  float: left
}

.about_bottom_item2 {
  width: 47%;
  float: right
}

.about_bottom_item1 h3,
.about_bottom_item2 h3 {
  margin-top: 15px;
  margin-bottom: 15px;
  font-weight: 600
}

@media screen and (max-width:750px) {
  .about_bottom_item1,
  .about_bottom_item2 {
      width: auto;
      float: none
  }
}


/* PAGES - SERVICES
----------------------------------------------------------- */

.services_wrap {
  text-align: center;
  width: 33.3333%;
  float: left;
  margin-bottom: 50px
}

@media screen and (max-width:750px) {
  .services_wrap {
      width: auto;
      float: none;
      margin-bottom: 30px
  }
}

.services_wrap_inner {
  padding-left: 15px;
  padding-right: 15px
}

.services_wrap h3 {
  font-weight: 700;
  margin-top: 15px;
  margin-bottom: 15px
}


/* PAGES - FAQs
----------------------------------------------------------- */

.faq_wrap h3 {
  font-weight: 700;
  margin-bottom: 25px
}

.faq_question {
  font-weight: 700;
  display: block;
  font-size: .9em
}

.faq_answer {
  display: block;
  font-size: .8em;
  font-style: italic;
  padding: 5px 12px 12px
}


/* FAQ ACCORDION
----------------------------------------------------------- */

.ac-container label,
.ac-container2 label {
  font-size: 1em!important;
  height: 43px!important;
  line-height: 43px!important;
  padding: 5px 20px;
  position: relative;
  z-index: 20;
  display: block;
  margin-bottom: 0!important;
  margin-top: 0!important;
  cursor: pointer;
  background: #fff;
  color: #333;
  box-shadow: 0 0 0 1px rgba(155, 155, 155, .3), 0 0 0 rgba(255, 255, 255, .9) inset, 0 0 1px rgba(0, 0, 0, .1);
  -webkit-box-shadow: 0 0 0 1px rgba(155, 155, 155, .3), 0 0 0 rgba(255, 255, 255, .9) inset, 0 0 1px rgba(0, 0, 0, .1);
  -moz-box-shadow: 0 0 0 1px rgba(155, 155, 155, .3), 0 0 0 rgba(255, 255, 255, .9) inset, 0 0 1px rgba(0, 0, 0, .1)
}

.ac-container,
.ac-container2 {
  width: 100%;
  position: relative;
  z-index: 0;
  margin: 10px auto 30px;
  text-align: left
}

.ac-container label:hover,
.ac-container2 label:hover {
  background: #000000;
  color: #FFFFFF;
}

.ac-container input:checked+label,
.ac-container input:checked+label:hover,
.ac-container2 input:checked+label,
.ac-container2 input:checked+label:hover {
  background: #F9F9F9;
  color: #666;
  height: 30px;
  line-height: 21px;
  font-size: 13px
}

.ac-container input:checked+label:hover:after,
.ac-container label:hover:after,
.ac-container2 input:checked+label:hover:after,
.ac-container2 label:hover:after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  right: 13px;
  top: 7px
}

.ac-container input,
.ac-container2 input {
  display: none
}

.ac-container article,
.ac-container2 article {
  background: rgba(255, 255, 255, .5);
  margin-top: -1px;
  overflow: hidden;
  height: 0;
  position: relative;
  z-index: 10;
  -webkit-transition: height .3s ease-in-out, box-shadow .6s linear;
  -moz-transition: height .3s ease-in-out, box-shadow .6s linear;
  -o-transition: height .3s ease-in-out, box-shadow .6s linear;
  -ms-transition: height .3s ease-in-out, box-shadow .6s linear;
  transition: height .3s ease-in-out, box-shadow .6s linear
}

.ac-container article p,
.ac-container2 article p {
  font-style: normal;
  color: #333;
  padding: 20px
}

.ac-container input:checked~article,
.ac-container2 input:checked~article {
  -webkit-transition: height .5s ease-in-out, box-shadow .1s linear;
  -moz-transition: height .5s ease-in-out, box-shadow .1s linear;
  -o-transition: height .5s ease-in-out, box-shadow .1s linear;
  -ms-transition: height .5s ease-in-out, box-shadow .1s linear;
  transition: height .5s ease-in-out, box-shadow .1s linear;
  box-shadow: 0 0 0 1px rgba(155, 155, 155, .3)
}

.ac-container input:checked~article.ac-text,
.ac-container2 input:checked~article.ac-text2 {
  height: auto
}

.ac-container input:checked~article.ac-small,
.ac-container2 input:checked~article.ac-small2 {
  height: 140px
}

.ac-container input:checked~article.ac-medium,
.ac-container2 input:checked~article.ac-medium2 {
  height: 180px
}

.ac-container input:checked~article.ac-large,
.ac-container2 input:checked~article.ac-large2 {
  height: 230px
}


/* PAGES - 404
----------------------------------------------------------- */

#wrap_404 {
  text-align: center;
  padding-bottom: 30px
}

.title_404 {
  font-size: 11em;
  margin-bottom: 20px
}

.line_1_404 {
  font-size: 2em;
  text-transform: uppercase;
  display: block
}

.line_2_404 {
  font-size: 1.1em;
  padding-bottom: 32px;
  margin-bottom: 32px;
  display: inline-block
}

#wrap_404 .readon {
  margin: 0
}


/* PAGES - TEAM
----------------------------------------------------------- */

.overlay_outer {
  float: left;
  text-align: center
}

.overlay_inner {
  padding: .25%
}

.overlay_outer.one {
  width: 100%
}

.overlay_outer.two {
  width: 49.5%
}

.overlay_outer.three {
  width: 32.5%
}

.overlay_outer.four {
  width: 24.5%
}

.overlay_outer.five {
  width: 19.5%
}

.overlay_outer.six {
  width: 15.5%
}

.overlay_centered,
.overlay_socialicons {
  display: table;
  margin: 0 auto;
  position: relative;
  top: 42%
}

.overlay_hover_outer {
  display: table;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  width: auto;
  height: auto
}

.overlay_hover_outer .overlay_hover_inner {
  -moz-opacity: 0;
  -khtml-opacity: 0;
  filter: alpha(opacity=0);
  opacity: 0;
  background-color: #333;
  height: 100%;
  width: 100%;
  position: absolute
}

.overlay_hover_outer:hover .overlay_hover_inner {
  -moz-opacity: 1;
  -khtml-opacity: 1;
  filter: alpha(opacity=100);
  opacity: 1;
  position: absolute;
  height: 100%;
  width: 100%
}

.overlay_hover_outer .overlay_hover_video {
  -moz-opacity: 1;
  -khtml-opacity: 1;
  filter: alpha(opacity=100);
  opacity: 1;
  height: 100%;
  width: 100%;
  position: absolute
}

.overlay_facebook {
  float: left;
  height: 29px;
  margin-right: 9px;
  width: 29px;
  background: url(../images/pages/sprite.png) 0 -72px no-repeat!important
}

.overlay_facebook:hover {
  background: url(../images/pages/sprite.png) -47px -72px no-repeat!important
}

.overlay_twitter {
  float: left;
  height: 29px;
  width: 29px;
  background: url(../images/pages/sprite.png) no-repeat!important
}

.overlay_twitter:hover {
  background: url(../images/pages/sprite.png) -47px 0 no-repeat!important
}

.overlay_hover_inner {
  -webkit-transition: all 300ms ease-in 0s;
  -moz-transition: all 300ms ease-in 0s;
  -o-transition: all 300ms ease-in 0s;
  transition: all 300ms ease-in 0s
}

.overlay_hover_outer img {
  width: 100%;
  margin-bottom: -9px
}

.overlay_subtitle {
  display: block;
  margin-top: 8px
}

@media screen and (max-width:950px) {
  .overlay_outer {
      width: 100%!important;
      float: none!important
  }
}


/* PAGES - PORTFOLIO
----------------------------------------------------------- */

.pages_portfolio {
  float: left
}

.pages_portfolio.one {
  width: 100%
}

.pages_portfolio.two {
  width: 50%
}

.pages_portfolio.three {
  width: 33.3335%
}

.pages_portfolio.four {
  width: 25%
}

.pages_portfolio.five {
  width: 20%
}

.pages_portfolio.six {
  width: 16.6665%
}

.pages_portfolio img {
  margin-bottom: -7px
}

.pages_padding {
  padding: 5px
}

@media screen and (max-width:950px) {
  .pages_portfolio {
      width: 100%!important;
      float: none!important
  }
}


/* Multibox
----------------------------------------------------------- */

.MultiBoxContainer {
  border: 5px solid #fff !important;
}

.MultiBoxNext,
.MultiBoxPrevious {
  position: fixed !important;
  top: 48%;
  z-index: 1;
}

.MultiBoxPrevious {
  left: 30px !important;
}

.MultiBoxNext {
  right: 30px !important;
}

.MultiBoxClose {
  right: -34px !important;
  top: -36px !important;
}

.MultiBoxTitle {
  font-size: 0.9em !important;
  font-weight: normal !important;
  margin: 10px 0 0 15px !important;
}

.MultiBoxNumber {
  font-size: 0.9em !important;
  font-weight: normal !important;
  margin: 11px 13px 0 0 !important;
}

.MultiBoxPrevious,
.MultiBoxNext {
  height: 29px !important;
  width: 29px !important;
}

.MultiBoxDescription {
  margin: 0 16px !important;
}


/* S5 BOX
----------------------------------------------------------- */

#cboxOverlay {
  background: rgba(255, 255, 255, 0.9);
}

#s5box_login,
#s5box_register {
  padding: 10px 25px !important;
  background: transparent !important;
}

.s5_regfloatleft {
  width: 100% !important;
}

#jform_profile_aboutme,
.s5_regfloatleft input {
  width: 100% !important;
}

#cboxContent,
#cboxContent a,
#cboxContent p label,
#cboxLoadedContent label,
form#member-registration {
  font-weight: 300;
  color: #a2a2a2;
}

#cboxContent h3.s5_mod_h3 {
  font-weight: 400;
}

#cboxContent .button {
  cursor: pointer;
}

#cboxTopLeft,
#cboxTopCenter,
#cboxTopRight,
#cboxMiddleLeft,
#cboxMiddleLeft,
#cboxBottomLeft,
#cboxBottomCenter,
#cboxBottomRight,
#cboxMiddleRight {
  background: none!important;
}

#cboxLoadedContent .s5_mod_h3_outer {
  margin-bottom: 5px;
  margin-top: 9px;
}

#cboxContent {
  -webkit-box-shadow: 0 0 75px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 75px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 75px 2px rgba(0, 0, 0, 0.1);
}

#form-login-username,
#form-login-password {
  font-size: 1.1em;
}

#cboxClose {
  background: url(../images/multibox/close.png) no-repeat scroll left top transparent !important;
  top: -9px !important;
  cursor: pointer !important;
  float: right !important;
  height: 30px !important;
  margin: -30px 4px -7px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  right: -47px !important;
  text-indent: 500px !important;
  width: 30px !important;
}

#cboxTopLeft,
#cboxTopCenter,
#cboxTopRight,
#cboxMiddleLeft,
#cboxMiddleRight,
#cboxBottomLeft,
#cboxBottomCenter,
#cboxBottomRight {
  display: none !important;
}

#cboxLoadedContent label {
  display: block;
  font-size: .8em !important;
  color: #a2a2a2 !important;
  margin-bottom: 0px;
}

#cboxLoadedContent #form-login-remember label {
  display: inline;
  margin-right: 5px;
}

#cboxLoadedContent .button,
#s5box_register_inner .button {
  margin-bottom: 16px;
  font-size: .9em;
  font-weight: 400;
  margin-top: 12px;
  border: 3px solid #cccccc;
  background: none;
  padding: 9px 23px !important
}

#cboxLoadedContent .button:hover,
#s5box_register_inner .button:hover {
  color: #ffffff;
}

#cboxLoadedContent input.button {
  -webkit-box-shadow: none;
  box-shadow: none;
  -moz-box-shadow: none;
}

#member-registration input {
  margin-bottom: 4px;
}

#member-registration input[type="radio"] {
  margin-top: 4px;
  margin-left: -18px;
}

#cboxLoadedContent .module_round_box_outer,
#s5box_register .module_round_box_outer {
  padding-bottom: 0px !important;
}

#cboxLoadedContent .s5_module_box_2 {
  padding: 5px 5px 5px;
}

#cboxLoadedContent .module_round_box_outer {
  margin-bottom: 0px;
  margin-top: 0px;
}

#cboxLoadedContent input {
  color: #333333;
  font-size: 15px !important;
  font-weight: 300;
  padding: 12px 0px !important;
}

.s5_regfloatleft {
  margin-bottom: 3px !important;
  margin-right: 15px;
}

div.likeboxwrap iframe {
  margin: -1px;
}

.likeboxwrap iframe {
  height: 358px !important;
  width: 252px !important;
}

#cboxLoadedContent {
  margin-bottom: 0px !important;
}

.s5_module_box_2 form {
  font-size: 1.1em;
}

#cboxMiddleRight,
#cboxTopRight {
  width: 50px !important;
}

#cboxTopCenter {
  height: 50px !important;
}

#cboxLoadedContent .module_round_box h3 {
  font-size: 1.1em;
  margin-bottom: 25px;
  margin-top: 0px;
}

#colorbox,
#cboxOverlay,
#cboxWrapper {
  z-index: 9999999999 !important;
  overflow: visible !important;
}

#cboxLoadedContent #login-form ul li {
  font-size: 0.9em;
  margin-bottom: -3px;
}

#cboxLoadedContent h3.s5_mod_h3 {
  color: #000000;
  padding-bottom: 19px;
}

#cboxContent .s5_mod_h3_outer h3 {
  font-weight: 500;
}

#cboxLoadingOverlay {
  background: url(../images/loading-bar-black.gif) no-repeat scroll center center #fff;
}

#cboxLoadedContent .module_round_box {
  padding: 30px 7px;
}

#cboxLoadedContent ul li a [class^="icon-"],
#cboxLoadedContent ul li a [class*=" icon-"] {
  display: none !important;
}

#cboxLoadedContent button {
  margin-bottom: 22px !important;
  margin-top: 10px;
  padding-left: 22px !important;
  padding-right: 36px !important;
  width: 100%;
}

#cboxLoadedContent .module_round_box_outer .s5_h3_last {
  font-size: 1.4em;
  font-weight: 600;
  margin-top: 3px;
}

#cboxLoadedContent .module_round_box_outer .s5_h3_first {
  font-size: 1.4em;
}


/* SEARCH
----------------------------------------------------------- */

#s5_search_pos_wrap .module_round_box .s5_h3_first,
#s5_search_pos_wrap .module_round_box .s5_h3_last {
  color: #000;
}

#s5_search_overlay {
  background: #ffffff;
  background: rgba(255, 255, 255, 0.9) none repeat scroll 0 0;
  position: fixed;
  left: 0;
  width: 100%;
  top: 0;
}

#s5_search_pos_wrap {
  padding-top: 13%;
}

#s5_search_overlay .button,
#s5_search_overlay button {
  display: none;
}

#s5_search_form,
#s5_ls_outer_wrap {
  width: 100% !important;
}

#s5_search_pos_wrap {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width: 55%;
}

#s5_search_overlay input {
  width: 100%;
}

#s5_search_overlay input {
  font-size: 1.2em;
  font-weight: 700;
  height: 61px;
  background: transparent none repeat scroll 0 0;
  border-bottom: 3px solid #333 !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
  -moz-border-radius: 0px !important;
  -webkit-border-radius: 0px !important;
  padding: 1.5% 3.5% 1.5% 0 !important;
}

#s5_search_overlay input:focus {
  background: transparent !important;
}

#s5_search_overlay .s5_mod_h3_outer h3 {
  font-size: 1.6em;
  font-weight: 300;
  margin-bottom: 32px;
  color: #FFFFFF;
  text-align: left;
}

.icon_search {
  color: #000;
  cursor: pointer;
  font-size: 2em;
  margin-top: 32px;
  position: fixed;
  right: 32px;
  z-index: 5;
}

.s5_search_open {
  -moz-opacity: 1;
  -khtml-opacity: 1;
  opacity: 1;
  height: 1000000px;
  z-index: 4;
}

.s5_search_close {
  -moz-opacity: 0;
  -khtml-opacity: 0;
  opacity: 0;
  height: 0px;
  z-index: 0;
  overflow: hidden;
}

.s5_search_open,
.s5_search_close {
  -webkit-transition: all 200ms ease-in;
  -moz-transition: all 200ms ease-in;
  -o-transition: all 200ms ease-in;
  transition: all 200ms ease-in;
}

#s5_search_wrap {
  color: #000;
  cursor: pointer;
  display: block;
  float: right;
  font-size: 23px;
  height: 18px;
  font-size: 1.2em;
  line-height: 18px;
  margin-left: 13px;
  margin-top: 10px;
  width: 18px;
}

.s5_wrap_fmfullwidth #s5_search_wrap {
  color: #666666;
}

#s5_search_pos_wrap {
  padding-left: 9%;
  padding-right: 9%;
}

.s5_ls_result2 h2,
.s5_ls_result1 h2 {
  font-size: 1.6em;
}

#s5_search_overlay .s5_mod_h3_outer h3 {
  margin-bottom: 15px;
  padding-bottom: 25px;
}


/* S5 LIVE SEARCH
----------------------------------------------------------- */

.s5_ls_top_bar,
.s5_ls_bottom_bar {
  border: medium none !important;
  line-height: 3px !important;
  background: none !important;
}

#s5_ls_outer_wrap {
  background: #ffffff;
}

#s5_ls_close {
  right: 4px !important;
  top: 11px !important;
}

#s5_ls_outer_wrap {
  padding-top: 0px !important;
}

#s5_ls_outer_wrap div {
  margin: 0 !important;
  padding-bottom: 22px !important;
  padding-left: 34px !important;
  padding-top: 22px !important;
}

#s5_ls_outer_wrap div {
  border: 1px solid transparent !important;
}

#s5_ls_outer_wrap div,
.s5_ls_search_word {
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

.s5_ls_bar_span {
  font-size: 0.8em !important;
  font-weight: normal !important;
}

#s5_ls_outer_wrap .s5_ls_result2,
#s5_ls_outer_wrap .s5_ls_result1 {
  line-height: 17px;
  background: none !important;
}

#s5_ls_outer_wrap div:hover {
  border: 1px solid transparent !important;
}

.s5_ls_search_word {
  color: #ffffff;
  padding: 6px 7px !important;
}

.s5_ls_result1 h2 a.s5_ls_result_link,
.s5_ls_result2 h2 a.s5_ls_result_link {
  font-size: .7em !important;
  margin-bottom: 8px !important;
  font-weight: normal !important;
}

#s5_ls_outer_wrap .s5_ls_readmore {
  margin-top: 15px;
  padding: 6px 13px;
  color: #FFFFFF !important;
  display: table;
}

#s5_ls_outer_wrap .s5_ls_readmore:hover {
  text-decoration: none !important;
}

.s5_ls_result1,
.s5_ls_result2 {
  margin-bottom: 10px;
}

.s5_ls_top_bar #s5_ls_close {
  height: 29px !important;
  width: 29px !important;
  display: none !important;
  background: url(../images/s5_lsclose.png) no-repeat !important;
}

#s5_search_form #loading_img {
  height: 23px !important;
  margin-left: -43px !important;
  margin-top: -46px !important;
  background: url(../images/preloader.gif) no-repeat !important;
}

.s5_ls_result2 h2,
.s5_ls_result1 h2 {
  margin-bottom: 14px !important;
}

#s5_ls_outer_wrap {
  margin: 0px !important;
  margin-top: 0px !important;
  position: relative !important;
  height: 300px !important;
  overflow-x: hidden;
  overflow-y: scroll;
  border: none !important;
  padding-right: 0px;
  background: #eeeeee;
}

.s5_ls_result_link {
  color: #000000 !important;
}

#s5_ls_outer_wrap .s5_ls_readmore {
  color: #fff !important;
  background: #000;
}

#s5_ls_outer_wrap div:hover {
  background: #fff !important;
}

#s5_search_form {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#s5_ls_outer_wrap {
  margin: -9px auto 0 !important;
}

#mod-search-searchword {
  background: #ffffff;
}


/* S5 PHOTO SHOWCASE
----------------------------------------------------------- */

#s5_photo_showcase_outer:hover #s5_photo_showcase_prev,
#s5_photo_showcase_outer:hover #s5_photo_showcase_next {
  -moz-opacity: .35;
  -khtml-opacity: .35;
  filter: alpha(opacity=35);
  opacity: .35;
}

#s5_photo_showcase_prev,
#s5_photo_showcase_next {
  height: 43px !important;
  width: 43px !important;
  -moz-opacity: .0;
  -khtml-opacity: .0;
  filter: alpha(opacity=0);
  opacity: .0;
  z-index: 2;
  top: 48%;
}

#s5_photo_showcase_prev:hover,
#s5_photo_showcase_next:hover {
  -moz-opacity: 1;
  -khtml-opacity: 1;
  filter: alpha(opacity=100);
  opacity: 1;
}

#s5_photo_showcase_prev {
  left: 2% !important;
}

#s5_photo_showcase_next {
  left: auto !important;
  right: 2% !important;
}

#s5_photo_showcase_prev_line,
#s5_photo_showcase_next_line {
  width: 2px;
}


/* S5 TAB SHOW
----------------------------------------------------------- */

.s5_tab_show_slide_button_inactive,
.s5_tab_show_slide_button_active {
  background: none;
  padding: 8px 0px;
  font-size: 1.0em;
  margin-left: 6px !important;
  margin-right: 6px !important;
  font-weight: 700;
}

.s5_tab_show_slide_button_inactive {
  color: #aaa;
}

.s5_tab_show_slide_button_active {
  color: #000;
  border-bottom: 2px solid #000;
}

.s5_tab_show_slides_buttons_bottom {
  margin-top: 20px;
}

.s5_tab_show_next_prev_top {
  margin-bottom: 35px;
  margin-left: -13px;
  position: absolute;
  z-index: 2;
}

.s5_tab_show_prev,
.s5_tab_show_prev:hover {
  background: url(../images/s5_tab_show_prev.png) no-repeat scroll center center;
}

.s5_tab_show_prev {
  border: 1px solid #fff;
}

.s5_tab_show_prev:hover {
  border: 1px solid #000;
}

.s5_tab_show_next,
.s5_tab_show_next:hover {
  background: url(../images/s5_tab_show_next.png) no-repeat scroll center center;
}

.s5_tab_show_next {
  border: 1px solid #fff;
}

.s5_tab_show_next:hover {
  border: 1px solid #000;
}

.s5_tab_show_next_prev {
  height: 36px;
  width: 36px;
}

.s5_tab_show_slides_container_wrap_outer {
  margin-top: 82px;
}

.s5_tab_show_prev {
  margin-right: 0;
}


/* S5 MASONRY
----------------------------------------------------------- */

.s5_masonry_hover .item .s5_mason_abi_wrap_inner {
  transition-delay: 0ms;
  -webkit-transition-delay: 0ms;
  -moz-transition-delay: 0ms;
  -o-transition-delay: 0ms;
}

.s5_masonry_hover .item .s5_mason_abi_wrap {
  -webkit-transition: all 0ms ease-in;
  -moz-transition: all 0ms ease-in;
  -o-transition: all 0ms ease-in;
  transition: all 0ms ease-in;
}

.s5_masondisplay_container .item:hover {
  -webkit-box-shadow: 0 0px 17px 4px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0px 17px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0px 17px 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
  -webkit-transform: scale(1.04) translate(0px);
  -moz-transform: scale(1.04) translate(0px);
  -ms-transform: scale(1.04) translate(0px);
  -o-transform: scale(1.04) translate(0px);
}

.s5_masondisplay_container .item:hover .s5_masonwrapinner {
  border: none !important;
}

.s5_masondisplay_container {
  margin-left: 0px !important;
  margin-right: 0px !important;
}

.s5_masonry_form_outer_wrap {
  padding-top: 50px;
}

.s5_masonry_inactive a {
  color: #9e9e9e;
  border-bottom: 2px solid #fbfbfb;
}

.s5_masonry_active a {
  border-bottom: 2px solid #000;
}

.s5_masoncat {
  bottom: 9%;
  top: auto;
  font-size: 13px;
  font-weight: 500;
  background: none;
}

.s5_masonry_articletitle,
.s5_masondate {
  position: relative;
  top: 50%;
}

.s5_masonwrapinner {
  margin-top: 0px !important;
  border: 1px solid #fff !important;
}

.s5_masonwrapinner {
  margin-left: 0px;
  margin-right: 0px;
  border: none;
}

.s5_masonry_inactive a {
  border: 1px solid transparent;
}

.s5_masonry_articles li {
  margin: 0 13px;
}

.s5_masonry_navwrap {
  float: right;
  margin-right: -8px;
  margin-top: -97px;
}

.s5_masonry_articletitle,
.s5_masondate {
  text-align: center;
}

.s5_masondate {
  font-family: times new roman;
  margin-bottom: -51px;
}

.s5_masonry_hover .item .s5_mason_abi_wrap_inner {
  height: 100%;
}

.s5_masondisplay_container .item {
  margin-bottom: 1px !important;
}

.s5_loading_inner {
  -webkit-box-shadow: 0 0px 17px 4px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0px 17px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0px 17px 4px rgba(0, 0, 0, 0.2);
  bottom: 23px;
  height: 32px;
  position: fixed;
  left: 50%;
  padding: 5px;
  top: 50%;
  margin-left: -32px;
  margin-top: -32px;
  width: 32px;
  z-index: 3;
  background: #fff url(../images/loading-bar-black.gif) no-repeat scroll center center;
}

.s5_mason_loadbutton {
  margin-top: 100px;
}

.s5_mason_load_more {
  background: url("../images/loadmore.png")no-repeat right 12px;
  width: 22%;
}

.s5_mason_load_more:hover {
  color: #fff;
  background: #000 url("../images/loadmore.png")no-repeat right -45px !important;
}

.s5_masonry_articles li a:hover {
  border-bottom: 2px solid #000;
  text-decoration: none;
}

.s5_masonry_hover .item .s5_mason_abi_wrap {
  background: rgba(0, 0, 0, 0.55) none repeat scroll 0 0;
}

.blogpages .s5_masonry_img_wrap {
  width: 100%;
  height: 425px;
}

.blogpages .s5_masonry_img_wrap img {
  bottom: -50%;
  position: absolute;
  width: 100%;
}

.s5_masonry_overlay .s5_masonry_articletitle {
  text-align: center;
}

.s5_masonry_overlay .s5_masonry_articletitle {
  position: relative;
  top: 0%;
}

.s5_masonry_overlay .s5_mason_abi_wrap_inner {
  padding: 0 !important;
  top: 50% !important;
  width: 100% !important;
}

.s5_masonry_overlay .s5_masondate {
  background: none;
  left: 0;
  padding-left: 0px;
  padding-right: 0px;
  right: 0;
  top: 56%;
}

.s5_masonry_overlay .s5_masoncat {
  color: #ffffff;
  z-index: 1;
}

.s5_masonry_overlay .item .s5_mason_abi_wrap,
.s5_masonry_overlay .firstitem .s5_mason_abi_wrap {
  background: rgba(0, 0, 0, 0.4) none repeat scroll 0 0;
}

.s5_masonry_articletitle {
  font-size: 1.1em;
}


/* S5 QUICK CONTACT
----------------------------------------------------------- */

#s5_quick_contact_wrap input,
#s5_quick_contact_wrap textarea,
#s5_quick_contact_wrap button {
  display: block;
  margin-bottom: 45px;
}

#s5_quick_contact_wrap span.s5_qc_security_img_wrap {
  display: block;
  margin: 0 0 24px !important
}

#s5_qc_namebox_span {
  width: 50%;
  float: left;
}

#s5_qc_emailbox_span {
  width: 50%;
  float: left;
}

#s5_qc_field1box_span {
  width: 50%;
  float: left;
}

#s5_qc_field2box_span {
  width: 50%;
  float: left;
}

#s5_qc_field3box {
  width: 93% !important;
}

.s5_qc_date input {
  background: url(../images/eventicon.png) no-repeat right;
}

button {
  background: none;
}

.pika-button {
  background: #fff !important;
  color: #666 !important;
}


/* S5 LIKE ME
----------------------------------------------------------- */

.s5_masondisplay_container .item:hover .like-me-button {
  z-index: 2;
  -moz-opacity: 1;
  -khtml-opacity: 1;
  filter: alpha(opacity=100);
  opacity: 1;
}

.like-me-button a div {
  line-height: 40px;
  font-family: arial;
  font-size: 11px;
}


/* S5 DISQUS
----------------------------------------------------------- */

.s5_disqus_comments_area {
  padding-top: 100px;
}

.s5_disqus_comments_content_wrap {
  padding-top: 25px;
}


/* Content
----------------------------------------------------------- */

.checkbox,
.ordering-box,
.ordering-box #ordering_chzn,
.ordering-box .ordering,
.phrases-box,
.radio {
  float: left;
}

.article-info.muted span {
  display: none;
}

.article-info.muted span,
.category-name a {
  color: #000;
}

#contact-form .form-actions {
  background: #fff;
}

#s5_body_padding .form-actions .btn {
  padding-left: 30px !important;
  border: 1px solid #000 !important;
  color: #000 !important;
  margin-left: -18px !important;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
}

#s5_body_padding .form-actions .btn:hover {
  color: #fff !important;
}

.article-info-term {
  display: none !important;
}

.article-info.muted {
  color: #999999;
  margin-top: -9px;
}

.nav-stacked a {
  color: #969696;
  background: #fff;
}

.nav-tabs.nav-stacked > li > a {
  border: 1px solid #efefef;
}

.item-page .icons {
  margin-top: -7px;
}

.s5_articlewidth {
  color: #737373;
  display: block;
  font-size: 1.1em;
  font-weight: 400;
  margin: 72px auto 0;
  text-align: left;
  width: 82%;
}

li.previous span,
li.next span {
  display: none;
}

/* J4 */

/* Login */

.mod-login .input-group .form-control {
  width: 100%;
}


.mod-login .mod-login__username label,
.mod-login .mod-login__username .input-group-text,
.mod-login .mod-login__password label {
  display: none !important;
}

.mod-login .mod-login__remember .form-check-label {
  display: flex !important;
  align-items: center;
  gap: 12px;
}

.mod-login .mod-login__remember .form-check-input {
  margin: 0;
  min-height: unset;
}

.pagenavigation .visually-hidden {
  display: none;
}

/* Contact */
#s5_columns_wrap .com-contact .com-contact__thumbnail {
  float: right;
}

/* Footer Menu */
#s5_footerright .moduletable .mod-menu .nav-item {
  display: inline;
  padding: 0 8px;
}

#s5_footerright .moduletable .mod-menu .nav-item a {
  display: inline;
}

/* Category Blog */

.blog-item .page-header h2 {
  margin-top: 15px;
}

.blog-item .item-content {
  margin-bottom: 15px;
  text-align: center;
}

.com-content-category-blog__navigation .pagination__wrapper .pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.items-more .com-content-blog__links .com-content-blog__link a {
  padding: 8px 12px;
  border: 1px solid #ddd;
  background-color: #F3F3F3;
  display: block;
} 


.items-more .com-content-blog__links .com-content-blog__link::marker,
#s5_component_wrap_inner .com-content-category-blog__navigation .page-item::marker {
  content: '';
} 

#s5_component_wrap_inner .com-content-category-blog__navigation .counter {
  text-align: center;
}

#s5_component_wrap_inner .com-content-category-blog__navigation .page-link {
  background-color: transparent !important;
  border: 0 !important;
}


@media screen and (max-width: 750px) {
  .article-info {
    margin-bottom: 0;
  }
}

/* Article */
#s5_component_wrap .com-content-article .pagenavigation .pagination {
  display: flex;
  justify-content: space-between;
}

#s5_component_wrap .com-content-article .pagenavigation .pagination a {
  color: #fff !important;
}

/* Portfolio Popup */
#portfolio-modal {
  width: 50%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  background: #fff;
    border: 5px solid #fff;
    border-radius: 4px;
}

#portfolio-modal::backdrop {
  background: #000;
  opacity: 0.8;
}

#portfolio-modal  #close-modal {
  background-color: rgba(0, 0, 0, .6);
  border-radius: 50%;
  border: 0;
  color: #fff;
  display: inline-block;
    font-size: 22px;
    height: 40px;
    line-height: 22px;
    position: absolute;
    padding: 0;
    top: 6px;
    width: 40px;
    right: 8px;
    margin: 0;
}

#portfolio-modal  #close-modal:hover {
  background-color: inherit !important;
  opacity: 0.85;
}

#portfolio-modal img {
  width: 100%;
}

@media screen and (max-width: 1199px) {
  #portfolio-modal {
    width: 80%;
  }
}

/* Edit Modules when hover */
.module_round_box_outer,
.moduletable {
  position: relative;
}

.module_round_box_outer .jmodedit,
.moduletable .jmodedit {
    position: absolute;
    right: 0;
    top: 0;
    padding: 2px 8px;
    margin: 0;
    z-index: 999;
    background: #fff !important;
    font-weight: 500;
    text-transform: none;
    border-radius: 4px;
}

#s5_top_bar .moduletable .jmodedit {
    color: #000 !important;
}

div[role="tooltip"] {
  display: none;
  position: absolute;
  background: #000;
  color: #fff;
  padding: 12px;
  border-radius: 4px;
  z-index: 100;
  right: 0;
  top: 30px;
  min-width: 100px;
}

div[role="tooltip"].show {
  display: block;
}


/* Edit Modules*/
#modules-form .row{
    margin-left: 0;
}

#modules-form .choices .choices__inner {
    display: block;
    width: auto;
}

#modules-form .choices__button_joomla {
    text-transform: none;
    font-size: 12px;
    text-shadow: none;
    padding: 4px 10px !important;
    height: auto;
    min-height: auto !important;
    line-height: 1;
    margin-left: 6px !important;
}

#modules-form .field-calendar .visually-hidden {
    display: none;
}

#modules-form .field-calendar input.form-control {
    margin-bottom: 0;
}

#modules-form .field-calendar .btn {
    border-radius: 0;
    width: 38px;
}

#modules-form .js-editor-tinymce .tox-menubar, #modules-form .js-editor-tinymce .tox-toolbar__primary {
    background-color: #F8F7F7;
}

#modules-form .js-editor-tinymce .tox-menubar button,
#modules-form .js-editor-tinymce .tox-toolbar-overlord button {
    color: #333 !important;
    background: transparent !important;
}

#modules-form .tox-statusbar .tox-statusbar__wordcount {
    color: #333 !important;
    background: transparent !important;
}

#com-content-form button[type="button"]:not(.js-tiny-toggler-button, .button-select) {
    background: transparent !important;
    color: #333 !important;
}

#com-content-form .field-media-wrapper .field-media-input {
    min-width: 300px;
}

#com-content-form .field-media-wrapper .button-select {
    background: #FF6138 !important;
    color: #fff !important;
    border-radius: 0;
}

#com-content-form .form-check .form-check-input {
    min-width: auto;
    display: inline-block;
}


/*Popup when select image*/
.modal-backdrop.fade {
  opacity: 0.5;
}
div.modal.fade {
  margin: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  min-width: 300px;
}
@media screen and (min-width: 1200px) {
  div.modal.fade {
    width: 1000px;
  }
}
.media-modal-backdrop .modal {
  transform: translateY(40%);
}
.joomla-modal.modal:not(.show) {
  display: none;
}
.joomla-modal.modal.show .modal-body {
  height: 500px;
}
.joomla-modal.modal button.novalidate {
  display: none;
}
.media-toolbar {
  position: inherit;
  top: 0;
}
.subhead.noshadow button {
  font-size: initial;
}
#com-content-form .control-group input[type="checkbox"] {
  min-width: inherit;
}
#com-content-form .control-group .controls span.small {
  display: inline-block;
}
@media screen and (min-width: 1200px) {
  #com-content-form .control-group .control-label {
    width: 20%;
  }
  
  #com-content-form joomla-tab-element:not(#editor) .control-group {
    display: flex;
  }
}

#com-contact-form div[role="tablist"] button:hover {
  background-color: transparent !important;
}


/* Fix bug Set Column  */

/* Blog Item */
.blog-items .blog-item {
  margin: 0 !important;
}

.blog-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px !important;
}

@media screen and (min-width: 768px) {
  .blog-items[class*="-2"],
  .blog-items[class*="-3"],
  .blog-items[class*="-4"],
  .blog-items[class*="-5"],
  .blog-items[class*="-6"],
  .blog-items[class*="-7"],
  .blog-items[class*="-8"],
  .blog-items[class*="-9"],
  .blog-items[class*="-10"] {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 992px) {
  .blog-items[class*="-2"] {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-items[class*="-3"] {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .blog-items[class*="-4"] {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .blog-items[class*="-5"] {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .blog-items[class*="-6"] {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .blog-items[class*="-7"] {
    grid-template-columns: repeat(7, 1fr);
  }
  
  .blog-items[class*="-8"] {
    grid-template-columns: repeat(8, 1fr);
  }
  
  .blog-items[class*="-9"] {
    grid-template-columns: repeat(9, 1fr);
  }
  
  .blog-items[class*="-10"] {
    grid-template-columns: repeat(10, 1fr);
  }
}

.blog-item .article-info {
  margin-bottom: 0;
}

.blog-items .item-content h2 {
  font-size: 1.8rem !important;
}

.blog-item .item-image{
  margin-bottom: 24px;
}

.blog-items p.readmore,
.blog-items p.readmore .btn {
  margin-top: 0;
}

.blog-items p.readmore .btn {
  margin-top: 12px;
}

.blog .items-more li,
.blog-featured .items-more li {
  list-style-type: none;
}

/* Pagination Blog */
.blog-featured .w-100,
.blog .w-100 {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

@media screen and (max-width: 575px) {
  .blog-featured .w-100,
  .blog .w-100 {
    align-items: center;
    flex-direction: column-reverse;
  }
}

.blog-featured .pagination__wrapper .pagination,
.blog-featured .counter,
.blog .pagination__wrapper .pagination,
.blog .counter  {
  padding: 0;
  margin: 0;
}

.blog-featured .pagination,
.blog .pagination {
  align-items: center;
  display: flex;

}

.blog-featured .page-item,
.blog .page-item {
  list-style-type: none;
}

.blog-featured .page-link,
.blog .page-link {
  background-color: transparent;
}

ul.pagination .icon-angle-double-right::before {
  display: inline-block;
  content: '\f101';
  font-family: FontAwesome;
  font-weight: 400;
}

ul.pagination .icon-angle-double-left::before {
  display: inline-block;
  content: '\f100';
  font-family: FontAwesome;
  font-weight: 400;
}

ul.pagination li .page-link {
  padding: 0 16px;
}

/* Smart Search */

label.finder.visually-hidden {
  display: none;
}

#s5_search_pos_wrap .mod-finder .awesomplete{
  width: 100%;
}

.finder {
  max-width: 800px;
}

.finder .com-finder__advanced.collapse.show {
  height: auto;
}

.finder #finder-filter-window {
  overflow: hidden;
}

.finder .com-finder__search .input-group{
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.finder .com-finder__search .input-group .awesomplete {
  flex-basis: 100%;
}

.finder .com-finder__search .input-group .awesomplete input {
  width: 100%;
  margin: 0;
}

.finder .com-finder__search .input-group button[type="submit"] {
  margin-right: 16px;
}

.finder .com-finder__advanced #finder-filter-select-dates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.finder .com-finder__advanced .filter-date {
  width: 100% !important;
}

.finder .com-finder__advanced .filter-date .inputbox {
  width: 100%;
  margin-bottom: 16px;
}

.finder .com-finder__advanced .field-calendar .input-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.finder .com-finder__advanced .field-calendar .form-control {
  flex: 1;
  min-height: 48px;
}

.finder .com-finder__advanced .field-calendar .form-control,
.finder .com-finder__advanced .field-calendar .btn {
  margin: 0;
}

.finder .filter-branch {
  margin-top: 24px;
}

.finder .filter-branch .control-label {
  margin-bottom: 6px;
}

.finder .filter-branch .form-select {
  width: 100%;
}

@media screen and (min-width: 992px) {
  .finder .com-finder__advanced #finder-filter-select-dates {
    grid-template-columns: repeat(2, 1fr);
  }
}

.finder #search-result-list,
.finder .result__taxonomy {
  margin-left: 0;
}

.finder #search-result-list .result__title-text {
  font-size: 1rem;
}

/* Smart Search Sidebar */

#s5_responsive_mobile_sidebar .awesomplete {
  width: 100%;
}

#s5_responsive_mobile_sidebar .awesomplete input {
  font-size: 11pt;
  height: 45px;
  width: 100%;
  margin: 0;
  text-transform: uppercase;
}

#s5_responsive_mobile_sidebar_login_register_wrap .mod-login__password .icon-eye {
  display: none;
}

#s5_responsive_mobile_sidebar_login_register_wrap .mod-login__options,
#s5_responsive_mobile_sidebar_login_register_wrap .mod-login__remember .form-check-label {
  margin-top: 16px;
}

