@font-face {
  font-family: 'Glyphicons Halflings';
  src: url('../fonts/glyphicons-halflings-regular.eot');
  src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');
}

@font-face {
    font-family: "social";
    src: url(../fonts/social.otf) format("opentype");
}


@media only screen and (max-width: 703px) and (orientation: portrait){

  html, body{
    width:100vw;
    height:100vh;
    margin:0;
    padding:0;
    overflow: hidden;
    overflow-y: scroll;

  }

  a{
    text-decoration: none;
    color:white;
  }
  .language a{
    color:#fff;
  }

  .main_container{
    width:100vw;
    height:100vh;
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: #ddd;
    background: radial-gradient(circle, rgba(255,255,255,1) 20%, rgba(184,184,184,1) 100%);

  }

  .header-back{
    background-color: #006AD3;
    background: linear-gradient(to bottom right, rgba(32,138,243,1) 40%, rgba(17,85,151,1) 100%);

    width:100vw;
    height:50px;
    border-bottom: 2px solid white;
    -webkit-box-shadow: 0px 5px 15px 0px #000000;
    box-shadow: 0px 5px 15px 0px #000000;
    position: fixed;
    top:0;
    left:0;
    z-index:50;
  }

  .left{
    width:600px;
    height:200px;
    float:left;
    display: none;
  }


  .header_container{
    width:100vw;
    height:52px;
    overflow-x: hidden;
    overflow-y: visible;
    margin: 0 auto;
  }


  .logo{
    display:none;
    height:80px;
    width:400px;
    font-family: Raleway;
    font-weight: bold;
    font-size:50px;
    color:#fff;
    text-align: left;
    line-height:110px;
    top:30px;
    left:calc((100vw - 400px)/2);
    float:left;
    background-image: url("img/logo_bianco.png");
    background-position: center;
    background-size: contain;
    background-repeat:no-repeat;
    position: absolute;

  }

  .logo_img{
    height:80px;
    width:80px;
    float:left;
    background-image: url("../img/logo.png");
    background-position: center;
    background-size: contain;
    background-repeat:no-repeat;
    margin-right:20px;
  }

  .menu{
    display:none;
    width:600px;
    height:50px;
    margin-top:130px;
    margin-left:30px;
    font-family: Raleway;
    font-size: 20px;
    color:#fff;
    text-align: left;
  }

  .menu_mobile{
    display:block;
    width:100%;
    height: 100%;
    overflow: hidden;
  }

  .mobilebutton_inactive{
    width:28px;
    height: 28px;
    padding:5px;
    margin:5px;
    background-color: #fff;
    font-size:28px;
    text-align: center;
    line-height: 28px;
    color: #006AD3;
    border:1px solid #fff;
    border-radius: 7px;
  }

  .mobilebutton{
    width:28px;
    height: 28px;
    padding:5px;
    margin:5px;
    background-color: #006AD3;
    font-size:28px;
    text-align: center;
    line-height: 28px;
    color: #fff;
    border:1px solid #fff;
    border-radius: 7px;
  }


  .menu_tray{
      width:100vw;
      height:calc(100vh - 52px);
      position: absolute;
      left:0;
      top:calc(-100vh + 52px);
      z-index:30;
      background-color: #fff;
      background:linear-gradient(to bottom right, rgba(32,138,243,1) 40%, rgba(17,85,151,1) 100%);

      overflow: hidden;


  }

  .traycontainer{
    width:100vw;
    height:100%;
    overflow-x: hidden;
    overflow-y: scroll;
  }

  .trayelement{
    width:90vw;
    padding:0 5vw;
    height:calc(8vh - 2px);
    overflow: hidden;
    border-bottom:1px solid #fff;
    border-top:1px solid #aaa;
    line-height: 10vh;
    font-family: Raleway;
    font-weight: 300;
    font-size:16px;
    color:#fff !important;
  }

  .trayelementfocused{
    width:90vw;
    padding:0 5vw;

    height:calc(8vh - 2px);
    overflow: hidden;
    border-bottom:1px solid #aaa;
    border-top:1px solid #aaa;
    line-height: 10vh;
    font-family: Raleway;
    font-weight: 300;
    font-size:16px;
    color:#006AD3;
    background-color: #fff;
  }


  .traysocial{

    line-height: 10vh;
    font-family: "social";
    font-size:30px;
    color:#006AD3;
    float:left;
  }

  .traysocialfocused{

    line-height: 10vh;
    font-family: "social";

    font-size:30px;
    color:#fff;
    float:left;
  }

  .menu_icon{
    width:50px;
    height:50px;
    float:left;
    margin-right:20px;

    background-position:center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .right{
    width:200px;
    height:200px;
    float:right;
    display:none;
  }

  .language{
    width:200px;
    height:30px;
    padding-top:30px;
    margin-right:30px;
    float:right;
    font-family: "Raleway";
    font-weight: regular;
    font-size:12px;
    color:#fff;
    text-align: right;
  }

  .social_icon{
    width:200px;
    height:30px;
    margin-top:78px;
    margin-right:30px;
    float:right;

    font-family: "social";
    font-size: 36px;
    color:#fff;
    text-align: right;

  }

  .search_container{
    display: none;
    width:200px;
    height:30px;
    left:calc((100vw - 202px)/2);
    border:1px solid #fff;
    top:147px;
    position:absolute;
  }

  .search_button{
    width:30px;
    height:30px;
    background-color: #fff;
    float: left;
  }

  .search_text{
    width:150px;
    height:20px;
    margin:5px 10px;
    float: left;

    font-family: "Raleway";
    font-weight: regular;
    font-size:12px;
    color:#fff;
    text-align:left;
    line-height:30px;

  }


  .container{
    width:calc(95vw) !important;
    height:auto;
    overflow-y: visible;
    overflow-x: hidden;
    margin: 0 auto;
    margin-top:80px;
    display:block;
  }

  .scheda{
    width:calc(100% - 2px);
    min-height:500px;
    border:1px solid #006AD3;
    margin-left:0px;
    /*margin-right: 10px;*/
    margin-bottom: 50px;
    float: left;
    background-color: #fff;
    border-radius: 7px;
    display:table;
  }


    .scheda_pic{
      width:calc(50% - 12px);/*calc(100vw - 22px - 10px);*/
      /*height:0;/*200px;*/
      /*padding-bottom: calc(50% - 12px)*/
      border:1px solid #aaa;
      /*margin-left:0px;
      margin-right: 10px;
      margin-bottom: 10px;*/
      margin:5px;
      float: left;
      background-color: #fff;
      border-radius: 7px;
    }


  .scheda_normale, .scheda_grande, .scheda_lunga, .scheda_lunghissima, .scheda_grandissima{
    width:calc(100%- 22px);
    height:188px;
    /*border:1px solid #aaa;*/
    margin-left:0px;
    margin-right: 10px;
    margin-bottom: 10px;
    float: left;
    background-color: #fff;
  }


  .scheda_normale{
    width:calc(50% - 13px);
    height:188px;
    /*border:1px solid #aaa;*/
    margin-left:0px;
    margin-right: 10px;
    margin-bottom: 10px;
    float: left;
    background-color: #fff;
    border-radius: 7px;
  }


  .scheda_lunga{
    width:calc(50% - 13px);
    height:386px;
    /*border:1px solid #aaa;*/
    margin-left:0px;
    margin-right: 10px;
    margin-bottom: 10px;
    float: left;
    background-color: #fff;
  }




  .scheda_grande{
    width:calc(100% - 22px);
    height:288px;
    /*border:1px solid #aaa;*/
    margin-left:0px;
    margin-right: 10px;
    margin-bottom: 10px;
    float: left;
    background-color: #fff;
  }


  .scheda_grandissima{
    width:calc(100% - 22px);
    height:388px;
    /*border:1px solid #aaa;*/
    margin-left:0px;
    margin-right: 10px;
    margin-bottom: 10px;
    float: left;
    background-color: #fff;
  }

  .img_scheda{
    width:calc(100% - 22px);
    height:288px;
    border:1px solid #aaa;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin:10px;
    border-radius:7px;
    float: left;
  }


  .img_scheda_pic{
    width:calc(100% - 12px);
    height:0;
    padding-bottom:calc(100% - 12px);
    border:1px solid #aaa;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin:5px;
    border-radius:7px;
    float: left;
  }


  .img_scheda_normale, .img_scheda_grande, .img_scheda_grandissima, .img_scheda_lunga, .img_scheda_lunghissima{
    width:100%;
    height:100%;
  /*  border:1px solid #aaa;*/
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /*margin:10px;*/
    border-radius:7px;
    float: left;
  }

  .txt_scheda{
    width:calc(95% - 20px);
    height:auto;
    margin:10px;
    float: left;
    font-family: Raleway;
    color:#000;
    font-size: 14px;
    text-align: left;
    display: table;
  }
  .solo_txt_scheda{
    width:calc(100% - 10px);
    height:auto;
    display: table;
    float: left;
    font-size:18px;
  }

  .solo_btn_scheda{
    /*width:calc(100vw - 22px - 20px);*/
    height:24px;
    float: left;
  }




  .txt_scheda_presentazione{
    width:calc(100% - 20px);
    height:auto;
    display: table;
    margin:10px;

    font-family: Raleway;
    color:#000;
    font-size: 14px;
    text-align: left;
  }

  .txt_scheda_presentazione_art{
    width:calc(100% - 10px);
    height:auto;
    margin:5px;
    display:table;
    font-family: Raleway;
    color:#000;
    font-size: 14px;
    text-align: left;
  }

  .solo_txt_scheda_presentazione{
    width:calc(100% - 10px);
    height:auto;
    display: table;
    font-size:18px;

  }

  .solo_txt_scheda_presentazione_art{
    width:calc(100% - 20px);
    height:auto;
    display:table;
    font-size:18px;
  }

  .solo_btn_scheda{
    /*width:calc(100vw - 22px - 20px);*/
    height:24px;
    float: left;
  }

  .share_title .solo_btn_scheda{
    /*width:calc(150px);*/
    height:24px;
    float: right;
  }

  .button_read, .button_section{

    height:auto;
    padding:2px;
    border-radius: 4px;
    background:  linear-gradient(to bottom right, rgba(32,138,243,1) 40%, rgba(17,85,151,1) 100%);
    border:1px solid #fff;
    color:#fff;
    font-family: Raleway;
    line-height: 20px;
    text-align: center;
    text-transform: lowercase;
    font-size: 14px;
  }

  .button_read:hover, .button_section:hover{

    height:auto;
    padding:2px;
    border-radius: 4px;
    background: #fff;
    border:1px solid #006AD3;
    color:#006AD3;
    font-family: Raleway;
    line-height: 20px;
    text-align: center;
  }


  .button_graf{
    float:left;
    height:20px;
    padding:2px;
    border-radius: 4px;
    background-color: #006AD3;
    border:1px solid #fff;
    color:#fff;
    font-family: Raleway;
    line-height: 20px;
    text-align: center;
    text-transform: lowercase;
    font-size: 20px;
    width:20%;
    margin-right: 5%;
  }




    .button_graf:hover{

      height:20px;
      padding:2px;
      border-radius: 4px;
      background-color: #fff;
      border:1px solid ##006AD3;
      color:##006AD3;
      font-family: Raleway;
      line-height: 20px;
      text-align: center;
      text-transform: lowercase;
      font-size: 20px;
      width:20%;
      margin-right: 5%;
    }

  .button_section{
    width:100px;
    height:20px;
    padding:2px;
    border-radius: 7px;
    background-color: #006AD3;
    border:1px solid #fff;
    color:#fff;
    font-family: Raleway;
    line-height: 20px;
    text-align: center;
    text-transform: lowercase;
    font-size: 14px;
  }

  .button_section:hover{
    width:100px;
    height:20px;
    padding:2px;
    border-radius: 7px;
    background-color: #fff;
    border:1px solid #006AD3;
    color:#006AD3;
    font-family: Raleway;
    line-height: 20px;
    text-align: center;
  }


  .presentazione{
    width:calc(100% - 2px);
    height:auto;
    display: table;
    background-color: #fff;
    border:1px solid #aaa;
    border-radius: 7px;
  }

  .scheda_presentazione{
    width:calc(100% - 2px);
    height:auto;
    display: table;
    border:1px solid #aaa;
    margin-left:0px;

    margin-bottom: 10px;

    background-color: #fff;
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius:7px;
  }

  #scheda_generale{
    height:200px !important;
  }


  .presentazione_long{
    width:calc(100% - 2px);
    height:auto;
    display: table;
    background-color: #fff;
    border:1px solid #aaa;
    border-radius: 7px;
  }

  .img_presentazione, .grafici_presentazione{
    width:calc(90% - 2px);
    height:250px;
    border-radius: 7px;
    margin:5%;
    float: left;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #ddd;
    border:1px solid #aaa;
    font-family: Raleway;
    font-size: 14px;
    color:#000;
    line-height: 25px;
    text-align: center;
    display: table;
  }

  .grafici_presentazione{
    padding:15px 0;
  }

   .grafici_presentazione div{
     display: table;
   }


  .img_scheda_presentazione{
    width:calc(100% - 22px);
    height:250px;
    border:1px solid #aaa;
    margin:10px;
    border-radius:7px;
    background-color: #fff;
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
  }



  .img_scheda_tiny{
    width:100px;
    height:100px;
    border-radius: 7px;
    margin:5px;
    float: left;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #ddd;
    border:1px solid #aaa;
    font-family: Raleway;
    font-size: 14px;
    color:#000;
    line-height: 25px;
    text-align: center;
    margin-bottom:5px !important;
    margin-top:5px !important;
  }

  .grafix_container{
    width:calc(100% - 10px);
    height:auto;
    display: table;

    margin: 0 auto;

  }


  .search_presentazione{
    width:calc(90%);
    height:0%;
    padding-bottom: 65%;
    margin:5%;
    float: left;
    background-position: center;

    background-repeat: no-repeat;
    background-image: url('../img/search_white.png');
    background-size: 50%;
    opacity:0.0;
  }

  .text_block_presentazione{
    width:90%;
    height:auto;
    display:table;
    margin:5%;
    margin-top:0;
    float: left;
  }

  .solo_text_presentazione{
    width:100%;
    height:auto;
    display: table;
    font-family: Raleway;
    font-size: 14px;
    color:#000;
    /*margin-top:10%;*/
  }

  .solo_key_presentazione{
    width:100%;
    height:auto;
    display: table;
  }

  .keyword{
    font-family: Raleway;
    font-size: 14px;
    color:#fff;
    padding:5px;
    border-radius: 8px;
    background-color: #006AD3;
    float: left;
    margin:5px;
  }

  .share{
    width:calc(100% - 22px);
    height:auto;
    background-color: #fff;
    border:1px solid #aaa;
    margin-top:10px;
  }

  .title{
    width:calc(100%) !important;

    height:auto;
    background-color: #006AD3;
    background: linear-gradient(to bottom right, rgba(32,138,243,1) 40%, rgba(17,85,151,1) 100%);

    border:1px solid #aaa;
    border-radius:7px;
  }


    .title_scheda{
      width:calc(100%) !important;

      height:auto;
      background-color: #006AD3;
      background: linear-gradient(to bottom right, rgba(32,138,243,1) 40%, rgba(17,85,151,1) 100%);
      border:1px solid #aaa;
      border-radius: 7px;
    }

  .text{
    width:calc(100% - 2px);
    height:auto;
    background-color: #fff;
    border:1px solid #aaa;
    border-radius:7px;
    margin-bottom:5px;
  }

  .text_scheda{
    width:calc(100% - 2px);
    height:auto;
    background-color: #fff;
    border:1px solid #aaa;
    border-radius: 7px;
    display: table;

  }

  .scheda_tuttapagina{
    width:calc(100% - 5px);
    height:0;
    background-color: #fff;
    border:1px solid #aaa;
padding-bottom:75%;
    border-radius:7px;
  }

  .img_scheda_tuttapagina{
    width:calc(100% - 10px);
    height:0px;
    background-color: #fff;
    padding-bottom:calc(75% - 10px);
    border-radius:7px;
    background-repeat:no-repeat;
    background-position: center;
    margin:5px;


  }


  .share_buttons{
    font-family: "social";
    font-size: 24px;
    color:#006AD3;
    text-align: right;
    padding:5px;
    width:calc(100% - 10px);
  }

  .share_title{
    font-family: Raleway;
    font-weight: 400;
    font-size: 20px;
    color:#fff;
    text-align: left;
    padding:5px;
    width:calc(100%);
    text-transform: uppercase;
    border-radius:7px;
    display:table;
  }

  .title_text{
    font-family: Raleway;
    font-size: 18px;
    color:#000;
    text-align: left;
    padding:5px;
    width:calc(100%);
    height: auto;
    display: table;
  }



  .graf_cont{
    font-family: Raleway;
    font-size: 14px;
    color:#000;
    text-align: left;

    display:table;
    border:0px;
    background-color:transparent;
    padding:0px;

  }


  .palette{
    width:calc(18% - 2px);
    margin: 5% 1% 0 1%;
    height:98px;
    float: left;
    font-family: Raleway;
    font-size: 14px;
    color:#000;
    line-height: 25px;
    text-align: center;
    border:1px solid #000;
  }



    .palette_num{
      width:calc(18% - 2px);
      border: 1px solid #000;
      margin: 5% 1% 0 1%;
      float: left;
      font-family: Raleway;
      font-size: 14px;
      color:#000;
      line-height: 25px;
      text-align: center;
      height:50px;
      margin-top:10px;
    }


  .campioni{
    width:23px;
    margin: 5px;
    height:23px;
    float: left;
    font-family: Raleway;
    font-size: 14px;
    color:#000;
    line-height: 25px;
    text-align: center;
    border:1px solid #000;
  }


    .percentuale{
      width:17px;
      margin: 3px;
      height:17px;
      float: left;
      font-family: Raleway;
      font-size: 14px;
      color:#000;
      line-height: 25px;
      text-align: center;
      max-width: calc(100% - 6px);
    }

    .misurino{
      width:calc(100% - 2px);
      border:1px solid #000;
      height:23px;
      margin:5px 0 10px 0;
    }


     .videoenclosure{
       width:100%;
       height:315px;
       margin:0 auto;
       margin-top:10px;
       margin-bottom:10px;
     }


     .shadow_misurino{
       width:calc(18% - 2px);
       margin: 5% 1% 0 1%;
       height:98px;
       float: left;
       font-family: Raleway;
       font-size: 14px;
       color:#000;
       line-height: 25px;
       text-align: center;
       border:1px solid #000;
     }


     .shadow_percent{
       width:calc(100%);
       margin: 0px;
       /*max-height:94px;*/
       float: left;
       font-family: Raleway;
       font-size: 14px;
       color:#000;
       line-height: 25px;
       text-align: center;
       border-top:1px solid #000;
     }

     .shadow_num{
       width:calc(18% - 2px);
       margin: 5% 1% 0 1%;
       height:30px;
       float: left;
       font-family: Raleway;
       font-size: 14px;
       color:#000;
       line-height: 25px;
       text-align: center;
       border:1px solid #000;
     }




     .mask{
       width:100%;
       height: auto;
       display: table;
       margin-bottom:20px;

       border-radius: 7px;
     }


     .cage{
       width:100%;
       height: auto;
       display: table;
       margin-bottom:10px;

       border-radius: 7px;
     }

     .special_cage{
       width:100%;
       height: auto;
       display: table;
       margin-bottom:0px;
       /*margin-left:9px;*/
       border-radius: 7px;
     }

     .pallini_container{
       display: none;
     }

}
