.fullwidth {
    width:100%;
}

.left { float:left; }

.right { float:right; }

.clearbox {
    display:block;
    clear:both;
    width:100%;
}
.dontshow {
    display:none;
}

.uppercase {
    text-transform: uppercase;
}

.red,
.error,
small.error,
small.red {
    color:#ff0000;
}

.pointer {
    cursor:pointer;
}
.link {
    color:#007bff;
    cursor:pointer;
}
.link:hover {
    color:#0056b3;
}

.linkred {
    color:#ff0000;
    cursor:pointer;
}
.linkred:hover {
    color:#cc0000;
}

.linkgreen {
    color:#00aa00;
    cursor:pointer;
}
.linkgreen:hover {
    color:#008800;
}

.linkgray {
    color:#333;
    cursor:pointer;
}
.linkgray:hover {
    color:#0056b3;
}

.nopad {
    padding:0;
}

ol,
ul,
dl {
    margin-top: 0;
    margin-bottom: 0;
    padding:0;
}

a {
    text-decoration: none;
}

.column-of-4 {
    width:25%;
    margin:0;
    padding:0;
}

.column-of-5 {
    width:20%;
    margin:0;
    padding:0;
}

#personas .column-of-5,
#sports .column-of-5 {
    width:20%;
    margin:0;
    padding:0;
    border-right:1px solid #e0e0e0;
}
#personas .guest_item {
    float:left;
    display:block;
    width:100%;
    text-align:left;
    padding:0.2em 0 0.2em 0.5em;
    font-size:90%;
    cursor: pointer;
}
#personas .guest_item.guest_item_unpublished {
    background:#e0e0e0;
    color:#888;
}
#personas .guest_item:hover {
    background:#e0e0e0;
}
#personas .guest_item.on {
    background:#aaffaa;
}

div#guest_names,
div#persona_names {
    float:left;
    display:block;
    width:100%;
    min-height:100px;
    margin-top:10px;
}
div#guest_names span,
div#persona_names span {
    float:left;
    border:1px solid #e0e0e0;
    padding:0.2em 0.5em;
    margin:0.2em;
    border-radius: 3px;
    font-size: 90%;
    color:#666;
}
div#persona_names span {
    font-size: 100%;
    font-weight:bold;
}

#sports .sport_item {
    float:left;
    display:block;
    width:100%;
    text-align:left;
    padding:0.2em 0 0.2em 0.5em;
    font-size:90%;
    cursor: pointer;
}
#sports .sport_item:hover {
    background:#e0e0e0;
}
#sports .sport_item.on {
    background:#aaffaa;
}

div#tag_names {
    float:left;
    display:block;
    width:100%;
    min-height:120px;
    margin-top:10px;
}
div#tag_names div.tag {
    float:left;
    border:1px solid #d0d0d0;
    padding:0.4em 0.61em;
    margin:0.2em;
    border-radius: 9px;
    color:#666;
    text-align:left;
}
div#tag_names div.tag span.del {
    display:block;
    float:right;
    width:1.4em;
    height:1.4em;
    cursor:pointer;
    border:1px solid #d0d0d0;
    border-radius: 9px;
    color:#666;
    line-height: 1em;
    margin-left:1em;
    text-align: center;
}
div#tag_names div.tag span.del:hover {
    color:#fff;
    background:#dd0000;
    border-color:#dd0000;
}

.bold,
input.bold,
textarea.bold,
button.bold {
    font-weight:bold;
}

#body {
    display:block;
    float:left;
    width:100%;
    height:auto;
    font-size:100%;
}
#admin_menu {
    position:fixed;
    left:0;
    top:0;
    float:left;
    width:10%;
    height:100%;
    background:#444;
    padding-top:1em;
    color:#fff;
    font-size:90%;
    z-index: 9990;
}
#content {
    float:right;
    display:block;
    clear:right;
    width:80%;
    min-height:100%;
    margin-right:5%;
    padding:2em 0 100px 0;
    font-size:100%;
}



