/*
Theme Name: Danmar
Template: accesspress-ray
*/

@import url("../accesspress-ray/style.css");
@import url(//fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,500,500italic&subset=latin,latin-ext);
@import url(//fonts.googleapis.com/css?family=Lato:400,300,300italic,400italic&subset=latin,latin-ext);
@import url(//fonts.googleapis.com/css?family=Open+Sans:400,400italic,300italic,300,600,600italic|Lato:400,100,300,700|Josefin+Slab:400,100,100italic,300,300italic,400italic,600,600italic,700,700italic|Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700italic,700,900,900italic&subset=latin,latin-ext);
@font-face {
    font-family: "Icons";
    font-style: normal;
    font-weight: normal;
    src: url("fonts/Icons.eot?#iefix") format("embedded-opentype"), url("fonts/Icons.woff") format("woff"), url("fonts/Icons.ttf") format("truetype"), url("fonts/Icons.svg#Icons") format("svg");
}

#site-navigation .menu > ul > li:hover > a:before, 
#site-navigation .menu > ul > li.current_page_item > a:before,
#site-navigation .menu > ul > li.current-menu-item > a:before,
#site-navigation .menu > ul > li.current_page_ancestor > a:before,
#site-navigation .menu > ul > li.current-menu-ancestor > a:before{
    background: #EF7F1A;
}

.slider-caption .caption-title, .slider-caption .caption-description{
	background: #747474;
	background: rgba(116, 116, 116, 0.5);
}

header.site-header {
    border-top: 5px solid #008DD2!important;
}

#site-navigation .menu > ul > li > a{
    color: #141414!important;
}
.navigation .nav-links a,
.slider-caption br + a,
.bttn,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background: #008DD2;
}
.navigation .nav-links a:hover,
.bttn:hover,
button,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover{
    background: #005a86!important;
}
.featured-section{
	background: #f6f6f6!important;
}
.featured-post .featured-icon{
	background:#008DD2!important;
}
.featured-post .featured-icon i{
	color:#cccccc!important;
}

.featured-section .main-title, .featured-section .sub-desc{
	color:#333333!important;
}

.sidebar .widget-title {
	background:#008DD2!important;
}

.sidebar .widget-title:after{
    border-color:transparent #005a86 #005a86 transparent!important;
}

/*a {
    color: #005a86!important;
}*/

.sidebar .widget_search .searchsubmit {
    background: #EF7F1A none repeat scroll 0px 0px!important;
}

.read-more-btn {
    background: #008DD2!important;
}

.read-more-btn:hover{
    background: none repeat scroll 0 0 #005a86!important;
}
.read-more-btn:hover .read-icon-wrap{
    background: none repeat scroll 0 0 #008DD2!important;
}
.read-more-btn .read-icon-wrap {
    background: none repeat scroll 0 0 #005a86!important;
}

.events-section .view-all {
    background: #008DD2!important;
}
.events-section .view-all:hover{
    background: #005a86!important;
}
.events-section .bx-wrapper .bx-pager.bx-default-pager a {
    background: #008DD2!important;
}
.events-section .bx-wrapper .bx-pager.bx-default-pager a:hover, .events-section .bx-wrapper .bx-pager.bx-default-pager a.active{
    background:#EF7F1A!important;
}
footer #middle-footer{
    background: #2E313D!important;
}
.footer-socials a{
    background: #005a86!important;
}
.footer-socials a:hover{
    background: #008DD2!important;
}
h4.event-title {
    overflow: hidden;
    text-overflow: ellipsis;
    height: 28px;
    white-space:nowrap;
}
div.event-excerpt {
    overflow: hidden;
    text-overflow: ellipsis;
    height: 140px;
}

#site-navigation .menu ul ul li > a:hover:before,
#site-navigation .menu ul ul li.current_page_item > a:before {
    background: #EF7F1A!important;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    width: 4px;
    top: 0px;
}
#site-navigation .menu ul ul li > a:hover,
#site-navigation .menu ul ul li.current_page_item > a{
    color:#005a86!important;
}
#site-navigation .menu ul ul{
    border-bottom: 2px solid #008DD2!important;
    border-top: 2px solid #008DD2!important;
}
.footer-wrap a:hover, a{
    color: #008dd2!important;;
}

