html {
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
}

body {
    font: normal .78em arial, sans-serif;
    /*background: #444;*/
    background-image: url('dhakabg.jpg');
    /*background-repeat:no-repeat;*/
    background-attachment: fixed;
    color: #555;
}

p {
    font-family: 'Roboto', sans-serif;
    padding: 0 0 16px 0;
    line-height: 1.7em;
}

img {
    border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
h7 {
    font-family: 'Roboto', sans-serif;
    color: #111;
    margin: 0 0 15px 0;
    padding: 15px 0 5px 0;
}

h4,
h5,
h6 {
    margin: 0;
    padding: 0 0 5px 0;
    font: normal 120% verdana, arial, sans-serif;
    color: #555;
}

h5,
h6 {
    font: italic 95% verdana, arial, sans-serif;
    padding: 0 0 15px 0;
    color: #000;
}

h6 {
    color: #888;
}

h7 {
    font: normal 175% 'century gothic', arial, sans-serif;
    color: #A9A9A9;
}

a,
a:hover {
    outline: none;
    color: #111;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

blockquote {
    margin: 20px 0 20px 0;
    padding: 10px 20px 0 20px;
    border: 1px solid #E5E5DB;
    background: #F5F5F1;
}

ul {
    margin: 2px 0 22px 17px;
}

ul li {
    list-style-type: circle;
    margin: 0 0 6px 0;
    padding: 0 0 4px 5px;
}

li.memList {
    list-style-type: none;
}

ol {
    margin: 8px 0 22px 20px;
}

ol li {
    margin: 0 0 11px 0;
}

#main,
#header,
#logo,
#menubar,
#site_content,
#footer {
    margin-left: auto;
    margin-right: auto;
}

#main {
    width: 910px;
    padding: 0px 8px;
    background-color: rgba(71, 71, 71, 0.8);
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
}

#header {
    position: relative;
    height: 270px;
    width: 100%;
}

#logo {
    width: 100%;
    position: relative;
    height: 270px;
    background: transparent;
    /*background: url(logo.jpg) no-repeat;*/
}

#logo img {
    float: left;
    position: absolute;
    border: none;
    object-fit: cover;
    width: 100%;
    min-height: 100%;
}

#logo img.show {
    z-index: 500
}

#logo #logo_text {
    position: absolute;
    top: 0px;
    left: 30px;
}

#logo_text {
    z-index: 1100
}

#logo h1,
#logo h2 {
    font: normal 300% 'century gothic', arial, sans-serif;
    border-bottom: 0;
    text-transform: none;
    margin: 0;
}

#logo_text h1,
#logo_text h1 a,
#logo_text h1 a:hover {
    padding: 10px 0 0 0;
    color: #FFF;
    letter-spacing: 0.1em;
    text-decoration: none;
}

#logo_text h1 a .logo_colour {
    color: #555;
}

#logo_text h2 {
    font-size: 130%;
    padding: 0;
    color: #444;
}

#nsa-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 502;
}

#nsa-container h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    color: white;
    margin: 0;
    padding: 0;
}

#nsa-container h2 {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    color: white;
    padding: 0;
}

#nsa-logo-container {
    position: absolute;
    bottom: 70px;
    right: 20px;
    z-index: 501;
}

#nsa-logo-container img {
    height: 120px;
}

#menu-container {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 52px;
    z-index: 1000;
}

#menubar {
    padding: 0 16px;
    background-color: rgba(61, 25, 109, 0.6);
    position: relative;
    z-index: 1000;
}

ul#menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

ul#menu li {
    float: left;
    margin: 0 0 0 0;
    padding: 16px 8px;
    list-style: none;
}

ul#menu li a {
    letter-spacing: 0em;
    color: #FDD023;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    border: 0;
}


/* The sticky class is added to the header with JS when it reaches its scroll position */

.sticky {
    position: fixed !important;
    top: 0;
    background-color: rgba(61, 25, 109);
    width: 910px !important;
    height: 52px;
}


/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */

.sticky+.content {
    padding-top: 102px;
}

ul#menu li.selected a {
    height: 25px;
    color: #111;
    padding: 7px 22px 5px 16px;
}

ul#menu li.selected {
    margin: 7px 0 0 0;
    background: #F8F8F8;
}

ul#menu li a:hover {
    color: #888;
}

#site_content {
    min-height: 500px;
    overflow: hidden;
    background: #F8F8F8;
}

.sidebar {
    float: right;
    width: 198px;
    padding: 20px 25px 15px 15px;
}

.sidebar ul {
    width: 178px;
    padding: 4px 0 0 0;
    margin: 4px 0 30px 0;
}

