/* ----------------------
/* Overide EzPublish Front Editing
   --------------------  */

/* ----------------------
/* Container
   --------------------  */

.layout tbody > tr:first-child > td:first-child {
    padding: 40px;
    color: #fff;
    background-color: #474FB5;
}


/* ----------------------
/* Title
   --------------------  */

.maincontentheader > h1 {
    margin-bottom: 1.5rem;
    font-family: 'Gotham',Arial;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
}


/* ----------------------
/* Field
   --------------------  */

div.block[class*="ezcca-edit-datatype"] {
    margin-top: 30px;
    border-bottom: 1px solid #fff;
    padding-bottom: 29px;
    margin-bottom: 30px;
}
div.block[class*="ezcca-edit-datatype"]:last-of-type { border-bottom: none; }

div.block[class*="ezcca-edit-datatype"] + label {
    display: block;
    margin-bottom: .5rem;
    font-size: 1em;
    font-weight: 300;
    color: #fff;
}

div.block[class*="ezcca-edit-datatype"] .classattribute-description {
    font-style: italic;
    font-size: 0.8em;
    margin-left: 20px;
}

div.block[class*="ezcca-edit-datatype"] .box {
    display: block;
    width: 100%;
    border: 1px solid #fff;
    border-radius: 0;
    padding: 9px 10px;
    outline: 0;
    vertical-align: middle;
    line-height: 20px;
    font-weight: 400;
    font-size: .7rem;
    text-align: inherit;
    color: #1a1d56;
    background-color: #fff;
    -webkit-appearance: textfield;
}

div.block[class*="ezcca-edit-datatype-ezboolean"] > label {
    vertical-align: middle;
    display: inline-block;
}

div.block[class*="ezcca-edit-datatype-ezboolean"] > input[type="checkbox"] {
    vertical-align: top;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}
div.block[class*="ezcca-edit-datatype-ezboolean"] > input[type="checkbox"]:checked {
    background: #00b8ec;
    background: -moz-radial-gradient(center, ellipse cover, #00b8ec 1%, #00b8ec 1%, #00b8ec 50%, #ffffff 51%, #ffffff 100%);
    background: -webkit-radial-gradient(center, ellipse cover, #00b8ec 1%,#00b8ec 1%,#00b8ec 50%,#ffffff 51%,#ffffff 100%);
    background: radial-gradient(ellipse at center, #00b8ec 1%,#00b8ec 1%,#00b8ec 50%,#ffffff 51%,#ffffff 100%);
}

div.block[class*="ezcca-edit-datatype"] select {
    vertical-align: middle;
    display: block;
    width: 100%;
    border: 1px solid #474FB5;
    padding: 9px 40px 9px 10px;
    font-size: .7rem;
    font-weight: 700;
    line-height: 20px;
    text-align: inherit;
    text-indent: .01px;
    color: #1a1d56;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAclBMVEUAAAAAfJMAfpEAgI8AgJIAfpEAfJIAfZIAfJIAeJYAd5kAfZMAfZIAfpMAfZIAfpIAVaoAfZEAfpIAfZIAgIAAgIAAfJIAfZIAfZIAfZIAfJIAfJMAfpIAfZMAfZIAfJIAfJEAfZEAfJEAfZIAfZIAAABEOcZVAAAAJHRSTlMAQoIQDoBG480RD8jlksyYA6PLqgQCosqpoaigyaefpp6lbXDnPv9CAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAAN1wAADdcBQiibeAAAAAd0SU1FB+ECCQg4BubrNhsAAABoSURBVBjTlc7ZEoIwDAXQSJGlqARoEHeB+//fSDudUn3sfTvJZCFKzyFTEfmxoBJVHawbnOgMXNRutMQd0KvgwRDJCFy192RcR26u4nxnPysP4Gn94rBd3rD5cLwvX2Dm3/dkWf+clA31mgfE9RDsbwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNy0wMi0wOVQwODo1NjowNiswMTowMEtJNJcAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTctMDItMDlUMDg6NTY6MDYrMDE6MDA6FIwrAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAABJRU5ErkJggg==);
    background-color: #fff;
    background-position: center right 10px;
    background-repeat: no-repeat;
    background-size: 11px;
    cursor: pointer;
    border-radius: 0;
    outline: 0;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
}

div.block[class*="ezcca-edit-datatype"] div.block label {
    display: block;
    margin-bottom: .5rem;
    font-size: .8rem;
    font-weight: 300;
    color: #fff;
}

/* ----------------------
/* Dropdown
   --------------------  */

.ezcca-collapsible {
    margin-bottom: 60px;
}

.ezcca-collapsible > legend { width: 100%; }

.ezcca-collapsible > legend > a {
    position: relative;
    display: block;
    width: 100%;
    padding: 13px 50px 13px 20px;
    border: 2px solid transparent;
    font-family: 'Gotham',Arial;
    font-size: .7rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    background-color: #1a1d56;
    outline: 0;
    cursor: pointer;
}

.ezcca-collapsible > legend > a:after {
    content: '';
    position: absolute;
    top: calc(50% - 5px);
    right: 20px;
    height: 0;
    width: 0;
    border-style: solid;
    border-width: 10px 6px 0 6px;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    transition: transform .2s linear;
}
.ezcca-collapsible:not(.ezcca-collapsed) > legend > a:after {
    transform: rotate(180deg);
}

.ezcca-collapsible-fieldset-content{
    padding: 0 40px 40px;
    border: 2px solid #1a1d56;
}


/* ----------------------
/* Button
   --------------------  */

.block input.button,
.block input.button-disabled,
.buttonblock .button,
.buttonblock .defaultbutton {
    font-family: 'Gotham',Arial;
    font-weight: 700;
    display: inline-block;
    min-width: 150px;
    margin: 20px 0;
    padding: 13px 20px;
    border: 2px solid transparent;
    text-transform: uppercase;
    font-size: .7rem;
    text-decoration: none;
    text-align: center;
    color: #fff;
    background-color: #1a1d56;
    border-radius: 0;
    cursor: pointer;
    outline: 0;
}

.block input.button:hover,
.buttonblock .defaultbutton {
    border-color: inherit;
    color: #1a1d56;
    background-color: transparent;
}

.block input.button-disabled {
    opacity: .6;
}


/* ----------------------
/* Tool Bar
   --------------------  */

.mceToolbar,
.mceLayout {
    padding: 0!important;
    border: none!important;
}


/* ----------------------
/* Others
   --------------------  */

form[name="Password"] div.block div.element {
    clear:both;
    float:none;
}

input.button, input.defaultbutton, input.button-disabled {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #cfd1d3;
    border-radius: 3px;
    color: #44484d;
    font-size: 1em;
    margin-left: 5px;
    padding: 3px 6px;
    transition: all 300ms ease 0s;
}

input.button, input.defaultbutton, input.button-disabled {
    overflow: visible;
    padding: 0.1em 0.5em;
    width: auto;
}

input.defaultbutton {
    background-color: #567975;
    color: #f5f3dd;
    font-weight: normal;
}

.box-content div.block {
    padding-bottom: 1em;
}

/* ----------------------
/* Table
   --------------------  */

table.list {
    width: 100%;
    border: none;
    margin-bottom: 50px;
    margin-top: 50px;
    color: #1a1d56;
}

table.list  tr:nth-child(odd) { background-color: #eee; }

table.list  th,
table.list  td {
    padding: 10px;
    border: 1px solid #474FB5;
    word-break: break-word;
}
table.list th {
    font-weight: 500;
    color: #fff;
    background-color: #1a1d56;
}

table.list td { font-weight: 700; }