.btn-group .dropdown {
    float:left;
}
.dropdown-menu {
    z-index: 1000 !important;
}
/* MOBILE */


@media (max-width: 992px) {
    .btn-toolbar .btn-group .btn-group {
        padding-left:0px;
    }
    .btn-toolbar .recD20px {
        padding-right:0px;
    }
    .btn-toolbar .btn-group:not(:first-child) {
        margin-left:-1px;
    }
    #sisGridControl {
        margin-top:10px;
    }

    .btn-toolbar #dropDownMobile button,
    .btn-toolbar #dropDownMobile a {
        display: block;
        padding: 3px 20px;
        clear: both;
        font-weight: 400;
        line-height: 1.42857143;
        color: #333;
        white-space: nowrap;
        border: none;
        background: none;
        margin: 0 -2px;
        padding: 5px 18px;
        font-size: 13px;
        width: 100%;
        text-align: left;
    }
    .btn-toolbar #dropDownMobile button i,
    .btn-toolbar #dropDownMobile a i {
        margin-right:5px;
    }

    .btn-toolbar #dropDownMobile .btn-group .dropdown-menu {
        display: inline-block;
        position: relative;
        border: none;
        background: none;
        padding: 0;
        margin: 0;
        top: initial;
        left: 0;
        z-index: 1;
        min-width: auto;
        border-radius: initial;
        margin-top: 5px !important;
        border-top: 1px solid #CCC !important;
        padding-top: 5px !important;
    }
}


/* DESKTOP */
@media (min-width: 992px) {

    #dropDownMobile {
        display: inline-block;
        position: relative;
        border: none;
        background: none;
        padding: 0;
        margin: 0;
        top: initial;
        left: 0;
        z-index: 1;
        min-width: auto;
        border-radius: initial;
    }
    .btn-group .dropdown .btn-group  {
        float:none;
    }


    #dropDownMobile .btn-group.open .dropdown-menu {
        display:block !important;
        left: 0;
        top: 100%;
        margin: 2px 0 0;
    }

}




#sisGridControl .table {
    width:100%;
    border-collapse:collapse;
}

@media screen and (max-width:601px) {
    #sisGridControl .table {
        word-wrap:break-word;
        border:none;
    }
    #sisGridControl .table thead {
        display: none;
    }
    #sisGridControl .table td {
        display:block;
        float:left;/* ie9 and under hack */
        width:100%;
        clear:both;
        padding:10px 5px;
        -moz-box-sizing:border-box;
        -webkit-box-sizing:border-box;
        box-sizing:border-box;
    }
    #sisGridControl .table tbody,
    #sisGridControl .table tr {
        display:block
    }
    #sisGridControl .table td {
        display: flex;
        border-top: none;
        text-align: left;
    }
    #sisGridControl .table td:before {
        content: attr(data-th) ":";
        display:block;
        font-weight:bold;
        max-width: 130px;
        min-width: 130px;
    }
    #sisGridControl .table td:first-child {
        padding-bottom: 20px;
        background: #e7e7e7;
    }
    #sisGridControl .table td:first-child:before {
        display: none;
    }
    #sisGridControl .table tbody tr {
        float:left;
        width:100%;
        margin-bottom:20px;
        box-shadow: 0 10px 16px -10px #b5b5b5;
    }
}

.ui-autocomplete.ui-menu {
    z-index: 2060  !important;
}

@media (max-width: 992px) {
    .btn-toolbar .btn-group .btn-group {
        padding-left:0px;
    }
    .btn-toolbar .recD20px {
        padding-right:0px;
    }
    .btn-toolbar .btn-group:not(:first-child) {
        margin-left:-1px;
    }
    #sisGridControl {
        margin-top:10px;
    }

    .btn-toolbar #dropDownMobile button,
    .btn-toolbar #dropDownMobile a {
        display: block;
        padding: 3px 20px;
        clear: both;
        font-weight: 400;
        line-height: 1.42857143;
        color: #333;
        white-space: nowrap;
        border: none;
        background: none;
        margin: 0 -2px;
        padding: 5px 18px;
        font-size: 13px;
        width: 100%;
        text-align: left;
    }
    .btn-toolbar #dropDownMobile button i,
    .btn-toolbar #dropDownMobile a i {
        margin-right:5px;
    }

    .btn-toolbar #dropDownMobile .btn-group .dropdown-menu {
        display: inline-block;
        position: relative;
        border: none;
        background: none;
        padding: 0;
        margin: 0;
        top: initial;
        left: 0;
        z-index: 1;
        min-width: auto;
        border-radius: initial;
        margin-top: 5px !important;
        border-top: 1px solid #CCC !important;
        padding-top: 5px !important;
    }
}


/* DESKTOP */
@media (min-width: 992px) {

    #dropDownMobile {
        display: inline-block;
        position: relative;
        border: none;
        background: none;
        padding: 0;
        margin: 0;
        top: initial;
        left: 0;
        z-index: 1;
        min-width: auto;
        border-radius: initial;
    }
    .btn-group .dropdown .btn-group  {
        float:none;
    }


    #dropDownMobile .btn-group.open .dropdown-menu {
        display:block !important;
        left: 0;
        top: 100%;
        margin: 2px 0 0;
    }

}




#sisGridControl .table {
    width:100%;
    border-collapse:collapse;
}

