/*
Theme Name: Superior Enterprises Theme
Author: Orion Taylor
Description:
Version: 98.95
Text Domain: superior

*/

*, a, p {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif;
    text-decoration: none;
    margin: 0;
    padding: 0;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    font-size: 14px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif;
    text-decoration: none;
    margin: 0;
    padding: 0;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    text-align: left;
    font-weight: 600;
}

.menu {
    font-family: 'Open Sans Condensed', sans-serif;
}

h1 a, h2 a, h3 a, h4 a, h5 a {
    font-size: inherit;
    text-decoration: underline;
    text-transform: uppercase;
}

p {
    padding: 5px 0 10px 0;
    line-height: 1.7em;
}

h1 {
    font-size: 48px;
    padding: 15px 0 10px 0;
    color:#333333;
    line-height: 1;
}

h2 {
    font-size: 30px;
    padding: 15px 0 10px 0;
    color:#002856;
    line-height: 1;
}
h3 {
    font-size: 20px;
    padding: 15px 0 10px 0;
    color:#222222;
    line-height: 1;
}
h4 {
    font-size: 18px;
    padding: 15px 0 10px 0;
    color:#002856;
    text-transform: uppercase;
    line-height: 1;
}
.contact-page h3 {
    color:#002856;
    padding: 5px 0 0 0;
}
.contact-page h4 {
    color:#222222;
    padding: 5px 0 0 0;
    font-size: 1.1em;
}
div.dark {
    background-color: #002856;
	background-size: cover;
	background-position: center center;
	background-repeat:no-repeat;
}

.dark p, .dark h3, .dark h1, .dark li {
    color: white;
}
.dark h2, .dark h4, .dark a {
    color: #d1d3d3;
}


input, label, select, button, textarea {
    margin: 0;
    border: 0;
    padding: 0;
    display: inline-block;
    vertical-align: middle;
    white-space: normal;
    background: none;
    font-size: 14px;
    font-weight: 200;
    line-height: 14px;
}

input:focus {
    outline: 0;
}
.homepage-header {
    background-color: #002856;
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
	padding: 5vw 0;
}
.home-content-block {
    padding: 30px 30px 30px 20%;
}
.homepage-header .home-content-block h1 {
    font-size: 45px;
    line-height: 1;
    padding: 0;
    margin:0;
}
.homepage-header .home-content-block h3, .homepage-header .home-content-block h3 strong {
    font-size: 28px;
    line-height: 1;
    padding: 10px 0 0 0;
    margin:0;
}
.home-content-thumbs {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding-top: 30px;
}
.home-thumb-image {
    padding-bottom: 20%;
    width: 29%;
    border: 1px solid #ccc;
    background-size: cover;
    background-position: center center;
}
input, textarea {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

button, input[type=reset], input[type=button], input[type=submit], input[type=checkbox], input[type=radio], select {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

input[type=date], input[type=datetime], input[type=datetime-local], input[type=email], input[type=month], input[type=number], input[type=password], input[type=range], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week] {
    background: white;
}

input[type=checkbox], input[type=radio] {
    width: 13px;
    height: 13px;
}

input[type=file] {

}

input[type=search] {
    -webkit-appearance: textfield;
    -webkit-box-sizing: content-box;
}

::-webkit-search-decoration {
    display: none;
}

button, input[type="reset"], input[type="button"], input[type="submit"] {
    /* Fix IE7 display bug */
    overflow: visible;
    width: auto;
}

::-webkit-file-upload-button {
    padding: 0;
    border: 0;
    background: none;
}

textarea {
    vertical-align: top;
    overflow: auto;
}

select {

}

select[multiple] {
    vertical-align: top;
}

a img {
    border: none;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    width: 100%;
}

.alignright {
    float: right;
    clear:right;
    margin: 10px 0 10px 20px;
    max-width: 50%;
}

.alignleft {
    float: left;
    clear: left;
    margin: 10px 20px 10px 0;
    max-width: 50%;
}

.size-medium {
    max-width: 50%;
    height: auto;
}

body {
    width: 100%;
}

.width-contain {
    display: block;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    position: relative;
}
.topheader {
    font-size: 0;
    text-align: center;
}

.top-right-nav {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
    padding: 10px;
    text-align: right;
}
#mainlogo {
    display: inline-block;
	max-width: 300px;
}
#mainlogo img {
    max-height: auto;
	width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
