@font-face {
    font-family: dinbold;
    src: url(http://www.semacomunicazione.it/DINPro-Bold.ttf);
}
@font-face {
    font-family: dinreg;
    src: url(http://www.semacomunicazione.it/DINPro-Regular.ttf);
}

@font-face {
    font-family: avblack;
    src: url(http://www.semacomunicazione.it/avblack.ttf);
}

body, input, textarea, select {font-family:dinreg !important;}
h1, h2, h3, h4, h5, h6 {
  font-family: avblack !important;
}

.et_pb_bg_layout_dark, .et_pb_bg_layout_dark h1, .et_pb_bg_layout_dark h2, .et_pb_bg_layout_dark h3, .et_pb_bg_layout_dark h4, .et_pb_bg_layout_dark h5, .et_pb_bg_layout_dark h6{
  color: #FAFBF6 !important;
}

#logo {
  margin-left: -9%;
  max-height:69%;
}

.header-content img {
  left: 20px;
  position: absolute;
 width:500px;
 margin-top:-20px;
}

.et_pb_row {
  width: 90%;
}

.rightmenubg {height:54px;}

.mobile_menu_bar::before {
    color: #86B1D2 !important;
    background: #1E2936;
    font-size: 42px;
    padding: 37px 3px 28px 2px;
    border-left: 7px solid #86B1D2;
    display:none;}

.menufont {
  background:rgb(30, 41, 54) none repeat scroll 0 0;
  color: rgb(255, 255, 255);
  display: block;
  font-family: dinbold;
  font-size: 30px;
  height: 70px;
  margin-top: -20px;
  padding: 37px 24px 29px 18px;
  width: 200px;
  border-left: 7px solid #86B1D2;
}
.et_toggle_slide_menu::after {
display:none;
}

.et_pb_slide_menu_active .et_toggle_slide_menu::before {
  opacity: 1;
}
.titles::before, .titles::after {
    background-color: #335E7F;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 20%;
}
.titles::after {
    left: 0.5em;
    margin-right: -50%;
}

.titles::before {
    margin-left: -50%;
    right: 0.5em;
}
.titles {
    margin-bottom: 30px;
    text-transform: uppercase;
}
.et_pb_blurb_container .fa {
  border: 3px solid #FAFBF6;
  border-radius: 10%;
  font-size: 34px;
  height: 90px;
  margin-bottom: 20px;
  padding: 25px;
  width: 90px;
  background:#335E7F;
  color:#FAFBF6;
  transition:all 200ms ease-out;
}
/*.et_pb_blurb_container .fa:hover {
  background: rgb(134, 177, 210);
  border: 6px double;
  font-size: 32px;
  padding: 22px;
}*/

.et_pb_blurb_content {
  height: 230px;
  padding: 30px;
}
.et_pb_blurb h4 {
  font-size: 18px;
  margin-bottom: 20px;
}

.rightborder {
  border-right: 5px solid;
  font-size: 17px;
  line-height: 17px;
  padding-right: 20px;
  text-shadow: 1px 1px 2px rgb(0, 0, 0);
  font-weight: 800;
  white-space: pre-wrap;
  margin-top:40px;
}

.titlelabel {
  border: 10px solid rgb(250, 250, 246);
  margin-top: -80px;
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.1);
  position:relative !important;
  z-index:999;
}

.et_pb_team_member_image img {
  border: 6px solid rgb(255, 255, 255);
  border-radius: 10%;
  box-shadow: 1px 4px 5px rgba(0, 0, 0, 0.1);
  max-width: 210px;
}

.et_pb_team_member h4 {
  color: #86B1D2;
  font-size: 18px;
  padding-top: 10px;
  text-align: center;
}

.et_pb_member_position {
  color: #999;
  font-size: 16px;
  font-style: italic;
  text-align: center;
}
.et_pb_member_position::before {
  color: rgb(233, 232, 227);
  content: "•";
  display: block;
  font-size: 28px;
  font-style: normal;
  margin-bottom: -6px;
}

.biography {
  border-left: 4px solid rgb(233, 232, 227);
  font-size: 16px;
  padding-left: 15px;
  padding-right: 7%;
}

.et_pb_column_1_2 .et_pb_map, .et_pb_column_3_8 .et_pb_map {
  height: 380px;
}

.linkportfolio li {

  display: inline-table;
  margin-bottom: 2px;
}

.linkportfolio a:hover {
  background: #86B1D2;
width:220px;
}
.linkportfolio a {
  background: rgb(51, 94, 127) none repeat scroll 0 0;
  color: rgb(255, 255, 255);
  display: inline-table;
  height: 330px;
  padding: 20px;
  transition: all 200ms ease 0s;
  width: 200px;
}

 @media screen and (max-width: 1080px) {
    .menufont {
  display: none;
}

.mobile_menu_bar::before {
display:block;
background:transparent;
color:#86B1D2 !important;
}

.titles::before, .titles::after {
  display: none;
}

.header-content img {
  left: 20px;
  position: relative;
}
.titlelabel {
  margin-top: 0px;
}
.linkportfolio a {
  height: 180px;
}
}

 @media screen and (max-width: 480px) {

.rightborder {border-right:0px solid;padding-right:0px;text-align:left;}

.biography {
  border-left: 4px solid rgb(233, 232, 227);
  font-size: 16px;
  padding-left: 15px;
  padding-right: 2%;
}

.linkportfolio a {
  height: 200px;
  width:180px;
}

}