﻿/* --- Master Glaziers SQL Portal ---*/
/* DEFAULTS
----------------------------------------------------------*/

:root {
    --mg-blue: #6bb9d6;
    --page-width: 1200px;
    --seasonalBanner-width: calc(100% - var(--page-width));
    --pagemain-padding-y:12px;
    --pagemain-padding-x:19px;
}

body {
    background: #454f53;
    font-size: .80em;
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
    color: #666666;
}

a:link, a:visited {
    color: #034af3;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #034af3;
}

p {
    margin-bottom: 10px;
    line-height: 1.6em;
}

.notify-soon:hover::before {
    content: "Coming Soon";
    font-family: Arial;
    color:#000;
    padding:0.2rem 0.6rem;
    display:block;
    position:absolute;
    z-index:99999;
    background:#ddd;
    width:6rem;
    font-style:italic;
}

/* HEADINGS   
----------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
    font-size: 1.4em;
    color: #6bb9d6;
    text-transform: none;
    font-weight: 200;
    margin-bottom: 10px;
}

h1 {
    font-size: 20px;
    margin: 5px 0px 10px 0px;
}

h2 {
    font-size: 22px;
    margin: 5px 0px 10px 0px;
}

h3 {
    font-size: 16px;
    margin: 5px 0px 10px 0px;
}

h4 {
    font-size: 14px;
    margin: 5px 0px 10px 0px;
}

h5, h6 {
    font-size: 12;
    margin: 5px 0px 10px 0px;
}

input.btn_blue {
    border: none;
    background: url(../images/btn_blue_bg.png) repeat-x #6bb9d6;
    color: #666666;
    font-size: 12px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
}
/* this rule styles <h1> and <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2 {
    margin-top: 0px;
}


/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

.page {
    width: var(--page-width);
    margin: 10px auto 35px;
    font-size: 12px;

}

.page_main {
    background: #fff;
    border-radius: 12px;
    padding-top: 0px;
    padding-bottom: var(--pagemain-padding-y);
    padding-left: var(--pagemain-padding-x);
    padding-right: var(--pagemain-padding-x);
    z-index:+1;

}

.header {
    position: relative;
    margin: 0px 0px 0px 0px!important;
    padding: var(--pagemain-padding-y) 0px 0px 0px!important;
    width: 100%;
    background: url(../images/main_bg.png) no-repeat 478px 0px;
}

.logo {
    float: left;
}

.header h1 {
    font-weight: 700;
    margin: 0px;
    padding: 0px 0px 0px 20px;
    color: #f9f9f9;
    border: none;
    line-height: 2em;
    font-size: 2em;
}

.main {
    min-height: 500px;
}

.leftCol {
    padding: 6px 0px;
    margin: 12px 8px 8px 8px;
    width: 200px;
    min-height: 200px;
}

.footer {
    line-height: normal;
    width: 491px;
    margin-left: 180px;
    float: left;
}

.fooer_mid {
    background: #fff;
    font-size: 24px;
    color: #135091;
    padding:12px;
    padding-top:1px;
    border-bottom-left-radius:12px;
    border-bottom-right-radius:12px;
}

.fooer_mid_txt {
    margin: 0px 0px -5px 0px;
}

.login_style {
    float: left;
    color: #fff;
    padding: 8px 10px;
}

    .login_style a {
        color: #fff;
        text-decoration: none;
    }

        .login_style a:hover {
            text-decoration: underline;
        }

/*================= Seasonal Effects ======================*/
.header.xmas {
    background: url(../images/xmasbanner.png) no-repeat 470px;
    background-size: 40% auto;
    background-position-y:calc(var(--pagemain-padding-y) * -1);
}
.seasonalBanner {
    height: 100%;
    position: fixed;
    display: block;
    background-color: transparent;
    z-index: -3;
    top: 0%;
    bottom: 0%;
    width: var(--seasonalBanner-width);
}
#seasonalBanner1 {
    left: 0px;
}
#seasonalBanner2.xmas {
    width:30%;
    right: 0px;
    bottom: 0px;
    background: url("../images/xmasTree.png") no-repeat;
    background-size: auto 90%;
    background-position-x: left;
    background-position-y: bottom;
}

.PageBg {
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    padding-bottom: var(--pagemain-padding-y);
    padding-left: var(--pagemain-padding-x);
    padding-right: var(--pagemain-padding-x);
    margin-left: calc(var(--pagemain-padding-x) * -1);
    margin-right: calc(var(--pagemain-padding-x) * -1);
    margin-top: calc(var(--pagemain-padding-y) * -1);
    margin-bottom: calc(var(--pagemain-padding-y) * -1);
    background-color:#fff;
    border-radius:12px;
    z-index:-4;

}
/* TAB MENU   
----------------------------------------------------------*/

