* {
  margin: 0;
  padding: 0;
}

body {
  color: #191919;
  background: #ffffff;
  font-weight: 300;
  font-size: 1em;
  overflow-x: hidden;
  letter-spacing: 0px;
  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.2em;
  font-weight: 700;
}

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

h3 {
  font-size: 42px;
  font-weight: 800;
}

h3.lineheight {
  line-height: 36px;
}

h4 {
  font-size: 1.5em;
}

h5 {
  font-size: 1.1em;
  margin-bottom: 12px;
  font-weight: 500;
}

h3.s5_demo_h3 {
  background: #FFF;
  font-size: 1em;
  font-weight: 700;
  margin-bottom: 25px;
  padding: 13px 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: 14px;
  padding: 13px 11px 11px 18px;
  background: #f2f8fe;
  border: 1px solid transparent;
  font-weight: 300;
  color: #000000;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  min-height: 42px;
}

.inputbox:hover,
.input-small:hover,
input:hover {
  border: 1px solid #ccc;
  -webkit-box-shadow: 0 0 4px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 4px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 4px 0px rgba(0, 0, 0, 0.1);
}

#s5_quick_contact_wrap .inputbox {
  padding: 13px 11px 11px 18px !important;
}

.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;
}

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,
.readon,
p.readmore a,
a.k2ReadMore,
.userItemReadMore,
div.catItemCommentsLink,
.userItemCommentsLink,
a.readmore-link,
a.comments-link,
div.itemCommentsForm form input {
  padding: 5px 32px;
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: 600;
  border: none;
  display: inline-block;
  color: #030F4C !important;
  cursor: pointer;
  background: #fff;
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: none;
  font-size: 13px;
}

.readon.right {
  margin-right: 30px;
}

a.btn {
  line-height: inherit !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: #616BA6 !important;
  color: #fff !important;
  text-decoration: none;
}

.button {
  margin: 0px;
  margin-top: 0px;
  margin-right: 8px;
  padding-bottom: 11px;
  padding-top: 11px;
  color: #ffffff;
}

.btn-primary,
.pager a,
.pager a:hover,
.readon:hover {
  color: #FFFFFF !important;
}

.button:hover {
  border: none !important;
}


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

#fontControls {
  margin-top: 12px;
  float: right;
  text-align: center;
}

#fontControls a {
  color: #fff;
}

.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: 69px;
  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: #333 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: #626262 !important;
}


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

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

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

#s5_bottom_menu_wrap .moduletable{
  display: block;
  text-align: center;
}

#s5_bottom_menu_wrap ul {
  display: inline-block;
}

#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: 15px;
  color: #747474;
}


/* 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: 15px;
  color: #6a6a6a;
  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: 0px;
  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 {
  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 {
  font-weight: normal;
}

.s5_accordion_menu h3.s5_am_toggler a.mainlevel {
  color: #545454 !important;
}

.s5_accordion_menu h3.s5_am_toggler,
.s5_accordion_menu h3.s5_am_toggler a.mainlevel {
  line-height: normal !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: 9px !important;
  padding-bottom: 6px !important;
  padding-left: 8px !important;
  border-bottom: none !important;
  font-size: 14px !important;
  display: block !important;
  -webkit-transition: all 200ms ease-out;
  -moz-transition: all 200ms ease-out;
  -o-transition: all 200ms ease-out;
  transition: all 200ms 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-left: 22px !important;
  padding-right: 6px !important;
  font-size: 0.85em !important;
  border: none !important;
  -webkit-transition: all 200ms ease-out;
  -moz-transition: all 200ms ease-out;
  -o-transition: all 200ms ease-out;
  transition: all 200ms ease-out;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

h3 span.s5_accordion_menu_left {
  display: block !important;
  padding: 0px !important;
  padding-left: 0px !important;
  padding-right: 16px !important;
  padding-top: 0px !important;
  padding-bottom: 0px !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;
}

.s5_accordion_menu {
  margin: 0px !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 200ms ease-out;
  -moz-transition: all 200ms ease-out;
  -o-transition: all 200ms ease-out;
  transition: all 200ms ease-out;
  border: none !important;
  margin: 0px !important;
  position: relative !important;
  width: 100% !important;
  display: block !important;
  font-size: 1em !important;
  height: auto !important;
  line-height: 40px !important;
  margin-bottom: 1px !important;
  color: #FFFFFF !important;
  font-weight: 400;
}

.s5_accordion_menu h3:hover {
  -webkit-transition: all 200ms ease-in;
  -moz-transition: all 200ms ease-in;
  -o-transition: all 200ms ease-in;
  transition: all 200ms ease-in;
}

.s5_accordion_menu h3 {
  background: none !important;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.s5_accordion_menu h3.s5_am_parent span.s5_accordion_menu_left {
  cursor: pointer !important;
  background: url(../images/s5_acc_closed.png) no-repeat center right !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_closed.png) no-repeat center right !important;
}

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

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

.s5_accordion_menu h3.s5_am_not_parent span.s5_accordion_menu_left {
  background: none !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;
  text-decoration: none !important;
  margin: 0px !important;
}

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 {
  line-height: 130% !important;
  padding-top: 15px !important;
  padding-bottom: 12px !important;
  padding-left: 12px !important;
  padding-right: 15px !important;
  margin-bottom: 0px !important;
  margin-left: 0px !important;
  margin-top: 0px !important;
}

ul.s5_am_innermenu ul {
  border: none !important;
  margin-top: 0px !important;
  padding-bottom: 0px !important;
  padding-top: 0px !important;
}

ul.s5_am_innermenu a:hover {
  text-decoration: none !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_am_innermenu #current ul .s5_accordion_menu_left a.mainlevel {
  background: none !important;
}

.s5_accordion_menu h3.s5_am_toggler span {
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.s5_accordion_menu h3.s5_am_toggler span span {
  border: none;
}

.s5_accordion_menu h3.s5_am_toggler {
  font-size: 14px !important;
  font-weight: 700;
}

.s5_accordion_menu h3 span img {
  padding-left: 8px !important;
  image-rendering: auto;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  width: 64px !important;
}

.s5_accordion_menu ul li span {
  color: #ccc;
}


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

#s5_topbar,
#s5_topbar_back {
  position: absolute;
  z-index: 5;
  height: 52px;
  width: 100%;
}

#s5_topbar_inner {
  padding-right: 50px;
}

#s5_language_wrap {
  margin-top: 10px;
  float: right;
}

#s5_loginreg {
  font-weight: 600;
  font-size: 13px;
  margin-top: 7px;
}

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

#s5_login {
  cursor: pointer;
  padding: 4px 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;
  cursor: pointer;
  padding-top: 10px
}

.s5_logo_css img {
  float: left;
}

#s5_menu_wrap {
  position: absolute;
  top: 0px;
  z-index: 4;
  width: 100%;
}

#s5_menu_wrapinner,
#s5_menu_wrapitems,
#s5_rightmenu {
  height: 106px;
}

#s5_menu_wrapinner,
#s5_topbar_back {
  -moz-opacity: 0.43;
  -khtml-opacity: 0.43;
  filter: alpha(opacity=43);
  opacity: 0.43;
  position: absolute;
  top: 0px;
  z-index: 1;
  width: 100%;
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  -webkit-background-clip: padding-box;
  /* for Safari */
  background-clip: padding-box;
}

