/* Awesome Template
   http://www.templatemo.com/preview/templatemo_450_awesome
*/

body {
    background: #303030;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    overflow-x: hidden; /* prevent horizontal scrollbar from appearing */
}

a {
    color: #47C6F8;
}

a:hover {
    color: #0FF;
}

/* --- h2 --- */
h2 {
    text-align: center;
    font-size: 40px;
    padding-bottom: 40px;
}

h2 span {
    color: #28a7e9;
    font-weight: bold;
}

/* --- sections --- */
#about, #team, #service, #portfolio, #contact {
    padding-top: 60px;
    padding-bottom: 40px;
}

/* --- preloader --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background: #ffffff;
}

.sk-spinner-wave.sk-spinner {
    width: 50px;
    height: 30px;
    text-align: center;
    font-size: 10px;
}

.sk-spinner-wave div {
    height: 100%;
    width: 6px;
    display: inline-block;
    animation: sk-waveStretchDelay 1.2s infinite ease-in-out;
}

.sk-spinner-wave .sk-rect2 { animation-delay: -1.1s; }
.sk-spinner-wave .sk-rect3 { animation-delay: -1s; }
.sk-spinner-wave .sk-rect4 { animation-delay: -0.9s; }
.sk-spinner-wave .sk-rect5 { animation-delay: -0.8s; }

@keyframes sk-waveStretchDelay {
    0%, 40%, 100% { transform: scaleY(0.4); }
    20% { transform: scaleY(1); }
}

/* --- header --- */
header {
    min-height: 20px;
    padding: 18px 0 10px 0;
}

header .fa {
    color: #28a7e9;
}

header span {
    font-weight: bold;
    padding: 0 10px 0 4px;
}

header a {
    color: #999;
    font-weight: 600;
}

header .social-icon {
    text-align: right;
}

header .social-icon li a {
    border: none;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
}

/* --- navigation --- */
.navbar-default {
    border: none;
    box-shadow: none;
    margin: 0 !important;
}

.navbar-default .navbar-brand {
    font-weight: 500;
    font-size: 30px;
    height: 70px;
    line-height: 40px;
    padding: 12px 0 0 12px;
}

.navbar-default .navbar-nav li a {
    font-weight: bold;
    font-size: 13px;
    height: 70px;
    line-height: 40px;
}

.navbar-default .navbar-nav > li > a.current {
    color: #28A7E9;
}

.templatemo-nav {
    border-radius: 0;
    width: 100%;
    z-index: 1000;
}

.sticky {
    position: fixed;
    left: 0;
    top: 0;
}

/* --- home --- */
#home {
    background: url('../images/Websitemainbackground.jpg') no-repeat;
    background-size: cover;
    padding: 160px 0 100px 0;
    min-height: 650px;
}

#home h1 {
    font-weight: 300;
    font-size: 70px;
    padding-bottom: 10px;
}

#home h1 span {
    color: #28a7e9;
    font-weight: bold;
}

#home .btn {
    background: transparent;
    border-radius: 2px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    width: 180px;
    height: 60px;
    padding-top: 18px;
    transition: all 0.4s ease-in-out;
}

#home .btn:hover {
    background: #28a7e9;
    border-color: transparent;
}

.element {
    height: 60px;
    font-size: 16px;
}

/* --- about --- */
#about .media-heading-wrapper {
    padding-bottom: 32px;
}

#about .media-heading-wrapper .fa {
    border: 1px solid #fff;
    border-radius: 2px;
    color: #fff;
    font-size: 24px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    margin-bottom: 20px;
    margin-right: 20px;
}

#about .media-heading-wrapper h3 {
    font-size: 18px;
    font-weight: bold;
    padding-top: 20px;
    padding-left: 52px;
}

/* --- team --- */
#team .team-wrapper {
    background: #404040;
    padding-bottom: 10px;
    transition: all 0.4s ease-in-out;
    position: relative;
}

#team .team-wrapper:hover {
    cursor: pointer;
    opacity: 0.4;
    bottom: 4px;
}

#team .team-wrapper .team-des {
    padding: 20px;
}

