@import "menu.css";

body  {
    text-align: center;
    font-family: 'Lato', sans-serif;
    overflow: auto;
}

@-ms-viewport {
    width: device-width; 
    overflow-y: auto;
}

hr  {
    border: 0;
    margin: 0;
    padding: 0;
    height: 3.1em;
}

#sortBy  {
    display: inline-block;
    font-weight: 600;
    font-size: 0.8em;
    color: #777;
    padding: 8px 1em;
    letter-spacing: 0.1em;
}
 
#sortLinks  {
    padding-bottom: 0.8em;
}

.sortLink  {
    display: inline-block;
    padding: 8px 1em 0 1em;
    font-weight: 600;
    font-size: 0.8em;
    color: #777;
    cursor: pointer;
    margin: 0;
    letter-spacing: 0.1em;
}

.sortLink:hover  {
    color: silver;
}

.color  {
    color: #b27a3a;
}

div  {
    margin: auto;
}

/*#id01 {
    width: 98%;
    margin-left: 1%;
  /* Prevent vertical gaps *//*
  line-height: 0;
   
  -webkit-column-count: 5;
  -webkit-column-gap:   0px;
  -moz-column-count:    5;
  -moz-column-gap:      0px;
  column-count:         2;
  column-gap:           0px;  
}*/

#id01 {
    margin-left: 0.5vw;
}

.picDiv, .storyDiv  {
    /*width: 97%;
    margin: 9% 1.5% 0vw 1.5%;
    background-color: #fff;*/
    float: left;
    width: 48.5vw;
    margin: 0.5vw;
    height: auto;
    cursor: pointer;
}

.storyDiv:hover  {
    opacity: 0.9;
}

img  {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
}

.info  {
    text-align: center;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    margin: 0em;
    position: relative;
}

h5  {
    font-size: 12px;
    padding: 4px 0 0 0;
    color: #333;
    letter-spacing: 0.1em;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

.printInfo1  {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    color: #5bd838;
    font-size: 10px;
}
.printInfo2  {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    color: #ed9f2a;
    font-size: 10px;
}
.printInfo3  {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    color: #e2382f;
    font-size: 10px;
}

.info p  {
    color: #222;
    font-size: 12px;
    padding: 1px 10px 1px 0;
    letter-spacing: 0.1em;
    font-weight: 300;
}


p  {
    color: #000;
    padding: 10px 0 0 0;
}


/* The Modal (background) */
.modal {
    display: block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    margin: auto; /* centered */
    padding: 2.5vh 0;
    border: 0;
    width: auto;
    max-width: 95vw; /* Could be more or less, depending on screen size */
    max-height: 95vh;
}
/* The Close Button */
.close {
    position: absolute;
    top: 0;
    right: 0;
    color: #aaa;
    padding: 0 10px;
    font-size: 38px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #ad933e;
    text-decoration: none;
    cursor: pointer;
}

/*--------------------------ONLY FOR STORIES--------------------------------*/

.storyDiv .info  {
    text-align: left;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    margin-bottom: 1em;
    line-height: 15px;
    width: 100%;
    padding: 0 3px;
}

/*___________________________________________________________________________*/

@media screen and (min-width: 1100px) {
.picDiv, .storyDiv  {
    /*width: 97%;
    margin: 9% 1.5% 0vw 1.5%;
    background-color: #fff;*/
    float: left;
    width: 32vw;
    margin: 0.5vw;
    height: auto;
    cursor: pointer;
}
}



/*________________________________MOBILE_________________________________*/
@media screen and (max-width: 960px) {

hr  {
    height: 0;
}

#bar  {
        display: none;
}
    
#sortLinks  {
    padding-left: 0;
    padding-bottom: 0;
}
     
#id01 {
    margin-left: 0;
}
    
#sortBy  {
    display: inline-block;
    position: static;
    font-weight: 600;
    font-size: 0.8em;
    color: #777;
    padding: 8px 4vw;
    letter-spacing: 0.06em;
}
.storyDiv .info  {
    width: 97%;
}

p  {
    color: #000;
    padding: 10px 0 0 0;
}

    
.sortLink  {
    display: inline-block;
    padding: 9px 1em;
    font-weight: 600;
    font-size: 0.8em;
    color: #777;
    cursor: pointer;
    margin: 0;
    letter-spacing: 0.06em;
}

.color  {
    color: #b27a3a;
}
 
div  {
    margin: auto;
}

.picDiv  {
    width: 99vw;
    margin: 0 0.5vw;
    background-color: #fff;
}
.storyDiv  {
    width: 99vw;
    margin: 0 0.5vw;
    background-color: #fff;
}

.picDiv img  {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
}

.info  {
    text-align: center;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    margin-bottom: 0.8em;
}

h5  {
    font-size: 3.3vw;
    padding: 3px 0 0 0;
}

.info p  {
    font-size: 12px;
    padding: 0;
}
    
.printInfo1  {
    display: none;
    position: relative;
    width: 49%;
    top: -2px;
    left: 0;
    text-align: right;
    color: #5bd838;
    font-size: 11px;
}
.printInfo2  {
    display: none;
    position: relative;
    width: 49%;
    right: 0;
    top: -2px;
    text-align: left;
    color: #ed9f2a;
    font-size: 11px
}
.printInfo3  {
    display: none;
    position: relative;
    top: -2px;
    width: 100%;
    left: 0;
    color: #e2382f;
    font-size: 11px
}
    
    
}

