/*** 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;
}
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"] {
    transition: ease all 0.2s;
    position: relative;
    padding: 18px 30px;
    padding-left: 65px;
    border: none;
    font-size: 18px;
    line-height: 27px;
    font-weight: 700;
    border-radius: 35px;
    /* default color secondary buttons - if they do not have a specific color class */
    background-color: var(--sapphire);
    color: var(--white);
    /*opacity: 0.99999 !important;*/
}
.wpcf7 input[type="submit"] { /* input override where pseudo not allowed */
    padding-left: 30px;
}
a.button.primary::before,
button.primary::before,
.wpcf7 button[type="submit"]::before,
.wpcf7 input[type="submit"]::before {
    content: '';
    height: 39px;
    width: 39px;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    background-size: 15px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('assets/primary/white_arrow.svg');
    transition: ease all 0.5s;
    /* Arrow Blurry Set */
    background-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(2px);
}
a.button.primary:hover,
button.primary:hover,
.wpcf7 button[type="submit"]:hover,
.wpcf7 input[type="submit"]:hover {
    /*padding-left: 30px;*/
    /*padding-right: 65px;*/
    background-color: var(--fog);
}
/*a.button.primary:hover::before,*/
/*button.primary:hover::before,*/
/*.wpcf7 button[type="submit"]:hover::before,*/
/*.wpcf7 input[type="submit"]:hover::before {*/
/*    left: calc(100% - 45px);*/
/*}*/
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: 1366.98px) {
    a.button.primary,
    button.primary,
    .wpcf7 input[type="button"],
    .wpcf7 button[type="submit"],
    .wpcf7 input[type="submit"] {
        font-size: 16px;
        padding: 14px 30px;
        padding-left: 65px;
    }
    a.button.primary::before,
    button.primary::before,
    .wpcf7 button[type="submit"]::before,
    .wpcf7 input[type="submit"]::before {
        height: 33px;
        width: 33px;
    }
}
@media(max-width: 575.98px) {
    a.button.primary,
    button.primary,
    .wpcf7 input[type="button"],
    .wpcf7 button[type="submit"],
    .wpcf7 input[type="submit"] {
        font-size: 15px;
        padding: 10px 30px;
        padding-left: 50px;
    }
    a.button.primary::before,
    button.primary::before,
    .wpcf7 button[type="submit"]::before,
    .wpcf7 input[type="submit"]::before {
        height: 30px;
        width: 30px;
        left: 10px;
    }
    /*a.button.primary:hover,*/
    /*button.primary:hover,*/
    /*.wpcf7 button[type="submit"]:hover,*/
    /*.wpcf7 input[type="submit"]:hover {*/
    /*    padding-right: 50px;*/
    /*}*/
    /*a.button.primary:hover::before,*/
    /*button.primary:hover::before,*/
    /*.wpcf7 button[type="submit"]:hover::before,*/
    /*.wpcf7 input[type="submit"]:hover::before {*/
    /*    left: calc(100% - 40px);*/
    /*}*/
}

/* Primary Button Colors */
a.button.primary.sapphire_button {
    background-color: var(--sapphire);
    color: var(--white);
}
a.button.primary.sapphire_button:hover {
    background-color: var(--fog);
}
a.button.primary.sapphire_button:after {
    background-image: url('assets/primary/white_arrow.svg');
}






/*** Secondary Buttons - There are no hover styles for secondary in this project. ***/
a.button.secondary,
button.secondary,
.wpcf7 button[type="submit"].secondary,
.wpcf7 input[type="submit"].secondary {
    position: relative;
    padding: 0;
    padding-left: 38px;
    border: none;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500; /* medium */
    /* default color secondary buttons - if they do not have a specific color class */
    color: var(--black);
    background-color: transparent;
    transform: scale(1);
    /*opacity: 0.99999999 !important;*/
}
a.button.secondary::before,
button.secondary::before,
.wpcf7 button[type="submit"].secondary::before,
.wpcf7 input[type="submit"].secondary::before {
    content: '';
    height: 28px;
    width: 28px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('assets/secondary/white_arrow.svg');
    transition: ease all 0.5s;
    /* Arrow Blurry Set */
    background-color: var(--sapphire);
    backdrop-filter: blur(2px);
    /*opacity: 0.99999999 !important;*/
}
a.button.secondary:hover,
button.secondary:hover,
.wpcf7 button[type="submit"].secondary:hover,
.wpcf7 input[type="submit"].secondary:hover {
    transform: scale(1.015);
}

/* Secondary Button Colors */
a.button.secondary.black_button {
    color: var(--black);
}
a.button.secondary.black_button::before {
    background-color: var(--sapphire);
    background-image: url('assets/secondary/white_arrow.svg');
}

a.button.secondary.white_button {
    color: var(--white);
}
a.button.secondary.white_button::before {
    background-color: rgba(255,255,255,0.3);
    background-image: url('assets/secondary/white_arrow.svg');
}


/*** Tertiary Buttons ***/
a.button.tertiary,
button.tertiary,
.wpcf7 button[type="submit"].tertiary,
.wpcf7 input[type="submit"].tertiary {
    position: relative;
    padding: 0;
    border: none;
    font-size: 15px;
    font-weight: 600; /* Semi Bold */
    text-decoration: underline !important;
    /* default color tertiary buttons - if they do not have a specific color class */
    color: var(--black);
}
/* Tertiary Button Colors */
a.button.tertiary.black_button {
    color: var(--black);
}
a.button.tertiary.white_button {
    color: var(--white);
}



