
body {
    font-family: 'Montserrat', Verdana, Arial, Helvetica, sans-serif !important;
    line-height: 16.14pt !important;
    font-size: 10px;
    font-weight: normal;
    text-decoration: none;

    color: #a6a6a6;
    background: #000000;
    padding-top: 10px;
    border-spacing: 0px;
}

.wrap-outer { 
    width: 1000px; 
    margin: 0 auto; 
    text-align: center;
    padding: 0px;
    background: #000000;
    border-spacing: 0px;
}


@keyframes faderin {
  from { opacity: 0 }
  to   { opacity: 1 }
}

/*
@keyframes faderout {
  from { opacity: 1 }
  to   { opacity: 0 }
}
*/

.wrap-inner { 
    border-radius: 5px;
    width: 1000px; 
    margin: 0 0; 
    padding: 0px;
    text-align: left; 
    background: #505050;
    background-repeat: no-repeat;
    background-position: top;
    background-size: contain;
    background-image: linear-gradient(to bottom,
                      rgba(255, 255, 255, 0) 0px,
                      rgba(255, 255, 255, 0) 160px,
                      rgba(255, 255, 255, 0) 160px,
                      rgba(80, 80, 80, 0.9) 250px,
                      rgba(80, 80, 80, 1) 300px),
                      url(//skowro.net/polski/images/biglogo.jpg);
    color: #000000;
    text-decoration: none;
    border: 0px;
    border-spacing: 0px;
    vertical-align: top;
    /*animation: faderin 0.3s;*/
}

.header {
    width: 1000px;
    min-height: 180px;
    padding: 0px;
    padding-top: 20px;
    padding-left: 20px;
    margin: 0px;
    border-spacing: 0px;
    border: 0px;
    background-color: transparent;
    text-align: left;
    max-height: 180px;
    height: 180px;

    color: #005e8d;
    font-size: 26px;
    font-weight: 400;
    -moz-osx-font-smoothing: grayscale;
    white-space: nowrap; 
    text-overflow: ellipsis;
    overflow: hidden;
}

.header a {
    color: #005e8d;
    font-size: 26px;
    font-weight: 400;
    -moz-osx-font-smoothing: grayscale;
}

.header a {
    transition: color .5s ease-in-out;
}

.header a:hover {
    text-decoration: underline;
    color: #000000;
    transition: color .5s;
}

.middle {
    display: flex;
}

.menu {
    font-size: 13px;
    text-decoration: none;
    padding: 0px;
    border-spacing: 1px;
    border: 1px;
    width: 180px;
    list-style: none;
    margin: 0px;
}

.menu-item {
    border-radius: 0px 5px 5px 10px;
    background-color: rgba(64, 96, 144, 0.4);
    margin-top: 1px;
    transition: background-color 1s;
}

.menu-item:hover {
    background-color: rgba(64, 96, 144, 0.9);
    margin-top: 1px;
    transition: background-color 0.2s;
}

.menu-block {
    font-size: 13px;
    text-decoration: none;
    line-height: 23px;
    padding: 0px;
    border-spacing: 0px;
    border: 0px;
    width: 180px;
    list-style: none;
    margin: 0px;
    padding-top: 10px;
    text-align: left;
}


.menulinks {
    text-shadow: 0 0 .5em #000; 
    font-size: 13px;
    color: #bfbfbf; 
    text-decoration: none;
    line-height: 23px;
    padding: 0px;
    padding-left: 15px;
    border: 0px;
    display: block;
    transition: 1s;
}

.menulinks-selected {
    text-shadow: 0 0 .5em #000; 
    font-size: 13px;
    color: red; 
    text-decoration: none;
    padding: 0px;
    padding-left: 15px;
    border: 0px;
    display:block;
}

.menulinks:hover {
/*    transition: .4s;*/
}

h3 {
    color: #e0e0e0;
    font-size: 16px;
}

.main {
    font-size: 14px;
    color: #e0e0e0;
    text-decoration: none;
    padding: 5px;
    border-spacing: 0px;
    width: auto;
    vertical-align: top;
    text-align: left;
    min-height: 400px;
    margin-top: 0px;
    margin-bottom: 50px;
    padding-left: 20px;
    flex: 1;
}

/* min-height bug fix for Internet Explorer */
/*\*/
* html .main {
    height: 350px;
}
/**/

.bottom {
    clear: both;
    width: 800px;
    margin: 0 auto; 
    text-align: center;
    color: #909090;
    text-decoration: none;
    font-size: 8px;
}

.icons {
    width: 800px;
    margin: 0 auto; 
    text-align: right;
    vertical-align: middle;
}

.linki {
    color: #909090;
    text-decoration: none;
    font-size: 8px;
    margin-left: 2px;
    margin-right: 0px;
}

.linki-selected {
    color: #e0e0e0;
    text-decoration: underline;
    font-size: 8px;
    margin-left: 1px;
    margin-right: 0px;
}


.linki:hover {
    color: #f0f0f0;
}

a {
    color: #c0c0c0;
    text-decoration: none;
    font-size: 14px;
    margin-left: 0px;
    margin-right: 0px;
    border: 0px;
}


.galtable {
    text-shadow: 0 0 .5em #000; 
    font-size: 10px;
    text-decoration: none;
    padding: 5px;
    width: 715px;
    text-align: left;
    border-spacing: 0px;        
    border: 0px;
}


.gallinks {
    text-shadow: 0 0 .5em #000; 
    color: #B0B0B0;
    text-decoration: none;
    font-size: 18px;
    margin: 1px;    
    background: #303030;
    vertical-align: middle;
    padding: 3px;
}

.gallinks:hover {
    color: #F0F0F0;
}

.galthumb {
    text-shadow: 0 0 .5em #000; 
    color: #B0B0B0;
    text-decoration: none;
    font-size: 14px;
    margin-left: 1px;
    margin-right: 0px;
    padding-right: 5px;
    width: 110px;
}


.galsubtitle {
    text-shadow: 0 0 .5em #000;
    color: #B0B0B0;
    text-decoration: none;
    font-size: 14px;
    margin-left: 1px;
    margin-right: 0px;
    padding-right: 5px;
}

.galtitle {
    text-shadow: 0 0 .5em #000;
    color: #c0c0c0;
    text-decoration: none;
    font-size: 16px;
    margin-left: 1px;
    margin-right: 0px;
    text-align: left;
    padding-top: 5px;   
    padding-left: 10px;
}


.galdesc {
    font-size: 13px;
    text-shadow: 0 0 .5em #000;
    color: #c0c0c0;
    text-decoration: none;
    margin-left: 1px;
    margin-right: 0px;
    text-align: left;
    padding-top: 10px;
    padding-left: 0px;
}


.galopis {
    text-shadow: 0 0 .5em #000; 
    color: #c0c0c0;
    text-decoration: none;
    font-size: 14px;
    margin-left: 1px;
    margin-right: 0px;
    text-align: justify;
}

.galopis:hover {
    color: #e0e0e0;
}

.galarrowprev {
    padding-top: 190px;
    padding-left: 50px;
    float: left;
}

.galarrownext {
    padding-top: 190px;
    padding-right: 50px;
    float: right;
}

.imgprev {
    float: left;
    color: #c0c0c0;
    text-decoration: none;
    font-size: 20px;
    margin: 5px;
    margin-top: 250px;
    background: black;
    padding: 5px;
    cursor: pointer;
}

.imgprev:hover {
    color: #d0d0d0;
    background: #333;
}

.imgnext {
    float: right;
    color: #c0c0c0;
    text-decoration: none;
    font-size: 20px;
    margin: 5px;
    margin-top: 250px;
    background: black;
    padding: 5px;
    cursor: pointer;
}

.imgnext:hover {
    color: #d0d0d0;
    background: #333;
}

.imgdesc {
    text-shadow: 0 0 10px #FFF;
    color: #B0B0B0;
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
}

.fadeDivClass {
    margin: 0 auto 0 auto;
    top: 0px; left: 0px; bottom: 0px;
    height: 100%; width: 100%;
    position: absolute;
    visibility: hidden;
    z-index: 2;
    background: black;
    opacity: .8;
}

.hideDivClass {
    margin: 0 auto 0 auto;
    position: absolute;
    top: 0px; left: 0px; bottom: 0px;
    visibility: hidden;
    z-index: 3;
}

.hideDivClass > .imgBorder {
    border: 10px solid white;
    border-radius: 5px;
}

img { 
    border:none;
}

.divtable {
    padding-top: 15px;
    padding-left: 5px;
    width: 100%;
    padding-bottom: 5px;
    display: flex;
}

.divtdleft {
    padding-top: 5px;
    padding-right: 5px;
    text-align: left;
    padding-bottom: 5px;
    flex-grow: 1;
}

.divtdright {
    padding-top: 5px;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 5px;
    width: 200px;
    vertical-align: top;
    margin-left: auto;
}

.divtdright, img {
}

.mono {
    font-family: monospace;
}

.dosbox {
}

.dosbox-container {
    width: 100%;
    height: 480px;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 10px;
    border: 1px solid #888;
    width: 80%;
    color: #333;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

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

.imgsmall {
    -webkit-box-reflect: below 10px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(70%, transparent), to(rgba(0, 0, 0, 0.2)));
    box-reflect: below 10px gradient(linear, left top, left bottom, from(transparent), color-stop(70%, transparent), to(rgba(0, 0, 0, 0.2)));

}


@media (max-width: 999px) {
    .wrap-outer,
    .wrap-inner,
    .header {
        width: 100%;
        max-width: 100%;
    }
    
    .middle {
        display: block;
    }
    
    .menu {
        width: 100%;
        display: block;
    }
    
    .divtable {
        display: unset !important;
    }
    
    .divtdright {
        float: none;
        margin: 0 auto;
        text-align: center;
        width: 70% !important;
    }
    
    .bottom,
    .icons,
    .imgsmall {
        width: 70% !important;
    }
    
    .icons,
    .imgsmall {
        text-align: center !important;
    }
}
