:root{
    --single-ban-col: 100%;
}

.container {
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

.content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: grid;
    grid-template-columns: 180px calc(100% - 180px);
    grid-template-rows: 37px calc(100% - 70px) 33px;
    grid-template-areas: 'head head' 'left right' 'foot foot';
}

.content .head {
    grid-area: head;
    background-color: #ebf1ff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 11px;
    overflow: visible;
}

.content .head span {
    font-weight: 600;
    letter-spacing: 1px;
    color: #666;
    font-size: 17px;
}

.content .head ul {
    width: auto;
    height: 100%;
    display: block;
    padding: 2.5px;
    margin-right: -9px;
}

.content .head ul li {
    display: inline-block;
    height: 30px;
    font-size: 13px;
    line-height: 30px;
    background-color: #f5faff;
    color: #1a61a2;
    border: 1px solid #b9ddff;
    padding: 0 8px;
    border-radius: 5px;
    cursor: pointer;
    transition: all .4s ease-in-out;
}

.content .head ul li i {
    color: inherit;
}

.content .head ul li span {
    font-size: inherit;
    color: inherit;
    font-weight: 400;
}

.content .head ul li:hover,
.content .head ul li.active {
    background-color: #1a61a2;
    color: #fff;
}

.content .left {
    grid-area: left;
    background-color: #fcfeff;
    border-right: 1.5px solid #dfdfdf;
    overflow-y: auto;
}

.content .left ul {
    float: left;
    width: 100%;
    padding: 4px;
}

.content .left ul li {
    float: left;
    width: 100%;
    height: 32px;
    padding: 0 7px;
    display: flex;
    align-items: center;
    column-gap: 7px;
    color: #24496a;
    font-size: 13px;
    letter-spacing: 1px;
    border-bottom: 1px solid #ebf5ff;
    cursor: pointer;
    transition: all .4s linear;
    border-radius: 5px;
    margin-bottom: 2px;
}

.content .left ul li.active,
.content .left ul li:hover {
    background-color: #1a61a2;
    color: #fff;
}

.content .right {
    grid-area: right;
    background-color: #f9fdff;
    overflow: hidden;
    padding: 10px;
    overflow-y: auto;
}

.content .right .block {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, calc(50% - 10px));
    grid-template-rows: max-content;
    gap: 20px;
}

.content .right .block .with-action-btn{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 45px;
    padding: 5px 0 15px;
    font-size: 18px;
    letter-spacing: 1px;
    color: #666;
}

.content .right .block .with-action-btn::after{
    content: "";
    position: absolute;
    bottom: 5px;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    left: 0;
    background-color: #f1f1f1;
}

.content .right .block:has(.block-content) {
    grid-template-columns: 1fr;
}

.content .right .block .block-content {
    display: grid;
}

.content .right .block :is(.about-manage,.home-manage,.site-manage,.site-banner-manage) {
    grid-template-columns: repeat(2, calc(50% - 5px));
    grid-template-rows: 150px 150px auto auto;
    grid-template-areas: 'icon logo' 'list logo' 'list text' 'nothing text';
    gap: 10px;
}

.content .right .block .home-manage {
    grid-template-rows: repeat(6, auto);
    grid-template-areas: 'ban1 ban2' 'ban3 ban4' 'about about' 'mission mission' 'service service' 'highlights highlights';
}

.content .right .block .site-banner-manage {
    grid-template-rows: max-content;
    grid-template-areas: unset;
    align-items: flex-start;
}

.content .right .block .about-manage {
    grid-template-columns: 100%;
    grid-template-rows: auto;
    grid-template-areas: unset;
}

.content .right .block .block-content .icon {
    grid-area: icon;
}

.content .right .block .block-content .logo {
    grid-area: logo;
}

.content .right .block .block-content .list {
    grid-area: list;
}

.content .right .block .block-content .text {
    grid-area: text;
}

.content .right .block .block-content .ban1 {
    grid-area: ban1;
}

.content .right .block .block-content .ban2 {
    grid-area: ban2;
}

.content .right .block .block-content .ban3 {
    grid-area: ban3;
}

.content .right .block .block-content .ban4 {
    grid-area: ban4;
}

.content .right .block .block-content .about {
    grid-area: about;
}

.content .right .block .block-content .mission {
    grid-area: mission;
}

.content .right .block .block-content .service {
    grid-area: service;
}

.content .right .block .block-content .highlights {
    grid-area: highlights;
}

.content .right .block .block-content .items {
    padding: 40px 10px 10px;
    border: 1px solid #ebf1ff;
    border-radius: 3px;
    overflow: hidden;
}

