/*****************************************************************************
 *                                                                          **
 *  Purpose of documents: Create a consistent layout accross website        **
 *  Document type: Cascaded Style Sheet                                     **
 *  Created: 26/4/15                                                        **
 *  Last modified: N/A                                                      **
 *  Reason for modifacation: N/A                                            **
 *                                                                          **
 ******************************************************************************/

/********************
 *Bootstrap Overide**
*********************/

.navbar,
.navbar-default,
nav,
.nav {
    z-index: 999;
}

.navbar {
    border-radius: 0px !important;
    border-color: #000000;
    margin-bottom: 0px !important;
    font-family: 'Open Sans', sans-serif;
    /*background-color: rgba(0, 0, 0, 0.3);*/
    background-color: transparent;
    border: none;
}

.navbar-right {
    margin-right: -30px;
}

@media (min-width: 521px) {
    .navbar-brand {
        height: 100px !important;
        font-size: 22pt !important;
        padding: 40px 10px !important;
        margin-left: 0px !important;
    }

    .navbar-brand img {
        height: auto;
        max-height: 100px;
        max-width: 100%;
        margin: auto;
        padding: 5px !important;
    }
}

@media (max-width: 520px) {
    .navbar-brand {
        height: 100px !important;
        font-size: 22pt !important;
        padding: 40px 10px !important;
        margin-left: 0px !important;
    }

    .navbar-brand img {
        height: auto;
        max-width: 100%;
        max-height: 100px;
        margin: auto;
        padding: 5px !important;
    }
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
    color: #ffffff;
    -ms-transition:color .4s ease-out, background .3s ease-in;
    -moz-transition:color .4s ease-out, background .3s ease-in;
    -webkit-transition:color .4s ease-out, background .3s ease-in;
    /* ...and now override with proper CSS property */
    transition:color .4s ease-out, background .3s ease-in;
}

.navbar-default .navbar-brand {
    color: #FFD700;
    -ms-transition:color .4s ease-out, background .3s ease-in;
    -moz-transition:color .4s ease-out, background .3s ease-in;
    -webkit-transition:color .4s ease-out, background .3s ease-in;
    /* ...and now override with proper CSS property */
    transition:color .4s ease-out, background .3s ease-in;
}

.dropdown-menu {
    background-color: #000;
}

.dropdown-menu > li > a {
    padding: 15px;
    font-size: 14pt;
    color: #FFD700;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    color: #ffffff;
    text-decoration: none;
}

.navbar-default .navbar-nav > li > a {
    color: #FFD700;
    -ms-transition:color .4s ease-out, background .3s ease-in;
    -moz-transition:color .4s ease-out, background .3s ease-in;
    -webkit-transition:color .4s ease-out, background .3s ease-in;
    /* ...and now override with proper CSS property */
    transition:color .4s ease-out, background .3s ease-in;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #ffffff;
    -ms-transition:color .4s ease-out, background .3s ease-in;
    -moz-transition:color .4s ease-out, background .3s ease-in;
    -webkit-transition:color .4s ease-out, background .3s ease-in;
    /* ...and now override with proper CSS property */
    transition:color .4s ease-out, background .3s ease-in;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #ffffff;
}

.navbar-default .navbar-nav > .disabled > a,
.navbar-default .navbar-nav > .disabled > a:hover,
.navbar-default .navbar-nav > .disabled > a:focus {
    color: #fff;
    background-color: transparent;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
    color: #FFD700;
}

.navbar-toggle {
    margin-top: 33px !important;
}

@media (min-width: 768px) {
    .navbar-nav > li > a {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .nav > li > a {
        padding-left: 30px !important;
        padding-right: 30px !important;
        font-size: 18pt !important;
    }
}

@media(max-width: 767px) {
    .nav > li > a {
        padding-left: 10px !important;
        padding-right: 0px !important;
        font-size: 18pt !important;
    }

    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #FFD700;
    }

    .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #000000;
    }
}

/********************
 *Form specific CSS**
*********************/

.form-control {
    padding: .9375em;
    width: 100%;
    height: 44px !important;
    line-height: 1;
    padding-top: 10px\0/IE9!important;
}

.control-label {
    font-size: 14pt;
}

label.control-label {
    text-align: right !important;
    float: left !important;
}

textarea.form-control {
    height: auto !important;
}

.btn-submit {
    color: #04B404;
    background-color: #ffffff;
    border-color: #04B404;
    font-size: 16pt;
    right: 0px;
    display: block;
    float: left;
    padding-right:
}

.btn-submit:hover,
.btn-submit:focus,
.btn-submit:active,
.open .dropdown-toggle.btn-submit {
    color: #ffffff;
    background-color: #04B404;
    border-color: #04B404;
    font-size: 16pt;
    right: 0px;
    display: block;
    float: left;
}

.form-container-outer {
    display: table;
    height: 100%;
    width: 100%;
}

.form-container {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    position: relative;
    padding: 0 4px;
}

/*************
 *Global CSS**
**************/

html {
    -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 2s; /* Firefox < 16 */
    -ms-animation: fadein 2s; /* Internet Explorer */
    -o-animation: fadein 2s; /* Opera < 12.1 */
    animation: fadein 2s;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    text-align: left;
    background-color: #ffffff;
    color: #000000;
    font-weight: normal;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100%;
    font-family: 'Open Sans', sans-serif;
}

img {
    max-width: 100%;
}

@media (min-width: 371px) {
    section#main {
        float: left;
        position: relative;
        width: 100%;
        padding-bottom: 206px;
    }
}

@media (max-width: 370px) {
    section#main {
        float: left;
        position: relative;
        width: 100%;
        padding-bottom: 226px;
    }
}

