/***
 *  BetterFramework is BetterStudio framework for themes and plugins.
 *
 *  ______      _   _             ______                                           _
 *  | ___ \    | | | |            |  ___|                                         | |
 *  | |_/ / ___| |_| |_ ___ _ __  | |_ _ __ __ _ _ __ ___   _____      _____  _ __| | __
 *  | ___ \/ _ \ __| __/ _ \ '__| |  _| '__/ _` | '_ ` _ \ / _ \ \ /\ / / _ \| '__| |/ /
 *  | |_/ /  __/ |_| ||  __/ |    | | | | | (_| | | | | | |  __/\ V  V / (_) | |  |   <
 *  \____/ \___|\__|\__\___|_|    \_| |_|  \__,_|_| |_| |_|\___| \_/\_/ \___/|_|  |_|\_\
 *
 *  Copyright © 2017 Better Studio
 *
 *
 *  Our portfolio is here: https://betterstudio.com/
 *
 *  \--> BetterStudio, 2017 <--/
 */


/*

1. =>Base
    1.1. =>Main Helpers
    1.2. =>Buttons


2. =>Template Minimal 1


*/


/**
 * 1.1. =>Main Helpers
 **************************************************************/
.bf-clearfix:before,
.bf-clearfix:after {
    content: "";
    display: table;
}
.bf-clearfix:after {
    clear: both;
}
.bf-clearfix {
    zoom: 1;
}

.bf-admin-page{

}

.bf-admin-page.hide-notices .update-nag{
    display: none;
}


/**
 * 1.2. =>Buttons
 **************************************************************/
.bf-button{
    border-radius: 0;
    line-height: normal;
    line-height: 32px;
    display: inline-block;
    border: 1px solid #E2DDDB;
    background: #F5F5F5;
    padding: 0 14px;
    cursor: pointer;
    font-weight: bold;
    color: #4D4D4D;
    outline: none;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    font-size: 13px;
    text-decoration: none;
}
.bf-button:hover{
    border: 1px solid #C0C0C0;
    background: #F0F0F0;
    color: #383838;
    box-shadow: 0 1px 0 rgba(0,0,0,.05);
}
.bf-button.bf-main-button{
    background-color: #2d9ec7;
    border-color: #0074a2;
    color: #fff;
}
.bf-button.bf-main-button:hover{
    background: #288baf;
    border-color: #00435f;
}
.bf-button .fa,
.bf-button .dashicons{
    margin-right: 5px;
}
.bf-button .dashicons {
    margin-top: 5px;
}

.bf-button.large{
    height: 42px;
    margin: 0;
    padding: 0 15px 2px;
    font-size: 18px;
    font-weight: 300;
    line-height: 42px;
}
.bf-button.large-2x{
    height: 52px;
    margin: 0;
    padding: 0 25px 2px;
    font-size: 22px;
    font-weight: 300;
    line-height: 52px;
}
.bf-button.large-3x{
    height: 62px;
    margin: 0;
    padding: 0 35px 2px;
    font-size: 26px;
    font-weight: 300;
    line-height: 62px;
}



/**
 * 2. =>Template Minimal 1
 **************************************************************/
