.credit {
    background: #212b54;
    padding: 10px 0;

    a {
        color: #fff;
    }
}

.img-fluid {
    display: inline-block !important;
    max-width: 100% !important;
    height: auto !important;
}

.embed-fluid-2 {
    max-width: 49% !important;	
}

body {
    background: url('') 0 20% no-repeat, url(/images/bg-right.jpg) 100% 95% no-repeat;
}

/* Pagination */

.pagination {
    width: 100%;
    padding: 25px 0 10px 0;
    display: inline-block;
    text-align: center;
    margin: 0 auto;
}

.pagination .pag-el {
    background-color: #212b54;
    width: 35px;
    color: #fff;
    display: inline-block;
    border-radius: 5px;
    padding: 10px 0;
    text-align: center;
}

.pagination .ml-3 {
    margin-left: 1rem !important;
}

.pagination .mr-3 {
    margin-right: 1rem !important;
}

.pagination .pag-el.active {
    background-color: #f07d05;
}

.pagination .left {
    transform: rotate(180deg);
    display: inline-block;
}

.news-item img {
    object-fit: cover;
}

/* Gallery */

.gallery {
    padding-bottom: 15px;
}

.gallery_description {
    margin-bottom: 20px;
}

/* Sidebar */

.top-menu li > a {
    height: auto !important;
    padding: 14px 15px 14px 63px !important;
}

/* Projects list */

.featured-projects .project-description::before {
    content: "|" !important;
}

.featured-projects .row div {
    margin-bottom: 25px;
}

/* Search icon hover effect */

.location-input button i,
.static-location-input button i {
    transition: all .2s ease-in-out;
}

.location-input button i:hover,
.static-location-input button i:hover {
    transform: scale(1.1);
}

/* Navbar */

.nav-links a.active {
    font-weight: 800;
}

.nav-links-dropdown {
    position: relative;
    display: inline-block;
    height: 50px;
    padding-top: 18px;
    margin-top: -18px;
    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    transition: background-color 0.3s;
}

.nav-links-dropdown-menu {
    display: block;
    position: absolute;
    left: -1px;
    top: 50px;
    background: #fff;
    padding: 0 15px;
    list-style: none;
    width: 330px;
    border: 1px solid #f07d05;
    border-left: 1px solid #f07d05;
    border-right: 1px solid #f07d05;
    border-top: none;
    box-shadow: 0 2px 2px rgba(0,0,0,0.33);
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    transition: opacity 0.3s;
    opacity: 0;
}

.nav-links-dropdown.open {
    background: #fff
}

.nav-links-dropdown.open a {
    color: #212b54;
}

.nav-links-dropdown.open .nav-links-dropdown-menu {
    opacity: 1;
}

.nav .nav-bottom .nav-links .nav-links-dropdown-menu a {
    color: #f07d05;
    display: block;
	font-weight: 300;
    margin: 0;
    padding: 15px;
    border-top: 1px solid #eee;
}

.nav-bottom {
    position: relative;
    z-index: 2;
}

.nav-links-dropdown-menu a:hover {
    color: #000;
}

@media (max-width: 991px) {
    .nav-links-dropdown {
        height: auto;
        margin-top: 0;
        display: block;
        margin: 0 -30px;
        padding: 0 30px;
        transition: background-color 0.15s;
    }

    .nav-links-dropdown-menu {
        position: static;
        width: calc(100% + 60px);
        margin: 0 -30px;
        border: none;
        box-shadow: none;
    }
	
	.nav-links-dropdown.open a {
		font-weight: 700;
		transition-duration: 0.3s;
	}
	
}

.embed-fluid-2 {
    max-width: 100% !important;	
}

.quicknav {
    transition: all .2s ease-in-out;
}

.quicknav:hover {
    transform: scale(1.4);
    font-size: 14px;
}

/* Featured */

.featured-text b,
.featured-text strong {
    font-weight: 800;
}

.featured-text .title .text {
    font-size: 19px;
    margin-left: -10px;
    color: #212b54;
}

@media (min-width: 993px) and (max-width: 1250px) {
    .featured-text .title.smaller .text {
        font-size: 15px;
        margin-left: -29px;
        margin-top: 26px;
    }
}

