@media(max-width:480px) {
    .containerlaso .input-area {
        margin: 0 2px;
    }
    .containerlaso .col-2 {
        -ms-flex: 0 0 20%!important;
        flex: 0 0 20%!important;
        max-width: 20%!important;
        padding:0px
    }
    .containerlaso .col-3 {
        -ms-flex: 0 0 39%!important;
        flex: 0 0 39%!important;
        max-width: 40%!important;
        padding:0px
    }
    .containerlaso .col-4 {
        -ms-flex: 0 0 60%!important;
        flex: 0 0 60%!important;
        max-width: 60%!important;
        padding:0px
    }
  
    .containerlaso .ngaysinh {
        display: none;
    }
    .containerlaso .col-10 {
        -ms-flex: 0 0 100%!important;
        flex: 0 0 100%!important;
        max-width: 100%!important;
    }
    .containerlaso form,
    .form-control {
        font-size: 13px!important;
    }
    .containerlaso .form-control {
        height: 30px;
        /* line-height: 25px; */
    }
    .containerlaso .form-group {
        margin-bottom: 3px!important;
    }
    .containerlaso .form-group .d-flex {
        display: flex;
    }
    .containerlaso .form-group .mr-3:first {
        display: flex;
        width: 25%;
        float: left
    }
    .containerlaso .form-group .mr-3:after {
        display: flex;
        width: 26%;
        float: left
    }
    .containerlaso .form-group .mr-4 {
        display: block;
        /* width: 50%; */
        float: left
    }
    /* .containerlaso .form-group .mr-4 .mr-1 {
        width: 42%;
        display: inline-block;
    }
    .containerlaso .form-group .mr-4 .mr-1 {
        width: 42%;
        display: inline-block;
    } */
    .containerlaso .form-check-inline {
        display: -ms-inline-flexbox;
        display: inline-flex;
        -ms-flex-align: center;
        align-items: center;
        padding-left: 0;
        margin-right: 5px !important;
    }
    #form .form-control {
        font-size: 14px;
    }
    #form button {
        width: 100%;
    }
    .containerlaso .ml-2,
    .mx-2 {
        margin: 0px 2px !important;
    }
    #gio-am-selector {
        width: 120px
    }
}

@media(min-width:480px) {
    .containerlaso form,
    .form-control {
        font-size: 14px!important;
    }
    .containerlaso .input-area {
        margin: 0 15px;
    }
    .containerlaso .d-flex {
        display: -ms-flexbox!important;
        display: flex!important;
    }
    .containerlaso #hour-selector {
        margin-right: 10px
    }
  
}

.containerlaso {
    font-family: "Roboto", Helvetica, sans-serif;
    width: 100%;
    padding: 20px  15px;
    margin-right: auto;
    margin-left: auto;
    border: 1px solid #b9b7b7;
    border-radius: 10px;
    
    
}
.containerlaso *{
    font-family: "Roboto", Helvetica, sans-serif;
 font-weight: 500;
    
     -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.containerlaso .row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
   
}

