/*
Theme Name: vmeste.bgdp1
Theme URI: http://vmeste.bgdp1.by
Description: Theme create for BGDP1.
Author: Denis Kalishok
Author URI: https://vk.com/id72546667
Version: 1.0
.
Theme created for the private use of the bgdp1.
Author and owner of the rights is Denis Kalishok.
.
*/

.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter, div.aligncenter {
    display:block;
    margin: 5px auto 5px auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}
.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
a img.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; 
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin:0;
    max-width: 98.5%;
    padding:0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size:11px;
    line-height:17px;
    margin:0;
    padding:0 4px 5px;
}
/* ================ */
@media(max-width: 640px){
    .video-responsive{
        width: 400px;
        height: 250px;
    }
}
@media(max-width: 480px){
    .video-responsive{
        width: 100%;
        height: auto;
    }
}



/****************************************************************************/
*{
	outline: none !important;
}
/*header*/
.navbar{
    margin-bottom: 0
}
.navbar-brand{
	padding: 10px 0;
}
.navbar-brand img{
	height: 100%;
    width: auto;
} 
.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus{
	background: none;
	box-shadow: none;
}
.navbar .navbar-nav .current-menu-item>a::before{
	content: '';
    background-color: #ec9c3d;
    height: 3px;
    width: 60px;
    position: absolute;
    bottom: 15px;
    left: 50%;
    margin-left: -30px; /*половина длинны*/
}

.margin-menu{
    height: 70px;
}

@media(max-width: 1199px){
	
}
@media(max-width: 991px){
    .navbar-brand img{
        display: none;
    }
    #menu-menu{
        float:  none !important;
        display: flex;
        justify-content: center;
    }
}
@media(max-width: 767px){
    .navbar-brand img{
        display: block;
    }
    #menu-menu{
        display: block;
    }
    .navbar .navbar-nav .current-menu-item > a,
    .navbar .navbar-nav .current-menu-item > a:hover{
        color: #ec9c3d;
    }
    .navbar .navbar-nav .current-menu-item > a::before{
        display: none;
    }
	.navbar-default .navbar-nav>.open>a,
    .navbar-default .navbar-nav>.active>a,
    .navbar-default .navbar-nav>.active>a:hover,
    .navbar-default .navbar-nav>.active>a:focus{
		color: #ec9c3d;
	}
}

/*caption*/

.teenage{
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    
}
.teenage img{
    margin: 0 15px;
}
.teenage h2{
    text-align: center;
    margin:0;
}
.teenage h2 a{
    color: #fff;
    text-decoration: none;
}
.teenage h2 a:hover{
    text-decoration: underline;
}

.caption {
	/*background: url(./img/detiekonom.jpg);*/
	background: url(./img/teenagers1.jpg);
	background-size: cover;
	width: 100%;
	height: 890px;
	background-position: center center;
	position: relative;
}
.caption .layer {
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.4);
}
.caption h1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 110px;
}
.caption h1 span {
	color: #fff;
	/*background-color:#00b2a1;*/
	background-color: #fcbc50;
	line-height: 1;
	font-weight: bold;
    padding: 15px 20px;
	font-size: 54px;
	text-transform: uppercase;
    text-align: center;
}

.caption img.cw{
    display: block;
    margin: 115px auto 0;
}

@media(max-width: 1199px){
   .caption {
	   height: 800px;
    }
}
@media(max-width: 991px){
    .caption {
	   height: 640px;
    }
    .caption h1 span{
        font-size: 48px;
        line-height: 1.2;
    }
    .caption h1 span:first-child{
        padding: 15px 20px 0 20px;
    }
    .caption h1 span:last-child{
        padding: 0 20px 15px 20px;
    }
    .caption img.cw{
        display: none;
    }
}
@media(max-width: 767px){
    .caption h1 span{
        font-size: 42px;
    } 
}
@media(max-width: 479px){
    .caption {
        height: 500px;
    }
    .caption h1 span{
        font-size: 32px;
    } 
}

/*общие*/
.work,
.services,
.consultant,
.events,
.content{
	position: relative;
    padding: 80px 0;
}
.title{
	font-size: 36px;
	font-weight: bold;
	color: #454545;
	text-transform: uppercase;
	/*border-left:24px solid #00b2a1;*/
	border-left: 24px solid #ec9c3d;
	padding-left: 20px;
	margin-bottom: 42px;
}

@media(max-width: 1199px){
	.work,
    .services,
    .consultant,
    .events,
    .content{
        padding: 70px 0;
    }
    .title{
	   font-size: 34px;
	   margin-bottom: 36px;
    }
}
@media(max-width: 991px){
	.work,
    .services,
    .consultant,
    .events,
    .content{
        padding: 70px 0;
    }
    .title{
        font-size: 30px;
        margin-bottom: 32px;
    }
    .col-md-4{
        margin-bottom: 30px;
    }
    .col-md-4:last-child{
        margin-bottom: 0;
    }
}

@media(max-width: 767px){
    .work,
    .services,
    .consultant,
    .events,
    .content{
        padding: 50px 0;
    }
    .title {
        font-size: 26px;
        margin-bottom: 22px;
    }
}


/*work*/
.work .row p{
    font-size: 20px;
}
.work .row p span{
    font-weight: bold;
    color: #e53939;
}
@media(max-width: 991px){
    .work .row p{
        font-size: 18px;
    }
}

