/*--------------------------------------------------------
	FONT ASSIGNMENTS
--------------------------------------------------------*/

body,
html {
    /*height: 100%;*/
}

body {
    background-color: white;
    font-size: 18px;
    font-family: 'PT Sans', sans-serif;
}

p {
    margin: 5px 0 10px;
}


/*This style says that anytime that a <p> is the last item or is followed by another <p> it will have 10px of space below it*/

p+div,
p+table {
    margin-top: 30px;
}


/*This style says that anytime a div or table follows a <p> there will be 30px below the paragraph*/

p+ul {
    margin-top: -5px;
}


/*Pulls <ul> closer to paragraph making text look like it belongs with <p>*/


/*--------------------------------------------------------
	H1 - H6
--------------------------------------------------------*/

h1,
h2,
h3,
h4 {
    margin: 0px;
    padding: 0px;
    font-family: 'PT Sans', sans-serif;
    font-weight: bold;
    color: #6D6E71;
}

@media (max-width: 450px) {
    h1,
    h2,
    h3,
    h4 {
        line-height: 1;
    }
}

h1 {
    font-size: 30px;
    color: #2484b3;
    margin-bottom: 30px;
}

h2 {
    font-size: 26px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 22px;
}

@media (max-width: 450px) {
    h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 22px;
    }
    h4 {
        font-size: 20px;
    }
}

h1.title {
    margin-top: 50px;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    h1.title {
        margin-top: 30px;
    }
}


/*--------------------------------------------------------
	LINKS
--------------------------------------------------------*/

a {
    text-decoration: underline;
    color: #2484b3;
}

a:hover,
a:focus {
    color: ;
}


/*--------------------------------------------------------
	IMAGES, Objects
--------------------------------------------------------*/

img {
    border: 0px;
}


/*--------------------------------------------------------
						HEADER
--------------------------------------------------------*/

#sticky-header {
    background: white;
    height: 85px;
    padding-bottom: 13px;
    /*margin-bottom: 30px;*/
    box-shadow: 2.08px 3.12px 20.8px rgba(0, 0, 0, 0.2);
    filter: progid: DXImageTransform.Microsoft.dropshadow(OffX=2.08, OffY=3.12, Color='#000000');
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 105;
}

#body-container {
    margin-top: 0;
}

#logo-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#logo-col svg {
    position: relative;
    /* top: 38px; */
    display: block;
    max-width: 100%;
    height: auto;
    width: 250px;
}

#sticky-header>.container,
#sticky-header>.container>.row,
#sticky-header>.container>.row>div,
#sticky-header>.container>.row>div>#nav_menu {
    height: inherit !important;
}

@media (max-width: 990px) {
    #logo-col,
    #menu-col {
        display: inline-block;
        float: none;
    }
    #logo-col {
        width: 280px;
        margin-right: 15px;
    }
    #menu-col {
        width: calc(750px - 280px - 25px);
    }
    button#mobile-toggle {
        bottom: calc(50% - 37px / 2) !important;
    }
}

@media (max-width: 767px) {
    #sticky-header {
        height: 85px;
        padding-top: 20px;
    }
    #menu-col {
        width: calc(100vw - 280px - 75px);
    }
    #body-container {
        margin-top: 85px;
    }
    button#mobile-toggle {
        bottom: unset !important;
    }
    #logo-col svg {
        position: relative;
        top: 0px;
        left: -15px;
        max-width: calc( 100% - 22px);
        /*Width of the containing div minus the width of the mobile toggle plus 15px padding*/
        width: 200px;
    }
}


/*----------------------------------Search Bar*/


/*--------------------------------------------------------
					Desktop Navigation
--------------------------------------------------------*/

#nav_menu .navbar-nav {
    position: absolute;
    right: 0;
    bottom: calc(50% - 21px);
}

#nav_menu .navbar-nav>li a {
    color: #2484b3;
    font-family: 'PT Sans', sans-serif;
    text-decoration: none;
    font-size: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
}

#nav_menu .navbar-nav>li:last-of-type a:hover {
    color: #2484b3;
    background-color: white;
    border-radius: 9px;
    border: 1px solid #2484b3;
}

#nav_menu .navbar-nav>li:last-of-type a {
    color: white;
    background-color: #2484b3;
    border-radius: 9px;
    border: 1px solid #2484b3;
}

.nav>li>a:hover,
.nav>li>a:focus {
    background-color: transparent;
    color: #2484b3;
}


/*--------------------------------------------------------
					Mobile Navigation
--------------------------------------------------------*/

