@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:300,700);

* {
    margin: 0px;
    padding: 0px;
}

html, body {
    height: 100%; width: 100%;
    background: #ffffff url(../images/stripe-bg.png);
    font-family: Arial, Helvetica, sans-serif;
	overflow: hidden;
    max-height: 100%;
    max-width: 100%;
}

#slideshow {
    position: absolute;
    left: 0; top: 0;
    background: #000000;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 10;
}

#loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: 43px;
    height: 11px;
    background: url(../images/ajax-loader.gif);
    margin-top: -6px;
    margin-left: -22px;
}

#slideshow>img {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
}

#controls {
    border: 2px solid #333333;
    border-bottom: none;
    display: none;
    position: absolute;
    width: 355px;
    height: 90px;
    left: 50%;
    bottom: 0px;
    margin-left: -177px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    z-index: 3;
    background-color: rgba(0,0,0,0.8);
}

#controls-top {
    border: 2px solid #333333;
    display: none;
    position: absolute;
    width: 110px;
    height: 85px;
    right: 10px;
    top: 10px;
    border-radius: 8px;
    -moz-border-radius: 8px;
    z-index: 3;
    background-color: rgba(0,0,0,0.8);
    padding-top: 4px;
}

#controls-top-buttons {
	width: 88px;
	margin: 0px auto;
}

#controls-top-share {
	background-color: #ffffff;
	width: 84px;
	height: 16px;
	padding: 7px;
	padding-right: 3px;
	margin: 2px auto;
	margin-top: 8px;
	border-radius: 8px;
    -moz-border-radius: 8px;
}

#control-navigation {
    width: 193px;
    margin: 0px auto;
    padding-top: 5px;
}
#controls a, #controls-top-buttons a {
    display: block;
    float: left;
    width: 32px;
    height: 22px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    margin: 5px;
    padding: 1px;
}
#controls a:hover, #controls-top-buttons a:hover {
    padding: 0px;
    border: 1px solid #999999;
}
#control-previous {
    background: #333333 url(../images/control-previous.png) center center no-repeat;
}
#control-pause-play {
    background: #333333 url(../images/control-pause.png) center center no-repeat;
}
#control-pause-play.paused {
    background: #333333 url(../images/control-play.png) center center no-repeat;
}
#control-next {
    background: #333333 url(../images/control-next.png) center center no-repeat;
}
#control-eject {
    background: #333333 url(../images/control-eject.png) center center no-repeat;
}
#control-exit {
    background: #333333 url(../images/control-exit.png) center center no-repeat;
}

#control-fullscreen {
    background: #333333 url(../images/control-fullscreen.png) center center no-repeat;
    margin-left: 20px !important;
}

#control-speed {
    display: block;
    clear: both;
    font-family: Consolas, "Lucida Console", "Andale Mono", "Courier", monospaced;
    font-size: 12px;
    color: #ffffff;
    width: 275px;
    margin: 0px auto;
    padding-top: 10px;
}
#control-speed label {
    display: block;
    float: left;
    margin: 0px 12px;
}
#control-speed input {
    display: block;
    margin: 0px auto;
    background: transparent;
}

#results-branding {
    position: absolute;
    height: 35px;
    width: 80px;
    text-align: center;
    left: 10px;
    top: 10px;
    font-family: Consolas, "Lucida Console", "Andale Mono", "Courier", monospaced;
    font-size: 12px;
    color: #999999;
    background: url(../images/google-small.png) bottom center no-repeat;
    display: none;
}

#search {
    width: 100%;
    height: 100%;
    max-width: 782px;
    max-height: 520px;
    margin: 10% auto;
    background: url(../images/bg.jpg);
    -webkit-box-shadow: 10px 10px 25px -4px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 25px -4px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 25px -4px rgba(0,0,0,0.75);
}

#search h1 {
    font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif;
    font-weight: 300;
    text-align: right;
    text-transform: uppercase;
    
    font-size: 300%;
    letter-spacing: -0.05em;
    margin-right: 0.5em;
    padding-top: 0.2em;
}
    #search h1 a {
        color: #a30000;
        text-decoration: none;
    }
    #search h1 span {
        font-weight: 700;
    }

.liquid-slider-wrapper {
    margin: 2% 5%;
    margin-right: 0;
    height: 100%;
    width: 100%;
    max-width: 680px;
}
.liquid-slider {
    height: 100%;
    width: 100%;
    max-width: 650px;
    overflow: hidden;
    background: none !important;
}
.liquid-panel {
    height: 100%;
    width: 100%;
    max-width: 650px;
    max-height: 390px;
    overflow: auto;
}
.liquid-panel h2 {
    display: none;
}
.panel-wrapper {
    padding: 15px 0px !important;
}

#search-panels label {
    font-weight: bold;
    text-shadow: 1px 1px 2px #fff;
}
#comments label, #comments {
    font-weight: normal;
    font-size: 12px;
    text-shadow: none;
}

#search-simple {
    padding-top: 60px;
    text-align: center;
}
#search-simple label {
    display: block;
}
#search-simple-query {
    padding: 4px;
    margin-top: 10px;
}

#search-advanced-query {
    padding: 4px;
    margin-top: 5px;
}

#search-advanced-submit {
    padding: 4px 16px;
    margin-left: 10px;
}

fieldset {
    border: none;
}

.search-advanced-options {
    float: left;
    width: 300px;
    margin-top: 20px;
}

.search-advanced-options-right {
    width: 200px;
    margin-left: 80px;
}

.search-advanced-options label, #comments label {
    display: block;
}

