html {
    height: 100%;
    position: relative;
}

body {
    margin: 0px;
    padding: 0px;
    background-color: #FFFFFF;
    height: 100%;
}

a {  
    text-decoration: none;  
}  

:focus, :active {  
    outline: 0;  
} 

div {
    margin: 0px;
    padding: 0px;
}

.hidden {
    visibility: hidden;
}

.visible {
    visibility: visible;
}

.left {
    float: left;
}

.right {
    float: right;
}

.center {
    margin-left: auto;
    margin-right: auto;
}

.clear {
    clear: both;
}

.cursor-pointer {
    cursor: pointer;
}

.overflow-hidden {
    overflow: hidden;
}

.cms-form-error {
    color: red;
    font-size: 8pt;
    font-weight: normal;
}

.cms-order {
    background-image: url("/img/jqueryui/theme/smoothness/ui-icons_454545_256x240.png");
    width: 16px;
    height: 16px;
    display: inline-block;
    text-indent: -99999px;
    overflow: hidden;
    background-repeat: no-repeat;
    position: relative;
    top: 3px;
}
.cms-order.asc {
    background-position: -96px -192px;
}
.cms-order.desc {
    background-position: -64px -192px;
}

.resize-none {
    resize: none
}

div.cms-login-box {
    width: 400px;
    height: 230px;
    padding: 10px;
    
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 5px 5px 5px #333;
    
    margin: auto;    
}

div.cms-login-box > h3 {
    font-size: 14pt;
    margin: 0;
    padding: 0.4em;
    text-align: center;
}

div.cms-login-box p {
    margin: 10px 0px;
}

div.cms-login-box input {
    font-size: 16pt;
    width: 385px;
    padding: 3px 5px;
    margin-bottom: 10px;
}

div.cms-top {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 7999;
}

table.cms-body {
    background: url('/img/layout/bodybg.png') 0 0 repeat-y;
    width: 100%;
    height: 100%;
    margin: 65px 0 0;
    border-collapse: collapse;
    border-spacing: 0;
}
table.cms-body > tbody > tr {
    margin: 0px;
    padding: 0px;
}
table.cms-body > tbody > tr > td {
    margin: 0px;
    padding: 0px;
    vertical-align: top;
    text-align: left;
}
table.cms-body > tbody > tr > td.cms-body-menu {
    padding-bottom: 20px;
}

div.cms-menu {
    width: 200px; 
    margin: 0px;
}

div.cms-content {
    width: 100%;    
    margin: 0px;
}

div.cms-breadcrumbs {
    box-shadow: 1px 0px 5px #333;
}

div.cms-action-icon {
    border: 1px solid #627F8E;
    margin: 3px;
    cursor: pointer;
    width: 24px;
    text-align: center;
    padding: 4px 0px 2px;
    margin: 0px auto;
    background: #ccc url("/img/jqueryui/theme/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;
}
div.cms-action-icon:hover {
    background: #ccc url("/img/jqueryui/theme/cupertino/ui-bg_highlight-hard_100_f2f5f7_1x100.png") 50% 50% repeat-x;
}

/* ---------- MENU ---------- */
div#cms-menu-elements {
    border-bottom: 1px solid #627F8E;
}
div#cms-menu-elements > div > h3 {
    display: block;
    cursor: pointer;
    position: relative;
    margin: 0;
    padding: .5em .5em .5em .7em;
    min-height: 0;
    font-size: 100%;
    line-height: 28px;
	background-color: #E3E3E3;
    color: #555;
    font-size: 11pt;
    background: #ccc url("/img/jqueryui/theme/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;
    border-top: 1px solid #627F8E; 
}
div#cms-menu-elements > div > h3.cms-element-active-header, div#cms-menu-elements > div > h3:hover {
    color: #212121;
    background: #ccc url("/img/jqueryui/theme/cupertino/ui-bg_highlight-hard_100_f2f5f7_1x100.png") 50% 50% repeat-x;
}
div#cms-menu-elements > div > div {
    font-size: 10pt;
    padding: 0px;
    display: none;
    border: 1px solid #627F8E; 
    box-shadow: 0px 1px 5px #333;
    margin-bottom: 10px;
}
div#cms-menu-elements > div > div > ul {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

div#cms-menu-elements > div > div > ul > li {
    cursor: pointer;
    padding: 10px;
    background-color: #EBEBEB;
    color: #212121;
    border-bottom: 1px solid #333; 
}
div#cms-menu-elements > div > div > ul > li.cms-element-active-sub, div#cms-menu-elements > div > div > ul > li:hover {
    background-color: #FFFFFF;
}
/* ---------- MENU ---------- */

/* ---------- LIST TABLE ---------- */
div.cms-content > div#content table {
    border: 2px solid #555;
    border-collapse: collapse;
    font-size: 10pt;
    width: 100%;
    color: #212121;
}
div.cms-content > div#content table > thead, div.cms-content > div#content table > tfoot {
    background: #ccc url("/img/jqueryui/theme/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;
    line-height: 30px;
}
div.cms-content > div#content table > thead > tr > th {
    border: 2px solid #555;
    padding: 3px;
    text-align: center;
}
div.cms-content > div#content table > thead > tr > th.ordered-col {
    cursor: pointer;
}
div.cms-content > div#content table > tbody > tr.bg {
    background-color: #F5F5F5;
}
div.cms-content > div#content table > tbody > tr:hover {
    background-color: #FFEF8F;
}
div.cms-content > div#content table > tbody > tr > td  {
    border: 2px solid #555;
    padding: 3px;
    vertical-align: top;
    word-wrap: break-word;
}
div.cms-content > div#content table > tbody > tr > td.clicked {
    cursor: pointer;
}
div.cms-content > div#content table > tbody > tr > td > input[type=checkbox] {
    cursor: pointer;
}
/* ---------- LIST TABLE ---------- */