/*services*/
.services ul{
    margin-left: 5px;
    list-style-type: square;
}
.services ul li{
    font-size: 28px;
    line-height: 32px;
    color: #ec9c3d;
}
.services ul li span{
    font-size: 20px;
    color: #212121;
}
@media(max-width: 991px){
    .services ul li{
        font-size: 22px;
        line-height: 28px;
    }
    .services ul li span{
        font-size: 18px;
    }
}

/*consultant*/
.consultant .row{
    display: flex;
    flex-wrap: wrap;
}
.consultant .row > *{
    margin-bottom: 30px;
}

.consultant .item{
    border: 6px solid #eeeeee;
    background-color: #fff;
    padding: 25px 20px;
    font-size: 14px;
}
.consultant .item img{
    border-radius: 50%;
}
.consultant .item div{
    display: flex;
    align-items: center;

}
.consultant .item .line{
    margin: 10px;
}
.consultant .item > p{
    
    margin: 0;
}
.consultant .item > p:last-child{
    margin-bottom: 10px;
}
.consultant .item .mt-15{
    margin-top: 15px;
    height: 80px;
}
.consultant .item div p{
    margin: 0 0 0 20px;
}
.consultant .item div p > span{
    font-size: 16px;
}
.consultant .col_or{
    color: #ec9c3d;
}

@media (max-width: 1199px){

    .consultant .item .mt-15{
        height: auto;
    }
}
@media (max-width: 991px){

    .consultant .row{
        display: block;
    }
    .consultant .row > *:last-child{
        margin-bottom: 0;
    }
}


/*contacts*/
.contacts{
    position: relative;
}
.contacts #map{
    width: 100%;
    height: 600px;
}
.contacts .box{
    position: absolute;
    z-index: 2;
    top: 15%;
    bottom: 15%;;
    left: 380px;
    border: 6px solid rgba(0,0,0,0.1);
    padding: 55px 50px;
    background-color: #fff;
}
.contacts .box p{
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    color: #e53939;
}
.contacts .box div{
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: bold;
    color: #454545;
}
.contacts .box div span{
    color: #ec9c3d;
}
.contacts .soc_icons{
    text-align: center;
    padding: 0 !important;
    border: none !important;
    border-radius: 0;
    margin-top: 20px;
}
.contacts .soc_icons img{
    margin: 0 5px;
}
.contacts .soc_icons a{
    text-decoration: none;
}
@media(max-width: 1600px){
    .contacts .box{
        left: 200px;
    }
}
@media(max-width: 1199px){
    .contacts .box{
        left: 130px;
    }
}
@media(max-width: 991px){
    .contacts .box{
        position: initial;
    }
    .contacts #map{
        height: 400px;
    }
}

/*footer*/
footer{
    -webkit-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.15), 0 -1px 5px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.15), 0 -1px 5px rgba(0, 0, 0, 0.075);
    
}
footer p{
    margin: 25px auto;
}
@media(max-width: 991px){
    footer p{
        text-align: center !important;
    }
    footer p.text-left{
        margin: 25px 0 0;
    }
    footer p.text-right{
        margin: 0 0 25px;
    }
}

/*content*/
.content{
    background-color: #f5f5f5;
}
.content .mb-30{
    margin-bottom: 30px;
}
.content .item{
    border: 6px solid #eeeeee;
    background-color: #fff;
    padding: 25px;
}
.content .item > a{
    display: block;
    font-weight: bold;
    color: #ec9c3d;
    text-align: center;
    height: 50px; 
}
.content .item > p{
    text-align: justify;
    line-height: 1.5;
}
.content .item > p > a{
    color: #e53939;
}

.line {
    height: 1px;
    background-image: radial-gradient(ellipse farthest-side at center, #ec9c3d 50%, #f3f3f3 95%);
    margin: 20px 0;
}

/*single*/
.single{
    background-color: #f5f5f5;
    padding: 50px 0;
    position: relative;
}
.single .container{
    background-color: #fff;
    border: 6px solid #eeeeee;
    padding: 35px 20px;
}
.single .container .row{
    display: flex;
}
.single .title{
    margin-bottom: 40px;
}
.single .category a{
    color: #e53939;
}
@media(max-width: 991px){
    .single .container .row{
        display: block;   
    }
}

/*sidebar*/
.sidebar > *{
    padding-bottom: 20px;
    border-bottom: 1px dashed #ccc;
    margin-bottom: 20px;
}
.sidebar{
    border-left: 1px dashed #ccc;
}

.sidebar .titleSidebar{
    font-size: 18px;
    font-weight: bold;
    color: #ec9c3d;
    text-align: center;
}
.sidebar .soc_icons{
    text-align: center;
}
.sidebar .soc_icons a{
    text-decoration: none;
}
.sidebar .soc_icons a img {
    margin: 0 2px;
}
.sidebar div div p{
    text-align: right;
}
.sidebar > *:last-child{
    border-bottom: 0;
}


/*pagination*/
.content .pagination{
    display: block;
    text-align: center;
}
.content .pagination .screen-reader-text{
    display: none;
}
.content .pagination .nav-links > * {
    color: #454545;
    border: 2px solid #eee;
    padding: 6px 12px;
    text-decoration: none;
    background-color: #fff;
    font-weight: bold;
    border-radius: 4px;
}
.content .pagination .nav-links > *:hover {
    border-color: #e53939;
}
.content .pagination .nav-links > span.current{
    border-color: #ec9c3d;
}
