@font-face {
    font-family: Raleway;
    src: url('../font/Raleway.ttf');
}

*, *:before, *:after {
    box-sizing: border-box;
  }

body {
    background-color: #2e3440;
    color: #edf0f5;
    font-family: Raleway;
    box-sizing: border-box;
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    height: 3px;

    background-color: #d8dee9;
}

.absolute-right {
    position: absolute;
    right: 0;
    top: 3px;
}

.profile {
    font-size: 14px;
    padding: 10px 20px;
    cursor: pointer;
}

.absolute-left {
    position: absolute;
    left: 10px;
    top: 8px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
}

.header {
    width: 80%;
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 0 30px 100px;
    text-align: left;

}

.header .search-area input {
    display: inline-block;
    width: calc(100% - 110px);

    color: #edf0f5;
    font-size: 18px;
    

    border: none;
    background-image:none;
    background-color: #434c5e;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    outline: none;
    border-radius: 4px;
    padding: 5px 10px;
}

.header .search-area input:focus {
    outline: none;
    background-color: #4c566a;
}

.header .search-area .engine {
    display: inline-block;
    width: 100px;
    height: 35px;
    line-height: 35px;
    text-align: center;
}

.full-width {
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 2px;
    position: relative;
}

.bookmarks {
    margin-top: 35px;
}

section {
    box-sizing: border-box;
}

h1, h2, h3 {
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.col-1 {
    display: inline-block;
    width: calc(25% - 10px);
}

.col-2 {
    display: inline-block;
    width: calc(50% - 10px);
}

.col-3 {
    display: inline-block;
    width: calc(75% - 10px);
}

.col-4 {
    display: inline-block;
    width: calc(100% - 10px);
}

.col-1 li {
    width: calc((100%  / 2) - 14px);
}

.col-2 li {
    width: calc((100%  / 3) - 14px);
}

.col-3 li {
    width: calc((100%  / 5) - 14px);
}

.col-4 li {
    width: calc((100%  / 6) - 14px);
}

@keyframes blinker {
    0% {
        background-color: #5a3838;  
    }
    50% {
        background-color: #434c5e;
    }
    100% {
        background-color: #5a3838;
    }
  }

ul .error{
    background-color: #5a3838;
    animation: blinker 2s linear infinite;
}

ul {
    margin: 0;
    padding: 0;
}

ul li {
    display: inline-block;
    margin: 5px;
    text-decoration: none;
}

ul li a {
    padding: 5px;
    display: inline-block;

    background-color: #434c5e;
    border-radius: 4px;

    color: #edf0f5;
    text-align: left;
    text-decoration: none;

    width: 100%;

    /*width: 170px;
    overflow-x: hidden;*/
}

ul li a:hover {
    background-color: #4c566a;
}

.big-icons a {
    text-align: center;
}

.big-icons a span {
    display: block;
    width: 100%;
    text-align: center;
}

.big-icons a i {
    font-size: 40px;
    line-height: 50px;
    text-align: center;
}

.big-icons ul li {
    display: flex;
    align-items: center;
    min-width: 106px;
    min-height: 106px;
    width: 186px;
    height: auto;
    overflow: hidden;
    float: left;
}

.big-icons .img-wapper {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.big-icons .img-wapper img {
    width: auto;
    height: 50px;
    max-width: 100%;
    max-height: 50px;
}

.big-icons::after {
    content: "";
    clear: both;
    display: table;
}

ul li a img,
ul li a i {
    margin: 5px;
    box-sizing: border-box;
    float: left;
}

ul li a i {
    text-align: center;
    font-size: 18px;
    line-height: 1;
}

ul li a img {
    height: 25px;
    float: left;
}

ul li a .title {
    float: left;
    line-height: 28px;
}

img + span {
    line-height: 34px !important;
    margin-left: 5px;
}

section {
    background-color: #3b4252;
    border-radius: 4px;

    margin: 5px;
    padding: 5px 10px;

    display: flex;

    float: left;

    box-sizing: border-box;
}

section h3 {
    margin: 5px 0 5px 10px;
}

.spacer-big {
    height: 45px;
}

.spacer {
    height: 39px;
}

.news-source {
    width: calc((100% / 4) - 20px);
    float: left;

    background-color: #434c5e;
    border-radius: 4px;

    margin: 10px;
    padding: 10px 10px;
}

.news-source .video-thumb {
    width: 160px;
    height: auto;
    float: left;
    margin-right: 10px;
}

.news-source .video-thumb img {
    margin: 0px;
    box-sizing: border-box;
    float: none;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.news-source ul li{
    display: block;
}

#weather .weather-day {
    width: calc((100% / 5) - 4px);
    display: inline-block;
    padding: 10px 0;
    box-sizing: border-box;
}

#weather .weather-day a {
    color: inherit; /* blue colors for links too */
    text-decoration: inherit; /* no underline */
}

#weather .weather-day p {
    margin: 0;
    padding: 0;
    border: 0;
}

#weather .weather-day .date,
#weather .weather-day .icon,
#weather .weather-day .description,
#weather .weather-day .temperature .high,
#weather .weather-day .temperature .low {
    text-align: center;
}

#weather .weather-day .temperature {
    width: 100%;
    margin: 5px 0;
}

#weather .weather-day .temperature .high,
#weather .weather-day .temperature .low {
    margin: 16px 0;
}

#weather .weather-day .temperature .temp-number{
    font-size: 20px;
    font-family: Verdana, monospace, Geneva, Tahoma, sans-serif;
}

#weather .weather-day .temperature .temp-description{
    font-size: 12px;
    color: #c8c8c8
}

#weather .weather-day .humidity,
#weather .weather-day .wind {
    text-align: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

@media (max-width: 2010px) {
    .big-icons ul li {
        width: 9vw;
    }
}

@media (max-width: 1530px) {
    section {
        float: none;
    }

    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-5 {
        display: block;
        margin: 10px 0;
        width: 100%;
    }

    .spacer-big, .spacer {
        display: none;
    }

    .news-source {
        width: calc((100% / 2) - 20px);
    }

    .big-icons ul li {
        width: 17.7vw;
    }

}

@media (max-width: 765px) {
    .col-1 li,
    .col-2 li,
    .col-3 li,
    .col-4 li,
    .col-5 li {
        width: calc(100% - 14px);
    }

    .news-source {
        width: 100%;
        float: none;
        display: block;
    
        margin: 5px;
        padding: 5px;
    }

    .big-icons ul li {
        width: 47%;
    }

}

