*{padding:0;margin:0;box-sizing:border-box}

/*------------Modal window simple---------------------------------*/
        #modalWindow {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 100;
            background-color: #020202;
            padding-top: 60px;
            overflow: auto;
        } 
        #modalWindow .modal-content {
            position: relative;
            width: 80%;
            margin: auto;
            max-width: 1200px;
            margin-top: 20px;
        }
        #modalWindow .close-modal {
            font-size: 26px;
            font-weight: bold;
            color: #ffffff;
            position: absolute;
            top: 3%;
            right: 12%;
            cursor: pointer;
            font-family: Verdana, Geneva, Tahoma, sans-serif;
        }
        #modalWindow .modal-picture img {
            width: 100%;
        }
        #modalWindow .movePict {
            display: block;
            position: absolute;
            bottom: 0;
            left: 0;
            height: 30px;
            background-color: #c4c4c4;
        }
        #modalWindow .prev-pict,
        #modalWindow .next-pict {
            display: inline-block;
            position: absolute;
            top: 44%;
            background-color: #3c3c3c;
            font-size: 24px;
            font-weight: bold;
            color: #ffffff;
            padding: 18px 16px;
            cursor: pointer;
        }
        #modalWindow .prev-pict {
            left: -4%;
        }
        #modalWindow .next-pict {
            right: -4%;
        }
        #modalWindow .modal-content .pict-name {
            color: #ffffff;
            text-align: center;
            padding-top: 16px;
            font-size: 20px;
            font-family: Verdana, Geneva, Tahoma, sans-serif;
        }
    @media (max-width: 1065px){
        #modalWindow .prev-pict {
            left: -8%;
        }
        #modalWindow .next-pict {
            right: -8%;
        }
    }
    @media (max-width: 780px){
        #modalWindow .modal-content {
            width: 80%;
            margin-top: 20px;
        }
        #modalWindow .prev-pict,
        #modalWindow .next-pict {
            top: 40%;
        }
        #modalWindow .prev-pict {
            left: -10%;
        }
        #modalWindow .next-pict {
            right: -10%;
        }
    }
    @media(max-width: 640px) {
        #modalWindow {
            padding-top: 50px;
        }
        #modalWindow .modal-content {
            margin-top: 0;
        }
        #modalWindow .close-modal {
            font-size: 22px;
            top: 2.5%;
        }
        #modalWindow .modal-content .pict-name {
            padding-top: 10px;
            font-size: 16px;
        }
    }
    @media (max-width: 420px){ 
         #modalWindow .prev-pict {
            top: 82%;
            left: 0;
            font-size: 18px;
        }
        #modalWindow .next-pict {
            top: 82%;
            right: 0;
            font-size: 18px;
        }
        #modalWindow .modal-content {
            width: 98%;
        }
        #modalWindow .modal-content .pict-name {
            font-size: 16px;
            padding: 18px 16%;
        }
        
    }
/*------------/modal window simple--------------------------------*/

body .content .box-portfolio {text-align:center}

