
body{
	background-color: #f5f5f5;
	font-size: 24px;
	line-height: 1.25;
	margin: 0;
	font-family: 'Open sans', sans-serif;
	color: #404040;
    transition: all .5s ease-in-out;
    /*opacity:0;*/
}

.uppercase {
    text-transform: uppercase;
}

@media(min-width:768px){ /*  */
	body {
		height: 100%;
		width: 100%;
        position:absolute;
	}
}
@media(min-width:1920px){ /*  */
	body {
		height: 100vh;
		width: 100vw;
	}
}

h1{
	margin:0;
	margin-bottom: 15px;
	line-height: 1.25;
	font-size: 1.8em;
    font-weight: bold;
}

h2{
	font-size:1.4em;
}

h3{
	font-size:1.3em;
}

h4{
	font-size:1.2em;
}

h5{
	font-size:1.1em;
}

h6{
	font-size:1em;
}

h2,h3,h4,h5,h6{
	margin: 0;
}

h1,h2,h3,h4,h5,h6{
	font-family: 'Open sans', sans-serif;
}

.flex-box {
    display: flex;
    flex-wrap: wrap;
    align-content: space-evenly;
    width: 100%;
    height: 100%;
    padding: 15px;
    box-sizing: border-box;

    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: space-between;
    justify-items: stretch;
    align-items: stretch;
}

.flex-box-top {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;

    /* height: 15%; */
    align-content: center;
}

.flex-box-top-wrapper {
    padding: 15px;
    box-sizing: border-box;
}

.flex-box-top-wrapper.item-one {
    flex-basis: 50%;
}

.flex-box-top-wrapper.item-two {
    flex-basis: 25%;
}

.flex-box-top-wrapper.item-three {
    flex-basis: 25%;
}

.flex-box-top h1{
	margin-bottom: 0;
}

.flex-box-top h5.subtitle {
    width: 100%;
    font-weight: 600;
    color: #4caf50;
    font-size: .8em;
    text-transform: uppercase;
        margin-bottom: 5px;
}

.flex-box-top .heading {
    background: white;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 30px;
    box-shadow: 0 10px 30px rgb(56 142 60 / 25%);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.flex-box-top .icon-box {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    height: auto;
    width: 100%;
}

.flex-box-top .icon-box .icon-box-logo img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
}

.flex-box-top .update .icon-box .icon-box-logo img {
    max-height: 60px;
}

.flex-box-top .icon-box .icon-box-logo {
	display: flex;
    margin-right: 30px;
}

.flex-box-top .logos {
    background: white;
    width: 100%;
    height: 100%;
    box-shadow: 0 10px 30px rgb(56 142 60 / 25%);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.flex-box-top .heading:before,
.flex-box-top .update:before,
.flex-box-top .logos:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 4px;
    background: #4caf50;
    top: 0;
    left: 0;
    right: 0;
}

.logos .logos-wrapper {
    padding: 30px;
    flex: 0 1 33%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logos .logos-wrapper img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
}

