/** @section Forms */
.rd-form {
    position: relative;
    text-align: left;
}

.rd-form .button:not(.button-link) {
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 60px;
}

.rd-form .row {
    margin-left: -6px;
    margin-right: -6px;
}

.rd-form .row>[class*="col"] {
    padding-left: 6px;
    padding-right: 6px;
}

*+.rd-form {
    margin-top: 22px;
}

.content-wrapper-2 *+.rd-form {
    margin-top: 25px;
}

@media (min-width: 1200px) {
    p+.rd-form {
        margin-top: 38px;
    }

    .content-wrapper-2 *+.rd-form {
        margin-top: 44px;
    }
}

input:-webkit-autofill~label,
input:-webkit-autofill~.form-validation {
    color: #000000 !important;
}

.form-wrap {
    position: relative;
}

.form-wrap.has-error .form-input {
    border-color: #f5543f;
}

.form-wrap.has-focus .form-input {
    border-color: #516ca9;
}

.form-wrap+* {
    margin-top: 10px;
}

.form-wrap+.button-link-wrap {
    margin-top: 15px;
}

@media (min-width: 1200px) {
    .form-wrap+.button-link-wrap {
        margin-top: 20px;
    }
}

.bg-primary .form-wrap.has-error .form-input {
    border-color: #ffffff;
}

.form-input {
    display: block;
    width: 100%;
    min-height: 60px;
    padding: 14px 35px;
    font-size: 18px;
    font-weight: 400;
    line-height: 31px;
    color: #989da7;
    background-color: #fafbfc;
    background-image: none;
    border-radius: 40px;
    -webkit-appearance: none;
    transition: .3s ease-in-out;
    border: 1px solid #fafbfc;
}

.form-input:focus {
    outline: 0;
}

.bg-primary .form-input {
    color: #ffffff;
    background-color: #4461a3;
    border-color: #4461a3;
}

textarea.form-input {
    height: 333px;
    min-height: 60px;
    max-height: 566px;
    border-radius: 10px;
    resize: vertical;
}

.recaptcha div {
    display: block;
    transform-origin: 0 0;
}

.recaptcha iframe {
    display: block;
}

.form-label,
.form-label-outside {
    margin-bottom: 0;
    color: #989da7;
    font-weight: 400;
}

.form-label {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    padding-left: 35px;
    padding-right: 35px;
    font-size: 18px;
    font-weight: 400;
    line-height: 31px;
    pointer-events: none;
    text-align: left;
    z-index: 1;
    transition: .25s;
    transform: translateY(-50%);
}

.form-label.focus {
    opacity: 0;
}

.form-label.auto-fill {
    color: #989da7;
}

.form-label-outside {
    width: 100%;
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .form-label-outside {
        position: static;
    }

    .form-label-outside,
    .form-label-outside.focus,
    .form-label-outside.auto-fill {
        transform: none;
    }
}

[data-x-mode='true'] .form-label {
    pointer-events: auto;
}

.bg-primary .form-label {
    color: #ffffff;
}

.form-validation {
    position: absolute;
    right: 18px;
    top: 0;
    z-index: 1;
    margin-top: 2px;
    font-size: 9px;
    font-weight: 400;
    line-height: 12px;
    letter-spacing: 0;
    color: #f5543f;
    transition: .3s;
}

.form-validation-left .form-validation {
    top: 100%;
    right: auto;
    left: 0;
}

.form-validation-captcha .form-validation {
    top: auto;
    bottom: 3px;
    right: auto;
    left: 4px;
}

.bg-primary .form-validation {
    color: #ffffff;
}

#form-output-global {
    position: fixed;
    bottom: 30px;
    left: 15px;
    z-index: 2000;
    visibility: hidden;
    transform: translate3d(-500px, 0, 0);
    transition: .3s all ease;
}

#form-output-global.active {
    visibility: visible;
    transform: translate3d(0, 0, 0);
}

@media (min-width: 576px) {
    #form-output-global {
        left: 30px;
    }
}

