.scale .text {
    text-align: left;
}

#footer #both {
    overflow: hidden;
    padding-bottom: 30px;
}

#LoginForm #login.login-field, #LoginForm #password.password-field {
	border-color: white;
    border-style: solid;
    border-width: 1px;
}

#module-inquiries-content p,
.page-of-questions .description{
    text-align: justify;
}

.page-of-questions{
    background: none;
    display: none;
}
.page-of-questions .question-field{
    float: left;
    margin-bottom: 10px;
    width: 100%;
}
.page-of-questions h3{
    font-family: 'Roboto-Black';
}

.page-of-questions.active{
    display: block;
}
.page-of-questions label{
    display: block;
    padding: 12px;
}
.page-of-questions h1{
    font-family: 'Roboto-Black';
    font-size: 1em;
}
.page-of-questions select{
    margin: 15px 15px 15px 0;
    padding: 5px 10px;
    border-radius: 3px;
    padding: 5px 10px;
    height: 38px;
    font-family: 'Roboto-Black';
    width: auto;
    max-width: calc(100% - 40px);
}
.page-of-questions select option {
    border: none;
    width: 100%;
    height: auto;
}
.page-of-questions input[type=text]{
    margin: 15px 15px 15px 0;
    padding: 5px 10px;
    min-width: 250px;
    border-radius: 3px;
    height: 28px;
}
.page-of-questions textarea{
    padding: 5px 10px;
    margin: 15px 15px 15px 0;
    resize:vertical;
    width: calc(100% - 40px);
    min-height:150px;
    border-radius: 3px;
}

#alert,
.alert{
    padding: 15px;
    border-radius: 5px;
}

.page-of-questions label input[type=radio],
.page-of-questions label input[type=checkbox]{
    margin-right: 10px;
}
.page-of-questions #pickfiles_question_8{
    display: block;
    margin: 15px;
}
.page-of-questions input[type=submit]{
    margin: 20px 0;
}
ul.pager li{
    cursor: pointer;
}

#ankieta h3.error{
    color: #800000;
}

#page-cont.container .right-side.scale #module-inquiries-content .form div.field.text input[type=text]{
    margin-bottom: 20px;
}


.polls a{
    color: #000;
}

#digicert {
	display: none;
}

/* stopka */

#footer {
	padding-top: 15px;
}

#footer #both {
	margin-top: 25px;
}

#both .block-footer p:nth-child(4) {
    width: 4%;
	padding-left: 0px;
}
#both .block-footer p {
	float: left;
    margin-top: 15px;
	width: calc(32% - 23px);
	padding-left: 23px;
    color: #003c82;
}

.block-footer p a {
	text-decoration: none;
}

#footer .block-footer  .biphref {
    display: block;
    float: right;
    height: 40px;
    text-decoration: none !important;
    width: 34px;
}

#footer div#both div.home div.container div.block-footer a.biphref img.bip_gray{
    display: none;
}

/* userinfo */

#owner-content .owner_image img {
	margin-top: -10px;
	margin-right: 40px;
}

.right-side .block-userinfo .owner-data tbody tr th {
    font-family: "Roboto-Black",sans-serif;
}

.right-side .block-userinfo .owner-data-ul {
    padding: 0;
	margin-top: 5px;
}

.right-side .block-userinfo .owner-data-ul li {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.right-side .block-userinfo .owner-data-ul li label {
	font-size: 0.95em;

}

.right-side .block-userinfo .owner-data-ul li strong {
	color: #000;
	font-family: "Roboto-Black",sans-serif;
}

.right-side .block-userinfo .owner-data-ul li  h3, .right-side .block-userinfo .owner-data-ul li  h4{
    margin-bottom: 3px;
	text-transform: uppercase;
}

.right-side .block-userinfo .owner-data-ul li  h3, .right-side .block-userinfo .owner-data-ul li  h4 a{
    color: #00468c;
	text-decoration: underline;
}


.right-side .block-userinfo .owner-data-ul li  p{
    margin: 0;
}

.right-side .block-userinfo .dane-eksperckie {
	margin-top: -10px;
}

/* eksperci */
.expert-row .title {
	margin: 0 0 2px;
	font-family: "Roboto-Black",sans-serif;
}

/* konto użytkownika */

/* z opteam 2.css*/
#header #first.row .container .panel .block-useraccount.block-content {
    display: none;
}

