/* mobile */
@media screen and (max-width: 767px) {
	
	.messageRight .composeTo {
	    margin-left: -50px !important;
	}
	.messageHeading {
		display: flex;
    	width: 90vw;
	}
	
	.messageRow {
		display: flex;
    	width: 80vw;
    	justify-content: space-between;
	}
	
	.messageCheckbox {
		margin-right: 10px !important;
	}
	
	.subjectmatter {
		width: 50vw !important;
		margin-bottom: 10px;
		margin-right: 5%;
		word-wrap: break-word;
	}
	
	.datefont {
	    display: flex;
	    height: 15px;
	    justify-content: flex-start;
	    width: 50vw !important;
	}
	.replyBtn {
		margin-left: 0px !important;
		margin-top: 8px;
	}
	.button-row {
		display: flex;
		flex-direction: column !important;
		text-align-last: center !important;
		text-align: -webkit-center !important;
	}
	.back-button-row {
		flex-direction: column !important;
		justify-content: center !important;
		text-align: -webkit-center !important;
	}
	.archive-reply-button-row {
		flex-direction: column !important;
		justify-content: center !important;
		text-align: -webkit-center !important;
	}
	.messageRight hr {
		display: block;
		position: relative;
		padding: 0;
		margin: 8px auto;
		height: 0;
		width: 100%;
		max-height: 0;
		margin-top: 0px !important;
		font-size: 1px;
		line-height: 0;
		clear: both;
		border: none;
		border-top: 1px solid #aaaaaa;
		border-bottom: 1px solid #ffffff;
	}
	.messageRight .fullwidthCompose {
		border-collapse: separate !important;
		border-spacing: 2px 15px;
	}
	/* Iowa customization for Defect 171739 */
	.messageTab .row {
		margin-right: -60px !important;
		margin-left: -16px !important;
	}
	.messageCenterMain .columnA {
		display: block !important;
	}
	.messageCenterMain .columnA .groupBox {
		margin-top: 72px !important;
	}
	.messageLeftTabClicked a {
		margin-left: 5px;
	}
	.inbox .messageLeftTabClicked, .sent .messageLeftTabClicked {
		width: 75px !important;
	}
	.inbox .messageLeftTabClicked, .archive .messageLeftTab {
		margin-left: -10px !important;
	}
	.sent, .archive {
		margin-right: 5%;
	}
	.sent .messageLeftTabClicked {
		margin-left: -15px !important;
	}
	.messageCenter hr {
		margin-left: 0px !important;
		width: 100% !important;
	}
	.archive .messageLeftTabClicked {
		width: 85px !important;
		margin-left: -16px !important;
	}
	.subjectmatter {
		font-size: 13px;
		text-align: left;
	}
	.attachmentadd {
		margin-right: 5px;
	}
	.messageRight {
		border-style: unset !important;
	}
	.messageRight span {
		margin-top: 10px;
	}
	.messageCenterTitle {
		margin-left: 18px;
		margin-bottom: -4px;
	}
	.contentMessageCenter {
		margin-left: 8px;
	}
	.checkboxhead {
		margin-left: 10px;
	}
	.attachmentimg {
		width: 13px;
	}
	.frommatter, .inboxpagespace, .from, .fromarchive, .frommatterarchive,
		.to, .toMatter, .displayMessage {
		display: none;
	}
	.subjectarchive, .subjectmatterarchive {
		width: 60%;
	}
	.archive hr {
		margin-left: -16px !important;
	}
	.sentMessage, .sentDate {
		width: 35% !important;
	}
	.sentMessageSubject, .sentSubjectmatter {
		width: 60% !important;
	}
	.sentBox .fullwidth {
		margin-left: 4px !important;
		width: 100% !important;
	}
	.sentBox hr {
		margin: 0px 0px 0px -5px !important;
	}
	.senthr hr {
		width: 100% !important;
		margin: 0px 0px 0px -1px !important;
	}
	.composeTo .toDropdown {
		margin-top: 30px;
		width: 327px;
		margin-left: -50px !important;
	}
	.subjectCompose .subjectDropdown {
		margin-top: 5px;
		width: 327px;
	}
	.inbox .messageLeftTab {
		margin-left: -10px !important;
	}
	.compose .messageLeftTabClicked {
		width: 97px !important;
		margin-left: -10px !important;
	}
	.messageCompose .messageTextArea {
		width: 326px !important;
		margin-left: 3px !important;
		margin-top: 25px !important;
	}
	.messageRight .attachmentCompose, .chooseCompose {
		font-size: 14px !important;
	}
	.messageRight .chooseCompose {
		width: 200px;
	}
	.buttonSendCancel .cancelbutt {
		width: 70px !important;
		margin-left: 20px;
		font-size: 11px;
		display: initial;
	}
	.buttonSendCancel {
		display: flex;
		justify-content: space-between;
	}
	.backArchiveButtons {
		
		justify-content: space-between;
		display: flex;
   		flex-direction: column-reverse;
	}
	.buttonSendCancel .sendbutt {
		width: 70px !important;
		border-radius: 100px;
		font-weight: 700;
		font-size: 11px;
		display: initial;
	}
	.reply-button {
		width: 70px;
		font-size: 11px;
	}
	.archive-button {
		width: 70px;
		font-size: 11px;
		padding: 6px 0px !important;
	}
	.archivebutt {
		width: 70px;
		font-size: 11px;
		border-radius: 100px;
		margin-left: 250px;
		font-weight: 700;
	}
	.backbutt {
		width: 70px !important;
		font-size: 11px;
		display: initial;
	}
	.viewMessage .messageRight {
		margin-left: 7px !important;
	}
	.viewMessage  td {
		display: block;
		margin-top: 10px;
	}
	.viewMessage .messageTextArea {
		width: 321px !important;
		margin-top: 8px;
		margin-bottom: 17px;
		font-size: 14px !important;
	}
	.viewMessage .divAsTextarea {
		width: 321px !important;
		margin-top: 8px;
	}
	.hidetd {
		display: none !important;
	}
	.viewMessage img {
		width: 70px !important;
	}
	.viewMessageOpen {
		width: 70px !important;
		font-size: 11px;
		border-radius: 100px;
		font-weight: 700;
		display: initial;
	}
	.attachmentName td {
		font-size: 13px;
		vertical-align: middle !important;
	}
}

