/**
 * TopBar Call To Action StyleSheet
 *
 * @package     TopBar Call To Action
 * @since       1.0.0
 * @category    Css
 * @author      Shark Themes

 */

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

div#st-topbar-cta p,
div#st-topbar-cta a.btn {
    font-family: inherit;
}

div#st-topbar-cta {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    overflow: hidden;
}

div#st-topbar-cta.bottom {
    position: fixed;
    bottom: 0;
    z-index: 9999;
    width: 100%;
}

div#st-topbar-cta .st-topbar-cta-collapse {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    cursor: pointer;
}

div#st-topbar-cta .st-topbar-cta-collapse svg,
div.st-topbar-cta-collapse-open svg {
    width: 12px;
    height: 12px;
}

div.st-topbar-cta-collapse-open svg {
    margin: 5px 15px;
}

div.st-topbar-cta-collapse-open {
    position: absolute;
    cursor: pointer;
    top: 0;
    z-index: 9999;
    right: 50px;
    border-radius: 0 0 5px 5px;
    display: none;
}

body.admin-bar div.st-topbar-cta-collapse-open.top {
    top: 32px;
}

div.st-topbar-cta-collapse-open.bottom {
    position: fixed;
    top: auto;
    bottom: 0;
    border-radius: 5px 5px 0 0;
}

div.st-topbar-cta-collapse-open.bottom svg {
    transform: rotate(180deg);
}

div#st-topbar-cta .wrapper {
    margin: auto;
    max-width: 1200px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}

div#st-topbar-cta .wrapper .st-topbar-cta-message span {
    padding-bottom: 3px;
}

div#st-topbar-cta .st-topbar-cta-btn a.btn {
    display: block;
}

div#st-topbar-cta.left-btn .wrapper {
    flex-direction: row-reverse;
}

div#st-topbar-cta.right-btn .st-topbar-cta-btn {
    margin-left: 25px;
}

div#st-topbar-cta.left-btn .st-topbar-cta-btn {
    margin-right: 25px;
}

div#st-topbar-cta.left-align .wrapper {
    justify-content: flex-start;
}

div#st-topbar-cta.right-align .wrapper {
    justify-content: flex-end;
}

@media screen and (max-width:782px){
    body.admin-bar div.st-topbar-cta-collapse-open.top {
        top: 46px;
    }
}

@media screen and (max-width:767px){
    div#st-topbar-cta.right-btn .wrapper,
    div#st-topbar-cta.left-btn .wrapper {
        flex-direction: column;
    }
    div#st-topbar-cta .wrapper .st-topbar-cta-message {
        text-align: center;
    }
    div#st-topbar-cta .st-topbar-cta-collapse {
        right: 15px;
        top: auto;
        transform: translateY(0);
        bottom: 10px;
    }
    div.st-topbar-cta-collapse-open {
        right: 15px;
    }
    div#st-topbar-cta.right-btn .st-topbar-cta-btn,
    div#st-topbar-cta.left-btn .st-topbar-cta-btn {
        margin: 0;
    }
    
}

