/* Base templates */
body.agenda-juridica-minha-agenda,
body.agenda-juridica-hp{
    background: #0c0919 url('../images/agenda-bg.jpg') no-repeat;
}


body.section-agenda-juridica  #edit-field-data > div > div.date-no-float.end-date-wrapper.container-inline-date {
   height:26px; 
}

body.section-agenda-juridica #page{
    margin-top:80px;
}

body.section-agenda-juridica #page #main{
        padding-top:0 !important;
}


body.section-agenda-juridica #above-content{
    float: left;
    margin-right: -95%;
    width: 95%;
}

body.section-agenda-juridica #main.agenda #content{
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -khtml-border-radius: 20px;
    border-radius: 20px;
    background: #FFFFFF;
    padding: 15px 20px 10px 20px;
    width: 95%;
    margin-right: -95%;
    float: left;
    height: 600px;
    overflow: hidden;
    clear: both;
}


body.section-agenda-juridica {
 padding-top:0 !important;
}

body.section-agenda-juridica.toolbar-drawer{
    padding-top: 0 !important;
}


#page #below-content{
    padding:0 !important;
}


body.section-agenda-juridica.agenda-juridica-minha-agenda #main.agenda #content{
    padding: 25px 14px 25px 0;
}

body.section-agenda-juridica #main.agenda-login #content{
    height: auto;
}

body.section-agenda-juridica #main.agenda .region-sidebar-second{
    width: 94px;
    min-width: 94px;
    margin-left: 94%;
    margin-right: -100%;
    zoom: 1;
    position: relative;
}

#aj-logo{
    display: block;
    margin: 5% auto;
    margin-top: 10%;
}
#aj-logo.login{
    margin-top: 5%;
}

body.section-agenda-juridica .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar, 
body.section-agenda-juridica .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar:hover {
    background-color: #38368E;
    width: 5px;
}
body.section-agenda-juridica .mCSB_scrollTools .mCSB_draggerRail {
    background-color: #d3d3d3;
    width: 5px;
}

span.event-colored-bullet {
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    -khtml-border-radius: 50%;
    border-radius: 50%;

    width: 5px;
    height: 5px;
    padding: 4px;
    display: block;
}

/* Login page */
#main.agenda-login {
    -moz-border-radius: 45px;
    -webkit-border-radius: 45px;
    -khtml-border-radius: 45px;
    border-radius: 45px;

    margin: 0 auto;
    padding: 0;
    width: 640px;
}

#main.agenda-login h1.title{
    text-align: center;
    color: #231F20;
}

#main.agenda-login #user-login input[type="text"],
#main.agenda-login #user-login input[type="password"]{
    -moz-border-radius: 13px;
    -webkit-border-radius: 13px;
    -khtml-border-radius: 13px;
    border-radius: 13px;

    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;

    background: #d3d3d3;
    border: none;
    color: #000000;
    font-weight: bold;
    font-size: 15px;
    height: 30px;
    line-height: 30px;
    padding: 4px 10px;
    width: 100%;
}

#main.agenda-login #user-login input[type="text"]:focus,
#main.agenda-login #user-login input[type="password"]:focus{
    outline: 0;
}

#main.agenda-login #user-login input[type="text"] ::-webkit-input-placeholder,
#main.agenda-login #user-login input[type="password"] ::-webkit-input-placeholder,
#main.agenda-login #user-login input[type="text"] ::-moz-placeholder,
#main.agenda-login #user-login input[type="password"] ::-moz-placeholder,
#main.agenda-login #user-login input[type="text"] :-moz-placeholder,
#main.agenda-login #user-login input[type="password"] :-moz-placeholder,
#main.agenda-login #user-login input[type="text"] :-ms-input-placeholder,
#main.agenda-login #user-login input[type="password"] :-ms-input-placeholder {
    color: #333333;
}