body .content .pict-box-portfolio{display:inline-block;background-color:#ffffff;max-width:360px;margin:24px 4px;border:1px solid #424242;cursor:pointer;z-index:0}
body .content .pict-box-portfolio .pict-content{width:100%}
body .content .pict-box-portfolio .single{text-align:center;padding:4px}
body .content #box-portfolio{position:relative}
body .content .pict-max{position:fixed;left:100px;top:100px;display:inline-block;max-width:500px !important;z-index:1 !important;border:3px solid #2c2b2b}
body .content .pict-content {width:100%}
body .content .single{text-align:center;padding:4px}
body .content .modal-box{position:fixed;width:70%;height:600px;border:2px solid #2c2b2b;background-color:#004a86}

#botom{display:flex;flex-flow:row wrap;background-color:#06111d;padding: 30px 60px 80px 60px;}
#botom #listbotom li{list-style:none;display:inline-block;margin:6px 12px;}
#botom #listbotom li a {
    color:#ffffff;
    text-decoration:none;
    font-family: 'Open sans', Roboto, Geneva, Verdana, sans-serif;
}
#botom #listbotom li a:hover{color:#f5ed79;text-decoration: underline; }

@media (max-width: 780px){
    body .content H1 {
        font-size: 32px;
        margin-top: 30px;
    }
    body .citata {
        padding: 20px 60px;
    }
    body .citata q {
        font-size: 22px;
    }
    body .pict-box-right,
    body .pict-box-left,
    body .pict-box-center {
        width: 94%;
    }
    body .content .pict-box-right:hover,
    body .content .pict-box-left:hover,
    body .content .pict-box-center:hover
    {
        transform: none;
        transition: none;
    }
}
@media (max-width: 670px){
    #botom{padding:10px 18px;}
    body .citata q {
        font-size: 20px;
    }
    body .content H1 {
        font-size: 30px;
        margin-top: 20px;
    }
}
@media (max-width: 480px) {
     body .citata {
        padding: 14px 10px;
    }
    body .citata q {
        font-size: 18px;
    }
    body .content H1{
        font-size: 26px;
        margin-top: 20px;
    }
}
@media (max-width: 420px){
    body .content {
        padding: 0 14px;
    }
    body .content H1 {
        font-size: 26px; 
        margin-bottom: 18px;
    }
    body .content .pict-box {
        display:flex;
        flex-flow:1 1 80%;
    }
}

/* slider  */
img {
  vertical-align: middle;
}

/* Position the image container (needed to position the left and right arrows) */
.pict-container {
  position: relative;
}

/* Hide the images by default */
.bigSlides {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* ......................carousel styles ..................*/
.carusel .mySlides img {
  vertical-align: middle;
  width: 100%;
}
 
.carusel {
  position: relative;
  border-radius:8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  margin: 30px auto;
  width: 90%;
}
 
.mySlides {
  display: none;
}
 
.cursor {
  cursor: pointer;
}
 
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 34%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: #8b8b8b;
  opacity: 0.7;
  text-decoration: none;
}
 
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
 
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
 
.numbertext, .numbertext a {
  vertical-align:middle;
  font-family:Open Sans;
  font-size: 24px!important;
  color:#ffe986;
  text-shadow: 1px 1px 2px black, 0 0 1em #ffffff;
  position: absolute;
  top: 2%;
  left: 2%;
  text-decoration:none;
}
.numbertext a:hover {
    color:#008216;
}

.carusel .caption-container {
  text-align: center;
  background-color: #fafafa;
  padding: 2px 10px;
  font-family:Open Sans;
  color:#000000;
  text-shadow: 1px 1px 1px #cbcbcb;
}
.carusel .caption-container p {
    display: inline-block;
    margin: 14px auto;
    font-family: Verdana, sans-serif;
}
.row-1:after {
  content: "";
  display: table;
  clear: both;
}
.column-1 {
  float: left;
  width: 20%;
}
.demo {
 /*opacity: 0.6;*/
 border: 2px solid #1c1a12;
}
.demo .cursor .lazyloaded  {
  opacity: 0.6;
}
.demo .cursor .lazyloaded .active  {
  opacity: 1;
}
.active,
.demo:hover {
  /*opacity: 1;*/
  border: 2px solid #ffe986;
}
@media (max-width: 780px) {
    .carusel .caption-container p {
        margin: 10px auto;
    }
}

@media (max-width: 670px){
    .carusel {
        width: 100%;
        margin: 28px 0 28px 0;
    }
    .numbertext, .numbertext a {
       display: none;
    }
    .prev, 
    .next {
        font-size: 16px;
    }
}
@media (max-width: 480px) {
    .caption-container {
        font-family:Open Sans;
        font-size: 18px;
    }
    .caption-container p {
        width: 76%;
        margin: 6px auto;
    }
    .prev,
    .next {
        padding: 10px;
    }
}


/*------------Contact-Form-----------------------------*/
.content form {
  margin: 40px 0 40px 40px;
  width: 40%;
  border: 1px solid #afb7c3;
  float: right;
}
.content form fieldset {
  margin: 20px 4px 4px 4px;
  padding: 20px;
}
.content form fieldset legend {
  font-size: 20px;
  font-weight: bold;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.content form fieldset p {
  margin-bottom: 4px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.content form fieldset input {
  display: inline-block;
  width: 98%;
  margin-bottom: 16px;
  line-height: 24px;
}
.content form fieldset textarea {
  width: 98%;
}
.content form fieldset input[type="submit"] {
  margin-top: 30px;
  padding: 6px;
  font-size: 18px;
  font-weight: bold;
  background-color: #0271bb;
  color: #ffffff;
  width: 40%;
}
@media (max-width: 1000px) {
    .content form {
        margin: 40px 0 40px 40px;
        width: 50%;
    }
}
@media (max-width: 670px) {
    .content form {
        width: 100%;
        margin: 20px auto;
        float: none;
    }
}
@media (max-width: 460px) {
    /*.content form {*/
    /*    width: 100%;*/
    /*    margin: 40px auto;*/
    /*    float: none;*/
    /*}*/
    
    .content form fieldset {
        margin: 12px 4px 4px 4px;
        padding: 12px;
    }
    .content form fieldset legend {
        font-size: 17px;
        font-weight: bold;
        margin-bottom: 0;
    }
    .content form fieldset p {
        margin: 2px 4px;
    }
    .content form fieldset input {
        width: 100%;
         margin-bottom: 6px;
  line-height: 24px;
}
    .content form fieldset input[type="submit"] {
        margin-top: 20px;
        font-size: 14px;
    }
}




