/* Global styles
______________________________________________________________________________*/
body {
    background-color: #243741;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background-image: url('../images/global/background.jpg');
    background-repeat: repeat;
    overflow: scroll;
    overflow-x: hidden;
    border-top: solid 3px #5e8197;
}

.fill{
    padding: 15px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    background-color: #132530;
}

.spacer{
    margin-bottom: 30px;
}

.img-center{
    display: block;
    margin: 0 auto 0 auto;
}

.img-right{
    margin: 0 10px 0 10px;
}

.img-left{
    margin: 0 10px 10px 0;
}

.left, .img-left, .right, .img-right{
    display: inline
}

.left, .img-left{
    float: left
}

.right, .img-right{
    float: right;
}

.img-border{
    border: solid 2px #000;
}

.column_3{
    width: 31%;
    margin: 0 1% 0 1%;
    display: inline;
    float: left;
}

.hidden{
    display: none;
}


/*Button styles
______________________________________________________________________________*/
button{
    border: none;
    width: 100%;
    margin: 0 0 10px 0;
    padding: 5px 0 5px 0;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    background-color: #132530;
    background:-webkit-gradient(linear, left top, left bottom, from(#132530), to(#101f28));
    background:-moz-linear-gradient(top,#132530 0%, #101f28 100%);
    background:-webkit-linear-gradient(top,#132530 0%, #101f28 100%);
    background:-o-linear-gradient(top,#132530 0%, #101f28 100%);
    background:-ms-linear-gradient(top,#132530 0%, #101f28 100%);
    background: linear-gradient(top,#132530 0%, #101f28 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#132530', endColorstr='#101f28',GradientType=0 );
}

button:hover{
    cursor: pointer;
    background-color: #5e8197;
    background:-webkit-gradient(linear, left top, left bottom, from(#88a4b5), to(#5e8197));
    background:-moz-linear-gradient(top,#88a4b5 0%, #5e8197 100%);
    background:-webkit-linear-gradient(top,#88a4b5 0%, #5e8197 100%);
    background:-o-linear-gradient(top,#88a4b5 0%, #5e8197 100%);
    background:-ms-linear-gradient(top,#88a4b5 0%, #5e8197 100%);
    background: linear-gradient(top,#88a4b5 0%, #5e8197 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#88a4b5', endColorstr='#5e8197',GradientType=0 );
}

.fill button{
    background-color: #5e8197;
    background:-webkit-gradient(linear, left top, left bottom, from(#88a4b5), to(#5e8197));
    background:-moz-linear-gradient(top,#88a4b5 0%, #5e8197 100%);
    background:-webkit-linear-gradient(top,#88a4b5 0%, #5e8197 100%);
    background:-o-linear-gradient(top,#88a4b5 0%, #5e8197 100%);
    background:-ms-linear-gradient(top,#88a4b5 0%, #5e8197 100%);
    background: linear-gradient(top,#88a4b5 0%, #5e8197 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#88a4b5', endColorstr='#5e8197',GradientType=0 );
}

.fill button:hover{
    background-color: #5e8197;
    background:-webkit-gradient(linear, left top, left bottom, from(#7a271a), to(#3b0800));
    background:-moz-linear-gradient(top,#7a271a 0%, #3b0800 100%);
    background:-webkit-linear-gradient(top,#7a271a 0%, #3b0800 100%);
    background:-o-linear-gradient(top,#7a271a 0%, #3b0800 100%);
    background:-ms-linear-gradient(top,#7a271a 0%, #3b0800 100%);
    background: linear-gradient(top,#7a271a 0%, #3b0800 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7a271a', endColorstr='#3b0800',GradientType=0 );
}

/* Form Styles
______________________________________________________________________________*/
.required{
    padding: 0 5px 4px 0;
}

label, input, textarea{
    display: block;
}

input, textarea{
    margin: 0 0 20px 0;
    border: none;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    outline: none;
    background-color: #132530;
}

input:focus, textarea:focus{
    background-color: #fff;
}

label{
    border-bottom: dotted 1px #5e8197;
    margin: 0 0 5px 0;
    width: 100%;
    max-width: 100%;
}

input{
    padding: 1%;
    width: 98%;
    max-width: 98%;
}

textarea{
    padding: .5%;
    width: 99%;
    max-width: 99%;
}

.fill input{
    background-color: #5e8197;
}

.fill input:focus{
    background-color: #fff;
}

/* Header styles
______________________________________________________________________________*/
#header-wrapper{
    width: 100%;
    background-image: url('../images/global/header-background.jpg');
    background-size: 100%;
    background-repeat: no-repeat;
    height: 420px;
    background-position: bottom;
    -moz-box-shadow:0px 5px 20px 0px rgba(13, 29, 38, 0.4);
    -webkit-box-shadow:0px 5px 20px 0px rgba(13, 29, 38, 0.4);
    box-shadow:0px 5px 20px 0px rgba(13, 29, 38, 0.4);
}

#header-wrapper #header-contents{
    width: 100%;
    background-color: rgba(78,11,0,0.65);
    -moz-box-shadow:0px 5px 20px 0px rgba(255, 218, 202, 0.25);
    -webkit-box-shadow:0px 5px 20px 0px rgba(255, 218, 202, 0.25);
    box-shadow:0px 5px 20px 0px rgba(255, 218, 202, 0.25);
}

#header-wrapper #header-contents #contact-tab{
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    -moz-border-radius-bottomleft: 3px;
    -moz-border-radius-bottomright: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    background-color: #5e8197;
    padding: 10px 15px 15px 15px;
}

#header-wrapper #header-contents #logo{
    margin: 20px 0 35px 0;
}

#header-wrapper #header-contents #contact-tab img{
    display: inline;
    float: left;
    margin: 8px 15px 0 5px;
}

#page-header{
    width: 1010px;
    margin: 0 auto 0 auto;
    position: relative;
    margin-bottom: 50px;
}

/*Home styles
______________________________________________________________________________*/
#home-heron{
    position: absolute; 
    top: -130px
}

.button-wrapper{
    padding: 10px;
    background-color: #5e8197;
    background:-webkit-gradient(linear, left top, left bottom, from(#88a4b5), to(#5e8197));
    background:-moz-linear-gradient(top,#88a4b5 0%, #5e8197 100%);
    background:-webkit-linear-gradient(top,#88a4b5 0%, #5e8197 100%);
    background:-o-linear-gradient(top,#88a4b5 0%, #5e8197 100%);
    background:-ms-linear-gradient(top,#88a4b5 0%, #5e8197 100%);
    background: linear-gradient(top,#88a4b5 0%, #5e8197 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#88a4b5', endColorstr='#5e8197',GradientType=0 );
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    margin-bottom: 20px;
}

.button-wrapper:hover{
    background-color: #5e8197;
    background:-webkit-gradient(linear, left top, left bottom, from(#7a271a), to(#3b0800));
    background:-moz-linear-gradient(top,#7a271a 0%, #3b0800 100%);
    background:-webkit-linear-gradient(top,#7a271a 0%, #3b0800 100%);
    background:-o-linear-gradient(top,#7a271a 0%, #3b0800 100%);
    background:-ms-linear-gradient(top,#7a271a 0%, #3b0800 100%);
    background: linear-gradient(top,#7a271a 0%, #3b0800 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7a271a', endColorstr='#3b0800',GradientType=0 );
    -moz-box-shadow:0px 0px 5px 1px rgba(19, 37, 48, 0.75);
    -webkit-box-shadow:0px 0px 5px 1px rgba(19, 37, 48, 0.75);
    box-shadow:0px 0px 5px 1px rgba(19, 37, 48, 0.75);
}

/* Footer styles
______________________________________________________________________________*/
#footer-wrapper{
    width: 100%;
    background-color: #182d3a;
    padding: 20px 0 20px 0;
    margin-top: 30px;
}

#footer-wrapper .fill{
    background-color: #132733;
}

#footer-wrapper .fill #footer-links{
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

#footer-wrapper .fill #footer-links li{
    display: inline-block;
    float: left;
    margin: 0 0 10px 0;
    width: 19.85%;
    border-right: solid 1px #203b4c;
}

#footer-wrapper .fill #footer-links li a:hover, 
#footer-wrapper .fill #footer-links .last-link{
    border: none;
}

/* Navigation 
______________________________________________________________________________*/
#nav-wrapper{
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
    display: inline-table;
    width: 100%;
    z-index: 10;
}

#nav-wrapper:after{
    content: "";
    clear: both;
    display: block;
}

#nav-wrapper li{
    margin: 0 1% 0 1%;
    padding: 0;
    float: left;
    display: inline-block;
    width: 18.05%;
    background-color: #3b0800;
    border: solid 1px rgba(233,92,48,0.65);
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

#nav-wrapper li:hover{
    background-color: rgba(233,92,48,0.65);
}

#nav-wrapper .drop-down{
    padding: 5px 0 6px 0;
}

#nav-wrapper .drop-down:hover{
    background-color: #3b0800;
    cursor: default;
}

#nav-wrapper li a{
    display: block;
    width: 100%;
    padding: 5px 0 6px 0;
}

#nav-wrapper li a:hover{
    border: none;
}

#nav-wrapper li:hover > .sub-nav{
    display: block;
}

#nav-wrapper .sub-nav{
    display: none;
    position: absolute;
    top: 100%;
    list-style-type: none;
}


#nav-wrapper .sub-nav li{
    float: none;
    display: block;
    position: relative;
    width: 100%;
    margin: 8px 0 8px 0;
}

#nav-wrapper .sub-nav li a{
    display: block;
    width: 100%;
    padding: 5px;
}

#nav-wrapper .sub-nav li a:hover{
    border: none;
}

#nav-wrapper .active, #nav-wrapper .active:hover{
    background-color: #132530;
    border: solid 1px rgba(94,129,151,0.65);
}

#nav-wrapper .first-link{
    margin-left: 0;
}

#nav-wrapper .last-link{
    margin-right: 0;
}

/*Ribbon styles
______________________________________________________________________________*/
.ribbon-wrapper{
    position: absolute;
    top: -20px;
    z-index: 0;
}

.ribbon-wrapper .ribbon-fold{
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 0 0 20px 20px;
    border-color: transparent transparent #051016 transparent;
    display: inline;
    float: left;
    position: absolute;
    top: 0;
}

.ribbon-wrapper .ribbon{
    display: inline;
    float: left contour;
    padding: 15px;
    background-color: #132530;
    position: absolute;
    top: 0;
    left: 20px;
}

.ribbon-wrapper #home-header{
    width: 480px;
}