/*** Buttons Styles ***/
a.button,
.wpcf7 input[type="button"],
.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"],
button.primary,
button.secondary,
button.tertiary,
button.download,
button.tag,
button.tab {
    display: inline-block;
    text-align: center;
    text-decoration: none!important;
    -webkit-box-shadow: none;
    box-shadow: none;
    cursor: pointer;
    transition: ease all 0.3s;
    border: none;
    margin-left: 0;
    margin-right: 15px;
    margin-bottom: 10px;
    white-space: nowrap;
    opacity: 0.9998; /* for smooth scale animation */
}
a.button:first-of-type,
.wpcf7 button[type="submit"]:first-of-type,
.wpcf7 input[type="submit"]:first-of-type,
button.primary:first-of-type,
button.secondary:first-of-type,
button.tertiary:first-of-type,
button.download:first-of-type,
button.tag:first-of-type,
button.tab:first-of-type {
    margin-left: 0;
}

a.button.disabled,
a.button:disabled,
.wpcf7 input[type="button"]:disabled,
.wpcf7 input[type="button"].disabled,
button.primary:disabled,
button.primary.disabled,
button.secondary:disabled,
button.secondary.disabled,
button.tertiary:disabled,
button.tertiary.disabled,
.wpcf7 input[type="submit"]:disabled,
.wpcf7 input[type="submit"].disabled,
.wpcf7 button[type="submit"]:disabled,
.wpcf7 button[type="submit"].disabled,
button.tag:disabled,
button.tag.disabled,
button.tab:disabled,
button.tab.disabled {
    cursor: not-allowed !important;
}

button:focus {
    outline: none !important;
}
button:hover {
    cursor: pointer;
}
button:disabled:hover {
    cursor: not-allowed;
}
input:disabled:hover {
    cursor: not-allowed;
}


/*** Primary Buttons ***/
a.button.primary,
button.primary,
.wpcf7 input[type="button"],
.wpcf7 button[type="submit"],
.wpcf7 input[type="submit"] {
    position: relative;
    padding: 20px 40px;
    border-radius: 50px;
    border-width: 1px;
    border-style: solid;
    font-size: 20px;
    font-weight: 500; /* medium */
    font-family: "aesthet-nova", serif;
    transform: scale(1.0001);
    /* default color buttons (primary and other buttons) - if they do not have a specific color class */
    color: var(--white);
    background-color: var(--black);
    border-color: var(--black);
}
a.button.primary:hover,
button.primary:hover,
.wpcf7 button[type="submit"]:hover,
.wpcf7 input[type="submit"]:hover {
    transform: scale(1.025);
    /*background-color: var(--mid-grey);*/
    /*border-color: var(--mid-grey);*/
    /*color: var(--black);*/
    outline: none;
}
a.button.primary::after,
button.primary::after,
.wpcf7 button[type="submit"].primary::after,
.wpcf7 input[type="submit"].primary::after {
    content: '';
    display: inline-block;
    height: 13px;
    width: 15px;
    margin-left: 10px;
    position: relative;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('assets/primary/white_arrow.svg');
    transition: ease all 0.3s;
}
a.button.primary:hover::after,
button.primary:hover::after,
.wpcf7 button[type="submit"].primary:hover::after,
.wpcf7 input[type="submit"].primary:hover::after {
    /*background-image: url('assets/primary/black_arrow.svg');*/
}
a.button.primary:focus,
button.primary:focus,
button.secondary:focus,
.wpcf7 button[type="submit"]:focus,
.wpcf7 input[type="submit"]:focus,
.wpcf7 input[type="button"]:focus {
    outline: none;
}

@media(max-width: 575px) {
    a.button.primary,
    button.primary,
    .wpcf7 input[type="button"],
    .wpcf7 button[type="submit"],
    .wpcf7 input[type="submit"] {
        padding: 15px 28px;
        font-size: 18px;
    }
    a.button.primary::after,
    button.primary::after,
    .wpcf7 button[type="submit"].primary::after,
    .wpcf7 input[type="submit"].primary::after {
        height: 11px;
        width: 12px;
    }
}





/*** Secondary Buttons ***/
a.button.secondary,
button.secondary,
.wpcf7 button[type="submit"].secondary,
.wpcf7 input[type="submit"].secondary {
    position: relative;
    padding: 20px 40px;
    border-radius: 50px;
    border-width: 1px;
    border-style: solid;
    font-size: 20px;
    font-weight: 500; /* medium */
    font-family: "aesthet-nova", serif;
    transform: scale(1.0001);
    /* default color secondary buttons - if they do not have a specific color class */
    background-color: var(--white);
    /*border-color: #A1B3C0;*/
    border-color: var(--black);
    color: var(--black);
}
a.button.secondary:hover,
button.secondary:hover,
.wpcf7 button[type="submit"].secondary:hover,
.wpcf7 input[type="submit"].secondary:hover {
    transform: scale(1.025);
    /*background-color: var(--mid-grey);*/
    /*border-color: var(--mid-grey);*/
    /*color: var(--white);*/
}
a.button.secondary::after,
button.secondary::after,
.wpcf7 button[type="submit"].secondary::after,
.wpcf7 input[type="submit"].secondary::after {
    content: '';
    display: inline-block;
    height: 13px;
    width: 15px;
    margin-left: 10px;
    position: relative;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('assets/secondary/black_arrow.svg');
    transition: ease all 0.3s;
}
a.button.secondary:hover::after,
button.secondary:hover::after,
.wpcf7 button[type="submit"].secondary:hover::after,
.wpcf7 input[type="submit"].secondary:hover::after {
    /*background-image: url('assets/secondary/white_arrow.svg');*/
}

