.cpcont { position: relative; margin-top: -380px; float: left; margin-right: 150px; } .file-container { background-color: #fff; padding: 0px; box-sizing: border-box; position: relative; float: left; z-index: 3; min-height: calc(100% - 160px); left: 50%; width: 62%; margin-left: -165px; margin-top: 80px; } .file-item { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; background: #FFFFFF; border: 1px solid #EEEEEE; margin-top: 10px; } .file-item:last-child { border-bottom: none; } .item-content { flex: 1; margin-right: 10px; padding: 4px; padding-left: 30px; } .item-title { font-size: 15px; color: #333333; margin-bottom: 5px; font-weight: 400; font-style: normal; text-transform: none; } .item-details { font-size: 15px; color: #666666; font-weight: 400; font-style: normal; text-transform: none; } .item-details span { margin-right: 5px; } .download-icon { position: absolute; left: 85%; font-size: 20px; color: #999; cursor: pointer; border: 1px solid #ddd; border-radius: 50%; padding: 8px; margin-right: 20px; width:20px; height:20px; background-color: #F5F7FA; } .download-icon:hover { color: #666; } .encry-icon { background-color: #ff9800; border-radius: 5px 5px 5px 5px; padding-left: 2px; padding-right: 2px; margin-right: 3px; } .fa, .fas { font-weight: 900; } .fa, .far, .fas { font-family: "Font Awesome 5 Free"; } .fa, .fab, .fad, .fal, .far, .fas { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; display: inline-block; font-style: normal; font-variant: normal; text-rendering: auto; line-height: 1; } .fa-download { width: 20px; height: 20px; background-image: url('../images/icon-download.png'); background-size: cover; } .fa-circle { width: 12px; height: 12px; background-image: url('../images/icon-encry.png'); background-size: cover; } .layui-layer-page { border-radius: 20px; } .modal { background-color: #fff; padding: 10px; border-radius: 10px; width: 350px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); display: flex; flex-direction: column; align-items: center; } .modal-close { width: 100%; margin-bottom: 2px; } .modal-close .close-btn { font-size: 20px; cursor: pointer; text-align: right; } .modal-header { display: flex; justify-content: space-between; width: 100%; margin-bottom: 20px; } .modal-header .logo-text { display: flex; align-items: center; font-size: 20px; font-weight: 500; padding-left: 20px; } .modal-header .logo-text img { margin-right: 5px; height: 20px; padding-bottom: 10px; } .modal-header .product-service { font-size: 16px; font-weight: bold; padding-right: 5px; } .modal-content { width: 100%; text-align: center; margin-bottom: 20px; } .modal-content p { font-size: 14px; color: #333; margin-bottom: 10px; text-align: center; } .modal-content input { border: none; border-bottom: 1px solid #000; width: 80%; padding: 5px; margin-bottom: 10px; text-align: center; outline: none; } .modal-content button { background-color: #1a3a7a; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; font-size: 16px; width: 80%; margin-bottom: 10px; } .modal-footer { width: 100%; text-align: center; font-size: 14px; color: #1a3a7a; cursor: pointer; display: flex; justify-content: center; align-items: center; } .modal-footer span { margin-left: 5px; } @media screen and (min-width:1920px){ .file-container { background-color: #fff; padding: 0px; box-sizing: border-box; position: relative; float: left; z-index: 3; min-height: calc(100% - 160px); left: 50%; width: 58%; margin-left: -165px; margin-top: 80px; } .download-icon { left: 90%; } } @media screen and (max-width:1560px){ .file-container { background-color: #fff; padding: 0px; box-sizing: border-box; position: relative; float: left; z-index: 3; min-height: calc(100% - 160px); left: 50%; width: 62%; margin-left: -165px; margin-top: 80px; } .download-icon { left: 90%; } } @media screen and (max-width:1420px){ .file-container { background-color: #fff; padding: 0px; box-sizing: border-box; position: relative; float: left; z-index: 3; min-height: calc(100% - 160px); left: 50%; width: 100%; margin-left: -165px; margin-top: 80px; } .download-icon { left: 57%; } } @media screen and (max-width:1220px){ .file-container { background-color: #fff; padding: 0px; box-sizing: border-box; position: relative; float: left; z-index: 3; min-height: calc(100% - 160px); left: 50%; width: 100%; margin-left: -165px; margin-top: 80px; } .download-icon { left: 60%; } } @media screen and (min-width:751px) and (max-width:1080px) and (-webkit-min-device-pixel-ratio: 2) and (min-resolution: 263dpi){ .file-container { background-color: #fff; padding: 0px; box-sizing: border-box; position: relative; float: left; z-index: 3; min-height: calc(100% - 160px); left: 50%; width: 100%; margin-left: -165px; margin-top: 80px; } .download-icon { left: 90%; } } @media screen and (orientation: landscape) and (min-device-width: 750px) and (max-device-width: 1080px){ .file-container { background-color: #fff; padding: 0px; box-sizing: border-box; position: relative; float: left; z-index: 3; min-height: calc(100% - 160px); left: 50%; width: 100%; margin-left: -165px; margin-top: 80px; } .download-icon { left: 60%; } } @media screen and (max-width:750px){ .cpcont { margin-top: 5px; } .file-container { margin-top: 0px; width: 100%; background-color: #fff; padding: 0px; box-sizing: border-box; position: relative; float: left; left: 0px; z-index: 3; min-height: calc(100% - 160px); margin-left: 0px; } .layui-layer-page { border-radius: 20px; width: 340px; } .modal { background-color: #fff; padding: 10px; border-radius: 10px; width: 320px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); display: flex; flex-direction: column; align-items: center; } .item-details span { display: block; } .item-details .separator{ display:none; } .download-icon { left: 85%; } }