#loginform {
    width: 40%;
}

#carrierform {
    width: 40em;
}


#customPayments {
    width: 30em;
    text-align: left;
}

#paymenthistory {
    width: 100%;
}

#logo {
    height: 20em;
    background-image: url(../images/logo.png);
    background-repeat: no-repeat;
    background-position: center;
}

#sitenav {
    margin-left: 2em;
}

#main-page {
    display: flex;
}

#main-body {
    width: 100%;
    display: grid;
    grid-template-columns: 2em 1.5fr 2em 1fr 2em;
    grid-row-gap: 2em;
}

#bulletincontainer {
    grid-column-start: 2;
    grid-column-end: 5;
    grid-row-start: 1;
}

#adminupdates {
    width: 500px;
    height: 200px;
    overflow: auto;
    padding: 5px;
    border: Blue 2px dashed;
}

.adminupdateLineA {
    background-color: #c7d8ed;
    width: 485px;
}

.adminupdateLineB {
    background-color: #c7ede5;
    width: 485px;
}

/* CSS for Rates Management */

#carrierWrap {
    width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.carrierLogo {
    width: 144px;
    height: 144px;
    margin-bottom: 10px;
    float: left;
}

#productWrap {
    clear: both;
    width: 680px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border: 1px black solid;
}

.productInfo {
    width: 680px;
    height: 20px;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1px black solid;
    background-color: #123EAB;
    color: white;
    font-weight: 400;
}

.productRates {
    width: 550px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    border: 1px black solid;
    text-align: left;
    padding-left: 4px;
    background-color: #c7ede5;
}

.rateName {
    width: 550px;
    height: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    text-align: left;
    color: blue;
    font-weight: 400;
}

.newproductRates {
    width: 550px;
    height: 50px;
    margin: 10px auto;
    vertical-align: middle;
    border: 1px blue dashed;
    padding: 4px;
}

.rateSave {
    width: 40px;
    height: 58px;
    float: right;
    clear: both;
}

#addNewRateWrapper {

}

.addNewRate {
    width: 550px;
    height: 58px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    border: 1px black solid;
    text-align: left;
    padding-left: 4px;
    background-color: #c7ede5;
}

.addNewRateName {
    width: 550px;
    height: 30px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    text-align: left;
    color: Grey;
    font-weight: 400;
}


.customRate input[type=text] {
    width: 40px;

}

.customRateLabel {
    font-weight: bold;
}

/* END CSS Rates Management */
#container #main #homebulletin {
    background-image: url('../images/corkboard.jpg');
    background-repeat: repeat;
    height: 500px;
    overflow-y: scroll;
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-left-width: 5px;
    border-top-style: solid;
    border-bottom-style: solid;
    border-top-color: #123eab;
    border-bottom-color: #123eab;
    border-radius: 15px;
    border-right-width: 5px;
    border-right-style: solid;
    border-left-style: solid;
    border-right-color: #123EAB;
    border-left-color: #123EAB;
}

.bulletin_form label, .bulletin_form input, .bulletin_form select {
    float: none;
}

.bulletin_form input, .bulletin_form select {
    display: block;
}

.bulletin_form textarea {
    margin: 0;
    width: 100%;
}

#container #main #bulletincontainer #homebulletin .bulletin {
    background-color: #e4eb60;
    padding: 0 10px;
    margin: 15px;
    font-size: 1.05em;
    box-shadow: rgba(0, 0, 0, .4) 5px 5px 3px;
    border: 1px solid rgba(50, 50, 50, .7);
    overflow: auto;
}

#container #main #bulletincontainer #homebulletin .bulletin .timestamp {
    font-size: 0.8em;
    text-align: right;
    margin-bottom: -30px;
}

#container #main #bulletincontainer #homebulletin .bulletin a > p.delete {
    text-decoration: none;
    width: 16px;
    height: 16px;
}

#container #main #bulletincontainer #homebulletin .bulletin p.delete {
    background-image: url('../images/trash.png');
    background-repeat: no-repeat;
    padding-left: 20px;
}

#container #main #bulletincontainer #homebulletin .bulletin.comment {
    background-image: linear-gradient(bottom, rgb(227, 235, 85) 31%, rgb(228, 235, 96) 35%, rgb(236, 242, 128) 88%);
    background-image: -o-linear-gradient(bottom, rgb(227, 235, 85) 31%, rgb(228, 235, 96) 35%, rgb(236, 242, 128) 88%);
    background-image: -moz-linear-gradient(bottom, rgb(227, 235, 85) 31%, rgb(228, 235, 96) 35%, rgb(236, 242, 128) 88%);
    background-image: -webkit-linear-gradient(bottom, rgb(227, 235, 85) 31%, rgb(228, 235, 96) 35%, rgb(236, 242, 128) 88%);
    background-image: -ms-linear-gradient(bottom, rgb(227, 235, 85) 31%, rgb(228, 235, 96) 35%, rgb(236, 242, 128) 88%);

    background-image: -webkit-gradient(
            linear,
            left bottom,
            left top,
            color-stop(0.31, rgb(227, 235, 85)),
            color-stop(0.35, rgb(228, 235, 96)),
            color-stop(0.88, rgb(236, 242, 128))
    );
}

#container #main #bulletincontainer #homebulletin .bulletin.notice {
    background-image: linear-gradient(bottom, rgb(23, 186, 235) 10%, rgb(85, 212, 250) 55%, rgb(162, 225, 242) 78%);
    background-image: -o-linear-gradient(bottom, rgb(23, 186, 235) 10%, rgb(85, 212, 250) 55%, rgb(162, 225, 242) 78%);
    background-image: -moz-linear-gradient(bottom, rgb(23, 186, 235) 10%, rgb(85, 212, 250) 55%, rgb(162, 225, 242) 78%);
    background-image: -webkit-linear-gradient(bottom, rgb(23, 186, 235) 10%, rgb(85, 212, 250) 55%, rgb(162, 225, 242) 78%);
    background-image: -ms-linear-gradient(bottom, rgb(23, 186, 235) 10%, rgb(85, 212, 250) 55%, rgb(162, 225, 242) 78%);

    background-image: -webkit-gradient(
            linear,
            left bottom,
            left top,
            color-stop(0.1, rgb(23, 186, 235)),
            color-stop(0.55, rgb(85, 212, 250)),
            color-stop(0.78, rgb(162, 225, 242))
    );
}