#logout_link {
    float:left;
    margin-left:0.3em;
    font-size:150%;
    color:#999;
}
#logout_link:hover {
    color:#fff;
}
#user_info {
    position:relative;
    top:-1em;
    float:right;
    padding:0;
    margin-right:0.3em;
    font-size:80%;
    color:#999;
}
#chgpw {
    position:relative;
    top:-0.5em;
    float:right;
    padding:0;
    margin-right:0.5em;
    font-size:80%;
    color:#999;
}
#chgpw:hover {
    color:#fff;
}

#admin_menu ul {
    list-style: none;
    padding:0;
    margin-top:2em;
    border-top:1px solid #383838;
}
#admin_menu ul li.menu_item {
    padding:0;
    margin:0;
    float:left;
    display:block;
    width:100%;
    height:auto;
    border-bottom:1px solid #383838;
}
#admin_menu ul li.menu_item a {
    padding:0.5em;
    float:left;
    display:block;
    width:100%;
    height:auto;
    clear:both;
    background:#3f3f3f;
    color:#fff;
    text-decoration: none;
}
#admin_menu ul li.menu_item a:hover {
    background:#383838;
    color:#ddd;
}


fieldset {
    border:1px solid #ddd;
    border-radius: 5px;
    padding:2em;
}

input.error {
    border-color: #ffaaaa;
    color:#ff0000;
    background:#ffcccc;
}
input.error:active {
    border-color: #ffaaaa;
    color:#ff0000;
    background:#ffcccc;
}

ul#media_folders {
    float:left;
    display:block;
    width:100%;
    clear:both;
    padding:1em 1em 1em 0;
    margin:0;
    list-style: none;
}
ul#media_folders li {
    list-style: none;
    display:block;
    float:left;
    padding:0 1em;
    text-align:left;
    font-size:100%;
}
ul#media_folders li.right {
    float:right !important;
}
ul#media_folders li a {
    display:block;
    float:left;
    text-decoration: none;
    text-align:center;
}
ul#media_folders li a i {
    font-size:200%;
}
ul#media_folders li a span.label {
     font-size:80%;
    font-weight:bold;
}


ul#media_files {
    float:left;
    display:block;
    width:100%;
    clear:both;
    padding:1em;
    margin-bottom:1em;
    list-style: none;
}
ul#media_files li {
    list-style: none;
    display:block;
    float:left;
    padding:0.5em;
    margin:0.5em;
    border:1px solid #eee;
    width:250px;
    height:auto;
    text-align:center;
    overflow:hidden;
}
ul#media_files li:hover {
    background: #e5e5e5;
}
ul#media_files li a {
    text-decoration: none;
}
ul#media_files li i {
    font-size:150%;
}
ul#media_files li span.img_wrapper {
    float:left;
    display:block;
    clear:both;
    width:100%;
    height:170px;
    text-align:center;
    overflow:hidden;
}
ul#media_files li span.actions {
    float:left;
    display:block;
    clear:both;
    width:100%;
    text-align:center;
    overflow:hidden;
    margin-top:0.5em;
}


ul#media_files li.gallery_item {
    background:#ffffff;
}
ul#media_files li.gallery_item.on {
    background:#aaffaa;
}
ul#media_files li.gallery_item.on:hover {
    background:#ddffdd;
}

#uploader {
    display:none;
    width:100%;
    clear:both;
    background:#f0f0f0;
    padding:0.5em;
    margin-top:0.5em;
    font-size:80%;
}
#uploader #upload_buttons {
    display:block;
    width:100%;
    clear:both;
    padding:0.5em 0;
}

#filelist {
    padding-top:0.5em;
}
#filelist .file_2_upload {
    line-height:1.7em;
    padding-left:0.5em;
}

