*{
    box-sizing: border-box;
}
html, body{
    font-family: Open Sans, Arial;
    font-size:16px;
    line-height:1.5;
    color:#666;
    font-weight:600;
}
.contacts {
  display: flex;
}
.diafan-admin-panel{
    margin: 0 0 20px 0;
}
.center {
	display: block; margin-left: auto; margin-right: auto;
}
a{
    color:#bd2327;
    text-decoration:underline;
}

a:hover{
     color:#9B1C21;
    text-decoration:none;
}

h1{
  font-size:30px;
  color:#bd2327;
  font-weight:600;
  margin-bottom:20px;
}

h2{
    font-size:24px;
    color:#bd2327;
    font-weight:600;
}

.modal-content h3{
    font-size:24px;
    color:#bd2327;
    font-weight:400;
    margin-bottom:20px;
}


p{
    line-height:1.5;
    margin-bottom:15px;
}

header{
    margin:40px 0;
    background: url(../img/colorborder.png) repeat-x bottom;
}

.bgrainbow{
    margin-bottom:0;
}

.slogan{
    text-align:right;
    padding-left: 20px;
    font-size:18px;
    line-height:2;
    font-weight:600;
}

.tel{
    width:50%;
    float:left;
    font-size:24px;
    font-weight:700;
    text-align:right;
    white-space: nowrap;
}

.tel:before{
    content: url(../img/phone.png);
    vertical-align: middle;
    margin-right:15px;
}

.callback{
    text-align:right;
    margin-top:55px;
}

.callback a{
    color:#fff;
    text-decoration:none;
    background-color:#bd2327;
    padding:13px 13px;
    border-radius:4px;
}

.callback a:hover{
 background-color:#666;
}

.callback a:before{
    content: url(../img/phone-small.png);
    vertical-align: middle;
    margin:0 8px 0 0;
}

.topmenu{
    list-style-type: none;
}

.topmenu li{
    display:block;
    float:left;
    font-size:24px;
    font-weight:400;
    padding:15px 30px 20px;
    border-top:3px solid #fff;
}

.topmenu li a{
    font-weight:600;
    color:#434343;
    text-decoration:none;
    display:block;
}

.topmenu li a:hover, .topmenu li.active a{
    color:#bd2327;
}

.topmenu li:hover, .topmenu li.active{
    border-top:3px solid #bd2327;
    cursor:pointer;
}
.nav{
    position:absolute;
}

.sidebar ul{
    list-style: none;
    background:#fff;
}

.sidebar li{
    font-weight:bold;
    border-bottom:1px solid #CCCCCC;
    padding:8px 0;
    border-left:4px solid #fff;
    transition: 0.4s ease;
}
.sidebar li:hover{
    font-weight:bold;
    border-bottom:1px solid #CCCCCC;
    padding:8px 0 8px 7px;
    transition: 0.4s ease;
     border-left:4px solid #bd2327;
    background: #fededf;
    color:#bd2327;
}

.sidebar li:before{
    content:"•";
    font-size:18px;
    margin-right:10px;
}

.sidebar li:before:hover{
    content:"•";
    font-size:18px;
    margin-right:10px;
    }

.sidebar li a{
    font-weight:bold;
    color:#434343;
        text-decoration:none;
    transition: 0.4s ease;
}

.sidebar li a:hover{
    color:#bd2327;
    transition: 0.4s ease;
}
.content{ padding-left:290px; min-height:640px;}

.content article{
    border:1px solid #bd2327;
    border-radius:4px;
    margin-bottom:20px;
    transition:0.4s linear;
    padding:20px;
    overflow:hidden;

}

.imgtov{
    width:30%;
    display:block;
    overflow:hidden;
    margin:10px 20px 10px 0;
    float:left;
}

.imgtov img{
    border:3px solid #9a9a9a;
    border-radius:4px;
    transition:0.4s linear;
}

