.fit-vids-style {
    display: none;
}
.se__component-edit {
    display: none;
}
iframe {
    max-width:100%;
}
img {
    max-width:100%;
}
td { 
    padding: 10px 10px 0 10px;
} 
 
.editable__container ul {
    padding-left: 35px;
    list-style-position: outside !important;
}

.home-cta {
    background: #163289;
    border: 2px solid #919191;
    padding: 16px 10px;
    border-radius: 10px;
    color: #ffffff;
    transition: all 0.5s ease-in-out;
    font-family: "lato-black", "Arial Black", Arial, Helvetica, sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    width: 200px;
    display: block;
    outline: none;
    box-shadow: 0px -2px 18px 0px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin: auto;
    text-decoration: none;
}

.home-cta:hover {
    background: #ffffff;
    color: #163289;
    text-shadow: none !important;
    border: 2px solid #163289;
}


/* .slider__text {
    margin: 0 auto;
    position: relative;
    top: 0;
    -ms-transform: translateY(-50%);
    transform: unset;
} */


/* CENTERED SLIDER TEXT */
.slider__text {
    width: 100%;
    padding: 10% 10px;
    text-shadow: 1px 1px 1px #000;
}

/* NAV ADJUSTMENT */
.navigation:not(.mm-menu) .navigation__list > .navigation__item {
    min-width: 10%;
}

/* HIDE HOME LOCATION INFO AND SLIDER CONTROLS */
.wrap__contacts {
    display: none;
}
.bx-controls.bx-has-pager.bx-has-controls-direction {
    display: none;
}
.bx-controls.bx-has-pager {
    display: none;
}

/* HOURS ONLY*/
.column__left {
    display: none;
}
.two__colums .container {
    justify-content: center;
}
.hours__title, .hours__caption {
    text-align: center;
}


body {
 font-size: 16px;   
}
p {
    font-size: 16px;
    margin: 0 0 15px;
}

.featuredblock__description {
    text-align: center;
}

/* .wrap__header--upper, .wrap__header--holder .wrap__locations.col, .home-layout .wrap__socialmedia.col, .inner-layout .wrap__header--bottom .wrap__socialmedia, 
.contacts-layout .wrap__header--bottom .wrap__socialmedia, .wrap__footer .wrap__logoHeader, .wrap__socialmedia {
    display: none;
} */

/* 
COLOR GUIDE
Main color: #919191
Main color light shade: #7e7e7e
Main color dark shade: #646464
Main color darkest shade: #3a3a3a
Accent color 1: #163289
Text box background color (normally white): #ebede4
*/
/* HORIZONTAL RULE */
hr {
    border-width: 0 0 2px;
    border-color: #163289;
    border-style: solid;
}

/* HEADER AND MENU */
.wrap__header--upper {
    background: #646464;
    display: none;
}
.wrap__header--top {
    background: linear-gradient(to bottom, #919191 0%, #919191 21%, #919191 90%, #919191 100%);
}
.inner-layout .wrap__header--bottom:before, .contacts-layout .wrap__header--bottom:before {
    background: #dbdbdb;
}
.navigation:not(.mm-menu) .navigation__list > .navigation__item:hover a, .navigation:not(.mm-menu) .navigation__list > .navigation__item.active a {
    background: #7e7e7e;
}
.navigation:not(.mm-menu) .navigation__list > .navigation__item {
     border-left: none;
     border-right: none;
}
/* BUTTONS */
.button, .btn.submit, .featuredblock__button, .slider__button a {
    /* background: linear-gradient(to bottom, #7e7e7e 0%, #919191 35%, #919191 83%, #7e7e7e 100%); */
    background: #163289;
    border: 1px solid #919191;
}
.button:hover, .btn.submit:hover, .featuredblock__button:hover, .slider__button a:hover {
    color: #163289;
    text-shadow: none !important;
}
/* SLIDESHOW */
.bx-wrapper .pause-slideshow span, .bx-wrapper .play-slideshow span {
    color: #919191;
}

.bx-wrapper .pause-slideshow:hover, .bx-wrapper .pause-slideshow.active, .bx-wrapper .play-slideshow:hover, .bx-wrapper .play-slideshow.active {
    background: #919191;
}
/* FEATURED BLOCKS */
.featuredblock__container:hover {
    background: #646464;
    border-color:#919191;
}
/* FOOTER */
.wrap__footer {
    background: #1e1e1e;
}
/* FORMS */
.wrap__form.home:before, .wrap__form.body:before, .wrap__featuredblocks:before {
    background: #1a1a1a url(../img/block-pattern.png);
}

.wrap__form.body:before {
    background: #163289 url(../img/block-pattern.png);
}

.page__title, .staff__title, .testimonials__title, .map__title, .hours__title {
    color: #000000 !important;
}
input[type="color"], .form .form-input-uploadFile .fileUpload + label, input[type="date"], .form .form-input-uploadFile .fileUpload + label, input[type="datetime"], .form .form-input-uploadFile .fileUpload + label, input[type="datetime-local"], .form .form-input-uploadFile .fileUpload + label, input[type="email"], .form .form-input-uploadFile .fileUpload + label, input[type="month"], .form .form-input-uploadFile .fileUpload + label, input[type="number"], .form .form-input-uploadFile .fileUpload + label, input[type="password"], .form .form-input-uploadFile .fileUpload + label, input[type="search"], .form .form-input-uploadFile .fileUpload + label, input[type="tel"], .form .form-input-uploadFile .fileUpload + label, input[type="text"], .form .form-input-uploadFile .fileUpload + label, input[type="time"], .form .form-input-uploadFile .fileUpload + label, input[type="url"], .form .form-input-uploadFile .fileUpload + label, input[type="week"], .form .form-input-uploadFile .fileUpload + label, input:not([type]), .form .form-input-uploadFile .fileUpload + label, textarea, .form .form-input-uploadFile .fileUpload + label, .hasDatepicker, select, .articles .pagination--mobile .pagination-select, .articles__posts .pagination--mobile .pagination-select, .blog__posts .pagination--mobile .pagination-select {
    border: 1px solid #919191;
}


/*ACCORDION SECTIONS*/
.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  border-bottom: 1px solid #f5efe6;
}
.flex-accordion {
    display: flex;
    justify-content: space-between;
    align-items: center;
}    
/*END*/









 /*  RESPONSIVE GRID  */