#s5_menu_wrapitems {
  position: relative;
  z-index: 2;
  padding-left: 5%;
  padding-top: 0px;
}

nav#s5_menu_inner {
  float: right;
}

#s5_rightmenu {
  font-size: 13px;
  background: #fff;
  line-height: 88px;
  padding-left: 40px;
  padding-right: 40px;
  font-weight: 700;
  color: #000;
  float: right;
}

#s5_rightmenu:hover {
  cursor: pointer;
  color: #fff;
}

#s5_rightmenu i {
  font-size: 34px;
  display: block;
  text-align: center;
  margin-bottom: -67px;
}

#s5_headerbackground {
  width: 100%;
  height: 158px;
  background-attachment: scroll;
  background-color: #ffffff;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

a.readon.s5_highlight1 {
  color: #fff !important;
}

.s5_width50 {
  width: 50%;
  display: table;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: -28px;
}

.textright {
  display: block;
  margin-top: 23px;
  text-align: right;
}

#s5_latest_right {
  float: left;
}

#s5_center_area1 {
  background: #f5f2f2;
}

a.readon i {
  font-size: 23px;
  margin-left: 13px;
  margin-right: -5px;
  top: 1px;
  float: right;
  position: relative;
}

#s5_pos_custom_2 {
  position: absolute;
  margin-top: -110px;
  width: 100%;
}

#s5_pos_custom2_back {
  height: 110px;
  position: absolute;
  z-index: 0;
  width: 100%;
  -moz-opacity: 0.43;
  -khtml-opacity: 0.43;
  filter: alpha(opacity=43);
  opacity: 0.43;
  background: #000;
}

#s5_pos_custom_2_inner {
  position: relative;
  color: #fff;
  z-index: 1;
  height: 110px;
}

#s5_pos2_padding {
  padding-top: 21px;
  height: 110px;
}

#s5_latest_message {
  float: left;
  line-height: 21px;
  padding-top: 14px;
  margin-right: 35px;
  font-weight: 700;
  font-size: 24px;
}

#s5_pos2_padding .date_outer_wrap {
  float: left;
  margin-top: 2px;
}

#s5_latest_message_right {
  margin-top: 15px;
  float: right;
}

.social_icons {
  padding-left: 3px;
}

#s5_footer {
  text-align: center;
  font-size: 12px;
}

.s5_custom34_left_50,
.s5_custom34_right_50 {
  width: 50%;
  color: #fff;
  float: left;
}

.s5_custom34_left_inner {
  padding: 120px;
}

.s5_custom34_right_50 {
  background-size: cover;
  background-attachment: scroll !important;
  background-repeat: no-repeat !important;
  background-position: top center;
}

.s5_custom4_left_50,
.s5_custom4_right_50 {
  width: 50%;
  color: #fff;
  float: left;
}

.s5_custom4_left_inner {
  padding: 120px;
}

.s5_custom4_right_50 {
  background-size: cover;
  background-attachment: scroll !important;
  background-repeat: no-repeat !important;
  background-position: top center;
}

i.s5icon {
  display: block;
  margin-bottom: 12px;
  font-size: 69px;
}

