
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;1,400;1,700&display=swap');

:root {
  --blue: #007bff;
  --primary: #b4282e;
  --info: #0033A0;
}


body,
html {
  width: 100%;
  height: 100%;
}

body {
  font-family: Verdana, Tahoma, Arial, sans-serif;
  position:relative;
}

hr {
  max-width: 50px;
  border-width: 3px;
  border-color: #b4282e;
}

hr.light {
  border-color: #fff;
}

hr.medium {
  border-color: #ccc;
}

hr.dark {
  border-color: #212529;
}

hr.blue{border-color: var(--info)}

hr.full {
  border-width: 1px;
  max-width: 100%;
}

a{
  color: #b4282e;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  cursor:pointer;
}

.links {
  color: #b4282e;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  cursor:pointer;
}
.container{position:relative}

.jotform_container{
  background:url(/img/blue-loading.gif) top center no-repeat;
}

.anchor{position:absolute;top:-90px;}

.bg-dark a,.bg-dark .links {
  color: #db302e;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.bg-black{
  background:#000;
 }

 .bg-black a,.bg-black .links {
  color: #fff;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.bg-black a:hover img {opacity:0.5;
}

.bg-pale{
  background:#fff5e9;
 }
 .bg-purple-pale{
  background:#f3f3fe;
 }
 .bg-info-light{
  background:#cfe6f5;
 }

a:hover,  .links:hover, a:focus,  .links:focus{
  color: #2A4189;
}

a.active , .links.active{
  color: #2A4189
}

a:hover.linkHighlight,
a:focus.linkHighlight ,
.links:hover.linkHighlight,
.links:focus.linkHighlight{
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=55)";
  filter: alpha(opacity=55);
  -moz-opacity: 0.55;
  -khtml-opacity: 0.55;
  opacity: 0.55;
  text-decoration:none;
}
.links{cursor:pointer}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family:  'Merriweather', serif;;
}

h4{margin:20px 0 5px;}

h5{font-weight:bold;}

.bg-white h4, .bg-light h4{color:var(--dark); margin:20px 0}

.bg-primary {
  background-color: #b4282e !important;
  color: #FFFFFF !important;
}

.bg-primary  a{
  color: #000000 !important;
}

.bg-dark {
  background-color: #212529 !important;
}

.bg-light{
  background-color: #cccccc !important;
}

.bg-light-blue{
  background-color: #D2E9F9;
}

.text-sm{font-size:0.8rem}
.text-faded {
  color: rgba(255, 255, 255, 0.7);
}
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    display: inline-block;
    padding: 4px 6px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555555;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    vertical-align: middle;
}
form label{display:block;}

section {
  padding: 8rem 0;
}

.section-heading {
  margin-top: 0;
  color:#0033A0;
  font-size:2rem;
}


.section-heading span {
  display:block;
  font-size:1.1rem;
  color:#f1f1f1;
}

::-moz-selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

::selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

img::selection {
  color: #fff;
  background: transparent;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

#mainNav {
  border-bottom: 1px solid rgba(33, 37, 41, 0.1);
  background-color: #fff;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

#mainNav .navbar-brand {
  font-weight: 700;
  font-size:1.8rem;
  text-transform: uppercase;
  color: #b4282e;
  text-align:center;
}

#mainNav.navbar-shrink .navbar-brand {
  font-size:1.2rem;
}

#mainNav .navbar-nav a{
  font-size:0.9rem;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

#mainNav.navbar-shrink .navbar-nav a{
  font-size:0.7rem;
}

#mainNav.navbar-shrink .navbar-nav .dropdown-menu a{
  font-size:0.8rem;
}

#mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: #b4282e;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
  
  font-weight: 700;
  text-transform: uppercase;
  color: #212529;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
  color: #b4282e;
}

#mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link.active,
#mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus.active {
    color: #212529 !important;
    background-color: rgba(0, 0, 0, 0.1);
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
    color: #fff !important;
    background-color: rgba(0, 0, 0, 0.1);
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active:hover {
  background-color: transparent;
}

#mainNav .navbar-brand small {
font-size:0.7rem;
text-transform: lowercase;
display:block;}

#mainNav .navbar-brand img {
max-width:200px; height:auto; width:100%;}

#mainNav .navbar-brand img.img-dark {display:none;}


#mainNav.navbar-shrink .navbar-brand img.img-light {display:none;}
#mainNav.navbar-shrink .navbar-brand img.img-dark {display:block; max-width:100px;}


#mainNav .navbar-nav .nav-item.nav-prominent a, #mainNav .navbar-nav > li.nav-item.nav-prominent > a.nav-link.active, #mainNav .navbar-nav > li.nav-item.nav-prominent > a.nav-link:focus.active
{
  font-size:0.9rem;
}
#mainNav .dropdown-menu {
  left:auto;
  right: 0;
}
.dropdown:last-child .dropdown-menu{left:inherit; right:0}

#secondaryNav {
  overflow: hidden;
  background-color: #333;
  z-index: 1;
  text-align:center;
}

#secondaryNav a, #secondaryNav .nav-link {
  display: inline-block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

#secondaryNav a:hover, #secondaryNav .nav-link:hover {
  background-color: #ddd;
  color: black;
  cursor:pointer;
}

#secondaryNav a.active, #secondaryNav .nav-link.active {
  background-color: #4CAF50;
  color: white;
}
#secondaryNav.navbar-shrink {
  position: fixed;
  top: 85px;
  width: 100%;
}

header.masthead {
  padding-top: 10rem;
  padding-bottom: calc(10rem - 56px);
  background-image: url('/img/stock/Friends_Teamwork.jpg');
  background-attachment: fixed;
  background-position: top center;
  background-size: cover;
}

header.masthead hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

header.masthead h1 {
  font-size: 2rem;
}

header.masthead h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

header.masthead p, header.masthead .text-muted {
  font-weight: 900;
    color:#ffffff  !important;
}

header.masthead .col-lg-8 {
  background:#000;
  padding:10px;
  -webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.4);
}

header .top-wrap {
  bottom: -20px;
  position: absolute;
  width:100%;
  left:0;
}

header .top-wrap a {
  color:#fff;
}

header .top-wrap a:hover {
  color: #bbb;
}
header .top-action {
  width: 100%;
  background: rgba(0, 45, 114, 0.7);
  padding: 50px 0 30px;
  top: 30%;
  position: absolute;
  max-width: 600px;
  left: 50%;
  margin-left: -300px;
  color: #fff;font-size:1.6rem
}
header .top-action span{display:block; font-size:1.2rem}

header .top-wrap .media-heading {
  font-size:2rem;
  color:#6594bc
}


#menue1 {
  max-width: 1600px;
}
.home #chartWrap{background:transparent; color:#fff; border:0 none}
#mainNav .navbar-nav > li.nav-item > a.nav-link{font-size:1rem; font-weight:normal;}
#mainNav .navbar-nav a.dropdown-item{font-size:1rem; font-weight:normal;}
#helpTabs{margin:30px auto 0}
#helpTabs a:hover{color:#1C8DD9}
#helpTabs a{padding:10px 0; color:#1C8DD9}
#helpTabsContent .row{margin:60px auto 0;}
.links{display:block;}
.links img{cursor:pointer}
#videoModal {
    width: 100%;
    left: 0;
    top: 0;
    margin-left: 0;
    background:rgba(0,0,0,0.15)
}
header .top-action {
    width: 100%;
    background: transparent;
    padding: 50px 0 30px;
    top: 20%;
    position: absolute;
    max-width: 800px;
    left: 50%;
    margin-left: -400px;
    color: #fff;
    font-size: 1.6rem;
}

header .top-action .carousel-item {background:rgba(0, 45, 114, 0.7)}