div#top_menu {
    width:98%;
    margin:0px;
    margin-bottom:15px;
    margin-top:5px;
    border-radius:6px 6px 6px 6px;
    padding-left:1%;
    padding-right:1%;
    z-index: 3!important;
}

div.hideSkiplink {
    background-color: #6bb9d6;
    width: 100%;
}

div.menu {
    padding: 0px;
}

div.menu ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    width: auto;
}

div.menu ul li a, div.menu ul li a:visited {
    background-color: #6bb9d6;
    border: 1px #6bb9d6 solid;
    color: #dde4ec;
    display: inline-block;
    line-height: 1.35em;
    padding: 4px 20px;
    width:100%;
    text-decoration: none;
    white-space: nowrap;
}

div.menu ul li a:hover {
    background-color: #bfcbd6;
    color: #465c71;
    text-decoration: none;
}

div.menu ul li a:active {
    background-color: #465c71;
    color: #cfdbe6;
    text-decoration: none;
}
/* ===================== RadGrid Stylers ===================== */
div.RadGrid_Default {
    background-color:#ffffff00;
}

.RadGrid_Default tr.rgRow, .RadGrid_Default tr.rgAltRow {
    background-color:#ffffff00;
    background:none;
}

.RadGrid_Default tr.rgRow {
    background-color:#FFFFFFA0;
    backdrop-filter:blur(2px);
}
.RadGrid_Default tr.rgAltRow {
    background-color:#EAEAEAA0;
    backdrop-filter:blur(2px);
}

/* FORM ELEMENTS   
----------------------------------------------------------*/

fieldset {
    margin: 1em 0px;
    padding: 1em;
    border: 1px solid #ccc;
}

    fieldset p {
        margin: 2px 12px 10px 10px;
    }

    fieldset.login label, fieldset.register label, fieldset.changePassword label {
        display: block;
    }

    fieldset label.inline {
        display: inline;
    }

legend {
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

input.textEntry {
    width: 320px;
    border: 1px solid #ccc;
}

input.passwordEntry {
    width: 320px;
    border: 1px solid #ccc;
}

div.accountInfo {
    width: 42%;
}

#top_menu {
    margin: 0px 0px 0px 175px;
    background: #6bb9d6;
    position: relative;
}
/* ********** Menu ************** */
.inputerror {
    animation-name:ChangeColor;
    animation-duration:1.25s;
    animation-direction:alternate;
    animation-iteration-count:infinite;
    animation-timing-function:linear;
}

@keyframes ChangeColor {
    from {
        border-color: #ffd700;
    }
    to {
        border-color: #f00;
    }
}
.mainMenu {
    z-index: 2!important;
}
#gomenu {
}

    #gomenu ul {
        margin: 0px;
        padding: 0px 0px;
        display: block;
    }

    #gomenu ul {
        display: inline-block;
    }

        #gomenu ul:after {
            content: ".";
            font-size: 0px;
            height: 0px;
            display: block;
            clear: both;
            visibility: hidden;
        }

    #gomenu ul {
        margin: 0px;
        padding: 0px 0px;
        display: flex;
    }

    #gomenu li {
        list-style: none;
        position: relative;
        display:inline-block;
        margin: 0px 0px;
        padding: 0px;
        margin-right: 1px;
    }

    #gomenu ul li {
    }

    #gomenu ul li a {
        text-decoration: none;
        display: block;
        cursor: pointer;
        font-size: 1em;
        width: 100%;
        float: left;
        line-height: 24px;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        color: #ffffff;
    }

        #gomenu ul li span {
            padding: 0px 15px 0px 15px;
            display: block;
            white-space: nowrap;
        }

            #gomenu ul li span img {
                vertical-align: middle;
            }

        #gomenu ul li a:hover {
            text-decoration: none;
            background: #559fba;
            text-shadow: 0px 0px 2px #5096af;
            font-size: 1em;
        }

            #gomenu ul li a:hover span {
                color: #000;
            }

        #gomenu ul li.current a {
            text-decoration: none;
            background: none;
        }

        #gomenu ul li.current span {
            color: #000;
        }

        #gomenu ul li.current .menuslide span {
            background: transparent;
        }

        #gomenu ul li a.menu_hover {
            background: none;
        }

            #gomenu ul li a.menu_hover span {
                color: #000;
                text-decoration: none;
            }


    /* ********** Sub Menu ************** */
    #gomenu .menuslide {
        display: none;
        float: left;
        overflow: hidden;
        position: absolute;
    }

        #gomenu .menuslide div {
            margin-top: -1px;
        }

    #gomenu img {
        display: none;
    }

    #gomenu .menuslide ul {
        display: none;
        left: 0px;
        border: 1px solid #b3b3b3;
        float: left;
        position: relative;
        margin: 0px;
        background: #6bb9d6;
        padding: 0px;
    }

        #gomenu .menuslide ul li {
            display: block;
            clear: both;
            padding: 0px;
            background: none;
            margin: 0px;
        }

            #gomenu .menuslide ul li span {
                color: #fff;
                display: block;
                padding: 0 20px 0 10px;
                margin: 0px;
                background: none;
            }

                #gomenu .menuslide ul li span img {
                    vertical-align: middle;
                }

            #gomenu .menuslide ul li a {
                display: block;
                font-weight: normal;
                font-size: 12px;
                margin: 0px;
                padding: 0px;
                background: none;
                float: left;
                line-height: 26px;
            }

        #gomenu .menuslide ul a:hover {
            width: 100%;
            background: none;
            padding: 0px;
            line-height: 26px;
            background: #efefef;
        }

            #gomenu .menuslide ul a:hover span {
                color: #000;
                margin: 0px;
                background: none;
            }

    #gomenu .menuslide ul {
        float: left;
        left: 0px;
        position: relative;
    }

        #gomenu .menuslide ul li a.menu_hover {
            background: #efefef;
            color: #000;
        }

    #gomenu .menuslide a.menu_hover span {
        background: none;
        margin: 0px;
        color: #000;
    }

    #gomenu .menuslide ul > li.dir > a {
        background: url(../images/icon-1.gif) 96% 50% no-repeat;
    }

        #gomenu .menuslide ul > li.dir > a:hover {
            background: url(../images/icon-2.gif) 96% 50% no-repeat #efefef;
        }

        #gomenu .menuslide ul > li.dir > a.menu_hover {
            background: url(../images/icon-2.gif) 96% 50% no-repeat #efefef;
        }