.instagram_tag {
  margin-top: 11px;
  display: block;
}

.btn-group>.btn:first-child:hover {
  color: #fff !important;
}

.article-info dd {
  background: #fff;
  padding-left: 12px;
  padding-right: 14px;
  font-size: 12px !important;
}

.pull-left.item-image img {
  width: 100%;
}

#s5_breadcrumb_wrap {
  margin-top: 70px;
}

.mailchimp_signup_form {
  margin-right: -36px;
}

.pager a:hover {
  background: #494949;
}


/* 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: 25px;
  line-height: 39px;
  margin-bottom: 14px;
  margin-top: 3px;
  margin-left: auto;
  margin-right: auto;
  color: #000000;
}

.module_round_box .s5_h3_first {
  color: #000000;
}

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

#s5_right_column_wrap .module_round_box,
#s5_left_column_wrap .module_round_box {
  padding: 32px 40px;
}

.module_round_box a {
  color: #000000;
}

.module_round_box_inner {
  padding: 0px;
}

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

#s5_bottom_row3_area1 .module_round_box_outer h3.s5_mod_h3,
#s5_bottom_row3_area1 .module_round_box_outer .s5_h3_first,
#s5_bottom_row3_area1 .module_round_box_outer .s5_h3_last {
  color: #6a6a6a;
  font-size: 18px;
}

.module_round_box_outer h3.s5_mod_h3,
.module_round_box_outer .s5_h3_first {
  color: #6a6a6a;
}

#s5_right_column_wrap .module_round_box,
#s5_left_column_wrap .module_round_box {
  margin-bottom: 40px;
}

#s5_bottom_row3_area1 .module_round_box {
  font-size: 14px;
  color: #6a6a6a;
}


/* one */

.module_round_box.one {
  margin-left: 0;
  margin-right: 0;
}

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

.module_round_box.one .s5_module_box_1 {
  min-height: 160px;
  padding: 60px;
}


/* two */

.module_round_box.two {
  margin-left: 0;
  margin-right: 0;
}

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

.module_round_box.two .s5_module_box_1 {
  min-height: 160px;
  padding: 60px;
}


/* three */

.module_round_box.three {
  margin-left: 0;
  margin-right: 0;
}

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

.module_round_box.three .s5_module_box_1 {
  min-height: 160px;
  padding: 60px;
}


/* four */

.module_round_box.four {
  margin-left: 0;
  margin-right: 0;
}

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

.module_round_box.four .s5_module_box_1 {
  min-height: 190px;
  padding: 60px;
}


/* five */

.module_round_box.five {
  margin-left: 0;
  margin-right: 0;
}

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

.module_round_box.five .s5_module_box_1 {
  min-height: 190px;
  padding: 60px;
}


/* six */

.module_round_box.six {
  background: #deedda;
  margin-left: 0;
  margin-right: 0;
}

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

.module_round_box.six .s5_module_box_1 {
  min-height: 190px;
  padding: 60px;
}


/* highlight1 */

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

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


/* border */

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

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

.module_round_box.border .s5_mod_h3_outer {
  margin-bottom: 25px;
  text-align: center;
}


/* border_highlight1 */

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

.module_round_box.border_highlight1 h3,
.module_round_box.border_highlight1 .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;
}

.module_round_box.gray .s5_mod_h3_outer {
  margin-bottom: 20px;
}

.module_round_box.gray h3.s5_mod_h3 {
  margin-bottom: 20px;
}


/* dark */

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

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

.module_round_box.dark a.readon {
  color: #fff !important;
  background: #545454;
}

.module_round_box.dark .s5_accordion_menu div.s5_accordion_menu_element li a,
.module_round_box.highlight1 .s5_accordion_menu div.s5_accordion_menu_element li a,
.module_round_box.dark .s5_accordion_menu h3.s5_am_toggler a.mainlevel,
.module_round_box.highlight1 .s5_accordion_menu h3.s5_am_toggler a.mainlevel {
  color: #fff !important;
}

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

.module_round_box.dark .s5_accordion_menu h3.s5_am_parent span.s5_accordion_menu_left:hover {
  background: url(../images/s5_acc_closed_dark.png) no-repeat center right !important;
}

.module_round_box.dark .s5_accordion_menu h3.s5_am_open span.s5_accordion_menu_left,
.module_round_box.dark .s5_accordion_menu h3.s5_am_open span.s5_accordion_menu_left:hover {
  background: url(../images/s5_acc_open_dark.png) no-repeat center right !important;
}


/* large title */

.module_round_box.largetitle {
  color: #606060;
  padding: 40px;
  padding-left: 0px;
  padding-right: 0px;
}

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

.module_round_box.largetitle h3.s5_mod_h3 {
  margin-bottom: 40px;
  font-size: 63px;
  margin-left: -4px;
  line-height: 52px;
  font-weight: 800;
}

.module_round_box.largetitle .s5_h3_first {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 5px;
  display: block;
}


/* small title */

.module_round_box.smalltitle {
  color: #606060;
  padding: 40px;
}

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

.module_round_box.smalltitle h3.s5_mod_h3 {
  margin-bottom: 40px;
  font-size: 43px;
  line-height: 52px;
  font-weight: 800;
}

.module_round_box.smalltitle .s5_h3_first {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 5px;
  display: block;
}


