* {
    margin: 0;
    padding: 0;
}

body {
    color: #040404;
    background: #ffffff;
    font-weight: 400;
    font-size: 1em;
    overflow-x: hidden;
    line-height: 170%;
}

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 {
    position: relative;
    width: 100%
}

#s5_columns_wrap::before, 
#s5_columns_wrap::after {
    display: table;
    content: "";
    line-height: 0;
}

#s5_columns_wrap::after {
    clear: both;
}

#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%;
    min-height: 1px;
    position: relative
}

#s5_center_column_wrap_inner::before, 
#s5_center_column_wrap_inner::after {
    display: table;
    content: "";
    line-height: 0;
}

#s5_center_column_wrap_inner::after {
    clear: both;
}

#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 {
    font-size: 2.3em;
    line-height: 130%;
    margin-bottom: 4px;
    font-weight: normal;
    color: #191919;
}

h2 {
    font-size: 2.1em;
    line-height: 130%;
    margin-bottom: 20px;
    font-weight: normal;
    color: #191919;
}

#s5_component_wrap_inner h2,
#s5_component_wrap_inner h1 {
    font-size: 2em;
    font-weight: 500;
}

#s5_component_wrap_inner h2 a,
#s5_component_wrap_inner h1 a {
    text-decoration: none;
    color: #040404;
}

h3 {
    font-size: 1.8em;
    line-height: 130%;
    font-weight: normal;
    color: #191919;
}

h4 {
    font-size: 1.5em;
    line-height: 130%;
    font-weight: normal;
    color: #191919;
}

h5 {
    font-size: 1.1em;
    line-height: 130%;
    font-weight: normal;
    color: #191919;
}

h3.s5_demo_h3 {
    margin-bottom: 26px;
    background: #F3F3F3;
    font-size: 1.1em;
    font-weight: 300;
    margin-bottom: 26px;
    padding: 10px 20px;
}


/* 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: 0.9em;
    padding: 12px;
    background: #FFFFFF;
    border: solid 1px #DAD9D9;
    font-weight: 400;
    -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 {
    background: #FBFAFA;
}

input[type="checkbox"], input[type="radio"] {
    min-height: 0;
}


input.search-query {
    border-radius: 0px;
}

.inputbox.mailchimp_signup {
    width: 35%;
    font-style: italic;
}

select.inputbox {
    behavior: none
}

#filter-search,
select,
select.inputbox {
    font-size: 11pt !important;
    padding-top: 7px;
    padding-bottom: 7px;
}

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
}


/* BUTTONS
----------------------------------------------------------- */

.btn,
.button,
.readon,
p.readmore a,
a.k2ReadMore,
.userItemReadMore,
div.catItemCommentsLink,
.userItemCommentsLink,
a.readmore-link,
a.comments-link,
div.itemCommentsForm form input#submitCommentButton {
    padding: 8px 35px;
    padding-top: 11px;
    margin-top: 14px;
    margin-bottom: 0px;
    border: none;
    color: #FFFFFF !important;
    cursor: pointer;
    letter-spacing: 0;
    text-decoration: none;
    box-shadow: none;
    font-weight: 500;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border-radius: 30px;
    display: inline-block;
    line-height: 26px;
    font-size: 0.9em;
}

.alert .close {
	margin-top: 0;
	padding: 0 6px 4px;
}

p.readmore a.btn span {
    display: none;
}

p.readmore {
    padding: 0px;
}

.well a.btn {
    color: #FFFFFF !important;
    margin-top: 0px;
}

p.readmore a,
.item .readon {
    margin-top: 30px;
}

p.readmore:hover a,
.readon:hover,
.button:hover,
button:hover {
    text-decoration: none;
}

.button {
    margin: 0px;
    margin-top: 0px;
    margin-right: 8px;
    color: #ffffff;
}

.btn-primary,
.pager a,
.pager a:hover,
.readon:hover {
    color: #FFFFFF !important;
}

.button:hover {
    border: none !important;
}

.readon.readon_grey {
    background: #F5F5F5 !important;
}

.readon.readon_black {
    background: #373737 !important;
}

.readon.readon_grey:hover {
    color: #FFFFFF !important;
}


/* FONT CONTROLS
----------------------------------------------------------- */

#fontControls {
    text-align: center;
}

#fontControls a {
    color: #FFFFFF;
}

.decreaseSize {
    font-size: 12px;
}

