/* Deltagon Sec@GW css-stylesheet */

body {
    margin          : 0 auto;
    margin-top      : 10px;
    color	        : #000000;
    font-size	    : 12px;
    font-family     : arial;
    width           : 750px;
    padding         : 0;
}

input {
    /*netscape does not like border-width*/
    /*border-width  : 2px;*/
    font-size       : 12px;
    font-family     : arial;
}

textarea {
    font-family	    : arial;
    font-size	    : 12px;
}

input.small {
    font-family     : arial;
    font-size	    : 12px;
}

a.green {
    color           : green;
    font-family     : arial;
    font-size       : 10px;
}

a:hover {
    text-decoration : none;
}

table {
    border-collapse : collapse;
}

table.layout, table.footer {
    margin          : auto;
}

table.message {
    border-collapse : collapse;
}

tr.header {
    background	    : #eeeeee;
    border-bottom   : solid 1px #000000;
    border-top      : solid 1px #000000;
}

tr.header2 {
    background	    : #eeeeee;
    border-top      : solid 1px #000000;
}

tr.vaalea {
    background      : #eeeeee;
}

tr.tumma {
    background      : #dddddd;
}

td {
    font-family	    : arial;
    font-size	    : 12px;
}

td.att {
    font-family     : arial;
    font-size	    : 12px;
}

td.logo {
    font-family	    : arial;
    font-size       : 12px;
    background	    : #ffffff;
    color		    : #3333aa;
}

pre {
    font-family	    : arial;
    font-size	    : 12px;
    white-space     : pre-wrap;       /* css-3 */
    white-space     : -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space     : -pre-wrap;      /* Opera 4-6 */
    white-space     : -o-pre-wrap;    /* Opera 7 */
    word-wrap       : break-word;     /* Internet Explorer 5.5+ */
}

tt {
    font-family	    : arial;
    font-size	    : 12px;
}

h3 {
    margin-top      : 1px; 
    padding-top     : 1px;
    margin-bottom   : 1px; 
    padding-bottom  : 1px;
}

pre h3 {
    font-family     : arial;
    font-size       : 14px;
    line-height	    : 16px;
}

pre.message, pre.SecAtGW {
    font-family	    : arial;
    font-size	    : 12px;
    margin	        : 0 0 12px 12px;
    padding         : 0;
    color	        : #000000;
    background-color: #ffffff;
    white-space     : pre-wrap;       /* css-3 */
    white-space     : -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space     : -pre-wrap;      /* Opera 4-6 */
    white-space     : -o-pre-wrap;    /* Opera 7 */
    word-wrap       : break-word;     /* Internet Explorer 5.5+ */
}

P.footer {
	FONT-SIZE       : 10px; 
	FONT-FAMILY     : arial;
	margin          : 0;
}

P.header {
	FONT-SIZE       : 12px; 
	FONT-FAMILY     :  arial;
	letter-spacing  : 1px;
	font-weight     : bold;
	margin          : 0;
}

p {
    margin          : 0;
}

FORM.pad {
	margin-top      : 0px;
	padding-top     : 10px;
}

form {
    margin          : 0;
    padding         : 0;
}

.white {
    background-color: #ffffff;
}

.leftmargin {
    margin-left     : 24px;
}

.noleftmargin {
    margin-left     : 20px;
    padding         : 0;
}

input.disabled {
    color           : #000000;
    background      : #dddddd;
}

/* Preventing some office specific styles which break the layout */
p.MsoListParagraph {
    text-indent: 0 !important;
}

button[type="submit"].link_button, 
button[type="submit"]:focus.link_button, 
button[type="submit"]:active.link_button {
    /* Remove all decorations to look like normal text */
    background: none;
    border: none;
    display: inline;
    font: inherit;
    margin: 0;
    padding: 0;
    outline: none;
    outline-offset: 0;
    /* Additional styles to look like a link */
    color: blue;
    cursor: pointer;
    text-decoration: underline;
}
/* Remove extra space inside buttons in Firefox */
button[type="submit"].link_button::-moz-focus-inner {
    border: none;
    padding: 0;
}

.globalRecipient{
    font-weight: bold;
}

.messageArea{
    word-wrap: break-word;
    max-width: 700px;
}

td.messageArea img {
    max-width: 100%;
    cursor: pointer;
}

img.addButton {
    padding: 9px 0 11px 0;
    width: 12px;
    height: 12px;
}
.boxes .gsm {
    padding: 9px 3px 0 10px;
}


a.helpicon {
    color:#FFFFFF;
    background-color:#003375;
    width:22px;
    height:22px;
    margin-top: 38px;
    display:inline-block;
    border: 1px solid #FFFFFF;
    border-radius:100%;
    font-size:19px;
    text-align:center;
    text-decoration:none;
    -webkit-box-shadow: inset -1px -1px 1px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: inset -1px -1px 1px 0px rgba(0,0,0,0.25);
    box-shadow: inset -1px -1px 1px 0px rgba(0,0,0,0.25);
}

a.helptext {
    color: #FFF;
    font-size: 14px;
    margin-top: 40px;
    font-weight: bold;
}

a.helptext:hover {
    color: #b1c7e8;
}

:root .helpContainer {
    padding-right: 85px;
}