.containerlaso .col-form-label {
    padding-top: calc(0.375rem + 1px);
    padding-bottom: calc(0.375rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
    padding-left:5px ;
    padding-right:3px ;
    white-space: nowrap;
}

.containerlaso label {
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 500;
}


.containerlaso .col-2 {
    -ms-flex: 0 0 16.666667%;
    /*flex: 0 0 16.666667%;*/
    max-width: 16.666667%;
}

.containerlaso .col-3 {
    -ms-flex: 0 0 25%;
    /*flex: 0 0 25%;*/
    max-width: 25%;
}
.containerlaso .col-4 {
    -ms-flex: 0 0 60%;
    /*flex: 0 0 25%;*/
    max-width: 60%;
}
.containerlaso .form-check-inline {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 0;
    margin-right: 12px;
}

.containerlaso .form-group {
    margin-bottom: 4px;
}

.containerlaso .form-check {
    position: relative;
    display: inline-block;
    padding-left: 5px;
}

.containerlaso .form-check-inline .form-check-input {
    position: static;
    margin-top: 0;
    margin-right: 5px;
    margin-left: 0;
}

.containerlaso input[type=checkbox],
input[type=radio] {
    box-sizing: border-box;
    padding: 0;
}

.containerlaso .form-check-input {
    position: relative;
    margin-top: 5px;
    margin-left: -5px;
}

.containerlaso button,
input {
    overflow: visible;
}

.containerlaso button,
input,
optgroup,
select,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.containerlaso .mr-2,
.mx-2 {
    margin-right: 7px!important;
}

.containerlaso .mr-3,
.mx-3 {
    margin-right: 0.5rem!important;
}

.containerlaso .ml-2,
.mx-2 {
    margin-left: 7px;
}

.containerlaso .mr-1,
.mx-1 {
    margin-right: 3px!important;
}

.containerlaso .text-nowrap {
    white-space: nowrap!important;
    display: block;
}

.text-075 {
    font-size: 11px;
    font-weight: 600;
}

#capture {
    margin-left: auto;
    margin-right: auto;
    -webkit-user-select: none;
    user-select: none;
    cursor: none;
    padding: 2.4px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    background-color: #e8e8e0;
    grid-gap: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url('../assets/background.jpg');
    background-size: auto 100%;
    font-family: 'arial', sans-serif;
    font-size: 12.3px!important;
    font-weight: 450;
    
}

.grid-container .grid-item {
    height: 240px;
    min-width: 180px;
    text-align: center;
    position: relative;
    padding: 5px 0 6px 4px
}

.grid-container .grid-item:not(:nth-of-type(6)):not(:nth-of-type(8)):not(:nth-of-type(9)) {
    border-bottom: 2.1px solid #000
}

.grid-container .grid-item:nth-child(-n+4),
.grid-item:nth-child(10),
.grid-item:nth-child(11),
.grid-item:nth-child(12),
.grid-item:nth-child(13) {
    border-top: 2.1px solid #000
}

.grid-container .grid-item:nth-child(1),
.grid-item:nth-child(4),
.grid-item:nth-child(5),
.grid-item:nth-child(7),
.grid-item:nth-child(8),
.grid-item:nth-child(9),
.grid-item:nth-child(10),
.grid-item:nth-child(13) {
    border-left: 2.1px solid #000
}

.grid-container .grid-item:nth-child(1),
.grid-item:nth-child(2),
.grid-item:nth-child(4),
.grid-item:nth-child(5),
.grid-item:nth-child(7),
.grid-item:nth-child(8),
.grid-item:nth-child(9),
.grid-item:nth-child(10),
.grid-item:nth-child(11),
.grid-item:nth-child(13) {
    border-right: 2.1px solid #000
}

.grid-container .thien-ban {
    grid-row: 2/span 2;
    grid-column: 2/span 2;
    border: none;
    height: 100%;
    padding: 12px;
    color: #0202f6;
    font-size: 13px
}

.grid-container .thien-ban .thien-ban-body {
    text-align: left;
    display: flex;
    justify-content: center;
    font-weight: 500;
    font-size: 13px;
}

.grid-container .thien-ban .thien-ban-body table .t-header {
    color: #000;
    font-weight: 700
}

.grid-container .thien-ban .thien-ban-body table td {
    height: 20px;
    line-height: 20px;
    padding: 1px;
}

.grid-container .thien-ban .thien-ban-body table .spect {
    height: 5px;
    line-height: 5px;
    padding: 0px;
}

.font-weight-bold {
    font-weight: 700
}

.grid-container .thien-ban .thien-ban-header {
    margin-bottom: 10px;
    color: #fa2e25
}

.grid-container .thien-ban .thien-ban-header::after {
    content: "";
    position: absolute;
    height: 2px;
    left: 20%;
    width: 60%;
    border-bottom: 2px solid #fa2e25
}

.grid-container .thien-ban .thien-ban-header .title {
    font-size: 15px;
    font-weight: bolder;
    text-transform: uppercase
}

.grid-container .thien-ban .thien-ban-header .website {
    font-size: 14px
}

.grid-container .thien-ban .lasotuvi {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700
}

.grid-container .thien-ban .thien-ban-footer {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    width: 80px;
    height: 80px;
    position: absolute;
    bottom: 0;
    right: 0;
    margin-right: 10px;
    margin-bottom: 10px
}