#main.agenda-login #user-login input[type="submit"], 
#main.agenda-login #user-login-wrapper a.subscribe {
    -moz-border-radius: 13px;
    -webkit-border-radius: 13px;
    -khtml-border-radius: 13px;
    border-radius: 13px;
    background: #38368E;
    border: none;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 14px;
    margin-top: 0px;
    width: 45%;
}
#main.agenda-login #user-login input[type="submit"] { float: right; height: 30px;}
#main.agenda-login #user-login-wrapper a.subscribe { 
    float: left; 
    font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif;
    text-align: center;
    text-decoration: none;
    padding: 3px 0;
    margin-top:0px;
}
#main.agenda-login #user-login-wrapper a.subscribe.noauth { 
    float: none;
    display: block;
    margin: 0 auto;
}
#main.agenda-login #user-login-wrapper a.recover-password { 
    color:  #231F20;
    clear: both; 
    display: inline-block;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

#main.agenda-login #user-login label,
#main.agenda-login #user-login .description {
    display: none;
}

/* SIDEBAR SECOND LINKS*/
#main.agenda .region-sidebar-second ul.user-actions {
    margin-top: 130px;
    margin-left:6px;
}

#main.agenda .region-sidebar-second ul.user-actions .aj-logo-small{
    margin-left: 5px;
}

#main.agenda .region-sidebar-second ul.user-actions a.white-link.no-print {
    background: grey;
    cursor: default;
}

#main.agenda .region-sidebar-second ul.user-actions a.white-link{
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    background: #FFFFFF;
    display: block;
    margin:5px 0 0 0;
    text-align: center;
    font-size: 9px;
    font-weight: bold;
    padding: 1px 3px;
    width: 66px;
    line-height: 1em;
    text-decoration: none;
}
#main.agenda .region-sidebar-second ul.user-actions .ve-logo-small{
    margin-top: 5px;
    width:72px;
}

#main.agenda .region-sidebar-second ul.base-links {
    /*padding-left: 29px;*/
    padding-left:31px;
    position:relative;
    top:-18px;
}

.region-sidebar-second ul.base-links li a{
    height: 55px;
    margin-bottom: 10px;
    display: block;
    text-indent: -9999px;
}

.region-sidebar-second ul.base-links #aj-home { background: url(../images/menu-sprite.png) no-repeat 9px 0; }
.region-sidebar-second ul.base-links #aj-home.current { background: url(../images/menu-sprite.png) no-repeat -71px 0px; }
.region-sidebar-second ul.base-links #aj-agenda { background: url(../images/menu-sprite.png) no-repeat 9px -70px; }
.region-sidebar-second ul.base-links #aj-agenda.current { background: url(../images/menu-sprite.png) no-repeat -71px -70px; }
.region-sidebar-second ul.base-links #aj-contactos { background: url(../images/menu-sprite.png) no-repeat 9px -140px; }
.region-sidebar-second ul.base-links #aj-contactos.current{ background: url(../images/menu-sprite.png) no-repeat -71px -140px; }
.region-sidebar-second ul.base-links #aj-sumario-dr { background: url(../images/menu-sprite.png) no-repeat 9px -211px; }
.region-sidebar-second ul.base-links #aj-sumario-dr.current{ background: url(../images/menu-sprite.png) no-repeat -71px -211px; }
.region-sidebar-second ul.base-links #aj-codigos { background: url(../images/menu-sprite.png) no-repeat 9px -275px; }
.region-sidebar-second ul.base-links #aj-codigos.current { background: url(../images/menu-sprite.png) no-repeat -71px -275px; }

/* Dashboard styles */
body.section-agenda-juridica #agenda-dashboard-nav.agenda-ajax-nav ul.list-header{
    margin-top: 0;
}

body.section-agenda-juridica #agenda-dashboard-nav .date-top-right {
    text-align: right; 
    font-weight: normal;
    font-size: 11px;
    display: block;
    margin-right: 1px;
}

body.section-agenda-juridica div.agenda-ajax-nav ul.list-header li span.title,
body.section-agenda-juridica div.agenda-ajax-nav ul.list-header li.cat1 span.title {
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    -khtml-border-radius: 7px;
    border-radius: 7px;

    height: 40px;
    line-height: 38px;
    background: none repeat scroll 0 0 #38368e;
    color: #ffffff;
}

