/*
Dark red:#99301A, rgba(11,87,165,1)
Light red:#BF301A, rgba(140,197,64,1)
*/

@font-face {
    font-family: 'Serif Caps';
    src: url('fonts/SerifCapsRegular/SerifCaps-Regular.eot');
    src: url('fonts/SerifCapsRegular/SerifCaps-Regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/SerifCapsRegular/SerifCaps-Regular.woff') format('woff'),
         url('fonts/SerifCapsRegular/SerifCaps-Regular.ttf') format('truetype'),
         url('fonts/SerifCapsRegular/SerifCaps-Regular.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Serif Caps';
    src: url('fonts/SerifCapsBold/SerifCaps-Bold.eot');
    src: url('fonts/SerifCapsBold/SerifCaps-Bold.eot?#iefix') format('embedded-opentype'),
         url('fonts/SerifCapsBold/SerifCaps-Bold.woff') format('woff'),
         url('fonts/SerifCapsBold/SerifCaps-Bold.ttf') format('truetype'),
         url('fonts/SerifCapsBold/SerifCaps-Bold.svg') format('svg');
    font-weight: bold;
    font-style: normal;
}
html, body {
    height:100%;
    position:relative;
    width:100%;
}
section, #top, footer, main, nav {
    clear:both;
    top:0;
    bottom:0;
    position:relative;
    width:100%;
    margin:0;
}
article {
    padding:0 10% 50px;
}
#top, nav {
    position:relative;
    height:20%;
    max-height:20%;
    font-size:1em;
    display:flex;
    flex-direction:row;
    flex-wrap:nowrap;
}
#top {
    padding-left:20px;
}
nav {
    height:100%;
    max-height:100%;
}
#top .logo{
    max-height:100%;
    max-width:33%;
    margin:2px 50px;
}
section {
    padding:30px;
    display:inline-block;
    clear:both;
}
header {
    text-align: center;
    font-size:4em;
    font-family:"Serif Caps";
    margin-bottom:70px;
    height:10%;
}
main header {
    margin-top:30px;
}
#home {
    height:80%;
}
#about {
    padding:3%;
}
h1 {
    font-family:"Serif Caps";
    font-size:0.4em;
    font-weight: bold;
}
h2 {
    font-family:"Serif Caps";
    font-size:1.7em;
    color:#BF301A;
    margin-top:20px;
    margin-bottom:20px;
}
h3 {
    font-family:"Serif Caps";
    font-size:1.2em;
    font-weight: bold;
    margin-top:7px;
    margin-bottom:7px;
}
p, ul{
    font-family:verdana;
    font-size:1em;
    font-weight:normal;
    margin-top:7px;
    margin-bottom:7px;
    line-height: 1.6;
}
ul li {
    margin-left:20px;
}
#home-slides{
    overflow:hidden;
    width:100%;
    min-height:100%;
    margin:0;
    padding:0;
    position:relative;
}
.fill {
    width:100%;
    height:100%;
    overflow:hidden;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}
