/*
 * Style tweaks
 * --------------------------------------------------
 */
body {
    padding-top: 50px;
    background-color: #f5f5f5;
}

footer {
    padding-left: 15px;
    padding-right: 15px;
    background-color: #fff;
}

.img-responsive2
{
    display: block;
    max-height: 700px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 768px) {
    .img-responsive2
    {
        display: block;
        max-width: 100%;
        height: auto;
    }
    .row-offcanvas {
        position: relative;
        -webkit-transition: all 0.25s ease-out;
        -moz-transition: all 0.25s ease-out;
        transition: all 0.25s ease-out;
    }

    .row-offcanvas-left .sidebar-offcanvas {
        left: -33%;
    }

    .row-offcanvas-left.active {
        left: 33%;
    }

    .sidebar-offcanvas {
        position: absolute;
        top: 0;
        width: 33%;
        margin-left: 10px;
    }
    .embed-responsive2 {
        position: relative;
        display: block;
        margin: 0 auto;
        width: 100%;
        height: 100%;
        padding-top: 160%;
        transform:translateY(-45px)
    }
}


/* Sidebar navigation */
.nav-sidebar {
    background-color: #f5f5f5;
    margin-right: -15px;
    margin-bottom: 20px;
    margin-left: -15px;
}

.nav-sidebar>li>a {
    padding-right: 20px;
    padding-left: 20px;
}

.nav-sidebar>.active>a {
    color: #fff;
    background-color: #428bca;
}

/*
 * Main content
 */

.main {
    padding: 20px;
    background-color: #fff;
}

@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 40px;
    }
    .embed-responsive2 {
        position: relative;
        display: block;
        margin: 0 auto;
        height: 100%;
		width: 110%;
        padding-top: 100%;
    }
}

.main .page-header {
    margin-top: 0;
}

.embed-responsive2 iframe {
    position: absolute;
    top: 0;
    left: 5%;
    width: 90%;
    height: 100%;
}