.section {
    clear: both;
    padding: 0px;
    margin: 0px;
}

/*  COLUMN SETUP  */
.column {
    display: block;
    float:left;
    margin: 0 1%;
    border-right: none;
    border-left: none;
    background: none;
}

.column:first-child { margin-left: 0; }

/*  GROUPING  */
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }
/*  GRID OF TWO  */
.span_2_of_2 {width: 100%;}
.span_1_of_2 {width: 48.5%;}
/*  GRID OF THREE  */
.span_3_of_3 { width: 100%; }
.span_2_of_3 { width: 65.33%; }
.span_1_of_3 { width: 31.66%; }
/*  GRID OF FOUR  */
.span_4_of_4 { width: 100%; }
.span_3_of_4 { width: 73.75%; }
.span_2_of_4 { width: 48.5%; }
.span_1_of_4 { width: 23.25%; }
/*  GRID OF FIVE  */
.span_5_of_5 { width: 100%; }
.span_4_of_5 { width: 78.8%; }
.span_3_of_5 { width: 58.6%; }
.span_2_of_5 { width: 38.4%; }
.span_1_of_5 { width: 18.2%; }
/*  GRID OF SIX  */
.span_6_of_6 { width: 100%; }
.span_5_of_6 { width: 82.06%; }
.span_4_of_6 { width: 65.13%; }
.span_3_of_6 { width: 48.2%; }
.span_2_of_6 { width: 31.26%; }
.span_1_of_6 { width: 14.33%; }
/*  GRID OF SEVEN  */
.span_7_of_7 { width: 100%; }
.span_6_of_7 { width: 85.48%; }
.span_5_of_7 { width: 70.97%; }
.span_4_of_7 { width: 56.45%; }
.span_3_of_7 { width: 41.94%;  }
.span_2_of_7 { width: 27.42%; }
.span_1_of_7 { width: 12.91%; }


/*  MEDIA QUERIES */

@media only screen and (min-width: 1px) {
 .hidden--s {
    display: block !important;
}   
}

@media only screen and (max-width: 1200px) {
 .slider__text {
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);   
 }
 .logo {
    margin-top: 0;
}
}

@media only screen and (max-width: 768px) {
    .column {   margin: 1% 0 1% 0%; }
    .span_2_of_2, .span_1_of_2 { width: 100%; }
    .span_3_of_3, .span_2_of_3, .span_1_of_3 { width: 100%; }
    .span_1_of_4, .span_2_of_4, .span_3_of_4, .span_4_of_4 { width: 100%; }
    .span_1_of_5, .span_2_of_5, .span_3_of_5, .span_4_of_5, .span_5_of_5 { width: 100%; }
    .span_1_of_6, .span_2_of_6, .span_3_fo_6, .span_4_of_6, .span_5_of_6, .span_6_of_6 { width: 100%; }
    .span_1_of_7, .span_2_of_7, .span_3_of_7, .span_4_of_7, .span_5_of_7, .span_6_of_7, .span_7_of_7 { width: 100%; }
}
  
@media only screen and (max-width: 767px) {
    .wrap__slider.top .slider__item:before {
    background: unset;
}
 .slider__text {
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}   

.wrap__header--top .wrap__socialmedia.col {
    display: none;
}

.slider__button {
    max-width: 210px;
}
.logo__left .logo__summary {
    text-align: center;
}
}

@media only screen and (max-width: 520px) {
 .wrap__header--top .container {
    flex-direction: column;
}   
.wrap__header--holder .wrap__logoHeader {
    margin: 0 40px;
}
.copyright__item a {
    line-height: 1.3;
}
.page__title, .staff__title, .testimonials__title {
    font-size: 26px;
}
.logo__title {
    font-size: 19px;
}
img.logo__image {
    max-height: initial !important;
    height: auto !important;
    width: 200px !important;
}
}

.gray {
	background-color: #e5e5e5;
	padding: 20px;
	border-radius: 15px;
}

.blue {
	background-color: #afe3f8;
	padding: 20px;
	border-radius: 15px;
}
.center-box {
	justify-content: center !important;
	align-items:center;
}


/***FLEXBOX GALLERY***/
.flex-gallery {
    display:flex;
    justify-content:space-evenly;
    align-items:center;
    /* flex-wrap:wrap; */
}

.flex-badge {
    padding:10px;
}
/***END***/

/***FLEX SECTION***/
.flex-container {
	display:flex;
	justify-content: space-evenly;
}

.flex-item {
	width: 45%;
	margin:10px;
}

@media (max-width:768px) {
	.flex-container {
        flex-direction:column;
    }
    .flex-item {
		width: 100%;
	}
	/* .flex-item.gray {
		padding: 20px 5px;
	} */
}

@media (max-width: 650px) {
	.flex-gallery {
		flex-wrap: wrap;
		flex-direction: column;
    	align-items: flex-start;
	}
	.flex-badge {
		padding: 0;
	}
	.flex-badge ul {
		margin: 0 0 0;
	}
}