#top-nav ul {
    list-style-type: none;
    padding: 10px 0;
    display: flex;
    justify-content: space-evenly;
    align-items: stretch;
    max-width: 800px;
    margin: 0 auto;
}
#top-nav ul li {
    display: inline-block;
    flex-grow: 1;
	padding: 0 10px;
}
#top-nav ul li:hover a {
    color: #222;
}
#top-nav ul li a {
    display: block;
    padding: 8px;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: #002856;
    text-align: center;
    box-sizing: border-box;
}
#top-nav ul li.current-menu-item a {
    border-bottom: 4px solid #ccc;
}
#masthead .line-through {
    width: 100%;
    border-bottom: 3px dotted #9498a3;
    position: relative;
    bottom: -15px;
    z-index: 0;
}
#masthead .bloginfo {
    font-style: italic;
    font-size: 13px;
    display: inline-block;
    padding: 5px 20px;
    background-color: white;
    z-index: 2;
    position: relative;
}
.current-menu-item, .current-page-parent {
    /*box-shadow: 0 3px 0 0 #52c5be;*/
}
.main-menu-full-width {
    background-color: #eff4f8;
    width: 100%;
    display: block;
    text-align: right;
    border-bottom: 3px solid #c6dbe9;
}
.image-link {
    display: block;
    padding: 0;
    margin: 0;
}

header .menu-main-nav-container {
    padding-right: 25%;
    box-sizing: border-box;
    width: 100%;
}
header#masthead {
	box-sizing: border-box;
	padding: 20px;
	background: white;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.menu-top-right-container, .menu-social-icons-container {
    display: inline-block;
}

