/*@import url('https://fonts.googleapis.com/css?family=Fjalla+One');*/
* {  
  margin: 0px ; 
  padding: 0;
  }

html{
  /*overflow-y: hidden;*/
  }

body{
    font-family: 'NeoSansProRegular', Sans-serif;
    color: #fff;
    height: 100%;
    margin: 0px!important ;
    padding: 0px!important; 
    /*font-family: 'Fjalla One', sans-serif;*/
    }
.frame { /*рабочее поле занимает % видимой части дисплея*/
          height: 100%;
          /*box-sizing: border-box;*/
          background-position: center;
          background-size: cover;
          display: flex; 
          flex-direction: column;
          box-sizing: border-box;
          overflow: auto;
         }

 .header {
          box-sizing: border-box;
          position: fixed;
          width: 100%;
          height: 90px;   
          border-radius : 5px;
          z-index: 10;
          }

  .header-box {
              display: flex;
              flex-grow: 0;
              box-sizing: border-box;
              position: relative;
              width: 100%;
              height: 85px;     
              z-index: 0;
              margin-bottom: 1px;
              }

  .header-line {
          position: relative;
          height:50px; 
          margin-top:21px;
          background-color: #a86; 
          z-index: 50;
          border-top: 3px solid black;
          border-bottom: 3px solid black;
          text-overflow: ellipsis;
          white-space: nowrap;
          word-wrap: normal;
          }

  .menu_button{
      position: absolute;
      left: 0;
      top: -2px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 8px 25px 7px 16px;
      color: #000;
      font-size: 1.3em;
      font-weight: 600;
      text-transform: uppercase;
      background-color: #a86;
      border-top: 3px solid;
      border-bottom: 3px solid;
      transition: 0.3s;
      }

.menu_button:hover{
      background-color: #ffc883;
      cursor: pointer;
      }

.gam{
     width: 33px;
     height: 33px;
     border-radius: 50%;
     background-color: #590000;
     margin-right: 10px;
     position: relative;
     display: flex;
     justify-content: center;
     align-items: center;
}
.gam>span{
  height: 2px;
  width: 50%;
  margin: 0 auto;
  background: #dbdbdb;
  position: relative;
  }
.gam>span::before, .gam>span::after{
  content: " ";
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  transition: 0.3s;
  background: #dbdbdb;
   }
.gam>span::before{
    transform: translateY(-4px); 
    }
.gam>span::after{
    -ms-transform: translateY(4px); /* IE 9 */
    -moz-transform: translateY(4px); /* Firefox */
    -o-transform: translateY(4px); /* Opera */
    -webkit-transform: translateY(4px); /* Safari */
    transform: translateY(4px); 
    }
.menu
   {
   display: block;
   top: 58px;
   max-height: calc(100vh - 130px);   /*590px;*/
   overflow-y: auto;
   overflow-x: hidden;
   width: 450px;
   transform: translateX(-450px);
   transition: 0.4s; 
   position: absolute;
   margin: 0;
   padding: 0;
   background-color: #1f1e1efc;
   position: relative;
   z-index: 10000;
   }
.menu > li{
    position: relative;
    height: 35px;
    width: 100%;
    display: inline-block;
    }
.menu > li > a, .menu > li > span{
     display: block;
     /*height: 100%;*/
     text-decoration: none;
     font-size: 18px;
     color:#fff;
     text-shadow: 2px 2px 2px black;
     padding: 7px 30px;
     background-color: #4c3933;
     transition: 0.1s;
   }