.serv-img{
    width:260px;
    height:233px;
    overflow:hidden;
    text-align:center;
    display: table-cell;
    vertical-align: middle;


}

.serv-img img{
    width:260px;
    height:auto;

}



.imgtov img:hover{
    border:3px solid #bd2327;
    border-radius:4px;
    transition:0.4s linear;
}

.short{
    width:100%;

}

/* table */

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  font-size:14px;
}
table thead {
  background: #fededf;
  color: #434343;
  font-weight:700;
}
table thead td {
  cursor: pointer;
}
table td {
  padding: .5em .4em;
}
table tbody tr:nth-child(even) {
  border-top:1px solid #f0f0f0;
  border-bottom:1px solid #f0f0f0;
}

.service{
    text-align:center;
    padding-bottom:15px;
    border:1px solid #bd2327;
    border-radius:4px;
    margin-bottom:20px;
    transition:0.4s linear;
     height:270px;
}

.service:hover{
    border:1px solid #434343;
   -webkit-box-shadow:-2px 14px 30px 0px #d2d2d2 ;
-moz-box-shadow:-2px 14px 30px 0px #d2d2d2 ;
box-shadow:-2px 14px 30px 0px #d2d2d2 ;
    transition:0.4s linear;
}

.service a{
    color:#434343;
    text-decoration:none;
    text-transform: uppercase;
    font-size:0.8em;
    font-weight:700;
   }

.service:hover a{
    color:#bd2327;
}

.services{
    text-align: center;
}

footer{
    background: url(../img/colorborder.png) #f4f3f3 repeat-x top;
}

footer .row{
    margin-bottom:0;
}

.bottommenu{
        list-style-type: none;
}

.bottommenu li{
    display:inline-block;
    float:left;
    margin:25px 25px 15px 0;
}

/*
  Modal Overlay
*/
.modal-overlay {
  background:rgba(0,0,0,.8);
  height: 100%;
  left: 0;
  display: flex;
  overflow: auto;
  padding: 1.5em;
  position: fixed;
  top: 0;
  transition: opacity .2s;
  width: 100%;
  z-index: -1;
}

.modal-overlay[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
}

.modal-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/*
  Modal Content Area
*/
.modal-content {
    border-radius:5px;
  background: #fff;
  margin: auto;
  max-width: 320px;
  overflow: auto;
  overflow-x: hidden;
  padding: 1.5em;
  position: relative;
  transform: scale(.8);
  transition: transform .3s;
  width: 100%;
}

.modal-overlay[aria-hidden="false"] .modal-content {
  transform: scale(1);
}

/*
  Close Modal Button
*/
.btn-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 2em;
  font-weight: 800;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: .25em;
  top: .25em;
  z-index: 2;
}

.btn-close:hover {
  color: #c12f48;
}

.btn-close:focus {
  outline: 1px dotted;
}


/*

  This is here purely for demo styling

*/

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
}



input[type="text"], input[type="tel"], .formfeed input[type="text"], .formfeed input[type="tel"], .formfeed input[type="email"], .formfeed input[type="file"] {
    margin-bottom: 20px;
    border-radius:4px;
    border: 1px solid #666;
    width:100%;
    display:block;
    padding:10px;
     font-family: Open Sans;
}
.formfeed{
    margin-top:105px;
}

.mail{font-size:24px;
    font-weight:600;
    text-align:right;}

.formfeed input[type="submit"] {
        float: right;
    margin: 10px auto;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    background-color: #bd2327;
    padding: 13px 13px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-family:Open Sans;
}

