html,
body {
    width: 100%;
    height: 100%;
}
body {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #fff;
}
body#whitebackground{
    background: #fff;
}
section.copywrite{
    color: #000033;
    border-top: 1px solid #000066;
    padding-top:10px;
    padding-bottom: 0;
    background-color: #fff;
    font-size: 14px;
}
section.copywrite p{
    font-size: 14px;
    color: #000033;
}
section.copywrite a{
    color: #000033;
    font-weight: 600;
}
.stickbottom{
    position: absolute;
    bottom: 0;
    width: 100%;
}
.spaceabove{
    padding-top: 30px;
}
.bigspaceabove{
    padding-top: 100px;
}
.spaceunder{
    padding-bottom: 10px;
}
.bigspaceunder{
    padding-bottom: 100px;
}

h3{
    text-transform: uppercase;
    font-style: italic;
    font-weight: bold;
    font-size: 56px;
}
/*----------------------------------------------------------------------------*/
/*Navigation bar*/
.navbar-default {
    height: 50px;
    background-color: #fff;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, sans-serif;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
    border-bottom: 1px solid #000066;
    z-index: 100000;
}
.navbar-brand {
    padding-top: 0;
    font-weight: 700;
}
.navbar-default .nav > li>a,
.navbar-default .nav>li>a:focus {
    color:#000066;
    font-size: 16px;
    font-weight: 700;
    padding-bottom: 0px;
}
.navbar-default .nav > li{
    min-width: 100px;
    text-align: center;
    background-color: #fff;
}
.navbar-default .nav > li>a:hover,
.navbar-default .nav>li>a:focus:hover {
    color: #000066;
    border-bottom: 3px solid #000066;
    padding-bottom: 12px;
    background-color: transparent;
}
.navbar-default .nav > li.active>a,
.navbar-default .nav>li.active>a:focus {
    color: #000066;
    border-bottom: 3px solid #000066;
    padding-bottom: 12px;
    background-color: transparent;
}
.navbar-default .nav > li.active>a:hover,
.navbar-default .nav>li.active>a:focus:hover {
    color: #000066;
    border-bottom: 3px solid #000066;
    padding-bottom: 12px;
    background-color: transparent;
}
.navbar-default .navbar-toggle,
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus
{
    font-size: 24px;
    padding: 0;
    margin-bottom: 0;
    border: none;
    color:#000066;
    background-color: transparent;
}
#brand{
    color: #000066;
    font-size: 25px!important;
    font-style: italic;
    padding-top: 15px;
}
.navbar-nav{
    margin-top: 0;
}
/*----------------------------------------------------------------------------*/
/*General*/
.backColor {
    background-color: #fff;
    color: #000033;
}
a {
    color: #fff;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}
a:hover,
a:focus {
    color: #428aa5;
    border: none;
    text-decoration: none;
}
h1,
h2 {
    font-style: italic;
    font-weight: 700;
}
h1 {

    font-size: 28px!important;
}
.drop{
    text-shadow: 0.5px 0.5px 0.5px #000;
}
section {
    padding: 30px 0;
}
section#gallery{
    padding-bottom: 0;
    padding-top: 0;
    margin-bottom: 50px;
}
.icons {
    max-width: 100px;
}
.socialIcons {
    max-width: 40px;
    margin-right: 10px;
}
@font-face {
  font-family: Socialglyphs;
  font-family: "Socialglyphs";
  src: url(../fonts/socialglyphs-regular.svg#socialglyphs-regular) format("svg"),
    url(../fonts/socialglyphs-regular.ttf) format("truetype"),    
    url(../fonts/socialglyphs-regular.woff) format("woff"),
    url(../fonts/socialglyphs-regular.eot);
}
h4{
    font-family: "Socialglyphs", sans-serif;
    margin-left:auto;
    margin-right:auto;
    height:auto;
    font-size:26px;
    color: #000033;
    width: auto;
    display: inline;
    padding-right: 10px;
}
div.nopadding{
    padding: 0;
}
h1#heading{
    font-size: 90px!important;
    padding-bottom: 0;
    margin-bottom: 0;
    text-align: right;
}
h2#heading{
    font-size: 60px!important;
    font-weight: 400;
    padding-top: 0;
    margin-top: 0;
    text-align: right;
}
#coverimg{
    margin-top: 50px;
    margin-bottom: 50px;
}
i.glyphicon{
    padding-right: 10px;
    padding-top: 5px;
}
section#services{
    padding-bottom: 50px;
}
#notfound p, #notfound h1{
    color: #000033;
}
.bottomS {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 0;
    padding-bottom: 25px;
}