@media only screen and (max-width: 960px) {
    :root .helpContainer {
        float: right !important;
        padding-right: 75px;
    }
}

@media only screen and (max-width: 600px) {
    :root .helpContainer {
        padding-right: 35px;
    }
}

.helpContainer a {
    text-decoration: none;
}

img.replyDelBut {
    float: left;
    padding: 11px;
    margin: 2px 0;
}
.new-rcpt > .box{
    min-width: 295px;
}
@media only screen and (max-width: 960px) {
	img.replyDelBut {
	    width: 1.5em !important;
        height: 1.5em !important;
		margin-left:0em !important;
        padding-top: 7px;
        padding-bottom: 8px;
	}
    #recipientContainer > .new-rcpt {
        width: 100% !important;
        display: inline-flex;
    }
    .new-rcpt > .box{
        min-width: auto;
    }
}

/* gombose addressbookki värityksii jne */
#popup {
    background-color: rgba(0,0,0,.20);
}

#popup>div.wrapper {
    background: #fff;
    border: 2px solid #003375;
    box-shadow: 7px 7px 4px 0px rgba(0,0,0,0.75);
    border-radius: 4px;
    transition: top 1s, left 1s, right 1s, transform .3s;
}

#popup .title {
    color: #fff;
    background-color: #003375;
    border-bottom: 1px solid #000;
    border-radius: 1px 1px 0 0;
}

#popup .title h1 {
    color: #FFF;
    font-size: 18px;
    margin-top: 0;
}

#popup .footer {
    background-color: rgba(56,56,125,.1);
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome/Safari/Opera */
     -khtml-user-select: none; /* Konqueror */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  not supported by any browser */
}

#popup {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    text-align:center;
    z-index: 2;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}
#popup * {
    box-sizing: border-box;
}

#popup > div.wrapper {
    display: block;
    text-align: center;
    z-index: 3;
    width: 1000px;
    max-width: 97%;
}

@media (max-width: 760px) {
    #popup > div.wrapper {
        width: 500px;
        max-width: 97%;
    }
}

#popup > .wrapper > .title {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 32px;
    font-size: 17px;
    padding-top: 8px;
    user-select: none;
}
#popupClose{
    right: 6px;
    top: 4px;
    position: absolute;
    display: block;
    cursor: pointer;
}

#popup > .wrapper > .content {
    display: inline-block;
    width: 100%;
    text-align: left;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 200px;
    max-height: 70vh;
    padding: 5px;
}

#popup fieldset {
    border: none;
}

#popup > .wrapper > .footer {
    display: inline-block;
    width: 100%;
    text-align: right;
    padding: 4px 10px 2px 0;
}

#popup .ab-col {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

#popup .ab-ent {
    display: flex;
    padding: 3px;
    font-size: 14px;
    position: relative;
    width: 50%;
    min-height: 35px;
    border: 1px #888 solid;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 760px) {
    #popup .ab-col {
        flex-direction: column;
    }
    #popup .ab-ent {
        width: auto;
        margin: 0 !important;
    }
}

#popup .ab-ent > div {
    margin-left: 14px;
    margin-right: 14px;
    overflow: hidden;
    word-break: break-word;
}
#popup .ab-ent > img+div {
    margin-left: 0;
}
#popup .ab-ent > img.sel {
    display:none;
    position: absolute;
    right: 2px;
}
#popup .ab-ent > div.sel+img {
    display:inline;
}
#popup #addrbook_contactslist .active-email {
    background-color: #AAE8AA;
}
#popup .ab-col .addressbookbtn {
    margin: 0;
}
#popup .ab-add {
    display: none !important;
}
#popup #addrbook_contactslist .ab-add {
    display: block !important;
}

#popup .grayaddrbtn {
    background-color: #606060;
    border-color: #606060;
}
#popup .grayaddrbtn:hover {
    background-color: #353535;
    border-color: #353535;
}
#popup .grayaddrbtn:focus {
    background-color: #353535;
    border-color: #353535;
}

#popup .redaddrbtn {
    background-color: #ea0000;
    border-color: #ea0000;
}
#popup .redaddrbtn:hover {
    background-color: red;
    border-color: red;
}
#popup .redaddrbtn:focus {
    background-color: red;
    border-color: red;
}

#popup textarea[name="addaddresses"] {
    width: 100%;
    height: 300px;
}

#popup .popup-textarea {
    margin: 0px 13px 11px 13px;
}

#popup .popupinfo {
    line-height: 15px;
}

.box:disabled,
.box:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.boxes>div:after {
    content: " ";
    clear: both;
    display:block;
}

.boxes select.box {
    margin: 2px 0;
}

.boxes>div>div:not(:last-of-type) {
    margin-bottom: 2px;
}

#popup .addr_delete_cancel>.ab-checkbox {
    text-decoration: line-through;
}

@media (max-width: 960px) {
    #popup .ab-col .ab-checkbox {
        width: 60% !important;
    }
    #popup .ab-col .addressbookbtn {
        width: 40% !important;
    }
}

#addressbook_exit {
    background: none;
    border: none;
    cursor: pointer;
}

.info {
    padding: 1em;
    margin-top: 1em;
    background-color: #7ec4f7;
    border: 1px solid #379ae3;
}