.search-advanced-options input, .search-advanced-options select, #comments input, #comments textarea {
    width: 200px;
    padding: 2px;
    margin-bottom: 10px;
    margin-top: 5px;
}

#comments #antispam {
    width: 100px;
    margin-top: 14px;
}
#captcha-img {
    float: left;
    margin-right: 5px;
    margin-bottom: 25px;
    margin-top: 10px;
}
.form-divider {
    width: 250px;
    float: left;
}

.search-advanced-options input {
    width: 191px;
}

#search .liquid-panel p, #search .liquid-panel ul {
    line-height: 22px;
    text-align: justify;
    padding-right: 60px;
    padding-left: 20px;
    margin-bottom: 8px;
}
#.liquid-panel ul li {
    margin-bottom: 10px;
}

#search .liquid-panel ul {
    margin: 10px 30px;
}
#search .liquid-panel a {
    text-decoration: none;
    color: #900;
}
#search .liquid-panel a:hover {
    color: #f00;
}

#info-about {
    overflow: auto;
}

.fb_edge_widget_with_comment span.fb_edge_comment_widget iframe.fb_ltr {
	position: relative;
	top: -70px !important;
}

#privacy-link-bottom {
	color: #000000;
	font-size: 10px;
	text-decoration: none;
	position: absolute;
	bottom: 2px;
	right: 5px;
	margin-left: -10px;
}

#comments-list  {
    width: 400px;
    margin: 0px auto;
    height: 170px;
    overflow: auto;
}
#comments-list .comment {
    border: 1px solid #999;
    padding: 6px;
    margin-bottom: 10px;
}
#comments-list .comment-header {
    font-weight: bold;
    margin-bottom: 8px;
}
#comments-list .comment-header .comment-date {
    font-weight: normal;
    font-style: italic;
}

/* ad styles (AdManage/miva) */
#search-ads.admanage {
    display: none;
}
#search-ads.admanage ul {
    border: 2px solid #333333;
    position: absolute;
    width: 170px;
    height: 460px;
    right: 10px;
    top: 50%;
    margin-top: -230px;
    border-radius: 8px;
    -moz-border-radius: 8px;
    z-index: 3;
    background-color: rgba(0,0,0,0.8);
    list-style: none;
}
#search-ads.admanage li {
    font-family: Calibri, Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #ffffff;
    border-bottom: 1px solid #333333;
    padding: 8px;
}
#search-ads.admanage li>a {
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
}
#search-ads.admanage li:hover {
    background-color: #333333;
}
#search-ads.admanage li p {
    margin-top: 3px;
    line-height: 11px;
}
#search-ads.admanage li p a {
    font-size: 11px;
    font-weight: normal;
    text-decoration: none;
    color: #ffffff;
}

/* AdSense */
#search-ads {
    width: 160px;
    height: 646px;
    position: absolute;
    right: 25px;
    top: 50%;
    margin-top: -300px;
    z-index: 3;
    border: 2px solid #333333;
    border-radius: 8px;
    -moz-border-radius: 8px;
    padding: 3px;
    background: #000;
    display: none;
    text-align: center;
}
    #search-ad-container {
        width: 160px;
        height: 600px;
    }
    #ad-close-link {
        display: block;
        width: 100%;
        border-bottom: 2px solid #333333;
        color: #aaa;
        text-decoration: none;
        font-size: 14px;
        padding-bottom: 10px;
        margin-bottom: 10px;
        padding-top: 4px;
    }
    #ad-close-link:hover {
        color: #fff;
    }


/* Chitika */
#search-ads.chitika {
	height: 606px;
	padding-top: 6px;
	width: 172px;
	position: absolute;
	right: 25px;
	top: 50%;
	margin-top: -307px;
	z-index: 3;
	display: none;
	border-radius: 8px;
    -moz-border-radius: 8px;
    background-color: rgba(0,0,0,0.8);
	border: 2px solid #333333;
}
	

.link-suggest {
    font-size: 12px;
    margin-top: 40px;
    font-style: italic;
}

/* AdSense */
#ad-top {
    margin: 30px auto;
    max-width: 728px;
    width: 97%;
    -webkit-box-shadow: 9px 10px 5px 0px rgba(0,0,0,0.64);
    -moz-box-shadow: 9px 10px 5px 0px rgba(0,0,0,0.64);
    box-shadow: 9px 10px 5px 0px rgba(0,0,0,0.64);
}
@media (max-width: 810px) {
    #ad-top {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        margin: 5px auto;
    }
}

@media (max-width: 810px) {
    #search, #search-shadow {
        width: 100%;
        height: 100%;
        position: static;
        margin: 0px;
    }
    
    .coda-slider, .coda-slider .panel {
        width: 100%;
    }
    .coda-slider .panel {
        height: 100%;
    }
    .coda-slider-wrapper {
        margin-left: 25px;
        padding: 0px;
        margin-top: 0px;
    }
    .coda-nav {
        margin-top: 30px;
    }
}


/* relocate ad and controls on smaller screens */
@media (max-width: 800px) {
    #controls {
        bottom: 22vh;
    }
    #search-ads {
        width: 100%;
        margin: 0px;
        border: none;
        border-radius: 0px;
        border-top: 2px solid #333333;
        left: auto;
        height: 22vh;
        bottom: 0px;
        top: auto; right: auto;
        padding: 0px;
    }
    #search-ad-container {
        width: 100%; height: 18vh;
    }
    #ad-close-link {
        font-size: 12px;
        padding: 0px;
        padding-top: 0.5vh;
        padding-bottom: 1vh;
        margin: 0px;
        height: 2vh;
    }
}