.content .right .block .block-content .items .item-head {
    position: absolute;
    left: 0;
    top: 0;
    height: 40px;
    width: 100%;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #111;
    background-color: #ebf1ff;
}

.content .right .block .block-content .items .item-head span {
    color: inherit;
    font-size: 12px;
    letter-spacing: 1px;
}

.content .right .block .block-content .items .item-head .btn {
    width: max-content;
    display: flex;
    align-items: center;
    height: 100%;
    column-gap: 5px;
    margin-right: -5px;
}

.content .right .block .with-action-btn button,
.content .right .block .block-content .items .item-head .btn :is(button,input) {
    height: 30px;
    padding: 3px 10px;
    border: 0;
    border-radius: 3px;
    background-color: #00639d;
    color: #fff;
    font-size: 11px;
    letter-spacing: 1px;
}

.content .right .block .block-content .items .item-head .btn input{
    outline: none;
    color: #444;
    background-color: #fff;
    border: 1px solid #dedede;
    cursor: pointer;
}

.content .right .block .block-content .items .item-head .btn .remove {
    background-color: #ff6b6b;
}

.content .right .block .block-content .items .item-body {
    width: 100%;
    max-height: 100%;
    padding: 15px;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.content .right .block .about-manage .items .item-body:nth-child(even){
    background-color: #f9f0e4;
}

.content .right .block .block-content .items .item-body .images{
    display: grid;
    grid-template-columns: var(--img-grid-col);
    grid-template-rows: max-content;
    align-items: center;
    column-gap: 10px;
    padding: 10px;
    width: 100%;
    overflow: hidden;
}

.content .right .block .block-content .items .item-body ul.image-content{
    width: 100%;
}

.content .right .block .block-content .items .item-body ul.image-content li{
    width: 100%;
    font-size: 14px;
    padding: 3px 0;
    letter-spacing: .8px;
    color: #555;
}

.content .right .block .block-content .items .item-body .multi_btn{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, calc(100%/3 - 3.3px));
    gap: 5px;
}

.content .right .block .block-content .items .item-body .multi_btn button.item-update{
    background-color: #ffb23d;
    color: #222;
    font-weight: 600;
}

.content .right .block .block-content .items .item-body .multi_btn .details{
    grid-column: unset;
    background-color: #1f3046;
}

.content .right .block .block-content .items .item-body .images img{
    max-width: 100%;
}

.content .right .block .block-content .items .item-body .check-list {
    width: 100%;
}

.content .right .block .block-content .items .item-body .check-list li {
    width: 100%;
    color: #444;
    font-size: 13px;
    padding: 4px 0;
    margin-bottom: 5px;
    display: grid;
    grid-template-columns: 16px calc(100% - 23px);
    align-items: center;
    column-gap: 6px;
    letter-spacing: .7px;
}

.content .right .block .block-content .items .item-body .check-list li b {
    margin-right: 5px;
    font-weight: 600;
}

.content .right .block .block-content .items .item-body .check-list li:last-child {
    margin-bottom: 0;
}

.content .right .block .block-content .items span.item-block-head{
    width: 100%;
    font-size: 17px;
    line-height: 22px;
    color: #666;
    letter-spacing: .6px;
}

.content .right .block .block-content .items .item-body p {
    color: #333;
    letter-spacing: .8px;
    font-size: 14px;
    line-height: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* This sets the number of lines */
    -webkit-box-orient: vertical;  
    overflow: hidden;
    margin-bottom: 7px;
}

.content .right .block .block-content .items .item-body .ceo-msg {
    width: 100%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    column-gap: 10px;
    margin-bottom: 10px;
}

.content .right .block .block-content .items .item-body .ceo-msg .ceo-title {
    display: grid;
    grid-template-columns: 60px calc(100% - 70px);
    column-gap: 10px;
    align-items: center;
}

.content .right .block .block-content .items .item-body .img-con {
    height: 100%;
    overflow: hidden;
}

.content .right .block .block-content .items .item-body :is(.icon-img, .logo-img, .ban-img){
    display: grid;
    grid-template-columns: 100px calc(100% - 110px);
    align-items: center;
    column-gap: 10px;
}

.content .right .block .block-content .items .item-body :is(.logo-img, .ban-img){
    grid-template-columns: 100%;
    grid-template-rows: calc(100% - 50px) 40px;
    justify-items: center;
}

.content .right .block .block-content .items .item-body .logo-img{
    height: 247px;
    row-gap: 10px;
}
.content .right .block .block-content .items .item-body .icon-img{
    grid-template-rows: 90px;
}

