/*
 * Buttons
 */

.btn {
    background-color: #fff;
    background-image: none;
    border-color: #dedede;
    border-radius: 3px;
    border-width: 1px;
    border-style: solid;
    box-shadow: 0 1px 1px rgba(0,0,0,0.2);
    color: #696969;
    cursor: pointer;
    display: inline-block;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    padding: 0.5rem 1rem;
    position: relative;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
}

.btn:active {
    box-shadow: inset 0px 3px 6px rgba(0,0,0,0.1);
}

.green.btn {
    border-color: #7cb400;
    color: #fff;

    background-color: #85c000;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#85c000), to(#73a700));
    background-image: -webkit-linear-gradient(top, #85c000, #73a700);
    background-image:    -moz-linear-gradient(top, #85c000, #73a700);
    background-image:      -o-linear-gradient(top, #85c000, #73a700);
    background-image:         linear-gradient(to bottom, #85c000, #73a700);
}

.green.btn:hover {
    background-color: #92ce0b;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#92ce0b), to(#80b50a));
    background-image: -webkit-linear-gradient(top, #92ce0b, #80b50a);
    background-image:    -moz-linear-gradient(top, #92ce0b, #80b50a);
    background-image:      -o-linear-gradient(top, #92ce0b, #80b50a);
    background-image:         linear-gradient(to bottom, #92ce0b, #80b50a);
}

.blue.btn {
    border-color: #3073a2;
    color: #fff;

    background-color: #70b2e0;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#70b2e0), to(#4096d3));
    background-image: -webkit-linear-gradient(top, #70b2e0, #4096d3);
    background-image:    -moz-linear-gradient(top, #70b2e0, #4096d3);
    background-image:      -o-linear-gradient(top, #70b2e0, #4096d3);
    background-image:         linear-gradient(to bottom, #70b2e0, #4096d3);

}

.blue.btn:hover {
    background-color: #79b9e5;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#79b9e5), to(#4c9ed9));
    background-image: -webkit-linear-gradient(top, #79b9e5, #4c9ed9);
    background-image:    -moz-linear-gradient(top, #79b9e5, #4c9ed9);
    background-image:      -o-linear-gradient(top, #79b9e5, #4c9ed9);
    background-image:         linear-gradient(to bottom, #79b9e5, #4c9ed9);
}

.red.btn {
    border-color: #ff6858;
    color: #fff;

    background-color: #fd7769;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fd7769), to(#e84d3c));
    background-image: -webkit-linear-gradient(top, #fd7769, #e84d3c);
    background-image:    -moz-linear-gradient(top, #fd7769, #e84d3c);
    background-image:      -o-linear-gradient(top, #fd7769, #e84d3c);
    background-image:         linear-gradient(to bottom, #fd7769, #e84d3c);
}

.red.btn:hover {
    background-color: #fd7769;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ff877b), to(#ec5949));
    background-image: -webkit-linear-gradient(top, #ff877b, #ec5949);
    background-image:    -moz-linear-gradient(top, #ff877b, #ec5949);
    background-image:      -o-linear-gradient(top, #ff877b, #ec5949);
    background-image:         linear-gradient(to bottom, #ff877b, #ec5949);
}

.wire.btn {
    background-color: #fff;
    background-image: none;
    border-color: #cbcbcb;
    color: #696969;
}

.large.btn {
    display: inline-block;
    font-size: 1.7rem;
    padding: 1rem 2rem;
    text-transform: uppercase;
}

.large.btn.fr {
    margin-left: 1.3rem;
}

.scroll.btn {
    float: right;
    margin-right: 4.4rem;
    margin-top: 4.4rem;
}

.associated .btn {
    margin-left: 2rem;
}

/* Dropdown */

.btn-group {
    position: relative;
    display: inline-block;
    font-size: 0;
    white-space: nowrap;
    vertical-align: middle;
    z-index: 100;
}

.btn.dropdown-toggle {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    padding: 1.2rem;
    text-align: left;
}

.caret {
    border-top: 5px solid #000000;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    display: inline-block;
    height: 0;
    margin-left: 0;
    margin-right: 0.4rem;
    margin-top: 0.8rem;
    vertical-align: top;
    width: 0;
    position: absolute;
    right: 2rem;
}

.open .caret {
    border-top-color: #85c000;
}

.dropdown-menu {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    list-style: none;
    min-width: 160px;
    opacity: 0;
    padding: 5px 0;
    position: absolute;
    top: 100%;
    z-index: 1000;

    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;

    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.dropdown-menu li {
    border-bottom: 1px solid #f1f1f1;
    display: block;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu > li > a {
    color: #696969;
    display: block;
    font-size: 1.8rem;
    font-weight: 300;
    padding: 1.2rem 2.6rem;
    text-decoration: none;

    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}

.dropdown-menu > li > a:hover {
    background-color: #fdfff9;
}

.btn-group.open .btn.dropdown-toggle {
    border: 1px solid #bbdd70;
    box-shadow: 0 0 6px #bbdd70;
    color: #85c000;
}

.btn-group .dropdown-toggle:active, .btn-group.open .dropdown-toggle {
    outline: 0;
}

.open > .dropdown-menu {
    display: block;
    opacity: 1;
}

/* Vertical button group */

.btn-group-vertical > .btn {
    display: block;
    float: none;
    max-width: 100%;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.btn-group-vertical > .btn + .btn {
    margin-top: -1px;
    margin-left: 0;
}

[data-toggle="buttons"] > .btn > input[type="radio"], [data-toggle="buttons"] > .btn > input[type="checkbox"] {
    display: none;
}

@media only screen and (max-width: 719px) {
    .btn {
        font-size: 1.4rem;  /* 2.8rem; */
        padding: 0.8rem 2rem;   /* 1.6rem 4rem; */
    }

    .btn.large {
        display: block;
        float: none !important;
        font-size: 1.4rem;   /* 2.8rem; */
        padding: 0.9rem 1.5rem; /* 1.8rem 3rem; */
        width: 100%;
    }
    
    .large.btn.fr {
        margin-left: 0rem;
    }

    div.btn-group {
        display: inline-block;              /* block; */
        padding: 0 2rem;                    /* 0 4rem; */
        width: 80%;                         /* fallback */
        width: -webkit-calc(100% - 4rem);   /* auto; */
        width: -moz-calc(100% - 4rem);
        width: -o-calc(100% - 4rem);
        width: calc(100% - 4rem);
    }

    .scroll.btn {
        display: inline-block;
        float: none;
        margin: 4rem 4rem 0;
    }

    .btn-group .btn.dropdown-toggle {
        border: 1px solid #e7e7e7;
        font-size: 1.5rem   /* 3rem; */
        margin: 0 0 2rem;   /* 0 0 4rem; */
        padding: 1rem 2rem; /* 2rem 4rem; */
        width: 100%;

        box-shadow: 0 0 0 #fff;
        -webkit-box-shadow: 0 0 0 #fff;

        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    .btn.dropdown-toggle .caret {
        color: #b1b1b1;
    }

    .btn-group .dropdown-menu {
        top: 5rem;  /* 10rem; */
        left: 2rem; /* 4rem; */
        padding: 2px 0;
    }

    .btn-group .dropdown-menu > li > a {
        font-size: 1.4rem;  /* 2.2rem; */
        padding: 0.6rem 1.3rem; /* taken from desktop 1.2rem 2.6rem; */
    }

    .associated .btn {
        margin: 0 2rem 0 0;
    }

    .associated .btn:last-child {
        margin: 0;
    }

    .caret {
        border-top: 1rem solid #000000;
        border-right: 1rem solid transparent;
        border-left: 1rem solid transparent;
        display: inline-block;
        height: 0;
        margin-left: 0;
        margin-right: 0.5rem;   /* 1rem; */
        margin-top: 0.8rem;     /* 1.6rem; */
        vertical-align: top;
        width: 0;
        position: absolute;
        right: 1rem;            /* 2rem; */
    }
}