body.section-agenda-juridica div#agenda-codigos-nav ul.list-header li span.title {
    cursor: initial;
    display: block;
}

.view-id-aj_user_events.view-display-id-block_1 {
    width: 100%;
}

.view-id-aj_user_events.view-display-id-block_1 .views-row{
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    -khtml-border-radius: 7px;
    border-radius: 7px;

    background: #D3D3D3;
    clear: both;
    color: #52514d;
    font-weight: normal;
    height: 20px;
    width: 100%;
    margin-bottom: 5px;
    padding: 10px 0;
}
.view-id-aj_user_events.view-display-id-block_1 .views-row .date-repeat-rule{
    display: none;
}

.view-id-aj_user_events.view-display-id-block_1 .views-field{
    float: left;
}

.view-id-aj_user_events.view-display-id-block_1 .views-field .event-colored-bullet{
    margin: 5px 5px 5px 10px;
}
/* MAF */
body.section-agenda-juridica #edit-field-data-und-0-value2-datepicker-popup-0 {
    /*left: 263px;
    position: absolute;*/
}
body.section-agenda-juridica #edit-field-data-und-0-value2-datepicker-popup-0, #edit-field-data-und-0-value-datepicker-popup-0
{
    width:70px !important;
    text-align:center;
    padding-left:0px;
}

body.section-agenda-juridica #edit-field-data-und-0-value-timeEntry-popup-1, #edit-field-data-und-0-value2-timeEntry-popup-1 {
    text-align:center;
    width:42px !important;
    margin-left:2px;
    
}
body.section-agenda-juridica #edit-title {
    width:256px !important;
}
body.section-agenda-juridica #edit-field-data {
    padding-bottom:0px;
}
body.section-agenda-juridica #edit-field-periocidade-und {
    width:219px !important;
}

body.section-agenda-juridica #edit-field-periocidade {
    width:317px;
}

body.section-agenda-juridica #evento-aj-node-form > div > div.field-group-format.group_alertas.field-group-div.group-alertas.required-fields.speed-fast.effect-none {
    width:326px;
    display:table;
    padding-top:0px;
}
body.section-agenda-juridica  #edit-field-alertas-und {
    width:142px;
}
body.section-agenda-juridica select#edit-field-alerta-tempo-und {
    padding-right:0 !important;
    margin-right:0 !important;
    width:107px;
}

body.section-agenda-juridica #edit-field-estado-und {
    width:100px;
}
body.section-agenda-juridica #edit-field-onde-und-0-value
{
    width:256px !important;
}
body.section-agenda-juridica #edit-field-descricao-und-0-value 
{
    width:264px !important;
}
#div-field-cor-und-0--rgb{
    width:286px !important;
}
body.section-agenda-juridica #edit-field-cor {
    width:332px !important;
body.section-agenda-juridica #field-onde-add-more-wrapper > div.form-item.form-type-textfield.form-item-field-onde-und-0-value {
    width:317px !important
}}
body.section-agenda-juridica #field-cor-add-more-wrapper > label {
    float:left;
}
body.section-agenda-juridica #evento-aj-node-form .colorBox {
    margin:0 0 0 5px !important;
}
body.section-agenda-juridica #edit-field-anexo-und > div > div > label {
    padding-left:0px !important;
    margin-left:0px !important;
}
body.section-agenda-juridica div.mapsblock {
    top:25px !important;
    left:0px !important;
}
body.section-agenda-juridica #field-onde-add-more-wrapper > div.pinpoint {
    left:13px;
}
body.section-agenda-juridica input.gllpSearchButton {
    color: black;
    line-height: 10px;
}
body.section-agenda-juridica #edit-field-anexo-und {
    padding-top:0px !important;
    padding-bottom:0px !important;
}
body.section-agenda-juridica #edit-field-data > div > label {
    float:left;
    display: table-cell;
    line-height: 35px;
    padding-right:10px;
}
body.section-agenda-juridica input.gllpSearchField {
    z-index: 9999;
    position: relative;
}
body.section-agenda-juridica #edit-field-data > div > div.date-clear {
    display:block;
    border:none !important;
    padding:0 !important;
    margin:0 !important;
    width:82px !important;

}