#site-navigation .menu ul ul li a {
    color: #666666!important;
}

.sidebar .widget_search input[type="text"]:focus, .sidebar .widget_search input[type="text"]:active{
    border:1px solid #008DD2!important;
}

figure.featured-image, figure.event-thumbnail, div.entry-thumbnail {
    overflow: hidden;
}

figure.featured-image > a > img, figure.event-thumbnail > a > img, div.entry-thumbnail > img {
    transition: all .2s ease-in-out;
}

figure.featured-image > a > img:hover, figure.event-thumbnail > a > img:hover, div.entry-thumbnail > img:hover {
    -webkit-transform: rotate(8deg) scale(1.2); /* Chrome 4+, Op 15+, Saf 3.1, iOS Saf 3.2+ */
    -moz-transform: rotate(8deg) scale(1.2); /* Fx 3.5-15 */
    -ms-transform: rotate(8deg) scale(1.2); /* IE 9 */
    -o-transform: rotate(8deg) scale(1.2); /* Op 10.5-12 */
    transform: rotate(8deg) scale(1.2); /* Fx 16+, IE 10+ */
}
.events-section .event-list .event-date {
    background: none repeat scroll 0 0 #EF7F1A!important;
}

li.qtranxs-lang-menu > a {
    font-size: 0px!important;
}

#google-map iframe {
    pointer-events: none;
}

.opis-projektu {
    display: table;
    width: 100%;
    border-bottom: 1px solid #cccccc!important;
    height: 82px;
    margin-bottom: 40px;
    border-right: 5px solid #008DD2!important;
}

.opis-projektu > .wiersz {
    display: table-row;
}

.opis-projektu > .wiersz > .logo {
    display: table-cell;
    font-size: 36px;
    text-align: center;
    width: 92px;
    text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.2), 0 20px 20px rgba(0,0,0,.15);
    color: #555555;
}

.opis-projektu > .wiersz > .tytul {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.opis-projektu-sekcja {
    border-left: 5px solid #008dd2;
    border-bottom: 1px solid #cccccc;
    padding: 5px;
    margin-bottom: 5px;
}

.opis-projektu-sekcja > h3 {
    margin-bottom: 0;
}

.opis-projektu-stopka {
    display: table;
    width: 100%;
    margin: 40px 0px;
}

.opis-projektu-stopka > .wiersz {
    display: table-row;
}

.opis-projektu-stopka > .wiersz > .logo {
    display: table-cell;
}

.opis-projektu-stopka > .wiersz > .fraza {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    font-size:0.8em;
}

.bttn {
    background: #008DD2!important;
}

.read-more-btn, a.view-all {
    color: #ffffff!important;
}
/*
#mid-section {
    background: #f6f6f6;
}

span.read-icon-wrap {
    background: #005a86!important;
}

.featured-post .view-more:hover, .events-section .view-all, .business-section, #top-footer, .sidebar .widget-title, #comments h3, .read-more-btn .read-icon-wrap, #comments h2.comments-title, .comment-author .fn .url:hover, .sidebar .tagcloud a {
    background: #008DD2!important;
}*/

article.post-left, article.post-right {
    padding: 20px;
    width: 49%;
    height: 400px;
    border: 1px solid #cccccc;
    margin-bottom: 20px;
}
.post-left {
    float:left;
}
.post-right {
    float: right;
}

.project-top {
    overflow: auto;
    height:150px;
}
.project-info {
    margin-top:20px;
}
.project-thumbnail {
    float: left;
    width: 25%;
    height: 150px;
    line-height: 150px;
}
.project-name {
    float:right;
    width: 58%;
    height: 150px;
    display: table-cell;
}
.project-name a {
    display: table-cell;
    height: 150px;
    vertical-align: middle;

}
.project-thumbnail img {
    max-height: 140px;
    max-width: 140px;
}
.project-thumbnail {
    text-align: center;
}