.menu > li > a:hover, .menu > li > span:hover
    {
     /*color: #000; */
     /*background: #fff;*/
     background: #555;
     font-size: 19px;
     font-weight: 500;
     font-style: italic;
     z-index: 1100;
    }
  .menu > li > span:hover + ul{
        display:  flex;
        }
  .menu > li > span + ul:hover{
        display:  flex;
        }
  .sub_menu
     {
      border: 1px solid #aaa;
      border-radius: 5px;
     display:none;
     /*display: flex;*/
     flex-flow: column;
     justify-content: center;
     /*top: -85px;*/
     min-height: 180px;
     top: -100px;
     left: 200px;
     width: 300px;
     position: absolute;
     margin: 0;
     padding: 0;
     background-color: #333;
     z-index: 10100;
     }
  .sub_menu  li{
    height: 35px;
    width: 250px;
    display: block;
    /*display: inline-block;*/
    }
  .sub_menu  li > a{
     display: block;
     text-decoration: none;
     font-size: 17px;
     color:#fff;
     padding: 8px 30px;
     background-color: #444;
     transition: 0.1s;
      }
  .sub_menu > li > a:hover
    {
     color: #000; 
     background: #fff;
     font-size: 17px;
     font-weight: 500;
     font-style: italic;
     z-index: 00;
    }
  #menu_screen
     {
     display: block;
     position: absolute;
     top: 0px;
     left: 250px;
     width: 0px;
     height: 100vh;
     opacity: 0.0;
     background-color: #877;
     transition: 0.3s;
     }

/*==============================================================================*/
    #logo1 {
        position: absolute;
        border: 4px solid black;
        border-radius: 50%;
        display: block;
        left: 130px;
        top: -25px;
        height: 82px;
        width: 72px;
        background-color: #ca8;
        z-index: 80;
        }
    #logo1:hover {
          background-color: #ffc883;
          }

    #logo_img{
        position: absolute;
        left: 10px;
        display: block;  
        height: 77px;
        /*width: 52px;*/
        z-index: 80;
        }
     .header_text {
        display: block;
        position: absolute;
        height: 30px;
        left: 212px;
        top:10px;
        font-size: 13px;
        font-weight: 200;
        z-index: 80;
        color: #000;
        }
      .text2 {
        font-style: italic;
        top:10px;
        left: 350px;
        display: block;
        }   

#table_form_edit_item{
        padding-top: 15px;
        max-width: 90%;   /* 1300px*/
        min-width: 500px;
        width: 97%;
        border: 2px solid black;
        margin: 0 auto;
        background-color: #4b5858;
        color : #eee;
        font-size: 1.5Vh;
        }
 #table_form_edit_item tr > td:first-child{
        text-align: right;
        padding: 5px;
        width: 30%;
        font-size: 1.5Vh;
        }
 #table_form_edit_item tr > td:last-child{
        text-align: center;
        padding-left: 0px;
        width: 10%;
        font-size: 1.5Vh;
        }

  #table_form_new_item{
      padding-top: 10px;
      color: #fff;
      width: 85%;
      font-size: 13px;
      font-size: 1.5Vh;
      min-width: 100%;
      max-width: 1300px;
      margin: 0 auto;
      background-color: #543;
      border: 2px solid black;
      } 

  #table_form_new_item tr > td:first-child{
        text-align: right;
        padding: 5px;
        }         

.footer { 
          justify-content: center;
          align-items: center;
          display: flex;
          flex-grow: 0;
          height: 50px;
          width: 100%;
          background-color: #a86;
          opacity: 0.9;
          border-radius : 5px;
          position: relative;
          color: #000;
          transform: translateY(0px);
          box-sizing: border-box;
          }

.main {
      display: flex;
      flex-flow: column;
      align-items: center;
      justify-content: center;
      padding: 2px;
      min-height: 65vh;
      margin-top: 0px;
      position: relative; 
      padding-top: 0px;
      min-width: 420px;
      box-sizing: border-box;
      min-height: calc(100vh - 136px);
      z-index: 0;
      }

  .add-fon_shad1{
       position: absolute;
       /*opacity: 0.6;*/
       background-color: #876;
       width: 100%;
       height: 100%;
       z-index: -1;
       }

.main-top {
          box-sizing: border-box;
          padding-left: 0px;
          width: 80%;
          position: fixed;
          background-color: #954;
          display: flex;
          flex-flow: row;
          margin: 0 auto;
          max-height:  30px;
          z-index: 50;
          opacity: 0.9;
          /*overflow: hidden;*/
          z-index: 60;
          }

.main-top-box {
          display: block;
          position: relative;
          clear: both;
          height:  30px;
          width:   100%;
          z-index: 0;
          }

#main-in-index{
         margin-top: 1vh;
         }

