/* ---------- main set ---------- */
/* ------ font ------ */
@font-face 
{
	font-family: webFont;
	src: url(../font/archivo.ttf);
}

/* ------ variables ------ */
:root
{   
    /* default font size */
    --font-root-size: 12px;
    --main-border: #ef3e37;
    --main-text: #a8a9ad;
    --main-lg: #cdced3;
    --news-border: #ef3e37; 
    --news-text: #58585a;
    --news-text-white: #ffffff;
    --main-text-dark: #3f3e40;
}

/* ---------- css set ---------- */
html
{
    width: 100%;
    height: 100%;
}

body
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    min-height: 100%;
    padding: 0px;
    margin: 0px;
}

#content-box
{
    width:100%;
    max-width:1300px;
}

/* ---------- baner ---------- */
header img
{
    width:100%;
}

/* ---------- content ---------- */
#content
{
    width:98%;
    margin: 0px 1% 0px 1%;
}

.content-box
{
    width:99.35%;
    max-width:100%;
    border-left: 5px solid var(--footer-frame);
    border-right: 5px solid #ffffff;
    font-family: webFont;
}

/* ---------- top ---------- */
.m-top-box
{
    width:100%;
}


/* data */
.data-box
{
    margin: 2% 2% 2% 1%;
    width: 38%;
    min-width:280px;
    
}

.coop-box, .desc-box
{
    width:99.6%;
    display: block;
    text-decoration: none;
    font-size: var(--font-root-size);
    margin: 0px 0px 2% 0px;
    border-right: 2px solid var(--main-text-dark);
    border-bottom: 2px solid var(--main-text-dark);
}

.coop-text, .desc-text
{
    float: left;
    width:94.5%;
    margin: 0px 0px 1% 0px;
    padding: 10px;
    font-family: webFont;
    line-height: 140%;
    text-align: center;
    background-color: #ffffff;
    color: var(--main-text-dark);
    font-size: 1.4em;
}

.coop-text
{
    color: var(--main-text-dark);
    font-size: 1.4em;
}

.desc-text
{
    color: var(--main-text-dark);
    font-size: 1.4em;
}

.dt-red
{
    background-color: var(--main-border) !important;
    color: #ffffff !important;
    font-weight: none !impotant;
}

.event-tab
{
    width:98%;
    border-spacing: 5px;
    margin-bottom: 2%;
    font-family: webFont;
    font-size: var(--font-root-size);
}

.et1
{
    width: 30%;
    padding: 2.5% 1.5% 1.5% 1.5%;
    background-color: var(--main-lg);
    text-align: center;
    color: var(--main-text-dark);
    font-size: 1.4em;
    
}

.et2 
{
    width:70%;
    padding: 2.5% 1.5% 1.5% 1.5%;
    background-color: var(--main-lg);
    text-align: center;
    color: var(--main-text-dark);
    font-size: 1.4em;
}

.et2 a
{
	color: var(--main-text-dark);
}

/* media */
.media-box
{
    margin: 2% 1% 2% 2%;
    width:56%;
}



/* ---------- middle ---------- */
.m-middle-box
{
    width:100%;
}

.sec-title
{
    margin: 1.5% 0px 0px 0px;
    padding: 0px;
    font-family: webFont;
    font-size: 2em;
    font-weight: bold;
}

.line
{
    width: 4.5%;
    margin: 1.5% 2% 0px 2%;
    color: #ef3e37;
}

/* news */
.mid-margin
{
    margin: 0.8% 0px 0px 0px; 
}

.date
{
    margin: 0px;
    padding: 0px;
    text-align: right;
    font-size: 1.4em;
    color: var(--news-text);
}

.news-box
{
    text-decoration: none;
    width: 25%;
    min-width: 280px;
    margin: 1% 2% 1% 2%;
}

.news-top
{
    width: 100%;  
    padding: 0px 0px 6% 0px;
    font-family: webFont, sans-serif;
    font-size: var(--font-root-size);
    border-top: 1px solid var(--news-text);
    border-left: 1px solid var(--news-text);
    border-right: 1px solid var(--news-text);
    border-bottom: 1px solid var(--news-text);
    cursor:pointer;
    transition: 0.25s linear;
}

.news-box:hover .news-top
{
    border-top: 1px solid var(--news-border);
    border-left: 1px solid var(--news-border);
    border-right: 1px solid var(--news-border);
    border-bottom: 1px solid var(--news-border);
    background-color: var(--news-border);
}

.news-box:hover .news-top .date
{
    color:#ffffff;
}

.news-box:hover .news-top .title
{
    color:#ffffff;
}

.news-box:hover .news-top .desc
{
    color:#ffffff;
}

.news-box:hover .news-top .button
{
    color:#ffffff;
}

