@media (max-width: 479px ) {
    body { content: "mini" }
    body .zwirni_portal_box.uk-visible-mini { display: block !important }
    body .zwirni_portal_box.uk-hidden-mini { display: none !important }
    body #zwirni_portal_options_1 { display: none }
}
@media (min-width: 480px ) and (max-width: 767px ) {
    body { content: "small" }
    body .zwirni_portal_box.uk-visible-small { display: block !important }
    body .zwirni_portal_box.uk-hidden-small { display: none !important }
    body #zwirni_portal_options_1 { display: none } 
}
@media (min-width: 768px ) and (max-width: 959px ) {
    body { content: "medium" }
    body .zwirni_portal_box.uk-visible-medium { display: block !important }
    body .zwirni_portal_box.uk-hidden-medium { display: none !important }
    body #zwirni_portal_options_1 { display: none }
}
@media (min-width: 960px ) and (max-width: 1199px ) {
    body { content: "large" }
    body .zwirni_portal_box.uk-visible-large { display: block !important }
    body .zwirni_portal_box.uk-hidden-large { display: none !important }
}
@media (min-width: 1200px ) {
    body { content: "xlarge" }
    body .zwirni_portal_box.uk-width-xlarge-1-2 { display: block !important }
    body .zwirni_portal_box.uk-width-xlarge-10-10 { width: 100%; }
    body .zwirni_portal_box.uk-visible-xlarge { display: block !important }
    body .zwirni_portal_box.uk-hidden-xlarge { display: none !important }
}

html.zwirni_portal_editmode_active .uk-modal-page body { padding-right: 0 !important }

.zwirni_portal_frame .uk-grid > div > div > div { 
    position: relative;
    z-index: 1 
}

.zwirni_portal_editmode_active .uk-grid > div > div > div:after {
    clear: both;
    content: "";
    display: block;
    float: none;
}

.zwirni_portal_editmode_active .uk-grid > div > div > div.zwirni_portal_edit_border, .zwirni_portal_edit_border {
    background-color: #568cbd;
    padding: 0;
    position: absolute;
    z-index: 100;
}

.uk-grid > div > div > div.zwirni_portal_edit_border_top, body .zwirni_portal_frame .zwirni_portal_edit_border_top {
    height: 3px;
    left: 0;
    top: 0;
    width: 100%;
}

.uk-grid > div > div > div.zwirni_portal_edit_border_left, body .zwirni_portal_frame .zwirni_portal_edit_border_left {
    cursor: e-resize !important;
    width: 3px;
    left: 0;
    top: 0;
    height: 100%;
}

.uk-grid > div > div > div.zwirni_portal_edit_border_bottom, body .zwirni_portal_frame .zwirni_portal_edit_border_bottom {
    height: 3px;
    left: 0;
    bottom: 0;
    width: 100%;
}

.uk-grid > div > div > div.zwirni_portal_edit_border_right, body .zwirni_portal_frame .zwirni_portal_edit_border_right {
    cursor: e-resize !important;
    width: 3px;
    right: 0;
    top: 0;
    height: 100%;
}

.zwirni_portal_edit_editoptions {
    background-color: rgba(86,140,189,0.6);
    display: none;
    position: absolute;
    top: 3px;
    right: 3px;
    left: 3px;
    bottom: 3px;
    z-index: 1000;
}

.editedbox > div > div > div > div > div > div > div.zwirni_portal_edit_editoptions {
    display: block;
}

.zwirni_portal_edit_editoptions > div {
    display: table;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.zwirni_portal_edit_editoptions > div > div {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.zwirni_portal_edit_editoptions ul { 
    background-color: rgba(255,255,255,0.8);
    border-radius: 16px;
    display: inline-block;
    margin: 0;
    padding: 8px 8px 0;
    text-align: center;
    transition: background-color 1s;
    width: auto;
}

.zwirni_portal_edit_editoptions ul:hover {
    background-color: #fff;
}

.zwirni_portal_edit_editoptions li {
    display: inline-block;
    list-style: none;
    margin: 0 8px 8px;
    padding: 0;
}

#zwirni-portal-confirmmessages {
    position: fixed;
    top: 68px;
    right: 68px;
    width: 320px;
    z-index: 8000;
}

#zwirni-portal-confirmmessages.hide {
    display: none;
}

#zwirni-portal-confirmmessages.show {
    display: block;
}

.zwirni-portal-confirmmessage {
    background-color: rgba(0,0,0,0.7);
    border-radius: 8px;
}

.zwirni-portal-confirmmessage:first-child { display: none; }

.zwirni-portal-confirmmessage.hide {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: visibility 2s, opacity 2s linear;
    -moz-transition: visibility 2s, opacity 2s linear;
    -o-transition: visibility 2s, opacity 2s linear;
    transition: visibility 2s, opacity 2s linear;
}