/* MISC  
----------------------------------------------------------*/

.clearfix:after {
    clear: both;
    content: ".";
    height: 0px;
    font-size: 0px;
    visibility: hidden;
    display: block;
}

.clearfix {
    display: inline-block;
}

.clearfix {
    display: block;
    max-height:125px;
}

.clear {
    clear: both;
}

.head_title {
    float: right;
    text-align: right;
    padding: 20px 0px 0px 0px;
    font-size: 14px;
    color: #135091;
}

    .head_title img {
        margin-bottom: 10px;
    }

.loginDisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    padding: 10px;
    color: White;
}

    .loginDisplay a:link {
        color: white;
    }

    .loginDisplay a:visited {
        color: white;
    }

    .loginDisplay a:hover {
        color: white;
    }

.failureNotification {
    font-size: 1.2em;
    color: Red;
}

.bold {
    font-weight: bold;
}

.submitButton {
    text-align: right;
    padding-right: 10px;
}

/*---------Media - Print---------*/

@media print {
    .logo {
        font-size: 24px;
    }

    .top_menu, .fooer_mid_txt, .head_title {
        display: none;
    }

    .page_main {
        width: 100%;
    }
}

.inputerror {
    animation-name: ChangeColor;
    animation-duration: 1.25s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes ChangeColor {
    from {
        border-color: #ffd700;
    }

    to {
        border-color: #f00;
    }
}

/* ------Popup box for quote with OE Screen over 1500----*/

.rnContentWrapper p#form1500text {
    text-align: center;
    max-width: 95%;
    margin: 0 0 0 0;
    position: relative;
    color: #000;
    margin-top: 3%;
}

/*-- button positioning --*/

.form1500btn {
    width: 30%;
    height: 24px;
    position: relative;
    display: inline-block;
    border: 1px solid #e8e8e8;
    border-radius: 2.5px;
    margin: 0px, 0px, 0px, 0px;
    margin-bottom: 2.5%;
}

.form1500btn:hover {
    background-color: #e0e0e0;
    border: 1px solid #dedede;
    cursor: pointer;
}

.form1500.NoBtn {
    right: 10%;
    float: right;
}

.form1500.YesBtn {
    float: left;
    left: 10%;
}

.rnContentWrapper div#form1500padding {
    max-width: 95%;
    margin: 0 0 0 0;
    position: relative;
    padding-left: 2.5%;
    padding-right: 2.5%;
    padding-bottom: 3%;
}


#gomenu ul.level1 li a {
    border-color:transparent;
    background-color:transparent;
    flex-grow:1;
    box-sizing:border-box;
}

#gomenu ul.level1 li a:hover, #gomenu ul.level1 li a.highlighted {
    text-decoration: none;
    background: #559fba;
    text-shadow: 0px 0px 2px #5096af;
    font-size: 1em;
}

/* ----- Formatting for Nav Dropdown menu ----------------------- */

#gomenu ul.level2 {
    background-color: rgba(85, 159, 186,1.0);
    padding: 6px;
    z-index: 2;
    grid-template-columns: repeat(2, 1fr);
}

