#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
	cursor:pointer;
	cursor:hand;
    margin: auto;
    display: block;
    max-width: 960px;
/*	max-height: 80%;*/
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.modal-content, #caption { 
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
	
	table {
		width:100% !important;
	}
	
	table tr td {
		width:100% !important;
		display:block !important;
		clear:both !important;
	}
	
	.x_semi_thumbs {
		height: auto !important;
	}
}


.fadeInFx {
    margin-top: 25px;
    font-size: 21px;
    text-align: center;
    -webkit-animation: fadein 2s;
       -moz-animation: fadein 2s;
        -ms-animation: fadein 2s;
         -o-animation: fadein 2s;
            animation: fadein 2s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.clearleft {width:100%;clear:both;float:left}

.cottage-tabs {display:none !important} 
.x_mini_thumbs {width:100%;min-height:200px;}
.x_mini_thumbs div {float:left;width:120px;height:120px;margin:0 6px 0 0px;cursor:pointer;cursor:hand}
.x_mini_thumbs div div {overflow:hidden;width:120px;height:76px}

.x_mini_thumbs img {width:100%;height:auto;float:left;}
.x_mini_thumbs img:hover {
	opacity:0.8;
}

.x_mini_thumbs span {width:100%;float:left;clear:both;text-align:center}
.x_semi_thumbs {margin-top:50px;width:100%;height:0px;}
.x_semi_thumbs table {float:left;clear:both;border-collapse-collapse;padding:0;margin:0 0 25px 0;}
.x_semi_thumbs table.tab2 {width:50%;}
.x_semi_thumbs table.tabfull {width:100%;}
.x_semi_thumbs table td {text-align:center;vertical-align:top;padding:0}
.x_semi_thumbs table td img {width:96%;width:calc(96% - 2px);height:auto;padding:2%;border:1px #888 solid;margin:0}
.x_semi_thumbs table td span {text-align:center;float:left;clear:both;width:100%;}
.x_semi_thumbs table td img.semim {cursor:pointer;cursor:hand}
.x_semi_thumbs table td.part2 {width:50%}
.x_semi_thumbs table td.part3 {width:33%}
.x_semi_thumbs table td.part4 {width:25%}
.x_semi_thumbs table td.part5 {width:20%}
.x_semi_thumbs table td.part6 {width:16%} 