#team .team-wrapper .team-des span {
    color: #28a7e9;
    display: block;
    font-weight: bold;
    padding-bottom: 12px;
}

/* --- service --- */
#service .col-md-4 {
    padding: 40px;
    transition: all 0.4s ease-in-out;
}

#service .col-md-4:hover,
#service .active {
    background: #505050;
}

#service .fa {
    border: 1px solid #fff;
    border-radius: 2px;
    color: #fff;
    font-size: 50px;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
}

#service h4 {
    color: #28a7e9;
    font-weight: 600;
    padding: 10px 0 14px;
}

/* --- portfolio --- */
#portfolio {
    padding-bottom: 80px;
}

#portfolio .col-md-3 { padding: 0; }

.portfolio-thumb, .portfolio-overlay { max-width: 450px; }

#portfolio .portfolio-thumb {
    overflow: hidden;
    padding: 0;
    margin: 0 auto;
}

#portfolio .portfolio-thumb .portfolio-overlay {
    background: #28a7e9;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    padding: 20px 10px 20px 20px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.4s ease-in-out;
}

#portfolio .portfolio-thumb .portfolio-overlay h4 {
    font-weight: bold;
    padding-bottom: 10px;
}

#portfolio .portfolio-thumb .portfolio-overlay .btn {
    background: none;
    border: 1px solid #fff;
    border-radius: 2px;
    color: #fff;
    font-weight: bold;
}

#portfolio .portfolio-thumb:hover .portfolio-overlay {
    cursor: pointer;
    opacity: 0.8;
}

/* --- contact --- */
#contact {
    background: #202020;
}

#contact .form-control {
    background: transparent;
    border: 1px solid #28a7e9;
    border-radius: 2px;
    box-shadow: none;
    color: #fff;
    margin: 6px 0 16px;
}

#contact label { font-weight: 500; }

#contact input { height: 50px; }

#contact input[type="submit"] {
    background: #28a7e9;
    font-weight: bold;
    transition: all 0.4s ease-in-out;
}

#contact input[type="submit"]:hover { background: transparent; }

#contact address {
    border-bottom: 1px solid #505050;
    padding-top: 30px;
}

#contact address .address-title {
    font-weight: bold;
    font-size: 20px;
    padding-bottom: 10px;
}

#contact address span { display: block; padding-bottom: 30px; }

#contact address .fa {
    border: 1px solid #fff;
    border-radius: 2px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin-right: 10px;
    margin-bottom: 10px;
}

/* --- copyright --- */
#copyright { padding: 20px; }
#copyright p { font-weight: 400; }

/* --- social icon --- */
.social-icon {
    position: relative;
    padding: 0;
    margin: 0;
}

.social-icon h4 { display: inline-block; padding-right: 20px; }

.social-icon li {
    display: inline-block;
    list-style: none;
}

.social-icon li a {
    border: 1px solid #fff;
    border-radius: 2px;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
    margin-right: 10px;
}

.social-icon li a:hover { background: #28a7e9; border-color: transparent; }

/* --- media queries --- */
@media only screen and (max-width: 1199px) and (min-width: 992px) {
    #portfolio .portfolio-thumb .portfolio-overlay { padding: 0 8px; }
}

@media only screen and (max-width: 980px) {
    #team .team-wrapper { margin-top: 40px; }
    #portfolio .portfolio-thumb .portfolio-overlay {
        padding: 40px 10px 20px 20px;
    }
}

@media only screen and (max-width: 767px) {
    #home { min-height: 300px; padding: 80px 0 60px; }
    #home h1 { font-size: 52px; }
    .templatemo-nav { position: fixed; top: 0; }
    header { margin-top: 70px; }
    header .social-icon { text-align: left; }
    .navbar-toggle { margin-top: 15px; }
    .navbar-collapse { max-height: 300px; overflow-y: auto; }
    .navbar-default .navbar-nav li a { height: 45px; padding: 5px 0; line-height: 35px; }
}

@media only screen and (max-width: 360px) {
    header .social-icon { text-align: left; }
    #home { min-height: 200px; padding: 60px 0 40px; }
    #home h1 { font-size: 32px; }
}