/* tablet */
@media screen and (min-width:768px) and (max-width: 1023px) {
	.messageCompose {
		display: flex;
	}
	.messageRight hr {
		display: block;
		position: relative;
		padding: 0;
		margin: 8px auto;
		height: 0;
		width: 100%;
		max-height: 0;
		margin-top: 0px !important;
		font-size: 1px;
		line-height: 0;
		clear: both;
		border: none;
		border-top: 1px solid #aaaaaa;
	}
	.messageRight .fullwidthCompose {
		border-collapse: separate !important;
		border-spacing: 45px 15px;
	}
	.messageCenterTitle {
		margin-left: 30px;
		margin-bottom: 10px;
	}
	.frommatter, .from, .inboxpagespace, .fromarchive,
		.frommatterarchive, .to, .toMatter, .displayMessage {
		display: none;
	}
	.subjectarchive, .subjectmatterarchive {
		width: 60%;
	}
	.contentMessageCenter {
		margin-left: 18px;
	}
	.datefont {
		text-align: left;
	}
	.checkboxhead {
		margin-left: 25px;
	}
	.attachmentadd {
		font-size: 10px:
	}
	.footer {
		font-size: 20px;
	}
	.messageRight {
		border-style: unset !important;
	}
	.attachment {
		width: 10%;
	}
	.messageCenterMain .pageFooter {
		margin-top: 30px;
	}
	.messageCenterMain .columnA .groupBox {
		display: block !important;
		margin-top: 68px !important;
	}
	.archive hr {
		margin: 0px 0px 0px -46px !important;
		width: 100% !important;
	}
	.messageRight .fullwidthArchive {
		margin-left: 60px !important;
	}
	.sentBox .fullwidth {
		margin-left: 55px !important;
		width: 100% !important;
	}
	.sentBox hr {
		margin: 0px 0px 0px -35px !important;
		width: 96% !important;
	}
	.senthr hr {
		width: 100% !important;
		margin: 0px 0px 0px 19px !important;
	}
	.sentMessage, .sentDate {
		width: 40% !important;
	}
	.sentMessageSubject, .sentSubjectmatter {
		width: 60% !important;
	}
	.compose .messageLeftTabClicked {
		width: 100px !important;
		margin-left: 15px !important;
	}
	.composeTo .toDropdown {
		width: 500px;
	}
	.subjectCompose .subjectDropdown {
		margin-top: 5px;
		width: 500px;
	}
	.messageCompose .messageTextArea {
		margin-top: 10px !important;
		margin-left: 9px !important;
		height: 310px !important;
		width: 500px !important;
	}
	.archivebutt {
		width: 70px;
		margin-top: 15px;
		margin-right: 85px;
	}
	.buttonSendCancel .cancelbutt, .sendbutt {
		width: 90px;
	}
	.buttonSendCancel .cancelbutt {
		margin-left: 440px;
		margin-bottom: -50px;
		font-weight: 700;
		display: initial;
	}
	.buttonSendCancel .sendbutt {
		width: 90px;
		height: 36px;
		margin-left: 540px;
		border-radius: 100px;
		font-weight: 700;
	}
	.reply-button {
		width: 90px;
	}
	.archive-button {
		width: 90px;
	}
	.backbutt {
		width: 90px !important;
	}
	.archivebutt {
		width: 80px;
		border-radius: 100px;
		font-weight: 700;
		margin-left: 650px;
	}
	.viewMessage .messageRight {
		margin-left: 25px !important;
		width: 100%;
	}
	.viewMessage .divAsTextarea {
		margin-top: 5px;
		width: 530px !important;
	}
	.viewMessage .messageTextArea {
		width: 540px !important;
		margin-top: 4px;
	}
	.viewMessage .archivefolder img {
		width: 30px !important;
	}
	.toCompose .tocomposeReply {
		margin-left: 50px;
	}
	.viewMessageOpen{
	    width: 90px;
		height: 36px;
		margin-left: 540px;
		border-radius: 100px;
		font-weight: 700;
	}
}