.slides-container {
    position:relative;
    min-height:100%;
    background-color:#444;
}
.slides-container .controls {
    position:absolute;
    height:100%;
    width:100%;
    top:0;
    left:0;
    margin:0;
    padding:0;
}
.sliderBtn {
    content:none;
    position:absolute;
    height:100%;
    width:15%;
    top:0;
    right:0;
    margin:0;
    padding:0;
    background-color:rgba(60, 60, 60, 0.4);
    font-size:5em;
    font-family: verdana;
    color:#FFFFFF;
    text-decoration: none;
    text-align:center;
    display:flex;
    flex-direction: row;
    flex-wrap:nowrap;
}
.prevBtn{
    left:0;
}
.sliderBtn img {
    width:100%;
    margin:auto;
}
.slide {
    display:flex;
    flex-direction: row;
    flex-wrap:nowrap;
    justify-content: center;
    align-content: center;
    height:100%;
    width:100%;
    width:auto;
    margin:auto;
    overflow:hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.slide img {
    align-self: center;
    margin:auto;
    height:100%;
    width:100%;
    max-height:100%;
    max-width:100%;
}
nav, nav ul {
    padding:0;
    z-index:9999;
}
nav ul {
    display:flex;
    flex-direction: row;
    flex-wrap:nowrap;
    width:100%;
    height:100%;
    padding:0;
    margin:0;
}
nav ul.drop-down {
    position:absolute;
    top:100%;
    left:20%;
    background:linear-gradient(0deg, #99301A, #BF301A);
    height:auto;
    width:auto;
}
nav ul.sub-menu {
    display: inline-block;
    width:auto;
    height:auto;
    padding:5px;
    border-right:2px solid #000000;
    margin:5px;
}
nav ul.sub-menu:last-child {
    border:none;
}
nav li{
    padding:0;
    margin:0;
    display:flex;
    flex-direction: row;
    flex-wrap:nowrap;
    width:20%;
    height:100%;
    background:linear-gradient(0deg, #BF301A, #99301A);
    flex-grow:1;
    flex-shrink:1;
}
nav ul.drop-down li, nav ul.sub-menu li {
    padding:5px;
    width:auto;
    height:auto;
    display:block;
    flex-grow:0;
    flex-shrink:0;
    background:none;
}
.nav-product-header {
    font-size:16px;
}
.nav-product-category {
    font-size:12px;
}
nav a {
    width:100%;
    margin:auto;
    font-size:16px;
    font-family: verdana;
    color:#FFFFFF;
    text-decoration: none;
    text-align:center;
}
nav li.current {
    background:linear-gradient(0deg, #99301A, #BF301A);
}
.proj-single {
    width: 80%;
    margin: auto;
}
.proj-name {
    margin-bottom:10px;
    font-size:1.2em;
    height:1.5em;
    line-height:1.5em;
    padding-left:7px;
    width:100%;
    text-align:center;
}
.proj-group {
    border-radius:15px;
    padding:25px;
    text-align:left;
    margin-bottom:50px;
    display:inline-block;
    vertical-align: top;
}
.proj-group h2, article h2 {
    text-align:center;
    width:100%;
}
.overlay {
    width:100%;
    padding:0;
    margin:0;
    position: relative;
    overflow: hidden;
}
.proj-image {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
.proj-group-image, .proj-image, a.mask {
    width:100%;
    min-height:100%;
    border-radius:5px;
}
.proj-group-image {
    z-index:50;
}
a.mask {
    font-family:"Serif Caps";
    font-weight:bold;
    margin:0;
    padding:0;
    position:absolute;
    top:0;
    left:0;
    visibility: hidden;
    background-color:rgba(0,0,0,0.5);
    z-index:100;
    text-align: center;
    color:#FFF;
    text-decoration: none;
}
a.mask.proj-desc {
    font-family: "verdana";
    font-weight: normal;
    padding-top: 20%;
}
@media screen and (max-width: 800px) {
    .proj-group, .proj {
        width: 100%;
        padding:0;
    }
    .member {
        width:100%;
    }
    .gmap_canvas {
        width:80%;
        margin-left:10%;
    }
}
@media screen and (min-width:801px) {
    .proj-group, .proj {
        width: 49%;
        padding:auto;
    }
    .member {
        width:41%;
        margin-left:6%;
    }
    .gmap_canvas {
        width:60%;
        margin-left:20%;
    }
}
@media screen and (min-width:1500px){
    .proj-group, .proj {
        width: 32%;
        padding: auto;
        padding: auto;
    }
    .member {
        width:30%;
        margin-left:2.5%;
    }
    .gmap_canvas {
        width:50%;
        margin-left:25%;
    }
}
.proj-date, .proj-summary {
    text-align:left;
    margin:10px;
}
.proj-date {
    font-size:0.75em;
}
.proj-summary {
    font-size:1em;
}
.clearfix {
    display:block;
}
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
.controls {
    height:20px;
    margin:10px;
    margin-bottom:20px;
}
.member {
    padding:25px;
    text-align:left;
    margin-bottom:50px;
    display:inline-block;
    vertical-align: top;
}
.member figure {
    width:40%;
    margin-left:2%;
    float:left;
}
.member figure .img-crop {
    width:100%;
    border-radius: 50%;
    overflow:hidden;
}
.member figure .img-crop img {
    width:100%;
    height:100%;
}
.member figure figcaption {
    width:100%;
    text-align:center;
    font-family: "Serif Caps";
    font-weight:bold;
    font-size:1em;
    line-height:1em;
    margin-top:10px;
}
.member .details {
    width:55%;
    margin-left:2%;
    text-align:center;
    float:left;
}
.member .details > * {
    text-align:left;
}
#contact article p {
    width:100%;
    padding:0 25px;
    text-align: center;
}
a.tel {
    color:#000000;
    font-size:1.5em;
    line-height: 1.5em;
    text-decoration:none;
}
a.tel:hover {
    text-shadow:0 0 5px #BF301A;
}
.form{
    width:50%;
    min-width:350px;
    margin:auto;
    margin-bottom:50px;
}
.form-input{
    border: 1px solid #99301A;
    border-radius:6px;
    background-color:#FFFFFF;
    padding:5px;
    width:79%;
}
.form-input, label{
    display:inline-block;
    margin:15px 0;
    height:30px;
    font-size:18px;
    font-family:verdana;
}
@media screen and (max-width:800px){
    input.form-input{
        width:100%;
    }
}
textarea.form-input{
    width:100%;
    height:150px;
    clear:both;
}
input.form-input.button{
    width:150px;
    height:40px;
    background-color:#BF301A;
    border-radius:2px;
}
.form-row {
    display:block;
}
.name-background.is-hidden{
    opacity:0
}
.name-background.is-visible{
    opacity:1
}
.form-input.has-error{
    background-color:#FFDDDD;
    border:#FF0000 solid 3px;
}
.mapouter{
    overflow:hidden;
    height:500px;
    width:100%;
}
.gmap_canvas {
    background:none!important;
    height:500px;
    margin:auto;
}
footer {
    font-family:"Serif Caps";
    font-size:1em;
    font-weight:bold;
    background-color:black;
    color:#FFFFFF;
    text-align:center;
    height:50px;
    line-height:50px;
}
table {
    width:100%;
    table-layout: fixed;
    margin-bottom:15px;
}
tr:nth-child(even) {
    background-color: #f2f2f2;
}
td{
    text-align: center;
    vertical-align: middle;
    height: 39px;
    padding:5px;
    line-height:35px;
}
.admin-img {
    max-height:50px;
}
.admin-btn{
    width:25px;
    height:25px;
    cursor:default;
}
.admin-btn:hover{
    cursor: pointer;
}
.admin-btn.edit {
    width:30px;
    height:30px;
    margin:20px 10px;
    display:inline-block;
    vertical-align: middle;
}
.new {
    text-decoration: none;
    color:#99301A;
    font-size:1.7em;
    padding-left:25px;
}
.form-row {
    display:block;
}
.image-upload {
    display:flex;
}
label {
    width:20%;
}
textarea.form-input.admin {
    width:80%;
}
.form-input.admin{
    box-shadow: inset 1px 1px 4px #777777;
    display:inline-block;
}
input.form-input.admin.qual {
    margin-right:15px;
}
input.form-input.admin.button {
    display:inline-block;
    width:auto;
}
.image-upload-controls{
    -webkit-box-flex:0;
    -ms-flex:0 0 68.33333333%;
    flex:0 0 68.33333333%;
    max-width:68.33333333%;
}
.single.btn-primary{
    max-width:55%;
}
.btn input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    border: solid transparent;
    width: 100%;
    opacity: 0;
    cursor: pointer;
}
.multiple-image-upload-controls{
    width:85%;
    margin-left:15%;
    vertical-align: top;
    margin-top:-30px;
}
.media-body{
    max-width:100%;
}
#logout {
    font-size:0.25em;
    position:fixed;
    top:15px;
    right:15px;
    padding:10px;
    border-radius:15px;
    box-shadow: inset 1px 1px 4px #777777;
    cursor: pointer;
}