/*
Theme Name:   Divi-C2IT
Theme URI:    http://c2itconsulting.net
Description:  Mooresville Child Theme
Author:       C2IT
Author URI:   http://c2itconsulting.net
Template:     Divi
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  Divi-C2IT
*/
#et-top-navigation {
	padding-left: 0px!important;
}
@media only screen and (min-width: 981px) {
	#logo {
		max-height: 45%;
	}
}
@media only screen and (min-width: 1025px) {
	#logo {
		max-height: 63%;
	}
}
.nav li li {
	line-height: 1.4em;
}
	/*
  	Flaticon icon font: Flaticon
  	Creation date: 19/04/2018 17:15
  	*/

@font-face {
  font-family: "Flaticon";
  src: url("./Flaticon.eot");
  src: url("./Flaticon.eot?#iefix") format("embedded-opentype"),
       url("./Flaticon.woff") format("woff"),
       url("./Flaticon.ttf") format("truetype"),
       url("./Flaticon.svg#Flaticon") format("svg");
  font-weight: normal;
  font-style: normal;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: "Flaticon";
    src: url("./Flaticon.svg#Flaticon") format("svg");
  }
}

[class^="flaticon-"]:before, [class*=" flaticon-"]:before,
[class^="flaticon-"]:after, [class*=" flaticon-"]:after {   
  font-family: Flaticon;
  font-size: 60px;
font-style: normal;
padding: 20px;
margin-left: 20px;
border: 3px solid #fff;
border-radius: 50%;
}

.flaticon-computer:before { content: "\f100"; }
.flaticon-commerce:before { content: "\f101"; }
.flaticon-book-3:before { content: "\f102"; }
.flaticon-vintage:before { content: "\f103"; }
.flaticon-book-2:before { content: "\f104"; }
.flaticon-book-1:before { content: "\f105"; }
.flaticon-book:before { content: "\f106"; }
.flaticon-school-5:before { content: "\f107"; }
.flaticon-school-4:before { content: "\f108"; }
.flaticon-school-3:before { content: "\f109"; }
.flaticon-school-2:before { content: "\f10a"; }
.flaticon-school-1:before { content: "\f10b"; }
.flaticon-nature-1:before { content: "\f10c"; }
.flaticon-landscape:before { content: "\f10d"; }
.flaticon-nature:before { content: "\f10e"; }
.flaticon-bridge:before { content: "\f10f"; }
.flaticon-fountain:before { content: "\f110"; }
.flaticon-school:before { content: "\f111"; }
.flaticon-bank:before { content: "\f112"; }

h4.flaticon {
	margin-top: 25px;
}
a.flaticon {
	color: #ffffff;
	cursor: pointer;
}
.zoom:hover {
	transform: scale(1.1);
	cursor: pointer;
}
.zoom a {
  color: #ffffff;
}
#tribe-events-pg-template, .tribe-events-pg-template {
	margin: 10px auto;
}

/* Contact Form 7 styling */
.wpcf7-form-control.wpcf7-text, .wpcf7-form-control.wpcf7-select, .wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 16px;
  border-width: 0;
  color: #999;
  background-color: #eee;
  font-size: 14px;
  -webkit-appearance: none;
}
input.wpcf7-form-control.wpcf7-submit {
  width: 130px;
  padding: 10px;
  font-size: 18px;
  border-radius: 5px;
  background-color: transparent;
  color: #1b4fbc;
  border: 2px solid #1b4fbc;
  float: right;
}

/* Style the Main in Motion tab in the nav */
.menu-item-4125 a {
	font-weight: 1000;
}

/* Style the custom recent announcements shortcode */
.recent-announcements {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
	gap: 1.5rem;
}
.recent-announcements article.announcement {
	flex: 0 1 calc(33.333% - 1rem);
	max-width: calc(33.333% - 1rem);
	height: fit-content;
    box-sizing: border-box;
    padding: 19px;
    border: 1px solid #d8d8d8;
    background-color: #fff;
}
.announcement-title a {
    font-size: 18px;
}
@media (max-width: 980px) {
    .recent-announcements article.announcement {
        flex: 0 1 calc(50% - 1rem);
		max-width: calc(50% - 1rem);
    }
}
@media (max-width: 768px) {
    .recent-announcements article.announcement {
        flex: 0 1 100%;
		max-width: 100%;
    }
}