.increaseSize {
    font-size: 19px;
}

.resetSize {
    font-size: 16px;
    margin-left: 5px;
    margin-right: 5px;
}


/* SCROLL TO TOP
----------------------------------------------------------- */

#s5_scrolltotop {
    height: 0;
    visibility: hidden;
}

.s5_scrolltotop {
    width: 31px;
    height: 27px;
    cursor: pointer;
    float: right;
    margin-right: 40px;
    margin-top: -54px;
    background: #030303 url(../images/s5_scroll_arrow.png) no-repeat;
}

#s5_scroll_wrap {
    width: 100% !important;
}


/* BOTTOM MENU
----------------------------------------------------------- */

#s5_bottom_menu_wrap li {
    display: inline-block;
    margin-left: 10px;
    color: #FFFFFF;
}

#s5_bottom_menu_wrap .current a,
#s5_bottom_menu_wrap a {
    color: #FFFFFF !important;
}

#s5_bottom_menu_wrap {
    float: right;
}


/* COLUMN MENU
----------------------------------------------------------- */

.module_round_box ul.menu {
    margin: -28px;
}

.module_round_box_outer ul li img {
    display: none;
}

.module_round_box ul.menu li a,
.module_round_box ul.menu li span {
    padding: 15px 24px 14px !important;
    margin: 0px !important;
    border-bottom: solid 1px #E0DFDF;
    font-weight: 400;
    font-size: 1em;
    color: #040404;
}

.module_round_box ul.menu li.active a,
.module_round_box ul.menu li:hover a,
.module_round_box ul.menu li.active span,
.module_round_box ul.menu li:hover span {
    color: #FFFFFF;
    text-decoration: none;
    cursor: pointer;
}

.module_round_box ul.menu li ul a,
.module_round_box ul.menu li ul span {
    background: none !important;
    border: none !important;
    padding: 0px !important;
    margin: 0px;
    color: #040404 !important;
}

.module_round_box ul.menu li ul li {
    margin-bottom: 12px;
    margin-left: 12px;
    margin-right: 12px;
}

.module_round_box ul.menu ul {
    padding-top: 24px !important;
    padding-bottom: 12px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    border-bottom: solid 1px #E0DFDF;
    font-size: 0.9em;
}

.module_round_box ul.menu ul ul {
    padding-top: 12px !important;
    border: none;
    padding-bottom: 0px !important;
}

#s5_bottom_row3_area1 .module_round_box_outer ul.menu li,
#s5_bottom_row3_area1 .module_round_box_outer ul.menu a,
#s5_bottom_row3_area1 .module_round_box_outer ul.menu span,
#s5_bottom_row3_area1 .module_round_box ul.menu ul,
#s5_bottom_row3_area1 .module_round_box ul.menu {
    background: none !important;
    padding: 0px !important;
    margin: 0px !important;
    border: none !important;
}

#s5_bottom_row3_area1 .module_round_box_outer ul.menu span,
#s5_bottom_row3_area1 .module_round_box_outer ul.menu a {
    margin-bottom: 6px !important;
    padding-bottom: 6px !important;
}


/* BODY ELEMENTS
----------------------------------------------------------- */

#s5_main_wrapper {
    background: #FFFFFF;
}

#s5_component_wrap .thumbnail img {
	margin-left: 0;
}

.s5_no_custom_bg {
    border-bottom: solid 1px #E0DFDF;
}

.s5_no_custom_bg .s5_no_custom_bg {
    border: none;
}

#s5_menu_wrap {
    height: 82px;
    overflow: hidden;
    background: #FFFFFF;
}

#s5_menu_wrap.s5_wrap {
    border-bottom: solid 1px #E0DFDF;
}

#s5_columns_wrap {
    border-bottom: solid 1px #E0DFDF;
    overflow: hidden !important;
}

#s5_menu_wrap_inner {
    float: right;
}

#s5_menu_wrap a,
#s5_menu_wrap span {
    color: #686868;
}

#s5_logo_wrap {
    float: left;
    margin-left: 40px;
}

.s5_logo {
    cursor: pointer;
}

.s5_logo_css img {
    float: left;
}

#s5_search_wrap_outer {
    float: right;
}

#s5_content_body_wrap {
    font-size: 0.9em;
}