.news-img
{
    width:100%;
}

.news-img img
{
    width:100%;
    height: auto;
    border-left: 1px solid var(--news-text);
    border-right: 1px solid var(--news-text);
    border-bottom: 1px solid var(--news-text);
}

.date
{
    margin: 0px;
    padding: 7px 7px 2px 2px;
    font-size: 1.2em;
    text-align: right;
    color: var(--news-text);
}

.title
{
    margin: 0px;
    padding: 5% 10% 0px 10%;
    font-size: 1.4em;
    text-align: left;
    color: var(--news-text);
    text-transform: uppercase;
}

.desc
{
    margin: 0px;
    padding: 5% 10% 3% 10%;
    font-size: 1.4em;
    text-align: left;
    color: var(--news-text);
}

.button
{
    display: block;
    text-decoration: none;
    margin: 0px 30% 0px 30%;
    padding: 3px 3px 3px 3px;
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
    color: var(--news-text);
}



/* ---------- bottom ---------- */
.m-bottom-box
{
    width: 100%;
}

.line-bot
{
    width: 4.3%;
    margin: 1.5% 2% 0px 2%;
    color: #ef3e37;
}

.info-mar
{
    margin-top: 2.5% !important;
}

.info-box
{
    display: block;
    text-decoration: none;
    font-size: var(--font-root-size);
    width:25%;
    min-width: 280px;
    margin: 2% 2% 3% 2%;
    border-left: 2px solid var(--main-text-dark);
    border-bottom: 2px solid var(--main-text-dark);
}

.info-text
{
    float: right;
    margin: 0px 0px 2% 2.5%;
    padding: 20px;
    font-size: 1.4em;
    color: var(--main-text-dark);
    line-height: 140%;
    text-align: left;
    background-color: var(--main-text);
}

.ib-red
{
    background-color: var(--main-border) !important;
    color: #ffffff !important;
}


/* ---------- flex-box ---------- */
.flex-box
{
    width:100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: var(--font-root-size);
}

.flex-left
{
        justify-content: flex-start !important;
}

.flex-column
{
    flex-direction: column !important;
}

.flex-content
{
	align-content:center !important;
}

/* ---------- height-fix ---------- */
.height-fix:after
{
    content:'';
    display:block;
    clear:both;
}

@media screen and (max-width:1120px)
{
    .coop-text, .desc-text
    {
        width:93.5%;
        margin: 0px 0px 1% 0px;
    }
}

@media screen and (max-width:1115px)
{
    .media-box
    {
        width:59%; 
    }
    
   .data-box
    {
        width: 35%;
    }
    
    .coop-text, .desc-text
    {
    
        width:92.5%;
        margin: 0px 0px 1% 0px;
    }
}


@media screen and (max-width:1005px)
{
    .media-box
    {
        width: 62%; 
    }
    
   .data-box
    {
        width: 32%;
    }
    
    .title
    {
        font-size: 1.3em;
    }

    .desc
    {
        font-size: 1.3em;
    }
    
    .info-text
    {
        font-size: 1.3em;
    }
    
    .event-tab
    {
        width:99%;
    }

    .et1
    {
        width: 30%;
        font-size: 1.2em;
    }

    .et2 
    {
        width:70%;
        font-size: 1.2em;
    }
}

@media screen and (max-width:965px)
{
    .coop-text, .desc-text
    {
    
        width:91.5%;
        margin: 0px 0px 1% 0px;
    }
}

@media screen and (max-width:920px)
{
    .flex-mobile
    {
        flex-direction: column !important;
    }
    
    .media-box
    {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 95%; 
    }
    
   .data-box
    {
        width: 40%;
    }
    
    .coop-text, .desc-text
    {
        width:93%;
        margin: 0px 0px 1% 0px;
    }
}

@media screen and (max-width: 825px)
{
    .coop-text, .desc-text
    {
        width:92.5%;
        margin: 0px 0px 1% 0px;
    }
}

@media screen and (max-width: 770px)
{
    .coop-text, .desc-text
    {
        width:92%;
        margin: 0px 0px 1% 0px;
    }
}


@media screen and (max-width:720px)
{
    .data-box
    {
        width: 60%;
    }
    
    .coop-text, .desc-text
    {
        width:93%;
        margin: 0px 0px 1% 0px;
    }
}

@media screen and (max-width: 600px)
{
    .title
    {
        font-size: 1.2em;
    }

    .desc
    {
        font-size: 1.2em;
    }
    
    .info-text
    {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 560px)
{
    .coop-text, .desc-text
    {
        width:92%;
        margin: 0px 0px 1% 0px;
    }
}

@media screen and (max-width: 440px)
{
    .coop-text, .desc-text
    {
        width:91%;
        margin: 0px 0px 1% 0px;
    }
}