.zwirni-portal-confirmmessage.show {
    visibility: visible;
    opacity: 1;
    -webkit-transition: visibility 2s, opacity 2s linear;
    -moz-transition: visibility 2s, opacity 2s linear;
    -o-transition: visibility 2s, opacity 2s linear;
    transition: visibility 2s, opacity 2s linear;
}

.zwirni-portal-confirmmessage p {
    color: #fff;
    margin: 0;
    padding: 12px;
}

.zwirni_portal_highlightbox > div {
    background-color: #ff9999;
}

.zwirni_portal_highlightbox > div .zwirni_portal_edit_editoptions ul {
    background-color: transparent;
}

body .zwirni_portal_frame .zwirni_portal_box {
    background-color: transparent;
    clear: both;
    border: 0;
    float: none;
    -webkit-transition: opacity .2s linear;
    -moz-transition: opacity .2s linear;
    -o-transition: opacity .2s linear;
    transition: opacity .2s linear;
}

/*body .zwirni_portal_frame .zwirni_portal_box  .zwirni_portal_box.uk-margin-bottom { margin-bottom: 0 !important }*/

body .zwirni_portal_frame .zwirni_portal_box.zwirni_portal_box.notdragged {
    opacity: 0.6;
    z-index: 6000;
}

body .zwirni_portal_frame .zwirni_portal_box.zwirni_portal_box.dragged {
    z-index: 8000;
}

body .zwirni_portal_frame .zwirni_portal_box.zwirni_portal_box.notdragged.ui-draggable-hover {
    opacity: 0.8;
}

.zwirni_portal_frame[data-editmode="true"] div.ui-draggable > div {
    cursor: pointer;
}

.zwirni_portal_box.removeborder > div.cf-box-border { 
    background-color: transparent;
    border: 0;
}

.zwirni_portal_box.removeborder > div.cf-box-border > div {
    box-shadow: none;
}

#zwirni_portal_iframe {
    background-color: #ccc;
    background-image:
        linear-gradient(transparent, transparent 30px, white 30px, white 32px), 
        linear-gradient(to right, transparent, transparent 30px, white 30px, white 32px);
    background-repeat: repeat-y, repeat-x;
    background-size: 100% 32px, 32px 100%;
    height: 100%;
    overflow: hidden;
}

#zwirni_portal_iframe > div#resizable {
    position: fixed;
    top: 24px;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 14px;
    z-index: 100;
}

#zwirni_portal_iframe > div#resizable > iframe {
    border: 0;
    box-shadow: 0 0 10px #000;
    display: block;
    height: 100%;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
}

#zwirni_portal_iframe #temp_div {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5000;
}

#zwirni_portal_iframe_options {
    margin: 3px 0 0;
    padding: 0;
    text-align: center;
    width: 100%;
}

#zwirni_portal_iframe_options li {
    display: inline-block;
}

#zwirni_portal_options_1 {
    position: fixed;
    top: 52px;
    right: 8px;
    z-index: 9000;
}

#zwirni_portal_options_1.big {
    width: 48px;
}

#zwirni_portal_options_1 > div > a {
    display: block;
    width: 42px;
}

#zwirni_portal_options_1.big > div > a {
    height: 42px;
    width: 48px;
}

#zwirni_portal_options_1.big > div > a > i {
    position: relative;
    top: 6px;
    z-index: 1;
}

#zwirni_portal_options_2 {
    position: fixed;
    bottom: 12px;
    right: 8px;
    z-index: 6000;
}

#zwirni_portal_options_2.big {
    width: 68px;
}

#zwirni_portal_options_2 > div > a {
    display: block;
    width: 42px;
}

#zwirni_portal_options_2.big > div > a {
    height: 48px;
    width: 58px;
}

#zwirni_portal_options_2.big > div > a > i {
    position: relative;
    top: 6px;
    z-index: 1;
}

.uk-modal { z-index: 10000; }

#zwirni_portal_loading {
    background-color: rgba(0,0,0,0.6);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    z-index: 9000;
}

#zwirni_portal_loading p {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,.3);
    padding: 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -200px;
    margin-top: -20px;
    height: 40px;
    width: 200px;
    z-index: 10000;
}

.zwirni_portal_newesttopics_filter {
    background-color: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    color: #ffdf00 !important;
    cursor: pointer;
}

.zwirni-portal-modal .uk-modal-dialog {
    max-height: 540px;
    overflow-y: auto;
}@media (min-width: 1200px ) {
            body .zwirni_portal_page_1 {
                margin: 0 auto !important;
                width: 1200px;
            }
        }
        @media (min-width: 1200px ) {
            body .zwirni_portal_page_3 {
                margin: 0 auto !important;
                width: 1172px;
            }
        }
        @media (min-width: 1200px ) {
            body .zwirni_portal_page_7 {
                margin: 0 auto !important;
                width: 1200px;
            }
        }
        @media (min-width: 1200px ) {
            body .zwirni_portal_page_9 {
                margin: 0 auto !important;
                width: 1200px;
            }
        }
        