html, body {
height: 100%;
min-height: 370px;
}

body {
font-family: 'Arial', sans-serif;
color: #3d3d3d;
}

*, ::after, ::before {
box-sizing: border-box;
margin: 0;
padding: 0;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
}

h1 {
font-size: 38px;
font-weight: 400;
margin-bottom: 20px;
}


#wrapper {
display: flex;
flex-direction: column;
justify-content: space-between;
overflow-x: hidden;
min-height: 100%;
min-width: 300px;
}

#nav {
-webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.05);
-moz-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.05);
box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.05);
}

.navsearch .install {
    top: calc(50% - 20px);
    }

.install {
    background: url(../img/puzzle.svg) no-repeat center left 20px, linear-gradient(135deg, rgba(33,128,137,1) 0%,rgba(40,174,57,1) 70%);
    background-size: 18px, auto;
    border-radius: 60px;
    color: #fff;
    padding: 0 20px 0 45px;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    position: absolute;
    right: 110px;
    top: 20px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.install:hover {
    -webkit-box-shadow: 0px 10px 25px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 10px 25px 0px rgba(0,0,0,0.15);
    box-shadow: 0px 10px 25px 0px rgba(0,0,0,0.15);
}


.main {
box-shadow: none !important;
border-bottom: none !important;
}

.main .hamburger {
position: absolute;
top: 30px;
right: 30px;
}

.navsearch {
padding: 30px 40px;
border-bottom: 1px solid #eee;
display: flex;
align-items: center;
min-width: 600px;
position: relative;
}

#nav .wrap {
display: inline-flex;
align-items: center;
justify-content: space-between;
margin-right: 50px;
}

.wrap {
width: 100%;
max-width: 784px;
}

#amz-wrap {
max-height: 300px;
white-space: normal;
}

.navsettings, .navfilter {
padding: 10px 40px;
border-bottom: 1px solid #ddd;
width: 100%;
}

.navfilter {
display: none;
background: #3d3d3d;
position: relative;
z-index: 999;
border-bottom: none;
}

.navfilter .wrap{
justify-content: flex-start !important;
}

.navfilter select {
height: 26px;
min-width: 125px;
padding: 0 10px;
font-size: 12px;
color: #fff;
font-weight: 500;
border: 1px solid #737373;
border-radius: 3px;
font-family: 'Arial', sans-serif;
-webkit-appearance: none;
outline: none;
background: url(../img/icons/droparrow.svg) no-repeat center right 10px;
background-size: 10px;
margin-right: 10px;
cursor: pointer;
}

.navfilter select option {
color: #3d3d3d;
}

.navfilter a {
font-size: 12px;
text-decoration: none;
color: #eee;
margin-left: 10px;
}

.navfilter a:hover {
color: #ccc;
}

.hamburger {
position: absolute;
right: 30px;
width: 40px;
height: 40px;
padding: 7px;
cursor: pointer;
}

.hamburger svg {
fill: #3d3d3d;
transition: fill 0.2s ease;
}

.hamburger:hover svg {
fill: #e13e34;
}

#modalmenu {
position: absolute;
right: 30px;
top: 80px;
width: 250px;
border: 1px solid #ddd;
background: #fff;
border-radius: 5px;
display: none;
font-size: 14px;
z-index: 101;
-webkit-box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.1);
-moz-box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.1);
box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.1);
}

#modalmenu ul {
list-style: none;
}

#modalmenu ul li{
line-height: 40px;
border-bottom: 1px solid #eee;
transition: background 0.15s ease;
}

#modalmenu ul li:hover {
background: #f7f7f7;
}

#modalmenu ul li:last-child {
border: none;
}
#modalmenu a {
color: #2a2a2a;
text-decoration: none;
transition: all 0.3s ease;
display: block;
padding: 10px 20px;
}

#modalmenu a:hover {
color: #e14036;
}

#content {
padding: 25px 40px;
width: 100%;
flex-grow: 1;
}

#content.websearch {
white-space: nowrap;
overflow-x: hidden;
}

.defaultfont {
font-family: Arial, sans-serif;
}


.mainpage .logo {
background: url(../img/logo.png?1) no-repeat center left;
background-size: contain;
background-position: center;
height: 140px;
margin-bottom: 30px;
}

.logo {
background: url(../img/logoinner.png?1) no-repeat center left;
background-size: contain;
height: 50px;
width: 180px;
}

.mainpage {
align-items: center;
max-width: 100% !important;
display: flex;
flex-direction: column;
}

.mainpage .searchbox {
justify-content: center;
}

.mainpage .searchbox input {
height: 60px;
font-size: 18px;
margin: 20px 0;
padding: 0 25px;
}