body.section-agenda-juridica #repeat-settings-fieldset {
    display:block !important;
    border:none !important;
    padding-left:0;
    margin-left:0;
    float:left;
    width:90px !important;
    paffing-top:3px;
}

body.section-agenda-juridica #edit-field-data-und-0-rrule-freq {
    position: relative;
    z-index: 10000;
    padding-left:0;
    margin-left:0 !important;
    margin-right:0 !important;
    width:177px !important;
}
body.section-agenda-juridica #edit-field-data > div > div.date-clear > div > label {
    padding-top:0 !important;
    float:left;
    line-height:2.5;
}
}
body.section-agenda-juridica #repeat-settings-fieldset div.date-clear {
    border:none !important;
}
body.section-agenda-juridica #place > div.date-clear {
    border:none;
    padding-top:8px;
}
body.section-agenda-juridica #edit-field-data-und-0-value2 {
    width:62px;
}
body.section-agenda-juridica #edit-field-data-und-0-value2 > div.form-item.form-type-textfield.form-item-field-data-und-0-value2-date {
    width:0px;
}
body.section-agenda-juridica #edit-field-data-und-0-rrule-weekly > div:nth-child(2) > div 
{
    display:table-cell;
}
body.section-agenda-juridica #edit-field-alerta-tipo > div > label {
    float:left;
    padding-right:3px;
}
body.section-agenda-juridica #edit-field-alerta-tipo {
    float:left;
    width:172px;
}
body.section-agenda-juridica #edit-field-inteiros-und-0-value {
    width:20px;
    margin:0 0px 0 16px;
    float:left;
}

body.section-agenda-juridica #field-alerta-tempo-add-more-wrapper > div > label {
    display:none;
}
body.section-agenda-juridica #edit-field-alerta-tempo-und-0-value {
    width:20px;
    margin: 0 4px;
    text-align:center;
    height:16px !important;
    padding:0 0 1px 0;
    position: relative;
    top: -1.1px;
}
body.section-agenda-juridica #edit-field-tempo-alerta > div > label {
    display:none;

}}
body.section-agenda-juridica #evento-aj-node-form > div > div.field-group-format.group_prazos.field-group-div.group-prazos.required-fields.tcell.speed-fast.effect-none
{
    display:table-cell !important;
}
body.section-agenda-juridica body.section-agenda-juridica #evento-aj-node-form .form-select {
    width:89px !important;
    padding:0;
    margin:0;
}
body.section-agenda-juridica #edit-field-tempo-alerta-und {
    width:91px;
    position:relative;
    top:-2px;
}
body.section-agenda-juridica #edit-field-descricao-und-0-value {
    min-height:100px;
}
body.section-agenda-juridica #edit-field-estado > div > label > span {
   display:none;
}
body.section-agenda-juridica input[type=submit]#edit-submit {
    background-color: #00A650 !important;
}
body.section-agenda-juridica #edit-field-data {
    width:100%;
}

body.section-agenda-juridica #edit-field-data-und-0-value2 > div.form-item.form-type-textfield.form-item-field-data-und-0-value2-time { 
    padding-right:0 !important;
    width:53px;
}
body.section-agenda-juridica #edit-field-prazo-dias-livre {
}
body.section-agenda-juridica #evento-aj-node-form > div > div.form-item.form-type-textfield.form-item-title {
    padding-bottom:10px;
}
body.section-agenda-juridica #edit-field-data-und-0-rrule-count-child{
    width:24px;
}
body.section-agenda-juridica #edit-field-data-und-0-rrule-until-child-datetime {
    padding:0px;
}
body.section-agenda-juridica #edit-field-data-und-0-rrule-range-of-repeat > div.until.widget-date_popup.label-above {
    width:300px !important;
    margin:0px;
    font-size:10px;
}