#pw_div_wrapper {
    display:none;
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    text-align:center;
    background:url('../img/transparent_black60.png');
    z-index: 99999;
    overflow:hidden;
}
#pw_div {
    display:block;
    position:relative;
    margin-top:5%;
    margin-left:20%;
    min-width:40%;
    max-width:60%;
    min-height:40%;
    max-height:80%;
    background:#fff;
    border-radius: 5px;
    overflow:scroll;
}
#pw_div_closer {
    position:absolute;
    top:0.05em;
    right:0.05em;
    z-index:10000;
}


#action_div_wrapper {
    display:none;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    text-align:center;
    background:url('../img/transparent_black60.png');
    z-index: 99999;
    overflow:hidden;
}
#action_div {
    display:block;
    position:relative;
    margin-top:5%;
    margin-left:20%;
    min-width:50%;
    max-width:75%;
    min-height:50%;
    max-height:80%;
    background:#fff;
    border-radius: 5px;
    overflow:scroll;
}
#action_div_closer {
    position:absolute;
    top:0.05em;
    right:0.05em;
    z-index:10000;
}

#media_status_bar {
    float:left;
    display:block;
    clear:both;
    width:100%;
    background:#444;
    color:#fff;
    font-size:80%;
    padding:0.5em 1em 0.7em 1em;
    margin:0;
}
#media_status_bar_dialog {
    float:left;
    display:block;
    clear:both;
    width:100%;
    background:#fff;
    color:#333;
    font-size:80%;
    padding:1em 0 1em 1em;
    margin:0;
    border-bottom:1px solid #e0e0e0;
}

#frmFilter {
    float:left;
    display:block;
    width:100%;
    padding:0 0 0.5em 0;
    margin:0 0 0.5em 0;
    border-bottom:1px solid #e0e0e0;
    font-size:100%;
}
#frmFilter input,
#frmFilter select,
#frmFilter button {
    font-size:80%;
}
#frmFilter h4 {
    display:inline;
    clear:none;
}

#stories_list,
ul.stories_list {
    float:left;
    display:block;
    width:100%;
    clear:both;
    padding:1em;
    padding-left:0 !important;
    margin-bottom:1em;
    font-size:100%;
    list-style: none;
}
#tag_list li,
#stories_list li,
ul.stories_list li {
    list-style: none;
    display:block;
    float:left;
    padding:0.5em;
    margin:0.5em;
    border:1px solid #ccc;
    width:250px;
    height:420px;
    text-align:center;
    overflow:hidden;
    border-radius: 7px;
}
#stories_list li.beseda,
ul.stories_list li.beseda {
    height:290px;
    text-align:center;
    overflow:hidden;
}
#stories_list li.osobnost,
ul.stories_list li.osobnost {
    height:330px;
    text-align:center;
    overflow:hidden;
}
#tag_list li.tag,
#stories_list li.tag,
ul.stories_list li.tag {
    height:60px;
    text-align:center;
    overflow:hidden;
    position:relative;
}
#contenttag_list li,
#contenttag_list li.contenttag {
    list-style: none;
    display:block;
    float:left;
    padding:0.5em;
    margin:0.5em;
    border:1px solid #ccc;
    width:300px;
    height:250px;
    text-align:center;
    overflow:hidden;
    border-radius: 7px;
    text-align:center;
    position:relative;
}
#tag_list li.tag .tag_bg,
#contenttag_list li.contenttag .tag_bg {
    opacity: 0.3;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    z-index:50;
}
#tag_list li.tag .tag_content,
#contenttag_list li.contenttag .tag_content {
    position: relative;
    z-index:99;
}

#stories_list li.page,
ul.stories_list li.page {
    height:250px;
    text-align:center;
    overflow:hidden;
}
#tag_list li:hover,
#contenttag_list li:hover,
#stories_list li:hover,
.stories_list li:hover {
    background: #e5e5e5;
}
#stories_list li.story_item.concept,
.stories_list li.story_item.concept {
    background: #ffffcc;
}
#stories_list li.story_item.concept:hover,
.stories_list li.story_item.concept:hover {
    background: #ffffaa;
}
#stories_list li.story_item.published,
.stories_list li.story_item.published {
    background: #ddffdd;
}
#stories_list li.story_item.published:hover,
.stories_list li.story_item.published:hover {
    background: #bbffbb;
}
#stories_list li.story_item.unpublished,
.stories_list li.story_item.unpublished {
    background: #e0e0e0;
}
#stories_list li.story_item.unpublished:hover,
.stories_list li.story_item.unpublished:hover {
    background: #d5d5d5;
}