#header #first.row .container .panel .block-useraccount.pl.block-content.active,
#header #first.row .container .panel .block-useraccount.block-content.active {
    display: block;
    height: auto;
    padding: 20px;
    position: absolute;
    right: 0;
    top: 36px;
    z-index: 999999;
}

#header #first.row .container .panel .block-useraccount.block-content.active {
    background: #d6d6d6 none repeat scroll 0 0;
    color: #003c82;
}

/* X z opteam 2.css*/

#module-useraccount-content #owner-content .owner_image {
    position: relative;
	width: 40%;
	float: left;
}

#module-useraccount-content #owner-content .owner_image .user-avatar {
	text-align: center;
}

/* dla zalogowanych */
/* CAS button */
.module-content .container-login {
	float: left;
	width: 100%;
}

.module-content .cas-button , .block-content.block-useraccount.active .cas-button{
	background: #0b589a none repeat scroll 0 0;
    border-radius: 4px;
    color: #fff;
    float: left;
    line-height: 36px;
    padding: 10px 10px 10px 15px;
    text-align: center;
	width: 292px;
	margin-left: 0px;
	text-decoration: none !important;
}

.module-content .cas-button:hover p{
	text-decoration: underline;
}

.module-content .cas-button .fa, .block-content.block-useraccount.active .cas-button .fa{
	margin-right: 15px;
	color: #eee;
	font-size: 2.5em;
	margin-left: 0;
	float: left;
}

.module-content .cas-button p , .block-content.block-useraccount.active .cas-button p{
	float: left;
    font-family: "Roboto",sans-serif;
    font-size: 14px;
    line-height: 18px;
    width: calc(100% - 50px);
	padding: 0;
	margin: 0;
	color: #fff;
	text-align: left;
}

.module-content .cas-button p  span, .block-content.block-useraccount.active .cas-button p span{
	font-size: 0.9em;
	color: #ccc;
}

.block-content.block-useraccount.active #login_other_block {
	font-size: 0.95em;
}

.module-content .container-login > p, .block-useraccount > p{
	float: left;
	width: 100%;
	margin-bottom: 0;
}

/* social */
.social-login-box  .button-facebook, .social-login-box  .button-google, #header #first .block-useraccount .form  .button-facebook, #header #first .block-useraccount .form  .button-google{
	padding: 10px 10px 10px 15px;
	width: 292px;
	border-radius: 4px;
	display: block;
	clear: both;
}

.social-login-box .button-facebook .fa-facebook, .social-login-box .button-google .fa-google-plus, #header #first .block-useraccount .form .button-facebook .fa-facebook, #header #first .block-useraccount .form .button-google .fa-google-plus {
	margin: 0;
	width: 25px;
}

.module-content .social-login-box .button-facebook a, #header #first .block-useraccount .form .button-facebook a, .module-content .social-login-box .button-google a, #header #first .block-useraccount .form .button-google a {
	float: left;
	width: calc(100% - 35px);
	padding: 0;
	margin: 0 0 0 10px;
	text-align: left;
}

/* formularz */
#header #first.row .container .panel .block-useraccount.block-content .form-useraccount-block, .module-content .form-useraccount {
	display: none;
}

#header #first.row .container .panel .block-useraccount.block-content .form-useraccount-block.active, .module-content .form-useraccount.active {
	display: block;
}

form input[type="submit"], #gradesForm.form .field.buttons.submit-buttons input[type="submit"], #module-inquiries-content.module-content.clearfix a input, .button {
	background-position: 90% center;
}

/* top */
#header #first.row .container .panel .block-useraccount.block-content.active {
	width: auto;
	min-width: 270px;
	padding: 20px 20px 14px;
}

#header #first.row .container .panel .block-useraccount.block-content.active > p {
	margin-top: 5px;
}

#header #first .panel #user-ico  {
	background-position: 5px center, calc(100% - 8px) 17px;
	width: auto;
	padding-right: 20px;
}

#header #first .panel .search-form.active, #header #first .panel .search-form.pl.active {
	right: 196px;
	height: auto;
	z-index: 999;
	left: -69px;
}