.bf-admin-page.bf-admin-page-template-minimal-1{

}
.bf-admin-page.bf-admin-page-template-minimal-1 .bf-admin-page-wrap{
    margin-top: -16px;
    margin-left: -20px;
}
.bf-admin-page.bf-admin-page-template-minimal-1 .bf-page-header{
    padding: 70px 30px 60px 30px;
    background-color: #fff;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 50px;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
}
.bf-admin-page.bf-admin-page-template-minimal-1 .bf-page-header .page-title{
    margin: 0 0 15px;
    padding: 0;
    font-size: 46px;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.bf-admin-page.bf-admin-page-template-minimal-1 .bf-page-header .page-desc p{
    margin: 0;
    padding: 0;
    font-size: 21px;
    font-weight: 300;
    line-height: 1.3;
    color: #777;
}
.bf-admin-page.bf-admin-page-template-minimal-1 .bf-page-postbox{
    border: 1px solid #e5e5e5;
    background-color: #fff;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}
.bf-admin-page.bf-admin-page-template-minimal-1 .bf-page-postbox .inside{
    padding: 40px;
}
.bf-admin-page.bf-admin-page-template-minimal-1 .bf-page-postbox .action-section{
    padding: 30px;
    border-top: 1px solid #DFDFDF;
    background-color: #F7F7F7;
    text-align: center;
    margin: 0 -40px -40px -40px;
}


/**
 * =>BF Loading
 **/
.bf-loading-wrapper {
    position: relative;
}
#bf_options_form,
#bf-panel .group,
.bf-loading-wrapper {
    min-height:inherit;
}
.bf-loading-anim,
.bf-loading-anim > div {
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.bf-loading-anim {
    display: block;
    font-size: 0;
    color: #333;
}
.bf-loading-anim > div {
    display: inline-block;
    float: none;
    background-color: #0080ce;
}
.bf-loading-anim {
    width: 54px;
    height: 54px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -27px;
    line-height: 0;
}
.bf-loading-anim > div {
    width: 10px;
    height: 10px;
    margin: 4px;
    border-radius: 100%;
    -webkit-animation-name: bf-loading-keyframe;
    -moz-animation-name: bf-loading-keyframe;
    -o-animation-name: bf-loading-keyframe;
    animation-name: bf-loading-keyframe;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}
.bf-loading-anim > div:nth-child(1) {
    -webkit-animation-duration: .65s;
    -moz-animation-duration: .65s;
    -o-animation-duration: .65s;
    animation-duration: .65s;
    -webkit-animation-delay: .03s;
    -moz-animation-delay: .03s;
    -o-animation-delay: .03s;
    animation-delay: .03s;
}
.bf-loading-anim > div:nth-child(2) {
    -webkit-animation-duration: 1.02s;
    -moz-animation-duration: 1.02s;
    -o-animation-duration: 1.02s;
    animation-duration: 1.02s;
    -webkit-animation-delay: .09s;
    -moz-animation-delay: .09s;
    -o-animation-delay: .09s;
    animation-delay: .09s;
}
.bf-loading-anim > div:nth-child(3) {
    -webkit-animation-duration: 1.06s;
    -moz-animation-duration: 1.06s;
    -o-animation-duration: 1.06s;
    animation-duration: 1.06s;
    -webkit-animation-delay: -.69s;
    -moz-animation-delay: -.69s;
    -o-animation-delay: -.69s;
    animation-delay: -.69s;
}
.bf-loading-anim > div:nth-child(4) {
    -webkit-animation-duration: 1.5s;
    -moz-animation-duration: 1.5s;
    -o-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-delay: -.41s;
    -moz-animation-delay: -.41s;
    -o-animation-delay: -.41s;
    animation-delay: -.41s;
}
.bf-loading-anim > div:nth-child(5) {
    -webkit-animation-duration: 1.6s;
    -moz-animation-duration: 1.6s;
    -o-animation-duration: 1.6s;
    animation-duration: 1.6s;
    -webkit-animation-delay: .04s;
    -moz-animation-delay: .04s;
    -o-animation-delay: .04s;
    animation-delay: .04s;
}
.bf-loading-anim > div:nth-child(6) {
    -webkit-animation-duration: .84s;
    -moz-animation-duration: .84s;
    -o-animation-duration: .84s;
    animation-duration: .84s;
    -webkit-animation-delay: .07s;
    -moz-animation-delay: .07s;
    -o-animation-delay: .07s;
    animation-delay: .07s;
}
.bf-loading-anim > div:nth-child(7) {
    -webkit-animation-duration: .68s;
    -moz-animation-duration: .68s;
    -o-animation-duration: .68s;
    animation-duration: .68s;
    -webkit-animation-delay: -.66s;
    -moz-animation-delay: -.66s;
    -o-animation-delay: -.66s;
    animation-delay: -.66s;
}
.bf-loading-anim > div:nth-child(8) {
    -webkit-animation-duration: .93s;
    -moz-animation-duration: .93s;
    -o-animation-duration: .93s;
    animation-duration: .93s;
    -webkit-animation-delay: -.76s;
    -moz-animation-delay: -.76s;
    -o-animation-delay: -.76s;
    animation-delay: -.76s;
}
.bf-loading-anim > div:nth-child(9) {
    -webkit-animation-duration: 1.24s;
    -moz-animation-duration: 1.24s;
    -o-animation-duration: 1.24s;
    animation-duration: 1.24s;
    -webkit-animation-delay: -.76s;
    -moz-animation-delay: -.76s;
    -o-animation-delay: -.76s;
    animation-delay: -.76s;
}
@-webkit-keyframes bf-loading-keyframe {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50% {
        opacity: .35;
        -webkit-transform: scale(.45);
        transform: scale(.45);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
@-moz-keyframes bf-loading-keyframe {
    0% {
        opacity: 1;
        -moz-transform: scale(1);
        transform: scale(1);
    }
    50% {
        opacity: .35;
        -moz-transform: scale(.45);
        transform: scale(.45);
    }
    100% {
        opacity: 1;
        -moz-transform: scale(1);
        transform: scale(1);
    }
}
@-o-keyframes bf-loading-keyframe {
    0% {
        opacity: 1;
        -o-transform: scale(1);
        transform: scale(1);
    }
    50% {
        opacity: .35;
        -o-transform: scale(.45);
        transform: scale(.45);
    }
    100% {
        opacity: 1;
        -o-transform: scale(1);
        transform: scale(1);
    }
}
@keyframes bf-loading-keyframe {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
    50% {
        opacity: .35;
        -webkit-transform: scale(.45);
        -moz-transform: scale(.45);
        -o-transform: scale(.45);
        transform: scale(.45);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}


/**
 * RTL FIX
 **/
.rtl .bf-button .fa,
.rtl .bf-button .dashicons {
    margin-left: 5px;
    margin-right: auto;
}
.rtl .bf-admin-page.bf-admin-page-template-minimal-1 .bf-admin-page-wrap {
    margin-right: -20px;
    margin-left: auto;
}
.rtl .bf-loading-anim {
    right: 50%;
    left: auto;
}