.sidebar li {
    list-style: none;
    padding: 0 0 7px 0;
}

.sidebar li a,
.sidebar li a:hover {
    padding: 0 0 0 40px;
    display: block;
    background: transparent url(link.png) no-repeat left center;
}

.sidebar li a.selected {
    color: #444;
    text-decoration: none;
}

#content {
    width: 95%;
    text-align: left;
    float: left;
    position: relative;
    padding: 20px 0 15px 30px;
}

#content ul {
    margin: 2px 0 22px 0px;
}

#content ul li {
    list-style-type: none;
    background: url(bullet.png) no-repeat;
    margin: 0 0 6px 0;
    padding: 0 0 4px 25px;
    line-height: 1.5em;
}

#footer {
    height: 25px;
    padding: 20px 0 4px 0;
    text-align: center;
    background: #860111;
    color: #AAA;
    border-top: 1px solid #FFF;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 80%;
}

#footer a {
    color: #FFF;
    text-decoration: none;
}

#footer a:hover {
    color: #FFF;
    text-decoration: none;
}

.search {
    color: #5D5D5D;
    border: 1px solid #BBB;
    width: 134px;
    padding: 4px;
    font: 100% arial, sans-serif;
}

#colours {
    height: 0px;
    text-align: right;
    padding: 66px 16px 0px 300px;
}

.form_settings {
    margin: 15px 0 0 0;
}

.form_settings p {
    padding: 0 0 4px 0;
}

.form_settings span {
    float: left;
    width: 200px;
    text-align: left;
}

.form_settings input,
.form_settings textarea {
    padding: 5px;
    width: 299px;
    font: 100% arial;
    border: 1px solid #E5E5E5;
    background: #FFF;
    color: #555;
}

.form_settings .submit {
    font: 100% arial;
    border: 1px solid;
    width: 99px;
    margin: 0 0 0 212px;
    height: 33px;
    padding: 2px 0 3px 0;
    cursor: pointer;
    background: #555;
    color: #FFF;
}

.form_settings textarea,
.form_settings select {
    font: 100% arial;
    width: 299px;
}

.form_settings select {
    width: 310px;
}

.form_settings .checkbox {
    margin: 4px 0;
    padding: 0;
    width: 14px;
    border: 0;
    background: none;
}

table {
    margin: 10px 0 0px 0;
}

table tr th,
table tr td {
    background: #333;
    color: #FFF;
    padding: 7px 4px;
    text-align: left;
}

table tr td {
    background: #FFF;
    color: #555;
    border-top: 1px solid #FFF;
}

.expand {
    -moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
    -webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
    box-shadow: inset 0px 1px 0px 0px #ffffff;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #d1cfd1));
    background: -moz-linear-gradient( center top, #ededed 5%, #d1cfd1 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#d1cfd1');
    background-color: #ededed;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid #c7c7c7;
    display: inline-block;
    color: #4a4a4a;
    font: normal 150% 'century gothic', arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 1px 1px 0px #ffffff;
    width: 92%;
}

.expand:hover {
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #d1cfd1), color-stop(1, #ededed));
    background: -moz-linear-gradient( center top, #d1cfd1 5%, #ededed 100%);
    background-color: #d1cfd1;
    width: 92%;
}

.expand:active {
    position: relative;
    top: 1px;
}


/* Team */

.container {
    position: relative;
    width: 100%;
    font-family: "Roboto", sans-serif;
}

h1.title {
    position: relative;
    color: #353535;
    font-size: 25px;
    line-height: 35px;
    text-align: center;
    margin: 30px auto;
}

h1.title a {
    font-size: 22px;
}


/**********************************/


/************ Team CSS ************/


/**********************************/

.team {
    position: relative;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    max-width: 180px;
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); */
}

.team .team-img {
    position: relative;
    font-size: 0;
    color: #353535;
    height: 150px;
    width: 150px;
    margin: 0 15px;
    border-radius: 50%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.team .team-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.team .team-social {
    border-radius: 50%;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all .3s;
    font-size: 0;
    z-index: 1;
    opacity: 0;
}

.team:hover .team-social {
    opacity: 1;
}

.team .team-social a {
    display: inline-block;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 64px;
    line-height: 150px !important;
    vertical-align: middle;
    font-weight: 300;
    line-height: 16px;
    text-align: center;
    color: #ffffff;
    transition: all .5s;
}

.social-tw {
    background: #00acee;
}

.social-fb {
    background: #3b5998;
}

.social-li {
    background: #0e76a8;
}

.social-in {
    background: #F5653C;
}

.social-yt {
    background: #c4302b;
}

.team .team-social a:last-child {
    margin-right: 0;
}

.team:hover .team-social a {
    margin-top: 0;
}

.team .team-content {
    padding: 8px;
}

.team .team-content h2 {
    margin: 0 0 5px 0;
    color: #353535;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0px;
    padding: 0px;
    font-family: "Roboto", sans-serif;
}

.team .team-content h3 {
    margin: 0 0 5px 0;
    color: #353535;
    font-size: 16px;
    font-weight: 300;
    padding: 0px;
}

.team .team-content p {
    margin: 0 0 5px 0;
    color: #353535;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    padding: 0px;
}

.team-members {
    display: flex;
    align-items: flex-start;
    padding-top: 16px;
    flex-wrap: wrap;
    margin-right: 20px;
}

#contact-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: left;
    width: 100%;
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); */
}

