html{
    font-size: 100%; /* this is usually 16px by default*/
    position:relative;
    min-height:100%
}

body{
   font-size: 1rem; /* should be just over 16px*/
   margin-bottom: 55px;
}


/*=====================*/

img{
  max-width:100%;
  margin:0;
}

@charset "utf-8";
/* CSS Document */

.header {
	background-image:url(../images/header_bg.png);
	background-repeat:no-repeat;
	
    background-color: #620100;
	color:#fff;
	box-shadow: 0 5px 5px #ddd;
	height:100%;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
	color:#eaa82b;
    background-color: #0085b4;
	border-top: 5px solid #ddd;
}

.navbar-default .navbar-nav > li > a{
	color:#fff;
	line-height:37px
}

.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:active, .navbar-default .navbar-nav > li > a:focus{
	color:#ddd;
}

p {
    margin: 1rem auto;
}

h2{
    font-size: 1.4rem;
    line-height: 1.6rem;
    font-weight: 600;
    margin: 0;
    margin-bottom: .5em;
    padding: 0 0 0 1.5rem;
    color: #620100;
    max-width: 80%;
}



.questionContainer p {
    background: rgba(29, 78, 137, 0.2);
    padding: 0.5rem;
}

.navbar-default .navbar-brand {
    color: #eaa82e;
	font-size: 28px;
	text-shadow: 2px 2px 4px #000;
	line-height:32px;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: #fff;
  background-color: transparent;
}

.navbar-default .navbar-nav > .active > a{
    color: #1d4e89;
    background-color: #e7e7e7;
}

.navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus{
	color: #838B94;
}

.reset.button, .check.button, .print.button{
    float: right;
    margin-right: 0px;
    background-color: rgba(29, 78, 137, 0.15);
    color: #1d4e89;
    position: relative;
    top: 20px;
}


.EnableEditing.button, .DisableEditing.button{
    float: right;
    margin-right: 0px;
    background-color: rgba(29, 78, 137, 0.15);
    color: #1d4e89;
    position: relative;
    top: 20px;
}
.suggested.button {
    margin-right: 0px;
    background-color: rgba(29, 78, 137, 0.15);
    color: #1d4e89;
}

.btn:hover, .btn:focus {
    color: #eaa82e;
}

.btn {
    background: #620100;
    color: white;
	margin-bottom: 4px;
}




/*------- SVG header graphics  --------*/
/* Information block style - SVG graphics */
/* HOVER COLOR */

svg {
    margin-right: 15px;
}



svg:hover #penTool,
svg:hover #infoButton { 
  fill: #fff;
}

.btnOpen svg #penTool  { 
  fill: #888;
}

/* GENERAL STYLES */

#glyphs { 
  width: 100%; 
  margin: 2px auto; 
  text-align: center;
  /*zoom: 1.3;*/
  display: flex;
  padding-top: 5px;
}
a { 
  outline: none; 
  border: 0; 
  text-decoration: none; 
}
svg #penTool,
svg #infoButton { 
  transition: 200ms;
  transition-timing-function: ease-in-out;
  -webkit-transition: 200ms;
  -webkit-transition-timing-function: ease-in-out;
}

.modal-header{
	color:#fff;
	background-color:#1d4e89;
	border-radius: 4px 4px 0px 0px;
}



/*------- Modal Styling -------*/

.modal{
    top: 80px;
}

.modal-content, .modal-header{
   background-color:#eaa82e;
   color:#fff;
   border-top-left-radius:10px;
   border-top-right-radius:10px;
}

.modal-content, .modal-header{
   background-color:#eaa82e;
   color:#fff;
   border-top-left-radius:10px;
   border-top-right-radius:10px;
}