body.section-agenda-juridica #edit-field-data-und-0-rrule-until-child-datetime-datepicker-popup-0 {
    padding: 0px;
    width: 193px;
}
body.section-agenda-juridica #place > div.date-clear.range-of-repeat > div > label { 
    display:none;
    padding:0px;
}

body.section-agenda-juridica #edit-field-data-und-0-rrule-monthly-day-month-byday-bymonth  {
    margin:0;
    position:relative;
    top:2px;
}
body.section-agenda-juridica #edit-field-data-und-0-rrule-monthly-day-month-bymonthday-bymonth { 
    position:relative;
    top:-9px;
}

body.section-agenda-juridica #edit-field-data-und-0-rrule-monthly-bymonthday-bymonth-child > div.date-clear.bymonthday, #edit-field-data-und-0-rrule-monthly-day-month > div.date-repeat-radios-item.date-clear.clearfix.bymonthday-bymonth > div.date-clear.bymonthday {
    width: 260px;
    float: left;

}

body.section-agenda-juridica #edit-field-data-und-0-rrule-monthly-day-month > div.date-repeat-radios-item.date-clear.clearfix.bymonthday-bymonth > div.date-clear.bymonthday {
float: left;
position: absolute;
left: 16px;
top: 3px;
}

#edit-field-data-und-0-rrule-monthly-day-month > div.date-repeat-radios-item.date-clear.clearfix.bymonthday-bymonth > div.date-clear.bymonthday > div > label:nth-child(1)
{
    position:relative;
    top:-3px;
    padding-right:3px;
}

#edit-field-data-und-0-rrule-monthly-day-month-byday-bymonth {

}

body.section-agenda-juridica #edit-field-data-und-0-rrule-monthly-byday-bymonth-child > div.date-repeat-input.byday-count {
    imargin: 0;
    left: 2px;
    position: relative;
    top: -6px;

}
body.section-agenda-juridica #edit-field-data-und-0-rrule-monthly-byday-bymonth-child-byday-count {
    width: 93px;
}
body.section-agenda-juridica #edit-field-data-und-0-rrule-monthly-byday-bymonth-child > div.date-repeat-input.byday-count > div{
    padding:3px;
}
body.section-agenda-juridica #edit-field-data-und-0-rrule-monthly-byday-bymonth-child > div.date-repeat-input.byday-day {
    position: relative;
    top: -3px;
}
body.section-agenda-juridica #edit-field-data-und-0-rrule-monthly-byday-bymonth-child-byday-day {
    padding-right: 0;
    width: 104px;
}
body.section-agenda-juridica .date-clear {
    width: 267px;
}
body.section-agenda-juridica .form-type-checkboxes .form-type-checkbox {
    width:42px;
    margin:0;
    padding:0;
}

body.section-agenda-juridica .form-item label.option {
    font-size:10px;
}
body.section-agenda-juridica .form-item label{
    font-size:10px;
}

body.section-agenda-juridica #edit-field-alerta-tipo-und {
    margin-left:11px;
}

body.section-agenda-juridica #edit-field-data-und-0-rrule-monthly-day-month > div.date-repeat-radios-item.date-clear.clearfix.bymonthday-bymonth > div.date-clear.bymonthday > div {
    width:249px;
}
body.section-agenda-juridica #edit-field-data-und-0-rrule-monthly-byday-bymonth-child > div.date-clear.bymonth > div
{
    padding:0;
}
body.section-agenda-juridica #edit-field-data-und-0-rrule-weekly-byday label.option {
        position:relative;
            left:-4px;
        }

body.section-agenda-juridica #edit-field-data-und-0-rrule-yearly > div:nth-child(1) > div > label {
    float: left;
    margin-right: 10px;
    font-size: 11px;
}
body.section-agenda-juridica #edit-field-data-und-0-rrule-yearly-day-month-bymonthday-bymonth {
    margin:0;
}
body.section-agenda-juridica #edit-field-data-und-0-rrule-yearly-bymonthday-bymonth-child > div.date-clear.bymonthday {
    position: relative;
    left: 20px;
    top: -24px;
}
body.section-agenda-juridica #edit-field-data-und-0-rrule-monthly-bymonthday-bymonth-child > div > div {
    padding:0;
}

