@font-face {
  font-family:century;
  src: url('../fonts/centgoth-webfont.ttf');
}

@font-face {
  font-family:din;
  src: url('../fonts/DINComp-Medium.ttf');
}
@font-face {
  font-family: din-light;
  src: url('../fonts/DINComp-Light.ttf');
}

@font-face {
  font-family:garamond;
  src: url('../fonts/AdobeGaramondPro.ttf');
}

@font-face {
  font-family:lato-light;
  src:url('../fonts/Lato-Light.ttf');
}

@font-face {
  font-family:lato;
  src:url('../fonts/Lato-Regular.ttf');
}

@font-face {
  font-family:lato-bold;
  src:url('../fonts/Lato-Bold.ttf');
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'garamond' !important;
}
.large-12.columns {
  padding: 0;
}
article.node-webform .body p {
  margin-bottom: 0;
}
article.node-webform form {
  margin-top: 25px;
}

#node-16 .row.section {
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}
.block-views-education-blocks-list-block {
  margin-top: 28px;
}

.section-contact .sidebar-second.columns {
  padding-top: 155px;
}
.section-contact .sidebar-second.columns .block p {
  margin-bottom: 25px;
}
.section-contact .sidebar-second.columns .block:first-of-type p {
  padding: 7px 0 7px 50px;
}
.section-contact .sidebar-second.columns .block p:nth-of-type(1) {
  /*margin-bottom: 0;*/
  background: url("../images/gavina-contact-icons.png") no-repeat 5px 0px;
}
.section-contact .sidebar-second.columns .block p:nth-of-type(2) {
  /*margin-bottom: 0;*/
  background: url("../images/gavina-contact-icons.png") no-repeat 5px -87px;
}
.section-contact .sidebar-second.columns .block p:nth-of-type(3) {
  margin-bottom: 0;
  background: url("../images/gavina-contact-icons.png") no-repeat 5px -188px;
}
.section-contact .sidebar-second.columns .block p:nth-of-type(4) {
  margin-bottom: 0;
  /*background: url("../images/gavina-contact-icons.png") no-repeat 5px -188px;*/
  padding: 0 0 0 50px;
}
.section-contact .sidebar-second.columns .block {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #F9EFE2;
}
.section-contact .sidebar-second.columns .block:first-of-type {
  margin-top: 0;
  border: none;
}

.webform-client-form .form-item label {
  display: inline-block;
  width: 125px;
  vertical-align: top;
}
.webform-client-form .form-item input,
.webform-client-form .form-item .form-select {
  width: 400px;
  display: inline;
  height: 25px;
}
.webform-client-form .form-item .form-select {
  padding: 0 10px;
}
.webform-client-form .form-item .form-textarea-wrapper {
  width: 400px;
  display: inline-block;
  vertical-align: top;
  margin-left: 15px;
}
.webform-client-form .form-item textarea {
  height: 150px;
}
.webform-client-form .form-item label.option {
  width: 70px;
}
.webform-client-form .form-item input.form-radio,
.webform-client-form .form-item input.form-checkbox {
  width: 30px;
}
.webform-client-form button.form-submit {
  margin-left: 442px;
  color: #FFFFFF;
  background: #C2001B;
  padding: 6px 28px;
  font-size: 12px;
  border-radius: 0;
  display: block;
  /*float: right;*/
  /*margin-right: 20px;*/
}

.block-views-education-blocks-list-block .views-row {
  display: block;
  float: left;
  position: relative;
  margin: 0 59px 40px 0;
}
.block-views-education-blocks-list-block .views-row .views-field-field-image img {

}
.block-views-education-blocks-list-block .views-row:nth-of-type(3n+3) {
  margin-right: 0;
}
.block-views-education-blocks-list-block .views-row .views-field-nothing a {
  position: absolute;
  top: 0px;
  left: 0px;
  font-size: 35px;
  display: none;
  font-family:garamond;
  text-transform: uppercase;
}
.block-views-education-blocks-list-block .views-row:hover .views-field-nothing a {
  display: inherit;
  background: url("../images/gavina-ed-bg.png") repeat;
  padding:113px 68px;
}
.block-views-education-blocks-list-block .views-field-title {
  text-align: center;
  display: block;
  padding-top: 25px;
}
.block-views-education-blocks-list-block .views-field-title a {
  font-size: 24px;
  letter-spacing: 2px;
  padding-bottom: 15px;
}
.block-views-education-blocks-list-block td:hover .views-field-title a {
  border-bottom: 1px solid #411F1F;
}


/*education grid display*/

.view-education-blocks-list td {
  width: 360px;
  height: 355px;
  overflow: hidden;
  display: inline-table;
 /* margin-right: 40px;*/
}

.view-education-blocks-list td .views-field-nothing {
  position: relative;
  text-align: center;
  width: 100%;
  margin-top: -260px;
  height: 260px;
  display:none;
  background: url("../images/gavina-ed-bg.png") repeat;
  width:360px;
  overflow:hidden;
}

.view-education-blocks-list td:hover .views-field-nothing {
  display:block;
  width:360px;
  height:260px;
  overflow:hidden;
}

.view-education-blocks-list td .views-field-nothing a {
  font-size: 35px;
  font-family:garamond;
  text-transform: uppercase;
  position:relative;
  top:40%;
}
.elementor-column-gap-default > .elementor-column > .elementor-element-populated {
	padding: 0;
}
.custom-image-hover::before {
	content: "";
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0);
	z-index: 1;
    pointer-events: none;
    transition: all 0.15s ease-in-out 0s;
    opacity: 0;
}
.block-views-education-blocks-list-block div:hover .views-field-title a {
	border-bottom: 1px solid #411F1F;
}
.custom-image-hover:hover::before {
    opacity: 1;
	background: #411f1fde;
}
.custom-image-hover::after {
    content: "Learn more";
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    align-items: center;
    justify-content: center;
    color: #c68039;
    font-weight: bold;
    display: flex;
    font-size: 35px;
    font-family: garamond;
    text-transform: uppercase;
    transition: all 0.25s ease-in-out 0s;
    z-index: 2;
    opacity: 0;
}
.custom-image-hover:hover::after {
    opacity: 1;
}
.custom-image-hover a {
	display: block !important;
}
