/* new RM buttons, we have to remove .btn from bootstrap.css */
.btn {
    background: #fcfcfc;
    color: #333;
    font-size: 15px;
    font-family: 'Whitney SSm A', 'Whitney SSm B', Tahoma, sans-serif;
    font-weight: normal;
    line-height: 18px;
    padding: 8px 16px;

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

    -webkit-text-shadow: none;
    -moz-text-shadow: none;
    text-shadow: none;

    -webkit-transition: background-color 300ms linear;
    -moz-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    -o-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}
.btn:hover {
    background: #fff;
}
.btn:focus,
.btn-ico:focus {
    outline: none;
}
.btn.disabled, .btn[disabled] {
    background: rgba(71, 154, 210, .3);
    color: #ddd;
}
.btn:active {
    -webkit-text-shadow: none;
        -moz-text-shadow: none;
            text-shadow: none;

    -webkit-box-shadow: 0 0 0;
        -moz-box-shadow: 0 0 0;
            box-shadow: 0 0 0;
}
.btn-ico {
    background: transparent;
    border: 0;
    color: #333;
    font-size: 22px;
    font-weight: normal;
    line-height: 18px;
    padding: 0 10px;
    vertical-align: middle;

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

    -webkit-text-shadow: none;
    -moz-text-shadow: none;
    text-shadow: none;

    -webkit-transition: background-color 300ms linear;
    -moz-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    -o-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}
.btn-ico:hover {
    color: #fff;
    text-decoration: none;
}
/*.btn.cancel,*/
.btn.gray {
    background: #a8a8a8;
    border-color: #a8a8a8;
    color: white;
}
.btn.cancel:hover,
.btn.gray:hover {
    background: #9f9f9f;
}
.btn.cancel.disabled, .btn.cancel[disabled],
.btn.gray.disabled, .btn.gray[disabled] {
    background: rgba(168, 168, 168, .3);
}

.btn-primary {
    background: #479ad2;
    border: 0;
    color: white;

    -webkit-text-shadow: none;
        -moz-text-shadow: none;
            text-shadow: none;
}
.btn-primary:hover {
    background: #338fcd;
    color: white;

    -webkit-text-shadow: none;
        -moz-text-shadow: none;
            text-shadow: none;
}
.btn-primary.disabled, .btn-primary[disabled] {
    background: rgba(71, 154, 210, .3);
    color: white;
    border-color: transparent;
}

.publish-story .btn {
    font-size: 16px;
    line-height: 19px;
    vertical-align: middle;
}

/* icons */
.button .icon {
    background-color: transparent;
    background-image: url("/static/img/sprites/icons-buttons.png?8");
    background-position: 0 0;
    background-repeat: no-repeat;
}

/* =large buttons */
.large-btn {
    display: inline-block;
    border: 1px solid #c0c0c0;
    border-top-color: #ebebeb;
    border-left-color: #ebebeb;
    background: rgb(250,250,250);

    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZhZmFmYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNGY0ZjQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgba(250,250,250,1) 0%, rgba(244,244,244,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(250,250,250,1)), color-stop(100%,rgba(244,244,244,1)));
    background: -webkit-linear-gradient(top,  rgba(250,250,250,1) 0%,rgba(244,244,244,1) 100%);
    background: -o-linear-gradient(top,  rgba(250,250,250,1) 0%,rgba(244,244,244,1) 100%);
    background: -ms-linear-gradient(top,  rgba(250,250,250,1) 0%,rgba(244,244,244,1) 100%);
    background: linear-gradient(to bottom,  rgba(250,250,250,1) 0%,rgba(244,244,244,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#f4f4f4',GradientType=0 );
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    font: bold 16px/32px Arial, Tahoma, sans-serif;
    min-width: 240px;
    padding: 11px 10px 9px;
    margin: 0 0 15px;
    text-decoration: none;
    color: #333;
    vertical-align: top;
    text-align: left;
}
.large-btn.disabled {
    pointer-events: none;
    cursor: default;
    color: #d3d3d3;
}
.lt-ie10 .large-btn  { filter: none;}
.large-btn:hover {
    background: #f1f1f1;
    color: #333;
    text-decoration: none;
}
.large-btn .icons {
    margin: 0 4px 0 0;
    position: relative;
    top: -2px;
}
.large-btn.sm {
    width: auto;
    margin: 0 12px 15px 0;
}
.large-btn.sm .icons { margin: 0; }
/* large buttons */

/* feedback on dashboard / pricing and RM blog */
.main_feedback {
    background-color: #2F7597;
    -webkit-transition: background-color 300ms ease-out;
    -moz-transition: background-color 300ms ease-out;
    -o-transition: background-color 300ms ease-out;
    transition: background-color 300ms ease-out;

    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;

    margin: -20px 0 0 0;
    padding: 10px 0;

    position: fixed;
    left: 0;
    top: 50%;
    width: 33px;
}
.main_feedback:hover {
    background-color: #145A7C;
    -webkit-border-radius: 0 3px 3px 0;
    -moz-border-radius: 0 3px 3px 0;
    border-radius: 0 3px 3px 0;
    width: 37px;
}
.change-story .file-form .btn {
    background: #479ad2;
}
.change-story .file-form .btn:hover,
.change-story .file-form .btn.ui-state-hover {
    background: #338fcd;
}
.input-form .btn {
    border: 0;
    margin-bottom: 0;
    background-color: #479ad2;
}
.input-form .btn[disabled] {
    background-color: #3777a3;
}

/* Custom Selector */
.select-control {
    display: inline-block;
    position: relative;
}
    .select-control__headline {
        font-size: 12px;
        position: relative;
        padding-right: 25px;
        cursor: pointer;
        color: #8e8e8e;
    }
    .select-control__headline:after {
        content: "";
        position: absolute;
        right: 10px;
        top: 5px;
        width: 5px;
        height: 5px;
        border-left: 1px solid #909090;
        border-bottom: 1px solid #909090;
        transform: rotate(-45deg);
    }
    .select-control-opened:after {
        transform: rotate(-225deg);
        top: 8px;
    }
    .select-control-opened .select-control-wrapper {
        display: block;
    }
    .select-control-wrapper {
        display: none;
        margin: 0;
        padding: 0;
        list-style: none;
        position: absolute;
        left: 0;
        top: 22px;
        background: #fff;
        width: 160px;
        padding: 13px 20px 15px;
        border: 1px solid #eaeaea;
        box-sizing: border-box;
        -webkit-box-shadow: 11px 11px 49px -24px rgba(0,0,0,.75);
        box-shadow: 11px 11px 49px -24px rgba(0,0,0,.75);
        z-index: 1;
    }
        .select-control-item {
            font-size: 14px;
            color: #333333;
            font-weight: normal;
            padding: 7px 0;
            cursor: pointer;
        }
        .select-control-item.active {
            font-weight: 600;
            padding-right: 20px;
            background: url(/static/img/icons/check-green@2x.png) no-repeat 100% 50%;
            background-size: 12px 9px;
        }
/* Custom Selector */