footer .contact .d-md-inline-block{width:30%; margin:0 1%}

.stats-box .inner-wrap{
  padding:10px;
  font-size:0.8rem;
  width:90%; margin-left:5%; margin-right:5%;
  margin-bottom:10px;
}

.stats-box .section-heading {
  font-size:1rem;
}

.stats-box .chart-wrap {
  width:80%; margin:0px 10% 10px;
}

.stats-box .stat-highlight-wrap, .stats-box .map-image {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  background-color: #000;
  margin-top:5px;
  width:100%;
  max-width:436px;
}

.stats-box .stat-highlight {
  font-size:2rem;
}

.stats-box .stat-highlight,  .text-blue {
  color:#1F77B4;
}
  
.redLine
{
    background-color: #b4282e;
    padding: .6em 0 1em;
}


.med-pad {padding:5rem 0;}
.small-pad {padding:4rem 0;}
.tiny-pad {padding:3rem 0;}
.no-pad {padding:0;}
.no-pad-top {padding-top:0;}
.no-pad-bottom {padding-bottom:0;}

.img-rounded{-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
padding:0
}


.big-gap, .row > div.big-gap  {
    margin-bottom: 100px;
}

.medium-gap, .row > div.medium-gap  {
    margin-bottom: 70px;
}
.gap, .row > div.gap  {
    margin-bottom: 25px;
}

