/*MAIN*/
html, body{
    padding: 0;
    margin: 0;
    border: 0;
    background-color: #edf0f5;
    font-family: 'Roboto';
    -webkit-font-smoothing: antialiased;
    color: #3e3e3e;
}
.mainContent{
    margin: 70px auto 0px auto;
    padding: 20px;
    max-width: 1600px;
    box-sizing: border-box;
}
.hide{
    display: none!important;
}
.noscroll{
    overflow: hidden;
}

/*INPUTS*/
input[type="text"], input[type="password"], input[type="number"]{
    width: 200px;
    font-size: 14px;
    padding: 8px 10px;
    border: 1px solid #d2d2d2;
    border-radius: 2px;
    box-sizing: border-box;
    background-color: #fff;
    -webkit-appearance: none;
}
select{
    -webkit-font-smoothing: antialiased;
    background-color: #ffffff;
    color: #000;
    height: 35px;
    width: 200px;
    background-image: url(/styles/images/arrow.png);
    cursor: pointer;
    -webkit-appearance: none;
    padding-left: 10px;
    background-position: 93% center;
    background-repeat: no-repeat;
    background-size: 10px;
    border-radius: 2px;
    font-size: 14px;
    border: 1px solid #d2d2d2;
    -webkit-appearance: none;
}

/*TABLE*/
.tableScroll{
    max-width: 100%;
    overflow: auto;
}
table{
    font-size: 14px;
    width: 100%;
}
table th{
    text-align: left;
    padding: 15px 10px;
    border-bottom: 1px solid #f1f1f1;
    text-transform: uppercase;
    font-size: 12px;
}
table th:nth-last-child(n+2){
    padding-right: 25px;
}
table td{
    padding: 4px 10px;
}
table td > .iconButton{
    color: #a5a5a5;
    cursor: pointer; 
}
table td > .iconButton:hover{
    color: #585858;   
}
.emptyTableRow{
    text-align: center;
}
.loadingTableRow{
    text-align: center;
}
/*HEADER*/
.header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.05);
    display: flex;
    height: 70px;
    z-index: 100;
    overflow: scroll;
}
.header > .menu{
    flex: 1;
}
.header > .menu{
    display: flex;
    justify-content: flex-end;
    margin: 0 10px;
}
.header > .menu > .option{
    display: flex;
    align-items: center;
    padding: 5px 10px;
    margin: 0 5px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
    border-bottom: 2px solid #fff;
    text-transform: uppercase;
}
.header > .menu > .option:hover{
    color: #2196F3;
    border-bottom: 2px solid #2196F3;
}
.header > .menu > .option.selected{
    color: #2196F3;
    border-bottom: 2px solid #2196F3;
}

/*FILTER BAR*/
.filterBar{
    padding: 15px 20px;
    background-color: #fff;
    border-radius: 2px;
    border: 1px solid #e4e4e4;
    display: flex;
    margin-bottom: 20px;
}
.filterBar > .filters{
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    margin-right: 20px;
}
.filterBar > .filters > .filter:nth-last-child(n+2){
    margin-right: 20px;
}
.filterBar > .filters > .filter{
    margin-bottom: 10px;
}
.filterBar > .filters > .filter > .title{
    font-size: 12px;
    margin-bottom: 5px;
    font-weight: bold;
    text-transform: uppercase;
}
.filterBar > .buttonsContainer{
    display: flex;
    align-items: center;
}

/*BUTTONS BAR*/
.buttonsBar{
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}
.buttonsBar .button:nth-last-child(n+2){
    margin-right: 10px;
}

/*SECTION*/
.section:nth-last-child(n+2){
    margin-bottom: 40px;
}

.section > .title{
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.section > .content{
    background-color: #fff;
}

/*BUTTONS*/
.blueButton{
    text-align: center;
    padding: 10px;
    background-color: #2196F3;
    color: #fff;
    border-radius: 2px;
    font-size: 14px;
    cursor: pointer;
    box-sizing: border-box;
    border: 0px;
    -webkit-appearance: none;
    height: fit-content;
}
.blueButton:hover{
    background-color: #237ec5;
}

.grayButton{
    text-align: center;
    padding: 10px;
    background-color: #a9a9a9;
    color: #fff;
    border-radius: 2px;
    font-size: 14px;
    cursor: pointer;
    box-sizing: border-box;
    border: 0px;
    -webkit-appearance: none;
    height: fit-content;

}
.grayButton:hover{
    background-color: #666666;
}

.redButton{
    text-align: center;
    padding: 10px;
    background-color: #F44336;
    color: #fff;
    border-radius: 2px;
    font-size: 14px;
    cursor: pointer;
    box-sizing: border-box;
    border: 0px;
    -webkit-appearance: none;
    height: fit-content;
}
.redButton:hover{
    background-color: #b12c22;
}

/*MODAL*/
.modalBackground{
    display: flex;
    align-items: center;
    flex-direction: column;
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.2);
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 1000;
}
.modalBackground > .modalContainer{
    margin: auto 20px;
    min-width: 400px;
    width: -webkit-fill-available;
    max-width: 600px;
    background-color: #fff;
}
.modalBackground::before{
    flex: 0 0 55px;
    content:'';
}
.modalBackground::after{
    flex: 0 0 55px;
    content:'';
}
.modalBackground > .modalContainer .modalHeader{
    padding: 20px;
}
.modalBackground > .modalContainer .modalHeader > .title{
    font-size: 20px;
    font-weight: bold;
}
.modalBackground > .modalContainer .modalContent{
    padding: 0 40px;
}
.modalBackground > .modalContainer .modalContent > .form > .row:nth-last-child(n+2) {
    margin-bottom: 10px;
}
.modalBackground > .modalContainer .modalContent > .form > .row > .title {
    font-size: 14px;
    margin-bottom: 2px;
    font-weight: bold;
}
.modalBackground > .modalContainer .modalFooter{
    padding: 20px;
    display: flex;
    justify-content: flex-end;
}
.modalBackground > .modalContainer .modalFooter > .button:nth-last-child(n+2){
    margin-right: 10px;
}

.modalBackground > .modalContainer .modalContent.modalLoadingContent{
    padding: 40px;
    text-align: center;
}

.modalBackground > .modalContainer .modalContent.modalErrorContent{
    padding: 40px 40px 0px 40px;
    text-align: center;
}

.green{
    color: #009688;
}

.red{
    color: #F44336;
}