body.section-agenda-juridica #edit-field-data-und-0-rrule-yearly-day-month-byday-bymonth {
    margin:0;
    position: relative;
    top: 7px;
    /*margin-right:3px;*/
    /*left: 2px;*/

}
body.section-agenda-juridica #edit-field-data-und-0-rrule-yearly-bymonthday-bymonth-child > div.date-clear.bymonthday > div {
    position: relative;
    top: 3px; /* no change!*/

}
body.section-agenda-juridica #edit-field-data-und-0-rrule-yearly-bymonthday-bymonth-child {
    /*margin: -27px 0 0 0;*/

}
body.section-agenda-juridica #edit-field-data-und-0-rrule-yearly > div:nth-child(1)
{
    padding-bottom:14px;
}
body.section-agenda-juridica > ui-icon.span.icon-closethick{
    background-image: url(cross.png);
    background-position-x: 0;
    background-position-y: 0;
    background-size: 15px;

}
body.section-agenda-juridica #todoscbox {
    
}
body.section-agenda-juridica #edit-field-data-und-0-rrule-yearly-byday-bymonth-child > div.date-repeat-input.byday-day {
    width:145px;
}
body.section-agenda-juridica DIV#edit-field-data-und-0-rrule-yearly-byday-bymonth-child { 
    width:252px;
}
body.section-agenda-juridica #edit-field-data-und-0-rrule-yearly-byday-bymonth-child-bymonth {
    position: relative;
    left: -12px;
}

body.section-agenda-juridica #edit-field-alerta-tipo-und {
    overflow: hidden;
    width: 130px;
}

body.section-agenda-juridica #edit-field-data-und-0-rrule-yearly-byday-bymonth-child > div.date-repeat-input.byday-count {
    margin-left: 3px;
    top: 3px;
    position: relative;
    padding-bottom: 6px;
}


body.section-agenda-juridica #edit-field-data-und-0-rrule-monthly-day-month > div.date-repeat-radios-item.date-clear.clearfix.bymonthday-bymonth > div.date-clear.bymonthday > div > span {
    position:relative;
    top:-3px;
}

body.section-agenda-juridica #edit-field-data-und-0-rrule-monthly-byday-bymonth-child > div.date-repeat-input.byday-count > div > label {
    position:relative;
    top:2px;
}



body.section-agenda-juridica .ui-dialog[aria-labelledby=ui-dialog-title-block-agenda-ve-agenda-add-event][style*="display: block"]  ~ .ui-dialog{
    border:2px solid #302873 !important;
    -moz-box-shadow: 3px 3px 4px #808080;
    -webkit-box-shadow: 3px 3px 4px #808080;
    box-shadow: 3px 3px 4px #808080;
    /*IE8 */
     -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#808080')";
}




/* Resultados Pesquisa Contactos */
body.section-agenda-juridica #block-agenda-ve-agenda-contacts-view{
    width:99% !important;
}

#block-agenda-ve-agenda-contacts-view .agenda-contacts-view .titulo{
    padding-left: 10px;
    padding-bottom:10px;
}

#block-agenda-ve-agenda-contacts-view .agenda-contacts-view .col-left{
    padding-left:20px;
}


#block-agenda-ve-agenda-contacts-view .agenda-contacts-view .col-right[style],
#block-agenda-ve-agenda-contacts-view .agenda-contacts-view .col-left[style]{
    width:48% !important;
}


#block-agenda-ve-agenda-contacts-view .agenda-contacts-view .views-row{
    background: none repeat scroll 0 0 #e9e9e9;
    color: #52514d;
    font-size: 15px;
    font-weight: normal;
    line-height: 15px;
    padding-bottom: 1%;
    padding-top: 1%;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
    margin-top:10px;
    border:none;

}
body.section-agenda-juridica #edit-actions {
    margin-bottom:0px;
}


.ui-widget-overlay {
    background: none repeat-x scroll 70% 70% #000000;
    opacity: 0.4;
}

