/**
 * Missing Bootstrap items
 */

.ast-clearfix:before,
.ast-clearfix:after {
  display: table;
  content: " ";
}

.ast-clearfix:after {
  clear: both;
}

.ast-visible-lg-block {
  display: none !important;
}

@media (min-width: 992px) {
  .ast-visible-lg-block {
    display: block !important;
  }
}

/**
 * Header.
 */

.site-header {
    margin: 30px 0;
}

.ast-site-identity {
    padding: 0;
}

.ast-site-identity .site-logo-img img {
    max-height: 64px;
    width: auto;
}

@media (min-width: 922px)
{
    .ast-site-identity .site-logo-img img {
        max-height: initial;
    }
}

/**
 * Menu.
 */

.main-header-bar {
    line-height: 1.2;
}

ul.main-header-menu {
    padding: 20px;
}

ul.main-header-menu > li.menu-item {
    margin: 0 0 10px 0;
}

ul.main-header-menu > li.menu-item:last-child {
    margin: 0;
}

ul.main-header-menu > li.menu-item > a.menu-link {
    font-weight: 500;
    background: #f5f5f5;
    color: #000000;
    border-radius: 30px;
    padding: 5px 30px;
}

ul.main-header-menu > li.menu-item:hover > a.menu-link,
ul.main-header-menu > li.menu-item:focus > a.menu-link,
ul.main-header-menu > li.menu-item.current_page_item > a.menu-link {
    background: #2b3156;
    color: #ffffff;
}

@media (min-width: 922px)
{
    ul.main-header-menu > li.menu-item {
        margin: 0 10px 0 0;
    }

    ul.main-header-menu > li.menu-item:last-child {
        margin: 0;
    }

    ul.main-header-menu > li.menu-item > a.menu-link {
        height: auto;
        font-size: 1.2rem;
        font-weight: 500;
        border-radius: 30px;
        padding: 15px 20px;
    }
}

/**
 * Gutenberg: Group block.
 */

.wp-block-group {
    padding: 60px 0;
}

.wp-block-group a {
    color: inherit;
}

.wp-block-group__inner-container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.wp-block-group__inner-container p:last-child,
.wp-block-group__inner-container ul:last-child {
    margin-bottom: 0;
}

@media (min-width: 922px)
{
    .wp-block-group__inner-container {
        max-width: 1240px;
    }
}

/**
 * Gutenberg: Columns with text and form.
 */

.columns-text-and-form {
    margin-bottom: 0;
    align-items: center;
}

/**
 * Gutenberg: Custom ISO block.
 */

.group-iso-list-color-white .wp-block-group.group-iso-list {
    color: #ffffff;
}

.wp-block-group.group-iso-list .wp-block-group__inner-container {
    padding: 0;
}

.wp-block-group.group-iso-list {
    padding: 0 0 30px 0;
}