#s5_top_row1_wrap,
#s5_top_row2_wrap,
#s5_top_row3_wrap,
#s5_bottom_row1_wrap,
#s5_bottom_row2_wrap,
#s5_bottom_row3_wrap,
#s5_above_columnswrap,
#s5_below_columns_wrap,
#s5_left_column_wrap_inner,
#s5_right_column_wrap_inner {
    padding-left: 40px;
    padding-top: 40px;
}

#s5_component_wrap_inner {
    padding: 40px;
}

#s5_breadcrumb_font_login_wrap {
    background: #373737;
    padding: 10px;
    padding-top: 13px;
    padding-left: 40px;
    padding-right: 40px;
    color: #FFFFFF;
    font-weight: 400;
}

#s5_breadcrumb_wrap {
    float: left;
}

#fontControls,
#s5_language_wrap,
#s5_login,
#s5_register {
    float: right;
    margin-left: 18px;
}

.breadcrumb .active {
    color: #FFFFFF;
}

#s5_breadcrumb_wrap .active .divider {
    display: none;
}

.breadcrumb .divider {
    padding: 0px 8px;
}

#s5_footer_area1 {
    background: #2B2B2B;
    color: #FFFFFF;
    font-size: 0.9em;
    padding: 40px;
    padding-top: 28px;
    padding-bottom: 28px;
}

#s5_footer {
    float: left;
}

#s5_footer a {
    color: #FFFFFF !important;
}

#s5_shape5_logo {
    background: url(../images/shape5_logo.png) no-repeat top left;
    height: 25px;
    width: 85px;
    cursor: pointer;
    display: block;
    margin-bottom: 6px;
    margin-top: 8px;
    float: left;
}

#s5_right_column_wrap {
    background: #F2F2F2 url(../images/s5_right_column_shadow.png) repeat-y top left;
}

#s5_pos_custom_2 {
    color: #FFFFFF;
    padding: 20px;
    padding-top: 56px;
    padding-bottom: 56px;
}

#s5_bottom_row3_area1 {
    border: none !important;
    background: #373737;
    color: #FFFFFF;
}

#s5_bottom_row3 {
    padding: 28px;
}

#s5_bottom_row3_area1 .module_round_box_outer ul li a,
#s5_bottom_row3_area1 .module_round_box_outer ul.menu li span {
    color: #FFFFFF !important;
}


/* MODULE STYLES
----------------------------------------------------------- */

.module_round_box_outer {
    margin-right: 40px;
    margin-bottom: 40px;
}

.module_round_box {
    background: #FFFFFF;
    padding: 28px;
}

.s5_no_custom_bg .module_round_box {
    background: #F3F3F3;
}

.s5_no_custom_bg aside .module_round_box,
.s5_yes_custom_bg .module_round_box {
    background: #FFFFFF;
}

.module_round_box .s5_mod_h3 {
    color: #FFFFFF;
    font-size: 1.1em;
}

.module_round_box .s5_mod_h3_outer {
    background: #373737;
    color: #FFFFFF;
    padding-top: 14px;
    padding-bottom: 12px;
    padding-left: 24px;
    padding-right: 24px;
    margin-left: -28px;
    margin-right: -28px;
    margin-top: -28px;
    margin-bottom: 28px;
}

.module_round_box_outer p {
    padding: 0px;
}

#s5_bottom_row3_area1 .module_round_box {
    background: none;
    padding: 0px;
}

#s5_bottom_row3_area1 .module_round_box .s5_mod_h3 {
    color: #FFFFFF;
    font-size: 1.1em;
    font-weight: 600;
}

#s5_bottom_row3_area1 .module_round_box .s5_mod_h3_outer {
    background: none;
    color: #FFFFFF;
    margin: 0px;
    margin-bottom: 22px;
    padding: 0px;
}

#s5_bottom_row3_area1 .module_round_box_outer p {
    padding: 0px;
}

#s5_bottom_row3_area1 .s5_h3_first {
    color: #FFFFFF !important;
}

.module_round_box-dark {
    background: #444444;
    color: #FFFFFF;
    padding: 28px;
}

.module_round_box-dark .s5_mod_h3 {
    color: #FFFFFF;
    font-size: 1.1em;
}

.module_round_box-dark .s5_mod_h3_outer {
    background: #373737;
    color: #FFFFFF;
    padding-top: 14px;
    padding-bottom: 12px;
    padding-left: 24px;
    padding-right: 24px;
    margin-left: -28px;
    margin-right: -28px;
    margin-top: -28px;
    margin-bottom: 28px;
}