.mainpage .searchbox input:focus {
border: 1px solid #949494;
font-size: 18px;
border-radius: 5px;
outline: none;
}

.mainpage ::placeholder {
font-size: 16px;
font-weight: bold;
}

.mainpage .categories {
font-size: 16px;
}


.inner {
align-items: flex-start !important;
justify-content: flex-start !important;
}

.settingspage {
align-items: flex-start !important;
justify-content: flex-start !important;
padding: 40px !important;
}

.searchbox {
max-width: 768px;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}

.searchbox input {
width: 100%;
border: 1px solid #d6d6d6;
border-radius: 5px;
font-size: 16px;
font-weight: 500;
padding: 0 20px;
height: 50px;
display: flex;
align-items: center;
transition: all 0.5s ease;
letter-spacing: -0.3px;
font-family: 'Arial', sans-serif;
}

.searchbox input:focus {
border: 1px solid #949494;
 outline: none;
 font-size: 16px;
}


::placeholder {
font-family: 'Arial', sans-serif;
font-weight: 500;
color: #aaa;
font-size: 16px;
letter-spacing: -0.3px;
}


.searchbox button {
width: 40px;
height: 40px;
margin-left: -50px;
border: none;
padding: 10px;
background: none;
transition: all 0.3s ease;
cursor: pointer;
}


.searchbox button svg {
fill: #3d3d3d;
transition: all 0.2s ease;
}

.searchbox button:hover svg {
fill: #e13e34;
}

.mainpage .searchbox button {
width: 50px;
height: 50px;
padding: 14px;
margin: 0 10px 0 -60px;
}

ul.categories {
display: inline-flex;
list-style: none;
font-size: 14px;
}

ul.categories li {
padding: 0 30px 0 0;
}

.mainpage ul.categories li {
padding: 0 15px;
}

ul.categories li a{
text-decoration: none;
color: #3d3d3d;
}

ul.categories li a:hover{
opacity: 0.6;
}

ul.categories li a.active {
font-weight: 600;
color: #e14036;
}

ul.tools {
display: inline-flex;
list-style: none;
font-size: 14px;
}

ul.tools a{
text-decoration: none;
color: #3d3d3d;
}

ul.tools li {
border-radius: 3px;
padding: 5px 0px 5px 24px; 
margin: 0 0 0 10px;
display: inline-flex;
align-items: center;
cursor: pointer;
}

ul.tools li:hover {
opacity: 0.6;
}

ul.tools li svg {
margin-right: 5px;
fill: #3d3d3d;
}

.filters svg{
width: 14px;
height: 14px;
}

.settings svg{
width: 16px;
height: 16px;
}

.maps {
background: url(../img/icons/droparrow.svg) no-repeat center right 10px;
background-size: 10px;
cursor: pointer;
}

.mapsdropdown {
position: absolute;
background: #fff;
border: 1px solid #ddd;
background: #fff;
border-radius: 3px;
list-style: none;
padding: 5px 10px;
margin-top: 5px;
z-index: 100;
display: none;
-webkit-box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.1);
-moz-box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.1);
box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.1);
}

.mapsdropdown li {
margin: 7px 0;
padding-left: 25px !important;
}

.mapsdropdown li:first-child {
background: url(../img/bing.svg) no-repeat center left;
background-size: 16px;
}

.mapsdropdown li:last-child {
background: url(../img/google.svg) no-repeat center left;
background-size: 16px;
}


.settingsmodal {
width: 200px;
padding: 20px;
background: #fff;
border: 1px solid #ddd;
border-radius: 5px;
position: absolute;
}

.settingsrow {
display: flex;
margin: 0 0 30px 0;
width: 100%;
font-size: 16px;
}

.settingsrow select {
height: 50px;
padding: 0 25px;
width: 60%;
font-size: 16px;
font-weight: 500;
border: 1px solid #ddd;
border-radius: 5px;
font-family: 'Arial', sans-serif;
-webkit-appearance: none;
outline: none;
background: url(../img/icons/droparrow.svg) no-repeat center right 20px;
background-size: 12px;
}


.col {
width: 40%;
flex: 0 0 40%;
padding-right: 30px;
}

.col2 {
width: 60%;
flex: 0 0 60%;
}

.col, .col2 {
display: flex;
justify-content: center;
align-items: flex-start;
flex-direction: column;
}


.headerp {
font-weight: 700;
}

.description {
font-size: 12px;
color: #949494;
line-height: 15px;
margin-top: 3px;
}

.buttons {
display: inline-flex;
}

.button {
padding: 5px 25px;
border-radius: 5px;
line-height: 30px;
margin-top: 20px;
font-size: 14px;
font-weight: 700;
transition: all 0.3s ease;
background: #eee;
}