.main-center {
    font-style: italic;
    display: block;
    position: relative;
    min-width: 72%;
    width: 430px;
    max-width: 1200px;

    min-height: 70vh;        /* 40Vh */  
    clear : both;
    margin: 0 auto;
    border-radius: 6px;
    text-align: center;    /*отцентровал строку из инлайн блоков*/
    transform: perspective(1000px);
    transition: 0.5s;
    transform-origin: 100%;
    box-sizing: border-box;
    }

  .main-center > p{
       display: inline-block;
       }

  .main-center > a, #content_bottom  a{
         color: #fff;
         text-decoration: none!important;
         }
  .main-center > a
         {
          display: inline-block;
          max-height: 290px;
          box-sizing: border-box;
         }
 
   #Start_Text
         {
          display: block;
          /*position: absolute;*/
          padding: 10px 20px;
          margin: 10px auto;
          min-width: 400px;
          max-width: 600px;
          color: #fff;
          text-shadow: 0px 0px 15px black, 0px 0px 22px black ;
          opacity: 0.8;
          font-size: 3vh;
          font-weight: 500;
          border-radius: 6px;
          display: none;
         }     

   #content_bottom  b{ color: red; }      

  #content_bottom{
         display: block;
         clear: both;
         font-size: 14px;
         margin-top: 8px;
         background-color: #444;
         }

  #catalog_name{
        display: none;
        position: fixed;
        /*top: 100px; */
        top: 15Vh;

        left: 50%;
        transform: translateX(-50%);
        padding-top: 15px;
        padding-left: 30px;
        font-style: italic;
        font-size: 2Vh;
        text-shadow: 2px 2px black;
        min-width: 440px;
        width: 80%;
        background-color: #457;     /*#965;*/
        border : 2px solid #eee;
        border-radius: 2Vh; 
        min-height: 100px;
        /*height: 15vh;*/
        color: #fff;
        overflow: hidden;
        z-index: 1000;
        }

.view_style {
      display: flex;
      align-items: center;
      font-family: 'Fjalla One', sans-serif;
      line-height: 40px;
      box-sizing: border-box;
      border-radius : 5px;
      min-height: 50px;
      height: 5vh;
      min-width: 170px;
      }

  .view_style_element {
      margin: 0px 1px;
      font-size: 20px;
      float: left;
      line-height: 4vh;
      box-sizing: border-box;
      height: 8vh;
      z-index: 10000;
      }

  .anim{
       width: 58px;
       height: 45px;
       border-radius: 15px;
       display: flex;
       justify-content: center;
       margin: 3px 20px 0px 30px;
       align-items: center;
       background: #555;
       color:  #000;
       font-size: 46px;
       /*animation: move 2s ease infinite;*/
       z-index: 100;
       }

    .anim a{
           color: #fff;
           }

    .anim:hover{
       position: relative;
       background:  #115;
       color: #fff;
       font-size: 58px;
       z-index: 100;
       }

    @keyframes move{
          0% { transform: translateX(0); }
          50% { transform: translateX(-25%); }
          to { transform: translateX(0); }
           }  

/*=================    rotate front-end  cards   =====================*/
#new_item{
    margin-top: 0px;
    position: relative;
    display: block;
    min-height:600px;
    min-width: 95%;
    box-sizing: border-box;
    border : 1px solid #000;
    opacity: 1;
    background-color: #777;
    justify-content: center;
    font-size: 2Vh;
    }

