/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */
#tooted article[itemprop="blogPost"] .slide-content header{
	padding-right: 10px;
	float: left;
}
#tooted article[itemprop="blogPost"] .slide-content .slide-meta, #tooted article[itemprop="blogPost"] .slide-content .slide-entry-excerpt{
	float: left;
}
#tooted article[itemprop="blogPost"] .slide-meta-comments, #tooted article[itemprop="blogPost"] .slide-meta-del{
	display: none;
}
.avia-content-slider .slide-entry-wrap{
	margin-bottom: 7px!important;
}

#top #header .avia_mega_div > .sub-menu{
	padding: 5px!important;
}
#top #header .avia_mega_div > .sub-menu.avia_mega_hr{
	padding-top: none;
}
.slide-content{
	font-size: 85%;
}
#tooted .av_one_fourth{
	margin-left: 3%;
	padding-left: 3%;
	border-left: 1px solid lightgray;
}
#tooted .avia-content-slider{
	margin-top: 0px;
}
#tooted ul li ul{
	list-style-type: circle;
}
/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
	/* Add your Desktop Styles here */
	#tooted .first{
		margin-left: 10%;
	}
	.avia-content-slider {
		margin: 20px 0;
	}
	.av_two_fifth {
		border-left: 2px rgba(199, 199, 199, 0.48) solid;
		padding-left: 35px;
	}
}

@media only screen and (min-width: 1300px) and (max-width: 1400px) {

	#top #header_main > .container .main_menu ul:first-child > li > a {
		padding: 0 10px !important;
	}

}



/*
Awkward width Styles
================================================== */
/* Note: Some awkward width part of the styles where the menu is fucked up */


@media only screen and (min-width: 990px) and (max-width: 1300px) {

#top #menu-item-search {
    clear: left !important;
}
#top #header_main > .container .main_menu ul:first-child > li > a {
    height: 40px !important;
    line-height: 40px !important;
    padding: 0 5px !important;
}

.main_menu {
    right: auto !important;
    left: 145px !important;
    top: 8px !important;
}


}




/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
	/* Add your Mobile Styles here */
	#tooted .slide-entry-excerpt{
		clear: left;
	}

	#tooted .av_one_fourth{
		margin-left: 6%;
		padding-left: 0%;
		border-left: none;
	}
}

.slide-entry-title {
	text-transform: uppercase !important;
    font-weight: bold !important;
    color: dimgrey !important;
    font-size: 14px !important;
}

/*.av-special-heading-tag {
	color: dimgrey !important;
}*/

.av-subheading > p {
	color: #0a0a0a;;
}

.slide-entry {
	margin-left: 0px !important;
}

div .av_two_fifth {
    margin-left: 3%;
}

/*.av-special-heading-tag {
	color: #da8147 !important;
}*/

.av-subheading_below > p {
    color: white !important;
}
#tooted article .entry-title a {
	color: #da8147;
}
.slide-image {
    display: block;
    height: 0;
    padding-bottom: 55%;
}
.image-overlay {
    height: 100% !important;
}

/*
 * Cards
 */

.card-list {
    margin: 1rem auto;
    padding: 0;
    font-size: 0;
    text-align: center;
    list-style: none;
}

.card-item {
    position: relative;
    display: inline-block;
    width: 90%;
    max-width: 20rem;
    margin: 1.1rem;
    padding: 0 !important;
    font-size: 13px;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 0 3rem -1rem rgba(0,0,0,0.5);
}

.card-image {
    display: block;
    height: 300px;
    background: #fff center center no-repeat;
    background-size: cover;
}

.card-image > img {
    display: block;
    width: 100%;
    height: auto;
}

.card-description {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5em 0.9em;
    color: #666666;
    background-color: #fff;
}

.card-description > p {
    display: flex;
    margin: 0;
    height: 30px;
    align-items: center;
    justify-content: center;
}

@media only screen and (max-width: 767px) {
    .card-description > p {
        height: auto;
    }
}

.card-1 {
    background-image: url('https://multiprosystem.eu/wp-content/uploads/2015/02/5.jpg');
}
.card-2 {
    background-image: url('https://multiprosystem.eu/wp-content/uploads/2018/03/ref_house-resized.jpg');
}
.card-3 {
    background-image: url('https://multiprosystem.eu/wp-content/uploads/2015/02/latvian-national-opera.jpg');
}
.card-4 {
    background-image: url('https://multiprosystem.eu/wp-content/uploads/2015/02/11.jpg');
}
.card-5 {
    background-image: url('https://multiprosystem.eu/wp-content/uploads/2015/02/london.jpg');
}
.card-6 {
    background-image: url('https://multiprosystem.eu/wp-content/uploads/2015/02/expo.jpg');
}
.card-7 {
    background-image: url('https://multiprosystem.eu/wp-content/uploads/2015/02/bergen.jpg');
}
.card-8 {
    background-image: url('https://multiprosystem.eu/wp-content/uploads/2015/02/1511602_658848534179244_1721961511_n.jpg');
}
.card-9 {
    background-image: url('https://multiprosystem.eu/wp-content/uploads/2018/03/fin_tallest_wooden_build.jpg');
}
.card-10 {
    background-image: url('https://multiprosystem.eu/wp-content/uploads/2018/03/Suur-Karja.jpg');
}
.card-11 {
    background-image: url('https://multiprosystem.eu/wp-content/uploads/2018/03/Interior_panels-1030x687.jpg');
}
.card-12 {
    background-image: url('https://multiprosystem.eu/wp-content/uploads/2018/03/Rotermanni2-1030x687.jpg');
}
.card-13 {
    background-image: url('https://multiprosystem.eu/wp-content/uploads/2018/03/Balti_Jaama_Turg_Kioskid-1030x688.jpg');
}
.card-14 {
    background-image: url('https://multiprosystem.eu/wp-content/uploads/2018/03/Parnu_Rannastaadion-1030x686.jpg');
}
/*
 * remove when new reference layout is approved & disable the accordion
 */

#references .togglecontainer,
#referentsid .togglecontainer {
    display: none !important;
}