.menu-social-icons-container {
    margin-top: 10px;
}
.footer-top-color {
    background-color: #e0e0e0;
}
.site-footer-content {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 20px;
    text-align: center;
}
.site-footer-content .site-footer-row p, .site-footer-content .site-footer-row h3, .site-footer-content .site-footer-row a, .site-footer-content .site-footer-row {
    color: #002856;
    font-family: 'Open Sans Condensed', sans-serif;
}
.site-footer-content .site-footer-row p, .site-footer-content .site-footer-row, .site-footer-content .site-footer-row a {
    font-size: 18px;
}
.site-footer-content .site-footer-row .foot-call span {
    display: inline-block;
    font-size: 12px;
    padding-right: 10px;
    color:#7b8190;
}
.site-footer-row {
    box-sizing: border-box;
    padding: 15px;
    text-align: center;
    border-left:1px solid #9498a3;
    flex-grow: 1;
}
.site-footer-row:first-child {
    border: none;
}
.standard_text {
    padding: 20px 10px;
    box-sizing: border-box;
}
.site-footer__copyright {
    background-color: #002856;
    text-align: center;
}
.site-footer__copyright p {
    color: white;
    font-size: 15px;
    text-transform: uppercase;
}
.site-footer__copyright p span {
    color: #7b8190;
}
.standard_text a {
    color: #002856;
}
.dark .standard_text a {
    color: #d1d3d3;
}
.background-banner-image {
    width: 100%;
    padding-bottom: 350px;
    height: 0px;
    background-position: center center;
    background-size: cover;
    background-repeat:no-repeat;
}
.flexit {
    align-items: stretch;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.icon_links, .blog_listing {
    list-style-type: none;
    padding: 30px 10px 20px 10px;
    box-sizing: border-box;
}

.icon_links li {
    max-width: 250px;
    min-width: 140px;
    text-align: center;
    flex: 1 1 0;
    margin: 5px 10px;
}

.blog_listing li {
    min-width: 350px;
    width: 50%;
    box-sizing: border-box;
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.icon_links h3 {
    text-align: center;
}

.icon_links li a {
    display:block;
    text-decoration: none;
    color: #222;
    cursor: pointer;
}
p.post-time {
    margin-top: 0;
    padding-top: 0;
    font-size: .8em;
    color: #aaa;
    line-height: 1;
}
.icon_links li i {
    color:#ffffff;
    background-color:#002856;
    font: normal normal normal 40px/1 FontAwesome;
    padding: 20px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: background-color 300ms;
}

.icon_links li a:hover i {
}

.sub_layout {
    min-width: 300px;
}
.unslider {
    overflow: auto;
    margin: 0;
    padding: 0;
    position: relative;
    background:#ddd;
}
.unslider-wrap {
    position: relative
}
.unslider-wrap.unslider-carousel > li {
    float: left
}
.unslider-vertical > ul {
    height: 100%
}
.unslider-vertical li {
    float: none;
    width: 100%
}
.unslider-fade {
    position: relative
}
.unslider-fade .unslider-wrap li {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    z-index: 8
}
.unslider-fade .unslider-wrap li.unslider-active {
    z-index: 10
}
.unslider li, .unslider ol, .unslider ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: none
}
.unslider-arrow {
    position: absolute;
    left: 20px;
    z-index: 2;
    cursor: pointer
}
.unslider-arrow.next {
    left: auto;
    right: 20px
}
.slide-filler {
    width: 100%;
    height: 350px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
.unslider-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    margin-top: -40px;
}
.unslider-arrow i {
    font: normal normal normal 80px/1 FontAwesome;
    color: rgba(255,255,255,.5);
    text-shadow: 1px 1px 10px rgba(0,0,0,.4);
}
.unslider-arrow:hover i {
    color: rgba(255,255,255,.9);

}
.unslider-arrow.prev {
    left: 10px;
}
.unslider-arrow.next {
    right: 10px;
}
.unslider-nav {
    position: absolute;
    bottom: 10px;
    width: 100%;
}
.unslider-nav ol {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center;
    font-size: 0;
}
.unslider-nav li {
    display: inline-block;
    margin:3px;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    font-size: 0;
    box-shadow: 1px 1px 10px rgba(0,0,0,.4);;
}
.unslider-nav li.unslider-active {
    background: rgba(255,255,255,.9);
}
.web_forms {
    padding: 30px;
    background: #eeeeee;
}
.web_forms input {
    background: white;
    border: 1px solid #ddd;
}
.web_forms input[type=text], .web_forms input[type=email], .web_forms input[type=tel], .web_forms textarea {
    padding: 10px;
    font-size: 16px;
    line-height: 16px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    max-width: 450px;
    background: white;
    border: 1px solid #ddd;
}
.web_forms select {
    background: white;
    border: 1px solid #ddd;
}
.web_forms input[type=submit]{
    padding: 15px 25px;
    font-size: 18px;
    box-sizing: border-box;
    border-radius: 3px;
    cursor: pointer;
    margin: 10px 0;
    background: #002856;
    color: white;
}
.web_forms input[type=submit]:hover {
    background: #1d3250;
}
#bg_container{
    overflow:hidden;
    width:100%;
    position:relative;
    padding-bottom:36.25%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

#videobg{
    width:100%;
    height:100%;
    position:absolute;
    pointer-events: none;
    z-index: 10;
}

.abutton {
    /* margin: auto; */
    position: absolute;
    z-index: 50;
    /* left: 50%; */
    /* top: 50%; */
    /* transform: translate(-50%,-50%); */
    width: 90%;
    height: 90%;
    text-align: center;
    margin: 5%;
}

.abutton img {
    max-width: 100%;
    width: 150px;
    height:auto;
}

.abutton a {
    display:block;
    cursor: pointer;
}

.abutton {
    opacity: .9;
}

