/*!
 * Start Bootstrap - Stylish Portfolio Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

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

body {
    font-family: "Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;
}

.bg-dark {
    background-color: #111;
}

.text-vertical-center {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.text-vertical-center h1 {
    margin: 0;
    padding: 0;
    font-size: 4.5em;
    font-weight: 700;
}

/* Custom Button Styles */

.btn-dark {
    border-radius: 0;
    color: #fff;
    background-color: rgba(0,0,0,0.4);
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
    color: #fff;
    background-color: rgba(0,0,0,0.7);
}

.btn-red {
    border-radius: 0;
    color: #fff;
    background-color: rgba(255, 0, 0, 0.7);
}

.btn-red:hover,
.btn-red:focus,
.btn-red:active {
    color: #fff;
    background-color: rgba(150, 0, 0, 0.7);
}

.btn-light {
    border-radius: 0;
    color: #333;
    background-color: rgb(255,255,255);
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
    color: #333;
    background-color: rgba(255,255,255,0.8);
}

/* Form Dark */

.form-dark {
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.7);
    color: #000;
}

.form-dark::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #666;
}
.form-dark::-moz-placeholder { /* Firefox 19+ */
  color: #666;
}
.form-dark:-ms-input-placeholder { /* IE 10+ */
  color: #666;
}
.form-dark:-moz-placeholder { /* Firefox 18- */
  color: #666;
}

/* Custom Horizontal Rule */

hr.small {
    max-width: 100px;
}

/* Side Menu */

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    right: 0;
    width: 250px;
    height: 100%;
    margin-right: -250px;
    overflow-y: auto;
    background: #222;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    text-indent: 20px;
    line-height: 40px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #999;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 55px;
    font-size: 18px;
    line-height: 55px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

#menu-toggle {
    z-index: 1;
    position: fixed;
    top: 0;
    right: 0;
}

#sidebar-wrapper.active {
    right: 250px;
    width: 250px;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.toggle {
    margin: 5px 5px 0 0;
}

/* Header */

.header {
    display: table;
    position: relative;
    width: 100%;
    height: 100%;
    background: url(../img/main_bg_1.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    overflow:hidden;
}

#video-wrapper video {
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    z-index: 0;
}

.header-wrap {
    position: absolute;
    z-index: 1;
    bottom: 10%;
    width: 100%;
    display: none;
}

.header-logo-wrap {
    position: absolute;
    z-index: 1;
    top: 10%;
    width: 100%;
}

@media screen and (min-height: 590px) {
    .header-wrap {
        display: block;
    }
}

.header-logo {
    margin-left: auto;
    margin-right: auto;
}

.header h1 {
    color: #fff;
}

/* About */

.about {
    padding: 50px 0;
    background: url(../img/12_bg.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    color: #fff;
    position: relative;
}

/* Services */

.classes {
    padding: 50px 0;
    color: #fff;
    background: url(../img/classes_bg.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.classes-item {
    margin-bottom: 30px;
}

/* Callout */

.online-war {
    display: table;
    width: 100%;
    height: 200px;
    color: #fff;
    background: url(../img/19_bg.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

/* Online War Details */

.online-war-details {
    padding: 50px 0;
    background: url(../img/01_bg.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    color: #fff;
}

.online-flow-number {
    background-color: #000;
    padding: 10px;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    border: 1px solid #fff;
}

.online-war-item {
    padding: 20px;
}

.online-war-item img{
    margin-left: auto;
    margin-right: auto;
}

/* Q&A */

.faq {
    padding: 50px 0;
    background: url(../img/01_bg.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    color: #fff;    
}

.faq dt {
    font-size: 1.3em;
}

.faq dd {
    margin-bottom: 20px;
}

/* Portfolio */

.screenshots {
    padding: 50px 0;
    background: url(../img/01_bg.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    color: #fff;
}

.screenshots-item {
    margin-bottom: 30px;
}

.img-screenshots {
    margin: 0 auto;
}

.img-screenshots:hover {
    opacity: 0.8;
}

/* Call to Action */

.call-to-action {
    padding: 50px 0;
}

.call-to-action .btn {
    margin: 10px;
}

/* Map */

.map {
    height: 500px;
}

@media(max-width:768px) {
    .map {
        height: 75%;
    }
}

/* Footer */

footer {
    padding: 50px 0;
    background-color: #222;
}

footer .logo-container {
    margin-bottom: 20px;
}

footer .logo-container img {
    margin: 20px 20px;
}

footer .footer-social li a {
    color: #fff;
}

footer .footer-social li a:hover {
    color: #337ab7;
}


.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  border: 1px solid #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: url(../img/pagetop.png) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.no-touch .cd-top:hover {
  background-color: #e86256;
  opacity: 1;
}
@media only screen and (min-width: 768px) {
  .cd-top {
    right: 20px;
    bottom: 20px;
  }
}
@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 86px;
    width: 86px;
    right: 30px;
    bottom: 30px;
    border: 0;
  }
}