/*** Download Buttons - There are no hover styles for download in this project. ***/
a.button.download,
button.download,
.wpcf7 button[type="submit"].download,
.wpcf7 input[type="submit"].download {
    position: relative;
    padding: 0;
    padding-left: 38px;
    border: none;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500; /* medium */
    /* default color download buttons - if they do not have a specific color class */
    color: var(--black);
    transform: scale(1);
    /*opacity: 0.99999999 !important;*/
}
a.button.download::before,
button.download::before,
.wpcf7 button[type="submit"].download::before,
.wpcf7 input[type="submit"].download::before {
    content: '';
    height: 28px;
    width: 28px;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('assets/download/white_arrow.svg');
    transition: ease all 0.5s;
    /* Arrow Blurry Set */
    background-color: var(--sapphire);
    backdrop-filter: blur(2px);
    /*opacity: 0.99999999 !important;*/
}
a.button.download:hover,
button.download:hover,
.wpcf7 button[type="submit"].download:hover,
.wpcf7 input[type="submit"].download:hover {
    transform: scale(1.015);
}

/* Download Button Colors */
a.button.download.black_button {
    color: var(--black);
}
a.button.download.black_button::before {
    background-color: var(--sapphire);
    background-image: url('assets/download/white_arrow.svg');
}

a.button.download.white_button {
    color: var(--white);
}
a.button.download.white_button::before {
    background-color: rgba(255,255,255,0.3);
    background-image: url('assets/secondary/white_arrow.svg');
}






/*** Arrow Buttons ***/
a.button.arrow,
div.button.arrow,
button.button.arrow {
    display: inline-block;
    font-size: 0;
    padding: 0;
    margin: 0;
    height: 120px;
    width: 120px;
    border-radius: 50%;
    background-size: 44px;
    background-position: center;
    background-repeat: no-repeat;
    /* Default Colors */
    background-color: rgba(255, 255, 255, 0.3);
    background-image: url('assets/arrow/white_arrow.svg');
}
a.button.arrow:hover,
div.button.arrow:hover,
button.button.arrow:hover {
    opacity: 1;
}
@media(max-width: 1499.98px) {
    a.button.arrow,
    div.button.arrow,
    button.button.arrow {
        height: 66px;
        width: 66px;
        background-size: 25px;
    }
}
/*** Arrow Button Colors ***/
.rock_background a.button.arrow,
.whale_background a.button.arrow {
    background-color: rgba(255, 255, 255, 0.3);
    background-image: url('assets/arrow/white_arrow.svg');
}





/*** Tag Buttons ***/
a.button.tag,
button.tag,
.wpcf7 button[type="submit"].tag,
.wpcf7 input[type="submit"].tag {
    position: relative;
    padding: 8px 20px;
    margin-right: 5px;
    margin-bottom: 3px;
    border: 1px solid var(--grey);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 400; /* Regular */
    /* default color tertiary buttons - if they do not have a specific color class */
    color: var(--black);
    background-color: 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(--whale);
    border-color: var(--whale);
    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(--fog);
    border-color: var(--fog);
    color: var(--light-grey);
    cursor: pointer;
    opacity: 1;
}
@media(max-width: 1366.98px) {
    a.button.tag,
    button.tag,
    .wpcf7 button[type="submit"].tag,
    .wpcf7 input[type="submit"].tag {
        font-size: 12px;
        padding: 6px 12px;
    }
}


/*** 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: 30px;
    font-weight: 500; /* Medium */
    /* 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;
    white-space: nowrap;
}
a.button.tab,
button.tab {
    font-size: 18px;
}
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: 1.5px;
    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%;
}
@media(max-width: 991.98px) {
    a.button.tab,
    button.tab,
    .wpcf7 button[type="submit"].tab,
    .wpcf7 input[type="submit"].tab {
        font-size: 18px;
    }
}







/*** 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: #B2B2B2;
    background-color: #E2E2E2;
    border-color: #E2E2E2;
    transform: scale(1);
    padding-left: 65px;
    padding-right: 30px;
}

a.button.primary.disabled::before,
a.button.primary.disabled:hover::before,
button.primary.disabled::before,
button.primary.disabled:hover::before,
.wpcf7 button[type="submit"]:disabled::before,
.wpcf7 button[type="submit"]:disabled:hover::before,
.wpcf7 input[type="submit"]:disabled::before,
.wpcf7 input[type="submit"]:disabled:hover::before {
    left: 16px;
}



/* Secondary Disabled */
a.button.secondary.disabled,
a.button.secondary.disabled:hover,
button.secondary.disabled,
button.secondary.disabled:hover {
    color: #B2B2B2;
    background-color: transparent;
    transform: scale(1);
}
a.button.secondary.disabled::before,
a.button.secondary.disabled:hover::before,
button.secondary.disabled::before,
button.secondary.disabled:hover::before {
    left: 0;
    background-color: #E2E2E2;
}


/* Tertiary Disabled */
a.button.tertiary.disabled,
a.button.tertiary.disabled:hover {
    color: #B2B2B2;
    transform: scale(1);
    opacity: 1;
}

/* Download Disabled */
a.button.download.disabled,
a.button.download.disabled:hover {
    color: #B2B2B2;
    transform: scale(1);
}
a.button.download.disabled::before,
a.button.download.disabled:hover::before {
    left: 0;
    background-color: #E2E2E2;
}