#first.row .container .panel .block-useraccount.block-content.active div a {
	clear: both;
}

#first.row .container .panel .block-useraccount.block-content.active div.user-name {
	font-family: inherit;
	font-size: 1em;
}

#first.row .container .panel .block-useraccount.block-content.active div.user-name p {
	margin: 5px 0;
}

.user-lincks a:last-of-type {
	border: 0 none;
	padding-left: 0;
}

/* nagłówki */
.scale h2:not(.page-title) {
	text-transform: none;
	text-align: left;
	font-size: 1.5em;
	margin-top: 25px;
	font-family: "Roboto-Black",sans-serif;
}

.scale h3 {
	font-size: 1.1em;
	font-family: "Roboto-Black",sans-serif;
}

/* hr */
.scale .text hr {
	color: #f1f1f1;
}

/* 404 */
.error404 #header #secound #logo a img {
    margin-left: 0;
    margin-top: 0;
}

#module-error404 .icon {
	top: 0;
}

#module-error404 .title {
    font-size: 30px;
    margin-top: 25px;
	font-family: "Roboto-Black",sans-serif;
}

#module-error404 .more {
    display: block;
    margin: 0;
    width: auto;
	height: auto;
}

#module-error404 .more a{
	text-decoration: none;
	display: block;
}

#module-error404 .more .fa.fa-home{
	font-size: 28px;
	float: none;
	line-height: normal;
	text-decoration: none;
	margin-top: 15px;
	margin-left: 0;
}

#module-error404 .more .home-url {
    font-family: "Roboto",sans-serif;
	font-size: inherit;
	text-decoration: underline;
	line-height: normal;
}

#module-description-content.module-content  .sd-import {
    margin-bottom:5px;
}

#module-description-content.module-content  i.fa.fa-clone, #module-description-content.module-content  i.fa.fa-info-circle {
    color: rgba(0, 0, 0, 0.5);
    float: left;
    line-height: 20px;
    margin: 0 8px 0 0;
}

/* blok aktualności */

.news-item {
    float: left;
    height: auto;
    margin-bottom: 15px;
    margin-left: 0;
    position: relative;
    width: calc(50% - 20px);
	min-height: auto;
}


.aktualnosci #module-news-content .news-item .photo img {
    height: auto;
    width: auto;
}

.homepage .no-photo {
	width: 100%;
	margin-bottom: 20px;
}

.homepage .no-photo:nth-child(3n) {
    margin-left: 0;
}

.homepage .block-newscategory .text, .homepage .block-news .text {
	padding-bottom: 0;
	margin-top: 5px;
}

.homepage .news-item.no-photo {
	min-height: auto;
}

.homepage .no-photo .date {
    float: left;
    margin-top: -20px;
    width: 100%;
}

.news-item.list_no_photo a.photo {
	background-color: transparent;
	display: none;
}

.block-news .news-item.list_no_photo h4 {
	margin-top: -46px;
	margin-bottom: 10px;
}

.news-item.list_no_photo .date {
	display: none;
}

.news-item .date {
	display: none;
}

#module-newscategory-content .for-margin div.news-line-pattern, #module-news-content .for-margin div.news-line-pattern, .homepage .block-newscategory div.news-line-pattern, .homepage .block-news div.news-line-pattern {
    border-bottom: 2px solid #e5e5e5;
    float: left;
    height: 1px;
    width: 100%;
}

/* aktualności z kategoriami */

#module-newscategory-content .for-margin .news-item .date-block {
	margin-top: 0;
}

#module-newscategory-content .for-margin .news-item:nth-child(-n+2), #module-news-content .for-margin .news-item:nth-child(-n+2) {
	margin-top: 10px;
}

.homepage .block-newscategory .news-item:nth-child(-n+4) {
	margin-top: 0;
}

#module-newscategory-content .news-item, #module-news-content .news-item,.homepage .block-newscategory .news-item, .homepage .block-news .news-item {
	margin-top: 20px;
	margin-bottom: 20px;
	border: 0 none;
}

.homepage .block-newscategory .news-item:nth-child(-n+3), .homepage .block-news .news-item:nth-child(-n+3){
	margin-top: 0;
}

