@media screen {
    /* MOBILE */
    #floating{position:fixed;display:inline-block;box-shadow: 0 2px 10px rgba(0,0,0,0.5);}
    
    main{clear:left;width:100%;margin:0 auto;padding:0;height:auto;overflow:auto;}    
    
    section.title{display:block;width:100%;background-image:url('/design/image/hatch.png');padding:0 0 10px 0;}
    .titleHeader{width:100%;height:auto;padding:15px 0;background-image:url('/design/image/titleBackground.jpg');background-position:center;}
    .titleContainer{margin:auto;display:table;}
    .titleLogo{padding:0 10px;display:table-cell;}
    .titleLogo img:HOVER{transition: transform .5s;transform: scale(1.05);}
    .title{display:table-cell;vertical-align: middle;border-left:1px solid #fff;padding:0 25px;}
    
    .mainContainer{background-color:#fff;overflow:auto;}
    .mainContent{} 
    .galleryContent{padding:0 35px 40px 35px;overflow:auto;} 
    
    article{padding:40px 40px 0 40px;overflow:auto;}
    .leadImage{background-image:url('/design/image/hatchFaded.png');padding-bottom:10px;width:100%;}
    article .lead{margin:0 auto;padding-bottom:40px;font-size:15px;font-weight:bold;line-height: 180%}
    article .text{margin:0 auto;padding-bottom:40px;font-size:15px;line-height: 150%}
    article .html{margin:0 auto;padding-top:40px;height:auto;display:block;}    
    article .embedContainer{margin:40px auto 0 auto;width:100%;background-image:url('/design/image/hatchFaded.png');padding:10px;}
    article .embed{margin:0 auto;position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; width: 100%;border-radius:3px;}
    article .embed iframe, .embed object, .embed embed{position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
    article .html{width:100%;height:auto;overflow-x:scroll}
    article .html table{min-width:100%}
    article .html tr:HOVER{background-color:rgba(0,0,0,0.1)}
    article .html td{background-color:rgba(0,0,0,0.03);font-size:13px;border: 1px solid rgba(0,0,0,0.1);border-width:1px 0 1px 0;padding:10px 20px;text-align:center;}
    article .html td.head{background-color:#0060aa;color:#fff;}
    article .html td.attribute{background-image:url('/design/image/hatchFaded.png');;text-align:left;white-space: nowrap}
    article .date{}
    article .imageContainer{margin:40px auto 0 auto;width:100%;background-image:url('/design/image/hatchFaded.png');padding:10px;}
    article .imageContainer img{width:inherit;margin:0 auto;border:5px solid rgba{};border-radius:3px;}
    article .imageContainer p{padding:10px 0 0 0;font-size:12px;font-style:italic;text-align:center;}
    
    .listContent{padding:40px 20px;overflow:auto;} 
    .articleBox{float:left;width:100%;padding:20px;border-radius:5px;cursor:pointer;}
    .articleBox:HOVER{background-image:url('/design/image/hatchFaded.png');}
    .articleBox .title{display:block;padding-bottom:20px;font-size:21px;text-align:center;}
    article .chapter{margin-top:25px;font-family:Oswald-Light;font-size:24px;line-height:150%;color:rgb(87,167,179);-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;}
    article .imageBox{float:left;width:50%;padding:5px;opacity:.9}
    article .imageBox .image{position:relative;width:100%;padding-bottom:100%;height:0;background-position:center;background-size: cover;border-radius:10px;opacity:1;transition: .3s;cursor:pointer;}
    article .imageBox:HOVER{opacity:0.7} 
    .galleryBox{position:relative;float:left;width:50%;padding:5px;opacity:1;}
    .galleryBox:HOVER .image{opacity:1;}
    .galleryBox:HOVER .galleryTitle{opacity:0;}
    .galleryBox .image{position:relative;width:100%;padding-bottom:100%;height:0;background-position:center;background-size: cover;border-radius:10px;opacity:.2;transition: .3s;cursor:pointer;}
    .galleryTitle{position:absolute;top:50%;left:50%;transform: translate(-50%,-50%);width:100%;text-align:center;font-size:24px;font-weight:bold;}
    
    .relatedContainer{background-image: url('/design/image/ffffff090.png');text-align:center;padding:60px 0;}
    .relatedContainer p{font-size:36px;font-weight:bold;}
    
    #close{position:fixed;top:20px;right:20px;;width:20px;z-index:500;opacity:.8;cursor:pointer;display:none;}
    #close:HOVER{opacity:1;}
    #imageLayer{position:fixed;top:0;left:0;z-index:400;min-width:100%;min-height:100%;background-color:rgba(0,0,0,0.9);display:none;}

    
}

@media screen and (min-width: 768px) {
    /* TABLET */
    .articleBox{width:50%;}
    article .imageBox{float:left;width:33.33%;}
    .galleryBox{float:left;width:33.33%;}
    
    #close{right:40px;}
    
}

@media screen and (min-width: 1360px) {
    /* DESKTOP */
    .mainContainer{max-width:1360px;margin:0 auto;}
    .titleContainer{max-width:1360px;}
    .mainLead{max-width:1360px;}
    article .imageContainer{max-width:75%;}
    article .embedContainer{max-width:75%;}
    .listContent{max-width:1360px;margin:0 auto;}
    .articleBox{width:33.33%;}
    article .imageBox{float:left;width:25%;}
    .galleryBox{float:left;width:25%;}
}