/*========================================*/
/* Fonts */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);
@import url(https://fonts.googleapis.com/css?family=Oswald:400,700);

/*========================================*/
/* Theme Overrides */

html {
    -ms-overflow-style: scrollbar;
    /* IE10/11 scrollbar */
    /* auto | none | scrollbar | -ms-autohiding-scrollbar */
}

body {
    position: relative;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    line-height: 1.5;
}

:target:before {
    display: block;
    position: relative;
    z-index: -1;
    height: 60px;
    margin-top: -60px;
    content: " ";
}

.skipNav:focus {
    z-index: 2000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oswald', Helvetica, Arial, sans-serif;
}
h2,
h3,
h4,
h5,
h6 {
    margin-top: 10px;
}

@media (max-width: 767px) {
    h2 {
        text-align: left !important;
    }
}

/*========================================*/
/* Navbar */

.navbar-sc {
    background-color: #111;
    border-color: #000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.navbar-sc .navbar-brand {
    font-size: 18px;
    font-weight: bold;
    color: #bcbcbc;
    padding: 7px 15px;
}
.navbar-sc .navbar-brand small {
    display: block;
    font-size: 13px;
    margin-top: -0.25em;
    margin-left: 30px;
}
.navbar-sc .navbar-brand img {
	float: left;
	margin-right: 7px;
}
.navbar-sc .navbar-brand:hover,
.navbar-sc .navbar-brand:focus {
    color: #bcbcbc;
    background-color: transparent;
}
.navbar-sc .navbar-text {
    color: #bcbcbc;
}

/*========================================*/
/* Navbar menu */

#navtoggle {
    position: relative;
    z-index: 1;
    display: block;
    float: left;
}
#navopen {
    display: block;
    visibility: visible;
    width: 48px;
    height: 50px;
    font-size: 21px;
    line-height: 30px;
    color: #9d9d9d;
    text-decoration: none;
    padding: 10px 15px;
    margin-right: -10px;
}
#navopen:hover,
#navopen:focus {
    color: #FFFFFF;
    text-decoration: none;
}
#navclose {
    display: none;
    visibility: hidden;
    width: 48px;
    height: 50px;
    float: left;
    font-size: 15px;
    color: #9d9d9d;
    text-decoration: none;
    padding: 10px 15px;
    margin-right: -10px;
}
#navclose:hover,
#navclose:focus {
    color: #FFFFFF;
    text-decoration: none;
}
#navtoggle.open #navopen {
    display: none;
    visibility: hidden;
}
#navtoggle.open #navclose {
    display: block;
    visibility: visible;
}
#navmenu {
    position: fixed;
    top: 51px;
    left: 0;
    background-color: #111;
    border-color: #000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
#navmenu .navbar-nav {
    width: 200px;
    margin: 0;
}
#navmenu .navbar-nav > .active > a {
    position: relative;
    color: #9d9d9d;
    background-color: #2A2A2A;
}
#navmenu .navbar-nav > .active > a:hover,
#navmenu .navbar-nav > .active > a:focus {
    color: #ffffff;
    background-color: #2A2A2A;
}
#navmenu .navbar-nav > .active > a:after {
    position: absolute;
    top: 50%;
    left: 0;
    display: inline-block;
    width: 0;
    height: 0;
    content: ' ';
    margin-top: -7px;
    vertical-align: middle;
    border-top: 7px solid transparent;
    border-right: 0;
    border-bottom: 7px solid transparent;
    border-left: 7px dashed;
    border-left: 7px solid \9;
}

#navmenu ul li {
    border-bottom: 1px solid #333;
}
#navmenu ul li:last-child {
    border-bottom: 0;
}
@media (min-width: 768px) {
    #navtoggle {
        display: none;
        visibility: hidden;
    }
    #navmenu {
        display: block;
        position: static;
        float: left;
        background-color: inital;
        border-color: inital;
        box-shadow: inital;
        padding: initial;
    }
    #navmenu .navbar-nav {
        width: auto;
    }
    #navmenu .navbar-nav > .active > a:after {
        top: 0;
        left: 50%;
        margin-top: 0;
        margin-left: -7px;
        border-top: 7px dashed;
        border-top: 7px solid \9;
        border-right: 7px solid transparent;
        border-bottom: 0;
        border-left: 7px solid transparent;
    }
    #navmenu ul li {
        border-bottom: 0;
    }
}

/*========================================*/
/* Jumbotron */