/* underline */

.module_round_box.underline {
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  border-bottom: 1px solid #ccc;
}


/* extra module formatting */

.module_round_box.white,
.module_round_box.white .s5_h3_first {
  color: #fff;
}

.module_round_box.center {
  text-align: center;
}

.module_round_box.smlineheight {
  line-height: 22px;
  font-size: 15px;
}

.module_round_box.right {
  text-align: right;
}

.module_round_box.left {
  text-align: left;
}

.module_round_box.bottom-margin {
  margin-bottom: 40px;
}

.module_round_box.white,
.module_round_box.white h3.s5_mod_h3,
.module_round_box.white h3.s5_mod_h3.s5_h3_first,
.module_round_box.largetitle.white .s5_h3_first {
  color: #fff;
}


/* 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_top_row1_area_inner,
#s5_top_row2_area_inner,
#s5_center_area1,
#s5_bottom_row2_area_inner,
#s5_bottom_row3_area_inner,
#s5_above_columns_wrap1,
#s5_below_columns_wrap1 {
  padding-bottom: 100px;
  padding-top: 100px;
}

#s5_top_row3_area_inner {
  padding-bottom: 40px;
  padding-top: 40px;
}

#s5_bottom_row1_area1 {
  padding-bottom: 60px;
  padding-top: 60px;
}

#s5_footer_area_inner {
  padding-top: 20px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
}


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

.s5_roundedimage,
.s5_roundimage_inner,
.button,
li.pagenav-prev a,
li.pagenav-next a,
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,
p.readmore a,
a.readon,
.s5_buttoncenter .button,
.pager a,
.btn,
.btn:hover,
.jdGallery .carousel .carouselInner .thumbnail,
.jdExtCarousel .carouselInner .thumbnail {
  -moz-border-radius: 50px;
  -webkit-border-radius: 50px;
  border-radius: 50px;
}

.s5_pricetable_column.recommended,
.s5_pricetable_column,
div.catItemReadMore,
.userItemReadMore,
div.catItemCommentsLink,
.userItemCommentsLink,
a.readmore-link,
a.comments-link,
div.itemCommentsForm form input#submitCommentButton,
#middle_content .s5_imagerot_wrap img,
#s5_login,
#s5_register,
#s5_bottom_menu_wrap ul.menu a,
#s5_footer a,
#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,
.s5_rowselector,
.S5_menu_module_group img,
.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_button,
#cboxContent,
#s5_qc_security_img,
.MultiBoxContainer,
.module_round_box-gray,
.module_round_box-outlined,
h3.s5_demo_h3,
.pages_highlight_box,
textarea,
.validate,
.faq_question,
.ourteam_roundimage_inner,
.ourteam_roundimage_hover,
.module_round_box-highlight1,
.module_round_box-highlight2,
.module_round_box-dark,
ul.dropdown-menu.actions,
.chzn-container .chzn-results li:hover,
.chzn-container-single .chzn-single,
#s5_register,
#s5_login,
#login-form li:nth-child(3n+0) a,
.s5_highlight1,
a.k2ReadMore,
.date_wrapper,
.button.mailchimp_signup,
#cboxLoadedContent button {
  -moz-border-radius: 3px !important;
  -webkit-border-radius: 3px !important;
  border-radius: 3px !important;
}

.s5_button,
.s5_button_highlight,
p.readmore a,
#cboxLoadedContent input.button,
.article-info dd,
.s5_accordion_menu h3.s5_am_parent,
.s5_accordion_menu h3.s5_am_not_parent,
.btn.dropdown-toggle {
  -moz-border-radius: 50px !important;
  -webkit-border-radius: 50px !important;
  border-radius: 50px !important;
}

.module_round_box,
#instagram img,
.s5_masonry_overlay .s5_masonwrapinner,
.s5_mason_abi_wrap_inner,
.pagination .pagination a,
.pagination .pagination span,
.mejs-container {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.s5_scrolltotop {
  -moz-border-radius: 3px 0px 0px 3px;
  -webkit-border-radius: 3px 0px 0px 3px;
  border-radius: 3px 0px 0px 3px;
}

.btn.btn-primary,
.s5_scrolltotop,
#s5_loading_inner,
#s5_socialicons,
.social_icon,
#s5_socialicons_active,
.s5_tab_show_slide_button_inactive,
.s5_tab_show_slide_button_active,
.s5_masoncat,
.s5_masonry_articles li a,
.btn-group>.btn:first-child,
a.readon {
  -moz-border-radius: 100px !important;
  -webkit-border-radius: 100px !important;
  border-radius: 100px !important;
}

#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 {
  -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_rightmenu:hover,
#s5_rightmenudrop {
  -webkit-transition: all 300ms linear 0s;
  -moz-transition: all 300ms linear 0s;
  -o-transition: all 300ms linear 0s;
  transition: all 300ms linear 0s;
}

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


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

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

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

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

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

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


/* 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 {
  font-size: 14px;
  padding: 3px;
  padding-left: 22px;
  padding-top: 4px;
  font-weight: 500;
  padding-right: 22px;
  -webkit-transition: all 200ms ease-out;
  -moz-transition: all 200ms ease-out;
  -o-transition: all 200ms ease-out;
  transition: all 200ms ease-out;
}

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

.pagenavigation .btn{
  color: #fff !important;
}

.pagenavigation .btn:hover {
  background: #494949;
}

.pagenavigation a.next{
  float: right;
}

.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: 70px;
  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: 4px !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
  margin-left: 4px;
  margin-right: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #000000;
  display: inline-block;
  margin-bottom: 8px;
}

.pagination .pagination span {
  background: #FFFFFF;
}

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

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


/* 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: 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: 0.95em;
  margin-right: 14px;
}

.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: 0px;
  margin-bottom: 6px;
  display: block;
  line-height: 15px;
  color: #6a6a6a;
  font-size: 14px;
  font-weight: 400;
}

.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;
  font-weight: 500;
}

.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_highlight_box {
  background: #F9F8F8;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}


/* 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 {
  padding: 0px;
  border: none;
  background: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}


/* 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: 12px;
  padding-bottom: 12px;
  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;
  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: 0px
}

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

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

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

#searchForm button {
  margin-bottom: 0px !important;
  margin-top: 0px !important;
  padding-top: 10px;
  padding-bottom: 11px;
}

.btn-group + .btn-group {
  margin: 0px;
}

#searchForm fieldset input,
#searchForm fieldset label {
  margin-right: 10px;
}

.icon-search {
  margin-right: 10px;
}


/* 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
}

.services_wrap_inner h3 {
  font-size: 18px;
}


/* 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
}

.ac-container,
.ac-container2 {
  margin-left: 2px;
}

.ac-container input:checked + label:hover {
  color: #FFFFFF;
}


/* 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
  }
}


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

.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 {
  background: #fff;
}

.well {
  background: none;
  border: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  -moz-box-shadow: none !important;
}

label {
  color: #000;
}

.btn-group.radio input[type=radio] {
  min-height: 16px !important;
}


/* IMAGE AND CONTENT FADER
----------------------------------------------------------- */

