/*
    mobile.css
*/

@media ( max-width: 767px) {

  body {
    background-color: rgb(249,249,249);
    background-image: url('../images/back.png');
    font-family: 'Comfortaa', cursive;
    color: #333333;
  }

  img {
    height: 100%;
    width: auto;
  }

  /* -- [ MAIN ] ------------------------------------------------------------ */
  .main {
    width: 100%;
    margin: auto;
    box-shadow: 0px 0px 17px 0px rgba(119,119,119,0.5);
  }

  /* -- [ TOPBAR ] ---------------------------------------------------------- */
  .topbar {
    border-bottom: 1px solid rgb(255,255,255);
  }

  .topbar_wrapper {
    width: 100%;
    height: 100%;
    margin: auto auto 50px auto;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
  }

  .topbar_logo {
    width: 100%;
    height: 100%;
    margin: 50px 0 10px 0;
    display: flex;
      display: -webkit-flex;

      align-items: center;
      -webkit-align-items: center;
      justify-content: center;
      -webkit-justify-content: center;
      flex-direction: column;
      -webkit-flex-direction: column;
  }

  .topbar_logo img {
    max-height: 200px;
  }

  .phones {
      width: 100%;
      font-size: 25px;
    color: rgb(255,255,255);
    padding: 15px 0 15px 0;
    text-align: center;

      display: flex;
      display: -webkit-flex;

      align-items: center;
      -webkit-align-items: center;
      justify-content: center;
      -webkit-justify-content: center;
      flex-direction: column;
      -webkit-flex-direction: column;
  }

  .phones a {
        width: 80%;
        margin: 0 auto 15px auto;
        text-align: center;
        border: 1px solid #ffffff;
        padding: 30px 0 30px 0;
    }

  .vertical_line {
    height: 100%;
    margin-left: 5px;
    margin-right: 10px;
    margin-top: 25px;
    border-right: 2px solid rgb(255,255,255);
  }

  .topbar_title {
    font-size: 25px;
    color: rgb(255,255,255);
    padding: 15px 0 15px 0;
    text-align: center;
    width: 80%;
    margin: auto;
  }

  .topbar_social {
    width: 140px;
    height: 100%;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: flex-end;
    -webkit-justify-content: flex-end;
    display: none;
  }

  .social {
    width: 40px;
    height: 40px;
    margin-left: 5px;
    background-position: center;
    background-size: cover;
  }

  .facebook {
    background-image: url('../images/facebook.png');
  }

  .googleplus {
    background-image: url('../images/googleplus.png');
  }

  .linkedin {
    background-image: url('../images/linkedin.png');
  }

  /* -- [ _CTABAR ] --------------------------------------------------------- */
  ._ctbar {
    width: 100%;
    display: flex;
    display: -webkit-flex;
  }

  ._ctbar_module {
    position: relative;
    width: 0;
    flex: auto;
    -webkit-flex: auto;
    background-color: rgb(249,249,249);
  }

  ._ctbar_module_button {
    background-image: url('../images/arrow_left.png');
    height: 50px;
    width: 50px;
    position: absolute;
    top: 0;
    right:0;
    cursor: pointer;
    display: none;
  }

  ._module_button {
    background-image: url('../images/arrow_right.png');
    width: 50px;
    height: 50px;
    position: absolute;
    left: 0;
  }

  .ctbar_form {
    width: 100%;
    box-sizing: border-box;
    padding:50px 50px 50px 50px;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
    align-items: center;
    -webkit-align-items: center;
    opacity: 0;
  }

  .ctbar_media {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
  }

  .ctbar_media iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

  .center_form {
    text-align: center;
  }

  .form_title {
    color: rgb(77,77,77);
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 10px;
  }

  input {
    font-family: 'Comfortaa', cursive;
  }

  textarea {
    font-family: 'Comfortaa', cursive;
    resize: vertical;
  }

  .form_input {
    width: 100%;
    margin-top: 8px;
    box-sizing: border-box;
    padding: 10px 15px 10px 15px;
    border-radius: 2px;
    border: 0;
  }

  .form_button {
    margin-top: 5px;
    border: 0;
    width: 100%;
    background-color: #efad4d;
    box-sizing: border-box;
    padding: 10px 15px 10px 15px;
    border-radius: 2px;
    color: rgb(255,255,255);
    cursor: pointer;
  }

  ._ctbar_foto {
    position: relative;
    width: 100%;
    flex: auto;
    -webkit-flex: auto;
    background-position: center;
    background-size: cover;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    padding: 100px 0 100px 0;
  }

  .ctbar_slogan {
    width: 80%;
  }

  .ctbar_h1 {
    width: 100%;
    text-align: center;
    font-size: 36px;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
  }

  .ctabar_hr {
    width: 30%;
    margin: 25px auto 25px auto;
    border-bottom: 1px solid;
  }

  .ctbar_h2 {
    width: 100%;
    text-align: center;
    font-size: 24px;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
  }

  .but_row {
    text-align: center;
  }

  .call_to_button {
    background-color: red;
    display: inline-block;
    color: rgb(255,255,255);
    padding: 20px 50px 20px 50px;
    margin-top: 50px;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
  }

  .call_to_button_site {
    background-color: red;
    display: inline-block;
    color: rgb(255,255,255);
    padding: 20px 50px 20px 50px;
    margin-top: 50px;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
  }
  /* -- [ BOTTOMBAR ] ------------------------------------------------------- */
  .chi_siamo {
    position: relative;
    width: 100%;
    background-color: rgb(255,255,255);
  }

  .chi_siamo_wrapper {
    padding: 0 0 50px 0;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    width: 90%;
    margin: auto;
  }

  .content_chi {
    width: 100%;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
  }

  .ctbar_space {
    height: 25px;
    background-color: transparent;
  }

  .chi_siamo_title {
    font-size: 32px;
    margin: 50px 0 10px 0;
  }

  /* -- [ REASON ] ---------------------------------------------------------- */
    .allreasons{
	  width: 100%;
    
  }
  .reason {
	   width: 98%;

  }

  .reason_line {
    width: 98%;
    height: 2px;
  }

  ._line {
    width: 98%;
    height: 2px;
  }

  .reason_title_row {
    width: 98%;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
  }

  .arrow_down {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 30px solid;
  }

  .reason_content {
    width: 90%;
	height: 95%;
    padding: 50px 0 50px 0;
    margin: auto;
  }

  .reason_content_title {
    text-align: center;
	height: 49%;
    font-size: 32px;
  }

  .title_wrapper {
    display: inline-block;
	height: 98%;
  }

  .accaerre {
    width: 80%;
    height: 0;
    border-bottom: 1px solid rgb(128,128,128);
    margin: 20px auto 0 auto;
  }

  .reason_wrapper {
    padding: 50px 0px 50px 0px;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
  }

  .wrapper_text {
    width: 100%;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
  }

  ._text {
    color: rgb(153,153,153);
    line-height: 24px;
    font-size: 16px;
    text-align: justify;
  }

  ._button {
    padding: 10px 25px 10px 25px;
    color: rgb(255,255,255);
    margin-top: 25px;
    display: inline-block;
    border-radius: 2px;
    cursor: pointer;
  }

  .wrapper_space {
    height: 25px;
    background-color: transparent;
  }

  .wrapper_img {
    width: 100%;
    background-size: cover;
    background-position: center;
    min-height: 300px;
  }

  /* -- [ FOOTER ] ---------------------------------------------------------- */
  .footer_container {
    width: 100%;
    background-color: rgb(47,47,47);
  }

  .footer_top {
    width: 100%;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    align-items: center;
    -webkit-align-items: center;
  }

  .footer_top_left {
    order: 2;
    -webkit-order: 2;
    width: 80%;
    padding: 0 0px 25px 0px;
    color: rgb(136,136,136);
  }

  .rag_soc {
    font-size: 26px;
    color: rgb(255,255,255);
  }

  .rag_address {
    font-size: 18px;
    line-height: 24px;
  }

  .rag_data {
    font-size: 16px;
    line-height: 22px;
  }

  .rag_data a {
    color: rgb(255,255,255);
  }

  .footer_top_right {
    order: 1;
    -webkit-order: 1;
    width: 90%;
    padding: 25px 0px 25px 0px;
    box-sizing: border-box;
  }

  .footer_bottom_wrapper {
    width: 100%;
    height: 50px;
    margin: auto;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    background-color: rgb(36, 36, 36);
  }

  .copyright {
    padding-left: 65px;
    font-family: Raleway;
    font-size: 13px;
    color: rgb(136, 136, 136);
  }

  .map_container {
    width: 100%;
    height: 350px;
    background-color: #666666;
  }

  .social_link {

  }

  .social_img {
    padding-right: 10px;
  }

  /* -- [ RETURN TOP ] ------------------------------------------------------ */
  .return_wrapper {
    position: fixed;
    width: 100%;
    bottom: 15px;
    left: 0;
  }

  .return_top {
    position: relative;
    width: 80%;
    margin: auto;
  }

  #return_button {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    cursor: pointer;
  }

  .return_arrow {
    height: 40px;
    width: 40px;
    background-image: url('../images/arrow_left.png');
    background-position: center;
    background-size: cover;
  }

  .return_text {
    color: rgb(255,255,255);
    padding: 0 20px 0 10px;
  }

  #open_profile_button {
    position: absolute;
	background-color: rgb(239, 173, 77);
    bottom: 0;
    right: 0;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    cursor: pointer;
  }
    .open_profile_text {
    color: rgb(255,255,255);
    padding: 0 20px 0 10px;
	 cursor: pointer;
  }
}
