/* Most of this is actually for the order forms. */
:root {
    --linkHover:rgba(38,143,255,0.95);
    --headerColor:rgb(82,187,209);
    --topText:rgb(255,255,255);
    --veryLightGrey:rgb(240,240,240);
    --sitePurple:rgb(62,74,129);
}

.mainBody {
    margin:0px;
    width:100%;
 }
 /* ------------------------------------------------------------- */
.TopRow {
    margin:0px;
    display:flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0px;
	font-family: Biryani, sans-serif;
	text-align: right;
	font-size: 1.2em;
    color: var(--topText);
    background-color: var(--sitePurple);
    height:80px;
}
.Logo {
    padding-left:3em;
    font-size: 2em;    
    text-align: left;
	font-family: OSR;
    color: var(--topText);
    height:50px;
}
.Logo img {
    max-height:50px;
}
.TopBar {
    margin-left: auto;
    color:white;
}

.TopBar a {
    color:white;
    font-family:sans-serif;
    font-size: 1.1em;
    margin-right:3em;
}
.TopBar a:hover {
    color:silver;
    font-size:1.2em;
}
.hoverable {}

@media screen and (max-width:700px) {
    .TopRow {
        font-size: 1.0em;
        height:70px;
    }
    .Logo {
        padding-left:1%;
        font-size: 1em;    
        height:44px;
    }
    .Logo img {
        max-height:44px;
    }
    
    .TopBar a {
        color:white;
        font-family:sans-serif;
        font-size: 1.0em;
        margin-right:1em;
    }
    .TopBar a:hover {
        color:silver;
        font-size:1.0em;
    }
} 

 /* ------------------------------------------------------------- */
.footersection {
    text-align: center;
    font-family: sans-serif;
    font-weight: lighter;
    padding:2em;
}
.copyright {}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* Order form styling (top level) */
.file_upload {
    margin:0 auto;
    width:70%;
    min-width:660px;
    font-family: sans-serif;
    font-weight: lighter;
}
.file_upload fieldset {
    border:0;
}

.file_upload h2 {
    text-align: center;
}
.file_upload table {
    border-spacing: 12px;
    border-collapse: separate;
}

@media screen and (max-width:750px) {
    .file_upload {
        box-sizing:border-box;
        padding:5px;
        width:100%;
        min-width:200px;
        font-size: smaller;
    }
    .file_upload table {
        border-spacing: 6px;
    }
} 
/* ------------------------------------------------------------- */
/* Order form upper table styling */
#form_top_table th {
    text-align: right;
    width:22%;
    min-width:136px;
}

.smalltd {
    width:24%;
    min-width:146px;
}

.file_upload th,tr {
    padding:6px;
}

#form_top_table input {
    width:98%;
    border-radius: 4px;
    border:1px solid lightgray;
    line-height:1.3em;
    padding:6px;
}
#form_top_table input[type="file"] {
    line-height:1.3em;
    border:0px;
    padding:6px;
}
#form_top_table input[type="color"] {
    padding:3px;
}
#col2td {
    display:flex;
    flex-direction: row;
}

/* for .text_expl where I want to stick an imaage on the side */
.flextext {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.flextext div {
    flex-grow: 1;
}

#iconname {
    flex-basis:72px;
    margin-left:0.5em;
    flex-shrink: 0;
}
#nameinside {
    flex-basis:275px;
    margin-left:0.5em;
    flex-shrink: 0;
}

@media screen and (max-width:750px) {
    #form_top_table th {
        width:22%;
        min-width:10px;
    }
    .file_upload th,tr {
        padding:4px;
    }
    .smalltd {
        width:24%;
        min-width:10px;
    }
} 
@media screen and (max-width:620px) {
    #nameinsideflx {
        flex-wrap: wrap;
    }
    #iconname {
        flex-basis:60px;
    }
    #nameinside {
        flex-basis:205px;
    }
} 
/* ------------------------------------------------------------- */
/* Order form styling for the 'pick buttons' area */

#button_picker {
    margin-left:0px;
    margin-right:0px;
    background-color: var(--veryLightGrey);
    padding:10px;
}
.button_row {
    width:100%;
    display:flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.btnbox {
    width:50%;
}
.btnbox2 {
    width:100%;
}

.btnbox img {
    height:100px;
    width:auto;
}
#button_picker input[type="text"], input[type="tel"], input[type="url"] {
    width:90%;
    border-radius: 4px;
    border:1px solid lightgray;
    line-height:1.3em;
    padding:4px;
    margin-top:6px;
}

#button_picker input[type="file"] {
    /* width:90%; */
    max-width:180px;
    line-height:1.3em;
    padding:4px;
    margin-top:6px;
}