section {

    display: table;
    table-layout: fixed;
    width: 100%;

}
.divider-section { background-color: rgba(0, 0, 0, 0.5); position: relative; overflow: hidden; display: block; color: #fff;}
.divider-section a { color: #f5f5f5;}

.card-body{text-align:left;}
 .background_particle {
  position:  absolute;
  display:  block;
  top: 0;
  left: 0;
  z-index:0;
}

  .mobile-only{display:none;}

  table.lead ul{margin:0;}
  table.lead tr td{padding-bottom:20px;vertical-align: top;}

  .statistics-counter{font-size:0.9rem;}
  .statistics-counter .count{color:#DA291C; font-size:2rem}
  .statistics-counter strong{font-size:1.2rem; display:block}

  

/*-----------------------------------------------------------------------------------*/


/*  PARALLAX
/*-----------------------------------------------------------------------------------*/


.parallax-outer {
  position: relative;
  /* height: 500px; */
}
.parallax-image {
  position: absolute;
  height: 200%;
  width: 100%;
  z-index: 3;
}


.parallax .parallax-outer {overflow:hidden; background:#6C6A6B }
.parallax .parallax-image   {min-height: 100%; min-width: 100%; max-height:3000px}
.parallax .parallax-inner   {position:relative; z-index:4}
.parallax.fixed .parallax-inner { background-attachment:fixed; background-size: 100% auto; background-repeat: no-repeat;}
.medium.parallax .parallax-outer {height: 350px; }
.medium.parallax .parallax-image{
  height: 300%;
  width: 100%;}
.short.parallax .parallax-outer {height: 150px; }
.short.parallax .parallax-image{
  height: auto;
  width: 100%;}

/*-----------------------------------------------------------------------------------*/


/*  Sunburst
/*-----------------------------------------------------------------------------------*/

#sunburst text{font-size:10px;}

/*-----------------------------------------------------------------------------------*/
/*  ANIMATE
/*-----------------------------------------------------------------------------------*/
.no-display {
  opacity: 0; }

.appear {
  opacity: 1 !important;
  -webkit-transition: all .4s ease-in-out;
  -moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out; }


.service-box {
  max-width: 400px;
  -webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.1);
  padding:10px 5px;
}

.service-box:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.portfolio-box {
  position: relative;
  display: block;
  max-width: 650px;
  margin: 0 auto;
}

.portfolio-box .portfolio-box-caption {
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  opacity: 0;
  color: #fff;
  background: rgba(240, 95, 64, 0.9);
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
  position: absolute;
  top: 50%;
  width: 100%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  text-align: center;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  padding: 0 15px;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  font-size: 18px;
}

.portfolio-box:hover .portfolio-box-caption {
  opacity: 1;
}

.portfolio-box:focus {
  outline: none;
}
.text-info{color:var(--info) !important;}

.btn {
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;}

.btn-xl {
  padding: 1rem 2rem;
}

.btn-primary {
  background-color: #b4282e;
  border-color: #b4282e;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  color: #fff;
  background-color: #ee4b28 !important;
}

.btn-primary:active, .btn-primary:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(240, 95, 64, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(240, 95, 64, 0.5) !important;
}

/*-----------------------------------------------------------------------------------*/


/*  Charts
/*-----------------------------------------------------------------------------------*/


.chart-wrapper {
    max-width: 950px;
    min-width: 240px;
    margin: 0 auto;
    background-color: #000;
    color:#fff;
}

.chart-wrapper .inner-wrapper {
    position: relative;
    padding-bottom: 50%;
    width: 100%;
}

.chart-wrapper .outer-box {
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
}

.chart-wrapper .inner-box {
    width: 100%;
    height: 100%;
}

.chart-wrapper text {
  font-family: sans-serif;
  font-size: 11px;
    color: #ffffff;
  fill: #ffffff;
}

.chart-wrapper p {
    font-size: 16px;
    margin-top:5px;
    margin-bottom: 40px;
}

.chart-wrapper .axis path,
.chart-wrapper .axis line {
    fill: none;
    stroke: #ffffff;
    stroke-opacity: 0.7;
    shape-rendering: crispEdges;

}
.chart-wrapper .axis path {
  stroke-width: 2px;
}

.chart-wrapper .line {
  fill: none;
  stroke: steelblue;
  stroke-width: 5px;
}

.chart-wrapper .legend  {
    min-width: 200px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    font-size: 16px;
    padding: 10px 40px;
}
.chart-wrapper .legend > div {
    margin: 0px 25px 10px 0px;
    flex-grow: 0;
}
.chart-wrapper .legend p {
    display:inline;
    font-size: 0.8em;
    font-family: sans-serif;
    font-weight: 600;
}
.chart-wrapper .legend .series-marker {
    height: 1em;
    width: 1em;
    border-radius: 35%;
    background-color: crimson;
    display: inline-block;
    margin-right: 4px;
    margin-bottom: -0.16rem;
}

.chart-wrapper .overlay {
  fill: none;
  pointer-events: all;
}

.chart-wrapper .focus circle {
  fill: crimson;
  stroke: crimson;
  stroke-width: 2px;
  fill-opacity: 15%;
}
.chart-wrapper .focus rect {
    fill: lightblue;
    opacity: 0.4;
    border-radius: 2px;
}
.chart-wrapper .focus.line {
    stroke: steelblue;
    stroke-dasharray: 2,5;
    stroke-width: 2;
    opacity: 0.5;
}


.legend-con { display: inline-block; text-align: left; width: 100%; }        
.legend-con   ul { list-style: none; margin:0 auto }   
.legend-con  ul   li { display: inline-block; align-items: center; margin-bottom: 4px; font-size: 12px; line-height:16px; }
.legend-con ul li.order3 { display:none }   
.legend-con  li   span { display: block;width:40px; height:10px; margin-right:5px; margin-left:10px; margin-top: 2px; float:left; border:1px solid #ccc; }
.legend-con   li  span.chart-legend { width: 25px; height: 25px; margin-right: 10px; }


.node a text{
  color:#ccc;
}

.node .link text{
  color:#212529;
  font-weight:bold;
}

.node .link:hover text{
  fill:#b4282e;
}

.node text {
  cursor:pointer;
  font-size:10px;
}

.node image {
  display:none;
}

.node .wrap-0 image {
  display:block;
}

.node .group1 text {
  font-size:14px;
  font-weight:bold;
  display:none;
}

.node .group2 text {
  font-size:12px;
  font-weight:bold;
}

.node .group3 text{
  background:url('./img/nodes/Node1.png') no-repeat top left;
  padding-left:50px;
  display:block;
}

.node .group3 text, .node .group4 text {
  font-size:10px;
}

.node circle{
  stroke:#fff;
  stroke-width:2px;
}

.node a{cursor:pointer;}
.node .pop-down{display:none;}
.node a:hover .pop-down{display:block;}

.node image{width:64px; height:auto;}
.node image:hover{width:74px !important; height:auto; margin-left:-5px;}

.text {
font-size: 12px;
}

.title-text {
font-size: 12px;
}

path.link {
  fill: none;
  stroke-width: 2px;
}
.node:not(:hover) .nodetext {
  display: none;
}
.diagram-content{text-align:left; width:98%; margin-left:1%;  margin-top:25px; font-size:0.8rem;}
.diagram-content h3{font-size:1.1rem;}
.SME_Nav.navbar-nav{display:block; text-align:center; margin-bottom:10px;}
.SME_Nav li { width: auto;   display: inline-block;   margin: 5px; }
.SME_Nav li .nav-link{ color:#fff; background: #b4282e; display: block; font-size: 12px; border: 1px solid #fff; padding: 2px 10px; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}
.SME_Nav li .nav-link:hover, .SME_Nav li .nav-link.active{  border: 1px solid #ccc;   background:#212529;}
#SME_detail { width:100%; height:auto; cursor:pointer;}

.parsley-custom-error-message, .parsley-required, span.required{color:#b4282e;}

.btn-register{margin:0 auto; max-width:420px; font-size:14px}
.btn-register span{font-size:1.4em; display:block}
#registerform{max-width:700px; margin:10px auto}

.media{margin-bottom:5px;}

/*-----------------------------------------------------------------------------------*/


/*  Modal Popup
/*-----------------------------------------------------------------------------------*/

.modal {
  position: fixed;
  top: 10%;
  left: 50%;
  z-index: 1050;
  width: 560px;
  height: auto;
  margin-left: -280px;
  background-color: #ffffff;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding-box;
  background-clip: padding-box;
  outline: none;
}

/*-----------------------------------------------------------------------------------*/


/*  Carousel
/*-----------------------------------------------------------------------------------*/

.carousel {
  width: 100%;
}
.carousel-control-next, .carousel-control-prev {
  background: transparent;
  border: 0 none;
}
.carousel-indicators{bottom:-40px;}
.carousel-control-next-icon, .carousel-control-prev-icon{width:60px; height:60px;}
.carousel-item a.text-blue{color:#1C8DD9; font-size:0.7rem; text-decoration:underline; display:block;}
/*-----------------------------------------------------------------------------------*/


/*  Popout Images
/*-----------------------------------------------------------------------------------*/



.content-tile 
{
 margin:20px auto;
 overflow:hidden;
  border-radius: 8px;
  border:1px solid #707070; 
}
.content-tile .imagecube
{
  background-color: #3d3e40;
  background-image: url(/img/empty-block.jpg);
  background-size: cover;
  background-position: 50% top;
  background-repeat: no-repeat;
  width: 100%;
  height: 162px;
  display: block;
  position: relative;
  overflow: hidden;
    transition: all .5s;
    border-bottom: 15px #25408F solid;
}
.content-tile h2
{
  padding: 15px 5%;
  color: white;
  letter-spacing: -1px;
  background: url(/img/gradient-bottom.png) repeat-x left top;
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  margin:0;
  font-size:24px;
  line-height:24px;
}

  .content-tile:hover .imagecube,
  .content-tile:focus .imagecube {
    transform: scale(1.1);
    transition: all .5s;
  }

  /*----------------------------Video------------------------------------*/
.YTvideo_container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px; height: 0; overflow: hidden;
}
.YTvideo_container iframe,
.YTvideo_container object,
.YTvideo_container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.YTvideo_slider_container {
  position: relative;
  /*padding-bottom: 43.25%;
  padding-top: 30px; */
  height: 367px; overflow: hidden;
}
.YTvideo_slider_container iframe,
.YTvideo_slider_container object,
.YTvideo_slider_container embed {
position: absolute;
top: 0;
left: 5.0%;
width: 90%;
height: 100%;
}


/*-----------------------------------------------------------------------------------*/


/*  Responsive
/*-----------------------------------------------------------------------------------*/


@media (max-width:500px){
    .chart-wrapper .line {stroke-width: 3px;}
    .chart-wrapper .legend {font-size: 14px;}
}
@media (max-width: 992px) {
  header .top-action {
    position: relative;
    max-width: 600px;
    margin-left:0;
    left:20%;
  }
  section.parallax {
    display:none
  }
 header .top-wrap {
    position: relative;
    margin-top: 20px;
  }
  #mainNav .navbar-brand img.img-dark {display:block;}
  #mainNav .navbar-brand img.img-light {display:none;}
}

@media screen and (min-width:768px) {
  header.masthead {
    padding-top: 8em;
    padding-bottom: calc(12rem - 56px);
  }

  #mainNav .navbar-nav a{
    font-size:0.6rem;
  }

}

/* Mobile Portrait */
@media screen and (max-width:769px) {
  header .top-action {
    position: relative;
    max-width: 700px;
    margin-left:0;
    padding-top:70px;
    left:0;font-size:1.4rem
  }
  header .top-action span {font-size:1.1rem  }
  header.masthead {
    padding-top: 6em;
    padding-bottom: calc(14rem - 56px);
  }
  .desktop-only{display:none;}
  .mobile-only{display:block;}
 header .top-wrap { margin-top: 60px;  }
  .navbar-brand {width:60%; height:auto;}
  header .btn.register{width:100%;}
  #secondaryNav a, #secondaryNav .nav-link{font-size:0.8rem; padding:4px 6px;}
  table.lead td{width:100%; float:left;}
  table.lead td:nth-child(even){width:80%; margin-left:10%;}
  footer .contact .d-md-inline-block{width:100%}
}

/* Mobile Landscape */
@media screen and (min-width: 576px) {
.btn-register{margin-top:100px;}

}

@media screen and (min-width: 992px) {  
  .iframe_wrap iframe{max-height: 60vh;}
  #mainNav {
    border-color: transparent;
    background-color: transparent;
  }
  #mainNav .navbar-brand {
    color: rgba(255, 255, 255, 0.7);
  }
  #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
    color: #fff;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link {
    padding: 0.5rem;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
    color: rgba(255, 255, 255, 0.7);
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #fff;
  }
  #mainNav.navbar-shrink {
    border-bottom: 1px solid rgba(33, 37, 41, 0.1);
    background-color: #fff;
  }
  #mainNav.navbar-shrink .navbar-brand {
    color: #b4282e;
  }
  #mainNav.navbar-shrink .navbar-brand small {
    color: #212529;
  }
  #mainNav.navbar-shrink .navbar-brand:focus, #mainNav.navbar-shrink .navbar-brand:hover {
    color: #b4282e;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus {
    color: #212529;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #b4282e;
  }
  header.masthead {
    height: 100vh;
    min-height: 650px;
    padding-top: 0;
    padding-bottom: 0;
  }
  header.masthead h1 {
    font-size: 3rem;
  }
}

@media all and (max-width: 768px) {

  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
    font-size: 16px;
  }
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    font-size: 22px;
  }
  #mainNav .navbar-nav a{
    font-size:0.8rem;
  }

}

@media (min-width: 1400px) {
  header.masthead h1 {
    font-size: 4rem;
  }
  #mainNav .navbar-nav a{
    font-size:0.8rem;
  }

 }

@media (min-width: 1800px) {

}