@media(max-width: 575px) {
    a.button.secondary,
    button.secondary,
    .wpcf7 input[type="button"].secondary,
    .wpcf7 button[type="submit"].secondary,
    .wpcf7 input[type="submit"].secondary {
        padding: 15px 28px;
        font-size: 18px;
    }
    a.button.secondary::after,
    button.secondary::after,
    .wpcf7 button[type="submit"].secondary::after,
    .wpcf7 input[type="submit"].secondary::after {
        height: 11px;
        width: 12px;
    }
}




/*** Tertiary Buttons ***/
a.button.tertiary,
button.tertiary,
.wpcf7 button[type="submit"].tertiary,
.wpcf7 input[type="submit"].tertiary {
    position: relative;
    height: fit-content;
    height: max-content;
    padding: 0;
    border: none;
    font-size: 18px;
    font-weight: 500; /* medium */
    padding-bottom: 5px;
    /* default color tertiary buttons - if they do not have a specific color class */
    color: var(--black);
    background-color: transparent;
}
a.button.tertiary:hover,
button.tertiary:hover,
.wpcf7 button[type="submit"].tertiary:hover,
.wpcf7 input[type="submit"].tertiary:hover {
    transform: scale(1);
    color: var(--black);
}
a.button.tertiary::after,
button.tertiary::after,
.wpcf7 button[type="submit"].tertiary::after,
.wpcf7 input[type="submit"].tertiary::after {
    content: '';
    display: inline-block;
    height: 10px;
    width: 11px;
    margin-left: 8px;
    position: relative;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('assets/tertiary/black_arrow.svg');
    transition: ease all 0.3s;
}
a.button.tertiary::before,
button.tertiary::before,
.wpcf7 button[type="submit"].tertiary::before,
.wpcf7 input[type="submit"].tertiary::before {
    content: '';
    display: block;
    background-color: var(--black);
    height: 1px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Tertiary Button Colors */


/*** Download Buttons ***/
a.button.download,
button.download,
.wpcf7 button[type="submit"].download,
.wpcf7 input[type="submit"].download {
    position: relative;
    padding: 20px 40px;
    border-radius: 50px;
    border-width: 1px;
    border-style: solid;
    font-size: 20px;
    font-weight: 500; /* medium */
    font-family: "aesthet-nova", serif;
    /* default color buttons (primary and other buttons) - if they do not have a specific color class */
    color: var(--white);
    background-color: var(--black);
    border-color: var(--black);
}
a.button.download:hover,
button.download:hover,
.wpcf7 button[type="submit"].download:hover,
.wpcf7 input[type="submit"].download:hover {
    transform: scale(1);
    background-color: var(--mid-grey);
    border-color: var(--mid-grey);
    color: var(--black);
    outline: none;
}
a.button.download::after,
button.download::after,
.wpcf7 button[type="submit"].download::after,
.wpcf7 input[type="submit"].download::after {
    content: '';
    display: inline-block;
    height: 13px;
    width: 15px;
    margin-left: 10px;
    position: relative;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('assets/download/white_arrow.svg');
    transition: ease all 0.3s;
}
a.button.download:hover::after,
button.download:hover::after,
.wpcf7 button[type="submit"].download:hover::after,
.wpcf7 input[type="submit"].download:hover::after {
    background-image: url('assets/download/black_arrow.svg');
}

/* Download Button Colors */






/*** Arrow Buttons ***/
a.button.arrow,
div.button.arrow,
button.arrow {
    display: inline-block;
    font-size: 0;
    padding: 0;
    margin: 0;
    height: 56px;
    width: 56px;
    border-style: solid;
    border-width: 2px;
    border-radius: 50%;
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.999999;

    border-color: var(--black);
    background-color: var(--black);
    background-image: url('assets/arrow/white_arrow.svg');
}
a.button.arrow:hover,
div.button.arrow:hover,
button.arrow {
    transform: scale(1.03);
    opacity: 1;
}

/*** Arrow Button Colors ***/






/*** Tag Buttons ***/
a.button.tag,
button.tag,
.wpcf7 button[type="submit"].tag,
.wpcf7 input[type="submit"].tag {
    position: relative;
    padding: 10px 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--light-grey);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 400; /* Regular */
    line-height: 1;
    /* default color tertiary buttons - if they do not have a specific color class */
    color: var(--dark-grey);
    background-color: var(--white);
    transition: ease all .3s;
}
a.button.tag.active,
button.tag.active,
.wpcf7 button[type="submit"].tag.active,
.wpcf7 input[type="submit"].tag.active {
    background-color: var(--black);
    border-color: var(--black);
    color: var(--white);
}
a.button.tag:hover,
button.tag:hover,
.wpcf7 button[type="submit"].tag:hover,
.wpcf7 input[type="submit"].tag:hover {
    transform: scale(1);
    background-color: var(--light-grey);
    border-color: var(--light-grey);
    color: var(--black);
    cursor: pointer;
}
a.button.tag.active:hover,
button.tag.active:hover,
.wpcf7 button[type="submit"].tag.active:hover,
.wpcf7 input[type="submit"].tag.active:hover {
    background-color: var(--light-grey);
    border-color: var(--light-grey);
    color: var(--black);
    opacity: 0.8;
}


