@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700');

/* FROM ELEMENTS
----------------------------------------- */
.btn-group.radio label,
.btn-group-yesno.radio label {
  margin: 0;
}

.btn-group.radio label:first-of-type,
.btn-group-yesno.radio label:first-of-type {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  margin: 0;
}

.btn-group.radio label:last-of-type,
.btn-group-yesno.radio label:last-of-type {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  margin: 0;
}

/* Input append */
span.input-append {
  display: flex;
  align-items: stretch;
}

span.input-append input[type="text"] {
  border: 1px solid #ddd;
  border-right: 0;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  height: auto;
  line-height: 1;
}

.profile-edit {
  max-width: 650px;
  margin: 0 auto;
  font-family: Barlow;
}

.profile-edit #member-profile legend {
  font-size: 28px;
  text-transform: none;
  position: static;
  margin-bottom: 16px;
}

@media (max-width: 992px){
  .profile-edit #member-profile legend {
    font-size: 25px;
  }
}

.profile-edit #member-profile .control-label {
  min-width: 250px;
  padding-right: 16px;
}

.profile-edit #member-profile label {
  margin-bottom: 0;
}

.profile-edit #member-profile .col-sm-9 {
  width: 100%;
}

.profile-edit #member-profile fieldset {
  margin-bottom: 16px;
  margin-top: 0;
  padding: 0;
  min-width: 0;
}

.profile-edit #member-profile fieldset:before {
  display: none;
}

.profile-edit input.form-control {
  background: transparent;
  border-radius: 0;
  border: 1px solid #eee;
  color: #616161;
  display: block;
  font-size: 14px;
  font-weight: 400;
  height: 56px;
  line-height: 1.714;
  max-width: 100%;
  padding: 1.02rem 1.28rem;
  width: 100%;
}

.profile-edit #member-profile .chzn-container > a.chzn-single {
  border-radius: 0;
  box-shadow: none;
  border-color: #eee;
  height: 56px;
  line-height: 55px;
  background: transparent;
  font-size: 15px;
  padding-left: 16px;
}

.profile-edit #member-profile .chzn-container > a.chzn-single > div {
  top: 15px;
}

.profile-edit #member-profile label {
}

.profile-edit #member-profile input {
  width: auto;
}

.profile-edit #member-profile #jform_privacyconsent_privacy {
  display: flex;
  align-items: center;
}


.profile-edit .btn-group-yesno {
  border-radius: 0;
}

.profile-edit .btn-group-yesno .btn {
  border-radius: 0;
}

.profile-edit .com-users-profile__edit-submit {
  margin: 0 !important;
}

.profile-edit .com-users-profile__edit-submit .btn{
  border: none;
  border-radius: 0;
  color: #fff;
  padding: 8px 32px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  height: 56px;
  letter-spacing: 0.02rem;
}

.profile-edit .com-users-profile__edit-submit .btn:hover{
  opacity: 0.85;
}

.profile-edit .com-users-profile__edit-submit .btn-primary {
  background: #DB3334;

}

.profile-edit .com-users-profile__edit-submit .btn-danger{
  background: #EEE;
  line-height: 40px;
  color: #616161;
  margin-left: 8px;
}

/* User Info */
.profile-edit .input-append .add-on,
.profile-edit .input-append input,
.profile-edit .input-append .btn,
.field-calendar .btn {
  height: 56px;
}

.profile-edit .input-append .btn,
.profile-edit .input-append .add-on {
  line-height: 56px;
  padding-top: 0;
  padding-bottom: 0;
}

.profile-edit .input-append span.icon-remove {
  vertical-align: middle;
}

.profile-edit textarea {
  font-size: 14px;
}

.profile-edit .input-group {
  display: flex;
}

.field-calendar .form-control {
  height: 56px;
}

.row.socialinfo {
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .row.socialinfo {
    overflow: auto;
  }
}

.row.socialinfo > div {
  flex: 0 0 100%;
  max-width: 100%;
}

.custom-select {
  padding-top: calc(var(--global-spacing) * 1.5);
  padding-bottom: calc(var(--global-spacing) * 1.5);
  height: auto;
}

input.form-control,
textarea.form-control {
  border: 1px solid #b8c9e0;
  border-radius: 5px;
  height: auto;
  padding: var(--global-spacing) calc(var(--global-spacing) * 2);
}

input.form-control:focus,
textarea.form-control:focus {
  border-color: #39f;
}

/* Calendar field */
.field-calendar input.form-control {
  border: 1px solid var(--border-color);
  height: auto;
  line-height: 1;
  padding: calc(var(--global-spacing) * 1.5) calc(var(--global-spacing) * 2);
}

.field-calendar .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  height: auto;
  padding: calc(var(--global-spacing) * 1.5) calc(var(--global-spacing) * 2);
}

.field-calendar .btn span {
  margin-right: 0;
}

.js-calendar .buttons-wrapper {
  display: flex;
  padding: var(--global-spacing);
}

.js-calendar .buttons-wrapper .js-btn {
  margin: 0 !important;
  padding: calc(var(--global-spacing) * 1.5) var(--global-spacing);
  line-height: 1;
}

#modules-form .badge.bg-secondary {
  border-radius: 5px;
  color: #fff;
}

/* Accodion */
#modules-form .accordion {
  border: 1px solid var(--border-color);
  border-radius: 5px;
}

#modules-form .accordion .accordion-header {
  margin: 0;
}

#modules-form .accordion .accordion-button {
  background: var(--gray-100);
  border: 0;
  border-top: 1px solid var(--border-color);
  display: block;
  font-weight: 600;
  padding: calc(var(--global-spacing) * 1.5) calc(var(--global-spacing) * 2);
  text-align: left;
  text-transform: uppercase;
  width: 100%;
}

#modules-form .accordion .accordion-item:first-of-type .accordion-button {
  border-top: 0;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#modules-form .accordion .accordion-item:last-of-type .accordion-button {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

#modules-form .accordion .accordion-body {
  border-top: 1px solid var(--border-color);
  padding: calc(var(--global-spacing) * 1.5) calc(var(--global-spacing) * 2);
}

#modules-form .accordion .accordion-item:first-of-type .accordion-body {
  border-top: 0;
  border-bottom: 1px solid var(--border-color);
}

/* Improve style for Joomla 3 */
#modules-form .accordion .card {
  border: 0;
  margin-bottom: 0;
  overflow: visible;
}

#modules-form .accordion .card .card-header {
  padding: 0;
}

#modules-form .accordion .card .card-body {
  background-color: #fff;
}

/* Icon compatible */
[class^="icon-"]::before, [class*=" icon-"]::before {
  font-family: Fontawesome;
}

.icon-ok::before        { content: "\f00c"; }
.icon-cancel::before    { content: "\f00d"; }
.icon-apply::before     { content: "\f00c"; }
.icon-save::before      { content: "\f0c7"; }
.icon-calendar::before  { content: "\f073"; }

.t4-edit-layout .t4-footer .container {
  padding-top: 0;
  padding-bottom: 0;
}

.t4-edit-layout .t4-footer p {
  margin-bottom: 0;
}

.t4-edit-layout #options .accordion-header {
  font-size: 14px;
}

/* Edit article */
joomla-tab-element#editor .controls {
  margin-left: 0;
}