.form-output {
    position: absolute;
    top: 100%;
    left: 0;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.2;
    margin-top: 2px;
    transition: .3s;
    opacity: 0;
    visibility: hidden;
}

.form-output.active {
    opacity: 1;
    visibility: visible;
}

.form-output.error {
    color: #f5543f;
}

.form-output.success {
    color: #98bf44;
}

.radio .radio-custom,
.radio-inline .radio-custom,
.checkbox .checkbox-custom,
.checkbox-inline .checkbox-custom {
    opacity: 0;
}

.radio .radio-custom,
.radio .radio-custom-dummy,
.radio-inline .radio-custom,
.radio-inline .radio-custom-dummy,
.checkbox .checkbox-custom,
.checkbox .checkbox-custom-dummy,
.checkbox-inline .checkbox-custom,
.checkbox-inline .checkbox-custom-dummy {
    position: absolute;
    left: 0;
    width: 14px;
    height: 14px;
    outline: none;
    cursor: pointer;
}

.radio .radio-custom-dummy,
.radio-inline .radio-custom-dummy,
.checkbox .checkbox-custom-dummy,
.checkbox-inline .checkbox-custom-dummy {
    pointer-events: none;
    background: #ffffff;
}

.radio .radio-custom-dummy::after,
.radio-inline .radio-custom-dummy::after,
.checkbox .checkbox-custom-dummy::after,
.checkbox-inline .checkbox-custom-dummy::after {
    position: absolute;
    opacity: 0;
    transition: .22s;
}

.radio .radio-custom:focus,
.radio-inline .radio-custom:focus,
.checkbox .checkbox-custom:focus,
.checkbox-inline .checkbox-custom:focus {
    outline: none;
}

.radio input,
.radio-inline input,
.checkbox input,
.checkbox-inline input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.radio-custom:checked+.radio-custom-dummy:after,
.checkbox-custom:checked+.checkbox-custom-dummy:after {
    opacity: 1;
}

.radio,
.radio-inline {
    padding-left: 28px;
}

.radio .radio-custom-dummy,
.radio-inline .radio-custom-dummy {
    top: 1px;
    left: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #adb8c0;
}

.radio .radio-custom-dummy::after,
.radio-inline .radio-custom-dummy::after {
    content: '';
    top: 3px;
    right: 3px;
    bottom: 3px;
    left: 3px;
    background: #48545c;
    border-radius: inherit;
}

.checkbox,
.checkbox-inline {
    padding-left: 28px;
}

.checkbox .checkbox-custom-dummy,
.checkbox-inline .checkbox-custom-dummy {
    left: 0;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1px solid #adb8c0;
}

.checkbox .checkbox-custom-dummy::after,
.checkbox-inline .checkbox-custom-dummy::after {
    content: '\f222';
    font-family: "Material Design Icons";
    position: absolute;
    top: -1px;
    left: -2px;
    font-size: 20px;
    line-height: 18px;
    color: #cbd2da;
}

.toggle-custom {
    padding-left: 60px;
    -webkit-appearance: none;
}

.toggle-custom:checked~.checkbox-custom-dummy::after {
    background: #516ca9;
    transform: translate(20px, -50%);
}

.toggle-custom~.checkbox-custom-dummy {
    position: relative;
    display: inline-block;
    margin-top: -1px;
    width: 44px;
    height: 20px;
    background: #fafbfc;
    cursor: pointer;
}

.toggle-custom~.checkbox-custom-dummy::after {
    content: '';
    position: absolute;
    display: inline-block;
    width: 16px;
    height: 16px;
    left: 0;
    top: 50%;
    background: #adb8c0;
    transform: translate(4px, -50%);
    opacity: 1;
    transition: .22s;
}

.rd-form-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    text-align: center;
    margin-bottom: -8px;
    margin-left: -8px;
}

.rd-form-inline:empty {
    margin-bottom: 0;
    margin-left: 0;
}

.rd-form-inline>* {
    display: inline-block;
    margin-top: 0;
    margin-bottom: 8px;
    margin-left: 8px;
}

.rd-form-inline>* {
    margin-top: 0;
}