.flex-box-top .update {
    background: white;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 30px;
    box-shadow: 0 10px 30px rgb(56 142 60 / 25%);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.update h3{
	margin: 0;
    font-weight: 400;

}

span.desc {
    width: 100%;
    display: block;
    font-weight: 600;
    font-size: .8em;
    color: #4caf50;
    text-transform: uppercase;
}
/*
span.day, span.time {
    position: relative;
    padding-left: 22px;
}

span.day:before {
    position: absolute;
    left: 0;
    content: "\f274";
    font-family: 'Font Awesome 5 Free';
    color: #4caf50;
}

span.time:before {
    position: absolute;
    left: 0;
    content: "\f017";
    font-family: 'Font Awesome 5 Free';
    color: #4caf50;
}

span.day:before, span.time:before{
	font-weight: 400;
}
*/
span.day, span.date, span.time {
    font-weight: 500;
    font-variant-numeric: lining-nums;
    font-size: .8em;
}

.flex-box-middle {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    /* height: 80%; */
    flex-direction: row;
    flex-basis: 100%;
}

.flex-table {
    padding: 15px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
}

.flex-table-tr {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    align-items: center;
}

.flex-table-td:nth-child(1) {
    flex: 0 1 32%;
    box-sizing: border-box;
}
.flex-table-td:nth-child(2) {
    flex: 0 1 18%;
    box-sizing: border-box;
}

.flex-table-td:nth-child(3) {
    flex: 0 1 50%;
    box-sizing: border-box;
}

.flex-table-body-nobg .flex-table-td:nth-child(1) {
    flex: 1 1 26%;
    box-sizing: border-box;
    padding-right: 15px;
    height: 100%;
    vertical-align: top;
}
.flex-table-body-nobg .flex-table-td:nth-child(2) {
    flex: 1 1 70%;
    box-sizing: border-box;
    padding-left: 15px;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}

.flex-table-body {
	background-color: white;
	padding: 0 30px;
	display: flex;
    flex-wrap: wrap;
    width: 100%;
    box-shadow: 0 10px 30px rgb(56 142 60 / 25%);
    border-radius: 8px;
}

.flex-table-body-nobg {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.flex-table-body .flex-table-tr{
	position: relative;
}

.flex-table-body .flex-table-tr:after {
    position: absolute;
    width: 100%;
    content: "";
    height: 1px;
    opacity: .2;
    bottom: 0px;
    border-bottom: 1px solid #4caf50;
}

.flex-table-tr:nth-child(1) {
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Open sans', sans-serif;
}

.flex-table-body .flex-table-tr:last-child:after {
    display: none;
}

span.closed, span.available, span.limited{
	position: relative;
	padding-left: 35px;
}

span.closed:before, span.available:before, span.limited:before{
	position: absolute;
	left: 0;
	content: "\f192";
	font-weight: 700;
	font-family: "Font Awesome 5 Free";
}

span.closed:before{
	color: #f44336;
}

span.available:before{
	color: #4caf50;
}

span.limited:before{
	color: #ff9800;
}

.flex-box-bottom {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;

    align-items: center;
    justify-content: flex-end;

    flex-direction: row;
}

.flex-box-bottom .footer {
    font-size: .8em;
    padding-right: 20px;
}

.flex-table-tr:nth-child(n+2) .flex-table-td:nth-child(1) {
    font-weight: 600;
    text-transform: uppercase;
}

.tag-available{
	background: rgb(76 175 80 / 15%);
    color: #43a047;
}

.tag-limited{
	background: rgb(255 152 0 / 15%);
    color: #fb8c00;
}

.tag-closed{
	background: rgb(244 67 54 / 15%);
    color: #f44336;
}

.tag-closed, .tag-limited, .tag-available{
	padding: 6px 18px;
    border-radius: 6px;
}

.flex-table-td {
    line-height: 2em;
}

.flex-table-tr:nth-child(n+2) .flex-table-td:nth-child(1) .tag-limited, .flex-table-tr:nth-child(n+2) .flex-table-td:nth-child(1) .tag-available, .flex-table-tr:nth-child(n+2) .flex-table-td:nth-child(1) .tag-closed {
    position: relative;
    padding-left: 45px;
}

.flex-table-tr:nth-child(n+2) .flex-table-td:nth-child(1) .tag-limited:before, .flex-table-tr:nth-child(n+2) .flex-table-td:nth-child(1) .tag-available:before, .flex-table-tr:nth-child(n+2) .flex-table-td:nth-child(1) .tag-closed:before {
    content: "\f3c5";
    position: absolute;
    font-family: 'Font Awesome 5 Free';
    font-weight: 700;
    left: 15px;
}


.icon-box-lang {
    margin-left: auto;
    text-align: center;
    font-size: 0.6em;
}
.icon-box-lang a {
    text-decoration: none;
    color: #404040;
}

.flex-table-img {
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
    height: 100%;
}
.flex-table-img img {
    width: 100%;
    height: 100%;
    border: 0;
    margin: 0;
    padding: 0;
    border-radius: 8px;
    object-fit: cover;
}

.flex-table-body-nobg .heading table {
    width: 100%;
}
.flex-table-body-nobg .flex-table-td {
    font-weight: normal;
    text-transform: none;
}
.flex-table-body-nobg .flex-box-top {
    height: 100%;
}
.point-bg {
    background-image: url('/../image/detail-status-0.png');
    background-repeat: no-repeat;
    background-position: center top;
    width: 100px;
    height: 120px;
    text-align: center;
    vertical-align: top;
}
.vl {
    border-left: 1px solid #b0b0b0;
    margin-left: 5px;
    padding-left: 15px;
    position: relative;
}

.infobox {
    padding: 10px 0px;
    border-radius: 5px;
    margin-left: 10px;
}
.infobox-success {
    padding: 10px 20px;
    color:#ffffff;
    background: #4caf50;
}
.infobox-warning {
    padding: 10px 20px;
    color:#ffffff;
    background: #ffa72b;
}
.infobox-danger {
    padding: 10px 20px;
    color:#ffffff;
    background: #fb3131;
}
.infobox-success:before{
    content: "";
    position: absolute;
    top: 12px;
    left: 0;
    z-index: 2;
    height: 20px;
    width: 11px;
    /* margin-top: -15px; */
    background: linear-gradient(-45deg, #4caf50 6px, transparent 7px), linear-gradient(225deg, #4caf50 6px, transparent 7px);
    background-position: left 0px, right bottom;
    background-size: 100% 50%;
    background-repeat: no-repeat;
    border: none;
    box-shadow: none;
}
.infobox-warning:before{
    content: "";
    position: absolute;
    top: 12px;
    left: 0;
    z-index: 2;
    height: 20px;
    width: 11px;
    /* margin-top: -15px; */
    background: linear-gradient(-45deg, #ffa72b 6px, transparent 7px), linear-gradient(225deg, #ffa72b 6px, transparent 7px);
    background-position: left 0px, right bottom;
    background-size: 100% 50%;
    background-repeat: no-repeat;
    border: none;
    box-shadow: none;
}
.infobox-danger:before{
    content: "";
    position: absolute;
    top: 12px;
    left: 0;
    z-index: 2;
    height: 20px;
    width: 11px;
    /* margin-top: -15px; */
    background: linear-gradient(-45deg, #fb3131 6px, transparent 7px), linear-gradient(225deg, #fb3131 6px, transparent 7px);
    background-position: left 0px, right bottom;
    background-size: 100% 50%;
    background-repeat: no-repeat;
    border: none;
    box-shadow: none;
}

@media(min-width: 1201px) and (max-width: 1919px){
    .flex-table-td:nth-child(1), .flex-table-td:nth-child(2), .flex-table-td:nth-child(3){
		line-height: 2.0em;
        font-size: 0.8em;
    }

    .flex-table-body-nobg .flex-table-td:nth-child(1) {
        flex: 1 1 35%;
    }
    .flex-table-body-nobg .flex-table-td:nth-child(2) {
        flex: 1 1 65%;
    }
}

@media(min-width: 768px) and (max-width: 1200px){
    .flex-table-td:nth-child(1), .flex-table-td:nth-child(2), .flex-table-td:nth-child(3){
		flex: 1 1 50%;
        line-height: 2.4em;
        font-size: 0.8em;
    }

    .flex-table-body-nobg .flex-table-td:nth-child(1), .flex-table-body-nobg .flex-table-td:nth-child(2) {
        flex: 1 1 100%;
        padding: 0;
        height: auto;
    }
    .flex-table-body-nobg .flex-table-td:nth-child(2) {
        padding-top: 30px;
    }

    .flex-box-top {
        flex-wrap: wrap;
    }
    .flex-box-top-wrapper.item-one {
        flex-basis: 100%;
    }
    .flex-box-top-wrapper.item-two, .flex-box-top-wrapper.item-three {
        flex-basis: 50%;
    }
    .flex-box-bottom .footer {
        margin-bottom: 20px;
    }
}

@media(max-width: 767px){


    .infobox-success:before{
        content: "";
        display: none;
    }
    .infobox-warning:before{
        content: "";
        display: none;
    }
    .infobox-danger:before{
        content: "";
        display: none;
    }
    .flex-table-body-nobg .flex-box-top {
        height: auto;
    }
    .point-bg {
        background: none;
    }

    .flex-table-body-nobg .flex-table-td:nth-child(1), .flex-table-body-nobg .flex-table-td:nth-child(2) {
        flex: 1 1 100%;
        padding: 0;
        height: auto;
    }
    .flex-table-body-nobg .flex-table-td:nth-child(2) {
        padding-top: 30px;
    }

    .flex-table-img,
    .flex-table-body-nobg .flex-table-td:nth-child(1),
    .flex-table-body-nobg .flex-table-td:nth-child(2) {
        height: auto;
    }
    .flex-table-img img {
        height: auto;
    }

	body{font-size: 16px;}

	h1{font-size:22px;}

	.logos .logos-wrapper {
    	padding: 20px;
	}

    .flex-box-top {
        flex-wrap: wrap;
    }

	.flex-box-top-wrapper, .flex-box-middle-wrapper{
		flex-basis: 100%!important;
	}

	.flex-box-top .item-one{
		order:1;
	}

	.flex-box-top .item-two{
		order:2;
	}

	.flex-box-top .item-three{
		order:3;
	}

	.flex-table-td:nth-child(1), .flex-table-td:nth-child(2), .flex-table-td:nth-child(3){
		flex: 1 1 100%;
        box-sizing: border-box;
        flex-basis: 100%;
        width: auto;
        align-items: stretch;
        line-height: 2.4em;
	}

	.flex-table-body{
		overflow: scroll;
		padding-bottom: 15px;
	}

	.flex-table-body .flex-table-tr{
		padding: 15px 0;
		width: 100%;
		flex-wrap: wrap;
	}


	.flex-box-bottom{
    	justify-content: flex-start;
    	padding: 15px 0 15px 15px;
	}

}
