/* Mobile Portrait View */

@media screen and (max-width: 479px) {
    * {
        box-sizing: border-box;
    }
    .container {
        width: 95%;
        display: inherit !important;
    }
    .flex{
        display:block;
        margin:0;
    }
    /* Top Header Css */
    .top-header{
        text-align:center;
    }
    .top-header .container{
        padding: 15px 0;
    }
    .top-header .container::before,
    .top-header .container::after{
        content: none;
    }
    .top-head-col{
        padding: 0 25px 10px 0;
    }

    /* Main Header */
    .logo{
        text-align: center;
        padding: 15px 0 0;
    }

    /* Navigation Menu Css */
	.toggle {
        display: block;
    }
    .toggle a {
        width: 100%;
        color: #ffffff;
        background: url(../images/mobile_nav_right.png) no-repeat right center #373a3f;
        padding: 10px 10px;
        margin-top: 20px;
        font-size: 16px;
		text-decoration: none;
    }
    .toggle a:hover {
        color: #ffffff !important;
    }
    .toggle a.active {
        color: #ffffff;
    }
    #navigation{
        width:auto;
        background-color:transparent !important;
        position:relative !important;
    }
    .sitenav {
        display: none;
        margin-top:0;
        width:100%;
    }
    .sitenav ul {
        background: #000000;
        color: #000;
        width: 100%;
        float: none;
        margin-top: 0;
    }
    .sitenav ul li {
        border-top: 1px #303030 solid;
        display: block;
        float: none;
        text-align: left;
    }
    .sitenav ul li ul {
        color: #fff;
        opacity: 0;
        padding:0;
        position: absolute;
        right: 9999rem;
        top: calc(100% + 2rem);
        transition: opacity 0.15s linear, transform 0.15s linear, right 0s 0.15s;
        transform: translateY(0.6rem);
        width: 20rem;
        z-index: 1;
    }
    .sitenav ul li.menu-item-has-children:hover > ul,
    .sitenav ul li.menu-item-has-children:focus > ul,
    .sitenav ul li.menu-item-has-children.focus > ul {
        left: 0;
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.15s linear, transform 0.15s linear;
        background-color:#303030;
        top:0;
        position: relative;
    }
    .sitenav ul li a {
        padding: 5px 10px;
        display: block;
        color: #ffffff !important;
        text-align:left;
    }
    .sitenav ul li a:hover {
        color: #ffffff;
    }
    .sitenav ul li ul,
    .sitenav ul li ul ul {
        display: block !important;
    }
    .sitenav ul li ul li a:before {
        content: "\00BB \00a0";
    }
    .sitenav ul li ul li a {
        padding-left: 20px !important;
		color: #111709 !important;
    }
    .sitenav ul li ul li ul li a {
        padding-left: 30px !important;
    }
    .sitenav ul li.current_page_item a{
        background-color:transparent !important;
    }
    .sitenav ul li:hover,
    .sitenav ul li.current_page_item{
        background-color:inherit !important;
    }

    /* ---- Slider ----- */
    #slider{
        text-align: center;
    }
    .nivo-controlNav{ 
        display:none !important;
    }
    .nivo-caption {
        width: 95% !important;
        padding: 10px;
        left:0 !important;
        right:0 !important;
        text-align:center !important;
        background-color:transparent !important;
    }
    .nivo-caption p {
        display: none !important;
    }
    .nivo-caption h2 {
        font-size: 22px !important;
        line-height: 32px !important;
        text-align: center;
    }
    #slider a.slide-button{
        padding:10px 16px;
    }

    /* ------ Extra ------ */
    #sitemain iframe {
        max-width: 100%;
        height: auto;
    }

    /* --------- Pages ------- */
    .container {
        width: 95%;
        display: inherit !important;
    }
    .content-area {
        width: 95%;
        margin: 0 auto;
        padding: 0 0 50px;
    }
    .site-main {
        width: 100%;
        margin: 0;
        padding: 0;
        float: none;
    }
    #sidebar {
        width: auto;
        margin: 60px 0 0;
        padding: 0;
        float: none;
    }
    .separator::before,
    .separator::after{
        width: 60px;
    }
    .col-2,
    .col-3{
        padding: 0;
    }
}
/* Mobile Landscape View */