.withArrows a.open {
  width: 100% !important;
  left: 0 !important;
}

.slideInfoZone {
  bottom: auto !important;
  height: auto !important;
  padding: 0px !important;
  width: auto !important;
}

.slideInfoZone br {
  clear: both !important;
  display: block;
}

.jdGallery .slideInfoZone {
  padding-top: 0px !important;
  overflow: visible !important;
  top: 50% !important;
}

.jdGallery .slideInfoZone h2 {
  font-size: 6em !important;
  padding: 0px !important;
  text-shadow: none !important;
  font-weight: 800 !important;
  line-height: 86px;
  margin-left: 0px !important;
  display: block;
}

.jdGallery .slideInfoZone h2 a:hover {
  color: #FFFFFF !important;
}

.jdGallery .slideInfoZone p {
  line-height: 70px;
  margin: 0px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  text-shadow: none !important;
}

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

.jdGallery a.readon {
  margin-top: 20px;
  padding-bottom: 12px;
  padding-top: 12px;
  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: 36px !important;
  height: 36px !important;
  float: left !important;
  padding: 0px !important;
  top: 16px !important;
  top: 48% !important;
  z-index: 3 !important;
}

.jdGallery a.right {
  background: transparent url(../images/iacfarrows.png) no-repeat right -73px !important;
  color: #000;
  left: auto !important;
  right: 2% !important;
}

.jdGallery a.left {
  background: transparent url(../images/iacfarrows.png) no-repeat 0px 6px !important;
  color: #000;
  right: auto !important;
  left: 2% !important;
}

.jdGallery a.left:hover {
  background: url(../images/iacfarrows.png) no-repeat 0px 6px;
}

.jdGallery a.right:hover {
  background: url(../images/iacfarrows.png) no-repeat right -73px;
}

.iacf_prev {
  padding-left: 25px;
}

.iacf_next {
  position: relative;
  right: 26px;
}

.jdGallery .loadingElement {
  background-image: none !important;
}

.jdGallery a.carouselBtn,
.jdGallery .carousel .label,
.jdExtCarousel .label {
  display: none !important;
}

