/* 
This style sheet is for the image expansion and the associated list styles for 
the portfolio pages 
*/

/* first the list and paragraph styling */

dl {
	margin: 1cm 2.0cm 1cm 3.0cm;
	list-style-position: outside;
}

dd {
	margin: 0cm 1cm 1cm 1cm;
}

dt {
	font-weight: bold;
}

ul.inner_list {
	list-style-type: square;
	list-style-position: inside;
	margin-left: 1em;
}

.main_norm {
	margin: 1cm 2.5cm 1cm 3cm;
}



@media screen and (max-width: 767px) {
dl {
	margin: 1cm 2.0cm 1cm 2.3cm;
}

.main_norm {
	margin: 1cm 2.0cm 1cm 2.3cm;
}
dd {
	margin: 0cm 0.5cm 1cm 0.7cm;
}
}


@media screen and (max-width: 479px) {
dl {
	margin: 1cm 0.3cm 1cm 1.5cm;
}

.main_norm {
	margin: 1cm 1.3cm 1cm 1.5cm;
}
dd {
	margin: 0cm 0.5cm 1cm 0.5cm;
}
}

/* Style the Image Used to Trigger the Modal */


.bodyimageleft, .bodyimageright {
	width: 50%;
	max-width:200px;
	-webkit-transition: width 1s, max-width 1s, margin 1s; /* Safari */
	transition: width 1s, max-width 1s, margin 1s;
	cursor: pointer;
}

.bodyimageleft:hover, .bodyimageright:hover {
	width: 51%;
	max-width:205px;
	-webkit-transition: width 1s, max-width 1s, margin 1s; /* Safari */
	transition: width 1s, max-width 1s, margin 1s;
	opacity: 0.7;
}

.bodyimageright {
	float: right;
	margin: 5px 0 5px 5px;
}
.bodyimageright:hover {
	margin: 5px -2px 5px 3px;
}

.bodyimageleft {
	float: left;
	margin: 5px 5px 5px 0;
}
.bodyimageleft:hover {
	margin: 5px 0 5px -2px;
}



.myImg1 {
	float: right;
	margin: 5px 0 5px 5px;
	width: 60%;
	max-width:250px;
	-webkit-transition: width 1s, max-width 1s, margin 1s; /* Safari */
	transition: width 1s, max-width 1s, margin 1s;
	cursor: pointer;
}
.myImg1:hover {
	width: 51%;
	max-width:205px;
	margin: 5px -2px 5px 3px;
	margin-right:-2px;
	-webkit-transition: width 1s, max-width 1s, margin 1s; /* Safari */
	transition: width 1s, max-width 1s, margin 1s;
}

.myImg1:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 30; /* Sit on top */
    padding-top: 20px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: auto;
    height: 80%;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
.caption {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 5px 0;
    height: 100px;
}

/* Add Animation - Zoom in the Modal */
.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)}
}

/* The Close Button */
.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;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}