#show_item{
    margin-top: 1px;
    display: flex;
    flex-flow: column;
    position: relative;
    min-width: 430px;
    box-sizing: border-box;
    opacity: 1.0;
    justify-content: center;
    border-radius: 6px;
    }

  #view2
    {
    display: flex;
    align-items: center; 
    justify-content: center;
    height: calc(100vh - 150px);
    position: relative;
    box-sizing: border-box;
    padding-bottom: 5px;
    }  

  .wrap{
     position: relative;
     padding: 0px 0px;
     box-sizing: border-box;   /*padding  не учавствует в расчете*/
     justify-content: center;  /*центрует*/
     align-items: center;      /*центрует*/
     display: flex;
     flex-flow: column;
     align-content: space-between;
     width:90%;
     min-width: 430px;
     max-width: 1200px;
     height: calc(100vh - 150px);
     max-height: 75vh;
     border: 1px solid black;
     margin: 1% auto 1% auto;
     background-color: #4b5858;      /*#454555;*/
     border-radius: 5px;
     box-shadow: 5px 5px 10px #000;
     }
     .wrap3{
     display: block;
     align-items: center;
     position: relative;
     padding: 10px 10px 20px 10px;
     width:95%;
     min-width: 440px;
     min-height: 400px;
     border: 1px solid black;
     margin: 2% auto 2% auto;
     background-color:  #4b5858;   
     border-radius: 5px;
     box-shadow: 5px 5px 10px #000;
     }

  .wrap3 img{
      display: block;
      margin: 5px auto;
  }

  #view3      /*table*/
        {
        margin-top: 10px;
        margin-bottom: 25px;
        height: 70Vh;
        }

  #view3 a     
        {
        margin-bottom: 25px;
        text-decoration: none;
        text-shadow: 2px 2px 2px black;
        }

  #view3 tr     
        {
        min-height: 40Vh;
        }

  .wrap_admin
      {
       display: flex;
       margin: 0 auto;
       bottom: 0px;
       height: 30px;
       margin: 0 auto;
       color: #fff; 
      }

  .wrap_admin a{
       color: #fff;
       text-decoration: none; 
      }
  
  .card{
     position: relative;
     margin-top: 30px;
     justify-content: center; 
     align-items: center;      /*центрует*/
     display:   flex;
     position:  relative;
     perspective: 1000px;
     min-width: 400px;
     max-width: 95%;
     width: 65vh;
     height: 65vh;
     min-height: 270px;
     }

   .back1, .front{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 1.5s;
    backface-visibility: hidden;
    left: 0;
    top:  0;
    color: rgba(0,0,0, 0.9);
    }

  .back1{
       color: #fff;
       /*background-size: cover;*/
       transform: rotateY(180deg);
       border-radius: 5px;
       }

  .back1 a{
        position: absolute;
        left: 0;
        top:  0;
        display:  flex;
        justify-content: center;
        align-items: center;
        height: 100%; 
        width: 100%;
        }  

  .front{
        transform: rotateY(0deg);
        border-radius: 5px;
        }

  .card:hover .front{
            transform: rotateY(180deg);
            opacity: 0;
            }

  .card:hover .back1{
            transform: rotateY(360deg);
           }