.formfeed input[type="submit"]:hover {
    margin: 10px auto;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    background-color: #666;
    padding: 13px 13px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.inpattachment_delete{
    display:none;
}

textarea{
    width:100%;
 margin-bottom: 20px;
    border-radius:4px;
    border: 1px solid #666;
    height: 100px;
    display:block;
    padding-left:10px;
    font-family: Open Sans;
    font-size:14px;
}

.formfeed input[type="file"] { float:left; }
.inpattachment_delete{

}

input[type="submit"]{
    margin: 10px 0 7px 80px;
    font-size:16px;
    color:#fff;
    text-decoration:none;
    background-color:#bd2327;
    padding:13px 13px;
    border-radius:4px;
    border:none;
    cursor:pointer;
    font-family:Open Sans;
}

input[type="submit"]:hover{
    font-size:16px;
    color:#fff;
    text-decoration:none;
    background-color:#666;
    padding:13px 13px;
    border-radius:4px;
    margin: 10px auto;
    margin: 10px 0 7px 80px;
    border:none;
    cursor:pointer;
}



.error_message, .error {
    padding: 5px 18px;
    opacity: 0.95;
    z-index: 10;
}

.attachment_extensions{
    font-size:13px;
    display:none;
}


.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {background-color: transparent;}

/*-------------------------------*/
/*           Wrappers            */
/*-------------------------------*/

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled {
    padding-left: 220px;
}

#sidebar-wrapper {
    z-index: 1000;
    left: 220px;
    top:0;
    width: 0;
    height: 100%;
    margin-left: -220px;
    overflow-y: auto;
    overflow-x: hidden;
        background: #666;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#sidebar-wrapper::-webkit-scrollbar {
  display: none;
}

#wrapper.toggled #sidebar-wrapper {
    width: 220px;
        position: fixed;
}

#page-content-wrapper {
    width: 100%;
    padding-top: 70px;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -220px;
}

/*-------------------------------*/
/*     Sidebar nav styles        */
/*-------------------------------*/

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 220px;
    margin: 0;
    padding: 0;
    list-style: none;
    background:#666;
}

.sidebar-nav li {
    position: relative;
    line-height: 20px;
    display: inline-block;
    width: 100%;
}

.sidebar-nav li:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    height: 100%;
    width: 3px;
    background-color: #1c1c1c;
    -webkit-transition: width .2s ease-in;
      -moz-transition:  width .2s ease-in;
       -ms-transition:  width .2s ease-in;
            transition: width .2s ease-in;

}

.sidebar-nav li a {
    display: block;
    color: #ddd;
    text-decoration: none;
    padding: 10px 15px 10px 30px;
}

.sidebar-nav li a:hover,
.sidebar-nav li a:active,
.sidebar-nav li a:focus,
.sidebar-nav li.open a:hover,
.sidebar-nav li.open a:active,
.sidebar-nav li.open a:focus{
    color: #fff;
    text-decoration: none;
    background-color: transparent;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 20px;
    line-height: 44px;
}
.sidebar-nav .dropdown-menu {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    border-radius: 0;
    border: none;
    background-color: #222;
    box-shadow: none;
}

/*-------------------------------*/
/*       Hamburger-Cross         */
/*-------------------------------*/