#tag_list li .actions,
#stories_list li .actions,
.stories_list li .actions {
    float:right;
    display:block;
    clear:none;
    font-size:130%;
}
#tag_list li h3.title,
#stories_list li h3.story_title,
.stories_list li h3.story_title {
    float:left;
    display:block;
    clear:none;
    padding:0 0 0.2em 0;
    margin:0;
    width:210px;
    height:1.5em;
    overflow:hidden;
    font-size:100%;
    font-weight:bolder;
    text-align:left;
}
#stories_list li .story_persona,
.stories_list li .story_persona {
    font-size:90%;
}
#stories_list li .story_info,
.stories_list li .story_info {
    display:block;
    float:left;
    clear:both;
    width:100%;
    padding:0.2em;
    background:#f0f0f0;
    font-size:70%;
}
#stories_list li .thumb_wrapper,
.stories_list li .thumb_wrapper {
    float:left;
    display:block;
    clear:both;
    width:100%;
    height:160px;
    overflow:hidden;
}
#stories_list li .thumb_wrapper img,
.stories_list li .thumb_wrapper img {
    width:100%;
}
#stories_list li .story_excerpt,
.stories_list li .story_excerpt {
    float:left;
    display:block;
    width:100%;
    height:155px;
    clear:both;
    margin:0.1em;
    padding:0.2em;
    font-size:70%;
    text-align:left;
}
#stories_list li .story_honours,
.stories_list li .story_honours {
    height:55px;
    overflow:hidden;
    font-size:70%;
    text-align:left;
}

ul.no_list {
    list-style: none;
}
ul.no_list li {
    list-style: none;
}

#pribeh_main_foto_wrapper {
    float:left;
    display:block;
    width:auto;
    clear:both;
    margin:0;
    padding:1em;
    background:#ececec;
    margin-bottom:1em;
}
#pribeh_main_foto_wrapper button {
    margin-top:1em;
    width:100%;
}

.pribeh_edit_btn,
a.pribeh_edit_btn,
button.pribeh_edit_btn {
    display:inline-block;
    width:150px;
    height:auto;
    text-align:center;
    padding:0.5em 0;
    text-decoration: none;
}

textarea#textarea {
    width:80% !important;
}


ul#media_files_dialog {
    float:left;
    display:block;
    width:100%;
    clear:both;
    padding:1em;
    margin-bottom:1em;
    list-style: none;
}
ul#media_files_dialog li {
    list-style: none;
    display:block;
    float:left;
    padding:0.5em;
    margin:0.5em;
    border:1px solid #eee;
    width:190px;
    height:auto;
    text-align:center;
    overflow:hidden;
}
ul#media_files_dialog li:hover {
    background: #e5e5e5;
}
ul#media_files_dialog li a {
    text-decoration: none;
}
ul#media_files_dialog li i {
    font-size:150%;
}
ul#media_files_dialog li span.img_wrapper {
    float:left;
    display:block;
    clear:both;
    width:100%;
    height:130px;
    text-align:center;
    overflow:hidden;
}
ul#media_files_dialog li span.actions {
    float:left;
    display:block;
    clear:both;
    width:100%;
    text-align:center;
    overflow:hidden;
    margin-top:0.5em;
}


