
.containermain {
	display: flex;
	flex-flow: row wrap;
	
}
.photo{
	flex: 1 1 200px;
	/*background-color:#0876B3;*/
	margin:10px 10px 10px 10px; 
      }

.photocontain {
	display: flex;
	flex-flow:column;
	/* background-color: #E4A7A8;*/
	align-items: center;
    justify-content: center;
      }

.pict1 {
	flex: 2;
   /* background-color: #FC1BDF; */ 
	margin:10px 10px 10px 10px;;
}

.pict2 {
	flex: 1;
	margin:10px 10px 10px 10px;
       }

.pict1 a img {
	
	    display: block;
	    max-width: 100%;
	    margin: 0 auto; /* центрирование по середине */
	  
           } 

.pict2 a img {
	
	    display: block;
	    max-width: 25%;
           } 

.textphoto {
	flex: 1 1 200px;
	/* background-color: #7DD773; */
	margin:10px 10px 10px 10px;
	box-sizing: border-box; /* для сохр. размера flex элемента при исп. padding */
	padding-left: 10%;
	padding-top: 5%;
	}

.text {
	 display: block;
	 /*background-color:#E3494C;*/
	/*margin: 10px 10px 10px 10px ;*/
	padding: 9em;
	
	
	}


.modalDialog {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
	display: none;
   /* z-index: 99999;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    
    pointer-events: none; */
}

.modalDialog:target {
    display: block;
    pointer-events: auto;
	overflow: auto;  /* прокрутка на модальном окне */
}

.modalDialog > div {
    width: 80%;
    position: relative;
    margin: 10% auto;
    /* padding: 5px 20px 13px 20px; */
    border-radius: 2px;
   /* background: #fff; */
   /* background: -moz-linear-gradient(#fff, #999);*/
   /* background: -webkit-linear-gradient(#fff, #999);*/
   /* background: -o-linear-gradient(#fff, #999);*/
	
}
  

.close {
    background: #606061;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
  /*  -webkit-border-radius: 12px;  */
  /*  -moz-border-radius: 12px; */
    border-radius: 12px;
   /* -moz-box-shadow: 1px 1px 3px #000;  */
  /*  -webkit-box-shadow: 1px 1px 3px #000;  */
    box-shadow: 1px 1px 3px #000;
}

.close:hover { background: #00d9ff; }

#openModal img {
	
	width: 100%;
    /* position: relative;*/
	/*margin: 10% auto; */
    /* padding: 5px 20px 13px 20px; */
	
}
#openModal2 img {
	
	width: 100%;
    /* position: relative;*/
	/*margin: 10% auto; */
    /* padding: 5px 20px 13px 20px; */
	
}


.articul{
	font-family: 'Rubik', sans-serif;
	font-size: 15px;
	
}
.name{
	font-family: 'Rubik', sans-serif;
	font-size: 25px;
}
.size{
	font-family: 'Rubik', sans-serif;
	font-size: 23px;
}
.phototext{
	font-family: 'Rubik', sans-serif;
	font-size: 30px;
	
}
.price{
	font-family: 'Rubik', sans-serif;
	font-size: 35px;
}

.basket{
	font-family: 'Rubik', sans-serif;
	font-size: 23px;
}

.button_ins{
	display: block;
	padding: 20px 20px 20px 0px; 
	
}



/*.textphoto div a {
    text-decoration: none; !important;
	color: #010101;
}

.basketbutton {
	display: inline-block;
	box-shadow:inset 0px 1px 0px 0px #bee2f9;
	background:linear-gradient(to bottom, #63b8ee 5%, #468ccf 100%);
	background-color:#63b8ee;
	border-radius:6px;
	border:1px solid #3866a3;
	cursor:pointer;
	color:#14396a;
	font-family:Arial;
	font-size:16px;
	font-weight:bold;
	padding:11px 32px;
	text-decoration:none;
	text-shadow:0px 1px 0px #7cacde;
	
}
.basketbutton:hover {
	background:linear-gradient(to bottom, #468ccf 5%, #63b8ee 100%);
	background-color:#468ccf;
}
.basketbutton:active {
	position:relative;
	top:1px;
}

.basketbutton a {
  display: block;
  width: 100%;
  height: 100%; 
}
*/