.button:hover {
background: #ddd;
}


.save {
background: #7caf22;
color: #fff;
margin-left: 10px;
cursor: pointer;
}

.save:hover {
background: #a9d063;
}

.cancel {
background: #eee;
cursor: pointer;
}

#mainline-wrap, #sidebar-container {
display: inline-block;
vertical-align: top;
white-space: normal;
}

.resultsrow {
margin: 25px 0 35px 0;
display: flex;
}

.resultsrow a{
text-decoration: none;
display: block;
}

.resultsrow-ad {
/*background: #eee;*/
padding: 30px 0 10px 0; margin: 0;
}

.resultscontent {
width: 100%;
}

hr {
border: none;
height: 1px;
background-color: #ddd;
}

.resultscount {
font-size: 12px;
display: inline-block;
background: #eee;
color: #787878;
padding: 5px 10px;
border-radius: 3px;
}

.resultstitle a{
font-size: 18px;
color: #0048b5;
margin: 0;
}

.resultstitle a:hover {
text-decoration: underline;
}

.undertitle {
margin: 5px 0;
}

.smallurl {
font-size: 13px;
margin-right: 5px;
color: #719433;
word-wrap: break-word;
}

.time {
font-size: 13px;
color: #949494;
/*margin-left: 5px;*/
}

.resultsp {
font-size: 13px;
line-height: 17px;
}

.tags {
/*display: flex;*/
/*flex-direction: row;*/
list-style: none;
font-size: 13px;
color: #949494;
/*margin-top: 8px;*/
}

.tags a {
color: #1972c1;
}

.tags a:hover {
text-decoration: underline;
}

.tags li {
/*margin: 0 15px 0 0;*/
margin: 9px 0 0 50px;
display: block;
float: left;
width: 32%;
line-height: 17px;
}

#mainline-wrap {
width: 70%;
}

#sidebar-container {
width: 30%;
max-width: 400px;
font-size: 14px;
padding: 0 15px 15px 15px;
}

.related {
line-height: 1.8;
margin-bottom: 10px;
}
.related h3 {
display: block;
margin-bottom: 5px;
}
.related-link {
display: block;
text-decoration: none;
color: #0048b5;
}

.newsimg {
width: 133px;
height: 100px;
min-width: 133px;
margin-right: 15px;
background: #eee;
border-radius: 3px;
overflow: hidden;
position: relative;
}

.duration {
position: absolute;
color: #fff;
font-size: 12px;
border-radius: 3px;
padding: 2px 5px;
background: rgba(0, 0, 0, 0.7);
right: 5px;
bottom: 5px;
}

.pagination {
width: 100%;
border-top: 1px solid #eee;
padding: 20px 0;
margin-top: 15px;
font-size: 14px;
display: flex;
justify-content: center;
}

.pagination ul {
display: inline-flex;
list-style: none;
align-items: center;
border-radius: 5px;
border: 1px solid #ddd;
}

.pagination ul li {
margin: 0 10px;
cursor: pointer;
}

.pagination ul li:hover {
opacity: 0.7;
}

.activepage {
font-weight: 700;
color: #e14036;
}

.prev, .next {
width: 34px;
height: 34px;
display: flex;
align-items: center;
justify-content: center;
}

.prev {
border-right: 1px solid #ddd;
margin-left: 0 !important;
}

.next {
border-left: 1px solid #ddd;
margin-right: 0 !important;
}

.prev img {
width: 10px;
height: 10px;
transform: rotate(90deg);
}

.next img {
width: 10px;
height: 10px;
transform: rotate(270deg);
}

.prev:hover, .next:hover {
    background: #f5f5f5;
}

.row {
display: flex;
padding: 0 40px;
}

.col50 {
width: 50%;
}

#footer {
/*height: 50px;*/
display: flex;
align-items: center;
font-size: 13px;
margin-top: 20px;
padding: 10px 25px;
background: #f3f3f3;
}

#footer ul {
list-style: none;
display: inline-flex;
}

#footer ul li {
margin: 5px 15px;
}

#footer ul li a {
text-decoration: none;
color: #949494;
}

#footer ul li a:hover {
opacity: 0.7;
}

.search_engines {
    border: 1px solid #ddd;
    padding: 15px;
    background: #fff;
    margin-bottom: 20px;
}

.other-engine {
border: 1px solid #ddd;
background: #eee;
border-radius: 3px;
margin-right: 2px;
padding: 5px 7px 5px 30px;
margin-bottom: 4px;
}

.other-engine:hover {
    background-color: #eaeaea;
}

a.other-engine {
text-decoration: none;
color: #0048b5;
display: inline-flex;
}