.wp-block-group.group-iso-list p {
    margin: 0 0 15px 10px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.wp-block-group.group-iso-list ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.wp-block-group.group-iso-list ul li:first-child a {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.wp-block-group.group-iso-list ul li a {
    display: block;
    line-height: 1.25;
    color: inherit;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.wp-block-group.group-iso-list ul li a:hover,
.wp-block-group.group-iso-list ul li a:focus {
    background: rgba(255, 255, 255, .1);
}

@media (min-width: 782px)
{
    .wp-block-group.group-iso-list .wp-block-group__inner-container {
        padding: 0 20px;
    }

    .wp-block-group.group-iso-list {
        border-right: 1px solid rgba(255, 255, 255, .1);
    }
}

/**
 * Form
 */

.row-form {
    margin-top: 20px;
    margin-bottom: 0;
}

.row-form div[class*=ast-col-] {
    margin-top: 10px;
}

.row-form label {
    line-height: 1;
}

.row-form .wpcf7-form-control-wrap {
    display: block;
    margin: 5px 0 0 0;
}

.row-form .wpcf7-form-control-wrap input {
    border-radius: 0;
}

.row-form .wpcf7-form-control-wrap input:not([type=submit]),
.row-form .wpcf7-form-control-wrap select,
.row-form .wpcf7-form-control-wrap textarea {
    padding: 5px 10px;
}

.row-form .wpcf7-form-control-wrap textarea {
    resize: vertical;
    border-radius: 0;
}

.row-form .wpcf7-form-control-wrap .wpcf7-list-item {
    display: block;
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.row-form .wpcf7-form-control-wrap .wpcf7-list-item .wpcf7-free-text {
    margin: 10px 0 0 0;
}

.row-form .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
    line-height: 1;
    color: #ff4f4f;
    font-size: 0.9em;
    font-weight: 700;
    padding: 0;
    margin: 5px 0 0 0;
}

.row-form .col-name,
.row-form .col-email,
.row-form .col-message {
    margin-bottom: 10px;
}

.row-form input[type="submit"] {
    background-color: transparent;
    padding: 10px 50px;
    border: 2px solid #ffffff;
    border-radius: 0;
    font-weight: 400;
    transition: background-color .3s, color .3s;
}

.row-form input[type="submit"]:hover,
.row-form input[type="submit"]:focus {
    background-color: #ffffff;
    color: #000000;
}

.wpcf7 form .wpcf7-response-output {
    margin: 10px 0 0 0;
    padding: 10px;
    line-height: 1.25;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #ffe49c;
    background-color: #ffe49c;
    color: #000000;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    background-color: #46b450;
    color: #ffffff;
}

@media (min-width: 992px)
{
    .row-form {
        margin-top: 0;
    }

    .row-form .col-name {
        padding-right: 10px;
    }

    .row-form .col-email {
        padding-left: 10px;
    }
}

/**
 * Request form
 */

.wpcf7-form .form-request {
    margin: 0;
}

.form-request label {
    display:  block;
    font-size: 12px;
    font-weight: 700;
    text-shadow: none;
    text-transform: uppercase;
}

.form-request label .label-text {
    display: block;
    margin: 0 0 5px 0;
}

.form-request input[type="text"],
.form-request input[type="email"],
.form-request select,
.form-request textarea {
    font-size: 12px;
    line-height: 1.25;
    border-radius: 0;
}

.form-request .row-form div[class*=ast-col-] {
    margin-top: 10px;
}

.form-request .row-form .wpcf7-form-control-wrap {
    margin: 0;
}

.form-request .row-form .wpcf7-list-item {
    display: inline-block;
    font-size: 13px;
    margin: 0 0 5px 0;
}

.form-request .row-form .wpcf7-list-item.first input[type="checkbox"] {
    margin-left: 0;
}

.form-request .row-form .wpcf7-form-control-wrap.system input {
    width: auto;
    background: none;
    color: #ffffff;
    font-size: 13px;
    padding: 0;
    border: none;
    border-bottom: 1px solid #ffffff;
    margin: 0 0 0 10px;
}

.form-request .row-form .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
    text-transform: uppercase;
    font-size: 12px;
}

.form-request .row-form .wpcf7-form-control-wrap.system input[type="text"] {
    width: 100px;
}

/**
 * Button
 */

.wp-block-button .wp-block-button__link {
    background-color: transparent;
    padding: 25px 50px;
    border: 2px solid #ffffff;
    border-radius: 0;
    font-weight: 400;
    font-size: 1.25rem;
    transition: background-color .3s, color .3s;
}

.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus {
    background-color: #ffffff;
    color: #000000;
}

/**
 * List buttons.
 */

ul.list-buttons {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

ul.list-buttons li {
    display: block;
}

ul.list-buttons li a {
    display: inline-block;
    background-color: transparent;
    padding: 0.3em 0.9em;
    margin: 0 0 0.6em 0;
    border: 2px solid #ffffff;
    border-radius: 0;
    font-weight: 400;
    font-size: 1.25rem;
    transition: background-color .3s, color .3s;
}

ul.list-buttons li a:hover,
ul.list-buttons li a:focus {
    background-color: #ffffff;
    color: #000000;
}

ul.list-buttons li:last-child a {
    margin: 0;
}