#bg_container:hover .abutton {
    opacity: 1;
}
.team-member {
    flex: 1;
    max-width: 50%;
    box-sizing: border-box;
    border-bottom: 1px solid #ddd;
    padding: 20px;
    min-width: 400px;
}
#map {
    position: relative;
    max-width: 100%;
    height: 0;
    padding-bottom: 60%;
    margin: 0 auto;
}
.team-member .portrait {
    width: 150px;
    max-width: 40%;
    height: auto;
    margin: 0 20px 15px 0;
    float: left;
}
.team-member h3 {
    padding: 10px 0 0 0;
}
.team-member h4 {
    color: #333333;
    font-size: 16px;
}
.menusubnav {
    width: 100%;
    background-color: #f3f6f9;
}
.menusubnav ul {
    display: block;
    padding: 0;
    margin: 0;
    text-align: center;
    font-size: 0;
}
.menusubnav li {
    display: inline-block;
    border-right: 1px solid #ddd;
}
.menusubnav li:last-child {
    border-right: none;
}
.menusubnav li:hover {
    background-color:#f9f9f9;
}
.menusubnav li a {
    font-size: 12px;
    line-height: 1;
    color: #222;
    padding: 8px 10px;
    display: block;
}
.menusubnav .current_page_item {
    background-color:#f9f9f9;
}
.image-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid #002856;
    display: block;
    margin: 0 auto;
    background-size: cover;
    background-position: center center;
}
.image_gallery_ul {
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
    flex-wrap: wrap;
    justify-content: space-around;
    list-style-type: none;
    padding: 0;
    text-align: center;
    margin: 0;
}
.image-gallery-thumbnail {
    width: 15%;
    padding-bottom: 150px;
    margin: 10px;
    min-width: 150px;
    display: inline-block;
    background-size: 100%;
    transition: background-size 200ms;
    vertical-align: middle;
    background-position: center center;
}
.image-gallery-thumbnail:hover {
    background-size: 110%;
}
.image-gallery-thumbnail:hover {
    opacity: .8;
}
.main-menu-full-width .menu-social-icons-container {
    position: absolute;
    right: 0;
    top: 0;
    margin: 7px 10px 0 0;
}
#colophon .social-icons-footer {
    list-style-type: none;
}
.main-menu-full-width .menu-social-icons-container #menu-social-icons li a {
    color: #222;
}
.main-menu-full-width .menu-social-icons-container #menu-social-icons li a:hover {
    color: #444;
}
.standard_text ul, .standard_text ol {
    padding: 0 0 0 20px;
    overflow: hidden;
}
.standard_text ul {
    list-style-type: none;
}
.standard_text li {
    padding-bottom: 5px;
}
.standard_text ul li::before {
    content: "•";
    color: #002856;
    display: inline-block;
    width: 1em;
    vertical-align: middle;
    margin-left: -1em
}

.dark .standard_text ul li::before {
    color: #d1d3d3;
}
div.homepage-header.dark {
    background-position: left center;
}
@media screen and (min-width: 850px) {
    html, body {
        height: 100%;
        margin: 0;
    }
    #page {
        min-height: 100%;
    }
    #main {
        padding-bottom: 158px;
    }
    #colophon {
        height: 158px;
        margin-top: -158px;
    }
}
@media screen and (max-width: 1050px) {
	header#masthead {
    	display: block;
		padding: 10px;
	}
    header .menu-main-nav-container {
        box-sizing: border-box;
        width: 100%;
    }
    .standard_text {
        padding: 10px;
    }

    .background-banner-image {
        padding-bottom: 33.3333%;
    }
    .slide-filler {
        height: 33vw;
    }
    .image-gallery-thumbnail {
        width: 20vw;
        padding-bottom: 20vw;
        margin: 2vw;
    }
    .homepage-header {
        background-image: none !important;
    }
    .home-content-block {
        padding: 15px;
    }
	#mainlogo {
		display: block;
    	margin: 0 auto;
	}
	#top-nav ul li a {
    	padding: 2px;
    	font-size: 15px;
	}
}
@media screen and (max-width: 700px) {
    h1 {
        font-size: 30px;
    }
    h2 {
        font-size: 28px;
    }
    .top-right-nav {
        height: auto;
    }
    .image-gallery-thumbnail {
        width: 35vw;
        padding-bottom: 35vw;
        min-width: 100px;
    }
    .menu-main-nav-container {
        display: none;
    }
    .mobile-button {
        display: inline-block;
    }
    .site-footer-content {
        padding: 5px;
    }
    .site-footer-row {
        width: 50%;
    }
    #colophon {
        font-size: .8em;
    }
    #colophon h3 {
        letter-spacing: normal;
    }
    .sub_layout {
        width: 100% !important;
    }
    #bg_container {
        padding-bottom: 70%;
    }
    #videobg {
        display: none;
    }
    .abutton h1 {
        font-size: 30px !important;
        line-height: 1 !important;
    }
    .mob-dis {
        display:none;
    }
    .team-member {
        max-width: 100%;
    }
    .homepage-header .home-content-block h1 {
        font-size: 25px;
    }
    .homepage-header .home-content-block h3 {
        font-size: 15.5px;
    }
}