/* COLOUR PALETTE                                           |   FONTS
                                                            |
#BCB9BB     Silver                                          |   Espiritu           - HEADINGS
#B5B3B6     French Grey                                     |   Espiritu Expanded  - FOOTER LINKS
#5C6C74     Payne's Grey (medium grey)                      |   Congenial          - BODY
#444444     Onyx (dark grey)                                |   Congenial Light    - BODY
                                                            |
#182F3B     Gunmetal (blue/grey)                            |
                                                            |
#07C2E4     Aero (bright blue)                              |
#196EAC     Bice Blue (medium blue)                         |
#0677B5     Honolulu Blue (medium 2)                        |
#0742E3     Palatinate Blue (medium bright)                 |
#1903A7     Duke Blue (dark)                                |
                                                            |
#0D0D0D     Night (blk)                                     |
#F8F8F8     Seasalt (white)                                 |
-------------------------------------------------*/

/* GLOBAL STYLES
-------------------------------------------------*/
html {
    box-sizing: border-box;
    font-size: 62.5%; 
}
 *, *:before *:after {
    box-sizing: inherit;
}
 html, body {
    height: 100%;
    width: 100%;
    margin: none;
    padding: none;
}
body {
    margin: 0;
    font-family: 'Congenial', 'Congenial Light', Sans-Serif;
}
h1, h2, h3, h4, h5 {
    color: #0a0430;
    text-align: center;;
    font-family: 'Espiritu', Serif;
    margin: 1% 0;
}
h1 {
    margin: 0;
}
h6 {
    margin-top: 1%;
    margin-bottom: 0;
}

/* header styles
-------------------------------------------------*/
.topbar {
    background: #F8F8F8;
    content: "";
    display: block;
    height: 17%;
    width: 100%;
    z-index: 1000;
    padding: 0;
    position: fixed;
    top: 0; 
} 
.logo {
    float: left;
    margin: 0;
    padding: 5px;
    margin-bottom: 10px;
}

/* Add a black background color to the top navigation */
.topnav {
    background-color: #F8F8F8;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;
    justify-content: space-evenly;
}
  
/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: #074388;
    text-align: center;
    padding: 10px 20px;
    text-decoration: none;
}
.topnav a:hover {
    border-bottom: 2px solid #07C2E4;
    border-right: 1px solid #07C2E4;
    border-bottom-right-radius: 5px;
    background: #ffffff;
    color: #2981c0;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
}
.topnav .dropbtn a:hover {
    border-bottom: none;
    border-right: none;
    background: #F8F8F8;
    box-shadow: 0px 0px 0px 0px rgba(0,0,0,0); 
}
.dropdown a {
    float: left;
    display: block;
    color: #074388;
    text-align: center;
    padding: 0px;
    text-decoration: none;
}
.dropdown a:hover {
    border-bottom-right-radius: 5px;
    background: #ffffff;
    color: #2981c0;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
}

/* Add an active class to highlight the current page */
.active {
    border-top: 1px solid #2981c0;
    border-right: 1px solid #2981c0;
    border-left: 1px solid #2981c0;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
    background: #fff;
}
  
/* Dropdown container - needed to position the dropdown content */
.dropdown {
    float: left;
    overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
    font-size: 1.8rem;
    border: none;
    outline: none;
    color: #074388;
    padding: 10px 20px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 10%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
    float: none;
    color: black;
    padding: 10px 10px;
    text-decoration: none;
    font-size: 1.5rem;
    display: block;
    text-align: left;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
    color: black;
}
/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown:hover {
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
}
.dropdown .active {
    border-top: 1px solid #2981c0;
    border-right: 1px solid #2981c0;
    border-left: 1px solid #2981c0;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
    background: #fff; 
}

/* BODY STYLES 
-------------------------------------------------*/
/* mainly handled in reflex-styles.css */

