/*
 Theme Name:   NewPPR
 Theme URI:    http://pirate-party.ru/
 Description:  Theme for Pirate Party
 Author:       CheGevara
 Author URI:   https://chegevara29.ru
 Version:      1.0.2
 Tags:         
 Text Domain:  newppr
*/

:root {
        --darkorange: #a3350a;
		--orange: #F15D22;
        --violet: #6667AB; /* 674199 */
	    --cian: #7CCFD8;
        }

@media (min-width: 0px) {
	.main-logo {
	max-height: 180px;
	max-width: 250px;
	}
	.social-menu > ul > li > a {
		padding-left: 5px;
		padding-right: 5px;
	}
}

@media (min-width: 330px) {
	.main-logo {
	max-height: 180px;
	max-width: 250px;
	}
}

@media (min-width: 768px) {
	.main-logo {
	max-height: 180px;
	max-width: 300px;
	}
	.social-menu > ul > li > a {
		padding-left: 16px;
		padding-right: 16px;
	}
}

@media (min-width: 992px) {
	.main-logo {
	max-height: 180px;
	max-width: 320px;
	}
}

@media (min-width: 1200px) {
	.main-logo {
	max-height: 180px;
	max-width: 350px;
	}
}




.top-dop-menu {
	background: #343434;
    border-color: #343434;
	color: #adadad;
	/* display: none;  выключил верхнюю серую панель */
}

.top-dop-menu > .container > .nav > .nav-item > .nav-link {
	color: #adadad !important; 
}

.top-dop-menu > .container > .nav > .nav-item > .nav-link:hover {
	color: var(--orange) !important; 
	background: none !important; 
	transition: all 1s ease;
}



.logobox {
    display: block;
    position: absolute;
    top: -30px;
    height: 200px;

    background: none;
}

.navbar {
    /* background: linear-gradient(#674199 0%, #000 100%); */
	background: var(--violet);
    border-color: var(--violet);
}

.navbar {
    /* position: relative; */
    min-height: 150px;
    margin-bottom: 20px;
	/* margin-top: 40px; */
    border: 0px solid transparent;
	border-radius: 0;
	  text-align: left; выравнивание пунктов меню по правому краю 
}

.nav-link {
    color: #fff !important;
	text-transform: uppercase;
}

.nav-link:hover {
    color: #fff !important;
	background-color: var(--orange);
	text-transform: uppercase;
	transition: all 0.5s ease;
}

.main-lead {
	color: #fff;
	font-size: 1.2rem;
    font-weight: 200;
    line-height: 1.2;
}
.navbar-toggler {
    border-style: none;
}

.custom-toggler.navbar-toggler {
    border-color: #fff;
}

 .custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
} 

.container-fluid {
    width: 100%;
    padding-right: 30px;
    padding-left: 30px;
    margin-right: auto;
    margin-left: auto;
}

.nav-item.show {
	background-color: var(--orange);

}

.dropdown-menu {
	color: #fff;
	background-color: var(--orange);
	 border-style: none;
	border: 0px solid rgba(0,0,0,.15);
    border-radius: 0;
	padding: 0rem 0;
}

.dropdown-item {
	color: #fff;
	background-color: var(--orange);
	
}

.dropdown-item:hover {
	color: #fff;
	background-color: var(--darkorange);
	transition: all 1s ease;
}

/* .dropdown:hover > .dropdown-menu { 
    display: block; 
} 
 */


/* #carouselExampleCaptions {
	border-width: 1px;
	border-color: var(--orange);
} */

#mainslider {
	padding-top: 14px;
}

.sliderpic {box-shadow: inset 0px 0px 85px rgba(0,0,0,0.4);}

.in-slider-top {top:20px; text-align: left;}
.in-slider-bottom {position:absolute; bottom:20px; text-align: left;}

.slider-lead {
    font-weight: 400;
    line-height: 1.2;
	font-size: 1rem;
}

.slider-lead-tablet {
    font-weight: 400;
    line-height: 1.2;
	font-size: 1.5rem;
}

.slider-lead-phone {
    font-weight: 400;
    line-height: 1.2;
	font-size: 1.0rem;
}


.mainnewsborder {
	border-top: 1px solid var(--cian) !important;
	border-left: 1px solid var(--cian) !important; 
	border-right: 1px solid var(--cian) !important;
	overflow:hidden;
}

.mainnewsnext {
	position: absolute;
	height: 150px;
	width: 100%;
	bottom: 0;
	left: 5px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
	word-wrap: break-word;
}

.mainnewsnextbotton {
	padding: 2px 25px 2px 25px;
	border: 1px solid var(--cian) !important;
	background-color: #fff;
}

.newstext p {
	text-align: justify;
}

.news p {
	text-align: justify;
}

.newstitle { 
	color:var(--violet);
}

.newstitle:hover { 
	color: var(--orange);
	transition: all 1s ease;
}

.newsonmain {
	color: #000;
}

.newsonmainblock {
	max-height:90vh;
	overflow-y: scroll;
}

.newsonmainblock::-webkit-scrollbar { /* chrome based */
    width: 0px;  /* ширина scrollbar'a */
    background: transparent;  /* опционально */
}

.newsonmainthumb {
	max-width :50%;
	max-width :20vh;
}

.pic {
    display: block;
    height: 220px;
    width: 100%;
    background-position: center center;
    background-position-x: 50%;
    background-position-y: 50%;
    background-size: cover;
    position: relative;
    background-repeat: no-repeat;
    }

.piclink {
    display: block;
    height: 220px;
    width: 100%;
    }

.legendnews {
	color:var(--violet);
	text-transform: uppercase;
	font-size: 1.2rem;
}

.allnewsbutton {
	color: #fff;
	background-color: var(--orange);
	text-transform: uppercase;
}

.footer {
    background-color: #343434;
    color: #adadad;
    padding-top: 10px;
    padding-bottom: 10px;
	min-height: 60px;
} 

ol.carousel-indicators {
  position: absolute;
  bottom: 0;
  margin: 0;
  left: 0;
  right: 0;
  width: auto;
}

ol.carousel-indicators li,
ol.carousel-indicators li.active {
  float: left;
  width: 100%;
  height: 10px;
  margin: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
}

ol.carousel-indicators li.active {
  background: #fff;
}

