body{
    padding-top: 0;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    display: block;
    overflow-x: hidden;
    width: 100%;
    height: auto;
}


nav{
    top: 0;
    border-radius: none;
    margin-bottom: 0;
    padding-bottom: 0;
    height: auto;
 
}


.navbar-nav.navbar-center{

    font-size: 17px;
      justify-content: center;
}

.navbar.navbar-inverse{
    margin-bottom: 0px;
      justify-content: center;
}


.navbar li a:hover{
    transition: .5s;
}

.navbar-brand{
    color: #337ab7;
    font-weight: bold;
}

.panel-heading span img{
    height: 130px;
    width: 130px;
    border-radius: 50%;
}

#mainphoto{
    display: block;
    padding-top: 0;
    margin-top: 0;
    height: 500px;
    width: 100%;
    background-image: url('http://sevillecondo7.com/img/header.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-align: center;
}

#mainphoto h1{
    margin-top: 0;
    padding-top: 200px;
    font-size: 60px;
}

@media screen and (max-width: 900px){
    #mainphoto{
        height: 300px;
        background: white;
        overflow-x: hidden;
    }
    
    #mainphoto h1{
        padding-top: 50px;
    }
    
    #mainphoto h3{
        width: 85%;
        display: block;
        margin: auto;
    }
    
    
}

/* subsections (bod, minutes, newsletter, management, etc) */

#mainphoto1{
    display: block;
    padding-top: 0;
    margin-top: 0;
    height: 200px;
    width: 100%;
    background-image: url('http://sevillecondo7.com/img/header.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: #6b3433;

}


#mainphoto1 h1{
    padding-top: 25px;
    padding-left: 50px;
    margin-top: 0;
    font-size: 70px;

}


#mainphoto1 h5{
    padding-left: 50px;
}

@media screen and (max-width: 1150px){
    #mainphoto1{
        background: white;
    }
    
    #mainphoto1 h1{
        text-align: center;
        padding-left: 0;
        font-size: 50px;
    }
}

@media screen and (min-width: 900px){
    #main-content{
        margin-left: 150px;
    }
}
.section{
    height: auto;
    background: white;
    text-align: center;
}

.section1{
    height: auto;
    background: #131f1f;
    text-align: center;
    color: white;

}

.section img, .section1 img{
    height: auto;
    width: 80%;
    display: block;
    margin: auto;
    border-radius: 20px 20px 0 0;
}

.section h3, .section1 h3{
    width: 80%;
    height: auto;
    display: block;
    margin: auto;
    margin-bottom: 30px;
}

.section a, .section1 a{
    margin-top: 30px;
}



.btn-primary{
    font-size: 20px;
    margin-bottom: 20px;
    border-style: solid;
    border-width: 2px;
    border-color: #6b3433;
    background: #6b3433;
    color: white;
}

.btn-primary:hover{
    opacity: .7;
    color: white;
    transition: .4s;
    background-color: #6b3433;
    border-color: #6b3433;

}


.section2{
    text-align: center;
    margin-top: 50px;
    align-content: center;
}

.section2 h1{
    margin-bottom: 25px;
}

.section2 h3{
    color: grey;
}

.panel-heading span{
    text-align: center;
}

#accordion{
    margin-top: 50px;
    text-align: center;
}

#accordion a{
    text-decoration: none;
}

.panel-body{
    height: auto;
}

.text-primary{
    color: #6b3433;
}

#text-primary-dark{
    color: #131f1f;
}

#management-logo{
    height: 300px;
    width: 300px;
    border-radius: 50%;
    display: block;
    margin: auto;
}

#management-info {
    text-align: center;
}

}

#management-info a{
    display: block;
    width: auto;
    margin: auto;
}

#management-info i{
    margin-right: 20px;
}

/* footer content */

#copyright{
    text-align: center;
}

footer{
    margin-top: 100px;
}