.content .right .block .block-content .items .item-body .headline {
    margin-bottom: 10px;
}

.content .right .block .block-content .items .item-body p:is(.medium, .regular) {
    margin-bottom: 10px;
}

.content .right .block .block-content .items .item-body:has(.items-block) {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.content .right .block .block-content .items .item-body .items-block {
    flex: 1 1 450px;
    max-width: 450px;
    display: grid;
    grid-template-columns: 100%;
    row-gap: 10px;
    padding: 10px;
    background-color: #fff9f3;
    border-radius: 5px;
    box-shadow: 0 0 15px #88888845;
}

.content .right .block .block-content .items .item-body .item-block-icon {
    display: flex;
    justify-content: center;
    /* background-color: #efefef; */
    padding: 20px 0;
    border-radius: 10px;
}

.content .right .block .block-content .items .item-body .item-block-icon img{
    max-width: 100%;
    aspect-ratio: 1 / 1;
    height: 250px;
    object-fit: cover;
    object-position: top;
}

.right-modal .modal-con-body :is(.preview-map,.img-preview){
    float: left;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.right-modal .modal-con-body .preview-map{
    border: 1px solid #dedede;
}

.content .right .block .block-content .items .item-body .item-block-icon .floating-icon{
    position: absolute;
    height: 60px;
    width: 60px;
    z-index: 5;
    left: 7px;
    top: 7px;
}

.content .right .block .block-content .items .item-body .single-banner {
    width: 100%;
    max-height: auto;
    overflow: hidden;
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: var(--single-ban-col);
    column-gap: 15px;
}

.content .right .block .block-content .items .item-body .single-banner :is(img, iframe){
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 450px;
}

.content .right .block .block-content .items .item-body div:is(.left-banner, .right-banner) {
    width: 50%;
    max-height: 300px;
    overflow: hidden;
    margin-bottom: 10px;
}

.content .right .block .block-content .items .item-body .ban-img img {
    object-fit: cover;
    width: 100%;
    max-height: 363px;
    aspect-ratio: 1 / 1;
    object-position: top;
}

.content .right .block .block-content .items .item-body address{
    padding: 10px 20px;
    font-size: 13px;
    background-color: beige;
    border-radius: 20px;
    letter-spacing: 1px;
    margin: 15px auto 10px;
}

.content .right .block .block-content .items .item-body .items-block :is(button,a) {
    border: 0;
    height: 30px;
    background-color: #ff6b6b;
    color: #fff;
    width: 100%;
    display: flex;
    justify-content: center;
    column-gap: 7px;
    align-items: center;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    letter-spacing: 1px;
}

.content .right .block .block-content .items .item-body form.form{
    width: 100%;
    height: auto;
    max-width: 560px;
    padding: 20px;
    overflow: hidden;
}

.content .right .block .block-content .items .item-body form.form .form-btn{
    float: left;
    width: 100%;
    height: 40px;
    background-color: transparent;
    padding: 10px 0 0;
}

.content .right .block fieldset {
    padding: 15px;
    border-radius: 5px;
    border: 2px solid #3f95c7;
}

.content .right .block fieldset legend {
    padding: 5px 7px;
    background-color: #3f95c7;
    letter-spacing: 1px;
    font-size: 14px;
    border-radius: 3px;
    color: #fff;
}

.right-modal .modal-con-body form,
.content .right .block form {
    width: 100%;
}

.right-modal .modal-con-body form .form-block,
.content .right .block form .form-block {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-rows: 25px max-content;
    row-gap: 5px;
    margin-bottom: 8px;
    float: left;
    overflow: hidden;
}

.right-modal .modal-con-body form .form-block label,
.content .right .block form .form-block label {
    color: #444;
    display: flex;
    align-items: flex-end;
    letter-spacing: .7px;
    font-size: 14px;
}

.right-modal .modal-con-body form .form-block label span{
    color: #f00;
    margin-left: 12px;
}

.right-modal .modal-con-body form .form-block :is(textarea, input),
.content .right .block form .form-block :is(textarea, input) {
    border: 1px solid #dedede;
    border-radius: 3px;
    padding: 4px 7px;
    outline-color: #1a8dc9;
    height: 32px;
}

.right-modal .modal-con-body form .form-block textarea,
.content .right .block form .form-block textarea {
    min-height: 100px;
    max-height: 250px;
    overflow-y: auto;
    resize: vertical;
}

.right-modal .modal-con-body form .img-block{
    padding: 0 15px;
    border-radius: 10px;
}

.right-modal .modal-con-body form .img-block:nth-child(odd){
    background-color: antiquewhite;
}

.content .foot {
    grid-area: foot;
    background-color: #f6f9ff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 15px;
}

.content .foot span {
    font-size: 13px;
    letter-spacing: .7px;
    color: #444;
}

table.table-default{
    width: 100%;
    border-collapse: collapse;
    border: 0;
    border-radius: 2px;
    overflow: hidden;
}
table.table-default :is(td,th){
    border: 1px solid #dedede;
    padding: 4px 8px;
    font-size: 13px;
    text-align: left;
    color: #333;
    letter-spacing: .8px;
}

table.table-default th:first-child div.th-con{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

table.table-default .sl{
    width: 50px;
    text-align: center;
}

table.table-default .btn-con{
    min-width: 110px;
    width: var(--btn-con-width);
    text-align: center;
}
table.table-default .btn-con div.td-btn{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
table.table-default th:first-child div.th-con :is(input[type=search],input[type=date]),
table.table-default th:first-child div.th-con button,
table.table-default .btn-con div.td-btn :is(button, a.sent_reply){
    border: 0;
    border-radius: 3px;
    padding: 5px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    cursor: pointer;
}
table.table-default th:first-child div.th-con:has(input[type=search]){
    justify-content: flex-start;
    column-gap: 10px;
}
table.table-default th:first-child div.th-con :is(input[type=search],input[type=date]){
    display: block;
    margin-left: -4px;
    width: 260px;
    border: 1px solid #dfdfdf;
    color: #333;
    height: 30px;
    outline: unset;
}
table.table-default thead tr:nth-child(2){
    background-color: #101720;
}
table.table-default thead tr:nth-child(2) th{
    color: #fff;
}
table.table-default th:first-child div.th-con button,
table.table-default .btn-con div.td-btn :is(button.view, button.sent_reply, a.sent_reply){
    background-color: #00639d;
}
table.table-default .btn-con div.td-btn button.erase{
    background-color: #ff6b6b;
}
table.table-default .btn-con div.td-btn button.update{
    background-color: #ffb23d;
    color: #000;
}
table.table-default th:first-child div.th-con button{
    padding: 5px 10px;
    column-gap: 5px;
    height: 30px;
    margin-left: auto;
}

table.table-default tr{
    height: 32px;
}

table.table-default td img{
    width: 50px;
    max-height: 100%;
}

table.table-default div.td-btn span.restricted{
    height: 30px;
    width: 100%;
    background-color: #fff1f0;
    color: #f72414;
    border: 1px solid #ffd0d0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: not-allowed;
}

td span.status{
    padding: 6px 7.5px;
    font-size: 10px;
    background-color: #177133;
    color: #fff;
    border-radius: 15px;
    letter-spacing: 1px;
}

td span.danger{
    background-color: #ff604a;
}

.dashboard{
    display: grid;
    grid-template-columns: calc(100% - 360px) 350px;
    column-gap: 10px;
    padding-top: 75px;
}

.dashboard h1{
    position: absolute;
    top: 0;
    height: 65px;
    width: 100%;
    line-height: 50px;
    font-size: 25px;
    letter-spacing: .7px;
    color: #666;
    text-align: center;
    padding-bottom: 15px;
}

.dashboard ul.blocks{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-start;
    padding-bottom: 30px;
}

.dashboard ul.blocks li{
    flex: 1 1 250px;
    max-width: 250px;
    height: 120px;
    color: #3d6b81;
    border-radius: 10px;
    background-color: #f0faff;
    border: 1px solid #b9d4e0;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 80px 40px;
    align-items: center;
    cursor: pointer;
}

.dashboard ul.blocks li span{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

.dashboard ul.blocks li span i{
    font-size: 40px;
}

.dashboard ul.blocks li span:last-child{
    align-items: flex-start;
}

.dashboard ul.subscription{
    width: 100%;
    height: max-content;
    padding: 5px 13px;
    background-color: #f1fbff;
    border-radius: 10px;
    border: 1px solid #2e6982;
    padding-bottom: 15px;
    position: sticky;
    top: 0;
}

.dashboard ul.subscription li{
    font-size: 13px;
    color: #666;
    letter-spacing: .7px;
    display: grid;
    grid-template-columns: 140px 210px;
    height: 24px;
    align-items: center;
}

.dashboard ul.subscription li:last-child{
    display: flex;
    justify-content: center;
    column-gap: 5px;
    background-color: #2e6982;
    color: #fff;
    margin-top: 10px;
    height: 40px;
    text-align: center;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
}

.dashboard ul.subscription li:last-child i{
    font-size: 16px;
}

b.great{
    background-color: #08ab46;
    padding: 3px 7px;
    border-radius: 3px;
    color: #fff;
}
b.good{
    background-color: #fc9004;
    padding: 3px 7px;
    border-radius: 3px;
    color: #fff;
}
b.bad{
    background-color: #ff604a;
    padding: 3px 7px;
    border-radius: 3px;
    color: #fff;
}
/* Radio Button */
.checkbox-wrapper{
    display: flex;
    align-items: center;
}
.review_status{
    font-size: 13px;
    margin-left: 5px;
    letter-spacing: 1px;
}
.checkbox-wrapper * {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

  .checkbox-wrapper input[type="checkbox"] {
    display: none;
  }

  .checkbox-wrapper label {
    --size: 20px;
    --shadow: calc(var(--size) * .07) calc(var(--size) * .1);
    position: relative;
    display: block;
    width: var(--size);
    height: var(--size);
    margin: 0 0 0 5px;
    background-color: #f72414;
    border-radius: 50%;
    box-shadow: 0 var(--shadow) #ffbeb8;
    cursor: pointer;
    transition: 0.2s ease transform, 0.2s ease background-color,
      0.2s ease box-shadow;
    overflow: hidden;
    z-index: 1;
  }

  .checkbox-wrapper label:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    width: calc(var(--size) * .7);
    height: calc(var(--size) * .7);
    margin: 0 auto;
    background-color: #fff;
    transform: translateY(-50%);
    border-radius: 50%;
    box-shadow: inset 0 var(--shadow) #ffbeb8;
    transition: 0.2s ease width, 0.2s ease height;
  }

  .checkbox-wrapper label:hover:before {
    width: calc(var(--size) * .55);
    height: calc(var(--size) * .55);
    box-shadow: inset 0 var(--shadow) #ff9d96;
  }

  .checkbox-wrapper label:active {
    transform: scale(0.9);
  }

  .checkbox-wrapper .tick_mark {
    position: absolute;
    top: -1px;
    right: 0;
    left: calc(var(--size) * -.05);
    width: calc(var(--size) * .6);
    height: calc(var(--size) * .6);
    margin: 0 auto;
    margin-left: calc(var(--size) * .14);
    transform: rotateZ(-40deg);
  }

  .checkbox-wrapper .tick_mark:before,
  .checkbox-wrapper .tick_mark:after {
    content: "";
    position: absolute;
    background-color: #fff;
    border-radius: 2px;
    opacity: 0;
    transition: 0.2s ease transform, 0.2s ease opacity;
  }

  .checkbox-wrapper .tick_mark:before {
    left: 0;
    bottom: 0;
    width: calc(var(--size) * .1);
    height: calc(var(--size) * .3);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.23);
    transform: translateY(calc(var(--size) * -.68));
  }

  .checkbox-wrapper .tick_mark:after {
    left: 0;
    bottom: 0;
    width: 100%;
    height: calc(var(--size) * .1);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.23);
    transform: translateX(calc(var(--size) * .78));
  }

  .checkbox-wrapper input[type="checkbox"]:checked + label {
    background-color: #07d410;
    box-shadow: 0 var(--shadow) #92ff97;
  }

  .checkbox-wrapper input[type="checkbox"]:checked + label:before {
    width: 0;
    height: 0;
  }

  .checkbox-wrapper input[type="checkbox"]:checked + label .tick_mark:before,
  .checkbox-wrapper input[type="checkbox"]:checked + label .tick_mark:after {
    transform: translate(0);
    opacity: 1;
  }

  ul.port_type_names{
    width: 100%;
    display: flex;
    row-gap: 7px;
    flex-wrap: wrap;
    padding: 7px 0;
  }

  ul.port_type_names li{
    width: 100%;
    height: 30px;
    padding: 7px 10px;
    font-size: 13px;
    letter-spacing: 1px;
    background-color: #f1f1f1;
    border-radius: 2px;
    overflow: hidden;
  }

  ul.port_type_names li:first-child{
    background-color: transparent;
    color: #ff604a;
    font-style: italic;
  }

  ul.port_type_names li span:last-child{
    position: absolute;
    right: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: #ff604a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .preview img{
    padding: 5px;
    border: 1px solid #dedede;
  }

  .portfolio-manage .status{
    width: auto;
    padding: 7px 12px;
    position: absolute;
    right: 0;
    background-color: antiquewhite;
    letter-spacing: .6px;
    font-size: 12px;
  }
