html, body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}
/*

header {
    
    height: 50px;
    min-height: 50px;
} */

.menu {

    height: 70px;
    min-height: 70px;
    background-color: green;
}

.mainPicture{

    flex: auto;
    background-color: #ccc;
    text-align: center;
}

#footer {
    height: 50px;
    min-height: 50px;
    background-color: #fff;
    text-align: center;

}

.content {
    background-color: yellow;    
}

.row {

    background-color: red;
    text-align: center;
}


.cell {
    display: inline-block;
    box-sizing: border-box;
    width: calc(100% - 50px);
    padding: 0;
    margin: auto;


    text-align: center;

    max-width:300px;
    max-height:300px;

}
img {max-width:100%;}

#header {
    background-color: #333;
    height: 50px;
    min-height: 50px;
    text-align: center;


}

#header .websiteTitle {

    position: absolute;
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    font-size: 22px;
    line-height: 90%;
    padding: 16px 0 2px;
    color: #fff;
    text-align: center;

}

@media (max-width: 425px) {
    #header .websiteTitle {
        font-size: 16px;
        line-height: 100%;
        padding-top: 16px
    }
}

@media (min-width: 1025px) {
    #header {

        background-color: #333;

        height: 50px;
        z-index: 99999;

        width: 60%;
        margin-left: auto;
        margin-right: auto;
    }
}

#header .websiteTitle:hover,
#header .websiteTitle:active,
#header .websiteTitle:focus {
    text-decoration: none;
    border-bottom: 1px solid #fff
}

a:focus, a:active {
    outline: 0;
}

a {
    color: #fff;
    text-decoration: none;
    outline: 0;
}

#header .websiteTitle:hover, #header .websiteTitle:active, #header .websiteTitle:focus {
    text-decoration: none;

}

body {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 16px;
    line-height: 140%;
    font-weight: normal;
}

#mainMenuBlock {
    margin: 0 auto;
    text-align: center;
    z-index: 19;


    font-size: 14px;
    height: 70px;
    min-height: 70px;
    background-color: #fff;

}


/*Относится к мини меню на странице о Проекте*/
a.color-red.nocolor:hover, a.color-red.nocolor:visited, a.color-red.nocolor:active, a.color-red.nocolor:focus, a.color-red.nocolor.header-tab-selected{
    text-decoration: none;
    border-bottom-color: #333 !important;
}
/*Относится к мини меню на странице о Проекте*/
a.color-red.nocolor, span.color-red.nocolor, button.color-red.nocolor, i.color-red.nocolor {
    color: #222 !important;
    border-bottom: 1px solid transparent;
}
/*Относится к мини меню на странице о Проекте*/
#mainMenuBlock .mainMenu .header-tab, #north .mainMenu .header-tab {
    display: inline-block;
    position: relative;
    margin: 5px 5px 0;
    color: #222;
    font-size: 14px;
    line-height: 14px;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=75);
    opacity: .75;
    border-bottom: 1px solid transparent;
}
/*Относится к мини меню на странице о Проекте*/
#mainMenuBlock .mainMenu .header-tab:hover, #mainMenuBlock .mainMenu .header-tab:active, #mainMenuBlock .mainMenu .header-tab:focus, #mainMenuBlock .mainMenu .header-tab.header-tab-selected,#mainMenuBlock .mainMenu .header-tab.header-tab-index-page {
    text-decoration: none;
    filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
    opacity: 1;
}
.text-right {
    text-align: right !important;
}

#mainMenuBlock .mainMenu .header-tab.header-tab-index-page
{
    font-size: 18px;
    line-height: 19px;
}

.mainMenu {
    padding: 20px 0 0 0;
}

.footerText {
    padding: 20px 0 0 0;
}

@media (min-width: 1025px) {
    #footer {



        height: 50px;
        z-index: 99999;

        width: 60%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
    .cell{
        max-width:200px;
        max-height:200px;
    }

}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
    .cell{
        max-width:200px;
        max-height:200px;
    }

}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) 
and (orientation : landscape) { 
    .cell{
        max-width:150px;
        max-height:150px;
    }
}