/* ---------- PANELS ---------- */
div.cms-panel {
    background-color: #F3F3F4;
    border: 1px solid #DBDBDE;
}
div.cms-panel > div.cms-panel-header {
    background: #ccc url("/img/jqueryui/theme/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;
    border-bottom: 1px solid #DBDBDE;
    box-shadow: 0px 1px 5px #333;
    padding: 5px;
    margin: 0;
    font-size: 11pt;
    font-weight: bold;
    text-align: left;
}
div.cms-panel > div.cms-panel-header span {
    font-size: 9pt;
    font-weight: normal;
}
div.cms-panel > div.cms-panel-header span.cms-panel-roll {
    text-decoration: underline;
}
div.cms-panel > div.cms-panel-content {
    padding: 10px;
    margin: 0;
}
div.cms-panel > div.cms-panel-content span {
    font-size: 10pt;
    font-weight: normal;
}
div.cms-panel > div.cms-panel-content input, div.cms-panel > div.cms-panel-content textarea {
    font-size: 10pt;
    padding: 3px 5px;
}
/* ---------- PANELS ---------- */

/* ---------- sortable ---------- */
div.cms-sortable-box .ui-sort-box-highlight { 
    height: 125px; 
    margin-bottom: 15px;
    background-color: #F3F3F4;
    border: 1px solid #DBDBDE;
} 
div.cms-sortable-box > div.cms-panel > div.cms-panel-header {
    cursor: move;
}

ul.cms-sortable-list {
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}
ul.cms-sortable-list > li {
    width: 330px;
    height: 50px;
    overflow: hidden;
    margin: 5px;
    padding: 0px;
    background: #ccc url("/img/jqueryui/theme/cupertino/ui-bg_highlight-hard_100_f2f5f7_1x100.png") 50% 50% repeat-x;
    border: 1px solid #DBDBDE; 
    font-size: 9pt;
    display: inline-block;
    cursor: move;
}
ul#cms-informations-roads-list.cms-sortable-list > li { width: 130px; }
ul#cms-informations-roadtypes-list.cms-sortable-list > li,
ul#cms-informations-slogans-list.cms-sortable-list > li,
ul#cms-informations-states-list.cms-sortable-list > li { width: 230px; }
ul#cms-informations-places-list.cms-sortable-list > li { width: 330px; }
ul#cms-roads-places-list.cms-sortable-list > li { width: 390px; }
ul#cms-galleries-images-list.cms-sortable-list > li {
    height: 140px;
    width: 700px;
    padding: 10px;
    margin: 0px 0px 10px 0px;
    float: none;
    background-image: none;
    background-color: #d6d6d6;
    border: 1px solid #aaa;
}

ul.cms-sortable-list > li > div.multiple-image-no-base-photo {
    cursor: pointer;
}
ul.cms-sortable-list > li > div.multiple-image-no-base-photo > img.base-photo-icon {
    display: none;
}
ul.cms-sortable-list > li > div.multiple-image-base-photo {
    cursor: inherit;
}
ul.cms-sortable-list > li > div.multiple-image-base-photo > img.base-photo-icon {
    position: relative;
    top: -75px;
    left: 55px;
}
/* ---------- sortable ---------- */

.ui-tooltip {
    font-size: 9pt !important;
}
.ui-autocomplete {
    z-index: 9000 !important;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}
.ui-autocomplete.ui-widget {
  font-family: Verdana,Arial,sans-serif;
  font-size: 9pt;
}

.community-object-error {
    font-weight: bold;
    color: #a51010;
}

.cnd-tag-red, .cnd-tag-yellow, .cnd-tag-gray, .cnd-tag-blue, .cnd-tag-green {
    padding: 3px;
    margin: 3px;
    display: inline-block;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    border-radius: 3px;
    white-space: nowrap;
}
.cnd-tag-red:hover, .cnd-tag-yellow:hover, .cnd-tag-gray:hover, .cnd-tag-blue:hover, .cnd-tag-green:hover {
    text-decoration: none;
}
.cnd-tag-red {
    background-color: red;
    color: #fff;
    padding: 3px 6px;
}
.cnd-tag-red:hover {
    color: #fff;
}
.cnd-tag-blue {
    background-color: blue;
    color: #fff;
    padding: 3px 6px;
}
.cnd-tag-blue:hover {
    color: #fff;
}
.cnd-tag-green {
    background-color: green;
    color: #fff;
    padding: 3px 6px;
}
.cnd-tag-green:hover {
    color: #fff;
}

.cnd-tag-yellow {
    background-color: yellow;
    border: 1px solid #000000;
    padding: 2px 6px;
}
.cnd-tag-gray {
    background-color: lightgray;
}
.cnd-tag-yellow:hover, .cnd-tag-gray:hover {
    color: #333;
}

.border-top {
    border-top: 1px solid #dbdbde;
}
.border-bottom {
    border-bottom: 1px solid #dbdbde;
}
.border-left {
    border-left: 1px solid #dbdbde;
}
.border-right {
    border-right: 1px solid #dbdbde;
}
.border-all {
    border: 1px solid #dbdbde;
}
