@charset "utf-8";

html, body {
    height: 101%;
}

body {
    position: relative;
    background-color: #D8D8D8;
    font: 12px/18px Arial, Tahoma, Geneva, sans-serif;
    color: #000;
    -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
    -webkit-text-size-adjust: 100%;
}

*, form {
    padding: 0;
    margin: 0;
}

img {
    margin-left: 0;
    padding: 0 !important;
    border: 0;
}

div {
    display: block;
}

a {
    color: #0D72DF;
    outline: none 0;
    outline-color: inherit;
    cursor: pointer;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

hr {
    color: #DDDDDD;
    background-color: #DDDDDD;
    height: 1px;
    font-size: 1px;
    line-height: 1px;
    border: none;
}

input[type="checkbox"] {
    vertical-align: middle;
}

h3, h4, h2, h1 {
    margin: 0 0 5px;
    padding: 0;
}

button {
    cursor: pointer;
    padding: 2px 10px 1px;
}

.msg {
    width: 100%;
    padding: 5px;
    color: black;
    background-color: #FFFFFF;
    border: 1px solid #CCC;
    border-radius: 3px 3px 3px 3px;
    margin-bottom: 5px;
}

.msg.oka {
    background: #87e28d;
}

.msg.err {
    background: #FF4940;
}


.wrapper {
    display: block;
    box-sizing: border-box;
    width: 1000px;
    min-height: 100%;
    padding: 10px 20px 20px;
    margin: 0 auto;
    background-color: #F2F2F2;
    border-radius: 3px 3px 3px 3px;
}

/* ********************** HEADER AND NAV ***************************** */
header {
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
    width: 100%;
    padding-top: 0;
    text-align: center;
    overflow: hidden;
    border-bottom: #333333 dotted 1px;
}

#logo {
    display: inline-block;
    flex: 0 0 150px;
    padding-top: 10px;
}

.header-right {
    display: inline-block;
    flex: 1 1 auto;
}

.header-sent-status {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 20px;
    line-height: 12px;
    text-align: right;
    font-size: 11px;
}

nav {
    display: block;
    width: 100%;
    height: 30px;
    line-height: 26px;
}

nav ul {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
    list-style: none inside none;
    text-align: right;

}

nav ul li {
    display: inline-block;
    justify-content: flex-end;
}

nav ul li a {
    display: inline-block;
    line-height: 26px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 24px;
    font-weight: bold;
}

nav ul li a:hover,
nav ul li.active a {
    color: green;
}

nav ul li:last-child a {
	padding-right: 0;
}

/* **************************** CONTENT ***************************** */
section.contentblock {
    display: block;
    width: 100%;
    min-height: 60%;
    padding-top: 15px;
	overflow: hidden;
}

/* ********************** LIST ACCOUNTS ***************************** */

.listacc p:hover {
    background-color: #DFDFDF;
}

.listemails table tbody tr td small{
    color: orange;
}

.listemails table tbody tr td:last-child{
    text-align: right;
}
.listemails table tbody tr td:last-child a{
    display: inline-block;
    line-height: 1;
    padding: 0 3px 2px 4px;
    color: red;
    font-weight: bold;
    border: 1px solid #CCC;
    text-decoration: none;
    cursor: pointer;
}
.listemails table tbody tr td:last-child a:hover{
    color: #FFF;
    background-color: red;
}

/* ********************** COMPOSE ***************************** */

.attachments-list .files{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.attachments-list .files a{
    display: inline-block;
}

.attachments-list .files a:hover {
    text-decoration: underline !important;
}

.attachments-list .files a.delfl {
    color: red;
}

.progress-bar {
    display: block;
    width: 0;
    height: 3px;
    background-color: green;
}

.compose form div.form-group-50 a {
    display: block;
    width: 90%
}

.compose form div.form-group-50 a:hover {
    text-decoration: none;
}

.displayFileStats p {
    font-size: 12px;
    padding: 0;
}

/* ********************** CONTROL ***************************** */

.system-state h2,
.system-deset h2 {
    display: block;
}

.system-state h2 label,
.system-deset h2 label {
    display: block;
    line-height: 12px;
    padding-right: 10px;
    padding-left: 1px;
    padding-top: 5px;
    font-size: 11px;
    font-weight: normal;
}

.system-state select {
    width: 170px;
    padding: 0;
    cursor: pointer;
    background-color: #F5F5F5;
    border: 1px solid #c4c4c4;
}

.system-state select option {
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
    font-size: 16px;
    color: #999 !important;
}

.system-state select option.active {
    color: #000000;
}

.system-state select option:hover {
    color: #333333;
}

.system-state select option[selected] {
    color: #000000;
}

.st-disabled,
.system-state select option.st-disabled:active {
    color: #ff9999;
}

.st-enabled,
.system-state select option.st-enabled:active {
    color: #99ff99;
}

.system-deset button {
    cursor: pointer;
    padding: 10px;
    background-color: #99ff99;
    font-size: 16px;
}

@media screen and (max-width: 991px) {

    .wrapper{
        width: 100%;
    }

    header{
        flex-wrap: wrap;
    }
    #logo{
        display: none;
    }

    .header-sent-status{
        font-style: italic;
        opacity: .8;
    }

    nav{
        height: auto;
    }
    nav ul{
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 2px;
        justify-content: space-between;
    }
    nav ul li a{
        font-size: 2.8vw;
    }
    .system-state h2,
    .system-deset h2{
        padding-top: 30px;
    }
    .system-state h2,
    .system-deset h2{
        text-align: center;
    }
    .system-state .form-group,
    .system-state .col-lg-4,
    .system-deset .form-group{
        text-align: center;
    }
    .system-state select,
    .system-deset select{
        display: inline-block !important;
    }
}