.module_round_box-highlight {
    color: #FFFFFF;
    padding: 28px;
}

.module_round_box-highlight .s5_h3_first {
    color: #FFFFFF !important;
}

.module_round_box-highlight .s5_mod_h3 {
    color: #FFFFFF;
    font-size: 1.1em;
}

.module_round_box-highlight .s5_mod_h3_outer {
    color: #FFFFFF;
    padding-top: 14px;
    padding-bottom: 12px;
    padding-left: 24px;
    padding-right: 24px;
    margin-left: -28px;
    margin-right: -28px;
    margin-top: -28px;
    margin-bottom: 28px;
}

.module_round_box-gray {
    background: #E6E5E5;
    color: #040404;
    padding: 28px;
}

.module_round_box-gray .s5_mod_h3 {
    color: #040404;
    font-size: 1.1em;
}

.module_round_box-gray .s5_mod_h3_outer {
    background: #D5D4D4;
    color: #040404;
    padding-top: 14px;
    padding-bottom: 12px;
    padding-left: 24px;
    padding-right: 24px;
    margin-left: -28px;
    margin-right: -28px;
    margin-top: -28px;
    margin-bottom: 28px;
}

.module_round_box-gray .s5_h3_first {
    color: #040404;
}

.module_round_box-inset {
    background: #FFFFFF;
    padding: 28px;
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2) inset;
    -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2) inset;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2) inset;
}

.module_round_box-inset .s5_mod_h3 {
    color: #FFFFFF;
    font-size: 1.1em;
}

.module_round_box-inset .s5_mod_h3_outer {
    background: #373737;
    color: #FFFFFF;
    padding-top: 14px;
    padding-bottom: 12px;
    padding-left: 24px;
    padding-right: 24px;
    margin-left: -28px;
    margin-right: -28px;
    margin-top: -28px;
    margin-bottom: 28px;
}

.module_round_box_outer,
.moduletable {
  position: relative;
}

.module_round_box_outer .jmodedit,
.moduletable .jmodedit {
  border: 1px solid #dfdfdf;
  display: none;
  margin: 0;
  right: 3px;
  top: 3px;
  position: absolute;
  padding: 5px !important;
  z-index: 5;
}

.module_round_box_outer:hover .jmodedit,
.moduletable:hover .jmodedit {
  display: inline-block;
}

div[role="tooltip"] {
  border-radius: 4px;
  background: #000;
  border: 1px solid #555555;
  color: #fff;
  display: none;
  font-size: 12px;
  right: 0;
  top: 40px;
  padding: 12px;
  position: absolute;
  z-index: 5;
}

div[role="tooltip"].show {
  display: inline-block;
}

#s5_component_wrap .row {
  margin-left: 0;
}

/* GLOBAL CSS
----------------------------------------------------------- */

.module_round_box ul.menu li span,
.module_round_box ul.menu li a,
#s5_nav li,
.btn,
button,
.btn:hover,
a,
.S5_subtext,
.S5_parent_subtext,
.S5_submenu_item,
.S5_submenu_item a,
.S5_submenu_item span,
.s5_scrolltotop,
input,
.button,
textarea,
input,
select,
.s5_icon_search_close,
#s5_nav li a,
#s5_drop_down_button,
.s5_icon_search_close,
.s5_scrolltotop {
    -webkit-transition: all 200ms ease-in !important;
    -moz-transition: all 200ms ease-in !important;
    -o-transition: all 200ms ease-in !important;
    transition: all 200ms ease-in !important;
}

#s5_search_wrap {
    -webkit-transition: color 200ms ease-in !important;
    -moz-transition: color 200ms ease-in !important;
    -o-transition: color 200ms ease-in !important;
    transition: color 200ms ease-in !important;
}

#s5_register,
#s5_login {
    -webkit-transition: background 200ms ease-in !important;
    -moz-transition: background 200ms ease-in !important;
    -o-transition: background 200ms ease-in !important;
    transition: background 200ms ease-in !important;
}

#s5_menu_inner a {
    -webkit-transition: all 0ms ease-in;
    -moz-transition: all 0ms ease-in;
    -o-transition: all 0ms ease-in;
    transition: all 0ms ease-in;
}