.engine_links {
margin: 14px 0 20px 0;
}

.btn-yahoo {
background: #f5f5f5 url(../img/yicon.svg) no-repeat center left 10px;
background-size: 14px;
}

.btn-bing {
background: #f5f5f5 url(../img/bicon.svg) no-repeat center left 10px;
background-size: 14px;
}

.btn-google {
background: #f5f5f5 url(../img/gicon.svg) no-repeat center left 10px;
background-size: 14px;
}

@media only screen and (max-width: 768px) {
    .main .hamburger {
        position: absolute;
        top: 10px;
        right: 10px;
    }
    
    #modalmenu {
        top: 50px;
    }

    #content {
        padding: 0 20px 25px 20px;
    }

    .hamburger {
        padding: 11px;
        top: 10px;
        right: 20px;
    }

    .logo {
        height: 47px;
        /*width: 94px;*/
        margin-bottom: 10px;
        background-position: center;
    }

    .mainpage .logo {
        height: 110px;
        margin-bottom: 10px;
    }

    .navsearch {
        padding: 10px 20px 12px 20px;
        min-width: 100%;
    }

    .mainpage .searchbox input {
        height: 50px;
    }

    .mainpage .categories {
        font-size: 14px;
    }

    .searchbox input {
        height: 40px;
        padding: 0 15px;
        transition: none;
    }

    .mainpage .searchbox button, .searchbox button {
        width: 40px;
        height: 40px;
        margin: 0 0px 0 -40px;
        padding: 12px;
        transition: none;
    }

    .navsettings {
        padding: 5px 0 5px 20px;
        overflow-y: auto;
    }

    .navfilter {
        padding: 5px 15px;
    }

    .navfilter select {
        margin: 5px;
        min-width: calc(50% - 10px);
    }

    .navsettings::-webkit-scrollbar {
        display: none;
      }

    li.settings {
        margin-right: 20px !important;
    }

    ul.categories li {
        white-space: nowrap;
    }

    #nav {
        /*max-height: 150px;*/
    }

    #nav .wrap {
        margin-right: 0;
    }

    .navsearch .wrap {
        flex-wrap: wrap;
        justify-content: center !important;
    }

    #content.websearch {
        display: flex;
        flex-direction: column;
    }

    #mainline-wrap {
        width: 100%;
    }

    #sidebar-container {
        width: 100%;
        max-width: 100%;
        padding: 15px 0;
    }

    .related {
        display: flex;
        white-space: nowrap;
        flex-wrap: wrap;
    }

    .related-link {
        margin-right: 25px;
    }

    .related h3 {
        width: 100%;
    }

    .newsimg {
        float: left;
    }

    .newstitle a{
        padding-left: 147px;
    }

    .newsrow {
        display: block;
    }

    #footer {
        justify-content: center;
        margin-top: 0;
    }

    #footer ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    #footer ul li a {
        white-space: nowrap;
    }

    .resultscount {
        display: none;
    }

    .navfilter .wrap {
        flex-wrap: wrap;
    }

    .settingspage {
        padding: 30px 20px 20px 20px !important;
    }

    .settingsrow {
        flex-direction: column;
        margin: 0;
    }
    
    .top_absolute {
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .top_absolute .searchbox input {
        margin: 0;
        width: 100%;
        max-width: calc(100% - 20px);
    }
    
    .top_absolute input {
        border: 0 !important;
        border-bottom: 2px solid #949494 !important;
        border-radius: 0 !important;
        width: calc(100% - 20px) !important;
        margin: 0 !important;
        height: 50px !important;
    }


    .maps {
        display: none;
    }

    .col, .col2 {
        align-items: center;
        width: 100%;
        padding: 0;
    }

    .settingsrow select {
        width: 100%;
        max-width: 350px;
        margin: 20px auto;
        height: 40px;
        padding: 0 15px;
        background-position: center right 15px;
    }

    .buttons {
        justify-content: center;
        width: 100%;
    }
    
    .save {
        margin: 0;
    }

    .container-fluid {
        padding-top: 20px;
    }

    .container-fluid .row {
        flex-direction: column;
        padding: 0 10px;
    }

    .col50 {
        width: 100%;
    }
    
    .no_shadow {
        box-shadow: none !important;
        border: none !important;
    }
    
    #amz-wrap {
       margin-top: 20px;
    }
    
    .tags li {
        width: 100%;
        padding-right: 50px;
    }
}

@media only screen and (max-width: 580px) {
    ul.categories li {
        padding-right: 15px;
    }
    ul.tools li {
        padding-left: 10px;
    }
}
@media only screen and (max-width: 480px) {
    ul.tools li {
        font-size: 0;
    }
}