/*
Theme Name:     UusiTeknologia
Description:    UusiTeknologia featured by AccessPress Magazine
Author:         toimitus
Template:       accesspress-mag
Version:		1.12

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

h1.entry-title {
    color: #353535;
    font-weight: 700;
    margin-bottom: 0;
    padding-bottom: 0; 
    text-transform: none; /* pois autom. jenkki isot alkukirjaimet */
}

.review-featured-wrap .review-featured-name {
    font-size: 18px;
    text-transform: none; /* pois autom. jenkki isot alkukirjaimet */
}
.author-metabox .author-title {
    color: #dc3522;
    display: inline-block;
    font-size: 24px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 10px;
    text-transform: none; /* pois autom. jenkki isot alkukirjaimet */
    vertical-align: top;
}

/* Tästä alkavat Uusiteknologia-värien muokkaukset Tummanvihreä= #035d62 Vaaleanvihreä= #6CA1A4*/

input[type="submit"] {
    background: none;
    color: #3d3d3d;
    cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
    font-size: 14px;
    line-height: 13px;
    height: 33px;
    border: none;
    padding: 10px 15px;
    font-weight: 400;
    display: inline-block;
    position:relative;
    text-shadow:none;
    border: 1px solid #035D62; /* värimuutos #DC3522 */
}

.navigation .nav-links a:hover, 
.bttn:hover, 
button, 
input[type="button"]:hover, 
input[type="reset"]:hover, 
input[type="submit"]:hover {
    background: #035D62; /* värimuutos #DC3522 */
    color: #ffffff !important;
}

a {
    color: #035D62; /* värimuutos #DC3522 */
    text-decoration: none;
    transition:all 0.3s ease-in-out;
    -webkit-transition:all 0.3s ease-in-out;
    -moz-transition:all 0.3s ease-in-out;
}

a:visited {
}

a:hover, a:focus, a:active {
    color: #6CA1A4;
}

.entry-footer a:hover {
    color: #035D62; /* värimuutos #DC3522 */
}

.navigation .nav-links a:hover{
    background: none;
    color: #035D62 !important; /* värimuutos #DC3522 */
}

.comment-author .fn .url:hover {
    background: #035D62; /* värimuutos #DC3522 */
    color: #FFF;
}

#cancel-comment-reply-link:before,
#cancel-comment-reply-link{
    color: #035D62 !important; /* värimuutos #DC3522 */
}

.logged-in-as a {
    color: #035D62; /* värimuutos #DC3522 */
}

#top-navigation ul.sub-menu li:hover,
#top-navigation ul.sub-menu li.current-menu-item,
#top-navigation ul.sub-menu li.current-menu-ancestor,
#footer-navigation ul.sub-menu li:hover,
#footer-navigation ul.sub-menu li.current-menu-item,
#footer-navigation ul.sub-menu li.current-menu-ancestor {
    border-bottom: 1px solid #035D62; /* värimuutos #DC3522 */
}

#site-navigation ul.menu > li:hover > a:after,
#site-navigation ul.menu > li.current-menu-item > a:after,
#site-navigation ul.menu > li.current-menu-ancestor > a:after {
    border-bottom: 1px solid #035D62; /* värimuutos #DC3522 */
    bottom: -14px;
    content: "";
    left: 0;
    position: absolute;
    width: 100%;
}

#site-navigation ul li:hover > a,
#site-navigation ul li.current-menu-item > a,
#site-navigation ul li.current-menu-ancestor > a{
    color: #035D62; /* värimuutos #DC3522 */
}

#site-navigation ul.sub-menu li:hover,
#site-navigation ul.sub-menu li.current-menu-item,
#site-navigation ul.sub-menu li.current-menu-ancestor {
    border-bottom: 1px solid #035D62; /* värimuutos #DC3522 */
}

.nav-toggle {
    background: none repeat scroll 0 0 #035D62; /* värimuutos #DC3522 */
    height: 35px;
    padding: 3px 0;
    width: 35px;
}

.random-post a:hover{
    color: #035D62; /* värimuutos #DC3522 */
}

.search-icon > i:hover{
    color: #035D62; /* värimuutos #DC3522 */
}

.slider-wrapper .bx-pager-item a {
    background: none repeat scroll 0 0 #035D62; /* värimuutos #DC3522 */
    border-radius: 100%;
    color: transparent;
    display: inline-block;
    font: 0px/0 a;
    height: 12px;
    margin-left: 5px;
    width: 12px;
    -webkit-transition: opacity 0.5s ease 0s;
    -o-transition: opacity 0.5s ease 0s;
    transition: opacity 0.5s ease 0s;
    cursor: pointer;
}

