 /* #white - цвет фона
    #black - цвет букв
    #rgb(74, 74, 74) - доп цвет
 */
html{
    height: 100%;
}
body{
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    font-family: Arial, Helvetica, sans-serif;
    background: white;
    margin: 0;
}
header{
    background:#0096aa;
    color: white;
    padding: 20px;
    text-align: center;
}
nav a{
    font-size: 18px;
    text-decoration: none;
    padding: 20px;
    text-align: center;
    color: white;
}
nav a:hover{
    background: white;
    color: black;
    text-decoration: underline;
}

main{
   background: white;
   width: 80%;
   margin: 20px auto;
/* margin-bottom: 20px;
   margin-left: auto;
   margin-right: auto;
   margin-top: 20px;
*/
   border: none;
   border-radius: 20px;
   padding-top: 10px;
   padding-left: 30px;
   padding-right: 30px;
   padding-bottom: 60px;
   display: flex;
    flex-direction: column;
}

main h1, h2, h3, h4, h5,h6{
     text-align: center;
}

main img{
display: block;
margin: auto;
border-radius: 30px;
padding: 10px;
height: auto;
max-width: 90%;
}

footer{
    margin-top: auto;
    padding: 20px;
    background: #0096aa;
    color: white;
    text-align: center;
}
/*оформление страницы*/
/* оформление галереи */
.gallery {
display: inline-block;
width: 100%;
}
.gallery_item{
margin: 5px;
border: 1px solid #c0c0c0;
border-radius: 5px;
float: left;
width: 32%;
height: 400px;
}
.gallery_item:hover{
    border: 1px solid #FFFFFF;
    background: lightgray;
}
/* .gallery_item img{
    height: 400px;
    margin-top: 5px;
} */

.gallery_item img{
    margin: 10px auto;
    width: 95%;
    height: 80%;
    object-fit: cover;
    }
    
.gallery_item .desc{
    padding: 15px;
    text-align: center;
}
.iframe{
border-radius: 20px;    
}

p{
    line-height: 1.5;
    text-align: left;
}

ol{
    list-style-type: decimal-leading-zero;
}
li{
    line-height: 1.5;
    margin-left: 10%;
}

table{
    width: 80%;
    border-collapse: collapse;
    margin: 4px auto 4px;
}
th, td{
    border: 1px solid #ddd;
    padding: 4px;
}
th{
    padding-top: 8px;
    padding-bottom: 8px;
    background-color: #0096ff;
    color: white;
    text-align: center;
}
td{
    min-width: 200px;
}

tr:hover{
    background-color: #c0c0c0;
}

tr:nth-child(even){
    background-color: #f2f2f2;
}

table a{
    color: black;
}

table caption{
    font-size: larger;
}

.card{
background: white;
border: 1px solid #BBBBBB;
border-radius: 10px;
padding: 20px;
margin-top: 10px;
margin-left: 10px;
}
.row {
display: flex;
flex-direction: row;
}

.column{
display: flex;
flex-direction: column;
margin: 0px auto 0px;
}

.W-25{
width: 25%;
}
.W-30{
width: 30%;
}
.W-50{
width: 50%;
}
.W-70{
width: 70%;
}
.W-100{
width: 100%;
}


/* НОВОЕ В CSS */

.review_container{
    padding: 16px;
}
.inner_padding_container{
    padding: 16px;
    margin-top: 5px;
    margin-bottom: 5px;
    background-color: RGBA(255,255,255,0.75);
    border-radius: 20px;
}
.container{
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 18px;
    user-select: none;
}
.container .checkmark:after{
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.container input{
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Кстомный чекбокс */

.checkmark{
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #D8D8D8;
}
.container:hover input ~ .checkmark{
    background-color: #636363;  
}

/* Показать индикатор кода checked */

.container input:checked ~ .checkmark:after{
    display: block;
}
.container input:checked ~ .checkmark{
    background-color: #333333;  
}
.checkmark:after{
    content: "";
    position: absolute;
    display: none;
}
.container input:checked ~ .checkmark:after{
    display: block;
} 



textarea,         input[type=text], 
input[type=tel],  input[type=date], 
input[type=time], input[type=email],
input[type=range],select{
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    border-radius: 5px;
}
/* 
button{
    background-color: #0096ff;
    color: white;
    padding: 14px 20px; 
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: 5px;
}

button:hover{
    opacity: 0.8;
} */