@media screen and (max-width: 739px) and (min-width: 480px) {
    * {
        box-sizing: border-box;
    }
	.flex{
        display:block;
        margin:0;
    }

    /* ------ Top Header ------ */
    .top-header{
        text-align:center;
    }
    .top-header .container{
        padding: 15px 0;
    }
    .top-header .container::before,
    .top-header .container::after{
        content: none;
    }
    .top-head-col{
        padding: 0 25px 10px 0;
    }
    /* ------ Header ------ */
    .header{
        text-align:center;
    }
    .logo{
        padding:15px 0 0;
    }

    /* ------ Navigation ------ */
    .toggle {
        display: block;
    }
    .toggle a {
        width: 100%;
        color: #ffffff;
        background: url(../images/mobile_nav_right.png) no-repeat right center #373a3f;
        padding: 10px 10px;
        margin-top: 20px;
        font-size: 16px;
		text-decoration: none;
    }
    .toggle a:hover {
        color: #ffffff !important;
    }
    .toggle a.active {
        color: #ffffff;
    }
    .sitenav {
        display: none;
        margin-top:0;
        width:100%;
    }
    #navigation {
        width:auto;
        background-color:transparent !important;
        position:relative !important;
    }
    .sitenav ul {
        background: #000000;
        color: #000;
        width: 100%;
        float: none;
        margin-top: 0;
    }
    .sitenav ul li {
        border-top: 1px #303030 solid;
        display: block;
        float: none;
        text-align: left;
    }
    .sitenav ul li ul {
        color: #fff;
        opacity: 0;
        padding:0;
        position: absolute;
        right: 9999rem;
        top: calc(100% + 2rem);
        transition: opacity 0.15s linear, transform 0.15s linear, right 0s 0.15s;
        transform: translateY(0.6rem);
        width: 20rem;
        z-index: 1;
    }
    .sitenav ul li.menu-item-has-children:hover > ul,
    .sitenav ul li.menu-item-has-children:focus > ul,
    .sitenav ul li.menu-item-has-children.focus > ul {
        left: 0;
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.15s linear, transform 0.15s linear;
        background-color:#303030;
        top:0;
        position: relative;
    }
    .sitenav ul li a {
        padding: 5px 10px;
        display: block;
        color: #ffffff !important;
        text-align:left !important;
    }
    .sitenav ul li a:hover {
        color: #ffffff;
    }
    .sitenav ul li ul,
    .sitenav ul li ul ul {
        display: block !important;
    }
    .sitenav ul li ul li a:before {
        content: "\00BB \00a0";
    }
    .sitenav ul li ul li a {
        padding-left: 20px !important;
		color: #111709 !important;
    }
    .sitenav ul li ul li ul li a {
        padding-left: 30px !important;
    }
    .sitenav ul li.current_page_item a{
        background-color:transparent !important;
    }
    .sitenav ul li:hover,
    .sitenav ul li.current_page_item{
        background-color:inherit !important;
    }

    /* ------ Extra ------ */
    #slider{
        text-align:center;
    }
    .nivo-controlNav{ 
        display:none !important;
    }
    .nivo-caption {
        width: 90% !important;
        padding: 10px;
        text-align:center !important;
        left:0 !important;
        right:0 !important;
        background-color:transparent !important;
    }
    .nivo-caption p {
    display: none !important;
    }
    #slider a.slide-button {
        font-size:12px;
        padding:10px 20px;
    }
    .nivo-caption h2 {
        font-size: 25px !important;
        line-height: 32px !important;
        text-align: center;
        margin-bottom: 0;
        padding:25px 0 20px !important;
    }

    /* ------ Extra ------ */
    #sitemain iframe {
        max-width: 100%;
        height: auto;
    }
    /* --------- Pages ------- */
    .container {
        width: 480px;
        display: inherit !important;
    }    
    .content-area {
        width: 480px;
        margin: 0 auto;
        padding: 0 0 50px;
    }
    .site-main {
        width: auto;
        margin: 0;
        padding: 0;
        float: none;
    }
    #sidebar {
        width: auto;
        margin: 60px 0 0;
        padding: 0;
        float: none;
    }
    .separator::before,
    .separator::after{
        width: 60px;
    }
    .col-2,
    .col-3{
        padding: 0;
    }
}
@media screen and (max-width: 899px) and (min-width: 320px) {
    h2.section-title {
        line-height: 48px;
        font-size: 35px !important;
    }
    .cat_comments {
        height: auto;
    }
}
/* Tablet View */