.wrap-left {
    float: left; 
    margin: 15px;
}
.wrap-right {
    float: right; 
    margin: 15px;
}
.wrap-centre {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* LINK / BTN STYLES 
-------------------------------------------------*/
a {
    color: #1903A7;
    text-decoration: none;
}
a:hover {
    color: #07C2E4;
    font-weight: bold;
    text-decoration: none;
}
.body-link a {
    color: #07C2E4;
    text-decoration: none;
}
.body-link a:hover {
    color: #074388;
    font-weight: bold;
    text-decoration: underline;
}
footer a {
    color: #07C2E4;
}
footer a:hover {
    color: #F8F8F8;
    font-weight: bold;
    text-decoration: none;
}
.foot-bullets a {
    color: #F8F8F8;
    padding-top: 0;
    text-decoration: none;
}
.foot-bullets a:hover {
    color: #07C2E4;
    font-weight: bold;
    text-decoration: underline;
}

/* FOOTER STYLES
-------------------------------------------------*/
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 2px;
    margin: 0;
    background: #0D0D0D;
    color: #F8F8F8;
}
.foot-bullets p {
    color: #07C2E4;
    font-size: 1.3rem;
    line-height: 1;
    padding: 0;
    margin: 0;
    text-decoration: underline;
}
.flex-foot {
    display: flex;
    vertical-align: middle;
    width: 100%;
    justify-content: space-between;
}
.flex-foot li {
    list-style-type: none;   
}
.flex-foot ul{
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 15px;
    padding-inline-end: 40px;
}
.socials {
    list-style-type: none;
    padding: 0px;
    margin: 1px;
}
.socials p {
    list-style-type: none;
    padding: 1px;
    margin: -2%;
}
.socials li {
    display: inline-block;
}
.socials img:hover {
    opacity: 0.6;
}

/* T's & C's STYLES
-------------------------------------------------*/
.text-list li {
    list-style-type: disc;
}
.text-list ul {
    list-style-type: disc;
    
}
.text-list-second li {
    list-style-type: circle;
}
.text-list-second ul {
    margin-top: 0;
}
.text-list {
    margin-top: 0;
    margin-bottom: 0
}
.text-list-second {
    margin-top: 0;
    margin-inline-start: 1em;
}

/* PAGE STYLES
-------------------------------------------------*/
.content-bg-home h4 {
    text-align: center;
    margin-bottom: 0;
}
.content-bg-networks2 h4 {
    text-align: left;
    margin-bottom: 0;
}
.content-bg-networks2 h5 {
    margin-bottom: 0;
}
.content-bg-cctv2 h4 {
    text-align: center;
    margin-bottom: 0;
}
.content-bg-access2 h4 {
    text-align: left;
    margin-bottom: 0;
}
.content-bg-intruder2 h4 {
    text-align: left;
    margin-bottom: 0;
}
.content-bg-intruder2:first-child h6 {
    margin-top: 0;
}
.table-flex {
    display: flex;
    justify-content: center;
}
.content-bg-about p {
    margin-top: 0;
    margin-bottom: 2%;
}
.content-bg-about h4 {
    text-align: center;
    margin-bottom: 0;
}
.content-bg-contact h4 {
    text-align: left;
}
.content-bg-b2b p {
    margin: 1%;
}
.content-bg-surveying h2 {
    margin: 0;
    margin-bottom: 1%;
}
.content-bg-surveying h4 {
    text-align: center;
    margin-bottom: 0;
}
.content-bg-surveying p {
    margin-top: 0;
    margin-bottom: 1%;
}
.content-bg-why-us h3 {
    text-align: left;
}

/* WHY OSEC
-------------------------------------------------*/


/* TILE FORM
-------------------------------------------------*/
.four-tiles {
    margin-top: 1%;
    display: flex;
    width: 100%;
    justify-content: space-evenly;
}
.four-tiles h4 {
    font-size: 4rem;
    text-align: center;
}

/* CONTACT FORM
-------------------------------------------------*/
/* Style inputs with type="text", select elements and textareas */
label {
    font-size: 1.1rem;
    font-family: 'Espiritu', Serif;
    vertical-align: middle;
}
.half-box {
    display: grid;
    grid-template-columns: 1fr 1fr;       
    gap: 2%;
    padding: 5px 0;
}
.message-box {
    margin-top: 2%;
    margin-bottom: 0;
}

input[type=text], input[type=email], input[type=number], select, textarea {
    width: 100%; /* Full width */
    font-family: arial;
    padding-bottom: 20px;
    padding: 9px; /* Some padding */ 
    border-top: 1px solid #ccc; /* Gray border */
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #074388;
    border-right: 1px solid #074388;
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 0%; /* Add a top margin */
    margin-bottom: 1%; /* Bottom margin */
    resize: none; /* Allow the user to vertically resize the textarea */
}

select:invalid { color: black; }
            
  /* Style the submit button with a specific background color etc */
input[type=submit] {
    font-size: 1.4rem;
    background-color: #2981c0;
    color: white;
    font-weight: bold;
    padding: 12px 26px;
    border: none;
    border-bottom: 2px solid white;
    border-right: 1px solid white;
    border-radius: 10px;
    cursor: pointer;
}
  
  /* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
    background-color: #07C2E4;
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

input[type=checkbox] {
    size: 1.5rem;
    margin: 0px 3px 0 0px;
    /* vertical-align: middle; */
}

.radio-title h5 {text-align: left;}
 
.form-interest {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;       
    gap: 2%;
    padding: 5px 0;
}
.align input[type=checkbox]{
    align-items: baseline;
}