@media screen and (max-width:601px) {
    #sisGridControl .table {
        word-wrap:break-word;
        border:none;
    }
    #sisGridControl .table thead {
        display: none;
    }
    #sisGridControl .table td {
        display:block;
        float:left;/* ie9 and under hack */
        width:100%;
        clear:both;
        padding:10px 5px;
        -moz-box-sizing:border-box;
        -webkit-box-sizing:border-box;
        box-sizing:border-box;
    }
    #sisGridControl .table tbody,
    #sisGridControl .table tr {
        display:block
    }
    #sisGridControl .table td {
        display: flex;
        border-top: none;
        text-align: left;
    }
    #sisGridControl .table td:before {
        content: attr(data-th) ":";
        display:block;
        font-weight:bold;
        max-width: 130px;
        min-width: 130px;
    }
    #sisGridControl .table td:first-child {
        padding-bottom: 20px;
        background: #e7e7e7;
    }
    #sisGridControl .table td:first-child:before {
        display: none;
    }
    #sisGridControl .table tbody tr {
        float:left;
        width:100%;
        margin-bottom:20px;
        box-shadow: 0 10px 16px -10px #b5b5b5;
    }
}

.ui-autocomplete.ui-menu {
    z-index: 2060  !important;
}




/* CALENDÁRIO ESTUDOS */

.divisor-top {
    border-top:1px solid #ccc;
    padding-top:24px;
    margin-top:24px
}

#themeList .panel-group {
    margin-bottom:0px;
}

.panel-default .panel-heading h4 a .theme-header > i {
    margin-right:8px;
    font-size: 12px;
}

.panel-default .panel-heading h4 a.collapsed .theme-header > i {
    transform: rotate(180deg);
}


#themeList > .panel-default {
    background-color:#F8FAFB;
    border:1px solid #DEDEDE;
    border-radius:6px;
    margin-bottom:8px;
}
#themeList > .panel-default:last-child {
    margin-bottom:0px;
}

#themeList > .panel-default:hover {
    background-color:#EAEEF0;
}

#themeList > .panel-default .panel-body {
    background-color:transparent !important;
    border:none;
    padding-top: 8px;
    padding-bottom: 16px;
}

#themeList > .panel-default .panel-heading {
    background-color:transparent !important;
}

#themeList > .panel-default .panel-heading h4 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

#themeList > .panel-default .panel-heading h4 a {
    color:#4A4A4A;
    font-size:14px;
    font-weight:bold;
    padding:16px;
    text-decoration:none;
    width:100%;

    display: flex;
    flex-direction: row;
    align-items: center;
}
#themeList > .panel-default .panel-heading h4 .btn {
    border:1px solid #002A47;
    color:#002A47 !important;
    background:#FFF;
    border-radius:4px;
    padding:8px;
    margin-right:8px;
    width:auto;
    display:inline-block;
    font-size:14px;
}



[id^='themeSubTema'] > .panel-default-sub {
    background-color:#fff;
    border:1px solid #EAEAEA;
    border-radius:6px;
    margin-bottom:8px;
}
[id^='themeSubTema'] > .panel-default-sub:last-child {
    margin-bottom:0px;
}

[id^='themeSubTema'] > .panel-default-sub:hover {
    background-color:#FBFBFB;
}

[id^='themeSubTema'] > .panel-default-sub .panel-body {
    padding-bottom: 0px !important;
}

[id^='themeSubTema'] > .panel-default-sub .panel-heading h4 a {
    color:#8A8A8A !important;
    font-size:14px !important;
    font-weight:600 !important;
}

.row-themeUsers [class^='col'] {
    margin-bottom:16px;
}

.themeUser {
    background:#fff;
    border:1px solid #E7EDF1;
    border-radius:4px;
    padding:4px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.themeUser .themeUserPicture {
    border-radius:3px;
    overflow:hidden;
    width:56px;
    height:56px;
}
.themeUser .themeUserPicture img {
    width:100%;
}

.themeUser .themeUserName {
    color:#364C57;
    font-size:14px;
    width: 100%;
    margin:8px;
    flex-grow: 1;
}

.themeUser .themeUserActions {
    display: flex;
}
.themeUser .themeUserActions a {
    font-size: 16px;
    margin: 8px;
}
.themeUser .themeUserActions a.remove {
    color:#CB7F7F;
}
.themeUser .themeUserActions a.edit {
    color:#878787;
}

.themeUserPalestrante {
    border-color:#E2EBDE;
    background:#FBFFF9;
}

.themeUserPalestrante .themeUserName:after {
    content:"Palestrante";
    border-radius:4px;
    background:#E2EBDE;
    padding:2px;
    font-size:12px;
    margin-left:4px;
}

.themeCount, .themeCountSub {
    font-weight:normal;
    color:#8A8A8A;
    padding-left:8px;
}
.themeCount.semIrmao,
.themeCountSub.semIrmao {
    color:#CB7F7F;
}




@media (max-width: 992px) {

    #themeList > .panel-default .panel-heading h4 {
        flex-direction: column;
    }
    #themeList > .panel-default .panel-heading h4 a {
        flex-direction: column;
        align-items: flex-start;
    }

    .themeCount, .themeCountSub {
        padding-left:21px;
    }

    #themeList > .panel-default .panel-heading h4 .btn {
        margin:0px;
        margin-bottom:16px;
        width:calc(100% - 32px);
    }

}