.hamburger {
display:none;
}
.hamburger:hover,
.hamburger:focus,
.hamburger:active {
  outline: none;
}
.hamburger.is-closed:before {
  content: '';
  display: block;
  width: 100px;
  font-size: 14px;
  color: #fff;
  line-height: 32px;
  text-align: center;
  opacity: 0;
  -webkit-transform: translate3d(0,0,0);
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-closed:hover:before {
  opacity: 1;
  display: block;
  -webkit-transform: translate3d(-100px,0,0);
  -webkit-transition: all .35s ease-in-out;
}

.hamburger.is-closed .hamb-top,
.hamburger.is-closed .hamb-middle,
.hamburger.is-closed .hamb-bottom,
.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-middle,
.hamburger.is-open .hamb-bottom {
  position: absolute;
  left: 0;
  height: 4px;
  width: 100%;
}
.hamburger.is-closed .hamb-top,
.hamburger.is-closed .hamb-middle,
.hamburger.is-closed .hamb-bottom {
  background-color: #1a1a1a;
}
.hamburger.is-closed .hamb-top {
  top: 5px;
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-closed .hamb-middle {
  top: 50%;
  margin-top: -2px;
}
.hamburger.is-closed .hamb-bottom {
  bottom: 5px;
  -webkit-transition: all .35s ease-in-out;
}

.hamburger.is-closed:hover .hamb-top {
  top: 0;
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-closed:hover .hamb-bottom {
  bottom: 0;
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-middle,
.hamburger.is-open .hamb-bottom {
  background-color: #1a1a1a;
}
.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-bottom {
  top: 50%;
  margin-top: -2px;
}
.hamburger.is-open .hamb-top {
  -webkit-transform: rotate(45deg);
  -webkit-transition: -webkit-transform .2s cubic-bezier(.73,1,.28,.08);
}
.hamburger.is-open .hamb-middle { display: none; }
.hamburger.is-open .hamb-bottom {
  -webkit-transform: rotate(-45deg);
  -webkit-transition: -webkit-transform .2s cubic-bezier(.73,1,.28,.08);
}
.hamburger.is-open:before {
  content: '';
  display: block;
  width: 100px;
  font-size: 14px;
  color: #fff;
  line-height: 32px;
  text-align: center;
  opacity: 0;
  -webkit-transform: translate3d(0,0,0);
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-open:hover:before {
  opacity: 1;
  display: block;
  -webkit-transform: translate3d(-100px,0,0);
  -webkit-transition: all .35s ease-in-out;
}






@media screen and (min-width:600px) and (max-width:960px) {

.hamburger {
  position: fixed;
  top: 20px;
  z-index: 999;
  display: block;
  width: 32px;
  height: 32px;
  margin-left: 15px;
  background: transparent;
  border: none;
}

.logo{
    text-align:center;
}

.service a {
    color: #434343;
    text-decoration: none;
    text-transform: none;
    font-size: 12px;
    }


.topmenu li{
    font-size:16px;
    text-align:center;
    width:100%;
}

.slogan{
    font-size:12px;
    text-align:center;
}

.tel{
    width:100%;
    clear:both;
    font-size:22px;
    font-weight:normal;
    text-align:center;
}

.callback {
       text-align: center;
    margin-top: 80px;
    margin-bottom: 20px; }

.container12 .column3{
    width:45%;
    margin:2%;
}

.container12 .column3 h3{
    font-weight:700;
}

.content{padding-left:0px}

 .short {
    width: 100%;
    padding-left:0px;
    font-size:13px;
}

.imgtov {
    width: 100%;
    display: block;
    overflow: hidden;
    margin: 10px;
}
.imgtov img {

}

.sidebar ul li{
    display:none;
}


}


@media screen and (min-width:320px) and (max-width:600px) {

.hamburger {
  position: fixed;
  top: 20px;
  z-index: 999;
  display: block;
  width: 32px;
  height: 32px;
  margin-left: 15px;
  background: transparent;
  border: none;
}

.container12 .column3{
    width:100%;
}

.content{padding-left:0px}

.logo{
    text-align:center;
}

.service a {
    color: #434343;
    text-decoration: none;
    text-transform: none;
    font-size: 12px;
    font-weight:400;
    }


.topmenu li{
    width:100%;
    font-size:16px;
     text-align:center;
}

.slogan{
    font-size:12px;
    text-align:center;
}

.tel{
    width:100%;
    clear:both;
    font-size:22px;
    font-weight:normal;
    text-align:center;
}

.callback {
    text-align: center;
    margin-top: 105px;  }

    .short {
    width: 100%;
      padding-left:0px;
      font-size:13px;
}

.imgtov {
    width: 100%;
    display: block;
    overflow: hidden;
    margin: 10px;
}

.sidebar ul li{
    display:none;
}

table td {
    padding: 0.5em 0.3em;
}


}
