body {
    margin: 0;
    padding: 0;
    font-family: 'Merriweather', serif;
}
.wrapper {
    margin: 0 auto;
    width: 1000px;
}
h1, h2, h3, h4, h5, h6, p, a, span {
    color: #17416B;
}
header {
    background-image: url("/storage/images/Nezaboravimo-hero.png");
    background-position: center;
    background-size: cover;
    height: 625px;
    width: 1000px;
    margin: 0 auto;
}
header h1 {
    padding-left: 50px;
    margin: 0;
    color: #17416B;
    font-size: 50px;
    text-align: center;
    font-family: 'Lobster', cursive;
}
header nav #navbarSupportedContent {
    margin: 0;
    padding: 0;
}
header nav #navbarSupportedContent ul{
    padding-left: 7%;
}
header nav.navbar span {
    float: right;
    padding-right: 15px;
    color: #17416B;
    cursor: pointer;
}
header nav.navbar span:hover {
    background-color: transparent;
    color: #EA3323;
}
header nav.navbar button span {
    padding-right: 0;
}
main {
    width: 1000px;
}
main nav#header-bottom row{
    width: 1000px;
}
main #header-bottom {
    padding-left: 7%;
}
main #header-bottom span {
    padding: 10px;
    padding-right: 15px;
}
main nav#header-bottom span:hover {
    background-color: transparent;
    color: #EA3323;
}
main #navbarSupportedContent2 {
    background-color: #F8F0E3;
}
main .form-group {
    width: 100%;
}
main button span:active {
    color: white;
}
main .bottom-nav h2{
    font-size: 18px;
    text-align: center;
}
main input {
    margin-top: 7px;
}
#main-page {
    float: left;
    margin: 0;
    padding: 0;
    width: 1000px;
    background-color: #c9e8ed;
}
main .categories {
     display: table;
     margin: 0 auto;
     padding: 0;
     text-align: center;
}
main .categories ul li {
    float: left;
    list-style-type: none;
}
main .categories ul li span {
    text-decoration: none;
    display: block;
    padding: 15px;
    line-height: 20px;
}
#sidebar {
    width: 220px;
}
#sidebar h3 span {
    font-size: 15px;
}
.active {
    color: #EA3323;
    background-color: transparent !important;
}
footer {
    width: 1000px;
    margin: 0 auto;
    background-color: #F8F0E3;
    padding-top: 5px;
    padding-bottom: 10px;
    overflow: auto;
}
footer .row {
    border-bottom: 1px solid #346198;
    padding-bottom: 10px;
}
footer p, h4, a, span {
    text-align: left;
    color: #17416B;
}
footer h4 {
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #346198;
}
footer p {
    font-size: 12px;
    padding: 0 !important;
}
footer .row div:first-child p {
    margin: 0 0 0 5px;
}
footer p.powered {
    text-align: center;
}
footer a {
    margin-left: 5px;
    text-decoration: none;
}
footer a:hover {
    color: #EA3323;
}
footer span {
    cursor: pointer;
    font-size: 12px;
}
footer span:hover {
    color: #EA3323;
}
footer span, p, h4{
    padding: 5px !important;
}
.allow-sidebar {
    width: 780px;
}
main .page p {
    padding-bottom: 5px !important;
    margin: 0;
    line-height: normal !important;
}
.no-sidebar {
    width: 1000px;
}
.page-item .page-link {
    color: #346198;
}
.page-item.active .page-link {
    background-color: #EA3323;
    border-color: #346198;
}
#myScrollBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #EA3323; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}