.button {
 
 text-decoration:none;
 text-align:center; 
 padding:11px 32px; 
 margin: 10px 10px 10px 10px;
 border:solid 1px #004F72; 
 -webkit-border-radius:7px;
 -moz-border-radius:7px; 
 border-radius: 7px; 
 font:18px Arial, Helvetica, sans-serif; 
 font-weight:bold; 
 color:#E5FFFF; 
 background-color:#7c86eb; 
 /*background-image: -moz-linear-gradient(top, #7c86eb 0%, #3d44cc 100%); 
 background-image: -webkit-linear-gradient(top, #7c86eb 0%, #3d44cc 100%); 
 background-image: -o-linear-gradient(top, #7c86eb 0%, #3d44cc 100%); 
 background-image: -ms-linear-gradient(top, #7c86eb 0% ,#3d44cc 100%); */
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3d44cc', endColorstr='#3d44cc',GradientType=0 ); 
 background-image: linear-gradient(to top, #7c86eb 0% ,#3d44cc 100%);   
 -webkit-box-shadow:0px 0px 2px #bababa, inset 0px 0px 1px #ffffff; 
 -moz-box-shadow: 0px 0px 2px #bababa,  inset 0px 0px 1px #ffffff;  
 box-shadow:0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;  
 
  }

.button:hover {
 padding:11px 32px; 
 border:solid 1px #004F72; 
 -webkit-border-radius:7px;
 -moz-border-radius:7px; 
 border-radius: 7px; 
 font:18px Arial, Helvetica, sans-serif; 
 font-weight:bold; 
 color:#E5FFFF; 
 background-color:#7c86eb; 
 /*background-image: -moz-linear-gradient(top, #7c86eb 0%, #575ed4 100%); 
 background-image: -webkit-linear-gradient(top, #7c86eb 0%, #575ed4 100%); 
 background-image: -o-linear-gradient(top, #7c86eb 0%, #575ed4 100%); 
 background-image: -ms-linear-gradient(top, #7c86eb 0% ,#575ed4 100%);*/ 
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#575ed4', endColorstr='#575ed4',GradientType=0 ); 
 background-image: linear-gradient(to top, #7c86eb 0% ,#575ed4 100%);
 -webkit-box-shadow:0px 0px 2px #bababa, inset 0px 0px 1px #ffffff; 
 -moz-box-shadow: 0px 0px 2px #bababa,  inset 0px 0px 1px #ffffff;  
 box-shadow:0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;  
  }

.button:active {
 padding:11px 32px; 
 border:solid 1px #004F72; 
 -webkit-border-radius:7px;
 -moz-border-radius:7px; 
 border-radius: 7px; 
 font:18px Arial, Helvetica, sans-serif; 
 font-weight:bold; 
 color:#E5FFFF; 
 background-color:#7c86eb; 
 /*background-image: -moz-linear-gradient(top, #7c86eb 0%, #4c53d9 100%); 
 background-image: -webkit-linear-gradient(top, #7c86eb 0%, #4c53d9 100%); 
 background-image: -o-linear-gradient(top, #7c86eb 0%, #4c53d9 100%); 
 background-image: -ms-linear-gradient(top, #7c86eb 0% ,#4c53d9 100%); */
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c53d9', endColorstr='#4c53d9',GradientType=0 ); 
 background-image: linear-gradient(to top, #7c86eb 0% ,#7176d9 100%);   
 -webkit-box-shadow:0px 0px 2px #bababa, inset 0px 0px 1px #ffffff; 
 -moz-box-shadow: 0px 0px 2px #bababa,  inset 0px 0px 1px #ffffff;  
 box-shadow:0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;  
  }