.jumbo1 {
    height: 375px;
    background-color: transparent;
    background-image: url('../img/bg/bg2.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 65px;
    margin-bottom: 20px;
    border-radius: 0 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    overflow: hidden;
}
.jumbo1 .container {
    position: relative;
}
.jumbo1 .container:after {
    position: absolute;
    display: block;
    top: -90px;
    right: -15px;
    width: 485px;
    height: 485px;
    background-image: url('../img/logo/logo_lg-bg.png');
    background-position: center, center;
    background-repeat: no-repeat;
    content: ' ';
}
@media screen and (max-width: 767px) {
    .jumbo1 {
        padding-right: 30px;
        padding-left: 30px;
    }
}
.jumbo1-text {
    width: 300px;
    line-height: 1.42857143;
    text-shadow: 1px 1px 2px rgba(22, 22, 22, 1);
}
.jumbo1-text h1 {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 46px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 30px;
}
.jumbo1-text h1 small {
    display: block;
    font-size: 33px;
    font-weight: bold;
    color: #fff;
}
.jumbo1-text h2 {
    font-size: 38px;
    font-weight: normal;
    color: #fff;
    margin-bottom: 25px;
}
.jumbo1-text p {
    font-size: 24px;
    color: #fff;
}

/*========================================*/
/* Goal Row */

.goalrow {
    border-top: 2px solid #111111;
    background-color: #0077BB;
    color: #FFFFFF;
    text-shadow: 1px 1px 2px rgba(22, 22, 22, 1);
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.goalrow h3 {
    line-height: 36px;
    margin-top: 15px;
}
.goalrow h3 .fa {
    font-size: 36px;
    margin-right: 7px;
}
.goalrow h3 .fa:last-child {
    margin-right: 0;
    margin-left: 7px;
}
.goalrow .col-sm-4 {
    margin-bottom: 20px;
}
.goalrow .col-sm-4:last-child {
    margin-bottom: 0;
}
@media (min-width: 768px) {
    .goalrow h3 {
        text-align: center;
        margin-top: 10px;
    }
    .goalrow .col-sm-4 {
        margin-bottom: 0;
    }
}

/*========================================*/
/* Work Row */

.workrow a {
    text-decoration: none;
}
.workrow a:hover,
.workrow a:focus{
    text-decoration: none;
}
.workrow .col2 {
    padding: 0;
}

.panel-sc {
    border: 1px solid #044973;
    max-width: 292px;
    margin-right: auto;
    margin-left: auto;
}
.panel-sc > .panel-heading {
    color: #FFFFFF;
    text-shadow: 1px 1px 2px rgba(22, 22, 22, 1);
    border-color: #044973;
    background: #044973;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzA0NDk3MyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDc3YmIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #044973 0%, #0077bb 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#044973), color-stop(100%,#0077bb)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #044973 0%,#0077bb 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #044973 0%,#0077bb 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #044973 0%,#0077bb 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #044973 0%,#0077bb 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#044973', endColorstr='#0077bb',GradientType=0 ); /* IE6-8 */
    text-align: center;
}
.panel-sc h3 {
    font-size: 16px;
    margin: 0;
}
.panel-sc > .panel-body {
    position: relative;
    padding: 0;
    text-align: center;
}
.panel-sc > .panel-body .fa {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    margin-top: -35px;
    margin-left: -35px;
    font-size: 70px;
    line-height: 1;
    color: transparent;
    text-align: center;
    -webkit-transition: color .3s ease-in-out;
         -o-transition: color .3s ease-in-out;
            transition: color .3s ease-in-out;
}
.panel-sc > .panel-body img {
    border-radius: 0 0 3px 3px;
}

a .panel-sc > .panel-body:after {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: transparent;
    border-radius: 0 0 3px 3px;
    filter: alpha(opacity=35);
    opacity: 0.35;
    content: ' ';
    -webkit-transition: background-color .3s ease-in-out;
         -o-transition: background-color .3s ease-in-out;
            transition: background-color .3s ease-in-out;
}
a:hover .panel-sc > .panel-body:after,
a:focus .panel-sc > .panel-body:after {
    background-color: #044973;
}
a:hover .panel-sc > .panel-body .fa,
a:focus .panel-sc > .panel-body .fa {
    color: #FFFFFF;
}

@media (max-width: 500px) {
    .workrow .col-xs-6 {
        display: block;
        float: none;
        width: auto;
    }
    .workrow .text-center {
        text-align: left;
    }
    .panel-sc {
        margin-right: 0;
        margin-left: 0;
    }
}

/*========================================*/
/* Modal */

.modal-header {
    color: #FFFFFF;
    text-shadow: 1px 1px 2px rgba(22, 22, 22, 1);
    border-color: #044973;
    background: #044973;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzA0NDk3MyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDc3YmIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #044973 0%, #0077bb 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#044973), color-stop(100%,#0077bb)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #044973 0%,#0077bb 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #044973 0%,#0077bb 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #044973 0%,#0077bb 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #044973 0%,#0077bb 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#044973', endColorstr='#0077bb',GradientType=0 ); /* IE6-8 */
    border-radius: 5px 5px 0 0;
}
.modal .close {
    font-size: 36px;
    color: #FFFFFF;
    text-shadow: 1px 1px 2px rgba(22, 22, 22, 1);
    filter: alpha(opacity=100);
    opacity: 100;
}
.modal .close:hover,
.modal .close:focus {
    color: #D6D6D6;
}
.modal .nav-pills,
.modal .nav-tabs {
    border-bottom: 2px solid #044973;
    padding-bottom: 5px;
    margin-bottom: 15px;
}
.modal h5 {
    display: inline-block;
    margin-top: 0;
    margin-right: 3px;
}
.modal .img-responsive {
    border: 1px solid #044973;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    margin: 0 auto;
}
.modal .list-unstyled li {
    margin-bottom: 5px;
}
@media (min-width: 768px) {
    .modal-dialog {
        width: 730px;
        margin: 30px auto;
    }
}

/*========================================*/
/* Tool Row */

.toolrow {
    text-align: center;
}
.toolrow > img,
.toolrow > a {
    display: inline-block;
    margin: 10px 10px 20px 10px;
}

.toolrow > img:first-child,
.toolrow > a:first-child {
    margin-left: 0;
}
.toolrow > img:last-child,
.toolrow > a:last-child {
    margin-right: 0;
}

/*========================================*/
/* Top Link */

.topLink {
}
.topLink a {
    display: inline-block;
    width: 42px;
    height: 41px;
    background-color: #044973;
    color: #FFFFFF;
    font-size: 18px;
    line-height: 1;
    font-weight: normal;
    padding: 10px 12px 12px 12px;
    border-radius: 10px 10px 0 0;
    filter: alpha(opacity=80);
    opacity: 0.80;
}
.topLink a:hover,
.topLink a:focus {
    filter: alpha(opacity=100);
    opacity: 1;
}
.topLink a .fa {
    filter: alpha(opacity=100);
    opacity: 1;
}
.topLink.affix-top,
.topLink.affix {
    position: fixed;
    bottom: 0;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
}
.topLink.affix-top {
    visibility: hidden;
}
.topLink.affix-bottom {
    position: absolute;
}

/*========================================*/
/* Footer */

.footer {
    border-top: 2px solid #044973;
    font-size: 12px;
    background-color: #EEEEEE;
    color: #5A5A5A;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 20px;
}
.footer p:last-child {
    margin-bottom: 0;
}
.btn-contact {
    font-family: 'Oswald', Helvetica, Arial, sans-serif;
    text-transform: uppercase;
}
.btn-contact .fa {
    position: relative;
    top: -0.135em;
    margin-right: 0.2em;
}

/*========================================*/
/* Responsive tabs */

.tabRepsonsive .tab-pane {
    outline: 0;
}

@media (min-width: 768px) {
    .tabRepsonsive h4 {
        display: none;
    }
    .tabRepsonsive div[data-cfw-collapse-target] {
        display: block;
        visibility: visible;
    }
}
@media (max-width: 767px) {
    .tabRepsonsive .nav-pills,
    .tabRepsonsive .nav-tabs {
        display: none;
    }
    .tabRepsonsive .tab-pane {
        display: block;
        visibility: visible;
    }
}

/*========================================*/
/* More Animations */

@-webkit-keyframes flipInXI {
  from {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -10deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 5deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 5deg);
  }

  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

@keyframes flipInXI {
  from {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -10deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 5deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 5deg);
  }

  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

.flipInXI {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInXI;
  animation-name: flipInXI;
}

/*========================================*/
/* Misc */

.hrule {
    border-top: 2px solid #044973;
    margin: 20px 0;
}
.lead {
    font-size: 21px;
}
.lead2 {
    font-size: 18px;
}