@media (min-width: 993px) and (max-width: 1250px) {
    .featured-text .title .text {
    font-size: 15px;
    margin-left: -10px;
    color: #212b54;
}
}

span small {
    font-size: 12px;
}

.maps-container {
    margin: 0 0 33px;
}

/* Social */

.social-tab {
    z-index: 22;
}

.social-links a i {
    transition: all .2s ease-in-out;
}

.social-links a i:hover {
    transform: scale(0.9);
}

/* Misc */

i {
    font-style: italic;
}

b, strong {
    font-weight: 800;
}

.static-title {
    background: url(https://www.akademiareissa.pl/uploads/202408/header.png);
    background-size: cover;
}

.page-content a {
    color: #007bff !important;
}

.page-content a:hover,
.project-description a:hover {
    color: #0056b3 !important;
    text-decoration: underline;
}

.page-content ol li::before,
.page-content ul li::before {
    margin-right: 0.65em;
}

.page-content ol li,
.page-content ul li {
    line-height: 1.75;
}

.footer .logos {
    background: #fff;
}

@media (max-width: 767px) {
    .home-slider .tagline {
        top: auto !important;
        font-size: 8vw !important;
    }
}

/* Instagram feed */

.instagram-feed {
    margin-top: 38px;
    margin-bottom: 40px;
}

.instagram-feed div {
    padding: 0 6px;
}

.instagram-feed img {
    width: 100%;
    height: 146px;
    object-fit: cover;
    transition: .25s;
}

.instagram-feed img:hover {
    transform: scale(0.95);
}

.instagram-feed.small {
    margin-bottom: 17px;
}

.instagram-feed a {
    display: block;
    margin-bottom: 10px;
}

/* Ad stuff */

.featured-publicities {
    margin-bottom: 40px;
}

.featured-publicities div {
    padding: 0 6px;
}

.featured-publicities img {
    width: 100%;
    transition: .25s;
}

.featured-publicities img:hover {
    transform: scale(0.95);
}

.featured-publicities.small {
    margin-bottom: 17px;
}

.featured-publicities a {
    display: block;
    margin-bottom: 10px;
}

.coach-item {
    display: inline-block;
    padding: 10px 25px 10px 0;
    box-sizing: border-box;
}

.icons-feature-3 {
    background-position: -8px -578px;
    margin-left: 8px;
}

.gallery .description-wrap {
    height: 50%;
}

.gallery .description {
    bottom: 5px;
}

.footer .logos {
    height: 110px; }
    .footer .logos .slide {
        height: 75px;
    }

.location-name {
    height: auto !important;
}

.featured-tiles .tile {
    background-size: contain;
}

.sidebar {
    width: 100%;
}

@media (min-width: 767px) {
    .page-content, .news-list {
        margin-left: -30px !important;
    }
}

.location-icon {
    float: left;
}

.page-content .table-responsive th,
.page-content .table-responsive td {
    text-align: center;
}

.team-image {
    text-align: center;
    margin: 15px;
}

.team-image__item {
    width: 100%;
    border: solid 2px #f07d05;
}

/* after 30.08.18 */

.table-colored tbody tr:nth-child(2n+1) {
    background: #212b54;
    color: #fff !important;
}

.table-colored tbody tr:nth-child(2n+1) a {
    color: #fff !important;
}

.table-colored tbody tr:nth-child(2n) {
    background: #fff;
    color: #000 !important;
}

.table-colored tbody tr:nth-child(2n) a {
    color: #212b54 !important;
}

.table-colored tbody td {
    color: inherit !important;
}

em {
    font-style: italic;
}


/** Facebook chat **/
.fb_dialog_content iframe:first-of-type {
    bottom: 100px !important;
}
.fb_dialog_content iframe:last-of-type-of-type {
    bottom: 154px !important;
}
.fb-customerchat iframe {
    bottom: 161px !important;
}



/*
splash/popup
*/


.g-popup-wrap{
    font-family: 'Bebas Neue', sans-serif;
    background:url(/img_splash/bg-mobile.jpg) no-repeat left 50%;
    background-size:cover;
    font-size:26px;
    text-transform:uppercase;
    color:#fff;
    width:100%;
    margin-left:auto;
    margin-right:auto;
    position:relative;
}


.g-popup{
    padding-top:18px;
    padding-bottom:50px;
    margin-left:auto;
    margin-right:auto;
    width:100%;
}

.g-popup-logo{
    text-align:center;
    margin-bottom:40px;
}

.g-popup-buttons{

}


.g-popup-buttons a{
    text-decoration:none;
}

.g-big-text{
    line-height:65px;
    display:block;
}









.g-popup-block{
    display:inline-block;
    outline:none;
    border:none;
    padding:15px;
    width:310px;
    box-sizing:border-box;
    transition: all 0.1s linear;
}

.g-popup-block-left{
    background:#e47d19;
    color:#fff;
   
}

.g-popup-block-left:hover{
    background:#fff;
    color:#232c57;
}


.g-popup-block-left:hover .g-big-text{
    color:#f07d06;
}



.g-popup-block-right{
    background:#232c57;
    color:#fff;
    
}

.g-popup-block-right:hover{
    background:#fff;
    color:#f07d06;
    
}

.g-popup-block-right:hover .g-big-text{
    color:#232c57;
}








.g-popup-buttons-left{
    text-align:center;
}

.g-popup-buttons-right{
    text-align:center;
}



.g-popup-under-button{
    color:#232c57;
    padding-top:15px;
    text-align:center;
}

.g-popup-under-button span{
    color:#fff;
}



.g-popup-footer-link{
    color:#fff;
    text-align:center;
}

.g-popup-footer-link a{
    color:#fff;
    text-decoration: none;
}


#g-popup-legend{
    display:none;
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    background:#fff;
    padding:20px 110px 40px 110px;
    text-align:center;
    font-size:14px;
    line-height:17px;
    text-transform: none;
    font-family: Arial, Helvetica, sans-serif;
    color:#232c57;
}