/*----------------------------------------------------------------------------*/
/*Forms*/
form {
    width: 100%;
    padding-top: 10px;
}
label {
    font-weight: lighter;
    width: 100%;
    padding-top: 10px;
}
.form-control{
    border-radius: 0px;
    border: 1px solid #000066;
}
input.bttn {
    background-color: #000033;
    border: none;
    color: #fff;
}
/*----------------------------------------------------------------------------*/
/*Gallery with captions and fading*/
img{
    max-width: 100%;
}
.portfolio-box {
    display: block;
    position: relative;
    margin: 0 auto;
}
.portfolio-box .portfolio-box-caption {
    text-align: center;
    color: #000033;
    background: rgba(255, 255, 255, .7);
    opacity: 0;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    font-size: 32px;
}
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}
.portfolio-box:hover .portfolio-box-caption {
    opacity: 1;
}
#portfolio img {
    width: 100%;
}
.container-fluid {
    margin-right: 0;
    padding-right: 0;
}
.no-gutter > [class*=col-] {
    padding-right: 0;
    padding-left: 0;
}
/*----------------------------------------------------------------------------*/
/*Gallery page*/
.thumbnail{
    border:none;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
}
#myModal .thumbnail{
    margin-bottom: 0;
}
.modal-content{
    border-radius: 0;
    color:#000033;
}
.modal-header{
    padding-top: 10px;
    padding-right: 15px;
    padding-bottom: 20px;
    border: none;
}
.modal-header .close{
    color:#000033;
    font-size: 30px;
}
.modal-footer{
    text-align: center;
    border:none;
    padding-top: 0;
}
.imagesize{
    height: 220px;
    overflow: hidden;
    margin-bottom: 10px;
}
.imagesize img{
    width: 100%;
}
#content h1{
    margin-top: 0;
}
section#content{
    padding-bottom: 20px;
    padding-top: 0;
}
@media(min-width:768px) {
    .imagesize{
        height: 180px;
    }
}
@media only screen and (max-width : 768px) {
    .imgContainer{
        width: 30%!important;
    }
}
@media only screen and (max-width : 650px) {
    .imgContainer{
        width: 45%!important;
    }
}
@media only screen and (max-width : 992px) {
    .imgContainer{
        width: 23%!important;
        height: 100px!important;
    }
}
@media only screen and (max-width : 550px) {
    .imgContainer{
        width: 44%!important;
        height: 100px!important;
    }
}
/*----------------------------------------------------------------------------*/
@media print{
    nav {display:none;}
}
/*----------------------------------------------------------------------------*/
/*-- Basic forms --*/
label{
    padding-top: 10px;
}
input, textarea{
    border: solid 1px #000; //Change;
    background-color: #fff;
    color:#000066; //Change;
    padding: 7px 15px;
    width: 100%;
    font-size: 18px;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */ color: #000066; }
::-moz-placeholder { /* Firefox 19+ */ color: #000066; }
:-ms-input-placeholder { /* IE 10+ */ color: #000066; }
:-moz-placeholder { /* Firefox 18- */ color: #000066; }
input{
    height: 50px; //Change;
}
input.button {
    background-color: #000066; //Change;
    color: #fff; //Change;
    margin-top: 10px;
    height: 50px;
    padding: 0;
}
input.button:hover{
    border: 4px solid #000066; //Change;
    background-color: #fff; //Change;
    color:#000066; //Change;
}
/*-- Form validation --*/
.bt-flabels input[type] {
  position: relative;
  z-index: 1;
  //-webkit-transition: background 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), border-color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  //transition: background 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), border-color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
input:hover, textarea:hover ,input:focus, textarea:focus{
    border: 2px solid #000066;
}
.bt-flabels input:focus ,.bt-flabels textarea:focus{
    //background: #f0f0f0; //Change - if you click on an input, textarea;
}
.bt-flabels input[type=submit]:focus{
    background: #000066; //Change - if you click on submit input;
    color: #fff;
}
.bt-flabels label {
  pointer-events: none;
  position: absolute; //No label;
  opacity: 0; //No label;
  top: 0; //No label;
  -webkit-transform: translateY(15%);
  transform: translateY(15%);
  z-index: 2;
  color: #000; //Change;
  -webkit-transition: opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.bt-flabels__wrapper {
  position: relative;
  margin-bottom: 10px;
}
.captchaquestion p{
    padding-top: 10px;
}
.captchaquestion{
    margin-bottom: 20px;
}
    /* Error styles */
.bt-flabels__error-desc {
  position: absolute;
  top: 10px; //No label;
  //top: 45px; //Label;
  right: 6px;
  opacity: 0;
  font-weight: bold;
  color: #f44545; //Change;
  font-size: 10px;
  text-transform: uppercase;
  z-index: 3;
  pointer-events: none;
}
.bt-flabels__error input[type], .bt-flabels__error textarea {
  background: rgba(254,238,238,.4); //Change;
}
.bt-flabels__error input[type]:focus, .bt-flabels__error textarea:focus {
  background: #feeeee; //Change;
}
.bt-flabels__error .bt-flabels__error-desc {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
.bt-flabels--right {
  border-left: none;
}
.bt-flabel__float label {
  opacity: 0; //No label;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
.bt-flabel__float input[type] {
  padding-top: 9px;
}
.captchaquestion .bt-flabels__error-desc{
    top:32px;
    left:0;
}
#verdict{
    padding: 10px;
    margin-top: 15px;
    //border-left: 5px solid #000; //Change;
    display: none;
    color: #000033; //Change;
}
p#verdictp {
    margin-bottom: 0;
    line-height: 21px;
}
button#resetForm{
    width: 100%;
    height: 40px;
    background-color: transparent; //Change;
    border: none;
    margin-top: 10px;
    font-size: 30px; //Change;
    color:#fff; //Change;
}
button#resetForm:hover{
    color:#183818; //Change;
}
/*-- /Form validation --*/

.carousel-fade .carousel-inner .item {
  opacity: 1;
  -webkit-transition: opacity 3s ease-in;
  -moz-transition: opacity 3s ease-in;
  -o-transition: opacity 3s ease-in;
  transition: opacity 3s ease-in;
}
.carousel-fade .carousel-inner .active {
  opacity: 1;
}
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}
.carousel-fade .carousel-control {
  z-index: 2;
}
.carousel-indicators{
    bottom:5px;
    z-index: 1000000;
}
.carousel{
    max-height: 100%;
    overflow: hidden;
}
.carousel-caption{
    top: 0;
    left: 0;
    width: 100%;
}


.animation1{
    transform-origin: 50% 100%;
    animation-duration: .5s;
    animation-name: fadeAndScale1;
    animation-timing-function: cubic-bezier(.71,.55,.62,1.57);
}
.animation2{
    transform-origin: 50% 100%;
    animation-duration: 1.5s;
    animation-name: fadelate;
    animation-timing-function: cubic-bezier(.71,.55,.62,1.57);
}
.animation3{
    transform-origin: 50% 100%;
    animation-duration: .5s;
    animation-name: fadeAndScale2;
    animation-timing-function: cubic-bezier(.71,.55,.62,1.57);
}
.animation4{
    transform-origin: 50% 100%;
    animation-duration: 3s;
    animation-name: colorin;
    animation-timing-function: cubic-bezier(.71,.55,.62,1.57);
}
.animation5{
    transform-origin: 50% 100%;
    animation-duration: 5s;
    animation-name: fadelate;
    animation-timing-function: cubic-bezier(.71,.55,.62,1.57);
}
@keyframes fadeAndScale1 {
    0% {
        opacity:0
    }
    25% {
        opacity: 0;
        transform: scale(.5, .5);
    }
    75% {
        opacity: 1;
        transform: scale(1, 1);
    }
}
@keyframes fadeAndScale2 {
    0% {
        opacity:0
    }
    75% {
        opacity: 0;
        transform: scale(1.5, 1.5);
    }
    100% {
        opacity: 1;
        transform: scale(1, 1);
    }
}
@keyframes fadelate {
    0% {
        opacity:0;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity:1;
    }
}
@keyframes colorin {
    0% {
        opacity:0;
        background-color:transparent;
    }
    25% {
        opacity:0;
        background-color:transparent;
    }
    50% {
        opacity:1;
        background-color:transparent;
        color:#e08503;
    }
    75% {
        background-color:#e08503;
        color:#fff;
    }
    100% {
        background-color:transparent;
        color:#e08503;
    }
}


.contactlink{
    display: block;
    color: #000033;
    //font-size: 14px;
}
.contactlink:hover{
    display: block;
    color: #000033;
    //font-size: 14px;
    font-weight: bold;
}

a.button {
    background-color: #000066; //Change;
    color: #fff; //Change;
    margin-top: 20px;
    height: 50px;
    width: 100%;
    display: block;
    padding-top:10px;
    text-align: center;
}
a.button:hover{
    border: 4px solid #000066; //Change;
    background-color: #fff; //Change;
    color:#000066; //Change;
    padding-top: 6px;
}
a.button:focus{
    background-color: #000066; //Change;
    color:#fff; //Change;
}
/*
a.fancybox{
    overflow: hidden;
    display: block;
    width: 100%;
    height: 150px;
}*/

.fancybox-opened , .fancybox-wrap {
    z-index: 1000000000!important;
}
.gallerypadding{
    padding:10px!important;
}

iframe{
    width: 100%!important;
}
.fb-page span{
    width: 100%!important;
}
._2p3a{
    max-width: 100%!important;
}

.galleryWrap {
    padding: 0 0 30px;
}

.imgContainer {
  width: 23.9%;
  height: 150px;
  overflow: hidden;
  text-align: center;
  margin: 10px 5px 10px 5px;
  float: left;
  display: block;
}

#galleryTab h2{
    color: #000066;
    padding-top: 5px;
}