/**
 * **********
 * Loading
 * **********
 */
.loading-message.loading-message-boxed {
    border: 1px solid #DDD;
    background-color: #EEE;
    border-radius: 4px;
    box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.1);
}
.loading-message {
    display: inline-block;
    min-width: 125px;
    padding: 10px;
    margin: 0px auto;
    color: #000 !important;
    font-size: 13px;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
}



/**
 * **********
 * Container
 * **********
 */
.pyramid {
    display: block;
    margin: 10px auto;
    overflow: hidden;
    min-height: 300px;
    max-width: 960px;
    width: 100%;
    overflow: hidden;
    margin: 0px auto;
}


/**
 * **********
 * Item
 * **********
 */
.pyramid .item .member-data {
    margin: 0px auto 10px auto;
    text-align: center;
    border-bottom: green;
    display: block;
    clear: both;
}
.pyramid .item .member-data .holder {
    display: inline-block;
    clear: both;
    margin: 0px auto;
    cursor: pointer;
    position: relative;
}
.pyramid .item .member-data .holder .actions {
    display: none;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}
.pyramid .item .member-data .holder:hover .actions {
    display: block;
    padding-top: calc(50% - 30px);
}
.pyramid .item .member-data .holder:hover .actions .btn {
    font-size: 15px;
    display: inline-block;
    clear:  both;
    margin: 0px auto;
}
.pyramid .item .member-data .holder:hover .actions .btn + .btn {
    margin-top: 10px;
}
/*.pyramid .item .member-data a {
    display: inline-block;
    clear: both;
    margin: 0px auto;
    cursor: pointer;
}*/
.pyramid .item .member-data img {
    display: block;
    clear: both;
    margin: 0px auto 5px auto;
    height: 128px;
    width: 128px;
}
.pyramid .item .member-data img.disabled {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
}
.pyramid .item .member-data span {
    font-size: 0.78em;
    width: 93%;
    overflow: hidden;
    padding: 5px;
}


/**
 * **************
 * Subnet level 1
 * **************
 */

.pyramid .subnet_1 .item:last-child {
    margin-right: 0px !important;
}
.pyramid-2 .item .subnet_1 {
    display: block;
    padding-top: 110px;
    background: url('../../img/rede/subnet_2_1.png') top center no-repeat;
}
.pyramid-2 .subnet_1 .item {
    width: 50%;
    float: left;
    margin: 0px 0px 0px 0px;
    overflow: hidden;
}
.pyramid-3 .item .subnet_1 {
    display: block;
    padding-top: 150px;
    background: url('../../img/rede/subnet_3_1.png') top center no-repeat;
}
.pyramid-3 .subnet_1 .item {
    width: calc(100% / 3);
    float: left;
    margin: 0px;
    overflow: hidden;
}

/**
 * **************
 * Subnet level 2
 * **************
 */

/** Pyramid 2 */
.pyramid-2 .item .subnet_2 {
    display: block;
    padding-top: 90px;
    background: url('../../img/rede/subnet_2_2.png') top center no-repeat;
}
.pyramid-2 .subnet_2 .item {
    width: 50%;
    float: left;
    margin: 0px;
}
.pyramid-2 .subnet_2 .item .member-data .holder {
    display: inline-block;
}
.pyramid-2 .subnet_2 .item .member-data .holder .actions {
    padding-top: 10px;
    left: -25%;
    width: 150%;
}
.pyramid-2 .subnet_2 .item .member-data .holder .actions .btn {
    font-size: 12px;
    padding: 3px 8px;
}

/** Pyramid 3 */
.pyramid-3 .item .subnet_2 {
    display: block;
    padding-top: 110px;
    background: url('../../img/rede/subnet_3_2.png') top center no-repeat;
    background-size: 75%;
}
.pyramid-3 .subnet_2 .item {
    width: calc(100% / 3);
    float: left;
    margin: 0px;
}
.pyramid-3 .subnet_2 .item {
    width: calc(100% / 3);
    float: left;
    margin: 0px;
}
.pyramid-3 .subnet_2 .item .member-data .holder {
    display: block;
}
.pyramid-3 .subnet_2 .item .member-data .holder .actions {
    padding-top: 10px;
}
.pyramid-3 .subnet_2 .item .member-data .holder .actions .btn {
    font-size: 12px;
    padding: 3px 8px;
}

/** Pyramid All */
.pyramid-2 .subnet_2 .item .member-data img,
.pyramid-3 .subnet_2 .item .member-data img {
    display: block;
    clear: both;
    margin: 0px auto 5px auto;
    height: 64px;
    width: 64px;
}


/**
 * **************
 * Subnet level 3
 * **************
 */

/** Pyramid 2 */
.pyramid-2 .item .subnet_3 {
    display: block;
    padding-top: 45px;
    background: url('../../img/rede/subnet_2_2.png') top center no-repeat;
    background-size: 55%;
}


/**
 * **********
 * Alignment
 * **********
 */
.pyramid li:first-child {
    margin-left: 200px;
}
.pyramid li span {
    position: relative;
    display: block;
    margin: 0px auto;
    clear: both;
}
.pyramid li ul {
    position: relative;
    float: left;
}
.pyramid-2 .subnet_1 .item.perna1,
.pyramid-3 .subnet_2 .item.perna1 {
    float: right !important;
}


/**
 * **********
 * Legendas
 * **********
 */
.legendas {
    padding-left: 0px;
    margin-bottom: 20px;
}
.legendas li {
    border: 1px solid #DDD;
    position: relative;
    display: inline-block;
    width: 24.6%;
    padding: 10px 15px;
    margin-bottom: 2px;
    margin-right: 2px;
    float: left;
}



/**
 * ***********
 * Back to Top
 * ***********
 */
.back-to-top {
    position: absolute;
    right: 15px;
    top: 0px;
    background-color: #9972B5;
    color: #fff !important;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    padding: 10px;
    cursor: pointer;
}
.back-to-top:hover,
.back-to-top:active {
    background-color: #2C3E50;
    text-decoration: none;
}


/**
 * **********
 * Responsive
 * **********
 */
@media (min-width: 767px) and (max-width: 992px) {
    .pyramid-2 .item .subnet_1 {
        padding-top: 125px;
        background-size: 53%;
    }
    .pyramid-2 .item .subnet_2 {
        padding-top: 100px;
        background-size: 50%;
    }
}
@media (max-width: 767px) {
    .pyramid-2 .item .subnet_1 {
        padding-top: 55px;
        background-size: 53%;
    }
    .pyramid-2 .item .subnet_2 {
        padding-top: 50px;
        background-size: 50%;
    }
}