/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/


@media (min-width: 991px) {
	
	.e-grid {
		--column: 2 !important;
	}
    .d-grid {
        --column: 3;
			}
    .d-grid .grid-w {
        grid-row: span 2 / auto;
			}
}

@media (max-width:650px) {
    .award {
        margin-top:15px !important;
    }
}

.blueboxlist a {
    color:#FFFFFF !important;
    text-decoration: underline !important;
}
.blueboxlist li a {
    text-decoration: underline !important;
}
.blueboxlist a:hover {
    color:#A8A8A8 !important;
}

.content-wrap {
    padding-top:20px !important;
}

.iconlist li {
        flex-wrap:nowrap !important;
}

.d-grid {
        --column: 1;
        display: grid;
        grid-template-columns: repeat(var(--column), 1fr);
        grid-gap: 30px;
}

.bg-yai {
        background-color:#005bbb;
        color:#FFFFFF;
}
.bg-yai h3 {
        color:#FFFFFF;
        font-size: 1.3rem;
}
.text-primary {
    color:#FFFFFF !important;
}
.award {
    width: 80%;
    border: 1px solid black;
    padding: 15px;
    color: #FFFFFF;
    display: table;
    float: inherit;
    background-color:#002e5e;
    margin: 0 auto;
    margin-top:-8px;
}
.award p {
    display: table-cell;
    text-align: left;
    vertical-align: middle; 
}
.iconaward {
    display:block;
    float:left;
    width: 80px;
    margin-left: 10px;
}
.entry {
    --cnvs-post-item-margin: 0px !important;
}

.btn-primary {
            width:100% !important;
        }
        .col {
            flex:none !important;
        }
        .btn {
            color:#002e5e !important;
            background-color:#FFFFFF !important;
            border: 1px solid #002e5e !important;
            padding:10px;
        }
        .btn:hover {
            background-color:#A8A8A8 !important;
        }
