/*
@Name:          José Alberto Reyes Juárez
@Description:   Style that fixed the problem with buttons that has text to large.
*/

/******** Layout boxes jsf ********/

.box,
.sample-layout > div {
    background-color: #cce4f7;
    text-align: center;
    padding-top: 1em;
    padding-bottom: 1em;
    border-radius: 4px;
    color: #30383c;
}

.box-stretched {
    height: 100%;
    box-sizing: border-box;
}

.sample-layout {
    margin: 0;
}

.sample-layout > div {
    border: 1px solid #ffffff;
}

.vertical-container {
    margin: 0;
    height: 200px;
    background: #efefef;
    border-radius: 4px;
}

.nested-grid .p-col-4 {
    padding-bottom: 1em;
}

.doc-table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

.doc-table th {
    background-color: #cce4f7;
}

.doc-table td,
.doc-table th {
    border: 1px solid #e5ebf0;
    text-align: left;
    padding: 8px;
}

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

.tfja-center-form {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    width: 50%;
}

.tfja-center-form-short {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    width: 30%;
}

.tfja-center-form-full {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    width: 95%;
}

/*iframe{width:98%;min-height:40vh;display:block;margin:auto;}*/

.iframe-container {
    overflow: hidden;
    padding-top: 56.25%;
    position: relative;
}

.iframe-container iframe {
    border: 0;
    height: 50%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

/* 4x3 Aspect Ratio */
.iframe-container-4x3 {
    padding-top: 75%;
}

.iframeStyle {
    overflow-y: hidden;
}


.contact-form {
    overflow: hidden;
}

.contact-form .ui-panel {
    min-height: 360px;
}

.contact-form .ui-g-12 {
    padding: 20px 10px;
}

.contact-form .ui-button {
    margin-top: 20px;
}

.contacts {
    overflow: hidden;
}

.contacts > .ui-panel {
    min-height: 360px;
}

.contacts .ui-panel-content {
    padding: 0px !important;
}

.contacts ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.contacts ul li {
    border-bottom: 1px solid #eaeaea;
    padding: 9px;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    position: relative;
    display: block;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-transition: background-color 0.2s;
    -o-transition: background-color 0.2s;
    -webkit-transition: background-color 0.2s;
    transition: background-color 0.2s;
}

.contacts ul li img {
    float: left;
    margin-right: 8px;
}

.contacts ul li .contact-info {
    float: left;
}

.contacts ul li .contact-info .name {
    display: block;
    margin-top: 4px;
    font-size: 14px;
}

.contacts ul li .contact-info .location {
    margin-top: 4px;
    display: block;
    font-size: 12px;
    color: #757575;
}

.contacts ul li .contact-actions {
    float: right;
    padding-top: 12px;
}

.contacts ul li .contact-actions .connection-status {
    color: #ffffff;
    padding: 2px 3px;
}

.contacts ul li .contact-actions .connection-status.online {
    background-color: #AED581;
}

.contacts ul li .contact-actions .connection-status.offline {
    background-color: #E57373;
}

.contacts ul li .contact-actions .fa {
    color: #757575;
    margin-left: 5px;
}

.contacts ul li:last-child {
    border: 0;
}