.btnbox tr td:first-child {
    width:105px;
}

.btnbox label {
    font-weight: normal;
    padding:4px;
    padding-bottom:6px;
}

.btnbox input[type="checkbox"] {
    margin-right:1em;
    margin-bottom:16px;
}

#boundentrywrap {
    width:100%;
    display:flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}
.bboxwrap {
    width:24%;
    min-width:160px;
    white-space: nowrap;
}

.bboxwrap input {
    width:70px !important;
}

.text_expl {
    width:100%;
    padding-bottom: 16px;
}

.filelabwrap {
    white-space: nowrap;
    max-width: 270px;
}

@media screen and (max-width:520px) {
    .button_row {
        width:100%;
        display:flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .btnbox {
        width:99%;
    }
    .btnbox img {
        height:70px;
        width:auto;
    }
    .btnbox tr td:first-child {
        width:74px;
    }

    .filelabwrap {
        white-space: normal;
    }
} 

#reportcatbtn {
    border-radius:999px;
    background-color:var(--sitePurple);
    border:0px;
    color:white;
    padding:0.2em;
    font-size:1.3em;
    margin-right:1em;
}

#reportentrybox {
    display:flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}
/*-----------------------------------------------------------------*/
/* styles related to contact entry. */
.contactbox {
    width:100%;
}
#addcontactbtn {
    border-radius:999px;
    background-color:var(--sitePurple);
    border:0px;
    color:white;
    padding:0.2em;
    font-size:1.3em;
    margin:0 auto;  
}

#contact_td {
    
}

.contact_row {
    margin:4px;
    display:flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
}
.cnum {
    box-sizing:border-box;
    align-self:flex-end;
    padding-bottom:3px;
}
.contact_row input {
    margin-left:4px;
}

.pnameentry {
    box-sizing:border-box;
    width:28% !important;
    min-width:200px !important;
}
.ptitleentry {
    box-sizing:border-box;
    width:25% !important;
    min-width:180px !important;
}

.pnumentry {
    box-sizing:border-box;
    width:160px !important;
}

.pemailentry {
    box-sizing:border-box;
    width:24%;
    border-radius: 4px;
    border:1px solid lightgray;
    line-height:1.3em;
    padding:4px;
    margin-top:6px;
    min-width:170px !important;
}

@media screen and (max-width:635px) {
    
    .contact_row {
        border-radius: 4px;
        border:1px solid gray;
        padding-bottom:3px;
    }
    .cnum {
        padding-left: 3px;
    }
} 
@media screen and (max-width:370px) {
    
    .pnameentry {
        width:90% !important;
    }
    .ptitleentry {
        width:90% !important;
    }
    
    .pemailentry {
        width:90% !important;
    }
} 
/*-------------------------------------------------------------- */
/* Styline for the 'meta section' (non-app info) */
.meta_info_table th {
    text-align: right;
    width:22%;
    min-width:136px;
}

#loginemailnode {
    display:flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

#addlemailbtn {
    border-radius:999px;
    background-color:var(--sitePurple);
    border:0px;
    color:white;
    padding:0.2em;
    font-size:1.3em;
    margin-right:1em;
}
#loginemailnode input {
    min-width:180px;
    box-sizing:border-box;
    width:30%;
    margin-right:0.8em;
}
/*------------------------------------*/
#order_apptype {
    margin-left:0px;
    margin-right:0px;
    background-color: var(--veryLightGrey);
    padding:10px;
}

#addcatbtn {
    border-radius:999px;
    background-color:var(--sitePurple);
    border:0px;
    color:white;
    padding:0.2em;
    font-size:1.3em;
    margin-right:1em;
}

#alertentrybox {
    display:flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.alert_category_group {
    min-width:150px;
    box-sizing:border-box;
    width:25%;
    margin-right:0.7em;
}

.alert_category_group input {
    box-sizing: border-box;
    width:100%;
}
/*------------------------------------*/
.radio_wrap {
    display:flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-right:5%;
    align-items: center;
}

.meta_info_table input[type="radio"] {
    margin:0px;
    margin-left: 20px;
    margin-right:5px;
}
.groupname_wrap {
    display:flex;
    align-items: center;
}
#groupname_label {
    box-sizing: border-box;
    margin-left: 1.5em;
    margin-right: 0.5em;
}
#groupname_entry {
    box-sizing: border-box;
    flex: 1;
}

@media screen and (max-width:600px) {
    .meta_info_table th {
        width:22%;
        min-width:10px;
    }
} 
@media screen and (max-width:400px) {
    .radio_wrap {
        flex-direction: column;
        justify-content: flex-start;
        margin-right:1%;
        align-items: flex-start;
    }
} 