#contact-form {
    display: flex;
    flex-direction: column;
}

#name-container {
    display: flex;
    flex-wrap: nowrap;
}

#mail-input {
    width: 93%;
}

#subject-input {
    width: 93%;
}

#category-input {
    width: 93%;
}

form input,
form select,
form textarea {
    padding: 1em;
    margin-bottom: 1em;
    border-radius: 0.5em;
    border: 1px solid #c7c7c7;
    background-color: white;
}

#first-name-input {
    margin-right: 16px;
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    background: white;
    border-color: black;
}

#subject-input {
    resize: vertical;
    min-height: 8em;
}

#submit-button {
    cursor: pointer;
    width: fit-content;
    padding: 1em;
    padding-left: 2em;
    padding-right: 2em;
    background-color: #660099;
    border-radius: 6px;
    color: white;
    font-size: 1em;
    border: 0.1em solid #660099;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

#traditional-contact {
    margin-left: 16px;
    padding: 0 16px;
    border-left: 1px solid #c7c7c7;
    text-align: left;
}

#traditional-contact h2 {
    font-size: 1.5em;
    font-weight: 400;
    padding: 0;
}

#contact-form label {
    font-size: 1em;
    font-weight: 600;
    padding: 0;
    margin-bottom: 8px;
}

hr {
    margin: 1em;
    width: 100%;
}

#contact-link {
    text-decoration: none;
    color: #660099;
    font-weight: 600;
    text-decoration: none;
    padding-bottom: 16px;
    display: block;
}

#traditional-contact p {
    padding: 0;
}

#traditional-contact .fa {
    font-size: 1.2em;
    margin-right: 0.5em;
    text-decoration: none;
    border-radius: 50%;
    padding: 8px;
    width: 16px;
    height: 16px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

@media (hover: hover) {
    #submit-button:hover {
        background-color: #76249e;
        color: #c7c7c7;
    }
    #traditional-contact .fa:hover {
        box-shadow: 0;
    }
    #contact-link:hover {
        color: #76249e;
    }
}


/*--------------------------------------------------------------
# Map
--------------------------------------------------------------*/

.map {
    padding: 0;
    margin-bottom: -6px;
}

.map iframe {
    width: 100%;
    height: 380px;
}


/* Nav */

nav {
    position: fixed;
    width: 60px;
    margin-top: 150px;
    margin-left: 0px;
    transition: all 0.3s linear;
    z-index: 6000;
}

@media only screen and (max-width: 600px) {
    nav {
        display: none;
    }
}

nav ul {
    margin-top: 0;
    margin-bottom: 0rem;
    margin-left: 0;
}

nav li {
    height: 45px;
    position: relative;
    padding: 0;
    margin-bottom: 16px;
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, .4);
    border-top-right-radius: 32px;
    border-bottom-right-radius: 32px;
}

nav li a {
    color: #fff !important;
    display: block;
    height: 100%;
    width: 100%;
    line-height: 45px;
    border-bottom: 1px solid rgba(0, 0, 0, .4);
    transition: all .3s linear;
    text-decoration: none !important;
    border-top-right-radius: 32px;
    border-bottom-right-radius: 32px;
}

nav li:nth-child(1) a {
    background: #333;
}

nav li:nth-child(2) a {
    background: #4267B2;
}

nav li:nth-child(3) a {
    background: #1DA1F2;
}

nav li:nth-child(4) a {
    background: #E1306C;
}

nav li:nth-child(5) a {
    background: #ff0000;
}

nav li:nth-child(6) a {
    background: #2867B2;
}

nav li a i {
    position: absolute;
    top: 14px;
    left: 24px;
    font-size: 15px;
}

ul li a span {
    display: none;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

a:hover {
    z-index: 1;
    border-bottom: 1px solid rgba(0, 0, 0, .5);
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, .3);
}

ul li:hover a span {
    padding-left: 30%;
    display: block;
    font-size: 15px;
}