﻿section {
	padding: 20px 0 40px 0;
}

section h3 {
    margin: 20px 0;
    text-align:center;
}

ul {
	list-style: none;
}

/*header*/

a.navbar-brand {
    padding:0;
    margin: 10px 0;
}

.navbar-brand img {
    max-height:80px;
}

.header-social {
    font-size: 1.25em;
    line-height:1em;
}

.number-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.number-social-header {
    /*display: inline-block;
    vertical-align: middle;*/
}

.nav-link {
    color: #ddd;
}

.cwp-navigation {
    display: flex;
    width: 80%;

    padding: 0;
    margin: 0 auto;

    list-style: none;
    align-items: center;
}

.cwp-navigation li {
    cursor: pointer;
}
.cwp-navigation li:not(:last-child) {
    margin-right: 25px;
}

.cwp-navigation li a {
    color: #ddd;
    text-decoration: none;
    font-size: 1.2em;

	transition: all 0.2s ease-in-out;
}
.cwp-navigation li a:hover {
    color: #fff;
}

.cwp-navigation-social-phone {
    margin-left: auto;
}

.cwp-navigation-social-icon:not(:last-child) {
  margin-right: 5px !important;
}

.cwp-nav-wide-link {
	visibility: hidden;
}

.cwp-nav-narrow{
	z-index:1000000;
	font-weight:bold;
	width:100%;
	background:#f1f1f1;
	position:absolute;
	text-align:center;
}
.cwp-nav-narrow ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-image: none;
}
.cwp-nav-narrow li {
	display: block;
	padding:15px 0 15px 0;
	border-bottom:#dddddd 1px solid;
}
.cwp-nav-narrow li:hover{
	display: block;
	background:#ffffff;
	padding:15px 0 15px 0;
	border-bottom:#dddddd 1px solid;
}
.cwp-nav-narrow ul li a {
	text-decoration:none;
	margin: 0px;
	color:#666;
}
.cwp-nav-narrow ul li a:hover {
	color: #666;
	text-decoration:none;
}
.cwp-nav-narrow a{
	text-decoration:none;
	color:#666;
}
.cwp-nav-narrow a:hover{
	text-decoration:none;
	color:#666;
}

.cwp-nav-narrow-social {
	font-size: 1.2em;
}
.cwp-nav-narrow-social a {
	padding-right: 5px;
	padding-left: 5px;
}

.cwp-nav-buttons {
	visibility: visible;
    margin-left: auto;
}


@media only screen and (min-width: 920px) {
	.cwp-nav-wide-link {
		visibility: visible;
	}
	.cwp-nav-buttons {
		visibility: hidden;
		display: none;
	}
}

@media only screen and (max-width: 920px) {
    /* Move the social or hide them */
	.navbar-brand img {
		max-height: 60px;
	}

    .cwp-navigation {
        width: 90%;
    }
    /*
    .cwp-navigation li:not(:last-child) {
        margin-right: 0px;
    }
    .cwp-navigation-links:not(:last-child) {
        margin-right: 20px !important;
    }*/
	.cwp-navigation-links {
		display: none;
		overflow: hidden;
		margin-right: 0px !important;
		padding: 0 !important;
	}
	.cwp-navigation-logo {
		margin:0;
		margin-right: 10px !important;
	}
	.cwp-navigation-logo a {
		margin: 0;
		padding: 0;
	}
	.cwp-navigation-logo img {
		margin: 0;
		padding: 0;
	}

	.cwp-navigation-social-phone {
		display: none;
		width: 0;
		margin: 0 !important;
		padding: 0 !important;
	}

	.cwp-navigation-social-icon {
		display: none;
		width: 0;
		margin: 0 !important;
		padding: 0 !important;
	}

    @media only screen and (max-width: 768px) {
        /* Burger Menu */
		.cwp-navigation-links {
			display: none;
			margin-right: 0px !important;
			padding: 0 !important;
		}
    }
}

.cwp-hero-container {
    width: 100%;
    position: relative;
    height: 100%;
    display: block;
}

.cwp-hero-bkg {
    position: relative;
    height: 100%;
    width: 100%;
    left:0;
    top:0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow-x: hidden;
    min-height: 460px;
}

.cwp-hero-copy {
    position: absolute;
    width: 80%;
    margin: 0 auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-top: 0;
    text-align: left;

    color: #fff;
}

/*rows and bars*/

.cwp-row {
    background-color: #f4f7f6;
    color: #222;
}
.cwp-row:nth-child(odd) {
	background-color: #173C68;
	color: #fff;
}

.notice-bar {
    padding: 10px;
}

.address-bar {
    font-size: .95em;
    padding: 5px;
}

.address-bar .container .row {
    padding: 0 5px;
}



/*slider*/

.slider-image{
    display:block;
    width:100%;
    height: 400px; 
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: center,center;
}




/*gallery*/

.gallery .gallery-item {
    width:150px;
    height:150px;
    background-image:url('https://via.placeholder.com/350x150');
    background-position:center center;
    background-size:cover;
    display:block;
    margin:10px 0;
}

/* Services tag cloud*/

ul.services {
    padding: 30px 50px 0 50px;
    margin: 0;
}

ul.services li {
    padding: .5rem .75rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 1.5rem;
    margin: 5px;
}

.border-primary {
    border-color: #fff;
}

/*links*/

.links div.row > div {
    text-align:center;
}


/*Featured Items*/

.font-size-sm {
    font-size:.75rem;
}


/*bootstrap overrides*/


.bg-light {
    background-color:#eeeeee!important;
}


.bg-dark {
    background-color: #343a40!important;
}

.bg-transparent {
    background-color:transparent;
}


.bg-gradient-dark {
    background: #343a40;
    /*text-shadow: 1px 1px 1px #000000, 1px 1px 10px #000000;*/
}

.bg-gradient-light {
    background: #dddddd;
}


/* Link Area */

.link_item_area {
    font-size: 5em;
    padding: 10px 10px 0 10px;
}


/*Footer*/ 

footer .contact {
    padding: 10px;
}

footer .sub-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.80);
    padding: 10px 0;
    background-color: #151515;
}


/* Twitter */
blockquote.twitter-tweet {
  display: inline-block;
  padding: 16px;
  margin: 10px;
  max-width: 350px;
  border: #ddd 1px solid;
  border-top-color: #eee;
  border-bottom-color: #bbb;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  font: bold 14px/18px Helvetica, Arial, sans-serif;
  color: #000;
}

twitter-tweet-rendered {
    margin: 20px !important;
}


.btn-outline-primary {
	background-color: transparent;
	background-image: none;
}


/* Extend bootstrap */

.w-49 {
    width: 49%;
}

.w-32 {
    width: 32%;
}

.w-90 {
    width: 90%;
}

.cwp-card-image-height-restriction {
	height: 250px;
	object-fit: cover;
}

.cwp-card-app-item {
	flex-basis: 22% !important;
	margin-bottom: 20px !important;
}

.cwp-gmap {
	min-height: 200px;
}



.site-notice-card {
	color: #333 !important;
}

@media (max-width: 875px) {
	.card-deck .card {
		flex: 1 0 70%;
		margin-bottom: 15px;
	}
}

@media (min-width: 875px) {
	.img-thumbnail {
		max-width: 300px !important;
	}
}