.small_card_box{
        padding: 2px 3px;
        position: relative; 
        display: inline-block;
        width: 240px;
        height: 260px;
        border-radius : 9px;
        border-top-left-radius: 12px;
        border-bottom: 1px solid black;
        background: radial-gradient( #545458,#565f61);
        margin: 3px 3px;
        box-shadow: 5px 5px 10px 0px #000, 0px 0px 10px rgba(0, 0, 0, .9) inset;
        }

.small_card_box:hover{
        background-color: #638fad;
        font-size: 17px;      
        }

.image_card_box{
         display: flex;
         padding: 2px 0px;
         border-radius : 7px;
         justify-content: center;  
         align-items: center; 
         height: 156px;
         background-color: #444;      /* #f2f4fb;*/
         margin: 3px;
         box-sizing: border-box; 
         box-shadow: 0px 0px 14px rgba(30,30,30, .9) inset;
         }
.image_card_box img {
         padding-top: 0; 
         min-width:20%;
         min-height: 20%;
         max-width:95%;
         max-height: 95%;
         }
  .image_card_text{
         margin: 8px!important;
         height: 80px;
         max-height: 80px;
         overflow: hidden;
         font-size: 1.0em;
         line-height: 1.3em;
         text-shadow: 2px 2px 2px black;
         }
  .admin-mark{
         display: flex;
         position: absolute;
         color: #999;
         top: 11px;
         left: 12px; 
         border: 2px solid #965;
         border-radius: 50%;
         padding: 3px;
         background-color: #965;
         }
    .admin-mark-hidden{
         display: flex;
         position: absolute;
         color: #fff;
         top: 25px;
         left: 12px; 
         border: 2px solid #f77;
         border-radius: 6px;
         padding: 3px;
         background-color: #965;
         }    
.data {
      position: relative;
	    border : 1px solid #000;
      border-radius : 5px;
      color: #fff;
      text-align:  left;
      padding-left: 10px;
      height: 30px;
      background-color: #555;
      }
  .page{
      display: block;
      position: absolute;
      top: -5px;
      height: 30px;
      text-align: center;
      /*background-color: #333;*/
      }

  .page .fa{
            display: inline-block;
            font-size: 40px;
            color: red;       /*#ff6666;*/
           }

  .page2 {
      display:  block;
      position: absolute;
      height: 30px;
      top:  -5px;
      text-align: center;
      }

    .page2 a{
      display:  inline-block;
      position: absolute;
      top:  7px;
      color: #77d;
      text-decoration: none;
      }             

.data_top {
      line-height: 28px;
      border : 1px solid #eee;
      border-radius : 5px;
      color: #fee;
      height: 28px;
      background:  linear-gradient(90deg, rgba(2,0,8,0.8) 0%, rgba(34,34,68,0.9) 35%, rgba(100,112,255,1) 100%);
      text-align:  center; 
      z-index: 50;
      flex: 1;
      overflow: hidden;
      text-decoration: none;
      font-size: 17px; 
      }

#contacts_win
     {
     display: block;
     position: absolute;
     top: calc(78px + 2vh);
     
     left: 50%;
     transform: translateX(-450px);
     width: 0px;
     height: calc(90vh - 100px);
     opacity: 0.0;
     transition: 0.3s;
     z-index: 10000;
     border-radius: 6px;
     border: 1px solid black;

     color: #000;
     font-size: 16px;
     font-weight: 300;
     font-style: italic;
     padding: 0px 0px;
     white-space: normal;
     overflow: auto;
     box-sizing: border-box;
     }

#contacts{
     position: absolute;
     box-sizing: border-box;
     padding: 15px 15px 0 15px;
     top: 0;
     right: 160px;
     min-width: 100px;
     height: 100%;
     display:block;
     text-decoration: none;
     color: #000;
     z-index: 1000;
     background: #a86; 
     font-size: 21px;
     font-weight: 700: 
     border: 2px solid black;
     overflow: auto;
     }

#contacts:hover{
     color: #ccc;
     cursor: pointer;
     }

#user a{
     position: absolute;
     box-sizing: border-box;
     padding: 15px 15px 0 15px;
     top: 0;
     right: 0;
     min-width: 100px;
     height: 100%;
     display:block;
     text-decoration: none;
     color: #000;
     z-index: 1000;
     background: #a86; 
     font-size: 21px;
     font-weight: 700: 
     }
#user a:hover
          {
          color: #fff;
         }

   #system_info:hover, #test:hover      /*надпись в поле system_info */
          {
          cursor: help; 
          flex:3;
         }

    #water1{
        /*position: absolute;*/
        padding-left: 30px;
        display: flex;
        flex-flow: row;
        }
    #water1>a{
       padding: 5px;
       margin: 20px 5px 5px 5px;
       display: flex;
       text-decoration: none;
       color: #fff;
       background-color: #444;
       font-weight: 300: 
       font-size: 12px;
       border-radius: 5px;
       }

  #water1>a:hover{
       background-color: #223;
       }     

@media ( min-width: 830px){ 
         #table_title p{ font-size:  22px!important;  }
         }
@media ( max-width: 1000px){ 
    #contacts {  display: none;    }
     }
@media ( max-width: 830px){ 
    .text2 {  display: none;    }
     }
@media ( max-width: 750px){ 
       .header {   font-size: 15px;  }
     }
