/*
 * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.page-content {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    height: calc(100% - 215px);
    overflow-x: hidden;
    overflow-y: hidden;

}

.page-content {
    height: auto;
}

/* Gadgets Styles */
.emb-gadget {
    background: #f5f5f5;

}

.embGadget .emb-gadget {
    background: transparent;
}

.gadget-wrapper {
    background: #fff;
    overflow: scroll;
}

.gadget-body {
    height: auto;
}

.gadget .gadget-heading {
    border-bottom: 1px solid #e4e4e4;
    height: 42px;
}

.embGadget .gadget .gadget-heading {
    background: #206898;
    color: #fff;
}

.gadget .gadget-heading:after {
    clear: both;
    content: " ";
    display: block;
    height: 0;
}

.gadget .gadget-heading > .gadget-title {
    margin: 12px;
    font-size: 16px;
    float: left;
    font-weight: 400;
}

/**
 * Theme overrides
 */
.gadget-title {
    max-width: 90%;
}

.gadget-wrapper {
    background: none;
}

/**
 * Component styles
 */
.ues-component-title-center .gadget-title {
    text-align: center;
}

.ues-component-title-left .gadget-title {
    text-align: left;
}

.ues-component-title-right .gadget-title {
    text-align: right;
}

.ues-no-heading .ues-component-heading {
    display: none;
}

.ues-hide-gadget.ues-component {
    display: none;
}

.ues-component {
    height: 100%;
}