.rd-form-inline .form-wrap {
    flex-grow: 1;
    min-width: 185px;
}

.rd-form-inline .form-wrap-select {
    text-align: left;
}

.rd-form-inline .form-button {
    margin-top: 0;
    flex-shrink: 0;
    max-width: calc(100% - 10px);
    min-height: 60px;
}

.rd-form-inline .form-button .button {
    min-height: inherit;
}

@media (min-width: 576px) {
    .rd-form-inline .button {
        display: block;
    }
}

*+.rd-form-inline {
    margin-top: 30px;
}

@media (min-width: 1200px) {
    *+.rd-form-inline {
        margin-top: 41px;
    }
}

.rd-form-inline-secondary {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    text-align: center;
}

.rd-form-inline-secondary>* {
    margin-top: 0;
}

.rd-form-inline-secondary .form-wrap {
    flex-grow: 1;
    min-width: 185px;
}

.rd-form-inline-secondary .form-wrap-select {
    text-align: left;
}

.rd-form-inline-secondary .form-button {
    margin-top: 10px;
    flex-shrink: 0;
    max-width: 100%;
    min-height: 60px;
}

.rd-form-inline-secondary .form-button .button {
    min-height: inherit;
}

@media (min-width: 576px) {
    .rd-form-inline-secondary {
        flex-direction: row;
    }

    .rd-form-inline-secondary .form-input {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .rd-form-inline-secondary .button {
        display: block;
        min-width: 0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .rd-form-inline-secondary .form-button {
        margin-top: 0;
    }
}

@media (min-width: 768px) {
    .rd-form-inline-secondary .button {
        min-width: 145px;
    }
}

.rd-form-inline-secondary.rd-form-inline-centered {
    justify-content: center;
}

.rd-form-search .form-wrap {
    position: relative;
}

.rd-form-search .form-input {
    padding-right: 45px;
}

.rd-form-search .form-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    font-size: 18px;
    color: #516ca9;
    background: transparent;
    border: none;
    transform: translateY(-50%);
    cursor: pointer;
    transition: .3s;
}

.rd-form-search .form-icon:hover {
    color: #48545c;
}

.rd-form-search button {
    padding: 0 8px;
}

*+.rd-form-search {
    margin-top: 10px;
}

.custom-form-wrap {
    display: flex;
}

.custom-form-wrap .heading-5 {
    margin-top: 10px;
    margin-right: 18px;
}

.custom-form-wrap .rd-form {
    flex-grow: 1;
}

.custom-form-wrap *+.rd-form {
    margin-top: 0;
}

.custom-form-wrap *+.button {
    margin-top: 10px;
}

*+.custom-form-wrap {
    margin-top: 10px;
}

/** @section Posts */
.tag {
    min-width: 95px;
    padding: 6px 20px;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    background-color: #516ca9;
    border-radius: 40px;
}

.tag:hover,
.tag:focus {
    color: #ffffff;
    background-color: #31404a;
}

.post-classic {
    box-shadow: 7px 7px 13px 0 rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.post-classic-header {
    padding: 20px 15px;
}

.post-classic-footer {
    padding: 20px 15px 30px;
}

.post-classic .content {
    padding-right: 0.8em;
}

*+.post-classic-title {
    margin-top: 5px;
}

.post-classic *+.group-xs {
    margin-top: 15px;
}

@media (min-width: 1600px) {
    .post-classic {
        box-shadow: 19px 19px 51px 0 rgba(0, 0, 0, 0.08);
    }

    .post-classic-header {
        padding: 23px 44px 29px;
    }

    .post-classic-footer {
        padding: 29px 44px 50px;
    }

    *+.post-classic-title {
        margin-top: 0;
    }

    .post-classic *+.group-xs {
        margin-top: 28px;
    }
}

.post-classic+.post-classic {
    margin-top: 30px;
}

@media (min-width: 1200px) {
    .post-classic+.post-classic {
        margin-top: 55px;
    }
}

.post-hover .date {
    font-weight: 700;
}

.post-hover .title {
    font-weight: 400;
}

.post-hover .title a {
    color: #516ca9;
}

.post-hover .title a:hover {
    color: #31404a;
}

.post-hover .img {
    width: 100%;
}

.post-hover .post-hover-footer {
    padding: 15px 0;
}

.post-hover *+.link-image {
    margin-top: 13px;
}

@media (min-width: 1200px) {
    .post-hover .post-hover-footer {
        padding: 29px 15px;
    }

    .post-hover *+.link-image {
        margin-top: 27px;
    }
}

.post-recent {
    margin-bottom: -15px;
    margin-left: -13px;
}

.post-recent>* {
    margin-bottom: 15px;
    margin-left: 13px;
}

.post-recent-img {
    border-radius: 50%;
}

.post-recent-title {
    font-weight: 700;
    line-height: 1.4;
}

.post-recent-time {
    font-weight: 700;
}

@media (min-width: 992px) {
    .post-recent .unit-left {
        max-width: 21%;
    }
}

@media (min-width: 1200px) {
    .post-recent .unit-left {
        max-width: 50%;
    }
}

*+.post-recent {
    margin-top: 18px;
}

.post-recent+.post-recent {
    margin-top: 15px;
}

@media (min-width: 992px) {
    *+.post-recent {
        margin-top: 26px;
    }

    .post-recent+.post-recent {
        margin-top: 23px;
    }
}

.post-single-meta {
    margin-bottom: -7px;
    margin-left: -30px;
}

.post-single-meta:empty {
    margin-bottom: 0;
    margin-left: 0;
}

.post-single-meta>* {
    display: inline-block;
    margin-top: 0;
    margin-bottom: 7px;
    margin-left: 30px;
}

.post-single-meta-item>* {
    vertical-align: middle;
}

.post-single-meta-item .icon {
    padding-right: 5px;
    font-size: 24px;
    color: #516ca9;
}

.post-single-meta-item .meta-item {
    font-weight: 700;
}

.post-single *+h2 {
    margin-top: 12px;
}

.post-single p+p {
    margin-top: 13px;
}

@media (min-width: 1600px) {
    .post-single *+h2 {
        margin-top: 5px;
    }

    .post-single p+p {
        margin-top: 23px;
    }
}

*+.post-single-item {
    margin-top: 38px;
}

.comment-list .comment-list-reply>li {
    padding-left: 30px;
}

.comment-list>li+li,
.comment-list .comment-list-reply>li+li {
    margin-top: 20px;
}

.comment-list *+.comment-list-reply {
    margin-top: 24px;
}

*+.comment-list {
    margin-top: 20px;
}

@media (min-width: 1200px) {
    *+.comment-list {
        margin-top: 27px;
    }
}

.box-comment {
    margin-bottom: -8px;
    margin-left: -30px;
}

.box-comment>* {
    margin-bottom: 8px;
    margin-left: 30px;
}

.box-comment-meta {
    margin-bottom: -1px;
    margin-left: -15px;
}

.box-comment-meta:empty {
    margin-bottom: 0;
    margin-left: 0;
}

.box-comment-meta>* {
    display: inline-block;
    margin-top: 0;
    margin-bottom: 1px;
    margin-left: 15px;
}

.box-comment-meta-item>* {
    vertical-align: middle;
}

.box-comment-meta-item .icon {
    padding-right: 5px;
    font-size: 20px;
    color: #516ca9;
}

.box-comment-meta-item .meta-item {
    font-weight: 700;
}

.box-comment *+.content {
    margin-top: 8px;
}

@media (min-width: 992px) {
    .box-comment-meta {
        margin-bottom: -1px;
        margin-left: -30px;
    }

    .box-comment-meta:empty {
        margin-bottom: 0;
        margin-left: 0;
    }

    .box-comment-meta>* {
        display: inline-block;
        margin-top: 0;
        margin-bottom: 1px;
        margin-left: 30px;
    }
}

.box-comment+.box-comment {
    margin-top: 30px;
}

@media (min-width: 768px) {
    .box-comment+.box-comment {
        margin-top: 24px;
    }
}