/*
   SETTING COMMON LAYOUT
------------------------------------------------------------------- */
#elife-fixbackground {
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    overflow:hidden;
    z-index:50;
    margin:0;
    padding:0;
}

.elife-page-wrapper {
    max-width: 100%;
    width: 1200px;
    padding: 0 15px;
    margin:0 auto;
    position:relative;
}


/*
   FIXED
------------------------------------------------------------------- */
/*LAYOUT 0 SIDEBAR*/
.elife-layout-nosidebar .elife-sidebar-left {
    display: none;
}

.elife-layout-nosidebar .elife-sidebar-right {
    display: none;
}

.elife-layout-nosidebar .elife-content {
    width: 100%
}

/*LAYOUT 1 SIDEBAR LEFT*/
.elife-layout-leftsidebar .elife-sidebar-left {
    float: left;
    width: 200px;
}

.elife-layout-leftsidebar .elife-sidebar-right {
    display: none
}

.elife-layout-leftsidebar .elife-content {
    float: right;
    width: 950px;
}

/*LAYOUT 1 SIDEBAR RIGHT*/
.elife-layout-rightsidebar .elife-sidebar-left {
    display: none
}

.elife-layout-rightsidebar .elife-sidebar-right {
    float: right;
    width: 200px;
}

.elife-layout-rightsidebar .elife-content {
    float: left;
    width: 950px;
}

/*LAYOUT 2 SIDEBAR*/
.elife-layout-twosidebar .elife-sidebar-left {
    float: left;
    width: 200px;
}

.elife-layout-twosidebar .elife-sidebar-right {
    float: right;
    width: 200px;
}

.elife-layout-twosidebar .elife-content {
    float: left;
    width: 730px;
    margin-left: 20px;
}

.seo_content {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}


/*
   BREADCRUMB
------------------------------------------------------------------- */
.elife-breadcrumb { padding: 0; }
.elife-breadcrumb ol { margin-left: 0; list-style: none; }
.elife-breadcrumb ol li { display: inline-block; }

.breadcrumb {
    list-style: outside none none;
    padding: 0.75em 0;
}

.breadcrumb::after {
    clear: both;
    content: "";
    display: table;
}

.breadcrumb > li + li::before {
    color: #818a91;
    content: "/";
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.breadcrumb > li:last-child a {
    color: #818a91;
}

.breadcrumb > li {
    float: left;
}

/* IMAGE LAZY LOADING
---------------------------------------------- */
img.lazy {
    background: none no-repeat 50% 50%;
    display: inline-block;
}

img.lazy.loading {
    background: url("../image/loading.gif") no-repeat 50% 50%;
}


/* PAGINATION
---------------------------------------------- */
.pagination {
    border-radius: 0;
    display: inline-block;
    margin: 18px 0;
    padding-left: 0;
}

.pagination > li {
    display: inline;
}

.pagination > li > a, .pagination > li > span {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #333;
    float: left;
    line-height: 1.42857;
    margin-left: 2px;
    padding: 6px 12px;
    position: relative;
    text-decoration: none;
}

.pagination > li > a:hover {
    background-color: #c9a75c;
    border-color: #c9a75c;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #c9a75c;
    border-color: #c9a75c;
    color: #fff;
    cursor: default;
    z-index: 2;
}
.pagination-sm > li > a, .pagination-sm > li > span {
    font-size: 12px;
    padding: 5px 10px;
}




.pagination-nostyle {
    border-radius: 0;
    display: inline-block;
    margin: 18px 0;
    padding-left: 0;
}

.pagination-nostyle > li {
    display: inline;
}

.pagination-nostyle > li > a, .pagination-nostyle > li > span {
    background-color: #fff;
    color: #666;
    float: left;
    line-height: 1.42857;
    margin-left: -1px;
    padding: 6px 12px;
    position: relative;
    text-decoration: none;
    font-size: 1.1em;
}

.pagination-nostyle .fa {
    font-size: 1.2em;
}

.pagination-nostyle > li > a:hover {
    background-color: #ddd;
}

.pagination-nostyle > .active > a, .pagination-nostyle > .active > span, .pagination-nostyle > .active > a:hover, .pagination-nostyle > .active > span:hover, .pagination-nostyle > .active > a:focus, .pagination-nostyle > .active > span:focus {
    color: #333;
    cursor: default;
    z-index: 2;
    text-decoration: underline;
}

/*
PANEL
------------------------------------------------------------------- */
.panel {

}

.panel-body {
    padding: 15px;
}


/*
   FORM
------------------------------------------------------------------- */
select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    /*
    background: rgba(255, 255, 255, 0) url("data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+") no-repeat scroll 99% 50% !important;
    */
    font-size: 1em;
    line-height: 1.5;
    background: url('../image/form/select-arrow.png') no-repeat scroll calc(100% - 0.75em) 50% !important;
    padding: 0.55em 2.3em 0.6em 0.75em !important;
}



@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {
    select {
        background: url('../image/form/select-arrow@2x.png') no-repeat scroll 99% 50% !important;
    }
}


button, input, select, textarea {
    border-radius: 0;
    line-height: inherit;
    margin: 0;
}

.text-muted {
    color: #818a91;
}

.small, small {
    font-size: 80%;
    font-weight: 400;
}

.form-group {
    margin-bottom: 1em;
}

.form-group:last-child, .form-group.end {
    margin-bottom: 0;
}


.form-horizontal .form-group .control-label {
    display: inline-block;
    text-align: left;
}

.form-group .control-label.required::after {
    color: red;
    content: "*";
}


.form-control {
    background: #fff none;
    border: 1px solid #ccc;
    border-radius: 0;
    color: #333;
    display: block;
    font-size: 1em;
    line-height: 1.5;
    padding: 0.5em 0.75em;
    opacity: 1;
}