#mobileMenuWrapper {
    box-shadow: 2.08px 3.12px 20.8px rgba(0, 0, 0, 0.4);
    filter: progid: DXImageTransform.Microsoft.dropshadow(OffX=2.08, OffY=3.12, Color='#000000');
}


/* All Mobile Menu Links*/

#mobileMenuWrapper #mobile-menu a {
    display: inline-block;
    width: 100%;
    min-height: 32px;
    margin-bottom: 6px;
    background-color: transparent;
    padding-left: 8px;
    padding-top: 10px;
    padding-right: 5px;
    display: inline-block;
    font-size: inherit;
    font-weight: 400;
    color: #333;
    text-decoration: none;
}


/*Top Level Mobile Menu Links*/

#mobileMenuWrapper #mobile-menu>li>a {
    color: #2484b3;
}


/* Mobile Menu Dropdown Only */

#mobileMenuWrapper .mDropdown a {
    padding: 8px;
    margin-bottom: 10px;
}

#mobile-menu>li>ul {
    background-color: rgba(0, 0, 0, .04);
}


/*-------------------------------------toggle*/

button#mobile-toggle {
    width: 37px;
    height: 37px;
    position: absolute;
    right: 0px;
    bottom: 0px;
    border: none;
    border-radius: 4px;
    padding: 10px 5px;
    background-color: white;
    box-shadow: 0px 1.5px 1px rgba(0, 0, 0, 0.3);
}

@media (max-width: 990px) {
    button#mobile-toggle {
        display: inline-block;
    }
}

button#mobile-toggle:focus {
    outline: none;
}

button#mobile-toggle:active {
    box-shadow: 0px -1.5px 0px rgba(0, 0, 0, 0.1);
}

button#mobile-toggle svg * {
    fill: #2484b3;
}


/*--------------------------------end--toggle*/


/*--------------------------------------------------------
	INDEX / MAIN BODY
--------------------------------------------------------*/


/*----------------Slideshow----------*/

#index-slideshow-container {
    padding: 0px;
}

@media (max-width: 767px) {
    #index-slideshow-container {
        /*border-bottom: 1px solid #6D6E71;*/
    }
}

div#index-slideshow-container img {
    width: 100%;
}

#index-slideshow-container .carousel-indicators {
    display: none;
}

.carousel-inner a {
    color: inherit;
}

.carousel-control.left,
.carousel-control.right {
    background-image: none;
    width: 25px;
    top: 25%;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 100px;
    opacity: 1;
    font-family: Arial, sans-serif;
    text-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}

@media (max-width: 767px) {
    .carousel-control.left,
    .carousel-control.right {
        top: 0px;
        font-size: 50px;
    }
}

.carousel-control.right {
    right: 10px;
}

.carousel-control.left:hover,
.carousel-control.right:hover {
    color: #2484b3;
    text-decoration: none;
    text-shadow: none;
}


/*----------------Slideshow Caption----------*/

.carousel-caption {
    top: 50%;
    bottom: 50%;
    right: initial;
    left: 50%;
    width: 100%;
}

@media (max-width: 990px) {
    .carousel-caption {
        top: unset;
        bottom: 0;
        padding-bottom: 0;
    }
}

@media (max-width: 767px) {
    .carousel-caption {
        position: relative;
        padding: 0px;
        text-shadow: none;
    }
}

.carousel-caption p {
    font-size: 33px;
    font-weight: bold;
    background: rgba(35, 31, 32, .5);
    padding: 10px 20px;
    left: -50%;
    position: relative;
    display: block;
    margin: 0;
    line-height: 1.1;
}

.carousel-caption p+p {
    padding-top: 0;
}

@media (max-width: 990px) {
    .carousel-caption p {
        font-size: 25px;
    }
}

@media (max-width: 767px) {
    .carousel-caption p {
        font-size: 20px;
        margin: 0px;
        min-height: 110px;
        color: #6D6E71;
        background: white;
        text-shadow: none;
    }
}


/*----------------End Slideshow------*/


/*----------------------------------Primary-Content*/

#content-boxes-row {
    margin-top: -30px;
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Chrome */
    display: flex;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

@media (max-width: 990px) {
    #content-boxes-row {
        margin-top: 0px;
        display: block;
    }
}

.content-box-container {
    background-color: white;
    box-shadow: 2.08px 3.12px 20.8px rgba(0, 0, 0, 0.2);
    filter: progid: DXImageTransform.Microsoft.dropshadow(OffX=2.08, OffY=3.12, Color='#000000');
    padding: 30px 30px 40px;
    height: 100%;
    /* In browsers supporting Flexbox, this will make all of the columns equal height */
    min-height: 322px;
    /*Fallback for browsers without Flexbox support. This value will have to be updated based on the longest line of content*/
}

