div.pagelist-page {
    /*width:  33%;*/
    margin-bottom: 13px;
    border: 1px solid #000;
}
body #content .pagelist-page h2{
	margin: 0;
}
div.pagelist-page h2 {
    background-color: #009edd;
    border-radius: 10px 10px 0 0;
    text-align: center;
    border-bottom: 1px solid #000;
    position: relative;
}

.homepage #pagefield .pagelist-page a h2,
div.pagelist-page h2 a {
    color: #fff;
    text-decoration: none;
    padding: 5px 3px;
    line-height: 23px;
    position: relative;
    font-weight: normal;
    display: block;
}

.homepage #pagefield .pagelist-page a.tempcontrol {
    text-decoration: none;
}

#content div.pagelist-page p {
    padding: 8px;
}

#content .pagelist-page.col-xs-12.col-sm-6.col-md-4 {
	padding: 0px;
	min-height: 325px;
}
.homepage .pagefield .pagelist-page a.readmore {
	display: none;
}

#boxfield_home div.box {
    margin-bottom: 13px;
}

#boxfield_home h3.empty {
    margin-top: 0;
}

#boxfield_home div.box_type_boxadvertisements ul {
	padding: 0;
}
#boxfield_home div.box_type_boxadvertisements ul li {
	list-style: none;
}
#boxfield_home div.box_type_boxadvertisements ul li img {
	margin: 0 auto;
    display: block;
}

.background-box {
    background-image: url('../../default/images/background.jpeg');
    position: relative;
    background-position: center center;
    background-size: cover;
}

#boxfield_background {
    position: relative;
    padding: 15px 0;
}

#boxfield_background div.box {
    display: inline-block;
    width: 100%;
    margin-bottom: 2%;
    vertical-align: top;
}
@media (min-width: 768px){
    #boxfield_background div.box {
        width: 48%;
        height: 350px;
        margin: 1%;
    }
    #boxfield_background div.box.box_type_boxadvertisements .image img {
        max-height: 350px;
    }
    #boxfield_background {
        padding: 81px 0 75px;
    }
}
@media (min-width: 992px){
    #boxfield_background div.box {
        width: 23.5%;
        height: 490px;
    }
    #boxfield_background div.admin_box:first-child,
    #boxfield_background div.box:first-child {
        margin-left: 0;
    }

    #boxfield_background div.admin_box:last-child,
    #boxfield_background div.box:last-child {
        margin-right: 0;
    }
}

#boxfield_background div.admin_box {
    display: inline;
    vertical-align: top;
    margin: 0 1%;
}



#boxfield_background div.box.box_type_boxtext {
    background-color: rgba(66, 139, 202, .7);
    color: #fff;
    padding: 34px 26px;
}

#boxfield_background div.box.box_type_boxtext h3 {
    font-size: 18px;
    line-height: 24px;
    margin-top: 5px;
    margin-bottom: 16px;
    color: #fff;
}

#boxfield_background div.box.box_type_boxtext a {
    color: #fff;
    text-decoration: none;
}

#boxfield_background div.box.box_type_boxadvertisements {
    background-color: #fff;
}

#boxfield_background div.box.box_type_boxadvertisements .image {
    text-align: center;
}
#boxfield_background div.box.box_type_boxadvertisements img {
    max-width: 100%;
    max-height: 100%;
}
#boxfield_background .box.box_type_boxadvertisements h4:empty,
#boxfield_background .box.box_type_boxadvertisements h3.empty {
    display: none;
}
#boxfield_background .box.box_type_boxadvertisements ul {
    margin: 0;
}

#pagearticle {
    padding: 21px 0;
}

@media (min-width: 768px) {
    div.pagelist-page {
    }

    div.pagelist-page:first-child {
        margin-left: 0;
    }

    div.pagelist-page h2 {
        height: 88px;
/*        width: 100%;
        display: block;*/
    }
}

@media (min-width: 992px) {
    div.boxes {
        padding-left: 0;
    }
}
.homepage #pagefield .pagelist-page figure{
  display: none;
}