.block-post-wrapper .post-title a:hover,
.random-posts-wrapper .post-title a:hover,
.sidebar-posts-wrapper .post-title a:hover,
.review-posts-wrapper .single-review .post-title a:hover,
.latest-single-post a:hover{
    color: #035D62; /* värimuutos #DC3522 */
}

.block-poston a:hover{
    color: #035D62; /* värimuutos #DC3522 */
}

.big-image-overlay i {
    background: none repeat scroll 0 0 #035D62; /* värimuutos #DC3522 */
    color: #ffffff;
    display: block;
    height: 40px;
    left: 50%;
    line-height: 40px;
    margin-left: -20px;
    margin-top: -20px;
    position: absolute;
    text-align: center;
    top: 55%;
    width: 40px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition:all 0.5s ease;
    -moz-transition:all 0.5s ease;
    transition:all 0.5s ease;
}

.stars-ratings .star-value {
    color: #035D62; /* värimuutos #DC3522 */
    display: inline-block;
    margin-right: 5px;
}

.oops {
    color: #035D62; /* värimuutos #DC3522 */
    display: block;
    float: left;
    font-size: 170px;
    padding: 70px 0;
    text-align: right;
    width: 50%;
}

.error404 .error-num .num {
    background: none repeat scroll 0 0 #035D62; /* värimuutos #DC3522 */
    border-radius: 100%;
    color: #ffffff;
    display: block;
    font-size: 151px;
    font-weight: 400;
    height: 300px;
    line-height: 300px;
    margin-top: 70px;
    text-align: center;
    width: 300px;
}

.error404 .not_found {
    color: #035D62; /* värimuutos #DC3522 */
    display: block;
    font-size: 44.9px;
    font-weight: 400;
    margin-top: 20px;
    padding-left: 30px;
}

.widget ul li a{
    color: #035D62; 
}

.widget ul li:hover a,
.widget ul li:hover:before{
    color: #6CA1A4;
}

.widget ul li {
	padding-left: 0px;
	font-size: 14px;
    line-height: normal;
    margin-bottom: 5px;
	font-family: 'Oswald', sans-serif;

}

.entry-meta .post-categories li a {
    background: none repeat scroll 0 0 #035D62; /* värimuutos #DC3522 */
    color: #ffffff;
    padding: 1px 10px;
}

.bread-you {
    background: none repeat scroll 0 0 #035D62; /* värimuutos #DC3522 */
    color: #ffffff;
    float: left;
    padding: 5px 10px;
    position: relative;
}
/* Aiheuttaa ongelmia että nuoli meni väärälle puolelle
.bread-you:after{
    position: absolute;
    right: -4px;
    top: 50%;
    border-left: 5px solid #035D62; /* värimuutos #DC3522 */
 /*   border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    content: "";
    margin-top: -3px;
    width: 0;
    height: 0;
}
*/

#accesspres-mag-breadcrumbs .ak-container > .current{
    color: #035D62; /* värimuutos #DC3522 */
}

.post-review-wrapper .section-title {
    background: none repeat scroll 0 0 #f6f6f6;
    color: #035D62; /* värimuutos #DC3522 */
    display: block;
    font-size: 26px;
    font-weight: 700;
    padding: 5px 10px;
}

.review-featured-wrap .stars-count {
    color: #035D62; /* värimuutos #DC3522 */
    float: right;
}

.post-review-wrapper .summary-wrapper{
    background: none repeat scroll 0 0 #f6f6f6;
    color: #035D62; /* värimuutos #DC3522 */
    display: block;
    font-size: 26px;
    font-weight: 700;
    padding: 15px 10px;
}

.post-source-wrapper .source, 
.post-via-wrapper .via {
    background: none repeat scroll 0 0 #035D62; /* värimuutos #DC3522 */
    color: #ffffff;
    display: inline-block;
    width: auto;
    padding: 0 10px;
    text-align: center;
    margin-right: 10px;
}

.author-metabox .author-title {
    color: #035D62; /* värimuutos #DC3522 */
    display: inline-block;
    font-size: 24px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 10px;
    text-transform: capitalize;
    vertical-align: top;
}

#back-top:hover{
    background: #035D62; /* värimuutos #DC3522 */
}


.bottom-footer .ak-info a:hover{
    color: #6CA1A4; /* värimuutos #DC3522 */
}

.bottom-footer .site-info a {
    color: #ffffff;
}