@media screen and (max-width: 999px) and (min-width: 740px) {
    * {
        box-sizing: border-box;
    }
	
    /*--- Top Header ----*/
    .top-header{
        font-size:12px;
    }
    .top-header .container::before{
        border-left: 18px solid transparent;
        left: -18px;
    }
    .top-header .container::after{
        border-right: 18px solid transparent;
        right: -18px;
    }

    /*--- Header ----*/
    .header {
        position: inherit !important;
    }
    .header .tab-block{
        display:block;
        padding:15px 0;
    }
    .logo{
        text-align: center;
    }

    /*--- Navigation ----*/
    .toggle {
        display: block;
    }
    .toggle a {
        width: 100%;
        color: #ffffff;
        background: url(../images/mobile_nav_right.png) no-repeat right center #373a3f;
        padding: 10px 10px;
        margin-top: 20px;
        font-size: 16px;
		text-decoration: none;
    }
    .toggle a:hover {
        color: #ffffff !important;
    }
    .toggle a.active {
        color: #ffffff;
    }
    .sitenav {
        display: none;
        float:none;
    }
    #navigation{
        width:auto;
        background-color: transparent !important;
        position:relative !important;
    }
    .sitenav ul {
        background: #000000;
        color: #000;
        width: 100%;
        float: none;
        margin-top: 0;
    }
    .sitenav ul li {
        border-top: 1px #303030 solid;
        display: block;
        float: none;
        text-align: left;
    }
    .sitenav ul li ul {
        color: #fff;
        opacity: 0;
        padding:0;
        position: absolute;
        right: 9999rem;
        top: calc(100% + 2rem);
        transition: opacity 0.15s linear, transform 0.15s linear, right 0s 0.15s;
        transform: translateY(0.6rem);
        width: 20rem;
        z-index: 1;
    }
    .sitenav ul li.menu-item-has-children:hover > ul,
    .sitenav ul li.menu-item-has-children:focus > ul,
    .sitenav ul li.menu-item-has-children.focus > ul {
        left: 0;
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.15s linear, transform 0.15s linear;
        background-color:#303030;
        top:0;
        position: relative;
    }
    .sitenav ul li a {
        padding: 5px 10px;
        display: block;
        color: #ffffff !important;
        text-align:left;
    }
    .sitenav ul li a:hover {
        color: #ffffff;
    }
    .sitenav ul li ul li a:before {
        content: "\00BB \00a0";
    }
    .sitenav ul li ul li a {
        padding-left: 20px !important;
		color: #111709 !important;
    }
    .sitenav ul li ul li ul li a {
        padding-left: 30px !important;
    }
    .sitenav ul li:hover,
    .sitenav ul li.current_page_item{
        background-color:inherit !important;
    }

    /* --------- Slider ------- */
    .nivo-caption {
        width: 80% !important;
    }

    /* --------- Pages ------- */
    #welcome-boxes,
    #service-boxes{
        margin-bottom:0;
    }
    .container {
        width: 95%;
        display: inherit !important;
    }
    .content-area {
        width: auto;
        margin: 0 20px;
        padding: 50px 0;
    }
    .site-main {
        width: 60%;
        margin: 0;
        padding: 0;
        float: left;
    }
    #sidebar {
        width: 35%;
        margin: 0;
        padding: 0;
        float: right;
    }
}
@media screen and (min-width: 1000px) {
    .sitenav ul li ul li {
        display: block;
        position: relative;
        float: none;
    }
    .sitenav ul li ul li a {
        display: block;
        padding-top: 10px;
        padding-bottom: 10px;
        border-bottom: 1px #313131 solid;
    }
    .site-main {
        width: 70%;
    }
}
@media screen and (min-width: 1000px) and (max-width: 1159px) {
    .container {
        width: 95%;
    }
	.sitenav ul{
		font-size:12px;
	}
	.sitenav ul li:hover > ul{
		top:52px;
	}
    .nivo-caption {
        height: auto !important;
    }
    .cat_comments {
        left: 35px;
        width: 25%;
    }
    .content-area {
        width: 95%;
	}
	#navigation{
		width:70%;
	}
	.nivo-caption{
		width:56% !important;
	}
}
@media screen and (min-width: 1160px) and (max-width: 1199px) {
    #header .tab-block{ margin:0; }
}
@media screen and (min-width: 1161px) and (max-width: 1195px) {
    .top-header .container:before,
    .top-header .container::after{
        content: none;
    }
}