#s5_nav li a,
#s5_nav li span {
    -webkit-transition: padding 0ms ease-in !important;
    -moz-transition: padding 0ms ease-in !important;
    -o-transition: padding 0ms ease-in !important;
    transition: padding 0ms ease-in !important;
}


/* MOBILE BAR
----------------------------------------------------------- */

#s5_responsive_mobile_bar_active {
    padding-top: 12px !important;
}


/* IMAGE AND CONTENT FADER
----------------------------------------------------------- */

.withArrows a.open {
    width: 100% !important;
    left: 0 !important;
}

.slideInfoZone {
    bottom: auto !important;
    height: auto !important;
    padding: 0px !important;
    background: none !important;
    left: auto !important;
    right: auto !important;
}

.slideInfoZone br {
    clear: both !important;
    display: block;
}

.jdGallery .slideInfoZone {
    padding-top: 0px !important;
    overflow: visible !important;
    top: 50% !important;
    left: 50% !important;
    margin-right: -50% !important;
    transform: translate(-50%, -50%) !important;
    -ms-transform: translate(-50%, -50%) !important;
    -webkit-transform: translate(-50%, -50%) !important;
}

.jdGallery .slideInfoZone h2 {
    margin: 0px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0px !important;
    font-size: 3.5em !important;
    line-height: 144% !important;
    text-shadow: none !important;
    font-weight: 400 !important;
    margin-bottom: 10px !important;
    display: block;
}

.jdGallery .slideInfoZone h2 strong {
    font-weight: 700 !important;
}

.jdGallery .slideInfoZone p {
    margin: 0px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    padding: 0px !important;
    color: #FFFFFF !important;
    text-shadow: none !important;
}

.center_text {
    text-align: center;
    display: block;
}

.jdGallery a.readon {
    float: left;
    margin-top: 36px;
    font-size: 0.9em !important;
}

.jdGallery a.right,
.jdGallery a.left {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;
    filter: alpha(opacity=100) !important;
    -moz-opacity: 1 !important;
    -khtml-opacity: 1 !important;
    opacity: 1 !important;
    width: 60px !important;
    height: 47px !important;
    float: left !important;
    padding: 0px !important;
    top: 16px !important;
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
    top: 46% !important;
    z-index: 3 !important;
}

.jdGallery a.right {
    background: url(../images/s5_arrow_right.png) no-repeat top left !important;
    left: auto !important;
    right: 1% !important;
}

.jdGallery a.right:hover {
    background-position: 50% 100% !important;
    -webkit-transition: all 300ms ease-in;
    -moz-transition: all 300ms ease-in;
    -o-transition: all 300ms ease-in;
    transition: all 300ms ease-in;
}

.jdGallery a.left {
    background: url(../images/s5_arrow_left.png) no-repeat top right !important;
    right: auto !important;
    left: 1% !important;
}

.jdGallery a.left:hover {
    background-position: 50% 100% !important;
    -webkit-transition: all 300ms ease-in;
    -moz-transition: all 300ms ease-in;
    -o-transition: all 300ms ease-in;
    transition: all 300ms ease-in;
}

.jdGallery .slideElement {
    background-size: 102% auto !important;
}

.jdGallery .loadingElement {
    background-image: none !important;
}

.jdGallery a.carouselBtn,
.jdGallery .carousel .label,
.jdExtCarousel .label {
    display: none !important;
}

.jdGallery div.carouselContainer {
    top: auto !important;
    height: 16px !important;
    bottom: 60px !important;
}

.jdGallery .carousel,
.carouselWrapper {
    top: auto !important;
    height: 16px !important;
    background: none !important;
}

.jdGallery .carousel .carouselInner,
.jdExtCarousel .carouselInner {
    float: left !important;
    left: 50% !important;
    margin: auto !important;
    position: relative !important;
    width: auto !important;
}

.carouselInner .thumbnail {
    float: left !important;
    position: relative !important;
    right: 50% !important;
}

.jdGallery div.carouselContainer {
    -moz-opacity: 1;
    -khtml-opacity: 1;
    filter: alpha(opacity=100);
    opacity: 1 !important;
}

.slideInfoZone {
    -moz-opacity: 1;
    -khtml-opacity: 1;
    filter: alpha(opacity=100);
    opacity: 1 !important;
}