/* ------------------------------------------------------------- */
/* Order form styling for the stripe area */
#stripeCardRow {
    background-color: var(--veryLightGrey);
    margin-top:1em;
    padding-top: 0.5em;
    padding-bottom: 1.5em;
    padding-left:3em;
    padding-right:3em;
}
#stripeCardRow h3 {
    text-align: center;
}
#stripeCardRow label {

}

.celem {
    margin-top:0.3em;
    border-radius: 4px;
    border:1px solid lightgray;
    background-color: white;
    height:2em;
    padding-left:6px;
    padding-right:6px;
    padding-top:4px;
    padding-bottom:2px;
}

.cardbox{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
}
#sce_num {
    padding-top:4px;
    width:50%;
    min-width: 300px;
}
#sce_exp {
    padding-top:4px;
    width:17%;
    min-width: 130px;
}
#sce_cvc {
    padding-top:4px;
    width:21%;
    min-width: 170px;
}

@media screen and (max-width:520px) {
    #stripeCardRow {
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        padding-left:1em;
        padding-right:1em;
    }
} 
/* ------------------------------------------------------------- 8?
/* Styling for the Terms-of-Service area */
.tos {
    border:6px solid var(--veryLightGrey);
    border-radius: 12px;
    padding:0.5em;
    margin-top:1em;
}
.tos h2 {}
.tos_content_box {
    height:12em;
    overflow-y: scroll;
    border:1px solid var(--veryLightGrey);
    border-radius: 6px;
    padding: 0.5em;
}
#tos_agree_line {
    margin-top:1em;
    text-align: center;
}
.tos label {
    font-size: larger;
    font-style:italic;
    font-weight: bold;
}
#tos_agree {
    margin-right: 1em;
    vertical-align: middle;
    position: relative;
    bottom: 3px;
    transform: scale(1.3);
}
/* ----------------------------------------- */
/* translating some tos (word document exported) into sane css classes */
.tos_content_box p {
    margin-bottom: 0.25cm;
    line-height: 115%;
    text-align: left;
    background: transparent;
    color: #3e4348;
    font-size: 12pt;
}
.typ_top_p {
    margin-top: 0.53cm;
    margin-bottom: 0.53cm;
}
.typ_p2 {
    margin-top: 0.49cm;
    margin-bottom: 0.49cm;
}
.typ_pli {
    margin-bottom: 0cm;
}
.typ_pli {
    margin-top: 1.01cm;
}
.typ_pli {
    margin-bottom: 1.02cm;
}

.tos_content_box h1,h2,h3,h4,h5 {
    color: #3e4348;
}

.head4_typ1 {
    font-size: 18pt;
    margin-top: 1.06cm;
    margin-bottom: 0.42cm;
    line-height: 141%;
}
.head4_typ2 {
    font-size: 18pt;
    margin-top: 0.99cm;
    margin-bottom: 0.39cm;
    line-height: 141%;
}

.head5_typ1 {
    margin-top: 0.88cm;
    margin-bottom: 0.35cm;
    line-height: 150%;
    font-size: 15pt;
}
.head1_typ1 {
    margin-top: 2.05cm;
    margin-bottom: 0.81cm;
    line-height: 133%;
    font-size: 27pt;
}
/* ------------------------------------------------------------- */
/* Order form styling for the 'submit' area */

#finalsubmit {
    border-radius:999px;
    background-color:var(--sitePurple);
    border:0px;
    color:white;
    padding:0.2em;
    font-size:1.3em;
    padding-left:2em;
    padding-right:2em;
    margin:0 auto;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

#submitgif {
    font-size: 1.2em;
    font-style: italic;
}

#submitgif img {
    vertical-align: middle;
    margin-right:1em;
}

#formfinal {
    text-align: center;
}

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

    #finalsubmit {
        padding:0.2em;
        font-size:1.3em;
        padding-left:1.5em;
        padding-right:1.5em;
        margin-top: 1em;
        margin-bottom: 1em;
    }
}

@media screen and (max-width:520px) {
    #finalsubmit {
        font-size:1.0em;
        padding-left:1.2em;
        padding-right:1.2em;
        margin-top: 0.8em;
        margin-bottom: 0.8em;
    }
} 

/*----------------------------------*/
#UploadResults {
    font-family: sans-serif;
}

.promometa {
    box-sizing: border-box;
    width:96%;
}

#meta_info_table textarea {
    box-sizing: border-box;
    width:99%;
    border-radius: 4px;
    border:1px solid lightgray;
    line-height:1.1em;
    padding:4px;
    height:8.3em;
    font-family:sans-serif;
}
/*----------------------------------------------------------------*/