/* grid styles ------------------------------------ */
@media (min-width: 966px) {
    main.main {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: minmax(200px, 200px) minmax(200px, 200px);
        grid-gap: 2px;
        background-color: black;
        box-sizing: border-box;
        border: 2px solid black;
    }

    .divMain {
        grid-column: span 2;
        grid-row: span 2;
    }

    .info2 {
        grid-column: span 2;
    }

    .div1, .div2, .div3, .div5, .div4 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .div3 {
        grid-column: span 1;
        grid-row: span 2;
    }

    .div6 {
        grid-column: span 2;
    }

    .div7 {
        grid-column: span 3;
    }

    span.readmone_wrap {
        position: absolute;
        bottom: 12px;
        left: 0;
    }

    .div3 {
        position: relative;
    }
}

@media (max-width: 965px) {
    main.main div#listRightWrap, .readmone_wrap {
        height: auto !important;
        min-height: 0 !important;
    }

    .main div:not(.div3):not(#listRight):not(.divEnd) {
        max-height: 430px;
        min-height: 430px;
        height: 430px;
    }


    .divMain {
        grid-column: span 1;
        grid-row: span 1;
    }

    .div1, .div2, .div3, .div5, .div4 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .div3 {
        grid-column: span 1;
        grid-row: span 1;
        display: none !important;
    }

    .div3 {
        display: none;
    }

    .divEnd {
        display: block !important;
        padding: 20px;
    }


    div#listRight {
        margin: 10px 0;
        color: white;
    }

    span.readmone_wrap {
        margin-top: 20px;
    }
}

/* flex styles -------------------------------------- */
/*.logo {*/
/*display: flex;*/
/*align-items: center;*/
/*text-decoration: none;*/
/*}*/

/* generic styles ----------------------------------- */
/*body {*/
/*max-width: 1600px;*/
/*margin: 0 auto;*/
/*font-family: 'Raleway', sans-serif;*/
/*}*/

.main div:not(.div3):not(.divEnd) {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

/*.main div.div3{*/
/*display:block;*/
/*}*/
.div3 {
    color: white !important;
    display: block;
    overflow: hidden;
}

.div3 div#listRight {
    color: white !important;
    margin: 10px 0 10px;
    padding: 0 10px;
}

div#listRightWrap, div#listRight {
    display: block;
}

/*header {*/
/*padding: 10px;*/
/*}*/

.logo-img {
    margin-right: 10px;
    height: 60px;
    transform: scaleX(-1);
}

.logo-text {
    font-family: 'Lobster', cursive;
    font-size: 2.6em;
    color: #c3bab9;
    text-shadow: -1px -1px 0 #615655,
    1px -1px 0 #615655,
    -1px 1px 0 #615655,
    1px 1px 0 #615655;
}

.div-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    visibility: hidden;
}

.info1, .info2 {
    padding: 40px;
    background-color: #333;
    color: white;
}

h2 {
    font-size: 2em;
    margin-bottom: 1em;
}

.main div h3 {
    margin-bottom: 1em;
    min-width: 0;
    min-height: 0;
    color: white;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    font-size: 18px;
    line-height: 1em;

}

.main div h3 {
    color: white;

}

.main div span {
    font-size: 14px;
    font-weight: normal;
}

.main div section {
    padding: 20px 10px 10px;
    background: transparent;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 5%, rgba(0, 0, 0, 0.7) 67%, rgba(0, 0, 0, 0.9) 100%);
    width: 100%;
}

.info-link {
    text-decoration: none;
    color: #ff9900;
}

span.readmone_wrap {
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
}

span.read_more_link {
    color: white;
}

div {
    /*border:1px solid black;*/
    /*box-sizing: border-box;*/
}

span.read_more_inner {
    width: 100%;
    display: inline-block;
    text-align: center;
}

span.read_more_link a {
    display: inline-block;
    padding: 3px 20px;
    border: 2px solid #000000;
    background: #fff;
    color: #000000!important;
    text-decoration: none;
    font-weight: 400;
}

span.read_more_link a:hover {
    color: white !important;
    background: #540500;
    border: 2px solid white;
    cursor: pointer;
}

div#listRightWrap a {
    color: white;
}

main.main a, main.main a:hover {
    color: white;
}

.div3:before {
    content: " ";
    height: 100%!important;
    width: 100% !important;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: linear-gradient(to bottom, #1e579900 0%,#d6d6d600 69%,#540500 89%,#540500 100%);
    /* background-image: linear-gradient(transparent, #540500); */
    pointer-events: none;
}
