/* This file contains all the rules which do not fit anywhere else. */

a.icon_link {
    background-image: url('/images/sprite.png');
}

#register_input_css {
    margin-left: 3000px;
    position: absolute;
    display: none;
}

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

.staticpages_index tr>td>a {display: block; width: 100%; height: 100%;}

.plus:before {
    font-weight: bold;
    content: "+ ";
}

/* images - make wordpress styles work */
.alignleft {
    float: left;
    margin-right: 1.1em;
}
.alignright {
    float: right;
    margin-left: 1.1em;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption-text,
.wp-caption-dd {
    font-size: $x-small;
    line-height: 2;
    padding: 0 0.3em 0.4em;
    text-align: left;
}

.register {
    font-size: $medium;
    line-height: 2;

    a.link_more_info,
    a.link_more_info:hover,
    a.link_more_info:focus {
        color: $primary-color;
    }
}

/* class helper */
.hlist ul {
    list-style: none;
    display: inline;
}
.hlist li {
    display: inline-block;
}

.countdown { font-size: $smaller; }

.over { font-size: $smaller; color: darkred; }

section { margin-bottom: 3em; }

.full_teaser h1 {
    margin-left: 0;
    margin-right: 0;
}

/*
Added during template integration
*/

.inline_input_wrapper {
    float: left;
    margin: 0.8em 0;
}

.input_wrapper .right {
    float: right;
}

/* Stats on the front page */
#stats {
    font-size: 1.5em;
    text-align: center;
    border-top: 1px dotted $border;
    padding-top: 1.1em;
}

.sp-replacer {
    margin-bottom: 0.5em;
}

#add_tags {
    padding-bottom: 0.8em;
}

/* Fixes for js.socialshareprivace */

#socialshareprivacy {
    @include pie-clearfix;
}
#socialshareprivacy form {
    padding: 0;
}

iframe {
    border: none;
}

.staticpage_edit {float: right;}

/* Images in user generated contend should never be bigger than their surrounding element */
.static_wrapper,
blockquote,
.text,
.category_body,
.dashboard_bio,
.instance_description,
.comment .body,
.paper_text,
.proposal .body,
section.subpage {
    video,
    iframe,
    img {
        max-width: 100%;
    }
}

.theme-preview {
    height: 5em;
}