#container {
    overflow-x: hidden;
    position: relative;
    margin: 0 auto;
    height: auto !important;
    min-height: 100%;
    height: 100%;
}

.clear:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.navbar {
    margin-bottom: 0px !important;
    border-width: 0 0 1px 0;
    border-color: #000;
}

/*************
 *Header CSS**
**************/

header {

}

/*************
 *Footer CSS**
**************/

footer {
    bottom: 0;
    position: absolute;
    background-color: #000000;
    color: #ffffff;
    width: 100%;
    padding-top: 10px;
    display: block;
}

footer a {
    color: #D8D8D8;
    text-decoration: none;
    -ms-transition:color .4s ease-out, background .3s ease-in;
    -moz-transition:color .4s ease-out, background .3s ease-in;
    -webkit-transition:color .4s ease-out, background .3s ease-in;
}

footer a:hover {
    text-decoration: none;
    -ms-transition:color .4s ease-out, background .3s ease-in;
    -moz-transition:color .4s ease-out, background .3s ease-in;
    -webkit-transition:color .4s ease-out, background .3s ease-in;
}

footer .fa {
    font-size: 42pt;
}

footer .fa-envelope-o,
footer .fa-twitter,
footer .fa-linkedin {
    color: #FFD700;
    -ms-transition:color .4s ease-out, background .3s ease-in;
    -moz-transition:color .4s ease-out, background .3s ease-in;
    -webkit-transition:color .4s ease-out, background .3s ease-in;
}

footer .fa-envelope-o:hover,
footer .fa-twitter:hover,
footer .fa-linkedin:hover {
    color: #ffffff;
    -ms-transition:color .4s ease-out, background .3s ease-in;
    -moz-transition:color .4s ease-out, background .3s ease-in;
    -webkit-transition:color .4s ease-out, background .3s ease-in;
}

footer .fa-twitter {
    color: #4099FF;
}

footer .fa-envelope-o {
    color: #FFD700;
}
footer .fa-linkedin {
    color: #007bb6;
}

#footerLegal {
    width: 100%;
    position: relative;
    padding: 20px 0 10px 0;
    text-align: center;
}

.social-footer {
    padding: 40px 10px;
    position: relative;
    width: 100%;
    font-size: 13pt;
    color: #ffffff;
    text-align: center;
}

/********************
 *Index Section CSS**
 ********************/

#splash-index {
    background: url('/images/P9104469.jpg') no-repeat top center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100vh;
}

@media (min-width: 1200px) {
    #splash-index {
        background-attachment: fixed;
    }
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100vh;
    z-index: 2;
    background-color: #080d15;
    opacity: .5;
}

.splash-text-container-outer {
    display: table;
    height: 100%;
    width: 100%;
    margin-top: -100px;
    /*padding-top: 100px;*/
    float: left;
}

.splash-text-container {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    color: #ffffff;
    z-index: 99;
    position: relative;
    padding: 0 10px;
}

.splash-text-container a {
    color: #FFD700;
    text-decoration: none;
    -ms-transition:color .4s ease-out, background .3s ease-in;
    -moz-transition:color .4s ease-out, background .3s ease-in;
    -webkit-transition:color .4s ease-out, background .3s ease-in;
}

.splash-text-container a:hover {
    color: #ffffff;
    text-decoration: none;
    -ms-transition:color .4s ease-out, background .3s ease-in;
    -moz-transition:color .4s ease-out, background .3s ease-in;
    -webkit-transition:color .4s ease-out, background .3s ease-in;
}

.splash-text-container p.main-message {
    display: block;
}

.splash-text-container p.sub-message {
    display: block;
}

@media(min-width: 1200px) {
    .splash-text-container p.main-message {
        font-size: 80pt;
    }

    .splash-text-container p.sub-message {
        font-size: 26pt;
    }
}

@media(max-width: 1199px) {
    .splash-text-container p.main-message {
        font-size: 30pt;
    }

    .splash-text-container p.sub-message {
        font-size: 12pt;
    }
}

/*****************
 **Portfolio CSS**
 *****************/

#splash-portfolio {
    padding-bottom: 80px;
    border-bottom: solid 1px #000000;
    background-color: #DFDFDF;
}

#splash-portfolio p.title {
    color: #000000;
    text-align: center;
}

@media(max-width: 767px) {
    #splash-portfolio p.title {
        font-size: 30pt;
        padding: 30px 10px;
    }
}

@media(min-width: 768px) {
    #splash-portfolio p.title {
        font-size: 44pt;
        padding: 50px 10px;
    }
}

/***************
 **Contact CSS**
 ***************/

iframe.google-map {
    margin: 0;
    border: 0;
    width: 100%;
}

#splash-contact {
    width: 100%;
    position: relative;
    background-color: #ffffff;
}

#form {
    text-align: center;
}

#form p.title {
    color: #000000;
    font-size: 48pt;
}

@media (min-width: 992px) {
    iframe.google-map  {
        height: 580px;
    }

    #form {
        height: 580px;
    }
}

@media (max-width: 991px) {
    iframe.google-map {
        height: 300px;
    }

    #form {
        height: auto;
    }
}

.form-errors {
    padding: 20px;
    margin: 20px;
    border: solid #ff0000 1px;
    border-radius: 5px;
}

.form-success {
    padding: 20px;
    margin: 20px;
    border: solid #04B404 1px;
    border-radius: 5px;
}

.form-errors p.error-title {
    font-size: 24pt;
    color: #ff0000;
}

.form-success p.success-title {
    font-size: 24pt;
    color: #04B404;
}

.form-errors li.errors {
    font-size: 13pt;
    color: #ff0000;
}

/*******************
 **Back to top CSS**
 *******************/

#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}

#return-to-top:hover i {
    color: #fff;
    top: 5px;
}