/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
  color: #333;
  background-color: #fff;
  border: 1px solid #fff;
}

html{height:100%;background-color: #333;background-repeat:no-repeat;background-position:center right;background-attachment:fixed;}

body {height: 100%;color: #fff;background-color:transparent;}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%;
  -webkit-box-shadow: inset 0 0 100px rgba(0,0,0,.5);
          box-shadow: inset 0 0 100px rgba(0,0,0,.5);
}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

.inner {padding: 30px;  text-shadow: 0 1px 3px rgba(0,0,0,.5);}

.masthead-brand {
  margin-top: 10px;padding-left:20px;margin-bottom: 10px;
}

.masthead-nav > li {
  display: inline-block;
}
.masthead-nav > li + li {
  margin-left: 20px;
}
.masthead-nav > li > a {
  padding-right: 0;
  padding-left: 0;
  font-size: 16px;
  font-weight: bold;
  color: #fff; /* IE8 proofing */
  color: rgba(255,255,255,.75);
  border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
  background-color: transparent;
  border-bottom-color: #a9a9a9;
  border-bottom-color: rgba(255,255,255,.25);
}
.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
  color: #fff;
  border-bottom-color: #fff;
}

.cover {
  padding: 0 20px;
  margin-top:140px;
}
.cover .btn-lg {
  padding: 10px 20px;
  font-weight: bold;
}

.centered{text-align:center;}
.masthead,.anycont{position:absolute;top:0;left:0;width:100%;background-color: rgba(44,44,44,0.95);}

@media (min-width: 768px) {
  /* Pull out the header and footer */
  .masthead {
    position: fixed;
    top: 0;
  }
  .mastfoot {
    position: fixed;
    bottom: 0;
  }
  /* Handle the widths */
  .masthead,
  .mastfoot,
  .cover-container {width: 100%;}
}

.head_area{margin-left: auto;margin-right: auto;float:none;}

.tooltip-inner{max-width:250px;font-size:1.1em;}

@media (max-width: 768px) {
	.head_area{position: relative;top:180px !important;width:100%;}
	.input-group-addon{display:none;}
}

@media (max-width: 1023px) {
	.masthead-nav > li > a{border-bottom:none;}
	.masthead-nav > li{width:100%;border-bottom:solid 1px rgb(70,70,70);}
	.masthead-nav{margin-left:0px;margin-left: -2px;padding-left: 6px;padding-right:6px;padding-bottom: 8px;}
	.masthead-nav > li > a{font-size:12px;}
	.nav>li>a{padding:6px 0px;}
	.masthead-nav > li + li{margin-left:0px;width:100%;}
	.cover-heading{font-size:20px;font-weight:600;}
	.inner {padding: 10px 0px 10px 2px;}
	.masthead-brand {margin-top: 0px;margin-bottom: 4px;font-size:16px;font-weight:600;}
	.masthead-nav > .active > a, .masthead-nav > .active > a:hover, .masthead-nav > .active > a:focus{color:#65aaba;}
}

@media (min-width: 1024px) {
  .masthead-brand {float: left;}
  .masthead-nav {float: right;}
}

@media only screen and (min-device-width:320px) and (max-device-width:768px) {
	.anycont{position:relative;}
	.cover{margin-top:30px;}
}

@media only screen and (min-device-width:320px) and (max-device-width:1024px) {
    .head_area{
        top:0px !important;
       }
}


@media only screen and (min-device-width:320px) and (max-device-width:480px)
{
	.cover{margin-top:20px;}
}

@media only screen and (min-device-width:320px) and (max-device-width:480px) and (orientation:landscape) {
	.masthead-nav {float: none;}
	.masthead-nav > li{width:15%;}
	.masthead-nav > li + li{width:15%;}
	.cover{margin-top:20px;}
}
@media only screen and (min-device-width:320px) and (max-device-width:568px) and (orientation:landscape) {
	.masthead-nav {float: none;}
	.masthead-nav > li{width:15%;}
	.masthead-nav > li + li{width:15%;}
}
@media only screen and (min-device-width:414px) and (max-device-width:736px) and (orientation:landscape) {
	.masthead-nav {float: none;}
	.masthead-nav > li{width:15%;}
	.masthead-nav > li + li{width:15%;}
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1023px) and (orientation : landscape) {
	.masthead, .anycont{position:relative;}
	.head_area{position: relative;top:140px;max-width: 90%;}
	.masthead-nav {float: none;}
	.masthead-nav > li{width:15%;}
	.masthead-nav > li + li{width:15%;}
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1023px) and (orientation : portrait) {
	.masthead, .anycont{position:relative;}
	.input-group{width:100%;}
	.head_area{top:30px;max-width: 80%;}
	.masthead-nav {float: none;}
	.masthead-nav > li{width:15%;}
	.masthead-nav > li + li{width:15%;}
}