#close-popup-legend{
    position:absolute;
    right:22px;
    top:-16px;
}

#close-popup-main{
    position:absolute;
    right:22px;
    top:-16px;
}


#g-popup-legend.g-visible{
    display:block;
}



@media (max-width:999px){
    #custom-user-splash.modal{
        width:100%;
    }
    .g-popup-buttons span{
        font-size:30px;
    }

    .g-popup-buttons .g-big-text{
        font-size:38px;
        line-height:35px;
    }


    .g-popup-under-button{
        display:none;
    }

    .g-popup-only-desktop{
        display:none;
    }


    .g-popup-block-left{
        margin-bottom:15px;
    }


    .g-popup-block-right{
        margin-bottom:35px;
    }


    #g-popup-legend{
        padding:40px 20px 40px 20px;
    }


    #close-popup-legend{

        right:22px;
        top:4px;
    }
	
    #close-popup-main{

        right:22px;
        top:15px;
    }	
    

    #show-popup-legend{
        font-size:20px;
        line-height:26px;
    }


    .smaller{
        font-size:26px;
    }


    .g-popup-block-left .smaller{
        color:#293362;
        font-size:26px;
    }

    .g-popup-block-right .smaller{
        color:#f07d06;
        font-size:26px;
    }



    .g-popup-block-right:hover .smaller{
        color:#293362;
    }

    .g-popup-block-left:hover .smaller{
        color:#f07d06;
        
    }

    
}






@media (min-width:1000px){
    .g-popup-wrap{
        background:url(/img_splash/bg-desktop.jpg) no-repeat 50% 50%;
        background-size:cover;
        max-width:1000px;
    }


    .g-popup{
        padding-top:45px;
        padding-bottom:30px;
        width:720px;
    }

    
    .g-popup-buttons{
        display:flex;
        justify-content: space-between;
        width:100%;
        margin-top:40px;
        margin-bottom:70px;
    }


    .g-popup-block{
        padding:20px;
        width:310px;     
    }


    .g-popup-buttons .g-big-text{
        font-size:65px;
    }


    .g-popup-only-mobile{
        display:none;
    }


    
    
    


   





}