/* laptop */
@media screen and (min-width:1024px) {
	.messageCompose {
		display: flex;
	}
	.messageiconimg {
		display: none !important;
	}
	.composeimg, .archiveimg, .archivefolder {
		display: none;
	}
	.messageCenterMain .columnA .groupBox {
		display: block !important;
		margin-top: 68px !important;
	}
	.messageRight hr {
		display: block;
		position: relative;
		padding: 0;
		margin: 8px auto;
		height: 0;
		margin-top: 0px !important;
		width: 97%;
		margin-left: 10px;
		max-height: 0;
		font-size: 1px;
		line-height: 0;
		clear: both;
		border: none;
		border-top: 1px solid #aaaaaa;
		border-bottom: 1px solid #ffffff;
	}
	.archive hr {
		margin: 0px 0px 0px -81px !important;
		width: 108% !important;
	}
	.messageRightArchive hr {
		margin-left: -6px !important;
		width: 100% !important;
	}
	.fromarchive, .frommatterarchive {
		width: 28%;
	}
	.subjectarchive, .subjectmatterarchive {
		width: 42%;
	}
	.recievedarchive, .recievedmatterarchive {
		width: 30%;
	}
	.frommatter {
		font-size: 14px;
	}
	.archivebutt {
		width: 90px;
		border-radius: 100px;
		font-weight: 700;
		margin-left: 75px;
	}
	.subjectmatter {
		font-size: 14px;
	}
	.from {
		width: 30%;
		font-size: 14px;
	}
	.archive {
		font-size: 16px;
	}
	.archivebutton {
		margin-left: 750px;
		margin-top: 30px;
	}
	.sent {
		font-size: 16px;
	}
	.footer {
		margin-top: 50px;
	}
	.messageRight {
		border-style: unset !important;
	}
	.checkboxhead {
		margin-left: 35px;
	}
	.messageCenterTitle {
		margin-left: 18px;
		margin-bottom: 10px;
	}
	.messageRight .fullwidthArchive {
		margin-left: 95px !important;
		width: 90% !important;
	}
	.messageRight .fullwidthCompose {
		border-collapse: separate !important;
		border-spacing: 75px 20px !important;
	}
	.composeTo .toDropdown {
		width: 600px;
	}
	.subjectCompose .subjectDropdown {
		width: 600px !important;
	}
	.compose .messageLeftTabClicked {
		width: 135px !important;
		margin-left: 59px !important;
	}
	.inbox .messageLeftTabClicked {
		margin-left: 19px;
	}
	.messageRight .attachmentCompose, .chooseCompose {
		font-size: 14px !important;
	}
	.buttonSendCancel .sendbutt, .cancelbutt {
		width: 90px;
	}
	.buttonSendCancel .sendbutt {
		margin-left: 745px;
		border-radius: 100px;
		font-weight: 700;
	}
	.buttonSendCancel .cancelbutt {
		margin-left: 645px;
		margin-bottom: -47px;
		border-radius: 100px;
		border-width: 2px;
	}
	.reply-button {
		width: 90px;
	}
	.archive-button {
		width: 90px;
	}
	.backbutt {
		width: 90px !important;
	}
	.backbutt:hover {
	    background-color: #e2e6ea;
	    color: #2e6da4;
	}
	.toCompose .tocomposeReply {
		margin-left: 50px;
	}
}

