
/* Tab container */

div#preview_container.tabbed_layout {
    width : 200px;
    height : 335px;
}

div#preview_container.tabbed_layout img:first-child{
    max-height: 335px;
    max-width: 200px;
}

.banner div#preview_container.tabbed_layout {
    height: 118px;
    width: 650px;
    margin-bottom: 10px;
}

.banner div#preview_container.tabbed_layout img:first-child{
    max-height: 118px;
    max-width: 650px;
}

div.doc_content.frame.tabbed {
    border: 0 none;
    height: auto;
    overflow-y: hidden;
    background: transparent;
}

.frame.tabbed div.doc_content.doccontent_panel {
    background: white;
}

.frame.tabbed div.doc_content.doccontent_panel.image_panel {
    padding-left: 30px;
    width: 391px;
}

.banner .frame.tabbed div.doc_content.doccontent_panel.image_panel {
    padding-left: 34px;
    width: 616px;
}

.banner div.doc_content.frame.tabbed {
    padding-left: 0;
    float: left;
}

div.doc_content.frame.tabbed div.doc_content.doccontent_panel {
    display: none;
    overflow-y: auto;
    border: 1px #D7D7D7 /*@panel_border*/ solid;
}

.banner div.doc_content.frame.tabbed div.doc_content.doccontent_panel {
    height: 206px;
}

div.doc_content.frame.tabbed div.doc_content.doccontent_panel.selected {
    display: block;
}

div.doc_content.frame > ul {
    margin: 0;
    padding: 0;
    position: relative;
    top: 1px;
}

div.doc_content.frame > ul > li {
    display: inline-block;
    border-bottom: 1px solid #D7D7D7;
    border-left: 1px solid #D7D7D7;
    border-right: 1px solid #D7D7D7;
    padding: 0.5em 1em;
    margin-right: 3px;
    list-style: none outside none;
    text-align: center;
    font-size: 10pt;
    cursor: pointer;
    font-weight: bold;
    border-bottom: medium none;
    visibility: hidden;
    color: #FFFFFF;
}

div.doc_content.frame > ul > li.selected {
    color: #0B6098;
}

/* Common field layout */

.frame.tabbed div.doc_content.doccontent_panel p {
    margin-top: 15px;
}

/* Text field layout */

div.doc_content.doccontent_panel > div input[type=checkbox]{
    height: auto;
    width: auto;
}

div.doc_content.doccontent_panel > div input[type=radio]{
    height: auto;
    width: auto;
}

div.doc_content.doccontent_panel > div textarea {
    height: 150px;
    width: 100%;
}

div.doc_content.doccontent_panel > div.tall_height textarea {
    height: 300px;
}

div.doc_content.doccontent_panel > div.short_height .ck-editor__editable{
    max-height: 150px;
}

div.doc_content.doccontent_panel > div.medium_height .ck-editor__editable{
    max-height: 250px;
}

div.doc_content.doccontent_panel > div.tall_height .ck-editor__editable {
    max-height: 400px;
}

.input-group.form-check:first-of-type:not(:last-of-type):not(:last-child) .input-group-addon, .input-group.form-check:first-of-type:not(:last-of-type):not(:last-child) span.form-control,
.input-group.form-check:first-child:not(:last-of-type):not(:last-child) .input-group-addon, .input-group.form-check:first-child:not(:last-of-type):not(:last-child) span.form-control{
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-width: 0;
}

.input-group.form-check:last-of-type:not(:first-of-type):not(:first-child) .input-group-addon, .input-group.form-check:last-of-type:not(:first-of-type):not(:first-child) span.form-control,
.input-group.form-check:last-child:not(:first-of-type):not(:first-child) .input-group-addon, .input-group.form-check:last-child:not(:first-of-type):not(:first-child) span.form-control{
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.input-group.form-check:not(:first-of-type):not(:first-child):not(:last-of-type):not(:last-child) .input-group-addon, .input-group.form-check:not(:first-of-type):not(:first-child):not(:last-of-type):not(:last-child) span.form-control{
    border-radius: 0;
    border-bottom-width: 0;
}


/* Short height used for translate mode control */
div.doc_content.doccontent_panel > div.short_height iframe {
    height: 68px;
}

/* Image field layout */

div.image_field table,
div.externalmedia_field table,
div.video_field table {
    height: 115px;
    text-align: center;
    cursor: pointer;
    table-layout: fixed;
}

div.image_field table tr td,
div.externalmedia_field table tr td,
div.video_field table tr td,
div.media_field table tr td  {
    padding: 0;
    overflow: hidden;
}

div.image_field table img,
div.externalmedia_field table img,
div.video_field table img{
    color: #AAAAAA;
}

.frame.tabbed div.doc_content.doccontent_panel > div.image_field table tr td,
.frame.tabbed div.doc_content.doccontent_panel > div.externalmedia_field table tr td,
.frame.tabbed div.doc_content.doccontent_panel > div.video_field table tr td {
    width: 140px;
    height: 97px;
}

.banner .frame.tabbed div.doc_content.doccontent_panel > div.image_field table tr td,
.banner .frame.tabbed div.doc_content.doccontent_panel > div.externalmedia_field table tr td,
.banner .frame.tabbed div.doc_content.doccontent_panel > div.video_field table tr td,
.banner .frame.tabbed div.doc_content.doccontent_panel > div.audio table tr td {
    width: 165px;
}

.banner div.doc_content.doccontent_panel > div.image_field table img,
.banner div.doc_content.doccontent_panel > div.externalmedia_field table img,
.banner div.doc_content.doccontent_panel > div.video_field table img{
    max-width: 165px;
}

/* Validation */

div.doc_content.doccontent_panel > div .w2-char-count {
    color: #21559E /*@text_within_count_colour*/;
}

div.doc_content.doccontent_panel > div.min .w2-char-count {
    color: #21559E /*@text_below_min_count_colour*/;
}

div.doc_content.doccontent_panel > div.max .w2-char-count {
    color: #FF0000 /*@text_above_max_count_colour*/;
}

div.doc_content.doccontent_panel > div.mandatory label:after {
    vertical-align: text-top;
    font-size: 80%;
    content:"*";
}

/* Upload / crop tools */

span.pattern:last-child{
    padding-bottom: 10px;
}

.uploadRemote {
    background: url("../../../img/webcomponents/shared/button_small.png");
    float: left;
    width: 67px;
    height: 19px;
    cursor: pointer;
    opacity: 1;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    border-radius : 5px;
    margin-top: 5px;
}

.uploadRemote:active{
    background: url("../../../img/webcomponents/shared/button_small_down.png");
}
.uploadRemote span{
    position: relative;
    bottom: 1px;
    font-size: 9pt;
}

.uploadRemote{
    color:#FFFFFF;
    line-height:16px;
}

#tabs.ui-tabs {
    padding: 0;
    border: 0;
}

#tabs {
    background: transparent !important;
    margin-top: 9px;
    margin-left: 4px;
}


/**************************** Instruction Div  *******************************/

.caption {
    text-align: left;
    color: gray;
    position: relative;
    left: 8px;
}