.modal-content{
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.modal-header button.close{
    color:#fff;
}

.modal-body{
    color:#000;
    background-color:#fff;
    line-height:1.2rem;
}

.modal-body p {
    margin: 0 0 15px;
}

.modal-body li{
   list-style-type: lower-roman;
   line-height:1.5rem;
}


img{
  border-radius: 10px;
  border: 5px solid #1d4e89;

}



.buttonrow{
    margin: 1.5rem auto;
    padding:.5rem;
    bottom: 100px;
}

.button{
    background-color: #1d4e89;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    padding: 0.5rem 0.5rem;
	width:10rem;
	margin-right: 3rem;
}

.suggested{
    margin-top:2.4rem;
}

.button:hover{
   color: #1d4e89;
     background-color: #fff;
}


.questionContainer, .questionIntro{
    padding:.5em;
    margin: .5rem 2rem;
}


.questionText{
   font-size: 1rem;
   line-height: 1.6rem;
   width:100%;
   padding:0.5rem;
   margin: 1rem 0;
   background: rgba(29, 78, 137, 0.2);
     	-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Chrome/Safari/Opera */
    -khtml-user-select: none;    /* Konqueror */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* IE/Edge */
    user-select: none;           /* non-prefixed version, currently
                                  not supported by any browser */
}

.questionInput{
    background-color: white;
    margin: 1rem 0;
    display: inline-block;
    min-height: 5rem;
	max-height: 7rem;
    width: 100%;
    padding: 0.5rem 0.5rem 0 0.5rem;
    border: solid 1px gainsboro;
    -webkit-transition: box-shadow 0.3s, border 0.3s;
    -moz-transition: box-shadow 0.3s, border 0.3s;
    -o-transition: box-shadow 0.3s, border 0.3s;
    transition: box-shadow 0.3s, border 0.3s;
    overflow-y: scroll;
}
.questionIntro h2 {
    background: rgba(29, 78, 137, 0.7);
	margin-top: 1em;
    padding: .5rem;
    color: #fff;
}

.describe{
	min-height: 13rem;
	max-height: 14.5rem;
}


span.introTitle, p.introTitle {
    background-color: #1d4e89;
    color: #fff;
    display: block;
    font-weight: 600;
    padding: 10px 10px 10px 20px;
    text-shadow: 1px 1px 2px #aaa;
    line-height: 30px;
    text-transform: capitalize;
	font-size:x-large;
	border-radius: 6px;
}

.close {
	color: #ddd;
}

.close:hover {
	color: #fff;
}

.print-helper{
  display: none;
}

#checkCorrect, #checkCorrect2 {
    position: relative;
    /* border: 1px dotted #aaa; */
    height: 80px;
    top: 20px;
}

/* -- Activity 8  Styling -- */

table, th, td{
    margin: auto auto 4rem auto;
    border:1px solid #1d4e89;
}

table{
    width:100%;
}


th, td{
  width:20%;
  padding:0.5rem;
  margin-left: 0.5rem;
}

th{
   font-size:1.1rem;
   background-color: #1d4e89;
   color: #fff;
   border-top:2px solid #fff;
   border-left:2px solid #fff;
}

th.blank{
   font-size:1.1rem;
   background-color: #fff;
   color: #fff;
   border-top:2px solid #fff;
   border-left:2px solid #fff;
}

td{
    height:80px;
}

/*------- short table styling (eg. er chnages and micro/macro factors) -------*/

table.short_table, .short_table th, .short_table td{
    margin: 1rem auto;
}

.short_table td{
    font-size:1.2rem;
    color: #1d4e89;
    height:50px;
	    max-width: 200px;
}

.short_table td.textInput{
    background-color: #fff;
}

.catLabel{
    background-color: #fff;
}

table.short_table td.category, table.short_table th.category{
    width:8%;
    max-width: 8%;
    font-weight:600;
}

table.short_table th.category{
     border-right:2px solid #fff;
}

.short_table th:nth-child(1), .ports_table th:nth-child(1){
   border:1px solid #1d4e89;  
}


.short_table td.not_applicable{
  background-color: lightblue;  
}

.suggested_answer{
  background-color: aliceblue; 
}

.answer{
    font-size:1.1rem;
    line-height:1.3rem;
}

.extensionText, .scenario{
   font-size: 1.2rem;
   line-height: 1.4rem;
   width:100%;
   min-height:65px;
   padding:0.5rem;
   border:1px solid #1d4e89;
   border-radius: 5px;
     	-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Chrome/Safari/Opera */
    -khtml-user-select: none;    /* Konqueror */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* IE/Edge */
    user-select: none;           /* non-prefixed version, currently
                                  not supported by any browser */
}

.scenario h3{
    font-weight:600;
    margin-top:0;
}



/*-----------------------------------*/

.investProp, .introTrade{
   font-size: 1.4rem;
   line-height: 1.6rem;
   width:100%;
   min-height:40px;
   padding:0.5rem;
   margin-top:0;
   border:1px solid #1d4e89;
   border-radius: 5px;
     	-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Chrome/Safari/Opera */
    -khtml-user-select: none;    /* Konqueror */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* IE/Edge */
    user-select: none;           /* non-prefixed version, currently
                                  not supported by any browser */
}

.microhidden {
    border-top: 1px solid rgba(255,255,255,0.1);
    border-right: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 1%!important;
}



/*------- Drag/Drop -------*/ 

.draggable{
    background-color: rgba(29, 78, 137, 0.08);
    margin: 0.5rem 0.5rem 0 0.5rem;
    padding: 0.5rem;
    color: #1d4e89;
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    line-height: 1.4rem;
    display: inline-block;
    padding: 0.5rem;
    cursor: pointer;
    width: 90%;
    text-align: center;
    min-height: 45px;
    max-width: 600px;
    border: 1px dotted #1d4e89;
	border-radius: 6px;
}