@media (max-width: 990px) {
    .content-box-container {
        padding: 30px 0px 0px;
        box-shadow: none;
        min-height: inherit;
    }
}

#content-boxes-row svg {
    margin: 0px auto;
    display: block;
}

.content-box svg * {
    fill: #6D6E71;
}

.content-box:hover svg * {
    fill: #2484b3;
}

.content-box h1 {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    margin: 15px 0px 20px;
}

.content-box:nth-of-type(2) h1 {
    padding-top: 4px;
    /*Adjusts for the size difference in the SVGs*/
}

@media (max-width: 767px) {
    .content-box h1 {
        margin-bottom: 15px;
    }
}

.content-box-container ul {
    padding-left: 10px;
}


/*--------------------------------------------------------
	CSS STYLE FOR INNER PAGES
--------------------------------------------------------*/

#subpage-content {
    min-height: calc(100vh - 319px);
}

#subpage-content .row {
    margin-bottom: 10px;
}

a.button {
    color: #2484b3;
    background-color: white;
    border-radius: 9px;
    border: 1px solid #2484b3;
    display: inline-block;
    font-size: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    min-width: 220px;
    max-width: 100%;
    text-align: center;
    margin-bottom: 20px;
    text-decoration: none;
}

a.button:hover {
    color: white;
    background-color: #2484b3;
}

#subpage-content *+h1,
#subpage-content *+h2,
#subpage-content *+h3,
#subpage-content *+h4 {
    margin-top: 30px;
}

#subpage-content h2,
#subpage-content h3,
#subpage-content h4 {
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    #overview-page img/*Add other pages if it makes sense*/
    {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
    }
}

.important {
    color: #2484b3;
    font-weight: 700;
}

ul.long-list {
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
    -webkit-column-gap: 40px;
    -moz-column-gap: 40px;
    column-gap: 40px;
}

ul.long-list li {
    white-space: nowrap;
}

@media (max-width: 1200px) {
    ul.long-list {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
}

@media (max-width: 990px) {
    ul.long-list {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media (max-width: 767px) {
    ul.long-list {
        -webkit-column-count: inherit;
        -moz-column-count: inherit;
        column-count: inherit;
        overflow-y: scroll;
        max-height: 50vh;
        padding-top: 10px;
        /*padding-bottom: 10px;*/
    }
    ul.long-list::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 10px;
    }
    ul.long-list::-webkit-scrollbar-thumb {
        border-radius: 0px;
        background-color: rgba(109, 110, 113, .2);
        /*-webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);*/
    }
}

ul.long-list-detailed {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 80px;
    -moz-column-gap: 80px;
    column-gap: 80px;
}

@media (max-width: 990px) {
    ul.long-list-detailed {
        -webkit-column-gap: 60px;
        -moz-column-gap: 60px;
        column-gap: 60px;
    }
}

@media (max-width: 767px) {
    ul.long-list-detailed {
        -webkit-column-count: inherit;
        -moz-column-count: inherit;
        column-count: inherit;
        overflow-y: scroll;
        max-height: 50vh;
        padding-top: 10px;
        /*padding-bottom: 10px;*/
    }
    ul.long-list-detailed::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 10px;
    }
    ul.long-list-detailed::-webkit-scrollbar-thumb {
        border-radius: 0px;
        background-color: rgba(109, 110, 113, .2);
        /*-webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);*/
    }
}


/*----------Table Styles----------*/

.table {
    margin-top: 10px;
}

p+.table {
    margin-top: 30px;
}


/*Changes margin-top from 10px to 30px when .table follows a <p>*/

.table em {
    margin-left: -1px;
}


/*Adjusts for the perceived gap with the slanted text*/

.table-striped {
    border-bottom: 1px solid #dddddd;
}

.table>tbody>tr:first-of-type {
    font-weight: 700;
}


/*Table labels row*/

.table img {
    display: block;
    margin: 0px auto;
}

@media (max-width: 450px) {
    .table {
        font-size: 14px;
    }
    .table>tbody>tr>td {
        padding-left: 3px;
        padding-right: 3px;
    }
    .table>tbody>tr>td,
    .table>tbody>tr>th,
    .table>tfoot>tr>td,
    .table>tfoot>tr>th,
    .table>thead>tr>td,
    .table>thead>tr>th {
        line-height: 16px;
        min-width: 49px;
    }
    .table img {
        width: 18px;
        height: auto;
        margin: 0px;
        margin-left: 8px;
    }
    .table ul {
        padding-left: 10px;
    }
    .table li {
        margin-top: 10px;
        list-style-type: none;
    }
    .table li:before {
        content: "\2022";
        font-size: 14px;
        margin-left: -8px;
        margin-right: 3px;
    }
}


/*----------Client Websites Page----------*/


/*----------Responsive Nivo*/

#slider-container-FD6,
#slider_FD6,
.nivoSlider img {
    max-width: 100% !important;
    height: auto !important;
}


/*----------Nivo Controls*/

.nivo-prevNav,
.nivo-nextNav {
    background-image: none !important;
    width: 25px !important;
    top: 25% !important;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 75px;
    font-family: Arial, sans-serif;
    text-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}

.nivo-prevNav:hover,
.nivo-nextNav:hover {
    text-decoration: none;
    color: #2484b3;
    text-shadow: none;
}

.nivo-prevNav {
    left: 10px !important;
}

.nivo-nextNav {
    right: 10px !important;
}

.nivo-prevNav:after {
    content: "‹";
}

.nivo-nextNav:after {
    content: "›";
}


/*----------Slides*/

#slider-container-FD2 {
    margin-top: 30px !important;
}