.jdGallery .carousel .carouselInner .thumbnail,
.jdExtCarousel .carouselInner .thumbnail {
    background: none !important;
    margin-left: 3px !important;
    margin-right: 3px !important;
    margin-top: 0px !important;
    height: 9px !important;
    width: 9px !important;
    border: solid 2px #FFFFFF !important;
    -moz-border-radius: 70px;
    -webkit-border-radius: 70px;
    border-radius: 70px;
    -moz-opacity: 1 !important;
    -khtml-opacity: 1 !important;
    filter: alpha(opacity=100) !important;
    opacity: 1 !important;
    -webkit-transition: all 0ms ease-in-out !important;
    -moz-transition: all 0ms ease-in-out !important;
    -o-transition: all 0ms ease-in-out !important;
    transition: all 0ms ease-in-out !important;
}

.jdGallery .carousel .carouselInner .active {
    border: none !important;
    background: #ffffff !important;
}

.jdGallery a.open {
    display: inline !important;
}

.jdGallery .carousel .carouselInner .active.thumbnail {
    border: none !important;
    height: 13px !important;
    width: 13px !important;
}

.carouselContainer .carousel .active {
    left: auto !important;
}

.slideInfoZone {
    -webkit-transition: all 400ms ease-in;
    -moz-transition: all 400ms ease-in;
    -o-transition: all 400ms ease-in;
    transition: all 400ms ease-in;
}

.slideInfoZone {
    float: left !important;
    margin-left: -300px !important;
    -moz-opacity: 0 !important;
    -khtml-opacity: 0 !important;
    filter: alpha(opacity=0) !important;
    opacity: 0 !important;
}

.slideInfoZone_load.slideInfoZone {
    margin: 0px !important;
    -moz-opacity: 1 !important;
    -khtml-opacity: 1 !important;
    filter: alpha(opacity=100) !important;
    opacity: 1 !important;
}

.jdGallery .slideInfoZone h2 {
    font-weight: 700 !important;
}

.jdGallery .slideInfoZone p {
    font-weight: 400 !important;
}

.jdGallery .slideInfoZone h2,
.jdGallery .slideInfoZone p {
    padding-left: 8% !important;
    padding-right: 8% !important;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


/* SEARCH
----------------------------------------------------------- */

#s5_search_overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
}

#s5_search_overlay .module_round_box_outer {
    margin: 0px !important;
    width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#s5_search_pos_wrap {
    padding-top: 120px;
}

#s5_search_overlay .button,
#s5_search_overlay button {
    display: none;
}

#s5_search_overlay input {
    width: 100%;
    padding: 2% !important;
    padding-top: 1.2% !important;
    padding-bottom: 1% !important;
    border: solid 1px #FFFFFF !important;
    background: #FFFFFF;
    margin-bottom: 0px;
    min-height: 46px;
}

#s5_search_overlay .s5_mod_h3_outer h3 {
    font-size: 2em;
    margin-bottom: 32px;
    color: #FFFFFF;
    text-align: center;
}

.s5_icon_search_close {
    position: absolute;
    right: 0;
    float: right;
    margin-right: 60px;
    margin-top: 52px;
    cursor: pointer;
    color: #FFFFFF;
    font-size: 1.5em;
}

.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 {
    cursor: pointer;
    display: block;
    float: right;
    font-size: 18px;
    font-weight: bold;
    height: 18px;
    line-height: 18px;
    margin-left: 32px;
    margin-right: 40px;
    margin-top: 33px;
    width: 18px;
    color: #686868;
}

#s5_search_overlay {
    background: rgba(0, 0, 0, 0.9);
}


/* LOGIN
----------------------------------------------------------- */

#login-form input {
    display: block;
    width: 100%;
    color: #000000;
}

#login-form #modlgn-remember {
    margin-top: 7px;
    width: auto;
}

#login-form button {
    display: block;
    clear: both;
    margin-bottom: 12px;
}

#login-form .control-label {
    margin-top: 0;
}

#login-form a:hover {
    text-decoration: underline;
}


/* DROP DOWN
----------------------------------------------------------- */

#s5_drop_down_container {
    z-index: 5 !important;
    font-size: 0.9em;
}

#s5_drop_down_text_inner {
    margin-top: -5px;
    display: block;
}

#s5_drop_down_container_inner {
    padding: 32px;
}

#s5_drop_down_container .module_round_box_outer {
    margin-bottom: 0px;
}