.dropZone{
    margin:0 0.2rem 0.2rem 0.2rem;
    max-width:200px;
    padding:0.5rem;
    vertical-align: top;
}

span.dropped{
    font-size: 1rem;
    line-height: 1.2rem;
    text-align: left;
    color: #1d4e89;
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 0px;
    border-top: 0px;
    border-right: 0px;
	border-radius: 0px;
}

p.source{
    margin-top:0.5rem;
    font-size:0.8rem;
    line-height:1rem;
}


@media screen and (-webkit-min-device-pixel-ratio:0) { 
    /* Safari 5+ ONLY*/
    ::i-block-chrome, #penToolBtn, #infoButton {
	float:left;
	margin-top:7px;
	margin-bottom:3px;
}
}


/*  menu bar burger - restyle */
/*--- Removes the colapsable header menu ---*/

@media (max-width: 768px) {
    .navbar-header {
        float: left;
    }

    .navbar {
        border-radius: 4px;
        min-width: 400px;
    }

    .nav-tabs-justified > li > a {
        border-bottom: 1px solid #ddd;
        border-radius: 4px 4px 0 0;
    }
    .nav-tabs-justified > .active > a,
    .nav-tabs-justified > .active > a:hover,
    .nav-tabs-justified > .active > a:focus {
        border-bottom-color: #fff;
    }

    .nav-justified > li {
        display: table-cell;
        width: 1%;
    }
    .nav-justified > li > a {
        margin-bottom: 0;
    }

    .nav-tabs.nav-justified > li > a {
        border-bottom: 1px solid #ddd;
        border-radius: 4px 4px 0 0;
    }
    .nav-tabs.nav-justified > .active > a,
    .nav-tabs.nav-justified > .active > a:hover,
    .nav-tabs.nav-justified > .active > a:focus {
        border-bottom-color: #fff;
    }

    .nav-tabs.nav-justified > li {
        display: table-cell;
        width: 1%;
    }
    .nav-tabs.nav-justified > li > a {
        margin-bottom: 0;
    }

    .navbar-right .dropdown-menu {
        right: 0;
        left: auto;
    }
    .navbar-right .dropdown-menu-left {
        right: auto;
        left: 0;
    }
    .container {
        min-width: 400px;
    }

    .navbar-collapse {
        width: auto;
        border-top: 0;
        box-shadow: none;
    }
    .navbar-collapse.collapse {
        display: block !important;
        height: auto !important;
        padding-bottom: 0;
        overflow: visible !important;
    }
    .navbar-collapse.in {
        overflow-y: visible;
    }
    .navbar-fixed-top .navbar-collapse,
    .navbar-static-top .navbar-collapse,
    .navbar-fixed-bottom .navbar-collapse {
        padding-right: 0;
        padding-left: 0;
    }

    .container > .navbar-header,
    .container-fluid > .navbar-header,
    .container > .navbar-collapse,
    .container-fluid > .navbar-collapse {
        margin-right: 0;
        margin-left: 0;
    }

    .navbar-static-top {
        border-radius: 0;
    }

    .navbar-fixed-top,
    .navbar-fixed-bottom {
        border-radius: 0;
    }

    .navbar-toggle {
        display: none;
    }

    .navbar-nav {
        float: left;
        margin: 0;
    }
    .navbar-nav > li {
        float: left;
    }
    .navbar-nav > li > a {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .navbar-nav.navbar-right:last-child {
        margin-right: -15px;
    }

    .navbar-left {
        float: left !important;
    }
    .navbar-right {
        float: right !important;
    }

    .navbar-form .form-group {
        display: inline-block;
        margin-bottom: 0;
        vertical-align: middle;
    }
    .navbar-form .form-control {
        display: inline-block;
        width: auto;
        vertical-align: middle;
    }
    .navbar-form .control-label {
        margin-bottom: 0;
        vertical-align: middle;
    }
    .navbar-form .radio,
    .navbar-form .checkbox {
        display: inline-block;
        padding-left: 0;
        margin-top: 0;
        margin-bottom: 0;
        vertical-align: middle;
    }
    .navbar-form .radio input[type="radio"],
    .navbar-form .checkbox input[type="checkbox"] {
        float: none;
        margin-left: 0;
    }
    .navbar-form .has-feedback .form-control-feedback {
        top: 0;
    }

    .navbar-form {
        width: auto;
        padding-top: 0;
        padding-bottom: 0;
        margin-right: 0;
        margin-left: 0;
        border: 0;
        -webkit-box-shadow: none;
                box-shadow: none;
    }
    .navbar-form.navbar-right:last-child {
        margin-right: -15px;
    }

    .navbar-text {
        float: left;
        margin-right: 15px;
        margin-left: 15px;
    }
    .navbar-text.navbar-right:last-child {
        margin-right: 0;
    } 
}