.jdGallery div.carouselContainer {
  height: 16px !important;
  top: auto !important;
  bottom: 30px !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;
  -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 {
  background: #fff !important;
}

.jdGallery a.open {
  display: inline !important;
}

.jdGallery .carousel .carouselInner .active.thumbnail {
  height: 9px !important;
  width: 9px !important;
}

.carouselContainer .carousel .active {
  left: auto !important;
}

.slideInfoZone {
  float: left !important;
  -moz-opacity: 0 !important;
  -khtml-opacity: 0 !important;
  filter: alpha(opacity=0) !important;
  opacity: 0 !important;
  -webkit-transition: all 400ms ease-out;
  -moz-transition: all 400ms ease-out;
  -o-transition: all 400ms ease-out;
  transition: all 400ms ease-out;
  transform: scale(0.9);
  -webkit-transform: scale(0.9) translate(0px, -50%);
  -moz-transform: scale(0.9) translate(0px, -50%);
  -ms-transform: scale(0.9) translate(0px, -50%);
  -o-transform: scale(0.9) translate(0px, -50%);
}

.slideInfoZone_load.slideInfoZone {
  margin: 0px !important;
  -moz-opacity: 1 !important;
  -khtml-opacity: 1 !important;
  filter: alpha(opacity=100) !important;
  opacity: 1 !important;
  -webkit-transform: scale(1) translate(0px, -50%);
  -moz-transform: scale(1) translate(0px, -50%);
  -ms-transform: scale(1) translate(0px, -50%);
  -o-transform: scale(1) translate(0px, -50%);
}

.jdGallery .slideInfoZone h2 {
  text-shadow: none !important;
}

.jdGallery .slideInfoZone h2,
.jdGallery .slideInfoZone p {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  clear: both;
  width: 50%;
}

.jdGallery .slideInfoZone p {
  font-size: 1.5em;
  letter-spacing: 3px;
}

.jdGallery .slideInfoZone {
  color: #fff !important;
  background: none !important;
  left: 0 !important;
  line-height: 52px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 30px !important;
  right: 0 !important;
}

.jdGallery .slideInfoZone p {
  font-weight: 300;
}

.iacf_title,
.iacf_big_title,
.iacf_subtext {
  display: block;
}


/* custom */

.iacf_title {
  -moz-opacity: .7 !important;
  -khtml-opacity: .7 !important;
  filter: alpha(opacity=70) !important;
  opacity: .7 !important;
  font-size: 1.8em;
  font-weight: 300;
  letter-spacing: 6px;
  margin-bottom: 19px;
}

.iacf_big_title {
  font-size: 3.4em;
  font-weight: 700;
  background: url(../images/iacf_line.png) no-repeat 4px bottom;
  padding-bottom: 40px;
  margin-bottom: 21px;
}

.iacf_subtext {
  width: 50%;
  margin-bottom: 20px;
}

.jdGallery .slideInfoZone a.readon {
  color: #000 !important;
  display: inline;
  font-weight: 600;
  font-size: 13px !important;
  background: #fff;
}

.jdGallery .slideInfoZone a.readon:hover {
  color: #fff !important;
}

.jdGallery .slideInfoZone a.readon.videoicon {
  margin-left: -13px;
  border-color: transparent !important;
}

.jdGallery .slideInfoZone a.readon.videoicon:hover {
  border-color: transparent !important;
  background-color: transparent !important;
}

.jdGallery .slideInfoZone a.readon.videoicon .sized {
  background-color: #ccc;
  display: inline-block;
  height: 40px;
  margin-left: 16px;
  line-height: 41px;
  text-align: center;
  width: 40px;
}

.jdGallery .slideInfoZone a.readon.videoicon:hover .sized {
  background-color: #676969 !important;
}

.s5_white {
  color: #fff !important;
}

#myGallery.jdGallery a.left {
  left: 15px !important;
}

#myGallery.jdGallery a.right {
  right: 15px !important;
}

.iacf_prev,
.iacf_next {
  color: #fff;
  font-weight: 400;
}

.jdGallery a.right {
  -ms-transform: rotate(90deg);
  /* IE 9 */
  -webkit-transform: rotate(90deg);
  /* Chrome, Safari, Opera */
  transform: rotate(90deg);
}

.jdGallery a.left {
  -ms-transform: rotate(-90deg);
  /* IE 9 */
  -webkit-transform: rotate(-90deg);
  /* Chrome, Safari, Opera */
  transform: rotate(-90deg);
}

.withArrows a.open {
  padding-bottom: 10px;
  -moz-opacity: 0.3 !important;
  -khtml-opacity: 0.3 !important;
  opacity: 0.3 !important;
  background: #000 !important;
}


/* 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.icon-chevron-left,
li.next span.icon-chevron-right {
  display: none;
}

.pages_padding .s5_is_css_wrap_7 a.darkcolor,
.pages_padding .s5_is_css_wrap_7 a:hover {
  color: #fff !important;
}

.pages_padding .s5_is_css_wrap_7 a {
  color: #fff !important;
}

.item-image {
  margin-bottom: 20px;
}

.controls .btn {
  padding: 7px 22px !important;
}

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


/* Social Icons
----------------------------------------------------------- */

#s5_socialicons {
  position: fixed;
  bottom: 30px;
  cursor: pointer;
  right: 20px;
  width: 42px;
  height: 42px;
  background: #000;
}

#s5_socialicons span {
  display: block;
  color: #fff;
  margin-left: -2px;
  margin-top: 7px;
  text-align: center;
  font-size: 1.3em;
}

.s5_scrolltotop,
#s5_socialicons {
  -webkit-box-shadow: 0 0 11px 3px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 11px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 11px 3px rgba(0, 0, 0, 0.1);
}

#s5_socialicons:hover #s5_socialicons_active,
#s5_socialicons_active:hover {
  display: block;
}

#s5_socialicons_active {
  background: #fff none repeat scroll 0 0;
  bottom: -1px;
  left: 0px;
  display: none;
  border: 1px solid #fff;
  padding-top: 7px;
  position: absolute;
  width: 42px;
}


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

#s5_search_pos_wrap .module_round_box .s5_h3_first {
  color: #ffffff;
}

#s5_search_overlay {
  background: #ffffff;
  background: rgba(0, 0, 0, 0.6);
  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: 0.95em;
  height: 61px;
  border: 1px solid #ffffff !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% 48px !important;
}