.modal-dialog {
    max-width: 900px;
}
.new_sport_container {
    padding: 30px;
    width: 100% !important;
    background-color: #F7F7F7;
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    font-family: roboto;
}
.new_sport_container input {
    border-radius: 3px;
    border:1px solid #d0d0d0;
    padding:0.5em 1em;
}
.new_sport_container input.err {
    border-color:#ff0000;
    color:#ff0000;
}
.new_sport_container textarea {
    border-radius: 3px;
    border:1px solid #d0d0d0;
    padding:0.5em;
    font-size:80%;
}
#tag_img_wrapper {
    width:100%;
    max-width:1000px;
    min-height: 100px;
    max-height: 300px;
    overflow:hidden;
    background: #d0d0d0;
    clear:both;
    margin:0.5em 0 2em 0;
}








@media only screen and (min-width:1600px) {

    #admin_menu {
        width:10%;
    }
    #content {
        width:88%;
        margin:0;
        padding-right:1%;
    }

}

@media only screen and (max-width: 1600px) {

    #admin_menu {
        width:15%;
    }
    #content {
        width:83%;
        margin:0 1% 0 0;
    }

}


@media only screen and (max-width: 1300px) {

    #admin_menu {
        width:20%;
    }
    #content {
        width:78%;
        margin:0 1% 0 0;
    }

}


@media only screen and (max-width: 990px) {

    #admin_menu {
        width:25%;
    }
    #content {
        width:71%;
        margin:0 2% 0 0;
    }

}


@media only screen and (max-width: 820px) {

    #admin_menu {
        position:static;
        float:left;
        display:block;
        width:100%;
        height:auto;
    }
    #content {
        position:static;
        float:left;
        display:block;
        width:96%;
        margin:0 2%;
    }

}


fieldset#stay_content input.form-control {
    display:block;
    float:left;
    width:90%;
    height:auto;
    margin:0;
    padding:0.2em 0.5em;
    line-height:1.8em;
}
fieldset#stay_content span.btn-sm {
    display:block;
    float:left;
    line-height:1.8em;
    height:auto;
    margin:0;
    padding:0.3em 0.5em;
    border:1px solid red;
}




#banner_list h2 {
    float:left;
    display:block;
    width:100%;
    background:#444;
    color:#fff;
    padding:0.5em;
    clear:both;
    margin:2em 0 0 0;
}
#banner_list ul {
    list-style: none;
    background:none;
}
#banner_list ul li.banner_item {
    list-style: none;
    background:none;
    float:left;
    display:block;
    width:100%;
    clear:both;
    margin-bottom:2em;
}
.banner_actions,
.banner_actions_detail {
    float:left;
    display:block;
    clear:both;
    width:50%;
    max-width:900px;
    font-size:140%;
    padding:0.5em 0 0.25em 0;
    margin:0;
    line-height:1em;
    text-align: center;
}
.banner_actions_detail {
    width:300px;
}
#banner_list ul li.banner_item .thumb_wrapper,
#banner_list ul li.banner_item .thumb_wrapper_detail {
    float:left;
    width:50%;
    max-width:900px;
    overflow:hidden;
}
#banner_list ul li.banner_item .thumb_wrapper img {
    width:100% !important;
    max-height:200px !important;
}
#banner_list ul li.banner_item .thumb_wrapper_detail img {
    max-width:300px !important;
}


.left1m {
    margin-left:1em;
}
.left2m {
    margin-left:2em;
}
.left5m {
    margin-left:5em;
}


.border-gray {
    border:1px solid grey;
}

.h-halfem {
    height:0.5em;
}

.form-check input,
.form-check label {
    font-weight:bold;
}
.form-check input#slug_generate {
    transform: scale(1.5);
}

#stories_list li.story_item span.background-text {
    color: #fff;
    font-size: 50pt;
    font-weight: bold;
    position: relative;
    z-index: 10;
    bottom: 60pt;
    right: 0;
}

.flag_en {
    display:inline-block;
    width:40px;
    height:20px;
    background:url('../img/en.svg') left center;
    background-size:cover;
}

label.checkboxlabel {
    padding-left: 0.5em;
    font-weight: bold !important;
    cursor:pointer;
}
