body { font-size: 16px; }
/* costumize */
.navbar { border-radius: 0; -moz-border-radius: 0; -webkit-border-radius: 0;}
.navbar-brand { padding: 10px 15px; }
.navbar-brand span { font-size: 20px; color: #0C749C; padding: 10px 5px; }
.navbar-right { margin-right: 0; }
.navbar-right a { font-size: 25px; padding: 12px !important; }
.navbar-right a .visible-xs-inline { font-size: 16px; }

.panel .panel-heading .title { font-weight: bold; color: #666;}
.panel .panel-body .panel-footer { overflow: hidden; margin: 15px -15px -15px -15px; }
.panel .panel-body .control-label { font-size: 16px;}

.input-sm { font-size: 14px; }

.btn { text-transform: none; }

/* own classes */
.width-400 { max-width: 400px; }
.width-600 { max-width: 600px; }

.margin-top-50 { margin-top: 50px !important; }
.margin-top-25 { margin-top: 25px !important; }
.margin-bottom-50 { margin-bottom: 50px; }

/* NoScript */
#noscript { margin-top: -20px; margin-bottom: 20px; }

/* Search */
#search {
	margin: 0 auto;
	padding: 10px;
	width: 50%;
	min-width: 300px;
}

#search input.form-control { font-size: 16px; }
#search input.input-sm { height: 32px; }
#search button.dropdown-toggle { height: 32px; padding: 0px 7px; margin-top: 0; }
#search .search-engine-option {cursor: pointer;}
.search-icon {
    background: url('../img/search-icon.png') no-repeat top left;
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
}
.search-icon.bing { background-position: 0 0; }
.search-icon.ecosia { background-position: 0 -26px; }
.search-icon.google { background-position: 0 -52px; }
.search-icon.wikipedia { background-position: 0 -78px; }
.search-icon.yahoo { background-position: 0 -104px; }
.search-icon.youtube { background-position: 0 -130px; }

/* Fav-Table */
#fav-table { margin: 20px auto; color: #000; }
#fav-table a { color: #1155CC; }
#fav-table thead { display: block; }
#fav-table thead ul { list-style: none; padding: 0; }
#fav-table thead ul li {
    float: left;
    margin-right: 5px;
    background: #FFF;
    border: 1px solid #D1D1D1;
    border-bottom: 0;
    height: 30px;
    line-height: 30px;

    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
#fav-table thead ul li.selected { position: relative; top: 1px; background: #F0F0F0; }
#fav-table thead ul li.special { display: none; border-style: dashed; font-weight: bold; font-size: 20px; }
#fav-table thead ul li:hover { background: #F0F0F0; }
#fav-table thead ul li a { display: block; height: 100%; padding: 0 15px; text-decoration: none; }
#fav-table thead ul li a:hover { text-decoration: none; }
#fav-table thead ul.ui-sortable li.tab.selected a { cursor: move; }
#fav-table tbody {
	display: block;
	background: #F0F0F0;
	border: 1px solid #D1D1D1;
	padding: 10px;

	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-top-left-radius: 0;
	-moz-border-top-left-radius: 0;
	-webkit-border-top-left-radius: 0;

	box-shadow: 2px 2px 7px #ccc;
	-moz-box-shadow: 2px 2px 7px #ccc;
	-webkit-box-shadow: 2px 2px 7px #ccc;
}

#fav-table tbody td { width: 210px; padding: 3px 5px; overflow: hidden; line-height: 16px; }
#fav-table td.fav-cell, #fav-table td.constant-cell {
    empty-cells: show;
    min-width: 200px;
    max-width: 310px;
    overflow: hidden;
    border: 1px solid transparent;
}
#fav-table td.fav-cell.edit-modus { border: 1px solid #D1D1D1; }
#fav-table td.fav-cell.ondrag { opacity: 0.5; }
#fav-table td.fav-cell.drop-hover { background: #D1D1D1; }
#fav-table td.fav-cell a { text-decoration: none; }
#fav-table td.fav-cell a:hover { text-decoration: underline; }
#fav-table td.fav-cell .underlined { text-decoration: underline; }
#fav-table td.fav-cell .bold { font-weight: bold; }

#fav-table td.constant-cell a { color: #F9760B; text-decoration: none; }
#fav-table td.constant-cell a:visited { color: #F9760B; }
#fav-table td.constant-cell a:hover { text-decoration: underline; }
#fav-table .ads-hint { font-size: 12px; color: #999; }

/* Dialog */
#popups {
    height: 0;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    overflow: visible;
    outline: 0;
    border: 0;
    z-index: 250;
}

#popups .dialog {
    display: none;
    min-width: 200px;
    min-height: 100px;
    width: 350px;
    margin: 120px auto;
}

#popups .panel { box-shadow: 0 0 15px #ccc; border: 1px solid #D1D1D1;}


/* Hints */
.cookiehint { display: none;}
.cookiehint a { color: #fff; font-size: 14px; text-decoration: underline; }
.cookiehint a:hover { text-decoration: none; }

.privacy-contradiction { background: #faf2cc; color: #8a6d3b; margin: 0 -19px; padding: 15px; }

/* Settings */
form.design-preview { display: inline; }

input.design-preview {
    width: 30%;
    max-width: 167px;
    min-height: 103px;
    margin: 5px;
    border: 3px solid #ccc;
    float: left;
}

input.design-preview.selected { border-color: #F9760B; }

/* Footer */
#footer, #footer a{ color: #666; }

/* social media icons */
.social-link {
    background: url(../img/social-icons.png);
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-left: 5px;
    top: 2px;
    position: relative;
}

.social-link.facebook { background-position: 0 0; }
.social-link.twitter { background-position: -20px 0; }
.social-link.youtube { background-position: -40px 0; }

/* Sources Page */
#page-sources { max-width: 750px; }
#page-sources .img-thumbnail { max-width: 200px; max-height: 400px; }
@media (max-width: 500px){
    #page-sources .media .media-left { display: block !important; }
}
