body, html {
    height: 100%;
    margin: 0;
}

body {
    font-family: sans-serif;
    font-size: 15px;
    width: 100%;
    position: relative;
}

.content {
    border: 1px solid rgb(210, 210, 210);
    width: 880px;
    margin: 0 auto;
    overflow: hidden;
}

textarea.editor {
    font-family: sans-serif;


    resize: vertical;
    border: none;
    background: transparent;
    box-shadow: none;
    width: calc(100% - 10px);
    min-height: 500px;
    margin: 0;
    font-size: 15px;
    float: left;
    padding: 5px;
    border-radius: 0;
}

textarea.editor:focus, input[type=text].popup_textbox {
    outline: 0;
}

img.media_previewImg {
    border: none;
    height: 100%;
}

/***********************************/

.editor_inputArea {
    width: calc(100% - 10px);
    overflow: hidden;
    margin: 4px;
    border: 1px solid rgb(210, 210, 210);
}

.editor_buttonSection {
    width: calc(100% - 10px);
    padding: 5px;
    border-bottom: 1px solid rgb(210, 210, 210);
    background-color: rgb(240, 240, 240);
    float: left;
}

.editor_textSection {
    width: 100%;
    float: left;
}

.editor_bottomSection {
    width: calc(100% - 10px);
    padding: 5px;
    background-color: rgb(240, 240, 240);
    float: left;
}

/********************************/

.editor_button, .editor_button_focus {
    border-radius: 2px;
    width: 22px;
    height: 22px;
    float: left;
    margin-right: 5px;
    cursor: pointer;
    background-color: rgb(255, 255, 255);
}

.editor_button:hover {
    background-color: rgb(210, 210, 210);
}

.editor_button_focus {
    background-color: rgb(180, 210, 210);
}

.editor_textButton, .editor_textButton_focus {
    font-size: 13px;
    float: left;
    background-color: rgb(255, 255, 255);
    border: none;
    border-radius: 2px;
    padding: 5px 10px;
    cursor: pointer;
    margin: 0 5px 0 0;
}

.editor_textButton:hover {
    background-color: rgb(210, 210, 210);
}

.editor_textButton_focus {
    background-color: rgb(180, 210, 210);
}

/****************************************/

.editor_buttonSpacer {
    border-right: 1px solid rgb(210, 210, 210);
    margin-right: 10px;
    margin-left: 5px;
    height: 22px;
    float: left;
}

/**********************************/

.media_inputArea {
    width: calc(100% - 10px);
    overflow: hidden;
    margin: 4px;
    border: 1px solid rgb(210, 210, 210);
}

.media_heading {
    width: calc(100% - 10px);
    padding: 5px;
    border-bottom: 1px solid rgb(210, 210, 210);
    background-color: rgb(240, 240, 240);
    float: left;
}

.media_uploadSection {
    width: calc(100% - 10px);
    min-height: 120px;
    padding: 5px;
    border-bottom: 1px solid rgb(210, 210, 210);
    float: left;
}

.media_administrationSection {
    width: calc(100% - 10px);
    min-height: 100px;
    overflow: hidden;
    padding: 5px;
    float: left;
}

.media_bottomSection {
    width: calc(100% - 10px);
    padding: 5px;
    background-color: rgb(240, 240, 240);
    float: left;
}


.media_previewBox {
    height: 100px;
    border: 3px solid white;
    float: left;
    cursor: pointer;
}

.media_previewBox:hover {
    border: 3px solid rgb(210,210,210);
}

.media_uploadProgressBox {
    width: 100%;
    float: left;
    overflow: hidden;
    border-bottom: 1px solid rgb(210,210,210);
}

.media_uploadProgress {
    padding: 5px 0;
    width: 0;
    height: 100%;
    background-color: rgb(180,210,210);
}

/*********************/

.popup_background {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 100;
    background-color: rgba(0,0,0,0.6);
}

.popup_main {
    border-radius: 2px;
    position: fixed;
    width: 600px;
    top: 150px;
    left: calc(50% - 300px);
    background-color: white;
    border: 1px solid rgb(210, 210, 210);
    margin: 0 auto;
    box-shadow: rgba(0,0,0,0.6) 0 0 30px;
}

.popup_heading {
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    width: 100%;
    float: left;
    text-align: center;
    font-weight: bold;
    padding: 10px 0;
    font-size: 16px;
    background-color: rgb(240, 240, 240);
    border-bottom: 1px solid rgb(210, 210, 210);
}

.popup_content {
    width: calc(100% - 20px);
    padding: 10px;
    float: left;
}

.popup_bottom {
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    width: calc(100% - 10px);
    float: left;
    padding: 5px;
    background-color: rgb(240, 240, 240);
}

input[type=text].popup_textbox {
    padding: 5px;
    width: calc(100% - 10px);
    margin-bottom: 5px;
    border-radius: 2px;
    border: 1px solid rgb(210, 210, 210);

}

/**********************************/


/** test **/
.test {
    width: 800px;
    height: 1000px;
    float: left;
}