/*

TypePad App: Buttons
Six Apart
http://www.sixapart.com/

*/


/* ------------------------------------------------------------------------ */

/* Simple Buttons */

.tp-button {
    float: left;
    position: relative;
}

.tp-button .button a {
    margin: 0 2px;
    border: 1px solid #d9d9d9;
    padding: 0 9px;
    color: white;
    height: 22px;
    font-size: 12px;
    line-height: 18px;
    text-decoration: none;
    text-shadow: #fff 0 1px 0;
    background-color: #f2f2f2;
    background-image: url();
    background-image: -webkit-gradient(linear, left top, left bottom, from(#e5e5e5), to(#f2f2f2));
    background-image: -moz-linear-gradient(#e5e5e5, #f2f2f2);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled='true', startColorstr=#e5e5e5, endColorstr=#f2f2f2, GradientType=0);
    background-repeat: repeat-x;
    background-position: left top;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    box-shadow: 0 1px 0 #fff;
    -webkit-box-shadow: 0 1px 0 #fff;
    -moz-box-shadow: 0 1px 0 #fff;
}

.tp-button .button a:hover {
    text-decoration: none;
}

.tp-button .button a:hover,
.tp-button .button a:active,
.tp-button .flyout-focus .button a {
    border-color: black;
    background-color: #333;
    background-image: -webkit-gradient(linear, left top, left bottom, from(black), to(#333));
    background-image: -moz-linear-gradient(black, #333);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled='true', startColorstr=black, endColorstr=#333, GradientType=0);
}

.tp-button .button a span {
    padding: 0 10px 0 0;
    background-image: url(../../../images/app/design/buttons/down.png);
    background-repeat: no-repeat;
    background-position: right center;
}

.tp-button .menu {
    display: none;
    position: absolute;
    top: 20px;
    left: 2px;
    border-width: 1px;
    border-style: solid;
    border-color: #e5e5e5 #ccc #ccc #e5e5e5;
    background-color: #fff;
    z-index: 10;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    box-shadow: 0 0 2px #e5e5e5;
    -webkit-box-shadow: 0 0 2px #e5e5e5;
    -moz-box-shadow: 0 0 2px #e5e5e5;
}

.tp-button .flyout-focus .menu {
    display: block;
}

.tp-button .menu ul {
    padding: 5px 0;
}

.tp-button .menu a {
    display: block;
    padding: 0 14px;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}

.tp-button .menu a:hover {
    color: #fff;
    text-decoration: none;
    background-color: #287098;
}

/* Colors */

.tp-button .button-green a {
    border-color: #7fbd32;
    color: #fff;
    text-shadow: #4c8a00 0 -1px 0;
    background-color: #7fbd32;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#8fce43), to(#7fbd32));
    background-image: -moz-linear-gradient(#8fce43, #7fbd32);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled='true', startColorstr=#8fce43, endColorstr=#7fbd32, GradientType=0);
}

.tp-button .button-green a:hover,
.tp-button .button-green a:active,
.tp-button .flyout-focus .button-green a {
    border-color: #6eac21;
    text-shadow: #3b7900 0 -1px 0;
    background-color: #6eac21;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#7fbd32), to(#6eac21));
    background-image: -moz-linear-gradient(#7fbd32, #6eac21);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled='true', startColorstr=#7fbd32, endColorstr=#6eac21, GradientType=0);
}

.tp-button .button-sky a {
    border-color: #07dded;
    color: #047780;
    text-shadow: #b1f1f8 0 1px 0;
    background-color: #07dded;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#b1f1f8), to(#07dded));
    background-image: -moz-linear-gradient(#b1f1f8, #07dded);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled='true', startColorstr=#b1f1f8, endColorstr=#07dded, GradientType=0);
}

.tp-button .button-sky a:hover,
.tp-button .button-sky a:active,
.tp-button .flyout-focus .button-sky a {
    border-color: #6eac21;
    text-shadow: #3b7900 0 -1px 0;
    background-color: #6eac21;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#07dded), to(#6eac21));
    background-image: -moz-linear-gradient(#07dded, #6eac21);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled='true', startColorstr=#07dded, endColorstr=#6eac21, GradientType=0);
}

.tp-button .button-red a {
    border-color: #bd3232;
    color: #fff;
    text-shadow: #8a0000 0 -1px 0;
    background-color: #bd3232;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ce4343), to(#bd3232));
    background-image: -moz-linear-gradient(#ce4343, #bd3232);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled='true', startColorstr=#ce4343, endColorstr=#bd3232, GradientType=0);
}

.tp-button .button-red a:hover,
.tp-button .button-red a:active,
.tp-button .flyout-focus .button-red a {
    border-color: #ac2121;
    text-shadow: #790000 0 -1px 0;
    background-color: #ac2121;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#bd3232), to(#ac2121));
    background-image: -moz-linear-gradient(#bd3232, #ac2121);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled='true', startColorstr=#bd3232, endColorstr=#ac2121, GradientType=0);
}

.tp-button .button-orange a {
    /*border-color: #f90;*/
    color: white;
    font-weight: normal;
    font-size: 28px;
    font-family: "alternate-gothic-no-2-d", sans-serif;
    text-shadow: #ff0 0 1px 1px;
    background-color: #f90;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f90), to(#fc0));
    background-image: -moz-linear-gradient(#f90, #fc0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled='true', startColorstr=#ff9900, endColorstr=#ffcc00, GradientType=0);
    box-shadow: 0 0 0 transparent;
    -webkit-box-shadow: 0 0 0 transparent;
    -moz-box-shadow: 0 0 0 transparent;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
}

.tp-button .button-orange a:hover,
.tp-button .button-orange a:active,
.tp-button .flyout-focus .button-orange a {
    border-color: black;
    color: white; 
    background-color: black;
    background-image: -webkit-gradient(linear, left top, left bottom, from(black), to(#333));
    background-image: -moz-linear-gradient(black, #333);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled='true', startColorstr=#aaaaaa, endColorstr=#333333, GradientType=0);
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
}

.tp-button .button-dark a {
    border-color: #bfbfbf;
    color: #000;
    background-color: #d9d9d9;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#d9d9d9), to(#ccc));
    background-image: -moz-linear-gradient(#d9d9d9, #ccc);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled='true', startColorstr=#d9d9d9, endColorstr=#cccccc, GradientType=0);
}

.tp-button .button-dark a:hover,
.tp-button .button-dark a:active,
.tp-button .flyout-focus .button-dark a {
    border-color: #b3b3b3;
    background-color: #ccc;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#bfbfbf));
    background-image: -moz-linear-gradient(#ccc, #bfbfbf);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled='true', startColorstr=#cccccc, endColorstr=#bfbfbf, GradientType=0);
}

.tp-button .button-darkest a {
    border-color: #222;
    color: #ccc;
    text-shadow: #000 0 -1px 0;
    background-color: #444;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#444), to(#333));
    background-image: -moz-linear-gradient(#444, #333);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled='true', startColorstr=#444444, endColorstr=#333333, GradientType=0);
}

.tp-button .button-darkest a:hover,
.tp-button .button-darkest a:active,
.tp-button .flyout-focus .button-darkest a {
    border-color: #111;
    background-color: #333;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#333), to(#222));
    background-image: -moz-linear-gradient(#333, #222);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled='true', startColorstr=#333333, endColorstr=#222222, GradientType=0);
}

/* Sizes */

.tp-button .button-l a {
    padding: 9px 0 2px 20px;
    font-size: 13px;
    width: 165px;
    margin-left: 160px;
    display: block;
}

.tp-button .button-m a {
    padding: 9px 0 2px 20px;
    font-size: 13px;
    width: 165px;
    display: block;
}

.tp-button .button-xl a {
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 18px;
    line-height: 22px;
}

/* Bar */

.tp-button-bar {
    margin: 0 -2px;
}

/* Alignment */

.tp-button-bar-center {
    text-align: center;
}

.tp-button-bar-center .tp-button {
    display: inline-block;
    float: none;
}


/* ------------------------------------------------------------------------ */

/* Compose Buttons */

.compose-button a {
    display: block;
    padding: 4px;
    color: #533215;
    font-weight: bold;
    text-align: center;
    background-color: #fedb62;
    background-image: url(../../../images/app/global/blog-nav-compose-bg.png);
    background-repeat: repeat-x;
    background-position: left bottom;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    box-shadow: 1px 1px 2px #666;
    -webkit-box-shadow: 1px 1px 2px #666;
    -moz-box-shadow: 1px 1px 2px #666;
}


/* ------------------------------------------------------------------------ */

/* Menu Buttons */

.menu-button .button a {
    display: block;
    border-width: 0 1px 1px 0;
    border-style: solid;
    border-color: #d6d6d6;
    padding: 3px 5px 2px 8px;
    font-size: 0.85em;
    background-color: #f5f5f5;
    background-image: url(../../../images/app/buttons/button-menu-more-bg.png);
    background-repeat: repeat-x;
    background-position: left bottom;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    box-shadow: 1px 1px 2px #e0e0e0;
    -webkit-box-shadow: 1px 1px 2px #e0e0e0;
    -moz-box-shadow: 1px 1px 2px #e0e0e0;
}

.menu-button .button a span {
    display: block;
    background-image: url(../../../images/app/buttons/button-menu-more-arrows.png);
    background-repeat: no-repeat;
    background-position: right center;
}

.menu-button .menu {
    display: none;
    position: absolute;
    width: 200px;
    margin-top: 1px;
    border-width: 0 1px 1px 0;
    border-style: solid;
    border-color: #d6d6d6;
    padding: 5px 0;
    background-color: #f5f5f5;
    z-index: 10;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    box-shadow: 1px 1px 2px #e0e0e0;
    -webkit-box-shadow: 1px 1px 2px #e0e0e0;
    -moz-box-shadow: 1px 1px 2px #e0e0e0;
}

.flyout-focus-blog-actions .menu-button .menu,
.flyout-focus-album-actions .menu-button .menu,
.flyout-focus-typelist-actions .menu-button .menu {
    display: block;
}

.menu-button .menu a {
    display: block;
    padding: 2px 10px;
}

.menu-button .menu a:hover,
.menu-button .menu a:active {
    color: #fff;
    text-decoration: none;
    background-color: #287098;
}