.form-control.full-width {
    width: 100%;
}

.form-control.disabled {
    opacity: 0.2;
}

.form-control:-moz-placeholder {
    color: #999;
    opacity: 1;
}

.form-inline .form-control {
    display: inline-block;
    vertical-align: middle;
}

.form-inline label {
    display: inline-block;
    vertical-align: middle;
    width: auto;
    margin-bottom: 0;
}

.form-inline .control-label {
    line-height: 2.6em;
}

input.control-width-tiny, textarea.control-width-tiny, select.control-width-tiny, .input-group.control-width-tiny, elife-button.control-width-tiny {
    max-width: 40px;
    padding-right: 5px;
    padding-left: 5px;
}

input.control-width-mini, textarea.control-width-mini, select.control-width-mini, .input-group.control-width-mini, .elife-button.control-width-mini {
    max-width: 75px;
}

input.control-width-small, textarea.control-width-small, select.control-width-small, .input-group.control-width-small, .elife-button.control-width-small {
    max-width: 130px;
}

input.control-width-medium, textarea.control-width-medium, select.control-width-medium, .input-group.control-width-medium, .elife-button.control-width-medium {
    max-width: 200px;
}

input.control-width-normal, textarea.control-width-normal, select.control-width-normal, .input-group.control-width-normal, .elife-button.control-width-normal {
    max-width: 300px;
}

input.control-width-large, textarea.control-width-large, select.control-width-large, .input-group.control-width-large, .elife-button.control-width-large {
    max-width: 500px;
}

input.control-width-xlarge, textarea.control-width-xlarge, select.control-width-xlarge, .input-group.control-width-xlarge, .elife-button.control-width-xlarge {
    max-width: 750px;
}

input.control-width-xxlarge, textarea.control-width-xxlarge, select.control-width-xxlarge, .input-group.control-width-xxlarge, .elife-button.control-width-xxlarge {
    max-width: 1200px;
}

label {
    display: inline-block;
    margin-bottom: 0.2em;
}


.checkbox, .radio {
    display: block;
    position: relative;
}

.checkbox-inline, .radio-inline {
    cursor: pointer;
    display: inline-block;
    font-weight: 400;
    margin-bottom: 0;
    padding-left: 1.25em;
    position: relative;
    vertical-align: middle;
}

.checkbox label, .radio label, .checkbox-inline label, .radio-inline label {
    cursor: pointer;
    font-weight: 400;
    margin-bottom: 0;
    padding-left: 1em;
}

.radio label span, .radio-inline label span {
    display: inline-block;
    margin-left: 10px;
}

.checkbox-inline label, .radio-inline label {
    padding-left: 0;
}

input[type="radio"] {
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}

input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

.checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"], .radio input[type="radio"], .radio-inline input[type="radio"] {
    margin-left: -1.25em;
    margin-top: 0.25em;
    position: absolute;
}

textarea {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    resize: vertical;
}

/* FIX IOS */
/*New: IOS will still zoom, unless you use 16px on the input without the focus.*/
@media only screen and ( max-width: 1024px ) {

    textarea:focus, input[type="text"]:focus {
        font-size: 16px;
    }

    textarea, input[type="text"] {
        font-size: 16px;
        outline: none;

        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
}

.elife-button {
    display: inline-block;
    padding: .5em 1em;
    font-size: 1.1em;
    font-weight: normal;
    line-height: 1.5em;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    min-width: 60px;
}

.elife-button:focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.elife-button:focus, .elife-button:hover {
    text-decoration: none;
}

.elife-button.disabled, .elife-button:disabled {
    cursor: not-allowed;
    opacity: .65;
}

.elife-button.full-width {
    width: 100%;
}

/*** define more button style empty ***/
.elife-button-empty-default {
    border: 1px solid #000;
    color: #000;
    transition: background-color 0.3s ease 0s;
}

/*** define more button style ***/
.elife-button-default {
    background: #000 none repeat scroll 0 0;
    border: 1px solid #000;
    color: #fff;
    transition: background-color 0.3s ease 0s;
}

.elife-button-default:hover {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #000;
    color: #242424;
}

.elife-button-yellow {
    background: #faa51a none repeat scroll 0 0;
    color: #fff;
    transition: background-color 0.3s ease 0s;
}

.elife-button-yellow:hover {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #faa51a;
    color: #faa51a;
}

.elife-button-blue {
    background: #199cb7 none repeat scroll 0 0;
    color: #fff;
    transition: background-color 0.3s ease 0s;
}

.elife-button-blue:hover {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #199cb7;
    color: #199cb7;
}

.elife-button-grey {
    background: #ddd none repeat scroll 0 0;
    color: #333;
    transition: background-color 0.3s ease 0s;
}

.elife-button-grey:hover {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #ddd;
    color: #333;
}

/*** error text form ***/
.error-panel {
    padding: 8px 15px;
    color: #a94442;
    border: 1px solid #a94442;
    background: #ffe7dd;
    max-width: 90%;
    margin-bottom: 1em;
}

.has-error .form-control, .has-error select.form-control {
    background-color: #fcf8f8;
}

.has-error .form-control:focus {
    border-color: #843534;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 6px #ce8483;
}

.help-block {
    color: #999999;
    margin-bottom: 0;
    margin-top: 5px;
}

.has-error .help-block, .has-error .control-label, .has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline {
    color: #a94442;
}

.has-error select.form-control {
    border: 1px solid #a94442;
}










/* DIALOG
---------------------------------------------- */
/*
.dialog-message {
    height: 100%;
    font-size: 1.2em;
}

.table-message {
    display: table;
    width: 100%;
    height: 100%;
}

.table-cell-message {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    line-height: 1.67em;
    font-size: 1em;
}
*/