/*sLIDER */
.big-cat-box {
    background: none repeat scroll 0 0 #6CA1A4; /* muutettu #3d3d3d */ 
    color: #ffffff;
    padding:10px;
    position: absolute;
    right: 44px;
    text-align: center;
    top: 0;
    width: 150px;
    z-index: 99;
}

.small-slider-wrapper .cat-name {
    background: none repeat scroll 0 0 #6CA1A4; /* muutettu #3d3d3d */ 
    color: #ffffff;
    font-size: 14px;
    padding: 7px 10px;
    position: absolute;
    right: 0;
    text-transform: uppercase;
    top: 5px;
    font-family: 'Oswald', sans-serif;
    z-index: 99;
}

.slide-excerpt {
    background: none repeat scroll 0 0 rgba(3, 93, 98, 0.8); /* muutettu tummanvihreän rgb-koodiksi + 50 transparent */
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 5px;
    padding: 6px 10px;
}

.mag-slider-caption .slide-title {
    background: none repeat scroll 0 0 rgba(3, 93, 98, 0.8); /* muutettu tummanvihreän rgb-koodiksi + 50 transparent */
    color: #ffffff;
    font-family: "Oswald",sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 22px;
    margin: 0 0 0;
    padding: 8px 10px;
    text-transform: uppercase;
    float: left;
}

.mag-small-slider-caption .slide-title {
    background: none repeat scroll 0 0 rgba(3, 93, 98, 0.8); /* muutettu tummanvihreän rgb-koodiksi + 50 transparent */
    font-size: 16px;
    margin-bottom: 0;
    padding: 8px 10px;
    font-weight: 300;
    float: left;
    color: #ffffff;
}

.mag-small-slider-caption .home-posted{
    background: none repeat scroll 0 0 rgba(3, 93, 98, 0.8); /* muutettu tummanvihreän rgb-koodiksi + 50 transparent */
    margin-bottom: 5px;
    padding: 2px 10px;
}
/* News-Ticker */ 
.ticker-title {
	color: #fff;
	font-weight: bold;
	background-color: #f1f1f1;
	text-transform: uppercase;
	line-height: 45px;
	font-size: 14px;
	background: #035D62; /* värimuutos #DC3522 */
	/*padding: 0 20px;*/
	position: relative;
}

/* Search-form */
.ak-search .search-form {
    background: none repeat scroll 0 0 #6CA1A4; /* vaalea värimuutos #E74C3C */
}

.ak-search .search-form .search-submit {
    background: none repeat scroll 0 0 #035D62;  /* tumma värimuutos #c0392b */
}

.ak-search .search-form .search-submit:hover{
    background: #012e31;  /* tummin värimuutos #a5281b */ 
}

/* Logo-header and Header Ad */
.site-branding {
    float: left;
    padding: 0px 0 0; /* Padding ylhäältä muutettu 16px->0px */
}

/*RSS-feed widget */
#rss-2 > ul {
	margin: 0 0 0 0;
	
}

#rss-2 li a::before { 
	content: "> ";
}

#rss-3 li a::before { 
	content: "> ";
}

#rss-4 li a::before { 
	content: "> ";
}

#rss-5 li a::before { 
	content: "> ";
}



/*Keski-vaiheen mainos oikeaan leveyteen ja korkeuteen default: 90px*/
.homepage-middle-ad,.article-ad-section{
    border: 0px solid #f1f1f1;
	width: 768px;
    height: 90px;
    margin: 0 auto 20px;
}

.homepage-middle-ad img,.article-ad-section img {
	margin-left: auto;
    margin-right: auto;
	height: auto;
	width: auto;
	vertical-align: middle;
}

/*Turhia välejä hieman pienemmiksi post-block-wrapper */
.block-post-wrapper {
    margin-bottom: 10px;
    margin-left: -2%;
    margin-top: 32px;
}

/* Rohde ad */
.rohde{
	margin: 0 auto 35px;
}

.rohde img {
	margin-left: auto;
	margin-right: auto;
}

/*footerin iso mainos keskitetty ja turhia paddingeja poistettu*/
.footer-block img {
	margin-left: auto;
    margin-right: auto;
}
.top-footer {
    background: none repeat scroll 0 0 #f1f1f1;
    padding: 10px 10px 10px 10px;
}

#text-45.widget.widget_text {
	margin: 15px 0px 15px 0px;
}

.widget {
	padding-bottom: 5px;
}

/* VTT:n mainos etu- ja jatkosivuilla paikkavaraus */
/*
#custom_html-5 {

    padding-bottom: 250px;

}

#custom_html-6 {

    padding-bottom: 250px;

}
*/

/* Teeman Recent Posts widgetistä nuolet pois */
.widget_recent_entries ul li:before{
    content: "";
}