/*** Tab Buttons ***/
a.button.tab,
button.tab,
.wpcf7 button[type="submit"].tab,
.wpcf7 input[type="submit"].tab {
    position: relative;
    border-radius: 6px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 500; /* Regular */
    /* default color tertiary buttons - if they do not have a specific color class */
    color: var(--black);
    background-color: transparent;
    transition: ease all .3s;
    opacity: 0.4;
    padding-left: 0;
    white-space: nowrap;
}
a.button.tab.active,
button.tab.active,
.wpcf7 button[type="submit"].tab.active,
.wpcf7 input[type="submit"].tab.active{
    opacity: 1;
}

/* Tab After Underline On Hover */
a.button.tab::after,
button.tab::after,
.wpcf7 button[type="submit"].tab::after,
.wpcf7 input[type="submit"].tab::after {
    content: '';
    display: block;
    height: 1px;
    width: 0;
    opacity: 0;
    transition: ease all .4s;
    margin-top: 5px;
    background-color: var(--black);
}
a.button.tab.active::after,
button.tab.active::after,
.wpcf7 button[type="submit"].tab.active::after,
.wpcf7 input[type="submit"].tab.active::after {
    opacity: 1;
    width: 100%;
}







/*** DISABLED STATES ***/
/* Primary Disabled */
a.button.primary.disabled,
a.button.primary.disabled:hover,

button.primary.disabled,
button.primary.disabled:hover,

.wpcf7 button[type="submit"]:disabled,
.wpcf7 button[type="submit"]:disabled:hover,

.wpcf7 input[type="submit"]:disabled,
.wpcf7 input[type="submit"]:disabled:hover {
    color: #D8D8D8;
    background-color: #f5f5f5;
    border-color: #f5f5f5;
    transform: scale(1);
}

a.button.primary.disabled::after,
a.button.primary.disabled:hover::after,

button.primary.disabled::after,
button.primary.disabled:hover::after,

.wpcf7 button[type="submit"]:disabled::after,
.wpcf7 button[type="submit"]:disabled:hover::after,

.wpcf7 input[type="submit"]:disabled::after,
.wpcf7 input[type="submit"]:disabled:hover::after {
    background-image: url('assets/primary/disabled_arrow.svg');
}

/* Secondary Disabled */
a.button.secondary.disabled,
a.button.secondary.disabled:hover,

button.secondary.disabled,
button.secondary.disabled:hover {
    color: #D8D8D8;
    background-color: #f5f5f5;
    border-color: #f5f5f5;
    transform: scale(1);
}

a.button.secondary.disabled::after,
a.button.secondary.disabled:hover::after,

button.secondary.disabled::after,
button.secondary.disabled:hover::after {
    background-image: url('assets/primary/disabled_arrow.svg');
}

/* Tertiary Disabled */
a.button.tertiary.disabled,
a.button.tertiary.disabled:hover {
    color: #D8D8D8;
    transform: scale(1);
}
a.button.tertiary.disabled:after {
    background-image: url('assets/tertiary/disabled_arrow.svg');
}
a.button.tertiary.disabled:before {
    background-color: #D8D8D8;
}

/* Download Disabled */
a.button.download.disabled,
a.button.download.disabled:hover,

button.download.disabled,
button.download.disabled:hover {
    color: #D8D8D8;
    background-color: #f5f5f5;
    border-color: #f5f5f5;
    transform: scale(1);
}

a.button.download.disabled::after,
a.button.download.disabled:hover::after,

button.download.disabled::after,
button.download.disabled:hover::after {
    background-image: url('assets/download/disabled_arrow.svg');
}


/* Arrow Disabled */
a.button.arrow.disabled {
    border-color: #f5f5f5;
    background-color: #f5f5f5;
    background-image: url('assets/arrow/disabled_arrow.svg');
}
a.button.arrow.disabled:hover {
    transform: scale(1);
    opacity: 1;
}