﻿/*RESPONSIVE*/
/* Small devices (small phones, 768px and up) */

.page_blog {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    font-family: OpSans;
    font-size: 14px;
    padding-left: 10px;
    padding-right: 10px;
}


.div_bloglist_articel {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 250px;
    box-sizing: border-box;
    border-bottom: 2px solid #a8a8a8;
}


.div_bloglist_picture {
    position: absolute;
    top: 20px;
    left: 0;
    width: 300px;
    min-height: 250px;
    background-position: left top;
    background-repeat: no-repeat; 
    box-sizing: border-box;
}

.div_bloglist_title {
    position: relative;
    top: 0;
    left: 0;
    font-family: OpSansBold;
    font-size: 16pt;
    color: #464646; /*#e2007a;*/ 
    box-sizing: border-box; 
    padding-bottom: 5px;
}

    .div_bloglist_title a {
        color: #464646 /*#e2007a;*/ ; 
        text-decoration: none;
    }

.div_bloglist_date {
    position: relative;
    top: 0;
    left: 0;
    font-family: OpSans;
    font-size: 10pt;
    color: #a8a8a8;
    padding-bottom: 0;
}

.div_bloglist_lead {
    position: absolute;
    top: 0;
    right: 0;
    width: 660px;
    min-height: 250px;
    height: auto;
    box-sizing: border-box; 
    padding-top: 20px;
    font-family: OpSans;
    font-size: 14px; 
    color: #464646;
}

    .div_bloglist_lead p {
        padding: 0 0 0 0;
        margin-top: 10px;
        margin-bottom: 0;
    }

    .div_bloglist_lead p a {
        font-family: OpSansBold;
        color: #e2007a;
        text-decoration: none;
    }

.readmore {
    display: block;
    font-family: OpSansBold;
    color: #e2007a;
    text-decoration: none;
    margin-top: 10px;
}

.div_blog_article {
    position: relative;
    top: 0;
    left: 50%;
    width: 960px;
    height: auto;
    margin-left: -480px;
    box-sizing: border-box;
    font-family: OpSans;
    font-size: 14px;
    padding-bottom: 20px;
}

    .div_blog_article p {
        padding-bottom: 10px;
    }

    .div_blog_article p a {
        font-family: OpSansBold;
        text-decoration: none;
        color: #e2007a;
    }

.div_blog_title {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    text-align: left;
    font-family: OpSansBold;
    font-size: 19px;
    color: #464646; 
    box-sizing: border-box; 
    padding-top: 20px;
    padding-bottom: 6px;
}

.div_blog_image {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background-position: center top;
    background-repeat: no-repeat; 
    margin-top: 20px;
    margin-bottom: 20px;
}

.img_bloglist {
    cursor: pointer;
    transition: 0.3s;
}

.img_bloglist:hover {opacity: 0.7;}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99; /* Sit on top */
    padding-top: 80px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.8);
    overflow-y: scroll;
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#modal_caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    font-family: OpSansLight;
}

/* Add Animation */
.modal-content, #modal_caption {    
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.modal_close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-family: Verdana;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.modal_close:hover,
.modal_close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}


/* Medium devices (phones, tablets, 768px and up) */
@media only screen and (min-width: 768px) {
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .page_blog {
        left: 50%;
        width: 820px;
        margin-left: -410px;
        font-size: 13px;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .page_blog {
        width: 1000px;
        margin-left: -500px;
        font-size: 14px;
    }

    .section_title {
        font-size: 20px;
    }
}