.messageLeftTab a:visited, .messageLeftTab a:link,
	.messageLeftTabClicked  a:link {
	color: #575757 !important;
}

/* Iowa customization for color Story #169947 */
/* Iowa customization for rebranding Story #188174 */
.messageLeftTabClicked a:visited {
	color: #1C365F !important;
}

.messageCenterMain .wlp-bighorn-window-content {
	background-color: white !important;
	overflow: hidden !important;
}

/* Iowa customization for color Story #169947 */
/* Iowa customization for rebranding Story #188174 */
div.messageLeftTabClicked {
	border-bottom: 1px solid #1C365F;
}

.messageLeftTab, .messageLeftTabClicked, .recieved, .datefont {
	text-align: center;
}

/* Iowa customization for color Story #169947 */
/* Iowa customization for rebranding Story #188174 */
.messageCenterTitle {
	font-size: 32px;
	color: #1C365F;
	font-family: verdana;
}

.titleColumn .htmlHeaderPageTitle {
	font-size: 24px;
	font-weight: 700;
}

.recieved, .subject, .subjectmatter, .fromarchive, .subjectarchive,
	.recievedarchive, .frommatterarchive, .subjectmatterarchive,
	.recievedmatterarchive {
	font-size: 14px;
}

.datefont {
	font-size: 13px;
}

.messageRight .select {
	font-size: 14px;
	width: 10%;
}

.subject, .subjectmatter {
	width: 40%;
}

.recieved, .datefont, .sentMessage, .sentDate {
	width: 25%;
}

.messageRight {
	width: 100% !important;
}

.messageCenter hr {
	display: block;
	position: relative;
	padding: 0;
	margin: 8px auto;
	height: 0;
	margin-top: 0px !important;
	width: 97%;
	max-height: 0;
	font-size: 1px;
	line-height: 0;
	clear: both;
	border: none;
	border-top: 1px solid #aaaaaa;
	border-bottom: 1px solid #ffffff;
}