#s5_search_overlay input:focus {
  background: #ffffff !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: #ffffff;
  cursor: pointer;
  font-size: 2em;
  margin-right: 25px;
  margin-top: 25px;
  position: absolute;
  right: 0;
}

.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_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;
  position: absolute;
}

#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;
  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: 17px !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;
  height: 300px !important;
  overflow-x: hidden;
  overflow-y: scroll;
  border: none !important;
  padding-right: 0px;
  background: #eeeeee;
  right: 0;
}

.s5_ls_result_link {
  color: #000000 !important;
}

#s5_ls_outer_wrap .s5_ls_readmore {
}

#s5_ls_outer_wrap div:hover {
  background: #f7f5f5 !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 {
  color: #ccc;
  background: #2e2e2e;
}

#s5_search_wrap {
  cursor: pointer;
  display: block;
  float: right;
  font-size: 1.2em;
  height: 12px;
  line-height: 16px;
  margin-left: 29px;
  margin-right: 23px;
  margin-top: 5px;
}


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

body #colorbox {
  position: fixed !important;
  top: 150px !important;
}

#cboxOverlay {
  background: rgba(0, 0, 0, 0.3);
}

#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 .module_round_box_outer h3,
#cboxContent .module_round_box_outer .s5_h3_first {
  font-weight: 700;
  color: #000 !important;
}

#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 0px 17px 4px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0px 17px 4px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0px 17px 4px rgba(0, 0, 0, 0.1);
}

#form-login-username,
#form-login-password,
#form-login-remember {
  font-size: 1.1em;
  float: none;
  margin-bottom: 10px;
}

#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;
}

#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 21px !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.4em;
  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;
  font-size: 1.4em;
  padding-bottom: 19px;
}

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

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

#cboxLoadedContent .module_round_box {
  padding: 20px 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%;
}

#login-form #modlgn-remember {
  margin-right: 10px;
  position: relative;
  margin-top: 13px;
  min-height: 0;
}

#login-form .control-label {
  position: relative;
  top: 3px;
}


/* Masonry
------------------------------------*/

#s5_mason_load_more,
.s5_mason_load_more {
  color: #fff !important;
}


/* Tab Show
------------------------------------*/

.s5_tab_show_slide_button_active {
  background: #fff;
  color: #000;
}

.s5_tab_show_slide_button_inactive {
  background: none;
}

.s5_tab_show_outer_wrap {
  margin-top: 55px;
}

.s5_tab_show_slide_button_inactive,
.s5_tab_show_slide_button_active {
  font-weight: 600;
}

.s5_tab_show_slide_button_inactive,
.s5_tab_show_slide_button_active {
  padding: 4px;
  line-height: 22px;
  padding-left: 21px;
  padding-right: 21px;
}

.s5_tab_show_slides_container_wrap_outer {
  margin-top: 51px;
}


/* Mail Chimp
------------------------------------*/

.inputbox.mailchimp_signup {
  color: #7a7a7a !important;
  background: #fff;
  width: 70%;
}

.button.mailchimp_signup {
  color: #fff !important;
  margin-left: -147px;
  margin-top: -8px;
  margin-right: 37px;
}

#response {
  background: #fff none repeat scroll 0 0;
  -webkit-box-shadow: 0 0px 17px 4px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0px 17px 4px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0px 17px 4px rgba(0, 0, 0, 0.1);
  color: #f30;
  display: table;
  font-size: inherit;
  font-style: italic;
  margin: -98px 212px 12px;
  padding: 0.8em 1.5em;
  position: absolute;
}


/* Masonry
------------------------------------*/

#s5_masondisplay_container {
  margin-left: 6px;
}

ul.s5_masonry_articles {
  float: right;
  left: auto;
}

ul.s5_masonry_articles li {
  right: auto;
}

#s5_masonry_navwrap {
  margin-right: 31px;
  margin-top: -108px;
}

.s5_masonwrapinner {
  margin-right: 30px;
  margin-left: -8px;
}

.s5masonmod_form {
  padding-bottom: 0px;
}

.s5_masoncat {
  font-weight: 600;
  font-size: 14px;
  padding-top: 3px;
  line-height: 24px;
  padding-left: 20px !important;
  padding-right: 20px !important;
  background: #fff !important;
  color: #000 !important;
}

.s5_masonry_overlay .item .s5_mason_it_wrap {
  display: block;
}

.s5_masonry_overlay .item .s5_masonry_articletitle {
  margin-top: 325px;
}

.s5_mason_it_wrap {
  margin-top: 36px;
  line-height: 21px;
  overflow: hidden;
  height: 103px;
}


/* Masonry Overlay*/

.s5_masonry_overlay .s5_masoncat {
  margin: 0 0 0 11%;
}

.s5_masonry_overlay .s5_mason_abi_wrap_inner {
  padding: 11%;
}

.s5_masonry_overlay .s5_masondate {
  background: transparent;
  left: 9%;
  top: auto !important;
  position: absolute;
  bottom: 51% !important;
}

.s5_mason_loadbutton {
  margin-top: 10px;
}

.s5_masonry_articles li a {
  padding: 7px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  font-weight: 600 !important;
  color: #000 !important;
}

.s5_masonry_articles li.s5_masonry_active a,
.s5_masonry_articles li a:hover {
  text-decoration: none;
  background: #000 !important;
  color: #fff !important;
}

