/* * {outline: 1px dotted #333;}             */
@font-face {
    font-display: swap; 
    font-family: 'Mogra';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/mogra-v22-latin-regular.woff2') format('woff2'); 
}
:root {
    --bg: #404040;
}
* {
  margin: 0;
  padding: 0;
}
html {
    padding: 0;
    margin: 0;
    text-align: center;
}
body {
    background: var(--bg);
    margin: 0;
    padding: 0;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
}
#clear {
    clear: both;
    font-size: 0;
    line-height: 0;
    display: block;
    height: 0;
}
p {
    padding: 0;
    margin: 0 auto;
}
a, a:link, a:active, a:visited {
    color: #111;
    text-decoration: none;
}
a:hover {
    color: #333;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
/* figure {
    display: block;
    margin: 0;
	padding: 0;
	border: 0;
} */
ul, ol, li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
em, i {
    font-style: normal;
}
h2, h3 {
	text-align: left;
    width: 100%;
    text-transform: uppercase;
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    color: #fff;
}
#wrap {
    position: relative;
    margin: 0 auto;
    padding: 0;
    max-width: 1300px;
}
#fullwith {
    clear: both;
    width: 100%;
    background: #fff;
    height: 100%;
}
/* .gap {
    clear: both;
    background: #fff;
    width: 100%;
    overflow-x: hidden;
} */

.header {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    /* height: 4rem; */
    max-width: 1000px;
    margin-inline: auto;
    /* margin-bottom: .4rem; */
    text-align: left;   
    align-items: center;
}
.logo {
    text-align: center;
}
    .logo h1 {
        font-family: "Mogra", system-ui;
        font-weight: 400;
        font-style: normal;
        font-size: 3rem;
        color: #d74954;
        text-transform: uppercase;
        line-height: 1;
        padding-top: .5rem;
    } 
.headerlinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-items: center;
    gap: .6rem;
    height: 2rem;
    overflow: hidden;
    margin-block: .2rem;
}
    .headerlinks a {       
        font-size: 1rem;
        color: #fff;
        background-color: var(--bg);
        padding: .3rem 1rem;    
        text-decoration: none;  
        letter-spacing: .5px;
        text-transform: capitalize;
        border-radius: .2rem;
    }
    .headerlinks a:hover {
        color: #A72530;
        background-color: #FAEAEB; 
        text-decoration: none;  
    }   
            @media screen and (max-width: 600px) {
                .header {
                    grid-template-columns: 1fr;
                    gap: 0;
                }
                .headerlinks {
                    justify-content: center;
                }
            }           
.grd {
    clear: both;
    background: url(/images/grd.png);
    height: 10px;
    width: 100%;
}
.grd2 {
    clear: both;
    background: url(/images/grd2.png);
    height: 10px;
    width: 100%;
}
.galleryinfo {
    text-align: left;
    color: #eee;
    font-size: 1rem;
    padding-top: 1rem;
    text-decoration: none;
    letter-spacing: 1px;
}
            @media screen and (max-width: 1000px) {
                .galleryinfo p {
                    display: none;
                }
            }
.breadcrumbs ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 220px));
    grid-gap: .6rem;
    padding-top: 1rem;
    text-transform: uppercase;
    text-align: center;
    /* font-size: .8rem; */
}
    .breadcrumbs li {
        display: block;        
        border-radius: .25rem;
        align-self: center;
    }
    .breadcrumbs a {
        display: block;
        padding: .4rem .8rem;
    }
        @media screen and (max-width: 500px) { 
            .breadcrumbs ul {
                grid-template-columns: repeat(2, 1fr);
            }
            .breadcrumbs a {
                display: block;
                padding: .4rem .4rem;
            }
        }
        .sitename {
            background-color: #6dbdd6;
        }
            .sitename a {
                color: #fff;
            }
            .sitename:hover {
                background-color: var(--bg);
            }
        .modelname {
            /* background-color: white; */
            /* color: #333; */
            background-color: transparent;
            color: #fff;
            padding: .4rem .8rem;
        }
        .categories {
            background: #ffe658;
        }
            .categories a:hover {
                color: #fff;
            }
            .categories:hover {
                background-color: var(--bg);
            }
#mainpage, #gallery {
    clear: both;
    /* max-width: 1500px; */
    margin: 0 auto;
    padding: .5rem 1.5vw;
}
.general {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    align-items: start;
    margin-inline:auto;
}
        @media screen and (max-width: 1200px) {
            .general {
                grid-template-columns: 1fr;
            }
        }  
.thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px,1fr));
    justify-content: space-around;
    align-content: space-evenly; 
	gap: .8rem;
    font-size: 0;
}
    .thumbs a {        
        outline: 2px solid #fff;
        background: #fff;
        cursor: pointer;
        border-radius: 4px;
    }
    .thumbs a img {
        border-radius: 4px;
    }
    .thumbs a:hover {
        outline: 2px solid #D12E3B;
    }
    .thumbs.related {
        grid-template-columns: repeat(3,1fr);
    }
                @media screen and (max-width: 1600px) {
                    .thumbs.related {
                           grid-template-columns: repeat(2,1fr);
                    }
                }    
                @media screen and (max-width: 1200px) {
                    .thumbs.related {
                        grid-template-columns: repeat(auto-fill, minmax(320px,1fr));
                    }
                }                    
                @media screen and (max-width: 850px) {
                    .thumbs {
                        grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
                    }
                }
.video-container {
    margin: 0;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
    .video-container iframe, .video-container object, .video-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }             
 
.randoms {
    --visible-rows: 3; 
    --row-height: 3.8rem; 
    clear: both;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-auto-rows: var(--row-height); 
    gap: .8rem;   
    margin-block: .5rem;
    overflow: hidden;
    max-height: calc(
        (var(--row-height) * var(--visible-rows)) + 
        (.8rem * (var(--visible-rows) - 1))
    );
}
                @media screen and (min-width: 2100px) {
                    .randoms {
                        --visible-rows: 5; 
                    }
                }
                @media screen and (max-width: 1600px) {
                    .randoms {
                        --visible-rows: 10; 
                    }
                }   
                @media screen and (max-width: 1200px) {
                    .randoms {
                        --visible-rows: 6; 
                    }
                }            
    .randoms a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%; 
        box-sizing: border-box;
        font-family: 'Trebuchet MS', Helvetica, sans-serif;
        padding: 0.8rem 1.5rem;
        font-size: clamp(1.75rem, 1.5326rem + 1.087vw, 2.375rem);
        text-decoration: none;
        background: #ffe658;
        border-radius: .25rem;
    }     
    .randoms a:hover {
        background-color: #fff;
    }        
.textlist {
    clear: both;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .8rem .8rem;
    margin: .5rem 1rem;
}    
    .textlist a {
        font-family: 'Trebuchet MS', Helvetica, sans-serif;
        font-size: clamp(1.75rem, 1.5326rem + 1.087vw, 2.375rem);
        padding: .25rem 1.25rem;
        text-transform: uppercase;
        background-color: #ffe658;
        border-radius: .25rem;
        white-space: nowrap;
    }
    .textlist a:hover {
        background-color: #fff;
    }
.pagination {
    clear: both;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: .5rem;
    font-size: 2rem;
    color: #fff;
    padding: 16px 0 6px 0;
    text-transform: uppercase;
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
    letter-spacing: 1px;
}
    .pagination a {
        padding: .25rem .25rem;
        margin: 0 1vw;
        background-color: #ffe658;
        color: #111;
        border-radius: .25rem;
    }
    .pagination a:hover {
        background-color: #fff;
        color: #333;
    }
            @media screen and (max-width: 1200px) { 
                .pagination {
                    font-size: 1.4rem;
                    justify-items: stretch;
                }
            }
            @media screen and (max-width: 800px) { 
                .pagination {
                    grid-template-columns: repeat(2, 1fr);
                }
                .pagination a {
                    margin: .5vw;
                }
            }
            @media screen and (max-width: 500px) { 
                .pagination {
                    grid-template-columns: repeat(1, 1fr);
                }
                .pagination a {
                    padding: 1rem .25rem;
                    margin: 1.5vw 3vw;
                }
            }
.tops {
    clear: both;
    font-family: Georgia, Times, serif;
    color: #fff;
    width: 98%;
    margin: 0 auto;
    padding: 20px 0px;
    font-size: 0;
}
    .tops li::before {
        /* content: "\229B\00a0"; */
        content: "\21aa\00a0";
    }
    .tops li {
        font-size: 19px;
    	display: inline-block;
        text-align: left;
        float: left;
        width: 19%;
        margin: 0;
        padding: 14px 0;
    }
    .tops a {
        font-weight: bold;
        text-decoration: none;
        color: #6dbdd6;
    }
    .tops li a:hover {
        text-decoration: none;
        color: #ffe658;
        border-bottom: 2px solid;
    }
            @media screen and (max-width: 1100px) {
                .tops li {
                    width: 32%;
                    font-size: 22px;
                }
            }
            @media screen and (max-width: 900px) {
                .tops li {
                    width: 49%;
                    padding: 15px 0;
                    font-size: 25px;
                }
            }
            @media screen and (max-width: 500px) {
                .tops li {
                    width: 98%;
                    display: block;
                    font-size: 29px;
                }
            }
#footer {
    clear: both;
    color: #eee;
    margin: 0 auto;
    font-size: 14px;
    max-width: 1000px;
    text-align: center;
    padding-top: 20px;
}
    #footer p {
        padding: 10px 15px 2px 15px;
    }
    #footer a {
        text-decoration: none;
        font-weight: bold;
        color: #fff;
    }
    #footer a:hover {
        text-decoration: underline;
    }
#footerarea {
	clear: both;
	margin: 0px auto;
	padding: 10px 0;
}