.messageRight .fullwidth {
	border-collapse: separate !important;
	border-spacing: 2px 15px;
	margin-top: -10px !important;
}

.messageRight .fullwidthArchive {
	border-collapse: separate !important;
	border-spacing: 2px 15px;
	margin-left: 20px;
	width: 97%;
}

.messageCenterMain {
	overflow: hidden !important;
}

.messageTab {
	font-size: 16px !important;
}

.to, .toMatter {
	width: 30%;
}

.sentMessageSubject, .sentSubjectmatter {
	width: 45%;
}

.sentBox .fullwidth {
	font-size: 14px;
	margin-left: 76px;
	width: 100%;
}

.sentBox hr {
	margin: 0px 0px 0px -60px;
}

.displayMessage {
	display: none;
}

.messageRight .composeTo {
	/* float: left !important; */
	/* margin-left: 48px !important; */
}

.messageRight .toCompose, .subjectCompose, .messageCompose {
	font-size: 14px;
}

.messageRight .composesubject {
	float: left !important;
}

.viewMessage .messageRight {
	margin-left: 7%;
	width: 85% !important;
	float: unset !important;
	font-size: 14px;
}

.viewMessage .messageRight {
	margin-left: 7%;
	width: 85% !important;
	float: unset !important;
}

.viewMessage .divAsTextarea {
	font-size: 14px;
}

.viewMessage .messageTextArea {
	font-size: 14px;
	margin-top: 4px;
}

.viewMessage img {
	width: 90px;
}

.fileName {
	word-break: break-word;
}

.replyBtn {
	margin-left: 35px;
}
.reply-button {
	border-radius: 100px;
	font-weight: 700;
}
.archive-button {
	border-radius: 100px;
	font-weight: 700;
}
.back-button-row {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
}

.archive-reply-button-row {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
}

.attachmentsLabel {
	font-weight: 700;
	font-size: 14px;
}
.removeButton {
	width: 16px !important;
	margin-left: 5px;
	border: none !important;
}
/* Iowa customization for color Story #169947 */
/* Iowa customization for rebranding Story #188174 */
.cancelbutt {
	background-color: #fff;
	border-color: #1C365F;
	color: #1C365F;
	border-radius: 100px;
	font-weight: 700;
	border-width: 2px;
}
/* Iowa customization for color Story #169947 */
/* Iowa customization for rebranding Story #188174 */
.buttonSendCancel .cancelbutt:hover {
	background-color: #e2e6ea;
	color: #1C365F;
}
/* Iowa customization for color Story #169947 */
/* Iowa customization for rebranding Story #188174 */
.backbutt{
	background-color: #fff;
	border-color: #1C365F;
	color: #1C365F;
	border-radius: 100px;
	font-weight: 700;
	border-width: 2px;
}
.buttonSend {
	width:90px;
}
a.button:visited {
	color: #fff !important;
}
/* Iowa customization for color Story #169947 */
/* Iowa customization for rebranding Story #188174 */
.btn-primary {
	background-color: #1C365F;
	border-color: #1C365F !important;
	border-width: 2px !important;
}

/* Iowa customization for rebranding Story #188174 */
.btn-primary:focus, .btn-primary:hover {
   background: #1C365Fc7;
   outline: none !important;
}

div.toCompose font span, div.composesubject font span, div.messageCompose font{
	color: #940000 !important;
}
.viewMessageOpen {
	margin-left: 10px;
	border-radius: 100px;
	font-weight: 700;
	width: 90px;
}
@media screen and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0)
{ @media screen and (max-width: 767px) {
    /*
      Define here the CSS styles applied only to Safari browsers on mobile screens
      (any version and any device)
     */
     .compose {
     	margin-left: 10px !important
     }
}}