.s5_masonry_articles li {
  margin: 0px;
}

#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_masondisplay_container .item {
  float: left;
}

#s5_masonry_form_outer_wrap {
  margin-left: -6px;
}

.addresstime_left,
.addresstime_right {
  width: 50%;
}

.addresstime_left h4,
.addresstime_right h4 {
  margin-bottom: 15px;
}

.addresstime_left span,
.addresstime_right span {
  font-size: 14px;
}

.addresstime_left {
  float: left;
}

.addresstime_right {
  float: right;
}

.s5_masonry_articletitle {
  font-size: 1.4em;
}


/* Masonry Hover*/

.s5_masonry_hover .s5_masoncat {
  position: static;
  display: inline-block;
  margin: 0 0 20px;
}


/* Right Menu
------------------------------------*/

.s5_wrap_fmfullwidth #s5_rightmenudrop {
  top: 76px;
}

#s5_rightmenudrop {
  -webkit-box-shadow: 0 48px 54px 20px rgba(0, 0, 0, 0.1);
  box-shadow: 0 48px 54px 20px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 48px 54px 20px rgba(0, 0, 0, 0.1);
  background: #fff;
  color: #000;
  position: absolute;
  top: 106px;
  z-index: 1;
  width: 340px;
  opacity: 0;
  line-height: 20px;
  font-weight: 400;
  font-size: 15px;
}

#s5_rightmenudrop_in {
  padding: 45px;
  padding-left: 25px;
  padding-right: 25px;
  padding-bottom: 0px
}

#s5_rightmenudrop_in .module_round_box {
  padding-bottom: 22px;
  margin-bottom: 22px;
}

.s5_menu_active {
  height: auto;
  right: 0 !important;
  opacity: 1 !important;
}

.s5_menu_notactive {
  height: 0px;
  right: -350px !important;
  opacity: 0;
}

#s5_rightmenudrop_in li a {
  font-weight: 700;
  color: #000;
  padding-bottom: 11px;
  font-size: 15px;
}

.s5menuicon_left {
  font-weight: 500;
  float: left;
}

.s5menusubtext {
  display: block;
  font-size: 12px;
  font-weight: 300;
  color: #606060;
}

.s5menuicon_right {
  float: right;
}

.s5menuicon_right i {
  font-size: 39px;
}


/* Media Player
---------------------*/

.mejs-container {
  overflow: hidden;
}

.s5_media_player_download {
  padding-bottom: 7px;
  padding-top: 7px;
}


/* MailTo n' Print
---------------------*/
#mailto-window input[type="text"],
#mailto-window input[type="email"] {
	background: rgba( 0, 0, 0, 0.1);
}

@media (max-width: 480px) {
	#mailto-window .form-horizontal .control-label,
	#mailto-window #consentbox label,
	#mailto-window #consentbox-lbl {
	  float: unset;
	  text-align: left;
	}
}


div#s5_rightmenu {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

div#s5_rightmenu i {
  margin-bottom: 0;
}

div#s5_rightmenu .s5_menutext {
  line-height: 1;
}

.social_icons .social_icon {
  align-items: center;
  display: flex;
  justify-content: center;
}

/* 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 !important;
    width: 38px;
    padding: 6px 12px !important;
}

#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 !important;
}

#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;
  }
}

@media screen and (min-width: 785px) {
  #com-content-form > button,
  #com-contact-form > button {
    display: none;
  }  
}


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

/* Breadcrumb */
.breadcrumb .breadcrumb-item:not(:last-child):after {
  display: inline;
  content: '/';
  margin: 0 8px;
}

.pagenavigation {
  margin-top: 24px;
}


/* Fix bug Set Column  */

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

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

.blog-items.items-leading {
  margin-bottom: 48px !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 .item-content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}

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

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

.blog .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;
}

/* S5 Box Login Compatible J4 */
.mod-login .input-group label,
.mod-login .input-group .input-group-text {
  display: none !important;
}

.mod-login__userdata.userdata .form-control {
  width: 100%;
  border: 1px solid #ccc;
  margin-bottom: 22px;
}

.mod-login .input-password-toggle {
  margin: 0 0 18px 0 !important;
}

.mod-login .mod-login__remember .form-check-label {
  align-items: center;
  display: flex;
}

.mod-login .mod-login__remember input{
  min-height: unset;
  margin: 0 8px 0 0;
}

/* 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;
  gap: 12px;
  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 br {
  display: none;
}

.finder .com-finder__advanced .filter-date {
  width: 100% !important;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

.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;

}

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

.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 {
  background-color: #303030;
  border-radius: 3px;
  color: #fff;
  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 {
  margin-top: 16px;
}

@media screen and (max-width: 575px) {
  #s5_topbar,
  #s5_topbar_back {
    height: 100px;
  }

  #s5_topbar_inner {
    padding-left: 20px;
  }

  #s5_search_wrap {
    margin: 5px 0;
    height: auto;
  }

  #s5_search_wrap input {
    max-width: 200px;
  }

  #s5_language_wrap {
    float: left;
  }

  #s5_language_wrap .s5_languageflags {
    margin: 0;
  }

  #s5_language_wrap .s5_languageflags,
  #s5_language_wrap .s5_languageflags li:last-child {
    margin: 0;
  }
}