@media (max-width: 450px) {
    #slider-container-FD2 {
        margin-top: 20px !important;
    }
}

.nivoSlider img {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
}


/*----------Testimonials Page----------*/

#testimonials .review-site-wrapper {
    position: absolute;
    top: 30px;
    right: 15px;
}

@media (max-width: 990px) {
    #testimonials .review-site-wrapper {
        top: 0px;
        right: 15px;
    }
}

@media (max-width: 690px) {
    #testimonials .review-site-wrapper {
        position: relative;
        left: -10px;
        margin-bottom: 10px;
    }
}

#testimonials img.review-img {
    width: auto;
    height: 70px;
    margin-left: 10px;
    display: inline-block;
}

#testimonials .testimonial-wrapper {
    /*border-top: 1px solid #eee;*/
    border-bottom: 1px solid #eee;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}


/*#testimonials .testimonial-wrapper:nth-of-type(2) {
	margin-top: 50px;
}*/

#testimonials .testimonial-text {
    padding-left: 0px;
}

#testimonials .testimonial-image {
    padding-right: 0px;
    max-height: 180px;
    overflow-y: hidden;
    float: right;
}

#testimonials .testimonial-image img {
    width: 100%;
}

@media (max-width: 767px) {
    #testimonials .testimonial-image {
        width: 25%;
        margin-left: 10px;
        margin-bottom: 20px;
    }
}

@media (max-width: 500px) {
    #testimonials .testimonial-image {
        float: left;
        width: 100%;
    }
    #testimonials .testimonial-image img {
        width: 150px;
        margin: 5px auto;
        left: -15px;
        position: relative;
    }
    #testimonials .testimonial-text {
        width: 100%;
    }
}

@media (max-width: 500px) {
    #testimonials .testimonial-image img {
        /*display: none;*/
    }
}

#testimonials .testimonial-author {
    clear: both;
    margin-top: 20px;
    font-weight: 600;
    color: #6D6E71;
}

a.img-links {
    text-decoration: none;
}


/*----------Templates Page----------*/


/*#templates .row{
	margin-bottom: 45px;
}
@media (max-width: 767px) {
	#templates .row{
		margin-bottom: 0px;
	}	
	#templates .col-md-3{
		margin-bottom: 20px;
	}
}
#templates img{
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 5px;
}*/


/*----------Description Pages----------*/


/*#template-descriptions img{
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 5px;
}
@media (max-width: 990px){
	#template-descriptions img{
		margin-bottom: 20px;
	}
}
@media (max-width: 767px){
	#template-descriptions img{
		max-height: 420px;
		margin: 0px auto 20px;
	}
}
#template-descriptions #description p {
	margin-bottom: 20px;
}
#template-descriptions #description a:last-of-type {
	display: block;
}*/


/*----------Contact Page----------*/

@media (max-width: 767px) {
    label[for="contactName"],
    label[for="contactPhone"],
    label[for="contactEmail"] {
        display: none;
    }
}


/*--------------------------------------------------------
	FOOTER
--------------------------------------------------------*/

#footer-row {
    color: ;
    position: relative;
    bottom: 0px;
    width: 100%;
    padding: 70px 0px 20px;
    left: 15px;
}

#footer-row p {}

#footer-row a {
    color: #2484b3;
}


/*--------------------------------------------------------
	UTILITIES
--------------------------------------------------------*/


/*----------Nivo Slider----------*/

#slider-container-FD6,
#slider_FD6,
#slider_FD6 img {
    max-width: 100% !important;
    height: auto !important;
}