/* GLOBAL STYLESHEET */


/* [XS] : Phones & portrait tablets */

*
{
    box-sizing: border-box;
}

.active-tab
{
    display: block;
}

body
{
    min-height: 100%;
    height: 100%;
}

.btn
{
    color: white;
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 4px;
    z-index: 1;
}

.btn-main
{
    background-color: #127B06;
}

.btn-main:active,
.btn-main:focus,
.btn-main:hover
{
    background-color: #305e30;
    border-color: #357a35;
}

.btn:hover
{
    color: white;
}

.btn:active
{
    color: white;
}

.btn:focus
{
    color: white;
}

.btn-info
{
    background-color: #5BC0DE;
}

.btn-link
{
    background-color: transparent;
    color: #337AB7;
}

.btn-link:hover
{
    color: #337AB7;
}

.btn-link:active
{
    color: #337AB7;
}

.btn-link:focus
{
    color: #337AB7;
}

.container
{
    padding-left: 0px;
    padding-right: 0px;
}

form
{
    margin: 0;
}

/* .glyphicon
{
    line-height: inherit;
} */

.hidden
{
    display: none;
}

.icon-container > span
{
    line-height: inherit;
    vertical-align: middle;
}

.row
{
    margin-left: 0;
    margin-right: 0;
}

textarea
{
    min-height: 34px;
    resize: vertical;
}

td
{
    width: auto;
    overflow: hidden;
}

th
{
    width: auto;
    text-align: center;
}

td.min,
th.min
{
    width: 1%;
    white-space: nowrap;
}


/* MAIN CONTAINER */

.main
{
    width: 90%;
    margin: auto;
    padding: 20px;
}


/* HELP BUTTONS */

.help-btn:hover
{
    cursor: pointer;
}


/* FORM GROUPS */

.required-fields-label
{
    padding: 0;
    color: red;
    font-size: 14px;
}

.split-group
{
    padding: 0;
}

.read-only
{
    background-color: #F5F5F5;
}

.fg-full
{
    display: block;
    width: 100%;
    margin-top: 18px;
}

.fg-full:first-child
{
    margin-top: 0;
}

.fg-left,
.fg-right
{
    display: inline-block;
    margin-top: 18px;
}

.fg-phone input
{
    display: inline-block;
    width: 50px;
}

.fg-phone input:last-child
{
    width: 60px;
}

.fg-checkbox-container
{
    display: block;
    width: 100%;
    margin-top: 18px;
}

.fg-checkbox
{
    display: block;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.fg-checkbox-col
{
    display: block;
    width: 100%;
    position: static;
    left: 0;
    margin-bottom: 10px;
}

.fg-checkbox .fg-checkbox-col:nth-child(2)
{
    left: 6%;
}

.fg-checkbox .fg-checkbox-col:nth-child(3)
{
    left: 9%;
}

.phone-separator
{
    font-size: 18px;
}


/* TABLES */

thead th
{
    text-align: center;
}

thead tr:nth-child(1).stickyHeader th
{
    background-color: #EAE8E8;
    opacity: 1;
    position: sticky;
    top: 50px;
}

.divider td
{
    background-color: #EAE8E8;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.row-clickable,
.rdv-clickable
{
    cursor: pointer;
}

.row-clickable:hover,
.rdv-clickable:hover
{
    background-color: #F9F9F9;
}

.text-cell
{
    text-align: left;
}

.number-cell
{
    text-align: right;
}


/* TABS */

.tab-content
{
    top: 70px;
    padding: 10px 15px;
    border-top: none;
    animation: fadeEffect 1s;
}

.tab-header
{
    margin-top: 10px;
    margin-bottom: 15px;
}

.tab-menu
{
    background-color: #705438;
    border: 1px solid #ccc;
    z-index: 2;
    overflow: hidden;
}

.tab-menu .btn
{
    background-color: #705438;
    color: white;
    border-radius: 0;
    float: left;
    outline: none !important;
    outline-offset: 0 !important;
    cursor: pointer;
    padding: 10px 12px;
    transition: 0.3s;
}

.tab-menu .btn:hover
{
    background-color: #A58767;
}

.tab-menu .btn.active
{
    background-color: #127B06;
}


/* [SM] : Landscape tablets */

@media only screen and (min-width: 768px)
{
    .container
    {
        padding-left: 15px;
        padding-right: 15px;
    }

    .row
    {
        margin-left: -15px;
        margin-right: -15px;
    }

    .fg-left
    {
        width: 40%;
    }

    .fg-right
    {
        width: 40%;
        float: right;
    }

    .fg-checkbox-col
    {
        display: inline-block;
        width: 30%;
        position: relative;
        left: 3%;
        margin-bottom: 0;
    }
}