/* 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: 10px;
    font-size: 0.9em;
    padding: 5px 26px;
    padding-top: 8px;
    -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: 12px;
}

.pagenav,
.pagination {
    padding-top: 40px;
}

.pagination {
    text-align: center;
    margin: 0px;
}

.pagination .pagination {
    text-align: center;
    padding-top: 0px;
}

.pagination .pagination a,
.pagination .pagination span {
    padding: 0px;
    margin: 0px;
    padding: 7px !important;
}

.pagenav a {
    background: #333333;
    color: #FFFFFF;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border-radius: 30px;
}


/* 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,
.btn {
    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: 30px;
}

.blog-featured .article-info {
    margin-top: -8px;
    margin-bottom: 24px;
}

.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;
    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: 40px !important;
    padding-bottom: 40px;
    border-bottom: solid 1px #E0DFDF;
}

.article-info dt,
.article-info dd {
    display: inline-block;
    font-size: 0.95em;
    margin-right: 14px;
}

.items-more ol {
    margin: 0px;
}


/* 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;
    text-decoration: none;
}

.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;
}


/* 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;
    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;
}


/* 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 {
    float: left
}

.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 button {
    padding: 7px 18px
}

#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: 700
}

.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: 700
}

@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: #fff
}

.ac-container input:checked+label,
.ac-container input:checked+label:hover,
.ac-container2 input:checked+label,
.ac-container2 input:checked+label:hover {
    background: #F3F3F3;
    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 label:hover,
.ac-container2 label:hover {
    color: #FFF
}

.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;
    border-bottom: solid 1px #E8E8E8;
    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 200ms ease-in 0s;
    -moz-transition: all 200ms ease-in 0s;
    -o-transition: all 200ms ease-in 0s;
    transition: all 200ms 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
    }
}

/* J4 */

.blog-featured .item-content {
  padding: 28px 0;
}

.blog-featured .blog-item .item-image img {
  width: 100%;
} 

.blog-featured .blog-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media screen and (min-width: 750px) {
  .blog-featured .featured-homepage .blog-item {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 28px;
  }

  .blog-featured .blog-items {
    gap: 40px;
  }

  .blog-featured .item-content {
    padding: 0;
  }
  
}

@media screen and (min-width: 580px) and (max-width: 750px) {
  .blog-featured .blog-items {
    grid-template-columns: 1fr 1fr;
  }
}

/* Login */
.login .form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px 0;
}

.login .form-check-input {
  margin: 0;
}

.login .com-users-login__options {
  display: flex;
  flex-direction: column;
}

.login .input-password-toggle {
  margin-top: 20px !important;
}

.login #password {
  display: block;
}

/* Contact */
#s5_columns_wrap .com-contact .com-contact__thumbnail {
  float: right;
}

joomla-field-media .button-clear {
  border-radius: 100px;
}
/* Category Blog */
.com-content-category-blog .blog-items .item-content {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.com-content-category-blog .com-content-blog__links {
  margin-left: 0;
}

.com-content-category-blog .items-more .com-content-blog__link::marker {
  content: '';
}

.com-content-category-blog .items-more .com-content-blog__link a {
  padding: 8px 12px;
  border: 1px solid #ddd;
  background-color: #F3F3F3;
  display: block;
}

.com-content-category-blog .pagination__wrapper ul {
  display: flex;
  justify-content: center;
  padding: 0;
}

.com-content-category-blog .pagination__wrapper li {
  list-style-type: none;
}

.com-content-category-blog__navigation .counter {
  text-align: center;
  padding: 30px 0;
}

/* Breadcrumb */
#s5_breadcrumb_wrap .breadcrumb-item:not(:last-child):after {
  content: '/';
  margin: 0 8px;
}

/* Article */
#s5_component_wrap .com-content-article .pagenavigation .pagination {
  display: flex;
  justify-content: space-between;
  height: auto !important;
}

#s5_component_wrap .com-content-article .pagenavigation .pagination a > * {
  color: #fff !important;
}

#s5_component_wrap .com-content-article .pagenavigation .visually-hidden {
  display: none;
}


.ul_circle_content .circle_item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pages_portfolio .s5_is_css_7 {
    height: auto;
}

div.icon_outer_wrap .icon_element {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* 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 {
  opacity: 0.9;
}

#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;
  }
}


/* 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-items .item-content h2 {
  font-size: 1.8rem !important;
}

.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 .page-item .page-link {
  padding: 0 14px;
}