#module-newscategory-content .for-margin .news-item:nth-child(3n-1), #module-newscategory-content .for-margin.archiv-news .news-item:nth-child(3n+4), .homepage .block-newscategory .news-item:nth-child(3n), .homepage .block-news .news-item:nth-child(3n){
    margin-left: 30px;
}

#module-newscategory-content .for-margin .news-item, .homepage .block-newscategory .news-item, #module-news-content .for-margin .news-item, .homepage .block-newscategory .news-item, .homepage .block-news .news-item {
    width: calc(50% - 15px);
}

/*#module-newscategory-content .for-margin  > div:nth-child(3n), #module-newscategory-content .for-margin.archiv-news  > div:nth-child(3n+5), .homepage .block-newscategory > div:nth-child(3n+4), */#module-newscategory-content .for-margin  div.news-line-pattern , #module-news-content .for-margin  div.news-line-pattern ,.homepage .block-newscategory div.news-line-pattern, .homepage .block-news div.news-line-pattern {
	border-bottom: 2px solid #e5e5e5;
	float: left; 
	width: 100%; 
	height: 1px;
}

#module-newscategory-content .for-margin a.more, #module-news-content .for-margin a.more, #news .block-content #more, .right-side .block-content #more {
	margin-top: 15px;
}

#module-newscategory-content .more {
    border-radius: 3px;
    clear: left;
    float: left;
    height: 38px;
    line-height: 38px;
    margin: 20px 0;
    padding-left: 20px;
    padding-right: 10px;
	font-family: "Roboto-Black",sans-serif;
}

.news-item:nth-child(2n) {
    margin-left: 0;
}

.for-margin .news-item:nth-child(3n-1) {
    margin-left: 20px;
}

.news-item {
	padding-bottom: 0;
}

.news-item .text {
	padding-bottom: 0;
}

#module-newscategory-content .for-margin .news-item:nth-child(-n+2), #module-news-content .for-margin .news-item:nth-child(-n+2) {
    margin-top: 10px;
}

#owner-content .owner_image img {
	max-width: 144px;
	max-height: 174px;
}

.owner-data-ul b, .owner-data-ul b {
	font-weight: normal;
	font-family: "Roboto-black";
}

.search-settings {
	float:left;
}

.search-settings p.header {
	margin-bottom: 0;
	font-family: "Roboto-Black", sans-sans-serif;
}

#module-searchadvanced-content #available-projects-top {
	margin-top: 0;
}

#module-searchadvanced-content #query {
	font-size: 1em;
}

button.default{
	border: 0;
	color: #0b589a;
	background-color: transparent;
}

#first.row .container .panel .block-useraccount.block-content.active div a {
    clear: both;
    padding-left: 0;
}

#first.row .container .panel .block-useraccount.block-content.active div.user-lincks {
    margin-top: -5px;
}

.user-photo {
    height: 74px;
    background-color: #fff;
}

p.fa-youtube-ico {
	display: inline-block;
}

p.fa-youtube-ico a {

}

p.fa-youtube-ico a:hover {
	text-decoration: none !important;
}

p.fa-youtube-ico a i.fa-youtube-square {
	font-size: 40px;
	color: #ff0000;
	padding: 1px 3px;
	border: 1px solid transparent;
}

p.fa-youtube-ico a:hover i.fa-youtube-square  {
	border: 1px solid #ff0000;
	border-radius: 20%;
}

div.qanda-box {
	margin-top: 12px;
}

div.qanda-box div.question {
	width: 229px;
	height:	281px;
	float: left; 
	background-color: #143f71;
	color: #fff; 
	margin-right: 15px; 
	text-align: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	align-content: center;
	align-items: center;
	flex-wrap: wrap;
}

div.qanda-box div p {
	width: 100%;
	margin: 10px 0;
	padding: 0 15px;
}

div.qanda-box div i.fa-question-circle {
	font-size: 2.5em;
}

div.qanda-box div p.header {
	font-family: 'Roboto-Black', sans-serif;
	font-size: 1.2em;
}

div.qanda-box div.youtube-iframe {
	margin-left: 244px;
}

.right-side .youtube {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0px;
    height: 0;
}

.right-side .youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
