/*
 Theme Name:     Kurs Rysunku AS CrtDsgn
 Theme URI:
 Description:    Autorski Szablon graficzny dla Kurs Rysunku Anna Szczegielniak, Opole
 Author:         Łukasz Doleczek
 Author URI:
 Template:       Divi
 Version:        1.0.0
*/

@import url("../Divi/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */
/*Header styles*/
#main-header::after {
content: "";
background-image: url('http://kursrysunku.creativedsgn.pl/wp-content/uploads/2016/09/header_background-1.jpg');
background-size:cover;
opacity: 1;
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
z-index: -1;
}

/*EOF: Header styles*/


#slider_main_page .et_pb_slides {
	height: 100%;
}

#slider_main_page .et_pb_slide_description {
	float: right;
	width: 100%;
	padding-right: 0;
	padding-left: 0;
	text-align: center;
	padding-top: 380px
}
#slider_main_page p#slogan {
	font-family: raleway;
	    font-weight: 200;
	    font-size: 23.8pt;
	    letter-spacing: 7px;
	    padding-top: .7em;
	    text-transform: uppercase;
	
}
p#menu_main_page {
	text-transform: uppercase;
	font-weight: 600;
	
}

#cechy_firmy_main_page h1, #specjalizacja_firmy_main_page h1, #ostatnie_projekty_main_page h1, #zaufali_nam_main_mage h1 {
	font-family: raleway;
	font-weight: 200;
	font-size: 65px;
	font-size: 4.5em;
	max-width:100%;	
	color: #b7b6b6;
	padding-top: .5em;
	padding-bottom: .5em;
	word-wrap: break-word;
}
#cechy_firmy_main_page .et_pb_text {
	max-width: 490px;}
	#specjalizacja_firmy_main_page #stats_main_page .et_pb_column .et_pb_text {
	text-align: center;		
	}
#specjalizacja_firmy_main_page #stats_main_page .et_pb_column .et_pb_text p:first-child{
	font-size: 26px;
}
#specjalizacja_firmy_main_page #stats_main_page .et_pb_column .et_pb_text p:nth-child(2){
	color: #e0373b;
	font-size: 36px;
}
#specjalizacja_firmy_main_page #stats_main_page .et_pb_column .et_pb_text p:nth-child(3){
	font-size: 35px;
}
#ostatnie_projekty_main_page .et_pb_portfolio_item.et_pb_grid_item.project.type-project.status-publish {
	width: 30.3% !important;
	margin: 0 3% 3% 0 !important;
}
#ostatnie_projekty_main_page .et_pb_portfolio_item.et_pb_grid_item h2 {
    position: absolute;
    bottom: 0;
    background-color: rgba(255,255,255,.7);
    font-size: 15px;
    color: #303030;
	width: 100%;
	min-height: 55px;
	padding: 10px;
}
span.red {
	color: #e0373b;
}
#aktualnosci_main_page .et_pb_image_container {
	margin: 0px;
	
}
#aktualnosci_main_page .et_pb_post {
	position: relative;
	padding:0px;
}
#aktualnosci_main_page h2.entry-title {
	display: none;
}
#aktualnosci_main_page .post-meta {
	position: absolute;
	height: 3em;
	margin-bottom:0px;
	width: 20%;
	bottom: 0;
	right: 0;	
	background-color: rgba(255,255,255,1);
}
#aktualnosci_main_page div.post-content {
	position: absolute;
	height: 3em;
	width: 80.1%;
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
	bottom: 0;
	left:0;
	background-color: rgba(255,255,255,.75);
	
}
#aktualnosci_main_page div.post-content p {
	word-wrap: break-word;	
	max-width:100%;
	padding: 5px;
	font-size: .9em;
	line-height:1em;
}


@media (min-width: 981px){
	#nagrody_main_page h1{
		font-family: raleway;
		font-weight: 100;
		font-size: 55px;
		color: #b7b6b6;
		padding-top: .5em;
		padding-bottom: .5em;
	}
	#nagrody_main_page .et_pb_text {
		max-width: 75%;
	}
}

.et_portfolio_image{
 padding-top: 100%;
 }
 .et_portfolio_image img {
 position: absolute;
 height: 100%;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 object-fit: cover;
 }
 
 /*Single project styles*/
 .arch_studio_single_project h1 {
 	font-family: raleway;
 	font-weight: 200;
 	font-size: 55px;
 	color: #b7b6b6;
 	padding-top: .5em;
 	padding-bottom: .5em;
 }
 .arch_studio_single_project .et-image-slider,  .arch_studio_single_project .et-image-overlay {
	 border: none;
	 box-shadow: none;
	 -webkit-box-shadow: none;
	 -moz-box-shadow: none;
 }
 .arch_studio_single_project .et-image-slides {
	 background-color: #fff;
	 margin-bottom: 0px;
 }
.arch_studio_single_project .et_shortcodes_controls_arrows {
	display: none;
}
.arch_studio_single_project div.et_shortcodes_controller_nav {
	margin-top: -50px;
	bottom: 0px;
	background: transparent;
	border: none;
 box-shadow: none;
 -webkit-box-shadow: none;
 -moz-box-shadow: none;
}
h1.title_strike {
	font-family: raleway;
	font-weight: 200;
	font-size: 65px;
	color: #b7b6b6;
	padding-top: .5em !important;
	padding-bottom: .5em !important;
	background-image:url('images/kropka_linia.jpg');
	background-repeat: repeat-x;
	background-position-y: 50%;

}
h1.title_strike span {
	background-color: white;
	padding-right: 5px;
}

/*stylizacja galerii*/
div.tos-opened{
z-index: 99999 !important;
}

div.go-gallery ul.go-gallery-list li.go-gallery-item figure {
	margin:0px;
}

.tos-desktop .tos-wrapper:hover .tos-prev, .tos-desktop .tos-wrapper:hover .tos-next, .tos-desktop .tos-wrapper:hover .tos-close, .tos-touch .tos-wrapper.tos-hover .tos-prev, .tos-touch .tos-wrapper.tos-hover .tos-next, .tos-touch .tos-wrapper.tos-hover .tos-close
{
	opacity:1;
}
#call_to_action{
	font-size:3em !important;
	line-height:3em !important;
}

@media (max-width: 761px){
	.et_pb_slide.et_pb_slide_with_image.et_pb_bg_layout_dark.et_pb_slider_with_overlay.et_pb_media_alignment_center.et_pb_slide_0.et-pb-active-slide .et_pb_slide_title{
		font-size:4em !important;
	}
	
	.home.page h1 {
		font-size:2.5em !important;
	}
	h2.dual_color, h2 {
		font-size:2em !important;
	}	
	#call_to_action{
		font-size:2em !important;
		line-height:2em !important;
		text-align:center;
	}
}

@media (max-width: 767px){
	#logo_kurs_rys {
		padding-top: 73px;
	}
}
@media (min-width: 768px){

.home.page #main-header{
	display:none !important;
}
}

.home.page img#logo {
	display:none !important;
}
.home.page #main-header:after {
	background:transparent !important;
}