#myScrollBtn:hover {
    background-color: #555; /* Add a dark-grey background on hover */
}
@media only screen and (max-width: 600px) {
    .wrapper {
        width: 100%;
    }
    header {
        height: 350px;
        width: 100%;
    }
    header h1 {
        font-size: 25px !important;
        padding-left: 10px;
    }
    header #name {
        top: 10px;
        left: 20%;
    }
    main {
        width: 100%;
    }
    main #header-bottom {
        padding-left: 0;
    }
    main #header-bottom span{
        padding-left: 0px;
        padding-right: 0px;
    }
    main #header-bottom button {
        padding: 2px;
        margin-left: 2px;
    }
    main #header-bottom button span,
    main #header-bottom button span i {
        padding: 0;
    }
    main #header-bottom span:link {
        background-color: #F8F0E3 !important;
    }
    main #header-bottom span:active {
        background-color: #F8F0E3 !important;
    }
    main nav#header-bottom row{
        width: 100%;
    }
    #main-page {
        float: left;
        margin: 0;
        padding: 0;
        width: 100%;
    }
    main .categories {
        margin: 0 auto;
    }
    main .bottom-nav h2 {
        text-align: center;
    }
    main .categories ul {
        padding-left: 5%;
    }
    main .categories ul li span {
        text-decoration: none;
        display: block;
        padding: 5px 5px 5px 5px !important;
        line-height: 10px;
    }
    .allow-sidebar {
        width: 70% !important;
    }
    .no-sidebar {
        width: 100% !important;
    }
    main .page ul li {
        padding-top: 2px !important;
    }
    main .page ul li span {
        padding: 2px !important;
    }
    main .page p {
        line-height: normal !important;
    }
    #sidebar {
        width: 30% !important;
    }
    #sidebar ul li span {
        padding: 3px 10px 3px 0px !important;
    }
    footer {
        width: 100%;
        margin: 0 auto;
        background-color: #F8F0E3;
        padding-bottom: 10px;
    }
    footer p, h4, a, span {
        color: #17416B;
    }
    footer h4 {
        margin: 0;
        padding-bottom: 10px;
        border-bottom: 1px solid #346198;
    }
    footer p {
        padding: 0 !important;
    }
    footer span, p, h4{
        padding: 5px !important;
    }
    main input {
        position: absolute;
        top: 0px;
        left: 0;
    }
    main .form-group small {
        font-size: 8px !important;
        position: absolute;
        top: 43px;
        left: 3%
    }
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 601px) and (max-width: 768px) {
    .wrapper {
        width: 100%;
    }
    header {
        height: 350px;
        width: 100%;
        margin: 0 auto;
    }
    header h1 {
        font-size: 25px !important;
        padding-left: 10px;
    }
    header #name {
        top: 10px;
        left: 20%;
    }
    header nav span {
        font-size: 15px;
    }
    main {
        width: 100%;
    }
    main input {
         position: absolute;
         top: 10px;
         left: 0;
     }
    main .form-group small {
        font-size: 12px !important;
        position: absolute;
        top: 52px;
        left: 3%;
    }
    main #header-bottom span{
        padding: 0 15px 0 0;
        font-size: 14px;
    }
    main #header-bottom button span,
    main #header-bottom button span i {
        padding: 0;
    }
    main #header-bottom span:link {
        background-color: #F8F0E3 !important;
    }
    main #header-bottom span:active {
        background-color: transparent !important;
    }
    main #header-bottom span:visited {
        background-color: #F8F0E3 !important;
    }
    main nav#header-bottom row{
        width: 100%;
    }
    main nav#header-bottom{
        padding-left: 3% !important;
    }
    #main-page {
        float: left;
        margin: 0;
        padding: 0;
        width: 100%;
    }
    main .categories {
        margin: 0 auto;
    }
    main .bottom-nav h2 {
        text-align: center;
    }
    main .categories ul {
        padding-left: 5%;
    }
    main .categories ul li span {
        text-decoration: none;
        display: block;
        padding: 5px 5px 5px 5px !important;
        line-height: 10px;
    }
    .allow-sidebar {
        width: 70% !important;
    }
    .no-sidebar {
        width: 100% !important;
    }
    main .page ul li {
        padding-top: 2px !important;
    }
    main .page ul li span {
        padding: 2px !important;
    }
    main .page p {
        line-height: normal !important;
    }
    #sidebar {
        width: 30% !important;
    }
    #sidebar ul li span {
        padding: 3px 10px 3px 0px !important;
    }
    footer {
        width: 100%;
        margin: 0 auto;
        background-color: #F8F0E3;
        padding-bottom: 10px;
    }
    footer p, h4, a, span {
        color: #17416B;
    }
    footer h4 {
        margin: 0;
        padding-bottom: 10px;
        border-bottom: 1px solid #346198;
    }
    footer p {
        padding: 0 !important;
    }
    footer span, p, h4{
        padding: 5px !important;
    }
    main input {
        margin-top: 3px !important;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 992px) {
    .html {
        width: 100%;
    }

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 1200px) {
    .html {
        width: 100%;
    }
}