@media ( max-width: 570px){
       #main-center  {  margin-top: 5px;   }
     }

   .admin_box{
       display: none;
       position: absolute;
       text-align: center;
       font-style: italic;
       border-radius: 6px; 
       padding: 2px;
       top: 85px;
       left: 50%;
       transform: translateX(-50%);
       width: 0px;
       max-width: 76%;
       height: 0px;
       font-size: 3vh;
       max-height: 80vh;
       color: #fff;
       z-index: 100000;
       /*opacity: 0.9;*/
       overflow-y: auto;
       }
    .admin-info-line{
        display: flex;
        background:#333;
        padding: 1px 0;
        border: 1px solid;
        min-height: 9vh;
        max-height: 10vh;
        }
    .admin-info-ip
         {
         display: flex;
         align-items: center;
         justify-content: center;
         font-size: 2vh;
         height: 3vh;
         min-width: 30px;
         color: #ccc;
         padding: 3px 2px 0 0;
         }
    .admin-info-num{
         display: flex;
         align-items: center;
         justify-content: center;
         text-decoration: none;
         font-size: 2vh;
         min-width: 45px;
         color: red;
         padding: 3px 2px 0 0;
         }
         .admin-info-num > span{
             display: block;
             font-weight: 700;
             color: red;
             }
     .admin-info-text{
         display: flex;
         flex-basis: 80%;
         font-size: 2vh;
         justify-content: center;
         align-items: center;
         color: white;
         }
      .admin-info-text1{
         display: flex;
         flex-basis: 20%;
         font-size: 2vh;
         justify-content: center;
         align-items: center;
         color: white;
         }
   .active{
       display: block!important;
       position: fixed!important;
       min-width: 400px!important;
       width: 80%;
       height: 80vh!important;
       background: #666!important;
       z-index: 100!important;
       transition: 0.2s;
       }

      /*========================= горизонтальный блок с прокруткой по X ========================*/
      .variety-title {
          box-sizing: border-box;
          border : 1px solid #000;
          border-radius : 5px;
          color: #fff;
          text-align:  center;
          padding-left: 10px;
          height: 30px;
          background-color: #555;
          padding-top: 5px;
          margin-top: 5px;
          margin-bottom: 20px;
          overflow: hidden;
          }
      #overflow{
            display: block;
            margin-top: 10px;
            margin-bottom: 30px;
            border: 1px solid black;
            height: 51px; 
            width: 100%;
            overflow-x: scroll;
            overflow-y: hidden;
            transition: 0.6s;
           }

        #overflow:hover{
              height: 450px;
              transition: 0.6s;
              }   

        #overflow .container1{}
        #overflow .container1 > div a{
                 color: yellow;
                 }    

        #overflow .container1 > div{
              padding: 2px 5px;
              border: 1px solid #999;
              float: left;
              width: 190px;
              height: 420px;
              background: #457;
              color: #fff;
              font-size: 0.8em;
              }

              #overflow .container1 .img_box{
                      display: flex;
                      justify-content: center;
                      align-items: center;
                      height: 190px;
                      }
              #overflow .container1 .img_box img{
                      display: block;
                      max-height: 190px;
                      }
     /*================end ========= горизонтальный блок с прокруткой по X ========================*/

     .overflow .element{
             display: block;
             margin-left: 2px;
             margin-right: 4px;
             position: relative;
             width: 100%;
             height: 55px;
             border: 1px solid #555;
             overflow: hidden;
             }
     .overflow .element img{
                 padding-left: 2px;
                 display: block;
                 float: left;
                 }

    .mobile_arrow{
       display: flex;
       justify-content: center;
       align-items: center;
       position: fixed;
       bottom: 10vh;
       width:  14vh;
       max-width:  120px;
       min-width:   40px;
       height: 14vh;
       max-height: 120px;
       min-height: 40px;
       border: 2px solid #777;
       border-radius: 15px;
       color:  #fff;
       font-size: 98px;
       z-index: 100;
       }
    .mobile_edit{
          left: 8%;
          transform: translateX(-50%) translateY(-330%);
          }
    .mobile_new_photo{
          left: 8%;
          transform: translateX(-50%) translateY(-230%);
          }
    .mobile_new_photo_plus{
          left: 8%;
          transform: translateX(-50%) translateY(-130%);
          }
    .rotate{
          left: 8%;
          transform: translateX(-50%) translateY(-130%);
          opacity: 0.6;
          }
    .mobile_left{
          left: 8%;
          transform: translateX(-50%) translateY(-30%);
          }
    .mobile_right{
          left: 92%;
          transform: translateX(-50%) translateY(-30%);
          }
    .mobile_dn{
          left: 92%;
          transform: translateX(-50%) translateY(-160%) ;
          }
    .mobile_up{
          left: 92%;
          transform: translateX(-50%) translateY(-290%) ;
          }

    .mobile_arrow a{
           color: #fff;
           }
     #target_end{
           margin: 10px;
           display: block;
           color: #fff;
           }
    .variety_num_in_card_box
           {
            position: absolute;
            bottom: 5px;
            left: 5px;
            color: #ccc;
            font-size: 0.8em;
            font-weight: 700;
            text-shadow: 2px 2px 2px black;
           }
    .example{
        display: block;
        min-height: 60px;
        align-items: center;
        clear: both;
    }

   /* ----------------- FORM DECOR------------------------------ */  
   .submit_new_item, .load_images,.submit_edition{
  border: solid 0.2Vh white;
  border-radius : 0.5Vh;
  background: #f78d1d;
  box-shadow: -2px -2px 4px rgba(0, 0, 0, .8) inset; 
  background: -webkit-gradient(linear, left top, leftbottom, from(#faa51a), to(#f47a20));
  background: -moz-linear-gradient(top,  #faa51a, #f47a20);
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#faa51a', endColorstr='#f47a20');
  color: #222;
  font-weight: 700;
  font-size: 0.6em;
  padding: 7px 13px;
  -webkit-border-radius:4px;
  -moz-border-radius:4px;
  border-radius:4px;
  /*float: right;*/
  cursor: pointer;
  }

  .submit_new_item:hover, .load_images:hover,.submit_edition:hover{
   color: #000;
   background: #c76d0d;
  }

   .return_to_last{
   box-shadow: -2px -2px 4px rgba(0, 0, 0, .8) inset;
   margin-top: 5px;
   font-size: 0.9em;
   border-radius:6px;
   padding: 7px 12px;
   border: solid 1px #da7c0c;
   text-decoration: none;
   background: #57575d;
   color: #fff;
   cursor: pointer; 
  }

  .return_to_last:hover{
  background: #27272d;  
  }

  .card_title{
    border: solid 1px black;
    border-radius:5px;
    height: 19px;
  }

  /*------------------------------------------*/
  .custom-file-input,.custom-file-input2{
      font-size: 3Vh;    /*26px;*/
      line-height: 28px;
      border: 1px solid #666;
      border-radius: 6px;
      /*background:  #777;*/
      height: 7Vh;
      width: 70%;
      padding-top: 10px;
      padding-left: 5px;
      text-align: right;
      }

   .custom-file-input::-webkit-file-upload-button {
       visibility: hidden;
       }

  .custom-file-input2::-webkit-file-upload-button {
       visibility: hidden;
       }

  /* кнопка с надписью Изображение1 */
  .custom-file-input::before  {
     /*display: inline-block; */
     display: block;
     position: fixed;
     content: 'Изображение 1';
     margin: 3px;
     padding: 15px 8px;
     height: 3.0Vh;
     /*width:  25Vh; */       /*170px;*/
     color: black;
     background:  #77cd77;
     border: 1px solid #000;
     border-radius: 4px;
     outline: none;
     white-space: nowrap;
     box-shadow: -2px -2px 4px rgba(0, 0, 0, .8) inset;
     cursor: pointer;
     font-weight: 700;
     font-size: 2.8Vh;          /*10pt;*/
     }

    .custom-file-input2::before  {
     display: block;
     position: fixed;
     content: 'Изображение 2';
     margin: 3px;
     padding: 15px 8px;
     height: 3.0Vh;
     /* width:  21Vh;  */
     color: black;
     background:  #7777cd;         /*#c76d0d;*/
     border: 1px solid #000;
     border-radius: 4px;
     outline: none;
     white-space: nowrap;
     box-shadow: -2px -2px 4px rgba(0, 0, 0, .8) inset;
     cursor: pointer;
     font-weight: 700;
     font-size: 2.8Vh;          /*10pt;*/
     }   

  .custom-file-input:hover::before,.custom-file-input2:hover::before  {
       border-color: white;
       }    

  .custom-file-input:active::before, .custom-file-input2:active::before {
       background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
      }

  


      