.top-cung {
    display: grid;
    grid-template-columns: 25% 60% auto 15%;
    justify-content: space-between;
    margin-bottom: 1px;
    align-items: center
}

.top-cung .cung-ten {
    text-align: left;
	font-weight: 700;
    font-size: 11.5px;
}

.top-cung .cung-dai-han {
    text-align: right;
    margin-right: 2px;
	font-weight: 700;
}

.top-cung .cung-dai-han-am {
    text-align: center;
    border: 2px solid red;
    border-radius: 50%;
}

.top-cung .cung-chu {
    text-transform: uppercase;
    font-weight: 900;
    white-space: nowrap;
	font-family: 'Roboto';
    font-size: 12.5px;
}

.chinh-tinh {
    font-size: 15.5px;
    line-height: 17.5px;
    font-weight: 700;
    min-height: 20px;
    margin-bottom: 4px;
	margin-top:2px;
}

.chinh-tinh>div {
    text-transform: capitalize
}

.bot-cung {
    display: grid;
    grid-template-columns: 30% 50% 20%;
    margin-bottom: 6px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0
}

.bot-cung .vong-trang-sinh {
    text-align: center;
    white-space: nowrap;
    font-weight: bolder;
	font-family: 'Roboto';
    font-size: 13px;
}

.bot-cung .tieu-han {
    background-color: red;
    color: #fff;
    max-width: 55px
}

.bot-cung .cung-tieu-han {
    text-align: right;
    margin-right: 3px
}

.hanhKim {
    color: #92918f
}

.hanhMoc {
    color: #006400
}

.hanhThuy {
    color: #0007ff
}

.hanhHoa {
    color: #fc0000
}

.hanhTho {
    color: #ffa80b
}

.hanhTrung {
    color: #000
}

.cungThan {
    background-color: darkred
}

.xungChieu {
    background-color: #d7ccc8
}

.floating {
    position: absolute;
    background: #000;
    color: #fff;
    padding: 0px 10px 0px !important;
    z-index: 1;
    min-width: 55px
}

.t-1-2 {
    top: 0;
	line-height:18px;
    left: 0;
    transform: translateX(-50%) translateY(-50%)
}

.t-3-4 {
    top: 0;
	line-height:18px;
    left: 50%;
    transform: translateY(-50%) translateX(-50%)
}

.t-5-6 {
    top: 0;
	line-height:18px;
    left: 50%;
	line-height:18px;
    transform: translateY(-50%) translateX(-50%)
}

.t-7-8 {
    bottom: 0;
	line-height:18px;
    right: 0;
    transform: translateX(50%) translateY(50%)
}

.t-9-10 {
    bottom: 0;
	line-height:18px;
    left: 50%;
    transform: translateY(50%) translateX(-50%)
}

.t-11-12 {
    bottom: 0;
	line-height:18px;
    left: 50%;
    transform: translateY(50%) translateX(-50%)
}

.btnExportImage {
    display: none;
    width: 30%;
}

.phu-tinh {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    white-space: nowrap;
    line-height: 14.5px;
    font-size: 12px;
    text-transform: capitalize;
}

.sao-tot {
    text-align: left
}

.sao-tot>div {
    text-transform: capitalize
}

.sao-xau {
    text-align: left;
    padding-left: 2px
}

.sao-xau>div {
    text-transform: capitalize
}

#tam-giac-truong-sinh {
    position: absolute;
    top: 0;
    left: 0
}

#captured {
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

.cung-nguyet-han {
    text-align: left;
    white-space: nowrap;
    margin-left: 3px;
    display: flex;
    align-items: flex-end
}

.text-capitalize {
    /* text-transform: lowercase */
}

#form {
    font-size: .9rem
}

#form .form-control {
    font-size: 14px;
     /* padding: 2px 5px  */
     height:35px;
}

.black-and-white {
    background-color: #fff;
    background-image: none
}

.black-and-white div {
    color: #000
}

.black-and-white .floating {
    background: #000;
    color: #fff
}

.black-and-white .cung-dai-han-am {
    border: 2px solid #000
}

.black-and-white .thien-ban .thien-ban-header::after {
    border-bottom: 2px solid #000
}

input::placeholder {
    text-align: center
}