#gomenu ul.level2 li {
    width: 100%;
    box-sizing: border-box;
    background-color: rgba(85, 159, 186,0.0);
    display: inline-block;
}

#gomenu ul.level2 li:hover {
    background-color: /*#6bb9d6*/ rgba(0,0,0,0.2);
}

#gomenu ul.level2 li:hover a,
#gomenu ul.level2 li a {
    background-color: rgba(0,0,0,0.0);
    border:none;
}

div.modalEffect {
    height: 100%;
    width: 100%;
    display: block;
    background-color: rgba(0,0,0,0.75);
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 5;
    transition: background-color 0.45s linear;
    pointer-events:auto;
}

div.modalEffect.hidden {
    transition: background-color 0.3s linear;
    background-color:rgba(0,0,0,0.0);
    pointer-events:none;
}
.clearfix .logo img {
    height:120px;
    width:auto;
}

/* -- Table layout restyling --*/

table.infoTable {
    border: solid 1px #efefef;
    margin-left: 0.75%;
    margin-right: 0.75%;
    box-sizing:border-box;
}

.infoTable.oneThirdWidth {
    width: 33.5%;
}

.infoTable.twoThirdsWidth {
    width: 63.5%;
}

.infoTable.oneHalf {
    width: 48.5%;
}
/* 1/4 of 100 = 25% - (margin-left + margin-right (= 1.5%)) = 23.5% */
.infoTable.threeQuarters {
    width: 73.5%;
}

.infoTable.oneQuarter {
    width: 23.5%;
}

.infoTable.right {
    float:right;
}
.infoTable.left {
    float:left;
}

.infoTable tr:first-of-type {
    font-family: Arial, Helvetica, sans-serif;
    font-size: medium;
    font-weight: normal;
    font-variant: normal;
    color: #fff;
}
.infoTable tr:first-of-type td {
    padding-left: 24px;
    padding-top: 6px;
    padding-bottom: 6px;
    width: 100%;
}

.infoTable tr:nth-child(n+2) td:nth-child(odd) {
    padding-right:6px;
    padding-left:6px;
    cursor:default;
}
.infoTable tr:nth-child(2), .infoTable tr:last-child {
    font-size:4px;
}

table.infoTable.no-border {
    border-width:0px;
}


/* DEFAULTS for Feedback/Complaint warning 
----------------------------------------------------------*/
.auto-white {
    align-content: center;
    background-color: white;
    width: 100%;
}

.auto-red {
    align-content: center;
    background-color: red;
    color: white;
    width: 100%;
}

.auto-green {
    align-content: center;
    background-color: green;
    color: white;
    width: 100%;
}

.modalPopup {
    background-color: #fff;
    border: 3px solid #ccc;
    padding: 10px;
    max-width: 80%;
}

.modalPopupContainer {
    display: grid;
    gap: 16px;
    padding: 2.5%;
    width: 95%;
}

.modalPopupContainerRow.headerRow {
    font-size: 32px;
    color: var(--mg-blue);
}

.modalPopupContainerRow.headerRow h2 {
    text-align: left;
}

.modalPopupContainer.withIcon .modalPopupContainerRow.headerRow i:first-child {
    flex-grow: 0;
    align-content: center;
}

.modalPopupContainerRow {
    text-align: center;
    max-width: 100%;
    padding: 0px;
    margin: 0 0 0 0;
    box-sizing: border-box;
    position: relative;
    display: flex;
    color: #000;
    margin: 0px;
}

.modalPopupContainerRow:not(.details) * {
    flex-grow: 1;
    max-width: 95%;
    padding: 0px 2.5%;
}
 
.modalPopupContainerRow.text {
    display: block;
    padding: 0px;
}

.modalPopupContainerRow.details {
    padding: 0px;
    overflow: auto;
}

.modalPopupContainerRow.details span {
    padding: 4px;
    flex-grow: 1;
    flex-shrink: 0;
}
   
.modalPopupContainerRow.details span:nth-child(n + 2) {
    border-left: 0.5px solid #ddd;
}

.modalPopupContainerRow.buttons {
    gap: 5%;
    margin: 0 auto;
    display: block;
}

.modalPopupButton {
    height: 24px;
    position: relative;
    display: inline-block;
    border: 1px solid #e8e8e8;
    border-radius: 2.5px;
    box-sizing: border-box;
    padding: 4px;
    margin: 0px, 0px, 0px, 0px;
    width: 100px;
}

.modalPopupButton:hover {
    background-color: #e0e0e0;
    border-color: #dedede;
    cursor: pointer;
}
.dmodalPopup {
    background-color: #fff;
    border: 3px solid #ccc;
    padding: 10px;
    width: auto;
}